From ba42ca97864a88d651f1c650bcdb849b12931e95 Mon Sep 17 00:00:00 2001 From: tq <1916474859@qq,com> Date: Sat, 19 Oct 2024 15:35:36 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=8F=E7=94=B5=E5=8C=85=E8=83=BD=E9=87=8F?= =?UTF-8?q?=E6=A0=87=E7=A7=B0=E8=B5=8B=E5=80=BC?= 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 23d9bf8..660fc4b 100644 --- a/Service/MyTask/UpdateDownBatteryInfoTask.cs +++ b/Service/MyTask/UpdateDownBatteryInfoTask.cs @@ -71,7 +71,7 @@ public class UpdateDownBatteryInfoTask : ITask continue; } - if (info.Soc == null || info.Soc <= 0 || info.Soc > 100) + if (info.Soc == null || info.Soc <= 0 || info.Soc > 100 || info.NominalEnergy<=0) { continue; }