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