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