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 JB |
7 | |
8 | export type StandardParametersKey = OCPP16StandardParametersKey; | |
9 | ||
10 | export const StandardParametersKey = { | |
e7aeea18 | 11 | ...OCPP16StandardParametersKey, |
c0560973 | 12 | }; |
f7a1d1a9 | 13 | |
12fc74d6 JB |
14 | export type VendorDefaultParametersKey = OCPP16VendorDefaultParametersKey; |
15 | ||
16 | export const VendorDefaultParametersKey = { | |
e7aeea18 | 17 | ...OCPP16VendorDefaultParametersKey, |
12fc74d6 JB |
18 | }; |
19 | ||
7e1dc878 JB |
20 | export type SupportedFeatureProfiles = OCPP16SupportedFeatureProfiles; |
21 | ||
22 | export const SupportedFeatureProfiles = { | |
e7aeea18 | 23 | ...OCPP16SupportedFeatureProfiles, |
7e1dc878 JB |
24 | }; |
25 | ||
26 | export enum ConnectorPhaseRotation { | |
27 | NotApplicable = 'NotApplicable', | |
28 | Unknown = 'Unknown', | |
29 | RST = 'RST', | |
30 | RTS = 'RTS', | |
31 | SRT = 'SRT', | |
32 | STR = 'STR', | |
33 | TRS = 'TRS', | |
e7aeea18 | 34 | TSR = 'TSR', |
7e1dc878 JB |
35 | } |
36 | ||
e3822d6f | 37 | export interface OCPPConfigurationKey extends JsonObject { |
f7a1d1a9 JB |
38 | key: string | StandardParametersKey; |
39 | readonly: boolean; | |
40 | value?: string; | |
41 | } |