修改结构

This commit is contained in:
gongxh
2022-05-06 08:45:56 +08:00
parent 74a05e7bb3
commit 7e9c7ca86f
50 changed files with 352 additions and 251 deletions

View File

@@ -203,7 +203,7 @@ namespace CleanMachineHMI
KryptonLabel label1 = new KryptonLabel();
label1.StateCommon.ShortText.Font = new Font("宋体", (float)8.5, FontStyle.Regular);
label1.Location = new Point(44, 6);
label1.Text = this.GetInfoText(item.PlcItemName.Replace("(I/O监控)", ""), item.PlcItemCode);
label1.Text = this.T(item.PlcItemName.Replace("(I/O监控)", ""), item.PlcItemCode);
panel.Controls.Add(label);
panel.Controls.Add(button);
@@ -238,7 +238,7 @@ namespace CleanMachineHMI
label1.StateCommon.ShortText.Font = new Font("宋体", (float)8.5, FontStyle.Regular);
label1.Location = new Point(44, 6);
//label1.Text = item.PlcItemName.Replace("(I/O监控)", "");
label1.Text = this.GetInfoText(item.PlcItemName.Replace("(I/O监控)", ""), item.PlcItemCode);
label1.Text = this.T(item.PlcItemName.Replace("(I/O监控)", ""), item.PlcItemCode);
panel.Controls.Add(label);
panel.Controls.Add(button);
@@ -321,7 +321,7 @@ namespace CleanMachineHMI
KryptonLabel label1 = new KryptonLabel();
label1.StateCommon.ShortText.Font = new Font("宋体", (float)8.5, FontStyle.Regular);
label1.Location = new Point(44, 6);
label1.Text = this.GetInfoText(item.PlcItemName.Replace("(I/O监控)", ""), item.PlcItemCode);
label1.Text = this.T(item.PlcItemName.Replace("(I/O监控)", ""), item.PlcItemCode);
panel.Controls.Add(label);
panel.Controls.Add(button);
@@ -355,7 +355,7 @@ namespace CleanMachineHMI
KryptonLabel label1 = new KryptonLabel();
label1.StateCommon.ShortText.Font = new Font("宋体", (float)8.5, FontStyle.Regular);
label1.Location = new Point(44, 6);
label1.Text = this.GetInfoText(item.PlcItemName.Replace("(I/O监控)", ""), item.PlcItemCode);
label1.Text = this.T(item.PlcItemName.Replace("(I/O监控)", ""), item.PlcItemCode);
panel.Controls.Add(label);
panel.Controls.Add(button);