Convert types to native type
[e-mobility-charging-stations-simulator.git] / src / types / ChargingStationInfo.ts
CommitLineData
6c1761d4 1import type ChargingStationTemplate from './ChargingStationTemplate';
9ac86a7e 2
fa7bccf4
JB
3export default interface ChargingStationInfo
4 extends Omit<
5 ChargingStationTemplate,
6 | 'AutomaticTransactionGenerator'
7 | 'Configuration'
8 | 'power'
9 | 'powerUnit'
10 | 'chargeBoxSerialNumberPrefix'
11 | 'chargePointSerialNumberPrefix'
fec4d204 12 | 'meterSerialNumberPrefix'
fa7bccf4 13 > {
51c83d6f 14 hashId: string;
f765beaa 15 infoHash?: string;
36a16ec2 16 chargingStationId?: string;
9ac86a7e 17 chargeBoxSerialNumber?: string;
43bb4cd9 18 chargePointSerialNumber?: string;
0b7c34ba 19 meterSerialNumber?: string;
cc6e8ab5 20 maximumPower?: number; // Always in Watt
cc6e8ab5 21 maximumAmperage?: number; // Always in Ampere
9ac86a7e 22}
2484ac1e 23
83e00df1 24export type ChargingStationInfoConfiguration = {
2484ac1e 25 stationInfo?: ChargingStationInfo;
83e00df1 26};