From 584af9c5121344d6a9cb2e8f193f57a20f40b949 Mon Sep 17 00:00:00 2001 From: CZ Date: Sun, 23 Jun 2024 16:38:40 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9C=80=E8=87=AA=E5=8A=A8=E5=85=85=E7=94=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Service/Charger/MyTask/AutoChargeTask.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Service/Charger/MyTask/AutoChargeTask.cs b/Service/Charger/MyTask/AutoChargeTask.cs index 4791002..c3eee69 100644 --- a/Service/Charger/MyTask/AutoChargeTask.cs +++ b/Service/Charger/MyTask/AutoChargeTask.cs @@ -203,9 +203,9 @@ public class AutoChargeTask : ITask foreach (var VARIABLE in chargingList) { if (StaticStationInfo.ChargeSoc != 100) - if (VARIABLE.Soc >= StaticStationInfo.ChargeSoc + 1) + if (VARIABLE.Soc >= (StaticStationInfo.ChargeSoc + 1)) { - Log.Info($"auto stop charge {VARIABLE.No} soc>=chaegeSoc"); + Log.Info($"auto stop charge {VARIABLE.No} soc>=chaegeSoc+1 soc:{VARIABLE.Soc}"); ClientMgr.GetBySn(VARIABLE.No)?.SendRemoteStopCharging(); } }