|
|
@ -24,6 +24,7 @@ public class PlcTaskMgr
|
|
|
|
() => isSuccess, () =>
|
|
|
|
() => isSuccess, () =>
|
|
|
|
{
|
|
|
|
{
|
|
|
|
var readPlcTaskStatus = PlcMgr.ReadPlcTaskStatus();
|
|
|
|
var readPlcTaskStatus = PlcMgr.ReadPlcTaskStatus();
|
|
|
|
|
|
|
|
Log.Info($"PlcTaskMgr.QueryPlcTask taskNo={taskNo} execute resp readPlcTaskStatus={readPlcTaskStatus}");
|
|
|
|
if (ingStatus == readPlcTaskStatus)
|
|
|
|
if (ingStatus == readPlcTaskStatus)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -35,6 +36,7 @@ public class PlcTaskMgr
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else if (9000 == readPlcTaskStatus || 1001== readPlcTaskStatus )
|
|
|
|
else if (9000 == readPlcTaskStatus || 1001== readPlcTaskStatus )
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
Log.Info($"PlcTaskMgr.QueryPlcTask taskNo={taskNo} execute success readPlcTaskStatus={readPlcTaskStatus}");
|
|
|
|
isSuccess = true;
|
|
|
|
isSuccess = true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}, () =>
|
|
|
|
}, () =>
|
|
|
|