This commit is contained in:
gongxh
2022-01-19 15:48:30 +08:00
parent b06189cb49
commit 990b27a267

View File

@@ -1267,8 +1267,7 @@ namespace CleanMachineHMI.FrmUserControl
{ {
while (GlobalHelper.SysThIsRunFlag) while (GlobalHelper.SysThIsRunFlag)
{ {
try
{
if (Convert.ToBoolean(PlcOperationHelper.Instance.ReadPlcItem("CleanMacRunStatusNew", PlcItemTypeDesc.M))) if (Convert.ToBoolean(PlcOperationHelper.Instance.ReadPlcItem("CleanMacRunStatusNew", PlcItemTypeDesc.M)))
{ {
Invoke(new Action(() => { cbt_RunStatusTran.BackColor = Color.Lime; })); Invoke(new Action(() => { cbt_RunStatusTran.BackColor = Color.Lime; }));
@@ -1531,11 +1530,8 @@ namespace CleanMachineHMI.FrmUserControl
//autoCleanNum = 0; //autoCleanNum = 0;
} }
FinishWorkingPallet(); FinishWorkingPallet();
}
catch
{
}
Thread.Sleep(200); Thread.Sleep(200);
} }
} }