<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="main.aspx.cs" Inherits="FineUIPro.Web.common.main" %> <%@ Import Namespace="System.Globalization" %> <asp:Literal runat="server" Mode="Encode" Text="<%$ Resources:UiText, T_首页 %>" />

<%: TextFor("焊接工作量") %>

<%: TextFor("当月完成焊接达因数") %>
<%: Dine(Welding.MonthCompletedDine) %> <% if (Welding.TotalDine > 0) { %> <% } %>
<%: TextFor("累计完成焊接达因数") %>
<%: Dine(Welding.CompletedDine) %> <% if (Welding.TotalDine > 0) { %> <% } %>
<%: TextFor("总焊接达因数") %>
<%: Dine(Welding.TotalDine) %>

<%: TextFor("焊接进度") %>

<%: TextFor("已完成") %> <%: TextFor("剩余") %> <%: TextFor("单位_达因") %>
<%: TextFor("项目_累计工作量") %><%: TextFor("本月完成") %>
<% foreach (var project in ProgressProjects) { %> <%: project.ProjectName %><%: Dine(project.CurrentMonth.CompletedDine) %> <%: TextFor("已完成") %> <%: Dine(project.CompletedDine) %><%: TextFor("剩余") %> <%: Dine(project.RemainingDine) %> <% } %> <% if (ProgressProjects.Count == 0) { %>

<%: TextFor("暂无在建项目") %>

<% } %>

<%: TextFor("在建项目分布") %>

<%: TextFor("在建项目数量") %> <%: Welding.Projects.Count %>

<%: TextFor("近六月焊接趋势") %>

<%: string.Format(TextFor("截至某日"), AsOfDate.ToString("M", CultureInfo.CurrentUICulture)) %>

<%: TextFor("焊接质量与人员") %>

<%: TextFor("当月一次焊接合格率") %>
<%: Rate(Welding.MonthFirstPassRate) %>
<%: TextFor("累计一次焊接合格率") %>
<%: Rate(Welding.FirstPassRate) %>
<%: TextFor("焊工人数") %>
<%: Welding.WelderCount.ToString("#,0") %>

<%: TextFor("项目焊接合格率") %>

<%: TextFor("公司当月一次合格率") %> <%: Rate(Welding.MonthFirstPassRate) %>
<% foreach (var project in QualityProjects) { var month = project.CurrentMonth; %> <% } %> <% if (QualityProjects.Count == 0) { %><% } %>
<%: TextFor("项目") %><%: TextFor("一次合格率") %><%: TextFor("合格片数_总片数") %>
<%: project.ProjectName %> "><%: month.FirstPassRate.HasValue ? Rate(month.FirstPassRate) : TextFor("暂无检测") %> <%: month.TotalFilms > 0 ? string.Format("{0:#,0} / {1:#,0}", month.PassedFilms, month.TotalFilms) : "—" %>
<%: TextFor("暂无在建项目") %>
<% if (Welding.MonthFirstPassRate.HasValue) { %><% } %>