Skip to content

Commit 77bedba

Browse files
committed
refactor
1 parent e6defcc commit 77bedba

File tree

1 file changed

+17
-5
lines changed

1 file changed

+17
-5
lines changed

src/main/java/de/rwth/idsg/steve/web/dto/ocpp/ConfigurationKeyEnum.java

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,11 @@
1818
* @since 02.01.2015
1919
*/
2020
public enum ConfigurationKeyEnum {
21-
// From Ocpp 1.2
21+
22+
// -------------------------------------------------------------------------
23+
// From OCPP 1.2
24+
// -------------------------------------------------------------------------
25+
2226
HeartBeatInterval("HeartBeatInterval", "in seconds", RW, newHashSet(V_12, V_15)),
2327
ConnectionTimeOut("ConnectionTimeOut", "in seconds", RW, newHashSet(V_12, V_15, V_16)),
2428
ProximityContactRetries("ProximityContactRetries", "in times", RW, newHashSet(V_12, V_15, V_16)),
@@ -29,14 +33,20 @@ public enum ConfigurationKeyEnum {
2933
ChargePointId("ChargePointId", "string", RW, newHashSet(V_12, V_15, V_16)),
3034
MeterValueSampleInterval("MeterValueSampleInterval", "in seconds", RW, newHashSet(V_12, V_15, V_16)),
3135

32-
// New in Ocpp 1.5
36+
// -------------------------------------------------------------------------
37+
// New in OCPP 1.5
38+
// -------------------------------------------------------------------------
39+
3340
ClockAlignedDataInterval("ClockAlignedDataInterval", "in seconds", RW, newHashSet(V_15, V_16)),
3441
MeterValuesSampledData("MeterValuesSampledData", "comma seperated list", RW, newHashSet(V_15, V_16)),
3542
MeterValuesAlignedData("MeterValuesAlignedData", "comma seperated list", RW, newHashSet(V_15, V_16)),
3643
StopTxnSampledData("StopTxnSampledData", "comma seperated list", RW, newHashSet(V_15, V_16)),
3744
StopTxnAlignedData("StopTxnAlignedData", "comma seperated list", RW, newHashSet(V_15, V_16)),
3845

39-
// New in Ocpp 1.6
46+
// -------------------------------------------------------------------------
47+
// New in OCPP 1.6
48+
// -------------------------------------------------------------------------
49+
4050
HeartbeatInterval("HeartbeatInterval", "in seconds", RW, newHashSet(V_16)),
4151
AllowOfflineTxForUnknownId("AllowOfflineTxForUnknownId", "boolean", RW, newHashSet(V_16)),
4252
AuthorizationCacheEnabled("AuthorizationCacheEnabled", "boolean", RW, newHashSet(V_16)),
@@ -67,8 +77,10 @@ public enum ConfigurationKeyEnum {
6777
SendLocalListMaxLength("SendLocalListMaxLength", "integer", R, newHashSet(V_16)),
6878
ReserveConnectorZeroSupported("ReserveConnectorZeroSupported", "boolean", R, newHashSet(V_16));
6979

70-
// These are new in Ocpp 1.6, but Steve does not support Smart Charging profile yet.
71-
//
80+
// -------------------------------------------------------------------------
81+
// New in OCPP 1.6, but Steve does not support Smart Charging profile yet.
82+
// -------------------------------------------------------------------------
83+
7284
// ChargeProfileMaxStackLevel("ChargeProfileMaxStackLevel", "integer", R, newHashSet(V_16)),
7385
// ChargingScheduleAllowedChargingRateUnit("ChargingScheduleAllowedChargingRateUnit", "comma seperated list", R, newHashSet(V_16)),
7486
// ChargingScheduleMaxPeriods("ChargingScheduleMaxPeriods", "integer", R, newHashSet(V_16)),

0 commit comments

Comments
 (0)