This commit is contained in:
gongxh
2022-05-16 09:03:42 +08:00
parent 4a6894457d
commit f3e77f63c0
37 changed files with 298 additions and 255 deletions

View File

@@ -32,6 +32,7 @@ namespace CleanMachineHMI.FrmUserControl
private void frmIOMonitorNew_Load(object sender, EventArgs e)
{
initControl();
PlcOperationHelper.Instance.readIO = true;
PlcOperationHelper.Instance.OnShowX_Y_Status += Show_X_Y_Status;
}
@@ -176,5 +177,10 @@ namespace CleanMachineHMI.FrmUserControl
KryptonMessageBox.Show(ex.Message);
}
}
private void frmIOMonitorAuto_VisibleChanged(object sender, EventArgs e)
{
PlcOperationHelper.Instance.readIO = this.Visible;
}
}
}