X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Ftypes%2FChargingStationTemplate.ts;h=eabe60d09ff3930b4303e0edda4e2854608a5daf;hb=cb9a9a02105dfb078b2786108abc7af5d031955e;hp=c855f5f89738b0c42d6acf465cacaad1a875a341;hpb=734d790d9983a43c20f9ffa728f18825625e8119;p=e-mobility-charging-stations-simulator.git diff --git a/src/types/ChargingStationTemplate.ts b/src/types/ChargingStationTemplate.ts index c855f5f8..eabe60d0 100644 --- a/src/types/ChargingStationTemplate.ts +++ b/src/types/ChargingStationTemplate.ts @@ -1,5 +1,7 @@ import ChargingStationConfiguration from './ChargingStationConfiguration'; -import { ConnectorStatus } from './Connectors'; +import { ClientOptions } from 'ws'; +import { ClientRequestArgs } from 'http'; +import { ConnectorStatus } from './ConnectorStatus'; import { OCPPProtocol } from './ocpp/OCPPProtocol'; import { OCPPVersion } from './ocpp/OCPPVersion'; @@ -17,7 +19,7 @@ export enum Voltage { VOLTAGE_110 = 110, VOLTAGE_230 = 230, VOLTAGE_400 = 400, - VOLTAGE_800 = 800 + VOLTAGE_800 = 800, } export interface AutomaticTransactionGenerator { @@ -29,15 +31,19 @@ export interface AutomaticTransactionGenerator { probabilityOfStart: number; stopAfterHours: number; stopOnConnectionFailure: boolean; - requireAuthorize?: boolean + requireAuthorize?: boolean; } export default interface ChargingStationTemplate { - supervisionURL?: string; + supervisionUrls?: string | string[]; + supervisionUrlOcppConfiguration?: boolean; + supervisionUrlOcppKey?: string; supervisionUser?: string; supervisionPassword?: string; ocppVersion?: OCPPVersion; ocppProtocol?: OCPPProtocol; + ocppStrictCompliance?: boolean; + wsOptions?: ClientOptions & ClientRequestArgs; authorizationFile?: string; baseName: string; nameSuffix?: string;