soc 为-1 取消更新

zw
lxw 6 months ago
parent 7069549e17
commit 6ab33ee838

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

Loading…
Cancel
Save