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

master
tq 5 months ago
parent fc51905784
commit f5285ee1ed

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

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

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

Loading…
Cancel
Save