| 1 | import ChargingStationConfiguration from './ChargingStationConfiguration'; |
| 2 | import Connectors from './Connectors'; |
| 3 | |
| 4 | export enum PowerOutType { |
| 5 | AC = 'AC', |
| 6 | DC = 'DC', |
| 7 | } |
| 8 | |
| 9 | export enum PowerUnit { |
| 10 | WATT = 'W', |
| 11 | KILO_WATT = 'kW', |
| 12 | } |
| 13 | |
| 14 | export enum VoltageOut { |
| 15 | VOLTAGE_110 = 110, |
| 16 | VOLTAGE_230 = 230, |
| 17 | VOLTAGE_400 = 400 |
| 18 | } |
| 19 | |
| 20 | export interface AutomaticTransactionGenerator { |
| 21 | enable: boolean; |
| 22 | minDuration: number; |
| 23 | maxDuration: number; |
| 24 | minDelayBetweenTwoTransactions: number; |
| 25 | maxDelayBetweenTwoTransactions: number; |
| 26 | probabilityOfStart: number; |
| 27 | stopAfterHours: number; |
| 28 | stopOnConnectionFailure: boolean; |
| 29 | requireAuthorize: boolean |
| 30 | } |
| 31 | |
| 32 | export default interface ChargingStationTemplate { |
| 33 | supervisionURL?: string; |
| 34 | authorizationFile?: string; |
| 35 | baseName: string; |
| 36 | nameSuffix?: string; |
| 37 | fixedName?: string; |
| 38 | chargePointModel: string; |
| 39 | chargePointVendor: string; |
| 40 | chargeBoxSerialNumberPrefix?: string; |
| 41 | firmwareVersion?: string; |
| 42 | power: number | number[]; |
| 43 | powerSharedByConnectors?: boolean; |
| 44 | powerUnit: PowerUnit; |
| 45 | powerOutType?: PowerOutType; |
| 46 | numberOfPhases?: number; |
| 47 | numberOfConnectors?: number | number[]; |
| 48 | useConnectorId0?: boolean; |
| 49 | randomConnectors?: boolean; |
| 50 | resetTime?: number; |
| 51 | connectionTimeout?: number; |
| 52 | autoReconnectMaxRetries?: number; |
| 53 | reconnectExponentialDelay?: boolean; |
| 54 | registrationMaxRetries?: number; |
| 55 | enableStatistics?: boolean; |
| 56 | voltageOut?: number; |
| 57 | Configuration?: ChargingStationConfiguration; |
| 58 | AutomaticTransactionGenerator: AutomaticTransactionGenerator; |
| 59 | Connectors: Connectors; |
| 60 | } |