soc 为-1 取消更新

master
lxw 6 months ago
parent 7069549e17
commit 6ab33ee838

@ -61,6 +61,10 @@ public class UpdateDownBatteryInfoTask : ITask
{
continue;
}
if (info.Soc == null || info.BatteryNo == "-1")
{
continue;
}
battery.DownBatteryNo = info.BatteryNo;
battery.DownBatterySoc = info.Soc;

Loading…
Cancel
Save