X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Ftypes%2FChargingStationTemplate.ts;h=eabe60d09ff3930b4303e0edda4e2854608a5daf;hb=cb9a9a02105dfb078b2786108abc7af5d031955e;hp=8d0b044e6b265ec18abe2c5e8d27d048134ed059;hpb=1f5df42ad17d09d3a1f53f6618eba325a403d7ad;p=e-mobility-charging-stations-simulator.git diff --git a/src/types/ChargingStationTemplate.ts b/src/types/ChargingStationTemplate.ts index 8d0b044e..eabe60d0 100644 --- a/src/types/ChargingStationTemplate.ts +++ b/src/types/ChargingStationTemplate.ts @@ -1,7 +1,7 @@ import ChargingStationConfiguration from './ChargingStationConfiguration'; import { ClientOptions } from 'ws'; import { ClientRequestArgs } from 'http'; -import { ConnectorStatus } from './Connectors'; +import { ConnectorStatus } from './ConnectorStatus'; import { OCPPProtocol } from './ocpp/OCPPProtocol'; import { OCPPVersion } from './ocpp/OCPPVersion'; @@ -19,7 +19,7 @@ export enum Voltage { VOLTAGE_110 = 110, VOLTAGE_230 = 230, VOLTAGE_400 = 400, - VOLTAGE_800 = 800 + VOLTAGE_800 = 800, } export interface AutomaticTransactionGenerator { @@ -31,17 +31,18 @@ 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;