最自动充电

master
CZ 5 months ago
parent 5418fca7da
commit 584af9c512

@ -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();
}
}

Loading…
Cancel
Save