README.md: small refinement
[e-mobility-charging-stations-simulator.git] / src / types / ocpp / Configuration.ts
... / ...
CommitLineData
1import {
2 OCPP16StandardParametersKey,
3 OCPP16SupportedFeatureProfiles,
4 OCPP16VendorDefaultParametersKey,
5} from './1.6/Configuration';
6
7import { JsonType } from '../JsonType';
8
9export type StandardParametersKey = OCPP16StandardParametersKey;
10
11export const StandardParametersKey = {
12 ...OCPP16StandardParametersKey,
13};
14
15export type VendorDefaultParametersKey = OCPP16VendorDefaultParametersKey;
16
17export const VendorDefaultParametersKey = {
18 ...OCPP16VendorDefaultParametersKey,
19};
20
21export type SupportedFeatureProfiles = OCPP16SupportedFeatureProfiles;
22
23export const SupportedFeatureProfiles = {
24 ...OCPP16SupportedFeatureProfiles,
25};
26
27export enum ConnectorPhaseRotation {
28 NotApplicable = 'NotApplicable',
29 Unknown = 'Unknown',
30 RST = 'RST',
31 RTS = 'RTS',
32 SRT = 'SRT',
33 STR = 'STR',
34 TRS = 'TRS',
35 TSR = 'TSR',
36}
37
38export interface OCPPConfigurationKey extends JsonType {
39 key: string | StandardParametersKey;
40 readonly: boolean;
41 value?: string;
42}