| 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 interface AutomaticTransactionGenerator { |
| 15 | enable: boolean; |
| 16 | minDuration: number; |
| 17 | maxDuration: number; |
| 18 | minDelayBetweenTwoTransactions: number; |
| 19 | maxDelayBetweenTwoTransactions: number; |
| 20 | probabilityOfStart: number; |
| 21 | stopAfterHours: number; |
| 22 | stopOnConnectionFailure: boolean |
| 23 | } |
| 24 | |
| 25 | export default interface ChargingStationTemplate { |
| 26 | supervisionURL?: string; |
| 27 | authorizationFile?: string; |
| 28 | baseName: string; |
| 29 | fixedName?: string; |
| 30 | chargePointModel: string; |
| 31 | chargePointVendor: string; |
| 32 | chargeBoxSerialNumberPrefix?: string; |
| 33 | firmwareVersion?: string; |
| 34 | power: number | number[]; |
| 35 | powerSharedByConnectors?: boolean; |
| 36 | powerUnit: PowerUnit; |
| 37 | powerOutType?: PowerOutType; |
| 38 | numberOfPhases?: number; |
| 39 | numberOfConnectors?: number | number[]; |
| 40 | useConnectorId0?: boolean; |
| 41 | randomConnectors?: boolean; |
| 42 | resetTime?: number; |
| 43 | enableStatistics?: boolean; |
| 44 | voltageOut?: number; |
| 45 | Configuration?: ChargingStationConfiguration; |
| 46 | AutomaticTransactionGenerator: AutomaticTransactionGenerator; |
| 47 | Connectors: Connectors; |
| 48 | } |