1
This commit is contained in:
@@ -32,6 +32,8 @@ namespace CleanMachineHMI.FrmUserControl
|
||||
private void frmIOMonitorNew_Load(object sender, EventArgs e)
|
||||
{
|
||||
initControl();
|
||||
|
||||
this.SetFormControlText();
|
||||
PlcOperationHelper.Instance.readIO = true;
|
||||
PlcOperationHelper.Instance.OnShowX_Y_Status += Show_X_Y_Status;
|
||||
}
|
||||
@@ -154,7 +156,7 @@ namespace CleanMachineHMI.FrmUserControl
|
||||
IO.Code = "Y" + Convert.ToString((int.Parse(item.PlcItemPriAddress) ), 8).PadLeft(2, '0');
|
||||
IO.IOName = this.T(item.PlcItemName.Replace("(I/O监控)", ""), item.PlcItemCode);
|
||||
this.flowLayoutPanel1.Controls.Add(IO);
|
||||
|
||||
|
||||
buttons.Add(item, IO);
|
||||
|
||||
//if (this.Controls.Find("klb_Y" + Convert.ToString(Convert.ToInt32(item.PlcItemPriAddress), 8).PadLeft(2, '0'), true).Length > 0)
|
||||
|
||||
Reference in New Issue
Block a user