1
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user