X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Ftypes%2FChargingStationTemplate.ts;h=a11ac892779ff535f334f8052a671aa4d17243e1;hb=baa539e6b66a5c479327f48195df5a4133b8c0e7;hp=99b43765232fde1a66428745d7b411b5d0af89f7;hpb=5d280aae12d6ad7367136421c8e2414a676d2c1a;p=e-mobility-charging-stations-simulator.git diff --git a/src/types/ChargingStationTemplate.ts b/src/types/ChargingStationTemplate.ts index 99b43765..a11ac892 100644 --- a/src/types/ChargingStationTemplate.ts +++ b/src/types/ChargingStationTemplate.ts @@ -1,10 +1,11 @@ -import type { ClientRequestArgs } from 'http'; +import type { ClientRequestArgs } from 'node:http'; import type { ClientOptions } from 'ws'; import type { AutomaticTransactionGeneratorConfiguration } from './AutomaticTransactionGenerator'; import type { ChargingStationOcppConfiguration } from './ChargingStationOcppConfiguration'; import type { ConnectorStatus } from './ConnectorStatus'; +import type { EvseTemplate } from './Evse'; import type { OCPPProtocol } from './ocpp/OCPPProtocol'; import type { OCPPVersion } from './ocpp/OCPPVersion'; import type { @@ -13,6 +14,7 @@ import type { MessageTrigger, RequestCommand, } from './ocpp/Requests'; +import type { Reservation } from './ocpp/Reservation'; export enum CurrentType { AC = 'AC', @@ -41,7 +43,7 @@ export enum Voltage { export type WsOptions = ClientOptions & ClientRequestArgs; export type FirmwareUpgrade = { - versionUpgrade: { + versionUpgrade?: { patternGroup?: number; step?: number; }; @@ -67,7 +69,7 @@ export type ChargingStationTemplate = { ocppPersistentConfiguration?: boolean; stationInfoPersistentConfiguration?: boolean; wsOptions?: WsOptions; - authorizationFile?: string; + idTagsFile?: string; baseName: string; nameSuffix?: string; fixedName?: boolean; @@ -112,5 +114,7 @@ export type ChargingStationTemplate = { messageTriggerSupport?: Record; Configuration?: ChargingStationOcppConfiguration; AutomaticTransactionGenerator?: AutomaticTransactionGeneratorConfiguration; - Connectors: Record; + Evses?: Record; + Connectors?: Record; + reservation?: Reservation[]; };