|
|
|
@ -180,7 +180,7 @@ public class AutoChargeTask : ITask
|
|
|
|
|
int number = 0;
|
|
|
|
|
foreach (var binInfo in canChargeList)
|
|
|
|
|
{
|
|
|
|
|
float? chargePower = EquipInfoRepository.QueryPowerByCode(binInfo.Code);
|
|
|
|
|
float? chargePower = EquipInfoRepository.QueryPowerByCode(binInfo.ChargerNo);
|
|
|
|
|
float? power = chargePower == null ? StaticStationInfo.ChargePower : chargePower;
|
|
|
|
|
Result<bool>? result = ClientMgr.GetBySn(binInfo.ChargerNo)
|
|
|
|
|
?.StartCharge(chargeSoc, (float)power);
|
|
|
|
|