From 9830115e3e7bfdcad4d9ed9b5bf365f093a648db Mon Sep 17 00:00:00 2001 From: CZ Date: Fri, 14 Jun 2024 10:47:37 +0800 Subject: [PATCH] =?UTF-8?q?=E7=8E=B0=E5=9C=BA=E4=BB=A3=E7=A0=81=E6=9B=B4?= =?UTF-8?q?=E6=94=B9-=E6=8E=A5=E6=94=B6=E5=88=B0=E7=9A=84=E5=BA=94?= =?UTF-8?q?=E7=AD=94=E5=81=9C=E6=AD=A2=E5=85=85=E7=94=B5handler=E6=9B=B4?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Service/Charger/Handler/RemoteStopChargingResHandler.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Service/Charger/Handler/RemoteStopChargingResHandler.cs b/Service/Charger/Handler/RemoteStopChargingResHandler.cs index 8dd51aa..e63ecff 100644 --- a/Service/Charger/Handler/RemoteStopChargingResHandler.cs +++ b/Service/Charger/Handler/RemoteStopChargingResHandler.cs @@ -26,7 +26,7 @@ namespace HybirdFrameworkServices.Charger.Handler if (ClientMgr.TryGetClient(ctx.Channel, out var sn, out var client)) { Log.Info($"receive {msg} from {sn}"); - if (msg.Result == 0) + if (msg.Result != 0xff) { client.IsCanSendStopCmd = false; client.IsStopped = true;