public void SetCharger(IChargerInterface charger) { if (charger == null) { throw new ArgumentNullException(nameof(charger)); } ChargerService = charger; ChargerService.SupplyVoltageLimit = GRID_VOLTAGE; ChargerService.SupplyCurrentLimit = this.SupplyCurrentLimit; }
public void SetCharger(IChargerInterface charger) { ChargerService = charger; ChargerService.SupplyVoltageLimit = GRID_VOLTAGE; ChargerService.SupplyCurrentLimit = this.SupplyCurrentLimit; }