去除每个页面的 语言datatable
This commit is contained in:
@@ -24,12 +24,9 @@ namespace CleanMachineHMI.FrmUserControl
|
||||
public frmMainDetail()
|
||||
{
|
||||
InitializeComponent();
|
||||
_InfoLanguageTextList = this.GetInfoLanguageText(GlobalHelper.LanguageCode);
|
||||
}
|
||||
/// <summary>
|
||||
/// 页面信息语言文本列表
|
||||
/// </summary>
|
||||
private readonly DataTable _InfoLanguageTextList;
|
||||
|
||||
|
||||
private List<BasCleanTypeMsg> basCleanTypeMsgList = new List<BasCleanTypeMsg>();
|
||||
/// <summary>
|
||||
/// 模板地址
|
||||
@@ -250,7 +247,7 @@ namespace CleanMachineHMI.FrmUserControl
|
||||
//if (Convert.ToBoolean(PlcOperationHelper.Instance.ReadPlcItem("FullPalletMode", PlcItemTypeDesc.M)))
|
||||
//{
|
||||
// swtbtn_fullPalletMod.L_IsOpen = true;
|
||||
// if (GlobalHelper.LanguageCode == "English")
|
||||
//
|
||||
// {
|
||||
// kryptonLabel12.Text = "Delay Full";
|
||||
// }
|
||||
@@ -262,7 +259,7 @@ namespace CleanMachineHMI.FrmUserControl
|
||||
//else
|
||||
//{
|
||||
// swtbtn_fullPalletMod.L_IsOpen = false;
|
||||
// if (GlobalHelper.LanguageCode == "English")
|
||||
//
|
||||
// {
|
||||
// kryptonLabel12.Text = "Count Full";
|
||||
// }
|
||||
@@ -472,7 +469,7 @@ namespace CleanMachineHMI.FrmUserControl
|
||||
|
||||
|
||||
}
|
||||
catch (Exception err)
|
||||
catch
|
||||
{
|
||||
|
||||
}
|
||||
@@ -2935,7 +2932,7 @@ namespace CleanMachineHMI.FrmUserControl
|
||||
//if (swtbtn_fullPalletMod.L_IsOpen)
|
||||
//{
|
||||
// PlcOperationHelper.Instance.WritePlcItem("FullPalletMode", "True", PlcItemTypeDesc.M);
|
||||
// if (GlobalHelper.LanguageCode == "English")
|
||||
//
|
||||
// {
|
||||
// kryptonLabel12.Text = "Delay Full";
|
||||
// }
|
||||
@@ -2948,7 +2945,7 @@ namespace CleanMachineHMI.FrmUserControl
|
||||
//else
|
||||
//{
|
||||
// PlcOperationHelper.Instance.WritePlcItem("FullPalletMode", "False", PlcItemTypeDesc.M);
|
||||
// if (GlobalHelper.LanguageCode == "English")
|
||||
//
|
||||
// {
|
||||
// kryptonLabel12.Text = "Count Full";
|
||||
// }
|
||||
|
||||
Reference in New Issue
Block a user