@ -24,7 +24,7 @@ public class ManualSuccState : IState
AppInfo.Container.Resolve<ManualOperationRecordRepository>();
public StateResult Handle(SwappingStateMachine machine)
{
_log.Info($"'goto ManualSucc");
_log.Info($"goto ManualSucc");
try
machine.ManualSwapSuccFlag = false;
@ -282,6 +282,8 @@ public class SwappingStateMachine : IDisposable
BusinessSwappingForCloudState = InfoEnum.BusinessSwappingForCloudState.Idle;
BusinessSwappingStateUpdateTime = DateTime.Now;
ExceptionReason = ExceptionReason.None;
OperateModel = null;
;
//换电实时状态 0:开始 1:成功 2:失败
SwapStatus = null;
@ -32,7 +32,7 @@ public class PlcTaskMgr
$"PlcTaskMgr.QueryPlcTask taskNo={taskNo} execute fail readPlcTaskStatus={readPlcTaskStatus}");
throw new Exception("PlcTaskMgr.QueryPlcTask readPlcTaskStatus=" + readPlcTaskStatus);
}
else if (9000 == readPlcTaskStatus)
else if (9000 == readPlcTaskStatus || 1001== readPlcTaskStatus )
isSuccess = true;