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