去掉步序云平台下发换电指令

master
tq 4 months ago
parent fc51905784
commit f5285ee1ed

@ -105,7 +105,7 @@ public class InfoEnum
[Const("rfid扫描完成")] RfidReadFlag,
[Const("云平台车辆认证")] CloudVelCheckFlag,
[Const("车辆到位")] CarInPositionFlag,
[Const("云平台下发换电指令")] CloudCarCanStartFlag,
// [Const("云平台下发换电指令")] CloudCarCanStartFlag,
[Const("车辆解锁")] VelUnlockFlag,
// [Const("下发plc选包")] DistributeSelectPackFlag,

@ -69,8 +69,8 @@ public class SwapCanStartState : IState
_swapOrderRepository.Update(machine.SwapOrder.CloudSn);
machine.CloudCarCanStartFlag = true;
_swapOrderStepService.InsertSwapStepForSwapMain(InfoEnum.BusinessSwappingStep.CloudCarCanStartFlag,
machine.StepSort++, machine.SwapOrder.Sn);
// _swapOrderStepService.InsertSwapStepForSwapMain(InfoEnum.BusinessSwappingStep.CloudCarCanStartFlag,
// machine.StepSort++, machine.SwapOrder.Sn);
}
else
{

@ -75,19 +75,19 @@ public class SwappingStateMachine : IDisposable
["2"] = new StepModel { StepNo = 2, Status = 0, StepName = "rfid扫描完成" },
["3"] = new StepModel { StepNo = 3, Status = 0, StepName = "云平台车辆认证" },
["4"] = new StepModel { StepNo = 4, Status = 0, StepName = "车辆到位" },
["5"] = new StepModel { StepNo = 5, Status = 0, StepName = "云平台下发换电指令" },
["6"] = new StepModel { StepNo = 6, Status = 0, StepName = "车辆解锁" },
// ["5"] = new StepModel { StepNo = 5, Status = 0, StepName = "云平台下发换电指令" },
["5"] = new StepModel { StepNo = 5, Status = 0, StepName = "车辆解锁" },
//["6"] = new StepModel { StepNo = 6, Status = 0, StepName = "下发plc选包" },
["7"] = new StepModel { StepNo = 7, Status = 0, StepName = "开始换电" },
["8"] = new StepModel { StepNo = 8, Status = 0, StepName = "拆旧电池完成" },
["9"] = new StepModel { StepNo = 9, Status = 0, StepName = "入库旧电池完成" },
["10"] = new StepModel { StepNo = 10, Status = 0, StepName = "搬运新电池完成" },
["11"] = new StepModel { StepNo = 11, Status = 0, StepName = "安装新电池完成" },
["12"] = new StepModel { StepNo = 12, Status = 0, StepName = "安装完成" },
["13"] = new StepModel { StepNo = 13, Status = 0, StepName = "车辆上锁" },
["14"] = new StepModel { StepNo = 14, Status = 0, StepName = "换电完成(车辆驶离)" },
["15"] = new StepModel { StepNo = 15, Status = 0, StepName = "换电失败(车辆驶离)" },
["6"] = new StepModel { StepNo = 6, Status = 0, StepName = "开始换电" },
["7"] = new StepModel { StepNo = 7, Status = 0, StepName = "拆旧电池完成" },
["8"] = new StepModel { StepNo = 8, Status = 0, StepName = "入库旧电池完成" },
["9"] = new StepModel { StepNo = 9, Status = 0, StepName = "搬运新电池完成" },
["10"] = new StepModel { StepNo = 10, Status = 0, StepName = "安装新电池完成" },
["11"] = new StepModel { StepNo = 11, Status = 0, StepName = "安装完成" },
["12"] = new StepModel { StepNo = 12, Status = 0, StepName = "车辆上锁" },
["13"] = new StepModel { StepNo = 13, Status = 0, StepName = "换电完成(车辆驶离)" },
["14"] = new StepModel { StepNo = 14, Status = 0, StepName = "换电失败(车辆驶离)" },
};
#region 小步状态

Loading…
Cancel
Save