|
|
@ -203,9 +203,9 @@ public class AutoChargeTask : ITask
|
|
|
|
foreach (var VARIABLE in chargingList)
|
|
|
|
foreach (var VARIABLE in chargingList)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if (StaticStationInfo.ChargeSoc != 100)
|
|
|
|
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();
|
|
|
|
ClientMgr.GetBySn(VARIABLE.No)?.SendRemoteStopCharging();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|