X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Ftypes%2FChargingStationInfo.ts;h=192e5771c0152ecf83126778b2a9eac38db69a3b;hb=e909d2a71e82122e970db9d6f262bd1415a3bb20;hp=0e8b172217a9379ef7d41737849b85c372e7e318;hpb=cc6e8ab5f669ff49b1d476efffc509be8128bccc;p=e-mobility-charging-stations-simulator.git diff --git a/src/types/ChargingStationInfo.ts b/src/types/ChargingStationInfo.ts index 0e8b1722..192e5771 100644 --- a/src/types/ChargingStationInfo.ts +++ b/src/types/ChargingStationInfo.ts @@ -1,11 +1,23 @@ -import ChargingStationTemplate from './ChargingStationTemplate'; +import type ChargingStationTemplate from './ChargingStationTemplate'; -export default interface ChargingStationInfo extends ChargingStationTemplate { +export default interface ChargingStationInfo + extends Omit< + ChargingStationTemplate, + | 'AutomaticTransactionGenerator' + | 'Configuration' + | 'power' + | 'powerUnit' + | 'chargeBoxSerialNumberPrefix' + | 'chargePointSerialNumberPrefix' + | 'meterSerialNumberPrefix' + > { + hashId: string; + infoHash?: string; chargingStationId?: string; chargeBoxSerialNumber?: string; chargePointSerialNumber?: string; + meterSerialNumber?: string; maximumPower?: number; // Always in Watt - powerDivider?: number; maximumAmperage?: number; // Always in Ampere }