X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Fcharging-station%2FHelpers.ts;h=22ed5041e0515cc6b0769b3acb85df2d54525287;hb=6027002ff1398a1cb3bb55d4994e4615efded2c0;hp=258613a3f1aa29d32e9818d17db366a9bf8bbcba;hpb=1253d60cd246f968e985f6f067204a130b384b72;p=e-mobility-charging-stations-simulator.git diff --git a/src/charging-station/Helpers.ts b/src/charging-station/Helpers.ts index 258613a3..22ed5041 100644 --- a/src/charging-station/Helpers.ts +++ b/src/charging-station/Helpers.ts @@ -338,6 +338,9 @@ export const setChargingStationOptions = ( stationInfo: ChargingStationInfo, options?: ChargingStationOptions ): ChargingStationInfo => { + if (options?.supervisionUrls != null) { + stationInfo.supervisionUrls = options.supervisionUrls + } if (options?.persistentConfiguration != null) { stationInfo.stationInfoPersistentConfiguration = options.persistentConfiguration stationInfo.ocppPersistentConfiguration = options.persistentConfiguration @@ -496,6 +499,7 @@ export const stationTemplateToStationInfo = ( delete stationTemplate.Evses delete stationTemplate.Configuration delete stationTemplate.AutomaticTransactionGenerator + delete stationTemplate.numberOfConnectors delete stationTemplate.chargeBoxSerialNumberPrefix delete stationTemplate.chargePointSerialNumberPrefix delete stationTemplate.meterSerialNumberPrefix