From 535505984b5876b86e190cfff3978e800dbb9491 Mon Sep 17 00:00:00 2001 From: lxw Date: Fri, 13 Sep 2024 16:07:52 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8D=A2=E7=94=B5=E6=B5=81=E7=A8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Service/Execute/SwappingStateMachine.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Service/Execute/SwappingStateMachine.cs b/Service/Execute/SwappingStateMachine.cs index 12b6a7d..578db01 100644 --- a/Service/Execute/SwappingStateMachine.cs +++ b/Service/Execute/SwappingStateMachine.cs @@ -333,7 +333,8 @@ public class SwappingStateMachine : IDisposable Array values = Enum.GetValues(typeof(InfoEnum.BusinessSwappingStep)); foreach (var value in values) { - StepModel[(string)value] = new StepModel() + + StepModel[value.ToString()] = new StepModel() { StepNo = (int)value, Status = 0,