From c0098a226b24b9877447571aa2257ac3d411254a Mon Sep 17 00:00:00 2001 From: lxw Date: Mon, 24 Jun 2024 17:40:55 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=BA=E5=B7=A5=E6=93=8D=E4=BD=9C=20?= =?UTF-8?q?=E5=BC=82=E6=AD=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- WebStarter/Controllers/SwapMonitorController.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/WebStarter/Controllers/SwapMonitorController.cs b/WebStarter/Controllers/SwapMonitorController.cs index 2ebe0b4..1cead45 100644 --- a/WebStarter/Controllers/SwapMonitorController.cs +++ b/WebStarter/Controllers/SwapMonitorController.cs @@ -148,11 +148,11 @@ public class SwapMonitorController : ControllerBase return Result.Fail("不满足确认换电成功条件"); } - StationSoftMgr.SwappingStateMachineManual(); + Task.Run(StationSoftMgr.SwappingStateMachineManual); } else { - StationSoftMgr.SwappingStateMachineCancel(); + Task.Run(StationSoftMgr.SwappingStateMachineCancel); }