|
|
@ -39,6 +39,12 @@ public class StationReadyState : IState
|
|
|
|
{
|
|
|
|
{
|
|
|
|
return null;
|
|
|
|
return null;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
//plc是否是远程模式
|
|
|
|
|
|
|
|
var plcIsAuto = PlcIsAuto(machine);
|
|
|
|
|
|
|
|
if (InvokeStatus.Done != plcIsAuto)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
return SwappingStateMachine.ReturnWithInvokeErr(plcIsAuto, ExceptionReason.None);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
//plc是否是远程模式
|
|
|
|
//plc是否是远程模式
|
|
|
|
var plcIsRemote = PlcIsRemote(machine);
|
|
|
|
var plcIsRemote = PlcIsRemote(machine);
|
|
|
|