b13a24ba2be17c6c04f5c65f10eef3b5c2ed4828
[e-mobility-charging-stations-simulator.git] / src / types / ocpp / Configuration.ts
1 import { OCPP16StandardParametersKey, OCPP16SupportedFeatureProfiles, OCPP16VendorDefaultParametersKey } from './1.6/Configuration';
2
3 import { JsonType } from '../JsonType';
4
5 export type StandardParametersKey = OCPP16StandardParametersKey;
6
7 export const StandardParametersKey = {
8 ...OCPP16StandardParametersKey
9 };
10
11 export type VendorDefaultParametersKey = OCPP16VendorDefaultParametersKey;
12
13 export const VendorDefaultParametersKey = {
14 ...OCPP16VendorDefaultParametersKey
15 };
16
17 export type SupportedFeatureProfiles = OCPP16SupportedFeatureProfiles;
18
19 export const SupportedFeatureProfiles = {
20 ...OCPP16SupportedFeatureProfiles
21 };
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',
31 TSR = 'TSR'
32 }
33
34 export interface OCPPConfigurationKey extends JsonType {
35 key: string | StandardParametersKey;
36 readonly: boolean;
37 value?: string;
38 }