From 6310637d6e2d684cb799237f343f0a4e568d79a9 Mon Sep 17 00:00:00 2001 From: lxw Date: Thu, 13 Jun 2024 17:17:46 +0800 Subject: [PATCH] =?UTF-8?q?soc=E5=88=A4=E6=96=ADbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Service/MyTask/UpdateDownBatteryInfoTask.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Service/MyTask/UpdateDownBatteryInfoTask.cs b/Service/MyTask/UpdateDownBatteryInfoTask.cs index c856de6..9afff4f 100644 --- a/Service/MyTask/UpdateDownBatteryInfoTask.cs +++ b/Service/MyTask/UpdateDownBatteryInfoTask.cs @@ -61,7 +61,7 @@ public class UpdateDownBatteryInfoTask : ITask { continue; } - if (info.Soc == null || info.BatteryNo == "-1") + if (info.Soc == null || info.Soc <=0) { continue; }