Commit | Line | Data |
---|---|---|
e7aeea18 | 1 | import { |
2896e06d | 2 | type JsonObject, |
e7aeea18 JB |
3 | OCPP16StandardParametersKey, |
4 | OCPP16SupportedFeatureProfiles, | |
5 | OCPP16VendorDefaultParametersKey, | |
857d8dd9 JB |
6 | OCPP20OptionalVariableName, |
7 | OCPP20RequiredVariableName, | |
8 | OCPP20VendorVariableName, | |
2896e06d | 9 | } from '../internal'; |
c0560973 | 10 | |
c0560973 | 11 | export const StandardParametersKey = { |
e7aeea18 | 12 | ...OCPP16StandardParametersKey, |
857d8dd9 JB |
13 | ...OCPP20RequiredVariableName, |
14 | ...OCPP20OptionalVariableName, | |
edd13439 JB |
15 | } as const; |
16 | export type StandardParametersKey = OCPP16StandardParametersKey; | |
12fc74d6 JB |
17 | |
18 | export const VendorDefaultParametersKey = { | |
e7aeea18 | 19 | ...OCPP16VendorDefaultParametersKey, |
857d8dd9 | 20 | ...OCPP20VendorVariableName, |
edd13439 JB |
21 | } as const; |
22 | export type VendorDefaultParametersKey = OCPP16VendorDefaultParametersKey; | |
7e1dc878 JB |
23 | |
24 | export const SupportedFeatureProfiles = { | |
e7aeea18 | 25 | ...OCPP16SupportedFeatureProfiles, |
edd13439 JB |
26 | } as const; |
27 | export type SupportedFeatureProfiles = OCPP16SupportedFeatureProfiles; | |
7e1dc878 JB |
28 | |
29 | export enum ConnectorPhaseRotation { | |
30 | NotApplicable = 'NotApplicable', | |
31 | Unknown = 'Unknown', | |
32 | RST = 'RST', | |
33 | RTS = 'RTS', | |
34 | SRT = 'SRT', | |
35 | STR = 'STR', | |
36 | TRS = 'TRS', | |
e7aeea18 | 37 | TSR = 'TSR', |
7e1dc878 JB |
38 | } |
39 | ||
6415403c | 40 | export type OCPPConfigurationKey = { |
f7a1d1a9 JB |
41 | key: string | StandardParametersKey; |
42 | readonly: boolean; | |
43 | value?: string; | |
6415403c | 44 | } & JsonObject; |