换电流程

master
lxw 2 months ago
parent 535505984b
commit 36d01d5f6b

@ -329,12 +329,15 @@ public class SwappingStateMachine : IDisposable
SwapOrderBatteryInfo = null; SwapOrderBatteryInfo = null;
StepSort = 0; StepSort = 0;
StepModel =
new ConcurrentDictionary<string, StepModel>
();
Array values = Enum.GetValues(typeof(InfoEnum.BusinessSwappingStep)); Array values = Enum.GetValues(typeof(InfoEnum.BusinessSwappingStep));
foreach (var value in values) foreach (var value in values)
{ {
StepModel[value.ToString()] = new StepModel()
StepModel[value.ToInt()+""] = new StepModel()
{ {
StepNo = (int)value, StepNo = (int)value,
Status = 0, Status = 0,

Loading…
Cancel
Save