20250319 翻译
This commit is contained in:
@@ -20,7 +20,19 @@ namespace FineUIPro.Web.common
|
||||
List<Model.Base_Project> allProjects;
|
||||
public static List<Model.Solution_LargerHazard> LargerHazard = new List<Model.Solution_LargerHazard>();
|
||||
|
||||
public string[] pids { get; set; }
|
||||
public string[] pids { get; set; }
|
||||
|
||||
|
||||
protected string On_time_rate = string.Empty;
|
||||
protected string main_new_qualityIssuesRectificationRate = string.Empty;
|
||||
protected string OnePassRate = string.Empty;
|
||||
protected string OnePassRateOfWelding = string.Empty;
|
||||
protected string total = string.Empty;
|
||||
protected string completed = string.Empty;
|
||||
protected string mainI_progressStatistics = string.Empty;
|
||||
protected string Percentage_of_progress = string.Empty;
|
||||
|
||||
|
||||
protected async void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
if (!IsPostBack)
|
||||
@@ -42,7 +54,8 @@ namespace FineUIPro.Web.common
|
||||
//GetProjectSitePersonAsync(), // 项目人员图表
|
||||
GetJdAsync(), // 进度
|
||||
GetZgsjAsync(), // 整改数据
|
||||
GetCldhAsync() // 材料到货表格
|
||||
GetCldhAsync(), // 材料到货表格
|
||||
getCNEN() //中英文翻译
|
||||
};
|
||||
|
||||
await Task.WhenAll(otherTasks.Concat(new[] { projectTask, project2Task }));
|
||||
@@ -1164,5 +1177,22 @@ namespace FineUIPro.Web.common
|
||||
|
||||
|
||||
}
|
||||
|
||||
#region 中英文翻译
|
||||
private async Task getCNEN()
|
||||
{
|
||||
await Task.Run(() =>
|
||||
{
|
||||
On_time_rate = Resources.Lan.On_time_rate;
|
||||
main_new_qualityIssuesRectificationRate = Resources.Lan.main_new_qualityIssuesRectificationRate;
|
||||
OnePassRate = Resources.Lan.OnePassRate;
|
||||
OnePassRateOfWelding = Resources.Lan.OnePassRateOfWelding;
|
||||
total = Resources.Lan.total;
|
||||
completed = Resources.Lan.completed;
|
||||
mainI_progressStatistics = Resources.Lan.mainI_progressStatistics;
|
||||
Percentage_of_progress = Resources.Lan.Percentage_of_progress;
|
||||
});
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user