Commit | Line | Data |
---|---|---|
c0560973 JB |
1 | import { AvailabilityType } from './ocpp/Requests'; |
2 | import { ChargePointStatus } from './ocpp/ChargePointStatus'; | |
3 | import { ChargingProfile } from './ocpp/ChargingProfile'; | |
4 | import { SampledValue } from './ocpp/MeterValues'; | |
10570d97 JB |
5 | |
6 | export interface Connector { | |
4dff73b0 | 7 | availability: AvailabilityType; |
10570d97 JB |
8 | bootStatus?: ChargePointStatus; |
9 | status?: ChargePointStatus; | |
f738a0e9 | 10 | MeterValues: SampledValue[]; |
10570d97 JB |
11 | transactionStarted?: boolean; |
12 | transactionId?: number; | |
13 | transactionSetInterval?: NodeJS.Timeout; | |
14 | idTag?: string; | |
4a1857a2 JB |
15 | energyActiveImportRegisterValue?: number; // In Wh |
16 | transactionEnergyActiveImportRegisterValue?: number; // In Wh | |
8c476a1f | 17 | chargingProfiles?: ChargingProfile[] |
10570d97 JB |
18 | } |
19 | ||
20 | export default interface Connectors { | |
21 | [id: string]: Connector; | |
22 | } |