Commit | Line | Data |
---|---|---|
9ac86a7e JB |
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; | |
3574dfd3 JB |
43 | connectionTimeout?: number; |
44 | autoReconnectMaxRetries?: number; | |
032d6efc | 45 | reconnectExponentialDelay?: boolean; |
6ad94506 | 46 | registrationMaxRetries?: number; |
9ac86a7e JB |
47 | enableStatistics?: boolean; |
48 | voltageOut?: number; | |
49 | Configuration?: ChargingStationConfiguration; | |
50 | AutomaticTransactionGenerator: AutomaticTransactionGenerator; | |
51 | Connectors: Connectors; | |
52 | } |