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