X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Ftypes%2FChargingStationTemplate.ts;h=5b91d0d2dafcfe30de829e30bb950cfa33dc6cd4;hb=16b0d4e77d20b5f7004469f2206a0af1ee8984a5;hp=5fff748bdbdad42c4718ac6d75e672e83b436a49;hpb=6b10669bf67da4baa14bc5b28161710e4025c913;p=e-mobility-charging-stations-simulator.git diff --git a/src/types/ChargingStationTemplate.ts b/src/types/ChargingStationTemplate.ts index 5fff748b..5b91d0d2 100644 --- a/src/types/ChargingStationTemplate.ts +++ b/src/types/ChargingStationTemplate.ts @@ -3,7 +3,7 @@ import Connectors from './Connectors'; import { OCPPProtocol } from './ocpp/OCPPProtocol'; import { OCPPVersion } from './ocpp/OCPPVersion'; -export enum CurrentOutType { +export enum CurrentType { AC = 'AC', DC = 'DC', } @@ -13,7 +13,7 @@ export enum PowerUnits { KILO_WATT = 'kW', } -export enum VoltageOut { +export enum Voltage { VOLTAGE_110 = 110, VOLTAGE_230 = 230, VOLTAGE_400 = 400, @@ -34,6 +34,8 @@ export interface AutomaticTransactionGenerator { export default interface ChargingStationTemplate { supervisionURL?: string; + supervisionUser?: string; + supervisionPassword?: string; ocppVersion?: OCPPVersion; ocppProtocol?: OCPPProtocol; authorizationFile?: string; @@ -47,17 +49,19 @@ export default interface ChargingStationTemplate { power: number | number[]; powerSharedByConnectors?: boolean; powerUnit: PowerUnits; - currentOutType?: CurrentOutType; - voltageOut?: number; + currentOutType?: CurrentType; + voltageOut?: Voltage; numberOfPhases?: number; numberOfConnectors?: number | number[]; useConnectorId0?: boolean; randomConnectors?: boolean; resetTime?: number; + autoRegister: boolean; autoReconnectMaxRetries?: number; reconnectExponentialDelay?: boolean; registrationMaxRetries?: number; enableStatistics?: boolean; + mayAuthorizeAtRemoteStart: boolean; beginEndMeterValues?: boolean; outOfOrderEndMeterValues?: boolean; meteringPerTransaction?: boolean;