diff --git a/Service/Execute/SwappingStateMachine.cs b/Service/Execute/SwappingStateMachine.cs index 578db01..efcdfb3 100644 --- a/Service/Execute/SwappingStateMachine.cs +++ b/Service/Execute/SwappingStateMachine.cs @@ -329,12 +329,15 @@ public class SwappingStateMachine : IDisposable SwapOrderBatteryInfo = null; StepSort = 0; - + StepModel = + new ConcurrentDictionary + (); Array values = Enum.GetValues(typeof(InfoEnum.BusinessSwappingStep)); foreach (var value in values) { - - StepModel[value.ToString()] = new StepModel() + + + StepModel[value.ToInt()+""] = new StepModel() { StepNo = (int)value, Status = 0,