|
|
|
@ -153,11 +153,6 @@ public class StationReadyState : IState
|
|
|
|
|
_log.Info("entrance radar true");
|
|
|
|
|
machine.RadarInFlag = true;
|
|
|
|
|
|
|
|
|
|
//添加小步状态
|
|
|
|
|
_CommonMgr.InsertStep(InfoEnum.BusinessSwappingStep.Idel,
|
|
|
|
|
machine);
|
|
|
|
|
_CommonMgr.InsertStep(InfoEnum.BusinessSwappingStep.RadarInFlag,
|
|
|
|
|
machine);
|
|
|
|
|
}
|
|
|
|
|
}, () => { }, true, () => { }, 2, InvokeStatus.TimeOut);
|
|
|
|
|
}
|
|
|
|
@ -240,6 +235,10 @@ public class StationReadyState : IState
|
|
|
|
|
//新增换电订单
|
|
|
|
|
machine.SwapOrder = _CommonMgr.SaveOrder(BuildOrder(machine.RfidReadModel));
|
|
|
|
|
//新增小步
|
|
|
|
|
_CommonMgr.InsertStep(InfoEnum.BusinessSwappingStep.Idel,
|
|
|
|
|
machine);
|
|
|
|
|
_CommonMgr.InsertStep(InfoEnum.BusinessSwappingStep.RadarInFlag,
|
|
|
|
|
machine);
|
|
|
|
|
_CommonMgr.InsertStep(InfoEnum.BusinessSwappingStep.RfidReadFlag,
|
|
|
|
|
machine);
|
|
|
|
|
RfidApi.StopRead();
|
|
|
|
|