|
|
@ -35,8 +35,6 @@ public class SwapDoneState : IState
|
|
|
|
machine.SwapOrder.SwapEndTime = DateTime.Now;
|
|
|
|
machine.SwapOrder.SwapEndTime = DateTime.Now;
|
|
|
|
machine.SwapOrder.FailReason = machine.SwapFailReason;
|
|
|
|
machine.SwapOrder.FailReason = machine.SwapFailReason;
|
|
|
|
_CommonMgr.UpdateSwapOrder(machine);
|
|
|
|
_CommonMgr.UpdateSwapOrder(machine);
|
|
|
|
_CommonMgr.SaveSwapBattery(machine);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//修改预约单
|
|
|
|
//修改预约单
|
|
|
|
if (machine.SwapOrderBatteryInfo!.swapAmtOrder != null)
|
|
|
|
if (machine.SwapOrderBatteryInfo!.swapAmtOrder != null)
|
|
|
|