public void AddChargingStationState(ChargingStationState state) { if (_calcParameters.Options.Contains(CalcOption.TransportationStatistics)) { _chargingStationStates.Add(state); } }
public void ProcessRequests([NotNull] TimeStep timestep) { //TODO: do the entire thing with requested power / real power ChargingStationState state = new ChargingStationState(ChargingStationName, ChargingStationGuid, IsAvailable, timestep, _householdKey, _connectedCar?.Name, _connectedCar?.Guid, _connectedCar?.LastChargingPower ?? 0); _calcRepo.OnlineLoggingData.AddChargingStationState(state); }