Refine TS and linter configuration
[e-mobility-charging-stations-simulator.git] / src / types / ConnectorStatus.ts
CommitLineData
6c1761d4
JB
1import type { SampledValueTemplate } from './MeasurandPerPhaseSampledValueTemplates';
2import type { ChargePointStatus } from './ocpp/ChargePointStatus';
3import type { ChargingProfile } from './ocpp/ChargingProfile';
4import type { MeterValue } from './ocpp/MeterValues';
5import type { AvailabilityType } from './ocpp/Requests';
9ccca265 6
734d790d 7export interface ConnectorStatus {
4dff73b0 8 availability: AvailabilityType;
10570d97
JB
9 bootStatus?: ChargePointStatus;
10 status?: ChargePointStatus;
9ccca265 11 MeterValues: SampledValueTemplate[];
163547b1 12 authorizeIdTag?: string;
a2653482
JB
13 idTagAuthorized?: boolean;
14 localAuthorizeIdTag?: string;
15 idTagLocalAuthorized?: boolean;
16 transactionRemoteStarted?: boolean;
10570d97
JB
17 transactionStarted?: boolean;
18 transactionId?: number;
19 transactionSetInterval?: NodeJS.Timeout;
163547b1 20 transactionIdTag?: string;
4a1857a2
JB
21 energyActiveImportRegisterValue?: number; // In Wh
22 transactionEnergyActiveImportRegisterValue?: number; // In Wh
fd0c36fa
JB
23 transactionBeginMeterValue?: MeterValue;
24 chargingProfiles?: ChargingProfile[];
10570d97 25}