X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Ftypes%2FChargingStationInfo.ts;h=2baa72ef24ebb656ace0a380d41d844138f9d460;hb=1e080116b0b62d897258a28efa129a9a65bf7d4e;hp=70fda722f1a0891c489a3099769909296e78aa61;hpb=0b7c34ba120b560d2562228a3318a8673a7bf54f;p=e-mobility-charging-stations-simulator.git diff --git a/src/types/ChargingStationInfo.ts b/src/types/ChargingStationInfo.ts index 70fda722..2baa72ef 100644 --- a/src/types/ChargingStationInfo.ts +++ b/src/types/ChargingStationInfo.ts @@ -1,13 +1,22 @@ import ChargingStationTemplate from './ChargingStationTemplate'; -export default interface ChargingStationInfo extends ChargingStationTemplate { - hash?: string; +export default interface ChargingStationInfo + extends Omit< + ChargingStationTemplate, + | 'AutomaticTransactionGenerator' + | 'Configuration' + | 'power' + | 'powerUnit' + | 'chargeBoxSerialNumberPrefix' + | 'chargePointSerialNumberPrefix' + | 'meterSerialNumberPrefix' + > { + infoHash?: string; chargingStationId?: string; chargeBoxSerialNumber?: string; chargePointSerialNumber?: string; meterSerialNumber?: string; maximumPower?: number; // Always in Watt - powerDivider?: number; maximumAmperage?: number; // Always in Ampere }