|
|
@ -43,14 +43,16 @@ public class SwapDoneState : IState
|
|
|
|
_CommonMgr.UpdateAmtOrder(machine);
|
|
|
|
_CommonMgr.UpdateAmtOrder(machine);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Task.Run(() =>
|
|
|
|
//新增换电成功上报云平台数据
|
|
|
|
{
|
|
|
|
_CommonMgr.InsertCloudReportForSwapSuccess(machine);
|
|
|
|
//新增换电成功上报云平台数据
|
|
|
|
//换电成功关于bininfo表的更新
|
|
|
|
_CommonMgr.InsertCloudReportForSwapSuccess(machine);
|
|
|
|
_CommonMgr.UpdateBinInfoForSwapSuccess(machine);
|
|
|
|
//换电成功关于bininfo表的更新
|
|
|
|
|
|
|
|
_CommonMgr.UpdateBinInfoForSwapSuccess(machine);
|
|
|
|
//可人工确认换电成功标识
|
|
|
|
|
|
|
|
machine.PlcSwapFlag = true;
|
|
|
|
//可人工确认换电成功标识
|
|
|
|
|
|
|
|
machine.PlcSwapFlag = true;
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (machine.SwapStatus == (int)InfoEnum.SwapOrderResult.Success)
|
|
|
|
if (machine.SwapStatus == (int)InfoEnum.SwapOrderResult.Success)
|
|
|
|