byDay = ImmutableSortedSet.naturalOrder();
+
+ public Builder() {
+ }
+
+ public Builder setFrequency(RecurrenceFrequency frequency) {
+ this.frequency = frequency;
+ return this;
+ }
+
+ /**
+ * Adds a `byDay`rule.
+ *
+ * @param byDay the {@link DayOfWeek}s
+ * @return myself
+ */
+ public Builder addByDay(DayOfWeek... byDay) {
+ stream(byDay).forEach(this.byDay::add);
+ return this;
+ }
+
+ public RecurrenceRule build() {
+ return new RecurrenceRule(this.frequency, this.byDay.build());
+ }
+ }
+
+ /**
+ * Create a {@link RecurrenceRule} {@link Builder}.
+ *
+ * @return a {@link Builder}
+ */
+ public static Builder create() {
+ return new Builder();
+ }
+
+ /**
+ * Gets the next occurence of the {@link RecurrenceRule} at or after a date.
+ *
+ * @param from the from date
+ * @param start the start timestamp of the {@link Task}
+ * @return a {@link ZonedDateTime}
+ */
+ public ZonedDateTime getNextOccurence(ZonedDateTime from, ZonedDateTime start) {
+ final var startTime = start.toLocalTime();
+
+ return switch (this.frequency) {
+ case DAILY -> {
+ var resultDay = from.truncatedTo(ChronoUnit.DAYS);
+ if (from.toLocalTime().isAfter(startTime)) {
+ resultDay = from.plusDays(1);
+ }
+ yield resultDay.with(NANO_OF_DAY, startTime.toNanoOfDay());
+ }
+ case WEEKLY -> {
+ if (!this.byDay.isEmpty()) {
+ var nextByDay = this.byDay.ceiling(from.toLocalTime().isAfter(startTime) //
+ ? from.getDayOfWeek().plus(1) // next day
+ : from.getDayOfWeek()); // same day
+ if (nextByDay == null) {
+ nextByDay = this.byDay.first();
+ }
+ yield from //
+ .with(nextOrSame(nextByDay)) //
+ .with(NANO_OF_DAY, startTime.toNanoOfDay());
+ }
+ // TODO: If frequency is weekly and there is no byDay property, add a byDay
+ // property with the sole value being the day of the week of the initial
+ // date-time.
+ yield null; // not implemented
+ }
+ case MONTHLY -> null; // not implemented
+ case YEARLY -> null; // not implemented
+ };
+ }
+
+ /**
+ * Convert to {@link JsonObject}.
+ *
+ * @return a {@link JsonObject}
+ */
+ public JsonObject toJson() {
+ var j = JsonUtils.buildJsonObject();
+ if (this.frequency != null) {
+ j.addProperty("frequency", this.frequency.name);
+ }
+ if (!this.byDay.isEmpty()) {
+ j.add("byDay", this.byDay.stream() //
+ .map(d -> switch (d) {
+ case MONDAY -> "mo";
+ case TUESDAY -> "tu";
+ case WEDNESDAY -> "we";
+ case THURSDAY -> "th";
+ case FRIDAY -> "fr";
+ case SATURDAY -> "sa";
+ case SUNDAY -> "su";
+ }) //
+ .map(JsonUtils::toJson) //
+ .collect(toJsonArray()));
+ }
+ return j.build();
+ }
+ }
+
+}
diff --git a/io.openems.common/src/io/openems/common/jscalendar/package-info.java b/io.openems.common/src/io/openems/common/jscalendar/package-info.java
new file mode 100644
index 00000000000..0d681ebdb59
--- /dev/null
+++ b/io.openems.common/src/io/openems/common/jscalendar/package-info.java
@@ -0,0 +1,11 @@
+/**
+ * Implementation of RFC 8984 "JSCalendar: A JSON Representation of Calendar
+ * Data".
+ *
+ *
+ * See https://www.rfc-editor.org/rfc/rfc8984.html
+ */
+@org.osgi.annotation.versioning.Version("1.0.0")
+@org.osgi.annotation.bundle.Export
+package io.openems.common.jscalendar;
diff --git a/io.openems.common/src/io/openems/common/jsonrpc/response/QueryHistoricTimeseriesExportXlsxResponse.java b/io.openems.common/src/io/openems/common/jsonrpc/response/QueryHistoricTimeseriesExportXlsxResponse.java
index acf64aba840..5e9fba1f529 100644
--- a/io.openems.common/src/io/openems/common/jsonrpc/response/QueryHistoricTimeseriesExportXlsxResponse.java
+++ b/io.openems.common/src/io/openems/common/jsonrpc/response/QueryHistoricTimeseriesExportXlsxResponse.java
@@ -36,8 +36,6 @@
/**
* Represents a JSON-RPC Response for 'queryHistoricTimeseriesExportXlxs'.
*
- *
- *
*
* {
* "jsonrpc": "2.0",
diff --git a/io.openems.common/src/io/openems/common/oem/DummyOpenemsEdgeOem.java b/io.openems.common/src/io/openems/common/oem/DummyOpenemsEdgeOem.java
index 790f1fbf9c9..93c6e17ef6e 100644
--- a/io.openems.common/src/io/openems/common/oem/DummyOpenemsEdgeOem.java
+++ b/io.openems.common/src/io/openems/common/oem/DummyOpenemsEdgeOem.java
@@ -78,16 +78,19 @@ public SystemUpdateParams getSystemUpdateParams() {
.put("App.TimeOfUseTariff.Tibber", "") //
.put("App.Api.ModbusTcp.ReadOnly", "") //
.put("App.Api.ModbusTcp.ReadWrite", "") //
+ .put("App.Api.ModbusRtu.ReadOnly", "") //
+ .put("App.Api.ModbusRtu.ReadWrite", "") //
.put("App.Api.RestJson.ReadOnly", "") //
.put("App.Api.RestJson.ReadWrite", "") //
.put("App.Timedata.InfluxDb", "")//
+ .put("App.Evcs.Alpitronic", "") //
+ .put("App.Evcs.Cluster", "") //
.put("App.Evcs.HardyBarth", "") //
- .put("App.Evcs.Keba", "") //
.put("App.Evcs.IesKeywatt", "") //
- .put("App.Evcs.Alpitronic", "") //
+ .put("App.Evcs.Keba", "") //
+ .put("App.Evcs.Mennekes.ReadOnly", "") //
.put("App.Evcs.Webasto.Next", "") //
.put("App.Evcs.Webasto.Unite", "") //
- .put("App.Evcs.Cluster", "") //
.put("App.Hardware.KMtronic8Channel", "") //
.put("App.Heat.HeatPump", "") //
.put("App.Heat.CHP", "") //
diff --git a/io.openems.common/src/io/openems/common/oem/OpenemsEdgeOem.java b/io.openems.common/src/io/openems/common/oem/OpenemsEdgeOem.java
index ef291a2c75c..a4a0c63c948 100644
--- a/io.openems.common/src/io/openems/common/oem/OpenemsEdgeOem.java
+++ b/io.openems.common/src/io/openems/common/oem/OpenemsEdgeOem.java
@@ -141,7 +141,7 @@ public record OAuthClientRegistration(String clientId, String clientSecret) {
public default OAuthClientRegistration getRabotChargeCredentials() {
return null;
}
-
+
/**
* Gets the OEM authorization for Battery.BMW.
*
diff --git a/io.openems.common/src/io/openems/common/test/TestUtils.java b/io.openems.common/src/io/openems/common/test/TestUtils.java
new file mode 100644
index 00000000000..36ccf762ed7
--- /dev/null
+++ b/io.openems.common/src/io/openems/common/test/TestUtils.java
@@ -0,0 +1,35 @@
+package io.openems.common.test;
+
+import java.io.IOException;
+import java.net.ServerSocket;
+import java.time.Instant;
+
+public class TestUtils {
+
+ private TestUtils() {
+ }
+
+ /**
+ * Creates a {@link TimeLeapClock} for 1st January 2000 00:00.
+ *
+ * @return the {@link TimeLeapClock}
+ */
+ public static TimeLeapClock createDummyClock() {
+ return new TimeLeapClock(Instant.ofEpochSecond(1577836800) /* starts at 1. January 2020 00:00:00 */);
+ }
+
+ /**
+ * Finds and returns an open port.
+ *
+ *
+ * Source https://stackoverflow.com/a/26644672
+ *
+ * @return an open port
+ * @throws IOException on error
+ */
+ public static int findRandomOpenPortOnAllLocalInterfaces() throws IOException {
+ try (var socket = new ServerSocket(0);) {
+ return socket.getLocalPort();
+ }
+ }
+}
diff --git a/io.openems.common/src/io/openems/common/timedata/XlsxExportDetailData.java b/io.openems.common/src/io/openems/common/timedata/XlsxExportDetailData.java
index 199bc345846..94e40fafe63 100644
--- a/io.openems.common/src/io/openems/common/timedata/XlsxExportDetailData.java
+++ b/io.openems.common/src/io/openems/common/timedata/XlsxExportDetailData.java
@@ -11,8 +11,7 @@
public record XlsxExportDetailData(//
EnumMap> data, //
- CurrencyConfig currency
-) {
+ CurrencyConfig currency) {
public Map> getChannelsBySaveType() {
return this.data().values().stream().flatMap(List::stream).collect(Collectors.groupingBy(
diff --git a/io.openems.common/src/io/openems/common/timedata/XlsxWorksheetWrapper.java b/io.openems.common/src/io/openems/common/timedata/XlsxWorksheetWrapper.java
index faec99a684a..a39b7742d6c 100644
--- a/io.openems.common/src/io/openems/common/timedata/XlsxWorksheetWrapper.java
+++ b/io.openems.common/src/io/openems/common/timedata/XlsxWorksheetWrapper.java
@@ -38,7 +38,7 @@ public void setForRange(int r1, int c1, int r2, int c2, Consumer
+ * The value gets added in the format of
+ * {@link DateTimeFormatter#ISO_LOCAL_DATE_TIME}.
+ *
+ * @param property the key
+ * @param value the value
+ * @return the {@link JsonObjectBuilder}
+ */
+ public JsonObjectBuilder addProperty(String property, LocalDateTime value) {
+ if (value != null) {
+ this.j.addProperty(property, value.format(DateTimeFormatter.ISO_LOCAL_DATE_TIME));
+ }
+ return this;
+ }
+
/**
* Add a {@link Boolean} value to the {@link JsonObject}.
*
@@ -422,7 +444,7 @@ public static class JsonArrayCollector implements Collector characteristics() {
- return Sets.newHashSet().stream().collect(Sets.toImmutableEnumSet());
+ return Set.of();
}
@Override
@@ -438,7 +460,7 @@ public BiConsumer accumulator() {
@Override
public BinaryOperator combiner() {
return (t, u) -> {
- u.build().forEach(j -> t.add(j));
+ u.build().forEach(t::add);
return t;
};
}
@@ -581,7 +603,6 @@ public static JsonPrimitive getAsPrimitive(JsonElement jElement, String memberNa
* @param jElement the {@link JsonElement}
* @param memberName the name of the member
* @return the {@link Optional} {@link JsonPrimitive} value
- * @throws OpenemsNamedException on error
*/
public static Optional getAsOptionalPrimitive(JsonElement jElement, String memberName) {
return Optional.ofNullable(toPrimitive(toSubElement(jElement, memberName)));
@@ -611,7 +632,6 @@ public static JsonElement getSubElement(JsonElement jElement, String memberName)
* @param jElement the {@link JsonElement}
* @param memberName the name of the member
* @return the {@link Optional} {@link JsonElement} value
- * @throws OpenemsNamedException on error
*/
public static Optional getOptionalSubElement(JsonElement jElement, String memberName) {
return Optional.ofNullable(toSubElement(jElement, memberName));
@@ -654,7 +674,6 @@ public static JsonObject getAsJsonObject(JsonElement jElement, String memberName
*
* @param jElement the {@link JsonElement}
* @return the {@link Optional} {@link JsonObject} value
- * @throws OpenemsNamedException on error
*/
public static Optional getAsOptionalJsonObject(JsonElement jElement) {
return Optional.ofNullable(toJsonObject(jElement));
@@ -667,7 +686,6 @@ public static Optional getAsOptionalJsonObject(JsonElement jElement)
* @param jElement the {@link JsonElement}
* @param memberName the name of the member
* @return the {@link Optional} {@link JsonObject} value
- * @throws OpenemsNamedException on error
*/
public static Optional getAsOptionalJsonObject(JsonElement jElement, String memberName) {
return Optional.ofNullable(toJsonObject(toSubElement(jElement, memberName)));
@@ -710,7 +728,6 @@ public static JsonArray getAsJsonArray(JsonElement jElement, String memberName)
*
* @param jElement the {@link JsonElement}
* @return the {@link Optional} {@link JsonArray} value
- * @throws OpenemsNamedException on error
*/
public static Optional getAsOptionalJsonArray(JsonElement jElement) {
return Optional.ofNullable(toJsonArray(jElement));
@@ -723,7 +740,6 @@ public static Optional getAsOptionalJsonArray(JsonElement jElement) {
* @param jElement the {@link JsonElement}
* @param memberName the name of the member
* @return the {@link Optional} {@link JsonArray} value
- * @throws OpenemsNamedException on error
*/
public static Optional getAsOptionalJsonArray(JsonElement jElement, String memberName) {
return Optional.ofNullable(toJsonArray(toSubElement(jElement, memberName)));
@@ -766,7 +782,6 @@ public static String getAsString(JsonElement jElement, String memberName) throws
*
* @param jElement the {@link JsonElement}
* @return the {@link Optional} {@link String} value
- * @throws OpenemsNamedException on error
*/
public static Optional getAsOptionalString(JsonElement jElement) {
return Optional.ofNullable(toString(toPrimitive(jElement)));
@@ -779,7 +794,6 @@ public static Optional getAsOptionalString(JsonElement jElement) {
* @param jElement the {@link JsonElement}
* @param memberName the name of the member
* @return the {@link Optional} {@link String} value
- * @throws OpenemsNamedException on error
*/
public static Optional getAsOptionalString(JsonElement jElement, String memberName) {
return Optional.ofNullable(toString(toPrimitive(toSubElement(jElement, memberName))));
@@ -828,7 +842,7 @@ public static String[] getAsStringArray(JsonArray json) throws OpenemsNamedExcep
public static boolean getAsBoolean(JsonElement jElement) throws OpenemsNamedException {
var value = toBoolean(toPrimitive(jElement));
if (value != null) {
- return value.booleanValue();
+ return value;
}
throw OpenemsError.JSON_NO_BOOLEAN.exception(jElement.toString().replace("%", "%%"));
}
@@ -844,7 +858,7 @@ public static boolean getAsBoolean(JsonElement jElement) throws OpenemsNamedExce
public static boolean getAsBoolean(JsonElement jElement, String memberName) throws OpenemsNamedException {
var value = toBoolean(toPrimitive(toSubElement(jElement, memberName)));
if (value != null) {
- return value.booleanValue();
+ return value;
}
throw OpenemsError.JSON_NO_BOOLEAN_MEMBER.exception(memberName, jElement.toString().replace("%", "%%"));
}
@@ -854,7 +868,6 @@ public static boolean getAsBoolean(JsonElement jElement, String memberName) thro
*
* @param jElement the {@link JsonElement}
* @return the {@link Optional} {@link Boolean} value
- * @throws OpenemsNamedException on error
*/
public static Optional getAsOptionalBoolean(JsonElement jElement) {
return Optional.ofNullable(toBoolean(toPrimitive(jElement)));
@@ -867,7 +880,6 @@ public static Optional getAsOptionalBoolean(JsonElement jElement) {
* @param jElement the {@link JsonElement}
* @param memberName the name of the member
* @return the {@link Optional} {@link Boolean} value
- * @throws OpenemsNamedException on error
*/
public static Optional getAsOptionalBoolean(JsonElement jElement, String memberName) {
return Optional.ofNullable(toBoolean(toPrimitive(toSubElement(jElement, memberName))));
@@ -883,7 +895,7 @@ public static Optional getAsOptionalBoolean(JsonElement jElement, Strin
public static short getAsShort(JsonElement jElement) throws OpenemsNamedException {
var value = toShort(toPrimitive(jElement));
if (value != null) {
- return value.shortValue();
+ return value;
}
throw OpenemsError.JSON_NO_SHORT.exception(jElement.toString().replace("%", "%%"));
}
@@ -909,7 +921,6 @@ public static short getAsShort(JsonElement jElement, String memberName) throws O
*
* @param jElement the {@link JsonElement}
* @return the {@link Optional} {@link Short} value
- * @throws OpenemsNamedException on error
*/
public static Optional getAsOptionalShort(JsonElement jElement) {
return Optional.ofNullable(toShort(toPrimitive(jElement)));
@@ -922,7 +933,6 @@ public static Optional getAsOptionalShort(JsonElement jElement) {
* @param jElement the {@link JsonElement}
* @param memberName the name of the member
* @return the {@link Optional} {@link Boolean} value
- * @throws OpenemsNamedException on error
*/
public static Optional getAsOptionalShort(JsonElement jElement, String memberName) {
return Optional.ofNullable(toShort(toPrimitive(toSubElement(jElement, memberName))));
@@ -938,7 +948,7 @@ public static Optional getAsOptionalShort(JsonElement jElement, String me
public static int getAsInt(JsonElement jElement) throws OpenemsNamedException {
var value = toInt(toPrimitive(jElement));
if (value != null) {
- return value.intValue();
+ return value;
}
throw OpenemsError.JSON_NO_INTEGER.exception(jElement.toString().replace("%", "%%"));
}
@@ -979,7 +989,6 @@ public static int getAsInt(JsonArray jArray, int index) throws OpenemsNamedExcep
*
* @param jElement the {@link JsonElement}
* @return the {@link Optional} {@link Integer} value
- * @throws OpenemsNamedException on error
*/
public static Optional getAsOptionalInt(JsonElement jElement) {
return Optional.ofNullable(toInt(toPrimitive(jElement)));
@@ -992,7 +1001,6 @@ public static Optional getAsOptionalInt(JsonElement jElement) {
* @param jElement the {@link JsonElement}
* @param memberName the name of the member
* @return the {@link Optional} {@link Integer} value
- * @throws OpenemsNamedException on error
*/
public static Optional getAsOptionalInt(JsonElement jElement, String memberName) {
return Optional.ofNullable(toInt(toPrimitive(toSubElement(jElement, memberName))));
@@ -1008,7 +1016,7 @@ public static Optional getAsOptionalInt(JsonElement jElement, String me
public static long getAsLong(JsonElement jElement) throws OpenemsNamedException {
var value = toLong(toPrimitive(jElement));
if (value != null) {
- return value.longValue();
+ return value;
}
throw OpenemsError.JSON_NO_LONG.exception(jElement.toString().replace("%", "%%"));
}
@@ -1034,7 +1042,6 @@ public static long getAsLong(JsonElement jElement, String memberName) throws Ope
*
* @param jElement the {@link JsonElement}
* @return the {@link Optional} {@link Long} value
- * @throws OpenemsNamedException on error
*/
public static Optional getAsOptionalLong(JsonElement jElement) {
return Optional.ofNullable(toLong(toPrimitive(jElement)));
@@ -1046,7 +1053,6 @@ public static Optional getAsOptionalLong(JsonElement jElement) {
* @param jElement the {@link JsonElement}
* @param memberName the name of the member
* @return the {@link Optional} {@link Long} value
- * @throws OpenemsNamedException on error
*/
public static Optional getAsOptionalLong(JsonElement jElement, String memberName) {
return Optional.ofNullable(toLong(toPrimitive(toSubElement(jElement, memberName))));
@@ -1062,7 +1068,7 @@ public static Optional getAsOptionalLong(JsonElement jElement, String memb
public static float getAsFloat(JsonElement jElement) throws OpenemsNamedException {
var value = toFloat(toPrimitive(jElement));
if (value != null) {
- return value.floatValue();
+ return value;
}
throw OpenemsError.JSON_NO_FLOAT.exception(jElement.toString().replace("%", "%%"));
}
@@ -1088,7 +1094,6 @@ public static float getAsFloat(JsonElement jElement, String memberName) throws O
*
* @param jElement the {@link JsonElement}
* @return the {@link Optional} {@link Float} value
- * @throws OpenemsNamedException on error
*/
public static Optional getAsOptionalFloat(JsonElement jElement) {
return Optional.ofNullable(toFloat(toPrimitive(jElement)));
@@ -1100,7 +1105,6 @@ public static Optional getAsOptionalFloat(JsonElement jElement) {
* @param jElement the {@link JsonElement}
* @param memberName the name of the member
* @return the {@link Optional} {@link Float} value
- * @throws OpenemsNamedException on error
*/
public static Optional getAsOptionalFloat(JsonElement jElement, String memberName) {
return Optional.ofNullable(toFloat(toPrimitive(toSubElement(jElement, memberName))));
@@ -1116,7 +1120,7 @@ public static Optional getAsOptionalFloat(JsonElement jElement, String me
public static double getAsDouble(JsonElement jElement) throws OpenemsNamedException {
var value = toDouble(toPrimitive(jElement));
if (value != null) {
- return value.doubleValue();
+ return value;
}
throw OpenemsError.JSON_NO_DOUBLE.exception(jElement.toString().replace("%", "%%"));
}
@@ -1142,7 +1146,6 @@ public static double getAsDouble(JsonElement jElement, String memberName) throws
*
* @param jElement the {@link JsonElement}
* @return the {@link Optional} {@link Double} value
- * @throws OpenemsNamedException on error
*/
public static Optional getAsOptionalDouble(JsonElement jElement) {
return Optional.ofNullable(toDouble(toPrimitive(jElement)));
@@ -1155,7 +1158,6 @@ public static Optional getAsOptionalDouble(JsonElement jElement) {
* @param jElement the {@link JsonElement}
* @param memberName the name of the member
* @return the {@link Optional} {@link Double} value
- * @throws OpenemsNamedException on error
*/
public static Optional getAsOptionalDouble(JsonElement jElement, String memberName) {
return Optional.ofNullable(toDouble(toPrimitive(toSubElement(jElement, memberName))));
@@ -1205,7 +1207,6 @@ public static > E getAsEnum(Class enumType, JsonElement jEl
* @param enumType the class of the {@link Enum}
* @param jElement the {@link JsonElement}
* @return the {@link Optional} {@link Enum} value
- * @throws OpenemsNamedException on error
*/
public static > Optional getAsOptionalEnum(Class enumType, JsonElement jElement) {
return Optional.ofNullable(toEnum(enumType, toString(toPrimitive(jElement))));
@@ -1219,7 +1220,6 @@ public static > Optional getAsOptionalEnum(Class enumTyp
* @param jElement the {@link JsonElement}
* @param memberName the name of the member
* @return the {@link Optional} {@link Enum} value
- * @throws OpenemsNamedException on error
*/
public static > Optional getAsOptionalEnum(Class enumType, JsonElement jElement,
String memberName) {
@@ -1262,7 +1262,6 @@ public static Inet4Address getAsInet4Address(JsonElement jElement, String member
*
* @param jElement the {@link JsonElement}
* @return the {@link Optional} {@link Inet4Address} value
- * @throws OpenemsNamedException on error
*/
public static Optional getAsOptionalInet4Address(JsonElement jElement) {
return Optional.ofNullable(InetAddressUtils.parseOrNull(toString(toPrimitive(jElement))));
@@ -1275,7 +1274,6 @@ public static Optional getAsOptionalInet4Address(JsonElement jElem
* @param jElement the {@link JsonElement}
* @param memberName the name of the member
* @return the {@link Optional} {@link Inet4Address} value
- * @throws OpenemsNamedException on error
*/
public static Optional getAsOptionalInet4Address(JsonElement jElement, String memberName) {
return Optional.ofNullable(//
@@ -1322,7 +1320,6 @@ public static UUID getAsUUID(JsonElement jElement, String memberName) throws Ope
*
* @param jElement the {@link JsonElement}
* @return the {@link Optional} {@link UUID} value
- * @throws OpenemsNamedException on error
*/
// CHECKSTYLE:OFF
public static Optional getAsOptionalUUID(JsonElement jElement) {
@@ -1336,7 +1333,6 @@ public static Optional getAsOptionalUUID(JsonElement jElement) {
* @param jElement the {@link JsonElement}
* @param memberName the name of the member
* @return the {@link Optional} {@link UUID} value
- * @throws OpenemsNamedException on error
*/
// CHECKSTYLE:OFF
public static Optional getAsOptionalUUID(JsonElement jElement, String memberName) {
@@ -1356,7 +1352,7 @@ public static Object getAsBestType(JsonElement j) throws OpenemsNamedException {
try {
if (j.isJsonArray()) {
var jA = (JsonArray) j;
- if (jA.size() == 0) {
+ if (jA.isEmpty()) {
return new Object[0];
}
// identify the array type (boolean, int or String)
@@ -1430,132 +1426,88 @@ public static Object getAsBestType(JsonElement j) throws OpenemsNamedException {
* @return the {@link JsonElement}
*/
public static JsonElement getAsJsonElement(Object value) {
- // null
- if (value == null) {
- return JsonNull.INSTANCE;
- }
// optional
- if (value instanceof Optional>) {
- if (!((Optional>) value).isPresent()) {
+ if (value instanceof Optional> opt) {
+ if (opt.isEmpty()) {
return JsonNull.INSTANCE;
}
- value = ((Optional>) value).get();
- }
- if (value instanceof Number) {
- /*
- * Number
- */
- return new JsonPrimitive((Number) value);
- }
- if (value instanceof String) {
- /*
- * String
- */
- return new JsonPrimitive((String) value);
- }
- if (value instanceof Boolean) {
- /*
- * Boolean
- */
- return new JsonPrimitive((Boolean) value);
- }
- if (value instanceof Inet4Address) {
- /*
- * Inet4Address
- */
- return new JsonPrimitive(((Inet4Address) value).getHostAddress());
- }
- if (value instanceof JsonElement) {
- /*
- * JsonElement
- */
- return (JsonElement) value;
- } else if (value instanceof boolean[]) {
- /*
- * boolean-Array
- */
+ value = opt.get();
+ }
+
+ return switch (value) {
+ case null -> JsonNull.INSTANCE;
+ case Number n -> new JsonPrimitive(n);
+ case String s -> new JsonPrimitive(s);
+ case Boolean b -> new JsonPrimitive(b);
+ case Inet4Address inet -> new JsonPrimitive(inet.getHostAddress());
+ case JsonElement json -> json;
+ case boolean[] bool -> {
var js = new JsonArray();
- for (boolean b : (boolean[]) value) {
+ for (boolean b : bool) {
js.add(new JsonPrimitive(b));
}
- return js;
- } else if (value instanceof short[]) {
- /*
- * short-Array
- */
+ yield js;
+ }
+ case short[] shorts -> {
var js = new JsonArray();
- for (short s : (short[]) value) {
+ for (short s : shorts) {
js.add(new JsonPrimitive(s));
}
- return js;
- } else if (value instanceof int[]) {
- /*
- * int-Array
- */
+ yield js;
+ }
+ case int[] ints -> {
var js = new JsonArray();
- for (int i : (int[]) value) {
+ for (int i : ints) {
js.add(new JsonPrimitive(i));
}
- return js;
- } else if (value instanceof long[]) {
- /*
- * long-Array
- */
+ yield js;
+ }
+ case long[] longs -> {
var js = new JsonArray();
- for (long l : (long[]) value) {
+ for (long l : longs) {
js.add(new JsonPrimitive(l));
}
- return js;
- } else if (value instanceof float[]) {
- /*
- * float-Array
- */
+ yield js;
+ }
+ case float[] floats -> {
var js = new JsonArray();
- for (float f : (float[]) value) {
+ for (float f : floats) {
js.add(new JsonPrimitive(f));
}
- return js;
- } else if (value instanceof double[]) {
- /*
- * double-Array
- */
+ yield js;
+ }
+ case double[] doubles -> {
var js = new JsonArray();
- for (double d : (double[]) value) {
- js.add(new JsonPrimitive(d));
+ for (double f : doubles) {
+ js.add(new JsonPrimitive(f));
}
- return js;
- } else if (value instanceof String[]) {
- /*
- * String-Array
- */
+ yield js;
+ }
+ case String[] strings -> {
var js = new JsonArray();
- var v = (String[]) value;
- if (v.length == 1 && v[0].isEmpty()) {
+ if (strings.length == 1 && strings[0].isEmpty()) {
// special case: String-Array with one entry which is an empty String. Return an
// empty JsonArray.
- return js;
+ yield js;
}
- for (String s : v) {
+ for (String s : strings) {
js.add(new JsonPrimitive(s));
}
- return js;
- } else if (value instanceof Object[]) {
- /*
- * Object-Array
- */
+ yield js;
+ }
+ case Object[] objects -> {
var js = new JsonArray();
- for (Object o : (Object[]) value) {
+ for (Object o : objects) {
js.add(JsonUtils.getAsJsonElement(o));
}
- return js;
- } else {
- /*
- * Use toString()-method
- */
- JsonUtils.LOG.warn("Converter for [" + value + "]" + " of type [" + value.getClass().getSimpleName()
- + "] to JSON is not implemented.");
- return new JsonPrimitive(value.toString());
+ yield js;
+ }
+ default -> {
+ JsonUtils.LOG.warn("Converter for [{}] of type [{}] to JSON is not implemented.", //
+ value, value.getClass().getSimpleName());
+ yield new JsonPrimitive(value.toString());
}
+ };
}
/**
@@ -1608,11 +1560,11 @@ public static Object getAsType(Class> type, JsonElement j) throws NotImplement
*/
return j.getAsJsonArray();
} else if (type.isArray()) {
- /**
+ /*
* Asking for Array
*/
if (Long.class.isAssignableFrom(type.getComponentType())) {
- /**
+ /*
* Asking for ArrayOfLong
*/
if (j.isJsonArray()) {
@@ -1648,22 +1600,15 @@ public static T getAsType(OpenemsType type, JsonElement j) throws OpenemsNam
}
if (j.isJsonPrimitive()) {
- switch (type) {
- case BOOLEAN:
- return (T) Boolean.valueOf(JsonUtils.getAsBoolean(j));
- case DOUBLE:
- return (T) Double.valueOf(JsonUtils.getAsDouble(j));
- case FLOAT:
- return (T) Float.valueOf(JsonUtils.getAsFloat(j));
- case INTEGER:
- return (T) Integer.valueOf(JsonUtils.getAsInt(j));
- case LONG:
- return (T) Long.valueOf(JsonUtils.getAsLong(j));
- case SHORT:
- return (T) Short.valueOf(JsonUtils.getAsShort(j));
- case STRING:
- return (T) JsonUtils.getAsString(j);
- }
+ return switch (type) {
+ case BOOLEAN -> (T) Boolean.valueOf(JsonUtils.getAsBoolean(j));
+ case DOUBLE -> (T) Double.valueOf(JsonUtils.getAsDouble(j));
+ case FLOAT -> (T) Float.valueOf(JsonUtils.getAsFloat(j));
+ case INTEGER -> (T) Integer.valueOf(JsonUtils.getAsInt(j));
+ case LONG -> (T) Long.valueOf(JsonUtils.getAsLong(j));
+ case SHORT -> (T) Short.valueOf(JsonUtils.getAsShort(j));
+ case STRING -> (T) JsonUtils.getAsString(j);
+ };
}
if (j.isJsonObject() || j.isJsonArray()) {
@@ -1692,7 +1637,7 @@ public static T getAsType(OpenemsType type, JsonElement j) throws OpenemsNam
* @return an Object of the given type
*/
public static Object getAsType(Optional> typeOptional, JsonElement j) throws NotImplementedException {
- if (!typeOptional.isPresent()) {
+ if (typeOptional.isEmpty()) {
throw new NotImplementedException(
"Type of Channel was not set: " + (j == null ? "UNDEFINED" : j.getAsString()));
}
@@ -1723,6 +1668,45 @@ public static ZonedDateTime getAsZonedDateWithZeroTime(JsonElement element, Stri
}
}
+ /**
+ * Takes a JSON in the form '2020-01-01T00:00:00' and converts it to a
+ * {@link LocalDateTime}.
+ *
+ * @param jElement the {@link JsonElement}
+ * @param memberName the name of the member of the JsonObject
+ * @return the {@link ZonedDateTime}
+ */
+ public static LocalDateTime getAsLocalDateTime(JsonElement jElement, String memberName)
+ throws OpenemsNamedException {
+ return DateUtils.parseLocalDateTimeOrError(toString(toPrimitive(toSubElement(jElement, memberName))));
+ }
+
+ /**
+ * Takes a JSON in the form '2020-01-01T00:00:00' and converts it to a
+ * {@link LocalDateTime}.
+ *
+ * @param jElement the {@link JsonElement}
+ * @param memberName the name of the member of the JsonObject
+ * @return the {@link ZonedDateTime}
+ */
+ public static Optional getAsOptionalLocalDateTime(JsonElement jElement, String memberName) {
+ return JsonUtils.getAsOptionalString(jElement, memberName)//
+ .map(DateUtils::parseLocalDateTimeOrNull);
+ }
+
+ /**
+ * Takes a JSON in the form '2020-01-01T00:00:00Z' and converts it to a
+ * {@link ZonedDateTime}.
+ *
+ * @param jElement the {@link JsonElement}
+ * @param memberName the name of the member of the JsonObject
+ * @return the {@link ZonedDateTime}
+ */
+ public static ZonedDateTime getAsZonedDateTime(JsonElement jElement, String memberName)
+ throws OpenemsNamedException {
+ return DateUtils.parseZonedDateTimeOrError(toString(toPrimitive(toSubElement(jElement, memberName))));
+ }
+
/**
* Takes a JSON in the form 'YYYY-MM-DD' and converts it to a
* {@link ZonedDateTime}.
@@ -1818,7 +1802,7 @@ public static String prettyToString(JsonElement j) {
public static boolean isEmptyJsonObject(JsonElement j) {
if (j != null && j.isJsonObject()) {
var object = j.getAsJsonObject();
- return object.size() == 0;
+ return object.isEmpty();
}
return false;
@@ -1833,7 +1817,7 @@ public static boolean isEmptyJsonObject(JsonElement j) {
public static boolean isEmptyJsonArray(JsonElement j) {
if (j != null && j.isJsonArray()) {
var array = j.getAsJsonArray();
- return array.size() == 0;
+ return array.isEmpty();
}
return false;
@@ -1858,7 +1842,7 @@ public static boolean isNumber(JsonElement j) {
*/
public static Stream stream(JsonArray jsonArray) {
return IntStream.range(0, jsonArray.size()) //
- .mapToObj(index -> jsonArray.get(index));
+ .mapToObj(jsonArray::get);
}
private static JsonObject toJsonObject(JsonElement jElement) {
diff --git a/io.openems.common/src/io/openems/common/utils/StreamUtils.java b/io.openems.common/src/io/openems/common/utils/StreamUtils.java
new file mode 100644
index 00000000000..9a831452028
--- /dev/null
+++ b/io.openems.common/src/io/openems/common/utils/StreamUtils.java
@@ -0,0 +1,25 @@
+package io.openems.common.utils;
+
+import java.util.Collections;
+import java.util.Dictionary;
+import java.util.Enumeration;
+import java.util.Map;
+import java.util.Map.Entry;
+import java.util.stream.Stream;
+
+public class StreamUtils {
+
+ /**
+ * Converts a Dictionary to a Stream of Map entries.
+ *
+ * @param dictionary the Dictionary to be converted
+ * @param the type of keys in the Dictionary
+ * @param the type of values in the Dictionary
+ * @return a Stream containing all the key-value pairs from the Dictionary as
+ * Map entries
+ */
+ public static Stream> dictionaryToStream(Dictionary dictionary) {
+ Enumeration keys = dictionary.keys();
+ return Collections.list(keys).stream().map(key -> Map.entry(key, dictionary.get(key)));
+ }
+}
diff --git a/io.openems.common/test/io/openems/common/jscalendar/JSCalendarTest.java b/io.openems.common/test/io/openems/common/jscalendar/JSCalendarTest.java
new file mode 100644
index 00000000000..689368466fd
--- /dev/null
+++ b/io.openems.common/test/io/openems/common/jscalendar/JSCalendarTest.java
@@ -0,0 +1,168 @@
+package io.openems.common.jscalendar;
+
+import static io.openems.common.jscalendar.JSCalendar.RecurrenceFrequency.DAILY;
+import static io.openems.common.jscalendar.JSCalendar.RecurrenceFrequency.WEEKLY;
+import static io.openems.common.test.TestUtils.createDummyClock;
+import static io.openems.common.utils.JsonUtils.buildJsonArray;
+import static io.openems.common.utils.JsonUtils.buildJsonObject;
+import static io.openems.common.utils.JsonUtils.prettyToString;
+import static java.time.DayOfWeek.FRIDAY;
+import static java.time.DayOfWeek.MONDAY;
+import static java.time.DayOfWeek.SATURDAY;
+import static java.time.DayOfWeek.SUNDAY;
+import static java.time.DayOfWeek.THURSDAY;
+import static java.time.DayOfWeek.TUESDAY;
+import static java.time.DayOfWeek.WEDNESDAY;
+import static java.util.function.Function.identity;
+import static org.junit.Assert.assertEquals;
+
+import java.time.ZonedDateTime;
+
+import org.junit.Test;
+
+import com.google.gson.JsonObject;
+
+import io.openems.common.exceptions.OpenemsError.OpenemsNamedException;
+
+//CHECKSTYLE:OFF
+public class JSCalendarTest {
+ // CHECKSTYLE:ON
+
+ @Test
+ public void testDaily() throws OpenemsNamedException {
+ var clock = createDummyClock();
+ var sut = JSCalendar.Task.create() //
+ .setStart("07:00:00") //
+ .addRecurrenceRule(b -> b //
+ .setFrequency(DAILY)) //
+ .build();
+
+ var next = sut.getNextOccurence(ZonedDateTime.now(clock));
+ assertEquals("2020-01-01T07:00Z", next.toString());
+ next = sut.getNextOccurence(next.plusSeconds(1));
+ assertEquals("2020-01-02T07:00Z", next.toString());
+ next = sut.getNextOccurence(next.plusSeconds(1));
+ assertEquals("2020-01-03T07:00Z", next.toString());
+ }
+
+ @Test
+ public void testDailyParse() throws OpenemsNamedException {
+ var sut = JSCalendar.Task.fromStringOrEmpty("""
+ [
+ {
+ "@type":"Task",
+ "start":"19:00:00",
+ "duration":"PT12H",
+ "recurrenceRules":[
+ {
+ "frequency":"daily"
+ }
+ ]
+ }
+ ]""", j -> j);
+ assertEquals(1, sut.size());
+ }
+
+ @Test
+ public void testWeekday() throws OpenemsNamedException {
+ var clock = createDummyClock();
+ var sut = JSCalendar.Task.create() //
+ .setStart("07:00:00") //
+ .addRecurrenceRule(b -> b //
+ .setFrequency(WEEKLY) //
+ .addByDay(MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY)) //
+ .setPayload(buildJsonObject() //
+ .addProperty("sessionEnergy", 10000) //
+ .build()) //
+ .build();
+
+ assertEquals("""
+ {
+ "@type": "Task",
+ "start": "07:00:00",
+ "recurrenceRules": [
+ {
+ "frequency": "weekly",
+ "byDay": [
+ "mo",
+ "tu",
+ "we",
+ "th",
+ "fr"
+ ]
+ }
+ ],
+ "openems.io:payload": {
+ "sessionEnergy": 10000
+ }
+ }""", prettyToString(sut.toJson(identity())));
+
+ var next = sut.getNextOccurence(ZonedDateTime.now(clock));
+ assertEquals("2020-01-01T07:00Z", next.toString());
+ next = sut.getNextOccurence(next.plusSeconds(1));
+ assertEquals("2020-01-02T07:00Z", next.toString());
+ next = sut.getNextOccurence(next.plusSeconds(1));
+ assertEquals("2020-01-03T07:00Z", next.toString());
+ next = sut.getNextOccurence(next.plusSeconds(1));
+ assertEquals("2020-01-06T07:00Z", next.toString()); // next week
+ next = sut.getNextOccurence(next.plusSeconds(1));
+ assertEquals("2020-01-07T07:00Z", next.toString());
+ next = sut.getNextOccurence(next.plusSeconds(1));
+ assertEquals("2020-01-08T07:00Z", next.toString());
+ next = sut.getNextOccurence(next);
+ assertEquals("2020-01-08T07:00Z", next.toString()); // same
+
+ // Parse JSON
+ var fromJson = JSCalendar.Task.fromJson(buildJsonArray() //
+ .add(sut.toJson(identity())) //
+ .build(), j -> j);
+ assertEquals(sut.toJson(identity()), fromJson.get(0).toJson(identity()));
+ }
+
+ @Test
+ public void testWeekend() throws OpenemsNamedException {
+ var clock = createDummyClock();
+ var sut = JSCalendar.Task.create() //
+ .setStart("2024-06-17T00:00:00") //
+ .addRecurrenceRule(b -> b //
+ .setFrequency(WEEKLY) //
+ .addByDay(SATURDAY, SUNDAY)) //
+ .setPayload(buildJsonObject() //
+ .addProperty("sessionEnergy", 10001) //
+ .build()) //
+ .build();
+ assertEquals("""
+ {
+ "@type": "Task",
+ "start": "2024-06-17T00:00:00",
+ "recurrenceRules": [
+ {
+ "frequency": "weekly",
+ "byDay": [
+ "sa",
+ "su"
+ ]
+ }
+ ],
+ "openems.io:payload": {
+ "sessionEnergy": 10001
+ }
+ }""", prettyToString(sut.toJson(identity())));
+
+ var next = sut.getNextOccurence(ZonedDateTime.now(clock));
+ assertEquals("2024-06-22T00:00Z", next.toString());
+ next = sut.getNextOccurence(next.plusSeconds(1));
+ assertEquals("2024-06-23T00:00Z", next.toString());
+ next = sut.getNextOccurence(next.plusSeconds(1));
+ assertEquals("2024-06-29T00:00Z", next.toString());
+ next = sut.getNextOccurence(next.plusSeconds(1));
+ assertEquals("2024-06-30T00:00Z", next.toString());
+ next = sut.getNextOccurence(next.plusSeconds(1));
+ assertEquals("2024-07-06T00:00Z", next.toString());
+
+ // Parse JSON
+ var fromJson = JSCalendar.Task.fromJson(sut.toJson(identity()), identity());
+ assertEquals(sut.toJson(identity()), fromJson.toJson(identity()));
+ }
+
+}
diff --git a/io.openems.common/test/io/openems/common/jsonrpc/response/QueryHistoricTimeseriesExportXlsxResponseTest.java b/io.openems.common/test/io/openems/common/jsonrpc/response/QueryHistoricTimeseriesExportXlsxResponseTest.java
index d59804bff2e..e34f9f1a8a6 100644
--- a/io.openems.common/test/io/openems/common/jsonrpc/response/QueryHistoricTimeseriesExportXlsxResponseTest.java
+++ b/io.openems.common/test/io/openems/common/jsonrpc/response/QueryHistoricTimeseriesExportXlsxResponseTest.java
@@ -70,7 +70,7 @@ private byte[] generateXlsxFile() throws OpenemsNamedException, IOException {
) {
var ws = workbook.newWorksheet("Export");
- Locale currentLocale = new Locale("en", "EN");
+ Locale currentLocale = Locale.of("en", "EN");
var translationBundle = ResourceBundle.getBundle("io.openems.common.jsonrpc.response.translation",
currentLocale);
diff --git a/io.openems.common/test/io/openems/common/test/TimeLeapClockTest.java b/io.openems.common/test/io/openems/common/test/TimeLeapClockTest.java
index 3609efce3a5..6c7485a35ce 100644
--- a/io.openems.common/test/io/openems/common/test/TimeLeapClockTest.java
+++ b/io.openems.common/test/io/openems/common/test/TimeLeapClockTest.java
@@ -52,7 +52,7 @@ public void testMillis() {
@Test
public void testLeap() {
- var dateTime = ZonedDateTime.now();
+ var dateTime = ZonedDateTime.of(2023, 1, 2, 3, 4, 5, 6, ZoneId.of("UTC"));
final var instant = dateTime.toInstant();
final var zone = dateTime.getZone();
diff --git a/io.openems.common/test/io/openems/common/utils/JsonUtilsTest.java b/io.openems.common/test/io/openems/common/utils/JsonUtilsTest.java
index badcaae75dd..37f25ae848b 100644
--- a/io.openems.common/test/io/openems/common/utils/JsonUtilsTest.java
+++ b/io.openems.common/test/io/openems/common/utils/JsonUtilsTest.java
@@ -44,6 +44,7 @@
import static io.openems.common.utils.JsonUtils.getAsJsonArray;
import static io.openems.common.utils.JsonUtils.getAsJsonElement;
import static io.openems.common.utils.JsonUtils.getAsJsonObject;
+import static io.openems.common.utils.JsonUtils.getAsLocalDateTime;
import static io.openems.common.utils.JsonUtils.getAsLong;
import static io.openems.common.utils.JsonUtils.getAsOptionalBoolean;
import static io.openems.common.utils.JsonUtils.getAsOptionalDouble;
@@ -53,10 +54,12 @@
import static io.openems.common.utils.JsonUtils.getAsOptionalInt;
import static io.openems.common.utils.JsonUtils.getAsOptionalJsonArray;
import static io.openems.common.utils.JsonUtils.getAsOptionalJsonObject;
+import static io.openems.common.utils.JsonUtils.getAsOptionalLocalDateTime;
import static io.openems.common.utils.JsonUtils.getAsOptionalLong;
import static io.openems.common.utils.JsonUtils.getAsOptionalShort;
import static io.openems.common.utils.JsonUtils.getAsOptionalString;
import static io.openems.common.utils.JsonUtils.getAsOptionalUUID;
+import static io.openems.common.utils.JsonUtils.getAsOptionalZonedDateTime;
import static io.openems.common.utils.JsonUtils.getAsPrimitive;
import static io.openems.common.utils.JsonUtils.getAsShort;
import static io.openems.common.utils.JsonUtils.getAsString;
@@ -64,6 +67,7 @@
import static io.openems.common.utils.JsonUtils.getAsStringOrElse;
import static io.openems.common.utils.JsonUtils.getAsType;
import static io.openems.common.utils.JsonUtils.getAsUUID;
+import static io.openems.common.utils.JsonUtils.getAsZonedDateTime;
import static io.openems.common.utils.JsonUtils.getAsZonedDateWithZeroTime;
import static io.openems.common.utils.JsonUtils.getOptionalSubElement;
import static io.openems.common.utils.JsonUtils.getSubElement;
@@ -80,11 +84,13 @@
import static org.junit.Assert.assertArrayEquals;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
+import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertThrows;
import static org.junit.Assert.assertTrue;
import java.net.Inet4Address;
import java.net.UnknownHostException;
+import java.time.LocalDateTime;
import java.time.ZoneId;
import java.time.ZonedDateTime;
import java.util.List;
@@ -148,6 +154,8 @@ private static final void assertAllThrow(Class expected
.addProperty("Enum3", (Unit) null) //
.addProperty("Inet4Address", "192.168.1.2") //
.addProperty("UUID", "c48e2e28-09be-41d5-8e58-260d162991cc") //
+ .addProperty("ZonedDateTime", ZonedDateTime.of(1900, 1, 1, 0, 0, 0, 0, ZoneId.of("UTC"))) //
+ .addProperty("LocalDateTime", LocalDateTime.of(1900, 1, 1, 0, 0, 0, 0)) //
.addPropertyIfNotNull("Boolean1", (Boolean) null) //
.addPropertyIfNotNull("Boolean2", Boolean.FALSE) //
.addPropertyIfNotNull("Double1", (Double) null) //
@@ -680,6 +688,19 @@ public void testGetAsZonedDateTime() throws OpenemsNamedException {
assertOpenemsError(JSON_NO_DATE_MEMBER, //
() -> getAsZonedDateWithZeroTime(j, "foo", ZoneId.of("UTC")) //
);
+
+ assertEquals("1900-01-01T00:00Z", getAsZonedDateTime(JSON_OBJECT, "ZonedDateTime").toString());
+
+ assertTrue(getAsOptionalZonedDateTime(JSON_OBJECT, "foo").isEmpty());
+ }
+
+ @Test
+ public void testGetAsLocalDateTime() throws OpenemsNamedException {
+ assertEquals("1900-01-01T00:00", getAsLocalDateTime(JSON_OBJECT, "LocalDateTime").toString());
+
+ assertEquals("1900-01-01T00:00", getAsOptionalLocalDateTime(JSON_OBJECT, "LocalDateTime").get().toString());
+
+ assertTrue(getAsOptionalLocalDateTime(JSON_OBJECT, "foo").isEmpty());
}
@Test
@@ -744,6 +765,9 @@ public void testIsEmptyJsonArray() throws OpenemsNamedException {
@Test
public void testGenerateJsonArray() {
+ assertNull(generateJsonArray(null));
+ assertEquals(JsonNull.INSTANCE, generateJsonArray(List.of(JsonNull.INSTANCE)).get(0));
+
var list = List.of("foo", "bar");
var r = generateJsonArray(list, v -> new JsonPrimitive(v));
assertEquals("foo", r.get(0).getAsString());
diff --git a/io.openems.edge.application/.classpath b/io.openems.edge.application/.classpath
index bbfbdbe40e7..b4cffd0fe60 100644
--- a/io.openems.edge.application/.classpath
+++ b/io.openems.edge.application/.classpath
@@ -1,7 +1,7 @@
-
+
diff --git a/io.openems.edge.application/EdgeApp.bndrun b/io.openems.edge.application/EdgeApp.bndrun
index c47df44769a..a3dd56769d5 100644
--- a/io.openems.edge.application/EdgeApp.bndrun
+++ b/io.openems.edge.application/EdgeApp.bndrun
@@ -1,5 +1,5 @@
-runfw: org.apache.felix.framework;version='[7.0.5,7.0.5]'
--runee: JavaSE-17
+-runee: JavaSE-21
-runprovidedcapabilities: ${native_capability}
-resolve.effective: active
@@ -31,6 +31,7 @@
bnd.identity;id='org.ops4j.pax.logging.pax-logging-api',\
bnd.identity;id='org.ops4j.pax.logging.pax-logging-log4j2',\
bnd.identity;id='org.apache.felix.http.jetty',\
+ bnd.identity;id='org.apache.felix.http.servlet-api',\
bnd.identity;id='org.apache.felix.webconsole',\
bnd.identity;id='org.apache.felix.webconsole.plugins.ds',\
bnd.identity;id='org.apache.felix.inventory',\
@@ -95,6 +96,7 @@
bnd.identity;id='io.openems.edge.controller.io.analog',\
bnd.identity;id='io.openems.edge.controller.io.channelsinglethreshold',\
bnd.identity;id='io.openems.edge.controller.io.fixdigitaloutput',\
+ bnd.identity;id='io.openems.edge.controller.io.heating.room',\
bnd.identity;id='io.openems.edge.controller.io.heatingelement',\
bnd.identity;id='io.openems.edge.controller.io.heatpump.sgready',\
bnd.identity;id='io.openems.edge.controller.pvinverter.fixpowerlimit',\
@@ -123,6 +125,7 @@
bnd.identity;id='io.openems.edge.evcs.goe.chargerhome',\
bnd.identity;id='io.openems.edge.evcs.hardybarth',\
bnd.identity;id='io.openems.edge.evcs.keba.kecontact',\
+ bnd.identity;id='io.openems.edge.evcs.mennekes',\
bnd.identity;id='io.openems.edge.evcs.ocpp.abl',\
bnd.identity;id='io.openems.edge.evcs.ocpp.common',\
bnd.identity;id='io.openems.edge.evcs.ocpp.ies.keywatt.singleccs',\
@@ -140,6 +143,7 @@
bnd.identity;id='io.openems.edge.io.offgridswitch',\
bnd.identity;id='io.openems.edge.io.revpi',\
bnd.identity;id='io.openems.edge.io.shelly',\
+ bnd.identity;id='io.openems.edge.io.siemenslogo',\
bnd.identity;id='io.openems.edge.io.wago',\
bnd.identity;id='io.openems.edge.io.weidmueller',\
bnd.identity;id='io.openems.edge.kaco.blueplanet.hybrid10',\
@@ -193,7 +197,7 @@
bnd.identity;id='io.openems.edge.timeofusetariff.rabotcharge',\
bnd.identity;id='io.openems.edge.timeofusetariff.swisspower',\
bnd.identity;id='io.openems.edge.timeofusetariff.tibber',\
-
+
-runbundles: \
Java-WebSocket;version='[1.5.4,1.5.5)',\
bcpkix;version='[1.79.0,1.79.1)',\
@@ -203,10 +207,10 @@
com.fazecast.jSerialComm;version='[2.10.4,2.10.5)',\
com.ghgande.j2mod;version='[3.2.1,3.2.2)',\
com.google.gson;version='[2.11.0,2.11.1)',\
- com.google.guava;version='[33.3.1,33.3.2)',\
+ com.google.guava;version='[33.4.0,33.4.1)',\
com.google.guava.failureaccess;version='[1.0.2,1.0.3)',\
- com.squareup.okio;version='[3.9.1,3.9.2)',\
- com.sun.jna;version='[5.15.0,5.15.1)',\
+ com.squareup.okio;version='[3.10.2,3.10.3)',\
+ com.sun.jna;version='[5.16.0,5.16.1)',\
io.openems.common;version=snapshot,\
io.openems.edge.application;version=snapshot,\
io.openems.edge.battery.api;version=snapshot,\
@@ -269,6 +273,7 @@
io.openems.edge.controller.io.analog;version=snapshot,\
io.openems.edge.controller.io.channelsinglethreshold;version=snapshot,\
io.openems.edge.controller.io.fixdigitaloutput;version=snapshot,\
+ io.openems.edge.controller.io.heating.room;version=snapshot,\
io.openems.edge.controller.io.heatingelement;version=snapshot,\
io.openems.edge.controller.io.heatpump.sgready;version=snapshot,\
io.openems.edge.controller.pvinverter.fixpowerlimit;version=snapshot,\
@@ -300,6 +305,7 @@
io.openems.edge.evcs.goe.chargerhome;version=snapshot,\
io.openems.edge.evcs.hardybarth;version=snapshot,\
io.openems.edge.evcs.keba.kecontact;version=snapshot,\
+ io.openems.edge.evcs.mennekes;version=snapshot,\
io.openems.edge.evcs.ocpp.abl;version=snapshot,\
io.openems.edge.evcs.ocpp.common;version=snapshot,\
io.openems.edge.evcs.ocpp.ies.keywatt.singleccs;version=snapshot,\
@@ -318,6 +324,7 @@
io.openems.edge.io.offgridswitch;version=snapshot,\
io.openems.edge.io.revpi;version=snapshot,\
io.openems.edge.io.shelly;version=snapshot,\
+ io.openems.edge.io.siemenslogo;version=snapshot,\
io.openems.edge.io.wago;version=snapshot,\
io.openems.edge.io.weidmueller;version=snapshot,\
io.openems.edge.kaco.blueplanet.hybrid10;version=snapshot,\
@@ -401,7 +408,6 @@
io.openems.wrapper.sdnotify;version=snapshot,\
io.reactivex.rxjava3.rxjava;version='[3.1.10,3.1.11)',\
javax.jmdns;version='[3.4.1,3.4.2)',\
- javax.xml.soap-api;version='[1.4.0,1.4.1)',\
org.apache.commons.commons-codec;version='[1.17.1,1.17.2)',\
org.apache.commons.commons-compress;version='[1.27.1,1.27.2)',\
org.apache.commons.commons-csv;version='[1.11.0,1.11.1)',\
@@ -427,8 +433,8 @@
org.jsr-305;version='[3.0.2,3.0.3)',\
org.openmuc.jmbus;version='[3.3.0,3.3.1)',\
org.openmuc.jrxtx;version='[1.0.1,1.0.2)',\
- org.ops4j.pax.logging.pax-logging-api;version='[2.2.1,2.2.2)',\
- org.ops4j.pax.logging.pax-logging-log4j2;version='[2.2.1,2.2.2)',\
+ org.ops4j.pax.logging.pax-logging-api;version='[2.2.7,2.2.8)',\
+ org.ops4j.pax.logging.pax-logging-log4j2;version='[2.2.7,2.2.8)',\
org.osgi.service.component;version='[1.5.1,1.5.2)',\
org.osgi.util.function;version='[1.2.0,1.2.1)',\
org.osgi.util.promise;version='[1.3.0,1.3.1)',\
diff --git a/io.openems.edge.battery.api/.classpath b/io.openems.edge.battery.api/.classpath
index bbfbdbe40e7..b4cffd0fe60 100644
--- a/io.openems.edge.battery.api/.classpath
+++ b/io.openems.edge.battery.api/.classpath
@@ -1,7 +1,7 @@
-
+
diff --git a/io.openems.edge.battery.bmw/.classpath b/io.openems.edge.battery.bmw/.classpath
index bbfbdbe40e7..b4cffd0fe60 100644
--- a/io.openems.edge.battery.bmw/.classpath
+++ b/io.openems.edge.battery.bmw/.classpath
@@ -1,7 +1,7 @@
-
+
diff --git a/io.openems.edge.battery.bydcommercial/.classpath b/io.openems.edge.battery.bydcommercial/.classpath
index bbfbdbe40e7..b4cffd0fe60 100644
--- a/io.openems.edge.battery.bydcommercial/.classpath
+++ b/io.openems.edge.battery.bydcommercial/.classpath
@@ -1,7 +1,7 @@
-
+
diff --git a/io.openems.edge.battery.fenecon.commercial/.classpath b/io.openems.edge.battery.fenecon.commercial/.classpath
index bbfbdbe40e7..b4cffd0fe60 100644
--- a/io.openems.edge.battery.fenecon.commercial/.classpath
+++ b/io.openems.edge.battery.fenecon.commercial/.classpath
@@ -1,7 +1,7 @@
-
+
diff --git a/io.openems.edge.battery.fenecon.commercial/test/io/openems/edge/battery/fenecon/commercial/BatteryFeneconCommercialImplTest.java b/io.openems.edge.battery.fenecon.commercial/test/io/openems/edge/battery/fenecon/commercial/BatteryFeneconCommercialImplTest.java
index 8fec9839f16..17038a5c183 100644
--- a/io.openems.edge.battery.fenecon.commercial/test/io/openems/edge/battery/fenecon/commercial/BatteryFeneconCommercialImplTest.java
+++ b/io.openems.edge.battery.fenecon.commercial/test/io/openems/edge/battery/fenecon/commercial/BatteryFeneconCommercialImplTest.java
@@ -1,5 +1,6 @@
package io.openems.edge.battery.fenecon.commercial;
+import static io.openems.common.test.TestUtils.createDummyClock;
import static io.openems.edge.battery.api.Battery.ChannelId.CHARGE_MAX_CURRENT;
import static io.openems.edge.battery.api.Battery.ChannelId.DISCHARGE_MAX_CURRENT;
import static io.openems.edge.battery.api.Battery.ChannelId.SOC;
@@ -7,7 +8,6 @@
import static io.openems.edge.battery.fenecon.commercial.BatteryFeneconCommercial.ChannelId.RUNNING;
import static io.openems.edge.battery.fenecon.commercial.BatteryFeneconCommercial.ChannelId.STATE_MACHINE;
import static io.openems.edge.common.startstop.StartStoppable.ChannelId.START_STOP;
-import static io.openems.edge.common.test.TestUtils.createDummyClock;
import static io.openems.edge.io.test.DummyInputOutput.ChannelId.INPUT_OUTPUT7;
import org.junit.Test;
diff --git a/io.openems.edge.battery.fenecon.home/.classpath b/io.openems.edge.battery.fenecon.home/.classpath
index bbfbdbe40e7..b4cffd0fe60 100644
--- a/io.openems.edge.battery.fenecon.home/.classpath
+++ b/io.openems.edge.battery.fenecon.home/.classpath
@@ -1,7 +1,7 @@
-
+
diff --git a/io.openems.edge.battery.fenecon.home/test/io/openems/edge/battery/fenecon/home/BatteryFeneconHomeImplTest.java b/io.openems.edge.battery.fenecon.home/test/io/openems/edge/battery/fenecon/home/BatteryFeneconHomeImplTest.java
index b0029262635..77062d93093 100644
--- a/io.openems.edge.battery.fenecon.home/test/io/openems/edge/battery/fenecon/home/BatteryFeneconHomeImplTest.java
+++ b/io.openems.edge.battery.fenecon.home/test/io/openems/edge/battery/fenecon/home/BatteryFeneconHomeImplTest.java
@@ -1,5 +1,6 @@
package io.openems.edge.battery.fenecon.home;
+import static io.openems.common.test.TestUtils.createDummyClock;
import static io.openems.edge.battery.api.Battery.ChannelId.CHARGE_MAX_CURRENT;
import static io.openems.edge.battery.api.Battery.ChannelId.CURRENT;
import static io.openems.edge.battery.api.Battery.ChannelId.MAX_CELL_VOLTAGE;
@@ -22,7 +23,6 @@
import static io.openems.edge.battery.protection.BatteryProtection.ChannelId.BP_CHARGE_BMS;
import static io.openems.edge.battery.protection.BatteryProtection.ChannelId.BP_CHARGE_MAX_SOC;
import static io.openems.edge.bridge.modbus.api.ModbusComponent.ChannelId.MODBUS_COMMUNICATION_FAILED;
-import static io.openems.edge.common.test.TestUtils.createDummyClock;
import static io.openems.edge.io.test.DummyInputOutput.ChannelId.INPUT_OUTPUT4;
import static java.lang.Math.round;
import static java.time.temporal.ChronoUnit.SECONDS;
diff --git a/io.openems.edge.battery.soltaro/.classpath b/io.openems.edge.battery.soltaro/.classpath
index bbfbdbe40e7..b4cffd0fe60 100644
--- a/io.openems.edge.battery.soltaro/.classpath
+++ b/io.openems.edge.battery.soltaro/.classpath
@@ -1,7 +1,7 @@
-
+
diff --git a/io.openems.edge.battery.soltaro/src/io/openems/edge/battery/soltaro/cluster/versionb/SingleRack.java b/io.openems.edge.battery.soltaro/src/io/openems/edge/battery/soltaro/cluster/versionb/SingleRack.java
index 02835194b33..e5d4529f972 100644
--- a/io.openems.edge.battery.soltaro/src/io/openems/edge/battery/soltaro/cluster/versionb/SingleRack.java
+++ b/io.openems.edge.battery.soltaro/src/io/openems/edge/battery/soltaro/cluster/versionb/SingleRack.java
@@ -1,5 +1,14 @@
package io.openems.edge.battery.soltaro.cluster.versionb;
+import static io.openems.common.channel.AccessMode.READ_WRITE;
+import static io.openems.common.channel.Level.OK;
+import static io.openems.common.channel.Level.WARNING;
+import static io.openems.common.channel.Unit.DEZIDEGREE_CELSIUS;
+import static io.openems.common.channel.Unit.MILLIAMPERE;
+import static io.openems.common.channel.Unit.MILLIVOLT;
+import static io.openems.common.channel.Unit.NONE;
+import static io.openems.common.channel.Unit.PERCENT;
+import static io.openems.common.types.OpenemsType.INTEGER;
import static io.openems.edge.bridge.modbus.api.ElementToChannelConverter.SCALE_FACTOR_2;
import static io.openems.edge.bridge.modbus.api.ElementToChannelConverter.SCALE_FACTOR_MINUS_1;
@@ -9,10 +18,6 @@
import java.util.Map;
import java.util.Optional;
-import io.openems.common.channel.AccessMode;
-import io.openems.common.channel.Level;
-import io.openems.common.channel.Unit;
-import io.openems.common.types.OpenemsType;
import io.openems.edge.battery.soltaro.common.enums.ChargeIndication;
import io.openems.edge.bridge.modbus.api.AbstractOpenemsModbusComponent;
import io.openems.edge.bridge.modbus.api.element.BitsWordElement;
@@ -426,104 +431,102 @@ private Map> createChannelMap() {
private Map createChannelIdMap() {
Map map = new HashMap<>();
- this.addEntry(map, KEY_VOLTAGE, new IntegerDoc().unit(Unit.MILLIVOLT));
- this.addEntry(map, KEY_CURRENT, new IntegerDoc().unit(Unit.MILLIAMPERE));
+ this.addEntry(map, KEY_VOLTAGE, new IntegerDoc().unit(MILLIVOLT));
+ this.addEntry(map, KEY_CURRENT, new IntegerDoc().unit(MILLIAMPERE));
this.addEntry(map, KEY_CHARGE_INDICATION, Doc.of(ChargeIndication.values()));
- this.addEntry(map, KEY_SOC, new IntegerDoc().unit(Unit.PERCENT));
- this.addEntry(map, KEY_SOH, new IntegerDoc().unit(Unit.PERCENT));
- this.addEntry(map, KEY_MAX_CELL_VOLTAGE_ID, new IntegerDoc().unit(Unit.NONE));
- this.addEntry(map, KEY_MAX_CELL_VOLTAGE, new IntegerDoc().unit(Unit.MILLIVOLT));
- this.addEntry(map, KEY_MIN_CELL_VOLTAGE_ID, new IntegerDoc().unit(Unit.NONE));
- this.addEntry(map, KEY_MIN_CELL_VOLTAGE, new IntegerDoc().unit(Unit.MILLIVOLT));
- this.addEntry(map, KEY_MAX_CELL_TEMPERATURE_ID, new IntegerDoc().unit(Unit.NONE));
- this.addEntry(map, KEY_MAX_CELL_TEMPERATURE, new IntegerDoc().unit(Unit.DEZIDEGREE_CELSIUS));
- this.addEntry(map, KEY_MIN_CELL_TEMPERATURE_ID, new IntegerDoc().unit(Unit.NONE));
- this.addEntry(map, KEY_MIN_CELL_TEMPERATURE, new IntegerDoc().unit(Unit.DEZIDEGREE_CELSIUS));
- this.addEntry(map, KEY_ALARM_LEVEL_2_CELL_DISCHA_TEMP_LOW, Doc.of(Level.WARNING)
+ this.addEntry(map, KEY_SOC, new IntegerDoc().unit(PERCENT));
+ this.addEntry(map, KEY_SOH, new IntegerDoc().unit(PERCENT));
+ this.addEntry(map, KEY_MAX_CELL_VOLTAGE_ID, new IntegerDoc().unit(NONE));
+ this.addEntry(map, KEY_MAX_CELL_VOLTAGE, new IntegerDoc().unit(MILLIVOLT));
+ this.addEntry(map, KEY_MIN_CELL_VOLTAGE_ID, new IntegerDoc().unit(NONE));
+ this.addEntry(map, KEY_MIN_CELL_VOLTAGE, new IntegerDoc().unit(MILLIVOLT));
+ this.addEntry(map, KEY_MAX_CELL_TEMPERATURE_ID, new IntegerDoc().unit(NONE));
+ this.addEntry(map, KEY_MAX_CELL_TEMPERATURE, new IntegerDoc().unit(DEZIDEGREE_CELSIUS));
+ this.addEntry(map, KEY_MIN_CELL_TEMPERATURE_ID, new IntegerDoc().unit(NONE));
+ this.addEntry(map, KEY_MIN_CELL_TEMPERATURE, new IntegerDoc().unit(DEZIDEGREE_CELSIUS));
+ this.addEntry(map, KEY_ALARM_LEVEL_2_CELL_DISCHA_TEMP_LOW, Doc.of(WARNING)
.text("Rack" + this.rackNumber + " Cell Discharge Temperature Low Alarm Level 2")); /* Bit 15 */
- this.addEntry(map, KEY_ALARM_LEVEL_2_CELL_DISCHA_TEMP_HIGH, Doc.of(Level.WARNING)
+ this.addEntry(map, KEY_ALARM_LEVEL_2_CELL_DISCHA_TEMP_HIGH, Doc.of(WARNING)
.text("Rack" + this.rackNumber + " Cell Discharge Temperature High Alarm Level 2")); /* Bit 14 */
this.addEntry(map, KEY_ALARM_LEVEL_2_GR_TEMPERATURE_HIGH,
- Doc.of(Level.WARNING).text("Rack" + this.rackNumber + " GR Temperature High Alarm Level 2")); /* Bit 10 */
- this.addEntry(map, KEY_ALARM_LEVEL_2_CELL_CHA_TEMP_LOW, Doc.of(Level.WARNING)
+ Doc.of(WARNING).text("Rack" + this.rackNumber + " GR Temperature High Alarm Level 2")); /* Bit 10 */
+ this.addEntry(map, KEY_ALARM_LEVEL_2_CELL_CHA_TEMP_LOW, Doc.of(WARNING)
.text("Rack" + this.rackNumber + " Cell Charge Temperature Low Alarm Level 2")); /* Bit 7 */
- this.addEntry(map, KEY_ALARM_LEVEL_2_CELL_CHA_TEMP_HIGH, Doc.of(Level.WARNING)
+ this.addEntry(map, KEY_ALARM_LEVEL_2_CELL_CHA_TEMP_HIGH, Doc.of(WARNING)
.text("Rack" + this.rackNumber + " Cell Charge Temperature High Alarm Level 2")); /* Bit 6 */
- this.addEntry(map, KEY_ALARM_LEVEL_2_DISCHA_CURRENT_HIGH, Doc.of(Level.WARNING)
- .text("Rack" + this.rackNumber + " Discharge Current High Alarm Level 2")); /* Bit 5 */
+ this.addEntry(map, KEY_ALARM_LEVEL_2_DISCHA_CURRENT_HIGH,
+ Doc.of(WARNING).text("Rack" + this.rackNumber + " Discharge Current High Alarm Level 2")); /* Bit 5 */
this.addEntry(map, KEY_ALARM_LEVEL_2_TOTAL_VOLTAGE_LOW,
- Doc.of(Level.WARNING).text("Rack" + this.rackNumber + " Total Voltage Low Alarm Level 2")); /* Bit 4 */
+ Doc.of(WARNING).text("Rack" + this.rackNumber + " Total Voltage Low Alarm Level 2")); /* Bit 4 */
this.addEntry(map, KEY_ALARM_LEVEL_2_CELL_VOLTAGE_LOW,
- Doc.of(Level.WARNING).text("Cluster 1 Cell Voltage Low Alarm Level 2")); /* Bit 3 */
+ Doc.of(WARNING).text("Cluster 1 Cell Voltage Low Alarm Level 2")); /* Bit 3 */
this.addEntry(map, KEY_ALARM_LEVEL_2_CHA_CURRENT_HIGH,
- Doc.of(Level.WARNING).text("Rack" + this.rackNumber + " Charge Current High Alarm Level 2")); /* Bit 2 */
+ Doc.of(WARNING).text("Rack" + this.rackNumber + " Charge Current High Alarm Level 2")); /* Bit 2 */
this.addEntry(map, KEY_ALARM_LEVEL_2_TOTAL_VOLTAGE_HIGH,
- Doc.of(Level.WARNING).text("Rack" + this.rackNumber + " Total Voltage High Alarm Level 2")); /* Bit 1 */
+ Doc.of(WARNING).text("Rack" + this.rackNumber + " Total Voltage High Alarm Level 2")); /* Bit 1 */
this.addEntry(map, KEY_ALARM_LEVEL_2_CELL_VOLTAGE_HIGH,
- Doc.of(Level.WARNING).text("Rack" + this.rackNumber + " Cell Voltage High Alarm Level 2")); /* Bit 0 */
- this.addEntry(map, KEY_ALARM_LEVEL_1_CELL_DISCHA_TEMP_LOW, Doc.of(Level.WARNING)
+ Doc.of(WARNING).text("Rack" + this.rackNumber + " Cell Voltage High Alarm Level 2")); /* Bit 0 */
+ this.addEntry(map, KEY_ALARM_LEVEL_1_CELL_DISCHA_TEMP_LOW, Doc.of(WARNING)
.text("Rack" + this.rackNumber + " Cell Discharge Temperature Low Alarm Level 1")); /* Bit 15 */
- this.addEntry(map, KEY_ALARM_LEVEL_1_CELL_DISCHA_TEMP_HIGH, Doc.of(Level.WARNING)
+ this.addEntry(map, KEY_ALARM_LEVEL_1_CELL_DISCHA_TEMP_HIGH, Doc.of(WARNING)
.text("Rack" + this.rackNumber + " Cell Discharge Temperature High Alarm Level 1")); /* Bit 14 */
- this.addEntry(map, KEY_ALARM_LEVEL_1_TOTAL_VOLTAGE_DIFF_HIGH, Doc.of(Level.WARNING)
- .text("Rack" + this.rackNumber + " Total Voltage Diff High Alarm Level 1")); /* Bit 13 */
- this.addEntry(map, KEY_ALARM_LEVEL_1_CELL_VOLTAGE_DIFF_HIGH, Doc.of(Level.WARNING)
- .text("Rack" + this.rackNumber + " Cell Voltage Diff High Alarm Level 1")); /* Bit 11 */
- this.addEntry(map, KEY_ALARM_LEVEL_1_GR_TEMPERATURE_HIGH, Doc.of(Level.WARNING)
- .text("Rack" + this.rackNumber + " GR Temperature High Alarm Level 1")); /* Bit 10 */
- this.addEntry(map, KEY_ALARM_LEVEL_1_CELL_TEMP_DIFF_HIGH, Doc.of(Level.WARNING)
+ this.addEntry(map, KEY_ALARM_LEVEL_1_TOTAL_VOLTAGE_DIFF_HIGH,
+ Doc.of(WARNING).text("Rack" + this.rackNumber + " Total Voltage Diff High Alarm Level 1")); /* Bit 13 */
+ this.addEntry(map, KEY_ALARM_LEVEL_1_CELL_VOLTAGE_DIFF_HIGH,
+ Doc.of(WARNING).text("Rack" + this.rackNumber + " Cell Voltage Diff High Alarm Level 1")); /* Bit 11 */
+ this.addEntry(map, KEY_ALARM_LEVEL_1_GR_TEMPERATURE_HIGH,
+ Doc.of(WARNING).text("Rack" + this.rackNumber + " GR Temperature High Alarm Level 1")); /* Bit 10 */
+ this.addEntry(map, KEY_ALARM_LEVEL_1_CELL_TEMP_DIFF_HIGH, Doc.of(WARNING)
.text("Rack" + this.rackNumber + " Cell temperature Diff High Alarm Level 1")); /* Bit 9 */
this.addEntry(map, KEY_ALARM_LEVEL_1_SOC_LOW,
- Doc.of(Level.WARNING).text("Rack" + this.rackNumber + " SOC Low Alarm Level 1")); /* Bit 8 */
- this.addEntry(map, KEY_ALARM_LEVEL_1_CELL_CHA_TEMP_LOW, Doc.of(Level.WARNING)
+ Doc.of(WARNING).text("Rack" + this.rackNumber + " SOC Low Alarm Level 1")); /* Bit 8 */
+ this.addEntry(map, KEY_ALARM_LEVEL_1_CELL_CHA_TEMP_LOW, Doc.of(WARNING)
.text("Rack" + this.rackNumber + " Cell Charge Temperature Low Alarm Level 1")); /* Bit 7 */
- this.addEntry(map, KEY_ALARM_LEVEL_1_CELL_CHA_TEMP_HIGH, Doc.of(Level.WARNING)
+ this.addEntry(map, KEY_ALARM_LEVEL_1_CELL_CHA_TEMP_HIGH, Doc.of(WARNING)
.text("Rack" + this.rackNumber + " Cell Charge Temperature High Alarm Level 1")); /* Bit 6 */
- this.addEntry(map, KEY_ALARM_LEVEL_1_DISCHA_CURRENT_HIGH, Doc.of(Level.WARNING)
- .text("Rack" + this.rackNumber + " Discharge Current High Alarm Level 1")); /* Bit 5 */
+ this.addEntry(map, KEY_ALARM_LEVEL_1_DISCHA_CURRENT_HIGH,
+ Doc.of(WARNING).text("Rack" + this.rackNumber + " Discharge Current High Alarm Level 1")); /* Bit 5 */
this.addEntry(map, KEY_ALARM_LEVEL_1_TOTAL_VOLTAGE_LOW,
- Doc.of(Level.WARNING).text("Rack" + this.rackNumber + " Total Voltage Low Alarm Level 1")); /* Bit 4 */
+ Doc.of(WARNING).text("Rack" + this.rackNumber + " Total Voltage Low Alarm Level 1")); /* Bit 4 */
this.addEntry(map, KEY_ALARM_LEVEL_1_CELL_VOLTAGE_LOW,
- Doc.of(Level.WARNING).text("Rack" + this.rackNumber + " Cell Voltage Low Alarm Level 1")); /* Bit 3 */
- this.addEntry(map, KEY_ALARM_LEVEL_1_CHA_CURRENT_HIGH, Doc.of(Level.WARNING)
- .text("Rack" + this.rackNumber + " Charge Current High Alarm Level 1")); /* Bit 2 */
+ Doc.of(WARNING).text("Rack" + this.rackNumber + " Cell Voltage Low Alarm Level 1")); /* Bit 3 */
+ this.addEntry(map, KEY_ALARM_LEVEL_1_CHA_CURRENT_HIGH,
+ Doc.of(WARNING).text("Rack" + this.rackNumber + " Charge Current High Alarm Level 1")); /* Bit 2 */
this.addEntry(map, KEY_ALARM_LEVEL_1_TOTAL_VOLTAGE_HIGH,
- Doc.of(Level.WARNING).text("Rack" + this.rackNumber + " Total Voltage High Alarm Level 1")); /* Bit 1 */
+ Doc.of(WARNING).text("Rack" + this.rackNumber + " Total Voltage High Alarm Level 1")); /* Bit 1 */
this.addEntry(map, KEY_ALARM_LEVEL_1_CELL_VOLTAGE_HIGH,
- Doc.of(Level.WARNING).text("Rack" + this.rackNumber + " Cell Voltage High Alarm Level 1")); /* Bit 0 */
+ Doc.of(WARNING).text("Rack" + this.rackNumber + " Cell Voltage High Alarm Level 1")); /* Bit 0 */
this.addEntry(map, KEY_RUN_STATE, Doc.of(Enums.ClusterRunState.values())); //
- this.addEntry(map, KEY_FAILURE_INITIALIZATION, Doc.of(Level.WARNING).text("Initialization failure")); /* Bit */
- this.addEntry(map, KEY_FAILURE_EEPROM, Doc.of(Level.WARNING).text("EEPROM fault")); /* Bit 11 */
+ this.addEntry(map, KEY_FAILURE_INITIALIZATION, Doc.of(WARNING).text("Initialization failure")); /* Bit */
+ this.addEntry(map, KEY_FAILURE_EEPROM, Doc.of(WARNING).text("EEPROM fault")); /* Bit 11 */
this.addEntry(map, KEY_FAILURE_INTRANET_COMMUNICATION,
- Doc.of(Level.WARNING).text("Internal communication fault")); /* Bit 10 */
+ Doc.of(WARNING).text("Internal communication fault")); /* Bit 10 */
this.addEntry(map, KEY_FAILURE_TEMPERATURE_SENSOR_CABLE,
- Doc.of(Level.WARNING).text("Temperature sensor cable fault")); /* Bit 9 */
- this.addEntry(map, KEY_FAILURE_BALANCING_MODULE, Doc.of(Level.OK).text("Balancing module fault")); /* Bit 8 */
- this.addEntry(map, KEY_FAILURE_TEMPERATURE_PCB, Doc.of(Level.WARNING).text("Temperature PCB error")); /* Bit 7 */
- this.addEntry(map, KEY_FAILURE_GR_TEMPERATURE, Doc.of(Level.WARNING).text("GR Temperature error")); /* Bit 6 */
- this.addEntry(map, KEY_FAILURE_TEMP_SENSOR, Doc.of(Level.WARNING).text("Temperature sensor fault")); /* Bit 5 */
- this.addEntry(map, KEY_FAILURE_TEMP_SAMPLING,
- Doc.of(Level.WARNING).text("Temperature sampling fault")); /* Bit 4 */
- this.addEntry(map, KEY_FAILURE_VOLTAGE_SAMPLING,
- Doc.of(Level.WARNING).text("Voltage sampling fault")); /* Bit 3 */
- this.addEntry(map, KEY_FAILURE_LTC6803, Doc.of(Level.WARNING).text("LTC6803 fault")); /* Bit 2 */
- this.addEntry(map, KEY_FAILURE_CONNECTOR_WIRE, Doc.of(Level.WARNING).text("connector wire fault")); /* Bit 1 */
- this.addEntry(map, KEY_FAILURE_SAMPLING_WIRE, Doc.of(Level.WARNING).text("sampling wire fault")); /* Bit 0 */
- this.addEntry(map, KEY_SLEEP, Doc.of(OpenemsType.INTEGER).accessMode(AccessMode.READ_WRITE));
- this.addEntry(map, KEY_RESET, Doc.of(OpenemsType.INTEGER).accessMode(AccessMode.READ_WRITE));
+ Doc.of(WARNING).text("Temperature sensor cable fault")); /* Bit 9 */
+ this.addEntry(map, KEY_FAILURE_BALANCING_MODULE, Doc.of(OK).text("Balancing module fault")); /* Bit 8 */
+ this.addEntry(map, KEY_FAILURE_TEMPERATURE_PCB, Doc.of(WARNING).text("Temperature PCB error")); /* Bit 7 */
+ this.addEntry(map, KEY_FAILURE_GR_TEMPERATURE, Doc.of(WARNING).text("GR Temperature error")); /* Bit 6 */
+ this.addEntry(map, KEY_FAILURE_TEMP_SENSOR, Doc.of(WARNING).text("Temperature sensor fault")); /* Bit 5 */
+ this.addEntry(map, KEY_FAILURE_TEMP_SAMPLING, Doc.of(WARNING).text("Temperature sampling fault")); /* Bit 4 */
+ this.addEntry(map, KEY_FAILURE_VOLTAGE_SAMPLING, Doc.of(WARNING).text("Voltage sampling fault")); /* Bit 3 */
+ this.addEntry(map, KEY_FAILURE_LTC6803, Doc.of(WARNING).text("LTC6803 fault")); /* Bit 2 */
+ this.addEntry(map, KEY_FAILURE_CONNECTOR_WIRE, Doc.of(WARNING).text("connector wire fault")); /* Bit 1 */
+ this.addEntry(map, KEY_FAILURE_SAMPLING_WIRE, Doc.of(WARNING).text("sampling wire fault")); /* Bit 0 */
+ this.addEntry(map, KEY_SLEEP, Doc.of(INTEGER).accessMode(READ_WRITE));
+ this.addEntry(map, KEY_RESET, Doc.of(INTEGER).accessMode(READ_WRITE));
// Cell voltages formatted like: "RACK_1_BATTERY_000_VOLTAGE"
for (var i = 0; i < this.numberOfSlaves; i++) {
for (var j = i * VOLTAGE_SENSORS_PER_MODULE; j < (i + 1) * VOLTAGE_SENSORS_PER_MODULE; j++) {
var key = this.getSingleCellPrefix(j) + "_" + VOLTAGE;
- this.addEntry(map, key, new IntegerDoc().unit(Unit.MILLIVOLT));
+ this.addEntry(map, key, new IntegerDoc().unit(MILLIVOLT));
}
}
// Cell temperatures formatted like : "RACK_1_BATTERY_000_TEMPERATURE"
for (var i = 0; i < this.numberOfSlaves; i++) {
for (var j = i * TEMPERATURE_SENSORS_PER_MODULE; j < (i + 1) * TEMPERATURE_SENSORS_PER_MODULE; j++) {
var key = this.getSingleCellPrefix(j) + "_" + TEMPERATURE;
- this.addEntry(map, key, new IntegerDoc().unit(Unit.DEZIDEGREE_CELSIUS));
+ this.addEntry(map, key, new IntegerDoc().unit(DEZIDEGREE_CELSIUS));
}
}
diff --git a/io.openems.edge.batteryinverter.api/.classpath b/io.openems.edge.batteryinverter.api/.classpath
index bbfbdbe40e7..b4cffd0fe60 100644
--- a/io.openems.edge.batteryinverter.api/.classpath
+++ b/io.openems.edge.batteryinverter.api/.classpath
@@ -1,7 +1,7 @@
-
+
diff --git a/io.openems.edge.batteryinverter.api/src/io/openems/edge/batteryinverter/api/SymmetricBatteryInverter.java b/io.openems.edge.batteryinverter.api/src/io/openems/edge/batteryinverter/api/SymmetricBatteryInverter.java
index 32aa035b4f1..8e731a87612 100644
--- a/io.openems.edge.batteryinverter.api/src/io/openems/edge/batteryinverter/api/SymmetricBatteryInverter.java
+++ b/io.openems.edge.batteryinverter.api/src/io/openems/edge/batteryinverter/api/SymmetricBatteryInverter.java
@@ -135,6 +135,20 @@ public enum ChannelId implements io.openems.edge.common.channel.ChannelId {
DC_MAX_VOLTAGE(Doc.of(OpenemsType.INTEGER) //
.unit(Unit.VOLT) //
.persistencePriority(PersistencePriority.HIGH) //
+ ), //
+
+ /**
+ * Inverter Cabinet Temperature.
+ *
+ *
+ * - Interface: SymmetricBatteryInverter
+ *
- Type: Integer
+ *
- Unit: C
+ *
+ */
+ TEMPERATURE_CABINET(Doc.of(OpenemsType.INTEGER) //
+ .unit(Unit.DEGREE_CELSIUS) //
+ .persistencePriority(PersistencePriority.HIGH) //
);
private final Doc doc;
@@ -463,4 +477,23 @@ public default void _setDcMaxVoltage(Integer value) {
public default void _setDcMaxVoltage(int value) {
this.getDcMaxVoltageChannel().setNextValue(value);
}
+
+ /**
+ * Gets the Channel for {@link ChannelId#TEMPERATURE_CABINET}.
+ *
+ * @return the Channel
+ */
+ public default IntegerReadChannel getTemperatureCabinetChannel() {
+ return this.channel(ChannelId.TEMPERATURE_CABINET);
+ }
+
+ /**
+ * Gets the Inverters Cabinet temperature in [C]. See
+ * {@link ChannelId#TEMPERATURE_CABINET}.
+ *
+ * @return the Channel {@link Value}
+ */
+ public default Value getTemperatureCabinet() {
+ return this.getTemperatureCabinetChannel().value();
+ }
}
diff --git a/io.openems.edge.batteryinverter.kaco.blueplanetgridsave/.classpath b/io.openems.edge.batteryinverter.kaco.blueplanetgridsave/.classpath
index bbfbdbe40e7..b4cffd0fe60 100644
--- a/io.openems.edge.batteryinverter.kaco.blueplanetgridsave/.classpath
+++ b/io.openems.edge.batteryinverter.kaco.blueplanetgridsave/.classpath
@@ -1,7 +1,7 @@
-
+
diff --git a/io.openems.edge.batteryinverter.kaco.blueplanetgridsave/src/io/openems/edge/batteryinverter/kaco/blueplanetgridsave/KacoSunSpecModel.java b/io.openems.edge.batteryinverter.kaco.blueplanetgridsave/src/io/openems/edge/batteryinverter/kaco/blueplanetgridsave/KacoSunSpecModel.java
index 88974aeedf0..751aed62757 100644
--- a/io.openems.edge.batteryinverter.kaco.blueplanetgridsave/src/io/openems/edge/batteryinverter/kaco/blueplanetgridsave/KacoSunSpecModel.java
+++ b/io.openems.edge.batteryinverter.kaco.blueplanetgridsave/src/io/openems/edge/batteryinverter/kaco/blueplanetgridsave/KacoSunSpecModel.java
@@ -106,8 +106,7 @@ public static enum S64201 implements SunSpecPoint {
V_AR(new ScaledValuePoint("S64201_V_AR", "AC Reactive Power", "", //
ValuePoint.Type.INT16, true, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_REACTIVE, "V_AR_SF")), //
HZ(new ScaledValuePoint("S64201_HZ", "Line Frequency", "", //
- ValuePoint.Type.UINT16, true, AccessMode.READ_ONLY, Unit.HERTZ, "Hz_SF")
- ), //
+ ValuePoint.Type.UINT16, true, AccessMode.READ_ONLY, Unit.HERTZ, "Hz_SF")), //
RESERVED_36(new ReservedPoint("S64201_RESERVED_36")), //
RESERVED_37(new ReservedPoint("S64201_RESERVED_37")), //
RESERVED_38(new ReservedPoint("S64201_RESERVED_38")), //
diff --git a/io.openems.edge.batteryinverter.kaco.blueplanetgridsave/test/io/openems/edge/batteryinverter/kaco/blueplanetgridsave/BatteryInverterKacoBlueplanetGridsaveImplTest.java b/io.openems.edge.batteryinverter.kaco.blueplanetgridsave/test/io/openems/edge/batteryinverter/kaco/blueplanetgridsave/BatteryInverterKacoBlueplanetGridsaveImplTest.java
index fc68eda27ec..d3d8025f5e1 100644
--- a/io.openems.edge.batteryinverter.kaco.blueplanetgridsave/test/io/openems/edge/batteryinverter/kaco/blueplanetgridsave/BatteryInverterKacoBlueplanetGridsaveImplTest.java
+++ b/io.openems.edge.batteryinverter.kaco.blueplanetgridsave/test/io/openems/edge/batteryinverter/kaco/blueplanetgridsave/BatteryInverterKacoBlueplanetGridsaveImplTest.java
@@ -1,5 +1,6 @@
package io.openems.edge.batteryinverter.kaco.blueplanetgridsave;
+import static io.openems.common.test.TestUtils.createDummyClock;
import static io.openems.edge.batteryinverter.api.SymmetricBatteryInverter.ChannelId.MAX_APPARENT_POWER;
import static io.openems.edge.batteryinverter.kaco.blueplanetgridsave.BatteryInverterKacoBlueplanetGridsave.WATCHDOG_TIMEOUT_SECONDS;
import static io.openems.edge.batteryinverter.kaco.blueplanetgridsave.BatteryInverterKacoBlueplanetGridsave.WATCHDOG_TRIGGER_SECONDS;
@@ -27,7 +28,6 @@
import io.openems.edge.common.test.ComponentTest;
import io.openems.edge.common.test.DummyComponentManager;
import io.openems.edge.common.test.DummyConfigurationAdmin;
-import io.openems.edge.common.test.TestUtils;
public class BatteryInverterKacoBlueplanetGridsaveImplTest {
@@ -49,17 +49,16 @@ protected void handleEvent(String topic) throws Exception {
}
- private static TimeLeapClock clock;
+ private static final TimeLeapClock CLOCK = createDummyClock();
private static ComponentTest test;
@Before
public void prepareTest() throws Exception {
- clock = TestUtils.createDummyClock();
var sut = new BatteryInverterKacoBlueplanetGridsaveImpl();
test = new MyComponentTest(sut) //
.addReference("cm", new DummyConfigurationAdmin()) //
- .addReference("componentManager", new DummyComponentManager(clock)) //
+ .addReference("componentManager", new DummyComponentManager(CLOCK)) //
.addReference("setModbus", new DummyModbusBridge("modbus0"));
// TODO implement proper Dummy-Modbus-Bridge with SunSpec support. Till then...
@@ -97,10 +96,10 @@ public void testStart() throws Exception {
.input(MAX_APPARENT_POWER, 50_000) //
.output(STATE_MACHINE, State.UNDEFINED)) //
.next(new TestCase() //
- .timeleap(clock, 4, SECONDS) //
+ .timeleap(CLOCK, 4, SECONDS) //
.output(STATE_MACHINE, State.GO_RUNNING)) //
.next(new TestCase() //
- .timeleap(clock, 1, SECONDS) //
+ .timeleap(CLOCK, 1, SECONDS) //
.input(CURRENT_STATE.getChannelId(), S64201CurrentState.GRID_CONNECTED) //
.output(WATCHDOG.getChannelId(), WATCHDOG_TIMEOUT_SECONDS)) //
.next(new TestCase() //
@@ -114,10 +113,10 @@ public void testWatchdog() throws Exception {
.next(new TestCase() //
.output(WATCHDOG.getChannelId(), WATCHDOG_TIMEOUT_SECONDS)) //
.next(new TestCase() //
- .timeleap(clock, WATCHDOG_TRIGGER_SECONDS - 1, SECONDS) //
+ .timeleap(CLOCK, WATCHDOG_TRIGGER_SECONDS - 1, SECONDS) //
.output(WATCHDOG.getChannelId(), null /* waiting till next watchdog trigger */)) //
.next(new TestCase() //
- .timeleap(clock, 1, SECONDS) //
+ .timeleap(CLOCK, 1, SECONDS) //
.output(WATCHDOG.getChannelId(), WATCHDOG_TIMEOUT_SECONDS)) //
;
}
diff --git a/io.openems.edge.batteryinverter.refu88k/.classpath b/io.openems.edge.batteryinverter.refu88k/.classpath
index bbfbdbe40e7..b4cffd0fe60 100644
--- a/io.openems.edge.batteryinverter.refu88k/.classpath
+++ b/io.openems.edge.batteryinverter.refu88k/.classpath
@@ -1,7 +1,7 @@
-
+
diff --git a/io.openems.edge.batteryinverter.sinexcel/.classpath b/io.openems.edge.batteryinverter.sinexcel/.classpath
index bbfbdbe40e7..b4cffd0fe60 100644
--- a/io.openems.edge.batteryinverter.sinexcel/.classpath
+++ b/io.openems.edge.batteryinverter.sinexcel/.classpath
@@ -1,7 +1,7 @@
-
+
diff --git a/io.openems.edge.batteryinverter.sunspec/.classpath b/io.openems.edge.batteryinverter.sunspec/.classpath
index bbfbdbe40e7..b4cffd0fe60 100644
--- a/io.openems.edge.batteryinverter.sunspec/.classpath
+++ b/io.openems.edge.batteryinverter.sunspec/.classpath
@@ -1,7 +1,7 @@
-
+
diff --git a/io.openems.edge.bosch.bpts5hybrid/.classpath b/io.openems.edge.bosch.bpts5hybrid/.classpath
index bbfbdbe40e7..b4cffd0fe60 100644
--- a/io.openems.edge.bosch.bpts5hybrid/.classpath
+++ b/io.openems.edge.bosch.bpts5hybrid/.classpath
@@ -1,7 +1,7 @@
-
+
diff --git a/io.openems.edge.bridge.http/.classpath b/io.openems.edge.bridge.http/.classpath
index bbfbdbe40e7..b4cffd0fe60 100644
--- a/io.openems.edge.bridge.http/.classpath
+++ b/io.openems.edge.bridge.http/.classpath
@@ -1,7 +1,7 @@
-
+
diff --git a/io.openems.edge.bridge.http/src/io/openems/edge/bridge/http/BridgeHttpImpl.java b/io.openems.edge.bridge.http/src/io/openems/edge/bridge/http/BridgeHttpImpl.java
index 460236c183c..4cf1838b0a2 100644
--- a/io.openems.edge.bridge.http/src/io/openems/edge/bridge/http/BridgeHttpImpl.java
+++ b/io.openems.edge.bridge.http/src/io/openems/edge/bridge/http/BridgeHttpImpl.java
@@ -20,6 +20,7 @@
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
+import io.openems.common.types.DebugMode;
import io.openems.common.utils.FunctionUtils;
import io.openems.edge.bridge.http.api.BridgeHttp;
import io.openems.edge.bridge.http.api.BridgeHttpExecutor;
@@ -145,6 +146,8 @@ public void shutdown() {
private final Set timeEndpoints = ConcurrentHashMap.newKeySet();
+ private DebugMode debugMode = DebugMode.OFF;
+
@Activate
public BridgeHttpImpl(//
@Reference final CycleSubscriber cycleSubscriber, //
@@ -170,6 +173,11 @@ public void deactivate() {
this.timeEndpoints.clear();
}
+ @Override
+ public void setDebugMode(DebugMode debugMode) {
+ this.debugMode = debugMode;
+ }
+
@Override
public CycleEndpoint subscribeCycle(CycleEndpoint endpoint) {
Objects.requireNonNull(endpoint, "CycleEndpoint is not allowed to be null!");
@@ -202,7 +210,7 @@ public CompletableFuture> request(Endpoint endpoint) {
final var future = new CompletableFuture>();
this.pool.execute(() -> {
try {
- final var result = this.urlFetcher.fetchEndpoint(endpoint);
+ final var result = this.urlFetcher.fetchEndpoint(endpoint, this.debugMode);
future.complete(result);
} catch (HttpError e) {
future.completeExceptionally(e);
@@ -252,7 +260,8 @@ private void handleEvent(Event event) {
private Runnable createTask(CycleEndpointCountdown endpointItem) {
return () -> {
try {
- final var result = this.urlFetcher.fetchEndpoint(endpointItem.getCycleEndpoint().endpoint().get());
+ final var result = this.urlFetcher.fetchEndpoint(endpointItem.getCycleEndpoint().endpoint().get(),
+ this.debugMode);
endpointItem.getCycleEndpoint().onResult().accept(result);
} catch (HttpError e) {
endpointItem.getCycleEndpoint().onError().accept(e);
@@ -275,7 +284,8 @@ private Runnable createTask(TimeEndpointCountdown endpointCountdown) {
HttpResponse result = null;
HttpError error = null;
try {
- result = this.urlFetcher.fetchEndpoint(endpointCountdown.getTimeEndpoint().endpoint().get());
+ result = this.urlFetcher.fetchEndpoint(endpointCountdown.getTimeEndpoint().endpoint().get(),
+ this.debugMode);
endpointCountdown.getTimeEndpoint().onResult().accept(result);
} catch (HttpError e) {
endpointCountdown.getTimeEndpoint().onError().accept(e);
diff --git a/io.openems.edge.bridge.http/src/io/openems/edge/bridge/http/NetworkEndpointFetcher.java b/io.openems.edge.bridge.http/src/io/openems/edge/bridge/http/NetworkEndpointFetcher.java
index 3a751cd7ffc..9add30c9497 100644
--- a/io.openems.edge.bridge.http/src/io/openems/edge/bridge/http/NetworkEndpointFetcher.java
+++ b/io.openems.edge.bridge.http/src/io/openems/edge/bridge/http/NetworkEndpointFetcher.java
@@ -10,9 +10,13 @@
import java.net.URI;
import org.osgi.service.component.annotations.Component;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+import io.openems.common.types.DebugMode;
import io.openems.common.types.HttpStatus;
import io.openems.edge.bridge.http.api.BridgeHttp.Endpoint;
+import io.openems.edge.bridge.http.dummy.DummyEndpointFetcher;
import io.openems.edge.bridge.http.api.EndpointFetcher;
import io.openems.edge.bridge.http.api.HttpError;
import io.openems.edge.bridge.http.api.HttpResponse;
@@ -20,8 +24,10 @@
@Component
public class NetworkEndpointFetcher implements EndpointFetcher {
+ private final Logger log = LoggerFactory.getLogger(DummyEndpointFetcher.class);
+
@Override
- public HttpResponse fetchEndpoint(final Endpoint endpoint) throws HttpError {
+ public HttpResponse fetchEndpoint(final Endpoint endpoint, DebugMode mode) throws HttpError {
try {
var url = URI.create(endpoint.url()).toURL();
var con = (HttpURLConnection) url.openConnection();
@@ -53,6 +59,12 @@ public HttpResponse fetchEndpoint(final Endpoint endpoint) throws HttpEr
if (status.isError()) {
throw new HttpError.ResponseError(status, body);
}
+ if (mode.equals(DebugMode.DETAILED)) {
+ this.log.debug("Fetched Endpoint for request: " + endpoint.url() + "\n" //
+ + "method: " + endpoint.method().name() + "\n" //
+ + "result: " + body //
+ );
+ }
return new HttpResponse<>(status, body);
} catch (IOException e) {
throw new HttpError.UnknownError(e);
diff --git a/io.openems.edge.bridge.http/src/io/openems/edge/bridge/http/api/BridgeHttp.java b/io.openems.edge.bridge.http/src/io/openems/edge/bridge/http/api/BridgeHttp.java
index 52e198f75f8..d3cbf4352e9 100644
--- a/io.openems.edge.bridge.http/src/io/openems/edge/bridge/http/api/BridgeHttp.java
+++ b/io.openems.edge.bridge.http/src/io/openems/edge/bridge/http/api/BridgeHttp.java
@@ -10,6 +10,7 @@
import io.openems.common.exceptions.OpenemsError.OpenemsNamedException;
import io.openems.common.function.ThrowingFunction;
+import io.openems.common.types.DebugMode;
import io.openems.common.utils.JsonUtils;
/**
@@ -73,6 +74,8 @@ public record Endpoint(//
}
+ public void setDebugMode(DebugMode debugMode);
+
/**
* Fetches the url once with {@link HttpMethod#GET}.
*
diff --git a/io.openems.edge.bridge.http/src/io/openems/edge/bridge/http/api/EndpointFetcher.java b/io.openems.edge.bridge.http/src/io/openems/edge/bridge/http/api/EndpointFetcher.java
index c2467110749..e0d1bb54235 100644
--- a/io.openems.edge.bridge.http/src/io/openems/edge/bridge/http/api/EndpointFetcher.java
+++ b/io.openems.edge.bridge.http/src/io/openems/edge/bridge/http/api/EndpointFetcher.java
@@ -1,6 +1,7 @@
package io.openems.edge.bridge.http.api;
import io.openems.common.exceptions.OpenemsError.OpenemsNamedException;
+import io.openems.common.types.DebugMode;
import io.openems.edge.bridge.http.api.BridgeHttp.Endpoint;
public interface EndpointFetcher {
@@ -9,10 +10,11 @@ public interface EndpointFetcher {
* Creates a {@link Runnable} to execute a request with the given parameters.
*
* @param endpoint the {@link Endpoint} to fetch
+ * @param mode the {@link DebugMode}
*
* @return the result of the {@link Endpoint}
* @throws OpenemsNamedException on error
*/
- public HttpResponse fetchEndpoint(Endpoint endpoint) throws HttpError;
+ public HttpResponse fetchEndpoint(Endpoint endpoint, DebugMode mode) throws HttpError;
}
diff --git a/io.openems.edge.bridge.http/src/io/openems/edge/bridge/http/dummy/DummyBridgeHttp.java b/io.openems.edge.bridge.http/src/io/openems/edge/bridge/http/dummy/DummyBridgeHttp.java
index 99040297ca2..647c1d3e6be 100644
--- a/io.openems.edge.bridge.http/src/io/openems/edge/bridge/http/dummy/DummyBridgeHttp.java
+++ b/io.openems.edge.bridge.http/src/io/openems/edge/bridge/http/dummy/DummyBridgeHttp.java
@@ -6,6 +6,7 @@
import java.util.concurrent.CompletableFuture;
import java.util.function.Predicate;
+import io.openems.common.types.DebugMode;
import io.openems.edge.bridge.http.api.BridgeHttp;
import io.openems.edge.bridge.http.api.HttpResponse;
@@ -55,4 +56,9 @@ public Collection removeTimeEndpointIf(Predicate con
return emptyList();
}
+ @Override
+ public void setDebugMode(DebugMode debugMode) {
+ // do nothing
+ }
+
}
diff --git a/io.openems.edge.bridge.http/src/io/openems/edge/bridge/http/dummy/DummyBridgeHttpExecutor.java b/io.openems.edge.bridge.http/src/io/openems/edge/bridge/http/dummy/DummyBridgeHttpExecutor.java
index cf1d07df092..71b7370b2fb 100644
--- a/io.openems.edge.bridge.http/src/io/openems/edge/bridge/http/dummy/DummyBridgeHttpExecutor.java
+++ b/io.openems.edge.bridge.http/src/io/openems/edge/bridge/http/dummy/DummyBridgeHttpExecutor.java
@@ -1,6 +1,6 @@
package io.openems.edge.bridge.http.dummy;
-import static io.openems.edge.common.test.TestUtils.createDummyClock;
+import static io.openems.common.test.TestUtils.createDummyClock;
import java.time.Clock;
import java.time.Duration;
diff --git a/io.openems.edge.bridge.http/src/io/openems/edge/bridge/http/dummy/DummyEndpointFetcher.java b/io.openems.edge.bridge.http/src/io/openems/edge/bridge/http/dummy/DummyEndpointFetcher.java
index 907c714f0d5..269148dd1a9 100644
--- a/io.openems.edge.bridge.http/src/io/openems/edge/bridge/http/dummy/DummyEndpointFetcher.java
+++ b/io.openems.edge.bridge.http/src/io/openems/edge/bridge/http/dummy/DummyEndpointFetcher.java
@@ -7,6 +7,7 @@
import org.slf4j.LoggerFactory;
import io.openems.common.function.ThrowingFunction;
+import io.openems.common.types.DebugMode;
import io.openems.common.utils.FunctionUtils;
import io.openems.edge.bridge.http.api.BridgeHttp.Endpoint;
import io.openems.edge.bridge.http.api.EndpointFetcher;
@@ -29,7 +30,8 @@ public record DummyHandler(//
@Override
public HttpResponse fetchEndpoint(//
- final Endpoint endpoint //
+ final Endpoint endpoint, //
+ DebugMode mode //
) throws HttpError {
try {
for (final var iterator = this.urlHandler.iterator(); iterator.hasNext();) {
@@ -89,5 +91,4 @@ public void addSingleUseEndpointHandler(ThrowingFunction
-
+
diff --git a/io.openems.edge.bridge.modbus/.classpath b/io.openems.edge.bridge.modbus/.classpath
index bbfbdbe40e7..b4cffd0fe60 100644
--- a/io.openems.edge.bridge.modbus/.classpath
+++ b/io.openems.edge.bridge.modbus/.classpath
@@ -1,7 +1,7 @@
-
+
diff --git a/io.openems.edge.bridge.modbus/src/io/openems/edge/bridge/modbus/api/element/WordOrder.java b/io.openems.edge.bridge.modbus/src/io/openems/edge/bridge/modbus/api/element/WordOrder.java
index 0a3d508f1bd..a666988038a 100644
--- a/io.openems.edge.bridge.modbus/src/io/openems/edge/bridge/modbus/api/element/WordOrder.java
+++ b/io.openems.edge.bridge.modbus/src/io/openems/edge/bridge/modbus/api/element/WordOrder.java
@@ -3,7 +3,6 @@
/**
* Defines the word order.
*
- *
*
* - LSWMSW = Least significant word, most significant word
*
- MSWLSW = Most significant word, least significant word
diff --git a/io.openems.edge.bridge.modbus/src/io/openems/edge/bridge/modbus/sunspec/DefaultSunSpecModel.java b/io.openems.edge.bridge.modbus/src/io/openems/edge/bridge/modbus/sunspec/DefaultSunSpecModel.java
index 8911c6ee34e..7d5a31e4c8d 100644
--- a/io.openems.edge.bridge.modbus/src/io/openems/edge/bridge/modbus/sunspec/DefaultSunSpecModel.java
+++ b/io.openems.edge.bridge.modbus/src/io/openems/edge/bridge/modbus/sunspec/DefaultSunSpecModel.java
@@ -2,7 +2,29 @@
package io.openems.edge.bridge.modbus.sunspec;
-import io.openems.common.channel.AccessMode;
+import static io.openems.common.channel.AccessMode.READ_ONLY;
+import static io.openems.common.channel.AccessMode.READ_WRITE;
+import static io.openems.edge.bridge.modbus.sunspec.Point.BitFieldPoint.Type.BITFIELD16;
+import static io.openems.edge.bridge.modbus.sunspec.Point.BitFieldPoint.Type.BITFIELD32;
+import static io.openems.edge.bridge.modbus.sunspec.Point.EnumPoint.Type.ENUM16;
+import static io.openems.edge.bridge.modbus.sunspec.Point.EnumPoint.Type.ENUM32;
+import static io.openems.edge.bridge.modbus.sunspec.Point.ValuePoint.Type.ACC32;
+import static io.openems.edge.bridge.modbus.sunspec.Point.ValuePoint.Type.ACC64;
+import static io.openems.edge.bridge.modbus.sunspec.Point.ValuePoint.Type.FLOAT32;
+import static io.openems.edge.bridge.modbus.sunspec.Point.ValuePoint.Type.INT16;
+import static io.openems.edge.bridge.modbus.sunspec.Point.ValuePoint.Type.INT32;
+import static io.openems.edge.bridge.modbus.sunspec.Point.ValuePoint.Type.STRING16;
+import static io.openems.edge.bridge.modbus.sunspec.Point.ValuePoint.Type.STRING2;
+import static io.openems.edge.bridge.modbus.sunspec.Point.ValuePoint.Type.STRING20;
+import static io.openems.edge.bridge.modbus.sunspec.Point.ValuePoint.Type.STRING32;
+import static io.openems.edge.bridge.modbus.sunspec.Point.ValuePoint.Type.STRING4;
+import static io.openems.edge.bridge.modbus.sunspec.Point.ValuePoint.Type.STRING5;
+import static io.openems.edge.bridge.modbus.sunspec.Point.ValuePoint.Type.STRING6;
+import static io.openems.edge.bridge.modbus.sunspec.Point.ValuePoint.Type.STRING8;
+import static io.openems.edge.bridge.modbus.sunspec.Point.ValuePoint.Type.UINT16;
+import static io.openems.edge.bridge.modbus.sunspec.Point.ValuePoint.Type.UINT32;
+import static io.openems.edge.bridge.modbus.sunspec.Point.ValuePoint.Type.UINT64;
+
import io.openems.common.channel.Level;
import io.openems.common.channel.Unit;
import io.openems.common.types.OptionsEnum;
@@ -166,25 +188,25 @@ public enum DefaultSunSpecModel implements SunSpecModel {
public static enum S1 implements SunSpecPoint {
MN(new ValuePoint("S1_MN", "Manufacturer", //
"Well known value registered with SunSpec for compliance", //
- ValuePoint.Type.STRING16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE)), //
+ STRING16, true /* mandatory? */, READ_ONLY, Unit.NONE)), //
MD(new ValuePoint("S1_MD", "Model", //
"Manufacturer specific value (32 chars)", //
- ValuePoint.Type.STRING16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE)), //
+ STRING16, true /* mandatory? */, READ_ONLY, Unit.NONE)), //
OPT(new ValuePoint("S1_OPT", "Options", //
"Manufacturer specific value (16 chars)", //
- ValuePoint.Type.STRING8, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE)), //
+ STRING8, false /* mandatory? */, READ_ONLY, Unit.NONE)), //
VR(new ValuePoint("S1_VR", "Version", //
"Manufacturer specific value (16 chars)", //
- ValuePoint.Type.STRING8, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE)), //
+ STRING8, false /* mandatory? */, READ_ONLY, Unit.NONE)), //
SN(new ValuePoint("S1_SN", "Serial Number", //
"Manufacturer specific value (32 chars)", //
- ValuePoint.Type.STRING16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE)), //
+ STRING16, true /* mandatory? */, READ_ONLY, Unit.NONE)), //
DA(new ValuePoint("S1_DA", "Device Address", //
"Modbus device address", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_WRITE, Unit.NONE)), //
+ UINT16, false /* mandatory? */, READ_WRITE, Unit.NONE)), //
PAD(new ValuePoint("S1_PAD", "", //
"Force even alignment", //
- ValuePoint.Type.PAD, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE));
+ ValuePoint.Type.PAD, false /* mandatory? */, READ_ONLY, Unit.NONE));
private final Point point;
@@ -201,34 +223,34 @@ public Point get() {
public static enum S2 implements SunSpecPoint {
AID(new ValuePoint("S2_AID", "AID", //
"Aggregated model id", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE)), //
+ UINT16, true /* mandatory? */, READ_ONLY, Unit.NONE)), //
N(new ValuePoint("S2_N", "N", //
"Number of aggregated models", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE)), //
+ UINT16, true /* mandatory? */, READ_ONLY, Unit.NONE)), //
UN(new ValuePoint("S2_UN", "UN", //
"Update Number. Incrementing number each time the mapping is changed. If the number is not changed from the last reading the direct access to a specific offset will result in reading the same logical model as before. Otherwise the entire model must be read to refresh the changes", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE)), //
+ UINT16, true /* mandatory? */, READ_ONLY, Unit.NONE)), //
ST(new EnumPoint("S2_ST", "Status", //
"Enumerated status code", //
- EnumPoint.Type.ENUM16, true /* mandatory? */, AccessMode.READ_ONLY, S2_St.values())), //
+ ENUM16, true /* mandatory? */, READ_ONLY, S2_St.values())), //
ST_VND(new EnumPoint("S2_ST_VND", "Vendor Status", //
"Vendor specific status code", //
- EnumPoint.Type.ENUM16, false /* mandatory? */, AccessMode.READ_ONLY, new OptionsEnum[0])), //
+ ENUM16, false /* mandatory? */, READ_ONLY, new OptionsEnum[0])), //
EVT(new BitFieldPoint("S2_EVT", "Event Code", //
"Bitmask event code", //
- BitFieldPoint.Type.BITFIELD32, true /* mandatory? */, AccessMode.READ_ONLY, S2_Evt.values())), //
+ BITFIELD32, true /* mandatory? */, READ_ONLY, S2_Evt.values())), //
EVT_VND(new BitFieldPoint("S2_EVT_VND", "Vendor Event Code", //
"Vendor specific event code", //
- BitFieldPoint.Type.BITFIELD32, false /* mandatory? */, AccessMode.READ_ONLY, new SunSpecBitPoint[0])), //
+ BITFIELD32, false /* mandatory? */, READ_ONLY, new SunSpecBitPoint[0])), //
CTL(new EnumPoint("S2_CTL", "Control", //
"Control register for all aggregated devices", //
- EnumPoint.Type.ENUM16, false /* mandatory? */, AccessMode.READ_ONLY, S2_Ctl.values())), //
+ ENUM16, false /* mandatory? */, READ_ONLY, S2_Ctl.values())), //
CTL_VND(new EnumPoint("S2_CTL_VND", "Vendor Control", //
"Vendor control register for all aggregated devices", //
- EnumPoint.Type.ENUM32, false /* mandatory? */, AccessMode.READ_ONLY, new OptionsEnum[0])), //
+ ENUM32, false /* mandatory? */, READ_ONLY, new OptionsEnum[0])), //
CTL_VL(new EnumPoint("S2_CTL_VL", "Control Value", //
"Numerical value used as a parameter to the control", //
- EnumPoint.Type.ENUM32, false /* mandatory? */, AccessMode.READ_ONLY, new OptionsEnum[0]));
+ ENUM32, false /* mandatory? */, READ_ONLY, new OptionsEnum[0]));
private final Point point;
@@ -343,42 +365,42 @@ public OptionsEnum getUndefined() {
public static enum S15 implements SunSpecPoint {
CLR(new ValuePoint("S15_CLR", "Clear", //
"Write a \"1\" to clear all counters", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_WRITE, Unit.NONE)), //
+ UINT16, false /* mandatory? */, READ_WRITE, Unit.NONE)), //
IN_CNT(new ValuePoint("S15_IN_CNT", "Input Count", //
"Number of bytes received", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE)), //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.NONE)), //
IN_UC_CNT(new ValuePoint("S15_IN_UC_CNT", "Input Unicast Count", //
"Number of Unicast packets received", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE)), //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.NONE)), //
IN_N_UC_CNT(new ValuePoint("S15_IN_N_UC_CNT", "Input Non-Unicast Count", //
"Number of non-Unicast packets received", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE)), //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.NONE)), //
IN_DSC_CNT(new ValuePoint("S15_IN_DSC_CNT", "Input Discarded Count", //
"Number of inbound packets received on the interface but discarded", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE)), //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.NONE)), //
IN_ERR_CNT(new ValuePoint("S15_IN_ERR_CNT", "Input Error Count", //
"Number of inbound packets that contain errors (excluding discards)", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE)), //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.NONE)), //
IN_UNK_CNT(new ValuePoint("S15_IN_UNK_CNT", "Input Unknown Count", //
"Number of inbound packets with unknown protocol", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE)), //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.NONE)), //
OUT_CNT(new ValuePoint("S15_OUT_CNT", "Output Count", //
"Total number of bytes transmitted on this interface", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE)), //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.NONE)), //
OUT_UC_CNT(new ValuePoint("S15_OUT_UC_CNT", "Output Unicast Count", //
"Number of Unicast packets transmitted", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE)), //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.NONE)), //
OUT_N_UC_CNT(new ValuePoint("S15_OUT_N_UC_CNT", "Output Non-Unicast Count", //
"Number of Non-Unicast packets transmitted", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE)), //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.NONE)), //
OUT_DSC_CNT(new ValuePoint("S15_OUT_DSC_CNT", "Output Discarded Count", //
"Number of Discarded output packets", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE)), //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.NONE)), //
OUT_ERR_CNT(new ValuePoint("S15_OUT_ERR_CNT", "Output Error Count", //
"Number of outbound error packets", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE)), //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.NONE)), //
PAD(new ValuePoint("S15_PAD", "", "", //
- ValuePoint.Type.PAD, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE));
+ ValuePoint.Type.PAD, false /* mandatory? */, READ_ONLY, Unit.NONE));
private final Point point;
@@ -395,19 +417,19 @@ public Point get() {
public static enum S18 implements SunSpecPoint {
NAM(new ValuePoint("S18_NAM", "Name", //
"Interface name", //
- ValuePoint.Type.STRING4, false /* mandatory? */, AccessMode.READ_WRITE, Unit.NONE)), //
+ STRING4, false /* mandatory? */, READ_WRITE, Unit.NONE)), //
IMEI(new ValuePoint("S18_IMEI", "IMEI", //
"International Mobile Equipment Identifier for the interface", //
- ValuePoint.Type.UINT32, false /* mandatory? */, AccessMode.READ_WRITE, Unit.NONE)), //
+ UINT32, false /* mandatory? */, READ_WRITE, Unit.NONE)), //
APN(new ValuePoint("S18_APN", "APN", //
"Access Point Name for the interface", //
- ValuePoint.Type.STRING4, false /* mandatory? */, AccessMode.READ_WRITE, Unit.NONE)), //
+ STRING4, false /* mandatory? */, READ_WRITE, Unit.NONE)), //
NUM(new ValuePoint("S18_NUM", "Number", //
"Phone number for the interface", //
- ValuePoint.Type.STRING6, false /* mandatory? */, AccessMode.READ_WRITE, Unit.NONE)), //
+ STRING6, false /* mandatory? */, READ_WRITE, Unit.NONE)), //
PIN(new ValuePoint("S18_PIN", "PIN", //
"Personal Identification Number for the interface", //
- ValuePoint.Type.STRING6, false /* mandatory? */, AccessMode.READ_WRITE, Unit.NONE));
+ STRING6, false /* mandatory? */, READ_WRITE, Unit.NONE));
private final Point point;
@@ -424,109 +446,109 @@ public Point get() {
public static enum S101 implements SunSpecPoint {
A(new ScaledValuePoint("S101_A", "Amps", //
"AC Current", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.AMPERE, "A_SF")), //
+ UINT16, true /* mandatory? */, READ_ONLY, Unit.AMPERE, "A_SF")), //
APH_A(new ScaledValuePoint("S101_APH_A", "Amps PhaseA", //
"Phase A Current", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.AMPERE, "A_SF")), //
+ UINT16, true /* mandatory? */, READ_ONLY, Unit.AMPERE, "A_SF")), //
APH_B(new ScaledValuePoint("S101_APH_B", "Amps PhaseB", //
"Phase B Current", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.AMPERE, "A_SF")), //
+ UINT16, false /* mandatory? */, READ_ONLY, Unit.AMPERE, "A_SF")), //
APH_C(new ScaledValuePoint("S101_APH_C", "Amps PhaseC", //
"Phase C Current", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.AMPERE, "A_SF")), //
+ UINT16, false /* mandatory? */, READ_ONLY, Unit.AMPERE, "A_SF")), //
A_SF(new ScaleFactorPoint("S101_A_SF", "", "")), //
P_P_VPH_A_B(new ScaledValuePoint("S101_P_P_VPH_A_B", "Phase Voltage AB", //
"Phase Voltage AB", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT, "V_SF")), //
+ UINT16, false /* mandatory? */, READ_ONLY, Unit.VOLT, "V_SF")), //
P_P_VPH_B_C(new ScaledValuePoint("S101_P_P_VPH_B_C", "Phase Voltage BC", //
"Phase Voltage BC", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT, "V_SF")), //
+ UINT16, false /* mandatory? */, READ_ONLY, Unit.VOLT, "V_SF")), //
P_P_VPH_C_A(new ScaledValuePoint("S101_P_P_VPH_C_A", "Phase Voltage CA", //
"Phase Voltage CA", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT, "V_SF")), //
+ UINT16, false /* mandatory? */, READ_ONLY, Unit.VOLT, "V_SF")), //
PH_VPH_A(new ScaledValuePoint("S101_PH_VPH_A", "Phase Voltage AN", //
"Phase Voltage AN", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT, "V_SF")), //
+ UINT16, true /* mandatory? */, READ_ONLY, Unit.VOLT, "V_SF")), //
PH_VPH_B(new ScaledValuePoint("S101_PH_VPH_B", "Phase Voltage BN", //
"Phase Voltage BN", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT, "V_SF")), //
+ UINT16, false /* mandatory? */, READ_ONLY, Unit.VOLT, "V_SF")), //
PH_VPH_C(new ScaledValuePoint("S101_PH_VPH_C", "Phase Voltage CN", //
"Phase Voltage CN", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT, "V_SF")), //
+ UINT16, false /* mandatory? */, READ_ONLY, Unit.VOLT, "V_SF")), //
V_SF(new ScaleFactorPoint("S101_V_SF", "", "")), //
W(new ScaledValuePoint("S101_W", "Watts", //
"AC Power", //
- ValuePoint.Type.INT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.WATT, "W_SF")), //
+ INT16, true /* mandatory? */, READ_ONLY, Unit.WATT, "W_SF")), //
W_SF(new ScaleFactorPoint("S101_W_SF", "", "")), //
HZ(new ScaledValuePoint("S101_HZ", "Hz", //
"Line Frequency", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.HERTZ, "Hz_SF")), //
+ UINT16, true /* mandatory? */, READ_ONLY, Unit.HERTZ, "Hz_SF")), //
HZ_S_F(new ScaleFactorPoint("S101_HZ_S_F", "", "")), //
VA(new ScaledValuePoint("S101_VA", "VA", //
"AC Apparent Power", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE, "VA_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE, "VA_SF")), //
VA_SF(new ScaleFactorPoint("S101_VA_SF", "", "")), //
V_AR(new ScaledValuePoint("S101_V_AR", "VAr", //
"AC Reactive Power", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_REACTIVE, "VAr_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_REACTIVE, "VAr_SF")), //
V_AR_S_F(new ScaleFactorPoint("S101_V_AR_S_F", "", "")), //
PF(new ScaledValuePoint("S101_PF", "PF", //
"AC Power Factor", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE, "PF_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.NONE, "PF_SF")), //
PF_SF(new ScaleFactorPoint("S101_PF_SF", "", "")), //
WH(new ScaledValuePoint("S101_WH", "WattHours", //
"AC Energy", //
- ValuePoint.Type.ACC32, true /* mandatory? */, AccessMode.READ_ONLY, Unit.CUMULATED_WATT_HOURS, "WH_SF")), //
+ ACC32, true /* mandatory? */, READ_ONLY, Unit.CUMULATED_WATT_HOURS, "WH_SF")), //
WH_SF(new ScaleFactorPoint("S101_WH_SF", "", "")), //
DCA(new ScaledValuePoint("S101_DCA", "DC Amps", //
"DC Current", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.AMPERE, "DCA_SF")), //
+ UINT16, false /* mandatory? */, READ_ONLY, Unit.AMPERE, "DCA_SF")), //
DCA_SF(new ScaleFactorPoint("S101_DCA_SF", "", "")), //
DCV(new ScaledValuePoint("S101_DCV", "DC Voltage", //
"DC Voltage", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT, "DCV_SF")), //
+ UINT16, false /* mandatory? */, READ_ONLY, Unit.VOLT, "DCV_SF")), //
DCV_SF(new ScaleFactorPoint("S101_DCV_SF", "", "")), //
DCW(new ScaledValuePoint("S101_DCW", "DC Watts", //
"DC Power", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.WATT, "DCW_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.WATT, "DCW_SF")), //
DCW_SF(new ScaleFactorPoint("S101_DCW_SF", "", "")), //
TMP_CAB(new ScaledValuePoint("S101_TMP_CAB", "Cabinet Temperature", //
"Cabinet Temperature", //
- ValuePoint.Type.INT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.DEGREE_CELSIUS, "Tmp_SF")), //
+ INT16, true /* mandatory? */, READ_ONLY, Unit.DEGREE_CELSIUS, "Tmp_SF")), //
TMP_SNK(new ScaledValuePoint("S101_TMP_SNK", "Heat Sink Temperature", //
"Heat Sink Temperature", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.DEGREE_CELSIUS, "Tmp_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.DEGREE_CELSIUS, "Tmp_SF")), //
TMP_TRNS(new ScaledValuePoint("S101_TMP_TRNS", "Transformer Temperature", //
"Transformer Temperature", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.DEGREE_CELSIUS, "Tmp_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.DEGREE_CELSIUS, "Tmp_SF")), //
TMP_OT(new ScaledValuePoint("S101_TMP_OT", "Other Temperature", //
"Other Temperature", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.DEGREE_CELSIUS, "Tmp_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.DEGREE_CELSIUS, "Tmp_SF")), //
TMP_S_F(new ScaleFactorPoint("S101_TMP_S_F", "", "")), //
ST(new EnumPoint("S101_ST", "Operating State", //
"Enumerated value. Operating state", //
- EnumPoint.Type.ENUM16, true /* mandatory? */, AccessMode.READ_ONLY, S101_St.values())), //
+ ENUM16, true /* mandatory? */, READ_ONLY, S101_St.values())), //
ST_VND(new EnumPoint("S101_ST_VND", "Vendor Operating State", //
"Vendor specific operating state code", //
- EnumPoint.Type.ENUM16, false /* mandatory? */, AccessMode.READ_ONLY, new OptionsEnum[0])), //
+ ENUM16, false /* mandatory? */, READ_ONLY, new OptionsEnum[0])), //
EVT1(new BitFieldPoint("S101_EVT1", "Event1", //
"Bitmask value. Event fields", //
- BitFieldPoint.Type.BITFIELD32, true /* mandatory? */, AccessMode.READ_ONLY, S101_Evt1.values())), //
+ BITFIELD32, true /* mandatory? */, READ_ONLY, S101_Evt1.values())), //
EVT2(new BitFieldPoint("S101_EVT2", "Event Bitfield 2", //
"Reserved for future use", //
- BitFieldPoint.Type.BITFIELD32, true /* mandatory? */, AccessMode.READ_ONLY, new SunSpecBitPoint[0])), //
+ BITFIELD32, true /* mandatory? */, READ_ONLY, new SunSpecBitPoint[0])), //
EVT_VND1(new BitFieldPoint("S101_EVT_VND1", "Vendor Event Bitfield 1", //
"Vendor defined events", //
- BitFieldPoint.Type.BITFIELD32, false /* mandatory? */, AccessMode.READ_ONLY, new SunSpecBitPoint[0])), //
+ BITFIELD32, false /* mandatory? */, READ_ONLY, new SunSpecBitPoint[0])), //
EVT_VND2(new BitFieldPoint("S101_EVT_VND2", "Vendor Event Bitfield 2", //
"Vendor defined events", //
- BitFieldPoint.Type.BITFIELD32, false /* mandatory? */, AccessMode.READ_ONLY, new SunSpecBitPoint[0])), //
+ BITFIELD32, false /* mandatory? */, READ_ONLY, new SunSpecBitPoint[0])), //
EVT_VND3(new BitFieldPoint("S101_EVT_VND3", "Vendor Event Bitfield 3", //
"Vendor defined events", //
- BitFieldPoint.Type.BITFIELD32, false /* mandatory? */, AccessMode.READ_ONLY, new SunSpecBitPoint[0])), //
+ BITFIELD32, false /* mandatory? */, READ_ONLY, new SunSpecBitPoint[0])), //
EVT_VND4(new BitFieldPoint("S101_EVT_VND4", "Vendor Event Bitfield 4", //
"Vendor defined events", //
- BitFieldPoint.Type.BITFIELD32, false /* mandatory? */, AccessMode.READ_ONLY, new SunSpecBitPoint[0]));
+ BITFIELD32, false /* mandatory? */, READ_ONLY, new SunSpecBitPoint[0]));
private final Point point;
@@ -608,109 +630,109 @@ public BitPoint get() {
public static enum S102 implements SunSpecPoint {
A(new ScaledValuePoint("S102_A", "Amps", //
"AC Current", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.AMPERE, "A_SF")), //
+ UINT16, true /* mandatory? */, READ_ONLY, Unit.AMPERE, "A_SF")), //
APH_A(new ScaledValuePoint("S102_APH_A", "Amps PhaseA", //
"Phase A Current", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.AMPERE, "A_SF")), //
+ UINT16, true /* mandatory? */, READ_ONLY, Unit.AMPERE, "A_SF")), //
APH_B(new ScaledValuePoint("S102_APH_B", "Amps PhaseB", //
"Phase B Current", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.AMPERE, "A_SF")), //
+ UINT16, true /* mandatory? */, READ_ONLY, Unit.AMPERE, "A_SF")), //
APH_C(new ScaledValuePoint("S102_APH_C", "Amps PhaseC", //
"Phase C Current", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.AMPERE, "A_SF")), //
+ UINT16, false /* mandatory? */, READ_ONLY, Unit.AMPERE, "A_SF")), //
A_SF(new ScaleFactorPoint("S102_A_SF", "", "")), //
P_P_VPH_A_B(new ScaledValuePoint("S102_P_P_VPH_A_B", "Phase Voltage AB", //
"Phase Voltage AB", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT, "V_SF")), //
+ UINT16, false /* mandatory? */, READ_ONLY, Unit.VOLT, "V_SF")), //
P_P_VPH_B_C(new ScaledValuePoint("S102_P_P_VPH_B_C", "Phase Voltage BC", //
"Phase Voltage BC", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT, "V_SF")), //
+ UINT16, false /* mandatory? */, READ_ONLY, Unit.VOLT, "V_SF")), //
P_P_VPH_C_A(new ScaledValuePoint("S102_P_P_VPH_C_A", "Phase Voltage CA", //
"Phase Voltage CA", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT, "V_SF")), //
+ UINT16, false /* mandatory? */, READ_ONLY, Unit.VOLT, "V_SF")), //
PH_VPH_A(new ScaledValuePoint("S102_PH_VPH_A", "Phase Voltage AN", //
"Phase Voltage AN", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT, "V_SF")), //
+ UINT16, true /* mandatory? */, READ_ONLY, Unit.VOLT, "V_SF")), //
PH_VPH_B(new ScaledValuePoint("S102_PH_VPH_B", "Phase Voltage BN", //
"Phase Voltage BN", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT, "V_SF")), //
+ UINT16, true /* mandatory? */, READ_ONLY, Unit.VOLT, "V_SF")), //
PH_VPH_C(new ScaledValuePoint("S102_PH_VPH_C", "Phase Voltage CN", //
"Phase Voltage CN", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT, "V_SF")), //
+ UINT16, false /* mandatory? */, READ_ONLY, Unit.VOLT, "V_SF")), //
V_SF(new ScaleFactorPoint("S102_V_SF", "", "")), //
W(new ScaledValuePoint("S102_W", "Watts", //
"AC Power", //
- ValuePoint.Type.INT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.WATT, "W_SF")), //
+ INT16, true /* mandatory? */, READ_ONLY, Unit.WATT, "W_SF")), //
W_SF(new ScaleFactorPoint("S102_W_SF", "", "")), //
HZ(new ScaledValuePoint("S102_HZ", "Hz", //
"Line Frequency", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.HERTZ, "Hz_SF")), //
+ UINT16, true /* mandatory? */, READ_ONLY, Unit.HERTZ, "Hz_SF")), //
HZ_S_F(new ScaleFactorPoint("S102_HZ_S_F", "", "")), //
VA(new ScaledValuePoint("S102_VA", "VA", //
"AC Apparent Power", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE, "VA_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE, "VA_SF")), //
VA_SF(new ScaleFactorPoint("S102_VA_SF", "", "")), //
V_AR(new ScaledValuePoint("S102_V_AR", "VAr", //
"AC Reactive Power", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_REACTIVE, "VAr_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_REACTIVE, "VAr_SF")), //
V_AR_S_F(new ScaleFactorPoint("S102_V_AR_S_F", "", "")), //
PF(new ScaledValuePoint("S102_PF", "PF", //
"AC Power Factor", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE, "PF_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.NONE, "PF_SF")), //
PF_SF(new ScaleFactorPoint("S102_PF_SF", "", "")), //
WH(new ScaledValuePoint("S102_WH", "WattHours", //
"AC Energy", //
- ValuePoint.Type.ACC32, true /* mandatory? */, AccessMode.READ_ONLY, Unit.CUMULATED_WATT_HOURS, "WH_SF")), //
+ ACC32, true /* mandatory? */, READ_ONLY, Unit.CUMULATED_WATT_HOURS, "WH_SF")), //
WH_SF(new ScaleFactorPoint("S102_WH_SF", "", "")), //
DCA(new ScaledValuePoint("S102_DCA", "DC Amps", //
"DC Current", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.AMPERE, "DCA_SF")), //
+ UINT16, false /* mandatory? */, READ_ONLY, Unit.AMPERE, "DCA_SF")), //
DCA_SF(new ScaleFactorPoint("S102_DCA_SF", "", "")), //
DCV(new ScaledValuePoint("S102_DCV", "DC Voltage", //
"DC Voltage", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT, "DCV_SF")), //
+ UINT16, false /* mandatory? */, READ_ONLY, Unit.VOLT, "DCV_SF")), //
DCV_SF(new ScaleFactorPoint("S102_DCV_SF", "", "")), //
DCW(new ScaledValuePoint("S102_DCW", "DC Watts", //
"DC Power", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.WATT, "DCW_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.WATT, "DCW_SF")), //
DCW_SF(new ScaleFactorPoint("S102_DCW_SF", "", "")), //
TMP_CAB(new ScaledValuePoint("S102_TMP_CAB", "Cabinet Temperature", //
"Cabinet Temperature", //
- ValuePoint.Type.INT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.DEGREE_CELSIUS, "Tmp_SF")), //
+ INT16, true /* mandatory? */, READ_ONLY, Unit.DEGREE_CELSIUS, "Tmp_SF")), //
TMP_SNK(new ScaledValuePoint("S102_TMP_SNK", "Heat Sink Temperature", //
"Heat Sink Temperature", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.DEGREE_CELSIUS, "Tmp_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.DEGREE_CELSIUS, "Tmp_SF")), //
TMP_TRNS(new ScaledValuePoint("S102_TMP_TRNS", "Transformer Temperature", //
"Transformer Temperature", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.DEGREE_CELSIUS, "Tmp_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.DEGREE_CELSIUS, "Tmp_SF")), //
TMP_OT(new ScaledValuePoint("S102_TMP_OT", "Other Temperature", //
"Other Temperature", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.DEGREE_CELSIUS, "Tmp_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.DEGREE_CELSIUS, "Tmp_SF")), //
TMP_S_F(new ScaleFactorPoint("S102_TMP_S_F", "", "")), //
ST(new EnumPoint("S102_ST", "Operating State", //
"Enumerated value. Operating state", //
- EnumPoint.Type.ENUM16, true /* mandatory? */, AccessMode.READ_ONLY, S102_St.values())), //
+ ENUM16, true /* mandatory? */, READ_ONLY, S102_St.values())), //
ST_VND(new EnumPoint("S102_ST_VND", "Vendor Operating State", //
"Vendor specific operating state code", //
- EnumPoint.Type.ENUM16, false /* mandatory? */, AccessMode.READ_ONLY, new OptionsEnum[0])), //
+ ENUM16, false /* mandatory? */, READ_ONLY, new OptionsEnum[0])), //
EVT1(new BitFieldPoint("S102_EVT1", "Event1", //
"Bitmask value. Event fields", //
- BitFieldPoint.Type.BITFIELD32, true /* mandatory? */, AccessMode.READ_ONLY, S102_Evt1.values())), //
+ BITFIELD32, true /* mandatory? */, READ_ONLY, S102_Evt1.values())), //
EVT2(new BitFieldPoint("S102_EVT2", "Event Bitfield 2", //
"Reserved for future use", //
- BitFieldPoint.Type.BITFIELD32, true /* mandatory? */, AccessMode.READ_ONLY, new SunSpecBitPoint[0])), //
+ BITFIELD32, true /* mandatory? */, READ_ONLY, new SunSpecBitPoint[0])), //
EVT_VND1(new BitFieldPoint("S102_EVT_VND1", "Vendor Event Bitfield 1", //
"Vendor defined events", //
- BitFieldPoint.Type.BITFIELD32, false /* mandatory? */, AccessMode.READ_ONLY, new SunSpecBitPoint[0])), //
+ BITFIELD32, false /* mandatory? */, READ_ONLY, new SunSpecBitPoint[0])), //
EVT_VND2(new BitFieldPoint("S102_EVT_VND2", "Vendor Event Bitfield 2", //
"Vendor defined events", //
- BitFieldPoint.Type.BITFIELD32, false /* mandatory? */, AccessMode.READ_ONLY, new SunSpecBitPoint[0])), //
+ BITFIELD32, false /* mandatory? */, READ_ONLY, new SunSpecBitPoint[0])), //
EVT_VND3(new BitFieldPoint("S102_EVT_VND3", "Vendor Event Bitfield 3", //
"Vendor defined events", //
- BitFieldPoint.Type.BITFIELD32, false /* mandatory? */, AccessMode.READ_ONLY, new SunSpecBitPoint[0])), //
+ BITFIELD32, false /* mandatory? */, READ_ONLY, new SunSpecBitPoint[0])), //
EVT_VND4(new BitFieldPoint("S102_EVT_VND4", "Vendor Event Bitfield 4", //
"Vendor defined events", //
- BitFieldPoint.Type.BITFIELD32, false /* mandatory? */, AccessMode.READ_ONLY, new SunSpecBitPoint[0]));
+ BITFIELD32, false /* mandatory? */, READ_ONLY, new SunSpecBitPoint[0]));
private final Point point;
@@ -792,109 +814,109 @@ public BitPoint get() {
public static enum S103 implements SunSpecPoint {
A(new ScaledValuePoint("S103_A", "Amps", //
"AC Current", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.AMPERE, "A_SF")), //
+ UINT16, true /* mandatory? */, READ_ONLY, Unit.AMPERE, "A_SF")), //
APH_A(new ScaledValuePoint("S103_APH_A", "Amps PhaseA", //
"Phase A Current", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.AMPERE, "A_SF")), //
+ UINT16, true /* mandatory? */, READ_ONLY, Unit.AMPERE, "A_SF")), //
APH_B(new ScaledValuePoint("S103_APH_B", "Amps PhaseB", //
"Phase B Current", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.AMPERE, "A_SF")), //
+ UINT16, true /* mandatory? */, READ_ONLY, Unit.AMPERE, "A_SF")), //
APH_C(new ScaledValuePoint("S103_APH_C", "Amps PhaseC", //
"Phase C Current", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.AMPERE, "A_SF")), //
+ UINT16, true /* mandatory? */, READ_ONLY, Unit.AMPERE, "A_SF")), //
A_SF(new ScaleFactorPoint("S103_A_SF", "", "")), //
P_P_VPH_A_B(new ScaledValuePoint("S103_P_P_VPH_A_B", "Phase Voltage AB", //
"Phase Voltage AB", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT, "V_SF")), //
+ UINT16, false /* mandatory? */, READ_ONLY, Unit.VOLT, "V_SF")), //
P_P_VPH_B_C(new ScaledValuePoint("S103_P_P_VPH_B_C", "Phase Voltage BC", //
"Phase Voltage BC", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT, "V_SF")), //
+ UINT16, false /* mandatory? */, READ_ONLY, Unit.VOLT, "V_SF")), //
P_P_VPH_C_A(new ScaledValuePoint("S103_P_P_VPH_C_A", "Phase Voltage CA", //
"Phase Voltage CA", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT, "V_SF")), //
+ UINT16, false /* mandatory? */, READ_ONLY, Unit.VOLT, "V_SF")), //
PH_VPH_A(new ScaledValuePoint("S103_PH_VPH_A", "Phase Voltage AN", //
"Phase Voltage AN", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT, "V_SF")), //
+ UINT16, true /* mandatory? */, READ_ONLY, Unit.VOLT, "V_SF")), //
PH_VPH_B(new ScaledValuePoint("S103_PH_VPH_B", "Phase Voltage BN", //
"Phase Voltage BN", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT, "V_SF")), //
+ UINT16, true /* mandatory? */, READ_ONLY, Unit.VOLT, "V_SF")), //
PH_VPH_C(new ScaledValuePoint("S103_PH_VPH_C", "Phase Voltage CN", //
"Phase Voltage CN", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT, "V_SF")), //
+ UINT16, true /* mandatory? */, READ_ONLY, Unit.VOLT, "V_SF")), //
V_SF(new ScaleFactorPoint("S103_V_SF", "", "")), //
W(new ScaledValuePoint("S103_W", "Watts", //
"AC Power", //
- ValuePoint.Type.INT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.WATT, "W_SF")), //
+ INT16, true /* mandatory? */, READ_ONLY, Unit.WATT, "W_SF")), //
W_SF(new ScaleFactorPoint("S103_W_SF", "", "")), //
HZ(new ScaledValuePoint("S103_HZ", "Hz", //
"Line Frequency", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.HERTZ, "Hz_SF")), //
+ UINT16, true /* mandatory? */, READ_ONLY, Unit.HERTZ, "Hz_SF")), //
HZ_S_F(new ScaleFactorPoint("S103_HZ_S_F", "", "")), //
VA(new ScaledValuePoint("S103_VA", "VA", //
"AC Apparent Power", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE, "VA_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE, "VA_SF")), //
VA_SF(new ScaleFactorPoint("S103_VA_SF", "", "")), //
V_AR(new ScaledValuePoint("S103_V_AR", "VAr", //
"AC Reactive Power", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_REACTIVE, "VAr_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_REACTIVE, "VAr_SF")), //
V_AR_S_F(new ScaleFactorPoint("S103_V_AR_S_F", "", "")), //
PF(new ScaledValuePoint("S103_PF", "PF", //
"AC Power Factor", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE, "PF_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.NONE, "PF_SF")), //
PF_SF(new ScaleFactorPoint("S103_PF_SF", "", "")), //
WH(new ScaledValuePoint("S103_WH", "WattHours", //
"AC Energy", //
- ValuePoint.Type.ACC32, true /* mandatory? */, AccessMode.READ_ONLY, Unit.CUMULATED_WATT_HOURS, "WH_SF")), //
+ ACC32, true /* mandatory? */, READ_ONLY, Unit.CUMULATED_WATT_HOURS, "WH_SF")), //
WH_SF(new ScaleFactorPoint("S103_WH_SF", "", "")), //
DCA(new ScaledValuePoint("S103_DCA", "DC Amps", //
"DC Current", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.AMPERE, "DCA_SF")), //
+ UINT16, false /* mandatory? */, READ_ONLY, Unit.AMPERE, "DCA_SF")), //
DCA_SF(new ScaleFactorPoint("S103_DCA_SF", "", "")), //
DCV(new ScaledValuePoint("S103_DCV", "DC Voltage", //
"DC Voltage", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT, "DCV_SF")), //
+ UINT16, false /* mandatory? */, READ_ONLY, Unit.VOLT, "DCV_SF")), //
DCV_SF(new ScaleFactorPoint("S103_DCV_SF", "", "")), //
DCW(new ScaledValuePoint("S103_DCW", "DC Watts", //
"DC Power", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.WATT, "DCW_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.WATT, "DCW_SF")), //
DCW_SF(new ScaleFactorPoint("S103_DCW_SF", "", "")), //
TMP_CAB(new ScaledValuePoint("S103_TMP_CAB", "Cabinet Temperature", //
"Cabinet Temperature", //
- ValuePoint.Type.INT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.DEGREE_CELSIUS, "Tmp_SF")), //
+ INT16, true /* mandatory? */, READ_ONLY, Unit.DEGREE_CELSIUS, "Tmp_SF")), //
TMP_SNK(new ScaledValuePoint("S103_TMP_SNK", "Heat Sink Temperature", //
"Heat Sink Temperature", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.DEGREE_CELSIUS, "Tmp_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.DEGREE_CELSIUS, "Tmp_SF")), //
TMP_TRNS(new ScaledValuePoint("S103_TMP_TRNS", "Transformer Temperature", //
"Transformer Temperature", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.DEGREE_CELSIUS, "Tmp_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.DEGREE_CELSIUS, "Tmp_SF")), //
TMP_OT(new ScaledValuePoint("S103_TMP_OT", "Other Temperature", //
"Other Temperature", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.DEGREE_CELSIUS, "Tmp_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.DEGREE_CELSIUS, "Tmp_SF")), //
TMP_S_F(new ScaleFactorPoint("S103_TMP_S_F", "", "")), //
ST(new EnumPoint("S103_ST", "Operating State", //
"Enumerated value. Operating state", //
- EnumPoint.Type.ENUM16, true /* mandatory? */, AccessMode.READ_ONLY, S103_St.values())), //
+ ENUM16, true /* mandatory? */, READ_ONLY, S103_St.values())), //
ST_VND(new EnumPoint("S103_ST_VND", "Vendor Operating State", //
"Vendor specific operating state code", //
- EnumPoint.Type.ENUM16, false /* mandatory? */, AccessMode.READ_ONLY, new OptionsEnum[0])), //
+ ENUM16, false /* mandatory? */, READ_ONLY, new OptionsEnum[0])), //
EVT1(new BitFieldPoint("S103_EVT1", "Event1", //
"Bitmask value. Event fields", //
- BitFieldPoint.Type.BITFIELD32, true /* mandatory? */, AccessMode.READ_ONLY, S103_Evt1.values())), //
+ BITFIELD32, true /* mandatory? */, READ_ONLY, S103_Evt1.values())), //
EVT2(new BitFieldPoint("S103_EVT2", "Event Bitfield 2", //
"Reserved for future use", //
- BitFieldPoint.Type.BITFIELD32, true /* mandatory? */, AccessMode.READ_ONLY, new SunSpecBitPoint[0])), //
+ BITFIELD32, true /* mandatory? */, READ_ONLY, new SunSpecBitPoint[0])), //
EVT_VND1(new BitFieldPoint("S103_EVT_VND1", "Vendor Event Bitfield 1", //
"Vendor defined events", //
- BitFieldPoint.Type.BITFIELD32, false /* mandatory? */, AccessMode.READ_ONLY, new SunSpecBitPoint[0])), //
+ BITFIELD32, false /* mandatory? */, READ_ONLY, new SunSpecBitPoint[0])), //
EVT_VND2(new BitFieldPoint("S103_EVT_VND2", "Vendor Event Bitfield 2", //
"Vendor defined events", //
- BitFieldPoint.Type.BITFIELD32, false /* mandatory? */, AccessMode.READ_ONLY, new SunSpecBitPoint[0])), //
+ BITFIELD32, false /* mandatory? */, READ_ONLY, new SunSpecBitPoint[0])), //
EVT_VND3(new BitFieldPoint("S103_EVT_VND3", "Vendor Event Bitfield 3", //
"Vendor defined events", //
- BitFieldPoint.Type.BITFIELD32, false /* mandatory? */, AccessMode.READ_ONLY, new SunSpecBitPoint[0])), //
+ BITFIELD32, false /* mandatory? */, READ_ONLY, new SunSpecBitPoint[0])), //
EVT_VND4(new BitFieldPoint("S103_EVT_VND4", "Vendor Event Bitfield 4", //
"Vendor defined events", //
- BitFieldPoint.Type.BITFIELD32, false /* mandatory? */, AccessMode.READ_ONLY, new SunSpecBitPoint[0]));
+ BITFIELD32, false /* mandatory? */, READ_ONLY, new SunSpecBitPoint[0]));
private final Point point;
@@ -976,97 +998,97 @@ public BitPoint get() {
public static enum S111 implements SunSpecPoint {
A(new ValuePoint("S111_A", "Amps", //
"AC Current", //
- ValuePoint.Type.FLOAT32, true /* mandatory? */, AccessMode.READ_ONLY, Unit.AMPERE)), //
+ FLOAT32, true /* mandatory? */, READ_ONLY, Unit.AMPERE)), //
APH_A(new ValuePoint("S111_APH_A", "Amps PhaseA", //
"Phase A Current", //
- ValuePoint.Type.FLOAT32, true /* mandatory? */, AccessMode.READ_ONLY, Unit.AMPERE)), //
+ FLOAT32, true /* mandatory? */, READ_ONLY, Unit.AMPERE)), //
APH_B(new ValuePoint("S111_APH_B", "Amps PhaseB", //
"Phase B Current", //
- ValuePoint.Type.FLOAT32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.AMPERE)), //
+ FLOAT32, false /* mandatory? */, READ_ONLY, Unit.AMPERE)), //
APH_C(new ValuePoint("S111_APH_C", "Amps PhaseC", //
"Phase C Current", //
- ValuePoint.Type.FLOAT32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.AMPERE)), //
+ FLOAT32, false /* mandatory? */, READ_ONLY, Unit.AMPERE)), //
P_P_VPH_A_B(new ValuePoint("S111_P_P_VPH_A_B", "Phase Voltage AB", //
"Phase Voltage AB", //
- ValuePoint.Type.FLOAT32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT)), //
+ FLOAT32, false /* mandatory? */, READ_ONLY, Unit.VOLT)), //
P_P_VPH_B_C(new ValuePoint("S111_P_P_VPH_B_C", "Phase Voltage BC", //
"Phase Voltage BC", //
- ValuePoint.Type.FLOAT32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT)), //
+ FLOAT32, false /* mandatory? */, READ_ONLY, Unit.VOLT)), //
P_P_VPH_C_A(new ValuePoint("S111_P_P_VPH_C_A", "Phase Voltage CA", //
"Phase Voltage CA", //
- ValuePoint.Type.FLOAT32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT)), //
+ FLOAT32, false /* mandatory? */, READ_ONLY, Unit.VOLT)), //
PH_VPH_A(new ValuePoint("S111_PH_VPH_A", "Phase Voltage AN", //
"Phase Voltage AN", //
- ValuePoint.Type.FLOAT32, true /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT)), //
+ FLOAT32, true /* mandatory? */, READ_ONLY, Unit.VOLT)), //
PH_VPH_B(new ValuePoint("S111_PH_VPH_B", "Phase Voltage BN", //
"Phase Voltage BN", //
- ValuePoint.Type.FLOAT32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT)), //
+ FLOAT32, false /* mandatory? */, READ_ONLY, Unit.VOLT)), //
PH_VPH_C(new ValuePoint("S111_PH_VPH_C", "Phase Voltage CN", //
"Phase Voltage CN", //
- ValuePoint.Type.FLOAT32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT)), //
+ FLOAT32, false /* mandatory? */, READ_ONLY, Unit.VOLT)), //
W(new ValuePoint("S111_W", "Watts", //
"AC Power", //
- ValuePoint.Type.FLOAT32, true /* mandatory? */, AccessMode.READ_ONLY, Unit.WATT)), //
+ FLOAT32, true /* mandatory? */, READ_ONLY, Unit.WATT)), //
HZ(new ValuePoint("S111_HZ", "Hz", //
"Line Frequency", //
- ValuePoint.Type.FLOAT32, true /* mandatory? */, AccessMode.READ_ONLY, Unit.HERTZ)), //
+ FLOAT32, true /* mandatory? */, READ_ONLY, Unit.HERTZ)), //
VA(new ValuePoint("S111_VA", "VA", //
"AC Apparent Power", //
- ValuePoint.Type.FLOAT32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE)), //
+ FLOAT32, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE)), //
V_AR(new ValuePoint("S111_V_AR", "VAr", //
"AC Reactive Power", //
- ValuePoint.Type.FLOAT32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_REACTIVE)), //
+ FLOAT32, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_REACTIVE)), //
PF(new ValuePoint("S111_PF", "PF", //
"AC Power Factor", //
- ValuePoint.Type.FLOAT32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE)), //
+ FLOAT32, false /* mandatory? */, READ_ONLY, Unit.NONE)), //
WH(new ValuePoint("S111_WH", "WattHours", //
"AC Energy", //
- ValuePoint.Type.FLOAT32, true /* mandatory? */, AccessMode.READ_ONLY, Unit.CUMULATED_WATT_HOURS)), //
+ FLOAT32, true /* mandatory? */, READ_ONLY, Unit.CUMULATED_WATT_HOURS)), //
DCA(new ValuePoint("S111_DCA", "DC Amps", //
"DC Current", //
- ValuePoint.Type.FLOAT32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.AMPERE)), //
+ FLOAT32, false /* mandatory? */, READ_ONLY, Unit.AMPERE)), //
DCV(new ValuePoint("S111_DCV", "DC Voltage", //
"DC Voltage", //
- ValuePoint.Type.FLOAT32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT)), //
+ FLOAT32, false /* mandatory? */, READ_ONLY, Unit.VOLT)), //
DCW(new ValuePoint("S111_DCW", "DC Watts", //
"DC Power", //
- ValuePoint.Type.FLOAT32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.WATT)), //
+ FLOAT32, false /* mandatory? */, READ_ONLY, Unit.WATT)), //
TMP_CAB(new ValuePoint("S111_TMP_CAB", "Cabinet Temperature", //
"Cabinet Temperature", //
- ValuePoint.Type.FLOAT32, true /* mandatory? */, AccessMode.READ_ONLY, Unit.DEGREE_CELSIUS)), //
+ FLOAT32, true /* mandatory? */, READ_ONLY, Unit.DEGREE_CELSIUS)), //
TMP_SNK(new ValuePoint("S111_TMP_SNK", "Heat Sink Temperature", //
"Heat Sink Temperature", //
- ValuePoint.Type.FLOAT32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.DEGREE_CELSIUS)), //
+ FLOAT32, false /* mandatory? */, READ_ONLY, Unit.DEGREE_CELSIUS)), //
TMP_TRNS(new ValuePoint("S111_TMP_TRNS", "Transformer Temperature", //
"Transformer Temperature", //
- ValuePoint.Type.FLOAT32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.DEGREE_CELSIUS)), //
+ FLOAT32, false /* mandatory? */, READ_ONLY, Unit.DEGREE_CELSIUS)), //
TMP_OT(new ValuePoint("S111_TMP_OT", "Other Temperature", //
"Other Temperature", //
- ValuePoint.Type.FLOAT32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.DEGREE_CELSIUS)), //
+ FLOAT32, false /* mandatory? */, READ_ONLY, Unit.DEGREE_CELSIUS)), //
ST(new EnumPoint("S111_ST", "Operating State", //
"Enumerated value. Operating state", //
- EnumPoint.Type.ENUM16, true /* mandatory? */, AccessMode.READ_ONLY, S111_St.values())), //
+ ENUM16, true /* mandatory? */, READ_ONLY, S111_St.values())), //
ST_VND(new EnumPoint("S111_ST_VND", "Vendor Operating State", //
"Vendor specific operating state code", //
- EnumPoint.Type.ENUM16, false /* mandatory? */, AccessMode.READ_ONLY, new OptionsEnum[0])), //
+ ENUM16, false /* mandatory? */, READ_ONLY, new OptionsEnum[0])), //
EVT1(new BitFieldPoint("S111_EVT1", "Event1", //
"Bitmask value. Event fields", //
- BitFieldPoint.Type.BITFIELD32, true /* mandatory? */, AccessMode.READ_ONLY, S111_Evt1.values())), //
+ BITFIELD32, true /* mandatory? */, READ_ONLY, S111_Evt1.values())), //
EVT2(new BitFieldPoint("S111_EVT2", "Event Bitfield 2", //
"Reserved for future use", //
- BitFieldPoint.Type.BITFIELD32, true /* mandatory? */, AccessMode.READ_ONLY, new SunSpecBitPoint[0])), //
+ BITFIELD32, true /* mandatory? */, READ_ONLY, new SunSpecBitPoint[0])), //
EVT_VND1(new BitFieldPoint("S111_EVT_VND1", "Vendor Event Bitfield 1", //
"Vendor defined events", //
- BitFieldPoint.Type.BITFIELD32, false /* mandatory? */, AccessMode.READ_ONLY, new SunSpecBitPoint[0])), //
+ BITFIELD32, false /* mandatory? */, READ_ONLY, new SunSpecBitPoint[0])), //
EVT_VND2(new BitFieldPoint("S111_EVT_VND2", "Vendor Event Bitfield 2", //
"Vendor defined events", //
- BitFieldPoint.Type.BITFIELD32, false /* mandatory? */, AccessMode.READ_ONLY, new SunSpecBitPoint[0])), //
+ BITFIELD32, false /* mandatory? */, READ_ONLY, new SunSpecBitPoint[0])), //
EVT_VND3(new BitFieldPoint("S111_EVT_VND3", "Vendor Event Bitfield 3", //
"Vendor defined events", //
- BitFieldPoint.Type.BITFIELD32, false /* mandatory? */, AccessMode.READ_ONLY, new SunSpecBitPoint[0])), //
+ BITFIELD32, false /* mandatory? */, READ_ONLY, new SunSpecBitPoint[0])), //
EVT_VND4(new BitFieldPoint("S111_EVT_VND4", "Vendor Event Bitfield 4", //
"Vendor defined events", //
- BitFieldPoint.Type.BITFIELD32, false /* mandatory? */, AccessMode.READ_ONLY, new SunSpecBitPoint[0]));
+ BITFIELD32, false /* mandatory? */, READ_ONLY, new SunSpecBitPoint[0]));
private final Point point;
@@ -1148,97 +1170,97 @@ public BitPoint get() {
public static enum S112 implements SunSpecPoint {
A(new ValuePoint("S112_A", "Amps", //
"AC Current", //
- ValuePoint.Type.FLOAT32, true /* mandatory? */, AccessMode.READ_ONLY, Unit.AMPERE)), //
+ FLOAT32, true /* mandatory? */, READ_ONLY, Unit.AMPERE)), //
APH_A(new ValuePoint("S112_APH_A", "Amps PhaseA", //
"Phase A Current", //
- ValuePoint.Type.FLOAT32, true /* mandatory? */, AccessMode.READ_ONLY, Unit.AMPERE)), //
+ FLOAT32, true /* mandatory? */, READ_ONLY, Unit.AMPERE)), //
APH_B(new ValuePoint("S112_APH_B", "Amps PhaseB", //
"Phase B Current", //
- ValuePoint.Type.FLOAT32, true /* mandatory? */, AccessMode.READ_ONLY, Unit.AMPERE)), //
+ FLOAT32, true /* mandatory? */, READ_ONLY, Unit.AMPERE)), //
APH_C(new ValuePoint("S112_APH_C", "Amps PhaseC", //
"Phase C Current", //
- ValuePoint.Type.FLOAT32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.AMPERE)), //
+ FLOAT32, false /* mandatory? */, READ_ONLY, Unit.AMPERE)), //
P_P_VPH_A_B(new ValuePoint("S112_P_P_VPH_A_B", "Phase Voltage AB", //
"Phase Voltage AB", //
- ValuePoint.Type.FLOAT32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT)), //
+ FLOAT32, false /* mandatory? */, READ_ONLY, Unit.VOLT)), //
P_P_VPH_B_C(new ValuePoint("S112_P_P_VPH_B_C", "Phase Voltage BC", //
"Phase Voltage BC", //
- ValuePoint.Type.FLOAT32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT)), //
+ FLOAT32, false /* mandatory? */, READ_ONLY, Unit.VOLT)), //
P_P_VPH_C_A(new ValuePoint("S112_P_P_VPH_C_A", "Phase Voltage CA", //
"Phase Voltage CA", //
- ValuePoint.Type.FLOAT32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT)), //
+ FLOAT32, false /* mandatory? */, READ_ONLY, Unit.VOLT)), //
PH_VPH_A(new ValuePoint("S112_PH_VPH_A", "Phase Voltage AN", //
"Phase Voltage AN", //
- ValuePoint.Type.FLOAT32, true /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT)), //
+ FLOAT32, true /* mandatory? */, READ_ONLY, Unit.VOLT)), //
PH_VPH_B(new ValuePoint("S112_PH_VPH_B", "Phase Voltage BN", //
"Phase Voltage BN", //
- ValuePoint.Type.FLOAT32, true /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT)), //
+ FLOAT32, true /* mandatory? */, READ_ONLY, Unit.VOLT)), //
PH_VPH_C(new ValuePoint("S112_PH_VPH_C", "Phase Voltage CN", //
"Phase Voltage CN", //
- ValuePoint.Type.FLOAT32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT)), //
+ FLOAT32, false /* mandatory? */, READ_ONLY, Unit.VOLT)), //
W(new ValuePoint("S112_W", "Watts", //
"AC Power", //
- ValuePoint.Type.FLOAT32, true /* mandatory? */, AccessMode.READ_ONLY, Unit.WATT)), //
+ FLOAT32, true /* mandatory? */, READ_ONLY, Unit.WATT)), //
HZ(new ValuePoint("S112_HZ", "Hz", //
"Line Frequency", //
- ValuePoint.Type.FLOAT32, true /* mandatory? */, AccessMode.READ_ONLY, Unit.HERTZ)), //
+ FLOAT32, true /* mandatory? */, READ_ONLY, Unit.HERTZ)), //
VA(new ValuePoint("S112_VA", "VA", //
"AC Apparent Power", //
- ValuePoint.Type.FLOAT32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE)), //
+ FLOAT32, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE)), //
V_AR(new ValuePoint("S112_V_AR", "VAr", //
"AC Reactive Power", //
- ValuePoint.Type.FLOAT32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_REACTIVE)), //
+ FLOAT32, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_REACTIVE)), //
PF(new ValuePoint("S112_PF", "PF", //
"AC Power Factor", //
- ValuePoint.Type.FLOAT32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE)), //
+ FLOAT32, false /* mandatory? */, READ_ONLY, Unit.NONE)), //
WH(new ValuePoint("S112_WH", "WattHours", //
"AC Energy", //
- ValuePoint.Type.FLOAT32, true /* mandatory? */, AccessMode.READ_ONLY, Unit.CUMULATED_WATT_HOURS)), //
+ FLOAT32, true /* mandatory? */, READ_ONLY, Unit.CUMULATED_WATT_HOURS)), //
DCA(new ValuePoint("S112_DCA", "DC Amps", //
"DC Current", //
- ValuePoint.Type.FLOAT32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.AMPERE)), //
+ FLOAT32, false /* mandatory? */, READ_ONLY, Unit.AMPERE)), //
DCV(new ValuePoint("S112_DCV", "DC Voltage", //
"DC Voltage", //
- ValuePoint.Type.FLOAT32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT)), //
+ FLOAT32, false /* mandatory? */, READ_ONLY, Unit.VOLT)), //
DCW(new ValuePoint("S112_DCW", "DC Watts", //
"DC Power", //
- ValuePoint.Type.FLOAT32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.WATT)), //
+ FLOAT32, false /* mandatory? */, READ_ONLY, Unit.WATT)), //
TMP_CAB(new ValuePoint("S112_TMP_CAB", "Cabinet Temperature", //
"Cabinet Temperature", //
- ValuePoint.Type.FLOAT32, true /* mandatory? */, AccessMode.READ_ONLY, Unit.DEGREE_CELSIUS)), //
+ FLOAT32, true /* mandatory? */, READ_ONLY, Unit.DEGREE_CELSIUS)), //
TMP_SNK(new ValuePoint("S112_TMP_SNK", "Heat Sink Temperature", //
"Heat Sink Temperature", //
- ValuePoint.Type.FLOAT32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.DEGREE_CELSIUS)), //
+ FLOAT32, false /* mandatory? */, READ_ONLY, Unit.DEGREE_CELSIUS)), //
TMP_TRNS(new ValuePoint("S112_TMP_TRNS", "Transformer Temperature", //
"Transformer Temperature", //
- ValuePoint.Type.FLOAT32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.DEGREE_CELSIUS)), //
+ FLOAT32, false /* mandatory? */, READ_ONLY, Unit.DEGREE_CELSIUS)), //
TMP_OT(new ValuePoint("S112_TMP_OT", "Other Temperature", //
"Other Temperature", //
- ValuePoint.Type.FLOAT32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.DEGREE_CELSIUS)), //
+ FLOAT32, false /* mandatory? */, READ_ONLY, Unit.DEGREE_CELSIUS)), //
ST(new EnumPoint("S112_ST", "Operating State", //
"Enumerated value. Operating state", //
- EnumPoint.Type.ENUM16, true /* mandatory? */, AccessMode.READ_ONLY, S112_St.values())), //
+ ENUM16, true /* mandatory? */, READ_ONLY, S112_St.values())), //
ST_VND(new EnumPoint("S112_ST_VND", "Vendor Operating State", //
"Vendor specific operating state code", //
- EnumPoint.Type.ENUM16, false /* mandatory? */, AccessMode.READ_ONLY, new OptionsEnum[0])), //
+ ENUM16, false /* mandatory? */, READ_ONLY, new OptionsEnum[0])), //
EVT1(new BitFieldPoint("S112_EVT1", "Event1", //
"Bitmask value. Event fields", //
- BitFieldPoint.Type.BITFIELD32, true /* mandatory? */, AccessMode.READ_ONLY, S112_Evt1.values())), //
+ BITFIELD32, true /* mandatory? */, READ_ONLY, S112_Evt1.values())), //
EVT2(new BitFieldPoint("S112_EVT2", "Event Bitfield 2", //
"Reserved for future use", //
- BitFieldPoint.Type.BITFIELD32, true /* mandatory? */, AccessMode.READ_ONLY, new SunSpecBitPoint[0])), //
+ BITFIELD32, true /* mandatory? */, READ_ONLY, new SunSpecBitPoint[0])), //
EVT_VND1(new BitFieldPoint("S112_EVT_VND1", "Vendor Event Bitfield 1", //
"Vendor defined events", //
- BitFieldPoint.Type.BITFIELD32, false /* mandatory? */, AccessMode.READ_ONLY, new SunSpecBitPoint[0])), //
+ BITFIELD32, false /* mandatory? */, READ_ONLY, new SunSpecBitPoint[0])), //
EVT_VND2(new BitFieldPoint("S112_EVT_VND2", "Vendor Event Bitfield 2", //
"Vendor defined events", //
- BitFieldPoint.Type.BITFIELD32, false /* mandatory? */, AccessMode.READ_ONLY, new SunSpecBitPoint[0])), //
+ BITFIELD32, false /* mandatory? */, READ_ONLY, new SunSpecBitPoint[0])), //
EVT_VND3(new BitFieldPoint("S112_EVT_VND3", "Vendor Event Bitfield 3", //
"Vendor defined events", //
- BitFieldPoint.Type.BITFIELD32, false /* mandatory? */, AccessMode.READ_ONLY, new SunSpecBitPoint[0])), //
+ BITFIELD32, false /* mandatory? */, READ_ONLY, new SunSpecBitPoint[0])), //
EVT_VND4(new BitFieldPoint("S112_EVT_VND4", "Vendor Event Bitfield 4", //
"Vendor defined events", //
- BitFieldPoint.Type.BITFIELD32, false /* mandatory? */, AccessMode.READ_ONLY, new SunSpecBitPoint[0]));
+ BITFIELD32, false /* mandatory? */, READ_ONLY, new SunSpecBitPoint[0]));
private final Point point;
@@ -1320,97 +1342,97 @@ public BitPoint get() {
public static enum S113 implements SunSpecPoint {
A(new ValuePoint("S113_A", "Amps", //
"AC Current", //
- ValuePoint.Type.FLOAT32, true /* mandatory? */, AccessMode.READ_ONLY, Unit.AMPERE)), //
+ FLOAT32, true /* mandatory? */, READ_ONLY, Unit.AMPERE)), //
APH_A(new ValuePoint("S113_APH_A", "Amps PhaseA", //
"Phase A Current", //
- ValuePoint.Type.FLOAT32, true /* mandatory? */, AccessMode.READ_ONLY, Unit.AMPERE)), //
+ FLOAT32, true /* mandatory? */, READ_ONLY, Unit.AMPERE)), //
APH_B(new ValuePoint("S113_APH_B", "Amps PhaseB", //
"Phase B Current", //
- ValuePoint.Type.FLOAT32, true /* mandatory? */, AccessMode.READ_ONLY, Unit.AMPERE)), //
+ FLOAT32, true /* mandatory? */, READ_ONLY, Unit.AMPERE)), //
APH_C(new ValuePoint("S113_APH_C", "Amps PhaseC", //
"Phase C Current", //
- ValuePoint.Type.FLOAT32, true /* mandatory? */, AccessMode.READ_ONLY, Unit.AMPERE)), //
+ FLOAT32, true /* mandatory? */, READ_ONLY, Unit.AMPERE)), //
P_P_VPH_A_B(new ValuePoint("S113_P_P_VPH_A_B", "Phase Voltage AB", //
"Phase Voltage AB", //
- ValuePoint.Type.FLOAT32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT)), //
+ FLOAT32, false /* mandatory? */, READ_ONLY, Unit.VOLT)), //
P_P_VPH_B_C(new ValuePoint("S113_P_P_VPH_B_C", "Phase Voltage BC", //
"Phase Voltage BC", //
- ValuePoint.Type.FLOAT32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT)), //
+ FLOAT32, false /* mandatory? */, READ_ONLY, Unit.VOLT)), //
P_P_VPH_C_A(new ValuePoint("S113_P_P_VPH_C_A", "Phase Voltage CA", //
"Phase Voltage CA", //
- ValuePoint.Type.FLOAT32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT)), //
+ FLOAT32, false /* mandatory? */, READ_ONLY, Unit.VOLT)), //
PH_VPH_A(new ValuePoint("S113_PH_VPH_A", "Phase Voltage AN", //
"Phase Voltage AN", //
- ValuePoint.Type.FLOAT32, true /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT)), //
+ FLOAT32, true /* mandatory? */, READ_ONLY, Unit.VOLT)), //
PH_VPH_B(new ValuePoint("S113_PH_VPH_B", "Phase Voltage BN", //
"Phase Voltage BN", //
- ValuePoint.Type.FLOAT32, true /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT)), //
+ FLOAT32, true /* mandatory? */, READ_ONLY, Unit.VOLT)), //
PH_VPH_C(new ValuePoint("S113_PH_VPH_C", "Phase Voltage CN", //
"Phase Voltage CN", //
- ValuePoint.Type.FLOAT32, true /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT)), //
+ FLOAT32, true /* mandatory? */, READ_ONLY, Unit.VOLT)), //
W(new ValuePoint("S113_W", "Watts", //
"AC Power", //
- ValuePoint.Type.FLOAT32, true /* mandatory? */, AccessMode.READ_ONLY, Unit.WATT)), //
+ FLOAT32, true /* mandatory? */, READ_ONLY, Unit.WATT)), //
HZ(new ValuePoint("S113_HZ", "Hz", //
"Line Frequency", //
- ValuePoint.Type.FLOAT32, true /* mandatory? */, AccessMode.READ_ONLY, Unit.HERTZ)), //
+ FLOAT32, true /* mandatory? */, READ_ONLY, Unit.HERTZ)), //
VA(new ValuePoint("S113_VA", "VA", //
"AC Apparent Power", //
- ValuePoint.Type.FLOAT32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE)), //
+ FLOAT32, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE)), //
V_AR(new ValuePoint("S113_V_AR", "VAr", //
"AC Reactive Power", //
- ValuePoint.Type.FLOAT32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_REACTIVE)), //
+ FLOAT32, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_REACTIVE)), //
PF(new ValuePoint("S113_PF", "PF", //
"AC Power Factor", //
- ValuePoint.Type.FLOAT32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE)), //
+ FLOAT32, false /* mandatory? */, READ_ONLY, Unit.NONE)), //
WH(new ValuePoint("S113_WH", "WattHours", //
"AC Energy", //
- ValuePoint.Type.FLOAT32, true /* mandatory? */, AccessMode.READ_ONLY, Unit.CUMULATED_WATT_HOURS)), //
+ FLOAT32, true /* mandatory? */, READ_ONLY, Unit.CUMULATED_WATT_HOURS)), //
DCA(new ValuePoint("S113_DCA", "DC Amps", //
"DC Current", //
- ValuePoint.Type.FLOAT32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.AMPERE)), //
+ FLOAT32, false /* mandatory? */, READ_ONLY, Unit.AMPERE)), //
DCV(new ValuePoint("S113_DCV", "DC Voltage", //
"DC Voltage", //
- ValuePoint.Type.FLOAT32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT)), //
+ FLOAT32, false /* mandatory? */, READ_ONLY, Unit.VOLT)), //
DCW(new ValuePoint("S113_DCW", "DC Watts", //
"DC Power", //
- ValuePoint.Type.FLOAT32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.WATT)), //
+ FLOAT32, false /* mandatory? */, READ_ONLY, Unit.WATT)), //
TMP_CAB(new ValuePoint("S113_TMP_CAB", "Cabinet Temperature", //
"Cabinet Temperature", //
- ValuePoint.Type.FLOAT32, true /* mandatory? */, AccessMode.READ_ONLY, Unit.DEGREE_CELSIUS)), //
+ FLOAT32, true /* mandatory? */, READ_ONLY, Unit.DEGREE_CELSIUS)), //
TMP_SNK(new ValuePoint("S113_TMP_SNK", "Heat Sink Temperature", //
"Heat Sink Temperature", //
- ValuePoint.Type.FLOAT32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.DEGREE_CELSIUS)), //
+ FLOAT32, false /* mandatory? */, READ_ONLY, Unit.DEGREE_CELSIUS)), //
TMP_TRNS(new ValuePoint("S113_TMP_TRNS", "Transformer Temperature", //
"Transformer Temperature", //
- ValuePoint.Type.FLOAT32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.DEGREE_CELSIUS)), //
+ FLOAT32, false /* mandatory? */, READ_ONLY, Unit.DEGREE_CELSIUS)), //
TMP_OT(new ValuePoint("S113_TMP_OT", "Other Temperature", //
"Other Temperature", //
- ValuePoint.Type.FLOAT32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.DEGREE_CELSIUS)), //
+ FLOAT32, false /* mandatory? */, READ_ONLY, Unit.DEGREE_CELSIUS)), //
ST(new EnumPoint("S113_ST", "Operating State", //
"Enumerated value. Operating state", //
- EnumPoint.Type.ENUM16, true /* mandatory? */, AccessMode.READ_ONLY, S113_St.values())), //
+ ENUM16, true /* mandatory? */, READ_ONLY, S113_St.values())), //
ST_VND(new EnumPoint("S113_ST_VND", "Vendor Operating State", //
"Vendor specific operating state code", //
- EnumPoint.Type.ENUM16, false /* mandatory? */, AccessMode.READ_ONLY, new OptionsEnum[0])), //
+ ENUM16, false /* mandatory? */, READ_ONLY, new OptionsEnum[0])), //
EVT1(new BitFieldPoint("S113_EVT1", "Event1", //
"Bitmask value. Event fields", //
- BitFieldPoint.Type.BITFIELD32, true /* mandatory? */, AccessMode.READ_ONLY, S113_Evt1.values())), //
+ BITFIELD32, true /* mandatory? */, READ_ONLY, S113_Evt1.values())), //
EVT2(new BitFieldPoint("S113_EVT2", "Event Bitfield 2", //
"Reserved for future use", //
- BitFieldPoint.Type.BITFIELD32, true /* mandatory? */, AccessMode.READ_ONLY, new SunSpecBitPoint[0])), //
+ BITFIELD32, true /* mandatory? */, READ_ONLY, new SunSpecBitPoint[0])), //
EVT_VND1(new BitFieldPoint("S113_EVT_VND1", "Vendor Event Bitfield 1", //
"Vendor defined events", //
- BitFieldPoint.Type.BITFIELD32, false /* mandatory? */, AccessMode.READ_ONLY, new SunSpecBitPoint[0])), //
+ BITFIELD32, false /* mandatory? */, READ_ONLY, new SunSpecBitPoint[0])), //
EVT_VND2(new BitFieldPoint("S113_EVT_VND2", "Vendor Event Bitfield 2", //
"Vendor defined events", //
- BitFieldPoint.Type.BITFIELD32, false /* mandatory? */, AccessMode.READ_ONLY, new SunSpecBitPoint[0])), //
+ BITFIELD32, false /* mandatory? */, READ_ONLY, new SunSpecBitPoint[0])), //
EVT_VND3(new BitFieldPoint("S113_EVT_VND3", "Vendor Event Bitfield 3", //
"Vendor defined events", //
- BitFieldPoint.Type.BITFIELD32, false /* mandatory? */, AccessMode.READ_ONLY, new SunSpecBitPoint[0])), //
+ BITFIELD32, false /* mandatory? */, READ_ONLY, new SunSpecBitPoint[0])), //
EVT_VND4(new BitFieldPoint("S113_EVT_VND4", "Vendor Event Bitfield 4", //
"Vendor defined events", //
- BitFieldPoint.Type.BITFIELD32, false /* mandatory? */, AccessMode.READ_ONLY, new SunSpecBitPoint[0]));
+ BITFIELD32, false /* mandatory? */, READ_ONLY, new SunSpecBitPoint[0]));
private final Point point;
@@ -1492,73 +1514,73 @@ public BitPoint get() {
public static enum S120 implements SunSpecPoint {
D_E_R_TYP(new EnumPoint("S120_D_E_R_TYP", "DERTyp", //
"Type of DER device. Default value is 4 to indicate PV device.", //
- EnumPoint.Type.ENUM16, true /* mandatory? */, AccessMode.READ_ONLY, S120_DERTyp.values())), //
+ ENUM16, true /* mandatory? */, READ_ONLY, S120_DERTyp.values())), //
W_RTG(new ScaledValuePoint("S120_W_RTG", "WRtg", //
"Continuous power output capability of the inverter.", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.WATT, "WRtg_SF")), //
+ UINT16, true /* mandatory? */, READ_ONLY, Unit.WATT, "WRtg_SF")), //
W_RTG_S_F(new ScaleFactorPoint("S120_W_RTG_S_F", "WRtg_SF", //
"Scale factor")), //
V_A_RTG(new ScaledValuePoint("S120_V_A_RTG", "VARtg", //
"Continuous Volt-Ampere capability of the inverter.", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE, "VARtg_SF")), //
+ UINT16, true /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE, "VARtg_SF")), //
V_A_RTG_S_F(new ScaleFactorPoint("S120_V_A_RTG_S_F", "VARtg_SF", //
"Scale factor")), //
V_AR_RTG_Q1(new ScaledValuePoint("S120_V_AR_RTG_Q1", "VArRtgQ1", //
"Continuous VAR capability of the inverter in quadrant 1.", //
- ValuePoint.Type.INT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_REACTIVE, "VArRtg_SF")), //
+ INT16, true /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_REACTIVE, "VArRtg_SF")), //
V_AR_RTG_Q2(new ScaledValuePoint("S120_V_AR_RTG_Q2", "VArRtgQ2", //
"Continuous VAR capability of the inverter in quadrant 2.", //
- ValuePoint.Type.INT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_REACTIVE, "VArRtg_SF")), //
+ INT16, true /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_REACTIVE, "VArRtg_SF")), //
V_AR_RTG_Q3(new ScaledValuePoint("S120_V_AR_RTG_Q3", "VArRtgQ3", //
"Continuous VAR capability of the inverter in quadrant 3.", //
- ValuePoint.Type.INT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_REACTIVE, "VArRtg_SF")), //
+ INT16, true /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_REACTIVE, "VArRtg_SF")), //
V_AR_RTG_Q4(new ScaledValuePoint("S120_V_AR_RTG_Q4", "VArRtgQ4", //
"Continuous VAR capability of the inverter in quadrant 4.", //
- ValuePoint.Type.INT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_REACTIVE, "VArRtg_SF")), //
+ INT16, true /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_REACTIVE, "VArRtg_SF")), //
V_AR_RTG_S_F(new ScaleFactorPoint("S120_V_AR_RTG_S_F", "VArRtg_SF", //
"Scale factor")), //
A_RTG(new ScaledValuePoint("S120_A_RTG", "ARtg", //
"Maximum RMS AC current level capability of the inverter.", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.AMPERE, "ARtg_SF")), //
+ UINT16, true /* mandatory? */, READ_ONLY, Unit.AMPERE, "ARtg_SF")), //
A_RTG_S_F(new ScaleFactorPoint("S120_A_RTG_S_F", "ARtg_SF", //
"Scale factor")), //
P_F_RTG_Q1(new ScaledValuePoint("S120_P_F_RTG_Q1", "PFRtgQ1", //
"Minimum power factor capability of the inverter in quadrant 1.", //
- ValuePoint.Type.INT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE, "PFRtg_SF")), //
+ INT16, true /* mandatory? */, READ_ONLY, Unit.NONE, "PFRtg_SF")), //
P_F_RTG_Q2(new ScaledValuePoint("S120_P_F_RTG_Q2", "PFRtgQ2", //
"Minimum power factor capability of the inverter in quadrant 2.", //
- ValuePoint.Type.INT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE, "PFRtg_SF")), //
+ INT16, true /* mandatory? */, READ_ONLY, Unit.NONE, "PFRtg_SF")), //
P_F_RTG_Q3(new ScaledValuePoint("S120_P_F_RTG_Q3", "PFRtgQ3", //
"Minimum power factor capability of the inverter in quadrant 3.", //
- ValuePoint.Type.INT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE, "PFRtg_SF")), //
+ INT16, true /* mandatory? */, READ_ONLY, Unit.NONE, "PFRtg_SF")), //
P_F_RTG_Q4(new ScaledValuePoint("S120_P_F_RTG_Q4", "PFRtgQ4", //
"Minimum power factor capability of the inverter in quadrant 4.", //
- ValuePoint.Type.INT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE, "PFRtg_SF")), //
+ INT16, true /* mandatory? */, READ_ONLY, Unit.NONE, "PFRtg_SF")), //
P_F_RTG_S_F(new ScaleFactorPoint("S120_P_F_RTG_S_F", "PFRtg_SF", //
"Scale factor")), //
W_H_RTG(new ScaledValuePoint("S120_W_H_RTG", "WHRtg", //
"Nominal energy rating of storage device.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.CUMULATED_WATT_HOURS, "WHRtg_SF")), //
+ UINT16, false /* mandatory? */, READ_ONLY, Unit.CUMULATED_WATT_HOURS, "WHRtg_SF")), //
W_H_RTG_S_F(new ScaleFactorPoint("S120_W_H_RTG_S_F", "WHRtg_SF", //
"Scale factor")), //
AHR_RTG(new ScaledValuePoint("S120_AHR_RTG", "AhrRtg", //
"The usable capacity of the battery. Maximum charge minus minimum charge from a technology capability perspective (Amp-hour capacity rating).", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.AMPERE_HOURS, "AhrRtg_SF")), //
+ UINT16, false /* mandatory? */, READ_ONLY, Unit.AMPERE_HOURS, "AhrRtg_SF")), //
AHR_RTG_S_F(new ScaleFactorPoint("S120_AHR_RTG_S_F", "AhrRtg_SF", //
"Scale factor for amp-hour rating.")), //
MAX_CHA_RTE(new ScaledValuePoint("S120_MAX_CHA_RTE", "MaxChaRte", //
"Maximum rate of energy transfer into the storage device.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.WATT, "MaxChaRte_SF")), //
+ UINT16, false /* mandatory? */, READ_ONLY, Unit.WATT, "MaxChaRte_SF")), //
MAX_CHA_RTE_S_F(new ScaleFactorPoint("S120_MAX_CHA_RTE_S_F", "MaxChaRte_SF", //
"Scale factor")), //
MAX_DIS_CHA_RTE(new ScaledValuePoint("S120_MAX_DIS_CHA_RTE", "MaxDisChaRte", //
"Maximum rate of energy transfer out of the storage device.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.WATT, "MaxDisChaRte_SF")), //
+ UINT16, false /* mandatory? */, READ_ONLY, Unit.WATT, "MaxDisChaRte_SF")), //
MAX_DIS_CHA_RTE_S_F(new ScaleFactorPoint("S120_MAX_DIS_CHA_RTE_S_F", "MaxDisChaRte_SF", //
"Scale factor")), //
PAD(new ValuePoint("S120_PAD", "Pad", //
"Pad register.", //
- ValuePoint.Type.PAD, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE));
+ ValuePoint.Type.PAD, false /* mandatory? */, READ_ONLY, Unit.NONE));
private final Point point;
@@ -1604,64 +1626,64 @@ public OptionsEnum getUndefined() {
public static enum S121 implements SunSpecPoint {
W_MAX(new ScaledValuePoint("S121_W_MAX", "WMax", //
"Setting for maximum power output. Default to WRtg.", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_WRITE, Unit.WATT, "WMax_SF")), //
+ UINT16, true /* mandatory? */, READ_WRITE, Unit.WATT, "WMax_SF")), //
V_REF(new ScaledValuePoint("S121_V_REF", "VRef", //
"Voltage at the PCC.", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_WRITE, Unit.VOLT, "VRef_SF")), //
+ UINT16, true /* mandatory? */, READ_WRITE, Unit.VOLT, "VRef_SF")), //
V_REF_OFS(new ScaledValuePoint("S121_V_REF_OFS", "VRefOfs", //
"Offset from PCC to inverter.", //
- ValuePoint.Type.INT16, true /* mandatory? */, AccessMode.READ_WRITE, Unit.VOLT, "VRefOfs_SF")), //
+ INT16, true /* mandatory? */, READ_WRITE, Unit.VOLT, "VRefOfs_SF")), //
V_MAX(new ScaledValuePoint("S121_V_MAX", "VMax", //
"Setpoint for maximum voltage.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_WRITE, Unit.VOLT, "VMinMax_SF")), //
+ UINT16, false /* mandatory? */, READ_WRITE, Unit.VOLT, "VMinMax_SF")), //
V_MIN(new ScaledValuePoint("S121_V_MIN", "VMin", //
"Setpoint for minimum voltage.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_WRITE, Unit.VOLT, "VMinMax_SF")), //
+ UINT16, false /* mandatory? */, READ_WRITE, Unit.VOLT, "VMinMax_SF")), //
V_A_MAX(new ScaledValuePoint("S121_V_A_MAX", "VAMax", //
"Setpoint for maximum apparent power. Default to VARtg.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_WRITE, Unit.VOLT_AMPERE, "VAMax_SF")), //
+ UINT16, false /* mandatory? */, READ_WRITE, Unit.VOLT_AMPERE, "VAMax_SF")), //
V_AR_MAX_Q1(new ScaledValuePoint("S121_V_AR_MAX_Q1", "VArMaxQ1", //
"Setting for maximum reactive power in quadrant 1. Default to VArRtgQ1.", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_WRITE, Unit.VOLT_AMPERE_REACTIVE, "VArMax_SF")), //
+ INT16, false /* mandatory? */, READ_WRITE, Unit.VOLT_AMPERE_REACTIVE, "VArMax_SF")), //
V_AR_MAX_Q2(new ScaledValuePoint("S121_V_AR_MAX_Q2", "VArMaxQ2", //
"Setting for maximum reactive power in quadrant 2. Default to VArRtgQ2.", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_WRITE, Unit.VOLT_AMPERE_REACTIVE, "VArMax_SF")), //
+ INT16, false /* mandatory? */, READ_WRITE, Unit.VOLT_AMPERE_REACTIVE, "VArMax_SF")), //
V_AR_MAX_Q3(new ScaledValuePoint("S121_V_AR_MAX_Q3", "VArMaxQ3", //
"Setting for maximum reactive power in quadrant 3. Default to VArRtgQ3.", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_WRITE, Unit.VOLT_AMPERE_REACTIVE, "VArMax_SF")), //
+ INT16, false /* mandatory? */, READ_WRITE, Unit.VOLT_AMPERE_REACTIVE, "VArMax_SF")), //
V_AR_MAX_Q4(new ScaledValuePoint("S121_V_AR_MAX_Q4", "VArMaxQ4", //
"Setting for maximum reactive power in quadrant 4. Default to VArRtgQ4.", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_WRITE, Unit.VOLT_AMPERE_REACTIVE, "VArMax_SF")), //
+ INT16, false /* mandatory? */, READ_WRITE, Unit.VOLT_AMPERE_REACTIVE, "VArMax_SF")), //
W_GRA(new ScaledValuePoint("S121_W_GRA", "WGra", //
"Default ramp rate of change of active power due to command or internal action.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_WRITE, Unit.PERCENT, "WGra_SF")), //
+ UINT16, false /* mandatory? */, READ_WRITE, Unit.PERCENT, "WGra_SF")), //
P_F_MIN_Q1(new ScaledValuePoint("S121_P_F_MIN_Q1", "PFMinQ1", //
"Setpoint for minimum power factor value in quadrant 1. Default to PFRtgQ1.", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_WRITE, Unit.NONE, "PFMin_SF")), //
+ INT16, false /* mandatory? */, READ_WRITE, Unit.NONE, "PFMin_SF")), //
P_F_MIN_Q2(new ScaledValuePoint("S121_P_F_MIN_Q2", "PFMinQ2", //
"Setpoint for minimum power factor value in quadrant 2. Default to PFRtgQ2.", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_WRITE, Unit.NONE, "PFMin_SF")), //
+ INT16, false /* mandatory? */, READ_WRITE, Unit.NONE, "PFMin_SF")), //
P_F_MIN_Q3(new ScaledValuePoint("S121_P_F_MIN_Q3", "PFMinQ3", //
"Setpoint for minimum power factor value in quadrant 3. Default to PFRtgQ3.", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_WRITE, Unit.NONE, "PFMin_SF")), //
+ INT16, false /* mandatory? */, READ_WRITE, Unit.NONE, "PFMin_SF")), //
P_F_MIN_Q4(new ScaledValuePoint("S121_P_F_MIN_Q4", "PFMinQ4", //
"Setpoint for minimum power factor value in quadrant 4. Default to PFRtgQ4.", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_WRITE, Unit.NONE, "PFMin_SF")), //
+ INT16, false /* mandatory? */, READ_WRITE, Unit.NONE, "PFMin_SF")), //
V_AR_ACT(new EnumPoint("S121_V_AR_ACT", "VArAct", //
"VAR action on change between charging and discharging: 1=switch 2=maintain VAR characterization.", //
- EnumPoint.Type.ENUM16, false /* mandatory? */, AccessMode.READ_WRITE, S121_VArAct.values())), //
+ ENUM16, false /* mandatory? */, READ_WRITE, S121_VArAct.values())), //
CLC_TOT_V_A(new EnumPoint("S121_CLC_TOT_V_A", "ClcTotVA", //
"Calculation method for total apparent power. 1=vector 2=arithmetic.", //
- EnumPoint.Type.ENUM16, false /* mandatory? */, AccessMode.READ_WRITE, S121_ClcTotVA.values())), //
+ ENUM16, false /* mandatory? */, READ_WRITE, S121_ClcTotVA.values())), //
MAX_RMP_RTE(new ScaledValuePoint("S121_MAX_RMP_RTE", "MaxRmpRte", //
"Setpoint for maximum ramp rate as percentage of nominal maximum ramp rate. This setting will limit the rate that watts delivery to the grid can increase or decrease in response to intermittent PV generation.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_WRITE, Unit.PERCENT, "MaxRmpRte_SF")), //
+ UINT16, false /* mandatory? */, READ_WRITE, Unit.PERCENT, "MaxRmpRte_SF")), //
E_C_P_NOM_HZ(new ScaledValuePoint("S121_E_C_P_NOM_HZ", "ECPNomHz", //
"Setpoint for nominal frequency at the ECP.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_WRITE, Unit.HERTZ, "ECPNomHz_SF")), //
+ UINT16, false /* mandatory? */, READ_WRITE, Unit.HERTZ, "ECPNomHz_SF")), //
CONN_PH(new EnumPoint("S121_CONN_PH", "ConnPh", //
"Identity of connected phase for single phase inverters. A=1 B=2 C=3.", //
- EnumPoint.Type.ENUM16, false /* mandatory? */, AccessMode.READ_WRITE, S121_ConnPh.values())), //
+ ENUM16, false /* mandatory? */, READ_WRITE, S121_ConnPh.values())), //
W_MAX_S_F(new ScaleFactorPoint("S121_W_MAX_S_F", "WMax_SF", //
"Scale factor for real power.")), //
V_REF_S_F(new ScaleFactorPoint("S121_V_REF_S_F", "VRef_SF", //
@@ -1786,59 +1808,59 @@ public OptionsEnum getUndefined() {
public static enum S122 implements SunSpecPoint {
P_V_CONN(new BitFieldPoint("S122_P_V_CONN", "PVConn", //
"PV inverter present/available status. Enumerated value.", //
- BitFieldPoint.Type.BITFIELD16, true /* mandatory? */, AccessMode.READ_ONLY, S122_PVConn.values())), //
+ BITFIELD16, true /* mandatory? */, READ_ONLY, S122_PVConn.values())), //
STOR_CONN(new BitFieldPoint("S122_STOR_CONN", "StorConn", //
"Storage inverter present/available status. Enumerated value.", //
- BitFieldPoint.Type.BITFIELD16, true /* mandatory? */, AccessMode.READ_ONLY, S122_StorConn.values())), //
+ BITFIELD16, true /* mandatory? */, READ_ONLY, S122_StorConn.values())), //
E_C_P_CONN(new BitFieldPoint("S122_E_C_P_CONN", "ECPConn", //
"ECP connection status: disconnected=0 connected=1.", //
- BitFieldPoint.Type.BITFIELD16, true /* mandatory? */, AccessMode.READ_ONLY, S122_ECPConn.values())), //
+ BITFIELD16, true /* mandatory? */, READ_ONLY, S122_ECPConn.values())), //
ACT_WH(new ValuePoint("S122_ACT_WH", "ActWh", //
"AC lifetime active (real) energy output.", //
- ValuePoint.Type.ACC64, false /* mandatory? */, AccessMode.READ_ONLY, Unit.CUMULATED_WATT_HOURS)), //
+ ACC64, false /* mandatory? */, READ_ONLY, Unit.CUMULATED_WATT_HOURS)), //
ACT_V_AH(new ValuePoint("S122_ACT_V_AH", "ActVAh", //
"AC lifetime apparent energy output.", //
- ValuePoint.Type.ACC64, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_HOURS)), //
+ ACC64, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_HOURS)), //
ACT_V_ARH_Q1(new ValuePoint("S122_ACT_V_ARH_Q1", "ActVArhQ1", //
"AC lifetime reactive energy output in quadrant 1.", //
- ValuePoint.Type.ACC64, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS)), //
+ ACC64, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS)), //
ACT_V_ARH_Q2(new ValuePoint("S122_ACT_V_ARH_Q2", "ActVArhQ2", //
"AC lifetime reactive energy output in quadrant 2.", //
- ValuePoint.Type.ACC64, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS)), //
+ ACC64, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS)), //
ACT_V_ARH_Q3(new ValuePoint("S122_ACT_V_ARH_Q3", "ActVArhQ3", //
"AC lifetime negative energy output in quadrant 3.", //
- ValuePoint.Type.ACC64, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS)), //
+ ACC64, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS)), //
ACT_V_ARH_Q4(new ValuePoint("S122_ACT_V_ARH_Q4", "ActVArhQ4", //
"AC lifetime reactive energy output in quadrant 4.", //
- ValuePoint.Type.ACC64, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS)), //
+ ACC64, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS)), //
V_AR_AVAL(new ScaledValuePoint("S122_V_AR_AVAL", "VArAval", //
"Amount of VARs available without impacting watts output.", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_REACTIVE, "VArAval_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_REACTIVE, "VArAval_SF")), //
V_AR_AVAL_S_F(new ScaleFactorPoint("S122_V_AR_AVAL_S_F", "VArAval_SF", //
"Scale factor for available VARs.")), //
W_AVAL(new ScaledValuePoint("S122_W_AVAL", "WAval", //
"Amount of Watts available.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_REACTIVE, "WAval_SF")), //
+ UINT16, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_REACTIVE, "WAval_SF")), //
W_AVAL_S_F(new ScaleFactorPoint("S122_W_AVAL_S_F", "WAval_SF", //
"Scale factor for available Watts.")), //
ST_SET_LIM_MSK(new BitFieldPoint("S122_ST_SET_LIM_MSK", "StSetLimMsk", //
"Bit Mask indicating setpoint limit(s) reached.", //
- BitFieldPoint.Type.BITFIELD32, false /* mandatory? */, AccessMode.READ_ONLY, S122_StSetLimMsk.values())), //
+ BITFIELD32, false /* mandatory? */, READ_ONLY, S122_StSetLimMsk.values())), //
ST_ACT_CTL(new BitFieldPoint("S122_ST_ACT_CTL", "StActCtl", //
"Bit Mask indicating which inverter controls are currently active.", //
- BitFieldPoint.Type.BITFIELD32, false /* mandatory? */, AccessMode.READ_ONLY, S122_StActCtl.values())), //
+ BITFIELD32, false /* mandatory? */, READ_ONLY, S122_StActCtl.values())), //
TM_SRC(new ValuePoint("S122_TM_SRC", "TmSrc", //
"Source of time synchronization.", //
- ValuePoint.Type.STRING4, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE)), //
+ STRING4, false /* mandatory? */, READ_ONLY, Unit.NONE)), //
TMS(new ValuePoint("S122_TMS", "Tms", //
"Seconds since 01-01-2000 00:00 UTC", //
- ValuePoint.Type.UINT32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.SECONDS)), //
+ UINT32, false /* mandatory? */, READ_ONLY, Unit.SECONDS)), //
RT_ST(new BitFieldPoint("S122_RT_ST", "RtSt", //
"Bit Mask indicating active ride-through status.", //
- BitFieldPoint.Type.BITFIELD16, false /* mandatory? */, AccessMode.READ_ONLY, S122_RtSt.values())), //
+ BITFIELD16, false /* mandatory? */, READ_ONLY, S122_RtSt.values())), //
RIS(new ScaledValuePoint("S122_RIS", "Ris", //
"Isolation resistance.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE, "Ris_SF")), //
+ UINT16, false /* mandatory? */, READ_ONLY, Unit.NONE, "Ris_SF")), //
RIS_S_F(new ScaleFactorPoint("S122_RIS_S_F", "Ris_SF", //
"Scale factor for isolation resistance."));
@@ -1979,67 +2001,67 @@ public BitPoint get() {
public static enum S123 implements SunSpecPoint {
CONN_WIN_TMS(new ValuePoint("S123_CONN_WIN_TMS", "Conn_WinTms", //
"Time window for connect/disconnect.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_WRITE, Unit.SECONDS)), //
+ UINT16, false /* mandatory? */, READ_WRITE, Unit.SECONDS)), //
CONN_RVRT_TMS(new ValuePoint("S123_CONN_RVRT_TMS", "Conn_RvrtTms", //
"Timeout period for connect/disconnect.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_WRITE, Unit.SECONDS)), //
+ UINT16, false /* mandatory? */, READ_WRITE, Unit.SECONDS)), //
CONN(new EnumPoint("S123_CONN", "Conn", //
"Enumerated valued. Connection control.", //
- EnumPoint.Type.ENUM16, true /* mandatory? */, AccessMode.READ_WRITE, S123_Conn.values())), //
+ ENUM16, true /* mandatory? */, READ_WRITE, S123_Conn.values())), //
W_MAX_LIM_PCT(new ScaledValuePoint("S123_W_MAX_LIM_PCT", "WMaxLimPct", //
"Set power output to specified level.", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_WRITE, Unit.PERCENT, "WMaxLimPct_SF")), //
+ UINT16, true /* mandatory? */, READ_WRITE, Unit.PERCENT, "WMaxLimPct_SF")), //
W_MAX_LIM_PCT_WIN_TMS(new ValuePoint("S123_W_MAX_LIM_PCT_WIN_TMS", "WMaxLimPct_WinTms", //
"Time window for power limit change.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_WRITE, Unit.SECONDS)), //
+ UINT16, false /* mandatory? */, READ_WRITE, Unit.SECONDS)), //
W_MAX_LIM_PCT_RVRT_TMS(new ValuePoint("S123_W_MAX_LIM_PCT_RVRT_TMS", "WMaxLimPct_RvrtTms", //
"Timeout period for power limit.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_WRITE, Unit.SECONDS)), //
+ UINT16, false /* mandatory? */, READ_WRITE, Unit.SECONDS)), //
W_MAX_LIM_PCT_RMP_TMS(new ValuePoint("S123_W_MAX_LIM_PCT_RMP_TMS", "WMaxLimPct_RmpTms", //
"Ramp time for moving from current setpoint to new setpoint.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_WRITE, Unit.SECONDS)), //
+ UINT16, false /* mandatory? */, READ_WRITE, Unit.SECONDS)), //
W_MAX_LIM_ENA(new EnumPoint("S123_W_MAX_LIM_ENA", "WMaxLim_Ena", //
"Enumerated valued. Throttle enable/disable control.", //
- EnumPoint.Type.ENUM16, true /* mandatory? */, AccessMode.READ_WRITE, S123_WMaxLim_Ena.values())), //
+ ENUM16, true /* mandatory? */, READ_WRITE, S123_WMaxLim_Ena.values())), //
OUT_P_F_SET(new ScaledValuePoint("S123_OUT_P_F_SET", "OutPFSet", //
"Set power factor to specific value - cosine of angle.", //
- ValuePoint.Type.INT16, true /* mandatory? */, AccessMode.READ_WRITE, Unit.NONE, "OutPFSet_SF")), //
+ INT16, true /* mandatory? */, READ_WRITE, Unit.NONE, "OutPFSet_SF")), //
OUT_P_F_SET_WIN_TMS(new ValuePoint("S123_OUT_P_F_SET_WIN_TMS", "OutPFSet_WinTms", //
"Time window for power factor change.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_WRITE, Unit.SECONDS)), //
+ UINT16, false /* mandatory? */, READ_WRITE, Unit.SECONDS)), //
OUT_P_F_SET_RVRT_TMS(new ValuePoint("S123_OUT_P_F_SET_RVRT_TMS", "OutPFSet_RvrtTms", //
"Timeout period for power factor.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_WRITE, Unit.SECONDS)), //
+ UINT16, false /* mandatory? */, READ_WRITE, Unit.SECONDS)), //
OUT_P_F_SET_RMP_TMS(new ValuePoint("S123_OUT_P_F_SET_RMP_TMS", "OutPFSet_RmpTms", //
"Ramp time for moving from current setpoint to new setpoint.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_WRITE, Unit.SECONDS)), //
+ UINT16, false /* mandatory? */, READ_WRITE, Unit.SECONDS)), //
OUT_P_F_SET_ENA(new EnumPoint("S123_OUT_P_F_SET_ENA", "OutPFSet_Ena", //
"Enumerated valued. Fixed power factor enable/disable control.", //
- EnumPoint.Type.ENUM16, true /* mandatory? */, AccessMode.READ_WRITE, S123_OutPFSet_Ena.values())), //
+ ENUM16, true /* mandatory? */, READ_WRITE, S123_OutPFSet_Ena.values())), //
V_AR_W_MAX_PCT(new ScaledValuePoint("S123_V_AR_W_MAX_PCT", "VArWMaxPct", //
"Reactive power in percent of WMax.", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_WRITE, Unit.PERCENT, "VArPct_SF")), //
+ INT16, false /* mandatory? */, READ_WRITE, Unit.PERCENT, "VArPct_SF")), //
V_AR_MAX_PCT(new ScaledValuePoint("S123_V_AR_MAX_PCT", "VArMaxPct", //
"Reactive power in percent of VArMax.", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_WRITE, Unit.PERCENT, "VArPct_SF")), //
+ INT16, false /* mandatory? */, READ_WRITE, Unit.PERCENT, "VArPct_SF")), //
V_AR_AVAL_PCT(new ScaledValuePoint("S123_V_AR_AVAL_PCT", "VArAvalPct", //
"Reactive power in percent of VArAval.", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_WRITE, Unit.PERCENT, "VArPct_SF")), //
+ INT16, false /* mandatory? */, READ_WRITE, Unit.PERCENT, "VArPct_SF")), //
V_AR_PCT_WIN_TMS(new ValuePoint("S123_V_AR_PCT_WIN_TMS", "VArPct_WinTms", //
"Time window for VAR limit change.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_WRITE, Unit.SECONDS)), //
+ UINT16, false /* mandatory? */, READ_WRITE, Unit.SECONDS)), //
V_AR_PCT_RVRT_TMS(new ValuePoint("S123_V_AR_PCT_RVRT_TMS", "VArPct_RvrtTms", //
"Timeout period for VAR limit.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_WRITE, Unit.SECONDS)), //
+ UINT16, false /* mandatory? */, READ_WRITE, Unit.SECONDS)), //
V_AR_PCT_RMP_TMS(new ValuePoint("S123_V_AR_PCT_RMP_TMS", "VArPct_RmpTms", //
"Ramp time for moving from current setpoint to new setpoint.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_WRITE, Unit.SECONDS)), //
+ UINT16, false /* mandatory? */, READ_WRITE, Unit.SECONDS)), //
V_AR_PCT_MOD(new EnumPoint("S123_V_AR_PCT_MOD", "VArPct_Mod", //
"Enumerated value. VAR percent limit mode.", //
- EnumPoint.Type.ENUM16, false /* mandatory? */, AccessMode.READ_WRITE, S123_VArPct_Mod.values())), //
+ ENUM16, false /* mandatory? */, READ_WRITE, S123_VArPct_Mod.values())), //
V_AR_PCT_ENA(new EnumPoint("S123_V_AR_PCT_ENA", "VArPct_Ena", //
"Enumerated valued. Percent limit VAr enable/disable control.", //
- EnumPoint.Type.ENUM16, true /* mandatory? */, AccessMode.READ_WRITE, S123_VArPct_Ena.values())), //
+ ENUM16, true /* mandatory? */, READ_WRITE, S123_VArPct_Ena.values())), //
W_MAX_LIM_PCT_S_F(new ScaleFactorPoint("S123_W_MAX_LIM_PCT_S_F", "WMaxLimPct_SF", //
"Scale factor for power output percent.")), //
OUT_P_F_SET_S_F(new ScaleFactorPoint("S123_OUT_P_F_SET_S_F", "OutPFSet_SF", //
@@ -2209,51 +2231,51 @@ public OptionsEnum getUndefined() {
public static enum S124 implements SunSpecPoint {
W_CHA_MAX(new ScaledValuePoint("S124_W_CHA_MAX", "WChaMax", //
"Setpoint for maximum charge.", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_WRITE, Unit.WATT, "WChaMax_SF")), //
+ UINT16, true /* mandatory? */, READ_WRITE, Unit.WATT, "WChaMax_SF")), //
W_CHA_GRA(new ScaledValuePoint("S124_W_CHA_GRA", "WChaGra", //
"Setpoint for maximum charging rate. Default is MaxChaRte.", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_WRITE, Unit.PERCENT, "WChaDisChaGra_SF")), //
+ UINT16, true /* mandatory? */, READ_WRITE, Unit.PERCENT, "WChaDisChaGra_SF")), //
W_DIS_CHA_GRA(new ScaledValuePoint("S124_W_DIS_CHA_GRA", "WDisChaGra", //
"Setpoint for maximum discharge rate. Default is MaxDisChaRte.", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_WRITE, Unit.PERCENT, "WChaDisChaGra_SF")), //
+ UINT16, true /* mandatory? */, READ_WRITE, Unit.PERCENT, "WChaDisChaGra_SF")), //
STOR_CTL_MOD(new BitFieldPoint("S124_STOR_CTL_MOD", "StorCtl_Mod", //
"Activate hold/discharge/charge storage control mode. Bitfield value.", //
- BitFieldPoint.Type.BITFIELD16, true /* mandatory? */, AccessMode.READ_WRITE, S124_StorCtl_Mod.values())), //
+ BITFIELD16, true /* mandatory? */, READ_WRITE, S124_StorCtl_Mod.values())), //
V_A_CHA_MAX(new ScaledValuePoint("S124_V_A_CHA_MAX", "VAChaMax", //
"Setpoint for maximum charging VA.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_WRITE, Unit.VOLT_AMPERE, "VAChaMax_SF")), //
+ UINT16, false /* mandatory? */, READ_WRITE, Unit.VOLT_AMPERE, "VAChaMax_SF")), //
MIN_RSV_PCT(new ScaledValuePoint("S124_MIN_RSV_PCT", "MinRsvPct", //
"Setpoint for minimum reserve for storage as a percentage of the nominal maximum storage.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_WRITE, Unit.PERCENT, "MinRsvPct_SF")), //
+ UINT16, false /* mandatory? */, READ_WRITE, Unit.PERCENT, "MinRsvPct_SF")), //
CHA_STATE(new ScaledValuePoint("S124_CHA_STATE", "ChaState", //
"Currently available energy as a percent of the capacity rating.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.PERCENT, "ChaState_SF")), //
+ UINT16, false /* mandatory? */, READ_ONLY, Unit.PERCENT, "ChaState_SF")), //
STOR_AVAL(new ScaledValuePoint("S124_STOR_AVAL", "StorAval", //
"State of charge (ChaState) minus storage reserve (MinRsvPct) times capacity rating (AhrRtg).", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.AMPERE_HOURS, "StorAval_SF")), //
+ UINT16, false /* mandatory? */, READ_ONLY, Unit.AMPERE_HOURS, "StorAval_SF")), //
IN_BAT_V(new ScaledValuePoint("S124_IN_BAT_V", "InBatV", //
"Internal battery voltage.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT, "InBatV_SF")), //
+ UINT16, false /* mandatory? */, READ_ONLY, Unit.VOLT, "InBatV_SF")), //
CHA_ST(new EnumPoint("S124_CHA_ST", "ChaSt", //
"Charge status of storage device. Enumerated value.", //
- EnumPoint.Type.ENUM16, false /* mandatory? */, AccessMode.READ_ONLY, S124_ChaSt.values())), //
+ ENUM16, false /* mandatory? */, READ_ONLY, S124_ChaSt.values())), //
OUT_W_RTE(new ScaledValuePoint("S124_OUT_W_RTE", "OutWRte", //
"Percent of max discharge rate.", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_WRITE, Unit.PERCENT, "InOutWRte_SF")), //
+ INT16, false /* mandatory? */, READ_WRITE, Unit.PERCENT, "InOutWRte_SF")), //
IN_W_RTE(new ScaledValuePoint("S124_IN_W_RTE", "InWRte", //
"Percent of max charging rate.", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_WRITE, Unit.PERCENT, "InOutWRte_SF")), //
+ INT16, false /* mandatory? */, READ_WRITE, Unit.PERCENT, "InOutWRte_SF")), //
IN_OUT_W_RTE_WIN_TMS(new ValuePoint("S124_IN_OUT_W_RTE_WIN_TMS", "InOutWRte_WinTms", //
"Time window for charge/discharge rate change.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_WRITE, Unit.SECONDS)), //
+ UINT16, false /* mandatory? */, READ_WRITE, Unit.SECONDS)), //
IN_OUT_W_RTE_RVRT_TMS(new ValuePoint("S124_IN_OUT_W_RTE_RVRT_TMS", "InOutWRte_RvrtTms", //
"Timeout period for charge/discharge rate.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_WRITE, Unit.SECONDS)), //
+ UINT16, false /* mandatory? */, READ_WRITE, Unit.SECONDS)), //
IN_OUT_W_RTE_RMP_TMS(new ValuePoint("S124_IN_OUT_W_RTE_RMP_TMS", "InOutWRte_RmpTms", //
"Ramp time for moving from current setpoint to new setpoint.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_WRITE, Unit.SECONDS)), //
+ UINT16, false /* mandatory? */, READ_WRITE, Unit.SECONDS)), //
CHA_GRI_SET(new EnumPoint("S124_CHA_GRI_SET", "", "", //
- EnumPoint.Type.ENUM16, false /* mandatory? */, AccessMode.READ_WRITE, S124_ChaGriSet.values())), //
+ ENUM16, false /* mandatory? */, READ_WRITE, S124_ChaGriSet.values())), //
W_CHA_MAX_S_F(new ScaleFactorPoint("S124_W_CHA_MAX_S_F", "WChaMax_SF", //
"Scale factor for maximum charge.")), //
W_CHA_DIS_CHA_GRA_S_F(new ScaleFactorPoint("S124_W_CHA_DIS_CHA_GRA_S_F", "WChaDisChaGra_SF", //
@@ -2365,26 +2387,26 @@ public OptionsEnum getUndefined() {
public static enum S125 implements SunSpecPoint {
MOD_ENA(new BitFieldPoint("S125_MOD_ENA", "ModEna", //
"Is price-based charge/discharge mode active?", //
- BitFieldPoint.Type.BITFIELD16, true /* mandatory? */, AccessMode.READ_WRITE, S125_ModEna.values())), //
+ BITFIELD16, true /* mandatory? */, READ_WRITE, S125_ModEna.values())), //
SIG_TYPE(new EnumPoint("S125_SIG_TYPE", "SigType", //
"Meaning of the pricing signal. When a Price schedule is used, type must match the schedule range variable description.", //
- EnumPoint.Type.ENUM16, false /* mandatory? */, AccessMode.READ_WRITE, S125_SigType.values())), //
+ ENUM16, false /* mandatory? */, READ_WRITE, S125_SigType.values())), //
SIG(new ScaledValuePoint("S125_SIG", "Sig", //
"Utility/ESP specific pricing signal. Content depends on pricing signal type. When H/M/L type is specified. Low=0; Med=1; High=2.", //
- ValuePoint.Type.INT16, true /* mandatory? */, AccessMode.READ_WRITE, Unit.NONE, "Sig_SF")), //
+ INT16, true /* mandatory? */, READ_WRITE, Unit.NONE, "Sig_SF")), //
WIN_TMS(new ValuePoint("S125_WIN_TMS", "WinTms", //
"Time window for charge/discharge pricing change.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_WRITE, Unit.SECONDS)), //
+ UINT16, false /* mandatory? */, READ_WRITE, Unit.SECONDS)), //
RVT_TMS(new ValuePoint("S125_RVT_TMS", "RvtTms", //
"Timeout period for charge/discharge pricing change.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_WRITE, Unit.SECONDS)), //
+ UINT16, false /* mandatory? */, READ_WRITE, Unit.SECONDS)), //
RMP_TMS(new ValuePoint("S125_RMP_TMS", "RmpTms", //
"Ramp time for moving from current charge or discharge level to new level.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_WRITE, Unit.SECONDS)), //
+ UINT16, false /* mandatory? */, READ_WRITE, Unit.SECONDS)), //
SIG_S_F(new ScaleFactorPoint("S125_SIG_S_F", "Sig_SF", //
"Pricing signal scale factor.")), //
PAD(new ValuePoint("S125_PAD", "", "", //
- ValuePoint.Type.PAD, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE));
+ ValuePoint.Type.PAD, false /* mandatory? */, READ_ONLY, Unit.NONE));
private final Point point;
@@ -2448,22 +2470,22 @@ public OptionsEnum getUndefined() {
public static enum S127 implements SunSpecPoint {
W_GRA(new ScaledValuePoint("S127_W_GRA", "WGra", //
"The slope of the reduction in the maximum allowed watts output as a function of frequency.", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_WRITE, Unit.PERCENT, "WGra_SF")), //
+ UINT16, true /* mandatory? */, READ_WRITE, Unit.PERCENT, "WGra_SF")), //
HZ_STR(new ScaledValuePoint("S127_HZ_STR", "HzStr", //
"The frequency deviation from nominal frequency (ECPNomHz) at which a snapshot of the instantaneous power output is taken to act as the CAPPED power level (PM) and above which reduction in power output occurs.", //
- ValuePoint.Type.INT16, true /* mandatory? */, AccessMode.READ_WRITE, Unit.HERTZ, "HzStrStop_SF")), //
+ INT16, true /* mandatory? */, READ_WRITE, Unit.HERTZ, "HzStrStop_SF")), //
HZ_STOP(new ScaledValuePoint("S127_HZ_STOP", "HzStop", //
"The frequency deviation from nominal frequency (ECPNomHz) at which curtailed power output may return to normal and the cap on the power level value is removed.", //
- ValuePoint.Type.INT16, true /* mandatory? */, AccessMode.READ_WRITE, Unit.HERTZ, "HzStrStop_SF")), //
+ INT16, true /* mandatory? */, READ_WRITE, Unit.HERTZ, "HzStrStop_SF")), //
HYS_ENA(new BitFieldPoint("S127_HYS_ENA", "HysEna", //
"Enable hysteresis", //
- BitFieldPoint.Type.BITFIELD16, true /* mandatory? */, AccessMode.READ_WRITE, S127_HysEna.values())), //
+ BITFIELD16, true /* mandatory? */, READ_WRITE, S127_HysEna.values())), //
MOD_ENA(new BitFieldPoint("S127_MOD_ENA", "ModEna", //
"Is Parameterized Frequency-Watt control active.", //
- BitFieldPoint.Type.BITFIELD16, true /* mandatory? */, AccessMode.READ_WRITE, S127_ModEna.values())), //
+ BITFIELD16, true /* mandatory? */, READ_WRITE, S127_ModEna.values())), //
HZ_STOP_W_GRA(new ScaledValuePoint("S127_HZ_STOP_W_GRA", "HzStopWGra", //
"The maximum time-based rate of change at which power output returns to normal after having been capped by an over frequency event.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_WRITE, Unit.PERCENT, "RmpIncDec_SF")), //
+ UINT16, false /* mandatory? */, READ_WRITE, Unit.PERCENT, "RmpIncDec_SF")), //
W_GRA_S_F(new ScaleFactorPoint("S127_W_GRA_S_F", "WGra_SF", //
"Scale factor for output gradient.")), //
HZ_STR_STOP_S_F(new ScaleFactorPoint("S127_HZ_STR_STOP_S_F", "HzStrStop_SF", //
@@ -2471,7 +2493,7 @@ public static enum S127 implements SunSpecPoint {
RMP_INC_DEC_S_F(new ScaleFactorPoint("S127_RMP_INC_DEC_S_F", "RmpIncDec_SF", //
"Scale factor for increment and decrement ramps.")), //
PAD(new ValuePoint("S127_PAD", "", "", //
- ValuePoint.Type.PAD, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE));
+ ValuePoint.Type.PAD, false /* mandatory? */, READ_ONLY, Unit.NONE));
private final Point point;
@@ -2518,43 +2540,43 @@ public BitPoint get() {
public static enum S128 implements SunSpecPoint {
AR_GRA_MOD(new EnumPoint("S128_AR_GRA_MOD", "ArGraMod", //
"Indicates if gradients trend toward zero at the edges of the deadband or trend toward zero at the center of the deadband.", //
- EnumPoint.Type.ENUM16, true /* mandatory? */, AccessMode.READ_WRITE, S128_ArGraMod.values())), //
+ ENUM16, true /* mandatory? */, READ_WRITE, S128_ArGraMod.values())), //
AR_GRA_SAG(new ScaledValuePoint("S128_AR_GRA_SAG", "ArGraSag", //
"The gradient used to increase capacitive dynamic current. A value of 0 indicates no additional reactive current support.", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_WRITE, Unit.NONE, "ArGra_SF")), //
+ UINT16, true /* mandatory? */, READ_WRITE, Unit.NONE, "ArGra_SF")), //
AR_GRA_SWELL(new ScaledValuePoint("S128_AR_GRA_SWELL", "ArGraSwell", //
"The gradient used to increase inductive dynamic current. A value of 0 indicates no additional reactive current support.", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_WRITE, Unit.NONE, "ArGra_SF")), //
+ UINT16, true /* mandatory? */, READ_WRITE, Unit.NONE, "ArGra_SF")), //
MOD_ENA(new BitFieldPoint("S128_MOD_ENA", "ModEna", //
"Activate dynamic reactive current model", //
- BitFieldPoint.Type.BITFIELD16, true /* mandatory? */, AccessMode.READ_WRITE, S128_ModEna.values())), //
+ BITFIELD16, true /* mandatory? */, READ_WRITE, S128_ModEna.values())), //
FIL_TMS(new ValuePoint("S128_FIL_TMS", "FilTms", //
"The time window used to calculate the moving average voltage.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_WRITE, Unit.SECONDS)), //
+ UINT16, false /* mandatory? */, READ_WRITE, Unit.SECONDS)), //
DB_V_MIN(new ScaledValuePoint("S128_DB_V_MIN", "DbVMin", //
"The lower delta voltage limit for which negative voltage deviations less than this value no dynamic vars are produced.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_WRITE, Unit.PERCENT, "VRefPct_SF")), //
+ UINT16, false /* mandatory? */, READ_WRITE, Unit.PERCENT, "VRefPct_SF")), //
DB_V_MAX(new ScaledValuePoint("S128_DB_V_MAX", "DbVMax", //
"The upper delta voltage limit for which positive voltage deviations less than this value no dynamic current produced.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_WRITE, Unit.PERCENT, "VRefPct_SF")), //
+ UINT16, false /* mandatory? */, READ_WRITE, Unit.PERCENT, "VRefPct_SF")), //
BLK_ZN_V(new ScaledValuePoint("S128_BLK_ZN_V", "BlkZnV", //
"Block zone voltage which defines a lower voltage boundary below which no dynamic current is produced.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_WRITE, Unit.PERCENT, "VRefPct_SF")), //
+ UINT16, false /* mandatory? */, READ_WRITE, Unit.PERCENT, "VRefPct_SF")), //
HYS_BLK_ZN_V(new ScaledValuePoint("S128_HYS_BLK_ZN_V", "HysBlkZnV", //
"Hysteresis voltage used with BlkZnV.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_WRITE, Unit.PERCENT, "VRefPct_SF")), //
+ UINT16, false /* mandatory? */, READ_WRITE, Unit.PERCENT, "VRefPct_SF")), //
BLK_ZN_TMMS(new ValuePoint("S128_BLK_ZN_TMMS", "BlkZnTmms", //
"Block zone time the time before which reactive current support remains active regardless of how low the voltage drops.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_WRITE, Unit.MILLISECONDS)), //
+ UINT16, false /* mandatory? */, READ_WRITE, Unit.MILLISECONDS)), //
HOLD_TMMS(new ValuePoint("S128_HOLD_TMMS", "HoldTmms", //
"Hold time during which reactive current support continues after the average voltage has entered the dead zone.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_WRITE, Unit.MILLISECONDS)), //
+ UINT16, false /* mandatory? */, READ_WRITE, Unit.MILLISECONDS)), //
AR_GRA_S_F(new ScaleFactorPoint("S128_AR_GRA_S_F", "ArGra_SF", //
"Scale factor for the gradients.")), //
V_REF_PCT_S_F(new ScaleFactorPoint("S128_V_REF_PCT_S_F", "VRefPct_SF", //
"Scale factor for the voltage zone and limit settings.")), //
PAD(new ValuePoint("S128_PAD", "", "", //
- ValuePoint.Type.PAD, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE));
+ ValuePoint.Type.PAD, false /* mandatory? */, READ_ONLY, Unit.NONE));
private final Point point;
@@ -2615,25 +2637,25 @@ public BitPoint get() {
public static enum S145 implements SunSpecPoint {
NOM_RMP_UP_RTE(new ScaledValuePoint("S145_NOM_RMP_UP_RTE", "Ramp Up Rate", //
"Ramp up rate as a percentage of max current.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_WRITE, Unit.NONE, "Rmp_SF")), //
+ UINT16, false /* mandatory? */, READ_WRITE, Unit.NONE, "Rmp_SF")), //
NOM_RMP_DN_RTE(new ScaledValuePoint("S145_NOM_RMP_DN_RTE", "NomRmpDnRte", //
"Ramp down rate as a percentage of max current.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_WRITE, Unit.NONE, "Rmp_SF")), //
+ UINT16, false /* mandatory? */, READ_WRITE, Unit.NONE, "Rmp_SF")), //
EMG_RMP_UP_RTE(new ScaledValuePoint("S145_EMG_RMP_UP_RTE", "Emergency Ramp Up Rate", //
"Emergency ramp up rate as a percentage of max current.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_WRITE, Unit.NONE, "Rmp_SF")), //
+ UINT16, false /* mandatory? */, READ_WRITE, Unit.NONE, "Rmp_SF")), //
EMG_RMP_DN_RTE(new ScaledValuePoint("S145_EMG_RMP_DN_RTE", "Emergency Ramp Down Rate", //
"Emergency ramp down rate as a percentage of max current.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_WRITE, Unit.NONE, "Rmp_SF")), //
+ UINT16, false /* mandatory? */, READ_WRITE, Unit.NONE, "Rmp_SF")), //
CONN_RMP_UP_RTE(new ScaledValuePoint("S145_CONN_RMP_UP_RTE", "Connect Ramp Up Rate", //
"Connect ramp up rate as a percentage of max current.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_WRITE, Unit.NONE, "Rmp_SF")), //
+ UINT16, false /* mandatory? */, READ_WRITE, Unit.NONE, "Rmp_SF")), //
CONN_RMP_DN_RTE(new ScaledValuePoint("S145_CONN_RMP_DN_RTE", "Connect Ramp Down Rate", //
"Connect ramp down rate as a percentage of max current.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_WRITE, Unit.NONE, "Rmp_SF")), //
+ UINT16, false /* mandatory? */, READ_WRITE, Unit.NONE, "Rmp_SF")), //
A_GRA(new ScaledValuePoint("S145_A_GRA", "Default Ramp Rate", //
"Ramp rate specified in percent of max current.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_WRITE, Unit.NONE, "Rmp_SF")), //
+ UINT16, false /* mandatory? */, READ_WRITE, Unit.NONE, "Rmp_SF")), //
RMP_S_F(new ScaleFactorPoint("S145_RMP_S_F", "Ramp Rate Scale Factor", //
"Ramp Rate Scale Factor"));
@@ -2652,174 +2674,186 @@ public Point get() {
public static enum S201 implements SunSpecPoint {
A(new ScaledValuePoint("S201_A", "Amps", //
"Total AC Current", //
- ValuePoint.Type.INT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.AMPERE, "A_SF")), //
+ INT16, true /* mandatory? */, READ_ONLY, Unit.AMPERE, "A_SF")), //
APH_A(new ScaledValuePoint("S201_APH_A", "Amps PhaseA", //
"Phase A Current", //
- ValuePoint.Type.INT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.AMPERE, "A_SF")), //
+ INT16, true /* mandatory? */, READ_ONLY, Unit.AMPERE, "A_SF")), //
APH_B(new ScaledValuePoint("S201_APH_B", "Amps PhaseB", //
"Phase B Current", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.AMPERE, "A_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.AMPERE, "A_SF")), //
APH_C(new ScaledValuePoint("S201_APH_C", "Amps PhaseC", //
"Phase C Current", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.AMPERE, "A_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.AMPERE, "A_SF")), //
A_SF(new ScaleFactorPoint("S201_A_SF", "", //
"Current scale factor")), //
PH_V(new ScaledValuePoint("S201_PH_V", "Voltage LN", //
"Line to Neutral AC Voltage (average of active phases)", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT, "V_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.VOLT, "V_SF")), //
PH_VPH_A(new ScaledValuePoint("S201_PH_VPH_A", "Phase Voltage AN", //
"Phase Voltage AN", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT, "V_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.VOLT, "V_SF")), //
PH_VPH_B(new ScaledValuePoint("S201_PH_VPH_B", "Phase Voltage BN", //
"Phase Voltage BN", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT, "V_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.VOLT, "V_SF")), //
PH_VPH_C(new ScaledValuePoint("S201_PH_VPH_C", "Phase Voltage CN", //
"Phase Voltage CN", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT, "V_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.VOLT, "V_SF")), //
PPV(new ScaledValuePoint("S201_PPV", "Voltage LL", //
"Line to Line AC Voltage (average of active phases)", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT, "V_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.VOLT, "V_SF")), //
P_P_VPH_A_B(new ScaledValuePoint("S201_P_P_VPH_A_B", "Phase Voltage AB", //
"Phase Voltage AB", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT, "V_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.VOLT, "V_SF")), //
P_P_VPH_B_C(new ScaledValuePoint("S201_P_P_VPH_B_C", "Phase Voltage BC", //
"Phase Voltage BC", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT, "V_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.VOLT, "V_SF")), //
P_P_VPH_C_A(new ScaledValuePoint("S201_P_P_VPH_C_A", "Phase Voltage CA", //
"Phase Voltage CA", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT, "V_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.VOLT, "V_SF")), //
V_SF(new ScaleFactorPoint("S201_V_SF", "", //
"Voltage scale factor")), //
HZ(new ScaledValuePoint("S201_HZ", "Hz", //
"Frequency", //
- ValuePoint.Type.INT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.HERTZ, "Hz_SF")), //
+ INT16, true /* mandatory? */, READ_ONLY, Unit.HERTZ, "Hz_SF")), //
HZ_S_F(new ScaleFactorPoint("S201_HZ_S_F", "", //
"Frequency scale factor")), //
W(new ScaledValuePoint("S201_W", "Watts", //
"Total Real Power", //
- ValuePoint.Type.INT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.WATT, "W_SF")), //
+ INT16, true /* mandatory? */, READ_ONLY, Unit.WATT, "W_SF")), //
WPH_A(new ScaledValuePoint("S201_WPH_A", "Watts phase A", "", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.WATT, "W_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.WATT, "W_SF")), //
WPH_B(new ScaledValuePoint("S201_WPH_B", "Watts phase B", "", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.WATT, "W_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.WATT, "W_SF")), //
WPH_C(new ScaledValuePoint("S201_WPH_C", "Watts phase C", "", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.WATT, "W_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.WATT, "W_SF")), //
W_SF(new ScaleFactorPoint("S201_W_SF", "", //
"Real Power scale factor")), //
VA(new ScaledValuePoint("S201_VA", "VA", //
"AC Apparent Power", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE, "VA_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE, "VA_SF")), //
V_APH_A(new ScaledValuePoint("S201_V_APH_A", "VA phase A", "", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE, "VA_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE, "VA_SF")), //
V_APH_B(new ScaledValuePoint("S201_V_APH_B", "VA phase B", "", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE, "VA_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE, "VA_SF")), //
V_APH_C(new ScaledValuePoint("S201_V_APH_C", "VA phase C", "", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE, "VA_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE, "VA_SF")), //
VA_SF(new ScaleFactorPoint("S201_VA_SF", "", //
"Apparent Power scale factor")), //
VAR(new ScaledValuePoint("S201_VAR", "VAR", //
"Reactive Power", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_REACTIVE, "VAR_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_REACTIVE, "VAR_SF")), //
V_A_RPH_A(new ScaledValuePoint("S201_V_A_RPH_A", "VAR phase A", "", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_REACTIVE, "VAR_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_REACTIVE, "VAR_SF")), //
V_A_RPH_B(new ScaledValuePoint("S201_V_A_RPH_B", "VAR phase B", "", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_REACTIVE, "VAR_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_REACTIVE, "VAR_SF")), //
V_A_RPH_C(new ScaledValuePoint("S201_V_A_RPH_C", "VAR phase C", "", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_REACTIVE, "VAR_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_REACTIVE, "VAR_SF")), //
VAR_SF(new ScaleFactorPoint("S201_VAR_SF", "", //
"Reactive Power scale factor")), //
PF(new ScaledValuePoint("S201_PF", "PF", //
"Power Factor", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE, "PF_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.NONE, "PF_SF")), //
P_FPH_A(new ScaledValuePoint("S201_P_FPH_A", "PF phase A", "", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE, "PF_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.NONE, "PF_SF")), //
P_FPH_B(new ScaledValuePoint("S201_P_FPH_B", "PF phase B", "", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE, "PF_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.NONE, "PF_SF")), //
P_FPH_C(new ScaledValuePoint("S201_P_FPH_C", "PF phase C", "", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE, "PF_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.NONE, "PF_SF")), //
PF_SF(new ScaleFactorPoint("S201_PF_SF", "", //
"Power Factor scale factor")), //
TOT_WH_EXP(new ScaledValuePoint("S201_TOT_WH_EXP", "Total Watt-hours Exported", //
"Total Real Energy Exported", //
- ValuePoint.Type.ACC32, true /* mandatory? */, AccessMode.READ_ONLY, Unit.CUMULATED_WATT_HOURS, "TotWh_SF")), //
+ ACC32, true /* mandatory? */, READ_ONLY, Unit.CUMULATED_WATT_HOURS, "TotWh_SF")), //
TOT_WH_EXP_PH_A(new ScaledValuePoint("S201_TOT_WH_EXP_PH_A", "Total Watt-hours Exported phase A", "", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.CUMULATED_WATT_HOURS, "TotWh_SF")), //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.CUMULATED_WATT_HOURS, "TotWh_SF")), //
TOT_WH_EXP_PH_B(new ScaledValuePoint("S201_TOT_WH_EXP_PH_B", "Total Watt-hours Exported phase B", "", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.CUMULATED_WATT_HOURS, "TotWh_SF")), //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.CUMULATED_WATT_HOURS, "TotWh_SF")), //
TOT_WH_EXP_PH_C(new ScaledValuePoint("S201_TOT_WH_EXP_PH_C", "Total Watt-hours Exported phase C", "", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.CUMULATED_WATT_HOURS, "TotWh_SF")), //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.CUMULATED_WATT_HOURS, "TotWh_SF")), //
TOT_WH_IMP(new ScaledValuePoint("S201_TOT_WH_IMP", "Total Watt-hours Imported", //
"Total Real Energy Imported", //
- ValuePoint.Type.ACC32, true /* mandatory? */, AccessMode.READ_ONLY, Unit.CUMULATED_WATT_HOURS, "TotWh_SF")), //
+ ACC32, true /* mandatory? */, READ_ONLY, Unit.CUMULATED_WATT_HOURS, "TotWh_SF")), //
TOT_WH_IMP_PH_A(new ScaledValuePoint("S201_TOT_WH_IMP_PH_A", "Total Watt-hours Imported phase A", "", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.CUMULATED_WATT_HOURS, "TotWh_SF")), //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.CUMULATED_WATT_HOURS, "TotWh_SF")), //
TOT_WH_IMP_PH_B(new ScaledValuePoint("S201_TOT_WH_IMP_PH_B", "Total Watt-hours Imported phase B", "", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.CUMULATED_WATT_HOURS, "TotWh_SF")), //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.CUMULATED_WATT_HOURS, "TotWh_SF")), //
TOT_WH_IMP_PH_C(new ScaledValuePoint("S201_TOT_WH_IMP_PH_C", "Total Watt-hours Imported phase C", "", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.CUMULATED_WATT_HOURS, "TotWh_SF")), //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.CUMULATED_WATT_HOURS, "TotWh_SF")), //
TOT_WH_S_F(new ScaleFactorPoint("S201_TOT_WH_S_F", "", //
"Real Energy scale factor")), //
TOT_V_AH_EXP(new ScaledValuePoint("S201_TOT_V_AH_EXP", "Total VA-hours Exported", //
"Total Apparent Energy Exported", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_HOURS, "TotVAh_SF")), //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_HOURS, "TotVAh_SF")), //
TOT_V_AH_EXP_PH_A(new ScaledValuePoint("S201_TOT_V_AH_EXP_PH_A", "Total VA-hours Exported phase A", "", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_HOURS, "TotVAh_SF")), //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_HOURS, "TotVAh_SF")), //
TOT_V_AH_EXP_PH_B(new ScaledValuePoint("S201_TOT_V_AH_EXP_PH_B", "Total VA-hours Exported phase B", "", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_HOURS, "TotVAh_SF")), //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_HOURS, "TotVAh_SF")), //
TOT_V_AH_EXP_PH_C(new ScaledValuePoint("S201_TOT_V_AH_EXP_PH_C", "Total VA-hours Exported phase C", "", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_HOURS, "TotVAh_SF")), //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_HOURS, "TotVAh_SF")), //
TOT_V_AH_IMP(new ScaledValuePoint("S201_TOT_V_AH_IMP", "Total VA-hours Imported", //
"Total Apparent Energy Imported", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_HOURS, "TotVAh_SF")), //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_HOURS, "TotVAh_SF")), //
TOT_V_AH_IMP_PH_A(new ScaledValuePoint("S201_TOT_V_AH_IMP_PH_A", "Total VA-hours Imported phase A", "", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_HOURS, "TotVAh_SF")), //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_HOURS, "TotVAh_SF")), //
TOT_V_AH_IMP_PH_B(new ScaledValuePoint("S201_TOT_V_AH_IMP_PH_B", "Total VA-hours Imported phase B", "", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_HOURS, "TotVAh_SF")), //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_HOURS, "TotVAh_SF")), //
TOT_V_AH_IMP_PH_C(new ScaledValuePoint("S201_TOT_V_AH_IMP_PH_C", "Total VA-hours Imported phase C", "", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_HOURS, "TotVAh_SF")), //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_HOURS, "TotVAh_SF")), //
TOT_V_AH_S_F(new ScaleFactorPoint("S201_TOT_V_AH_S_F", "", //
"Apparent Energy scale factor")), //
TOT_V_ARH_IMP_Q1(new ScaledValuePoint("S201_TOT_V_ARH_IMP_Q1", "Total VAR-hours Imported Q1", //
"Total Reactive Energy Imported Quadrant 1", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
- TOT_V_ARH_IMP_Q1_PH_A(new ScaledValuePoint("S201_TOT_V_ARH_IMP_Q1_PH_A", "Total VAr-hours Imported Q1 phase A", "", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
- TOT_V_ARH_IMP_Q1_PH_B(new ScaledValuePoint("S201_TOT_V_ARH_IMP_Q1_PH_B", "Total VAr-hours Imported Q1 phase B", "", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
- TOT_V_ARH_IMP_Q1_PH_C(new ScaledValuePoint("S201_TOT_V_ARH_IMP_Q1_PH_C", "Total VAr-hours Imported Q1 phase C", "", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
+ TOT_V_ARH_IMP_Q1_PH_A(
+ new ScaledValuePoint("S201_TOT_V_ARH_IMP_Q1_PH_A", "Total VAr-hours Imported Q1 phase A", "", //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
+ TOT_V_ARH_IMP_Q1_PH_B(
+ new ScaledValuePoint("S201_TOT_V_ARH_IMP_Q1_PH_B", "Total VAr-hours Imported Q1 phase B", "", //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
+ TOT_V_ARH_IMP_Q1_PH_C(
+ new ScaledValuePoint("S201_TOT_V_ARH_IMP_Q1_PH_C", "Total VAr-hours Imported Q1 phase C", "", //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
TOT_V_ARH_IMP_Q2(new ScaledValuePoint("S201_TOT_V_ARH_IMP_Q2", "Total VAr-hours Imported Q2", //
"Total Reactive Power Imported Quadrant 2", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
- TOT_V_ARH_IMP_Q2_PH_A(new ScaledValuePoint("S201_TOT_V_ARH_IMP_Q2_PH_A", "Total VAr-hours Imported Q2 phase A", "", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
- TOT_V_ARH_IMP_Q2_PH_B(new ScaledValuePoint("S201_TOT_V_ARH_IMP_Q2_PH_B", "Total VAr-hours Imported Q2 phase B", "", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
- TOT_V_ARH_IMP_Q2_PH_C(new ScaledValuePoint("S201_TOT_V_ARH_IMP_Q2_PH_C", "Total VAr-hours Imported Q2 phase C", "", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
+ TOT_V_ARH_IMP_Q2_PH_A(
+ new ScaledValuePoint("S201_TOT_V_ARH_IMP_Q2_PH_A", "Total VAr-hours Imported Q2 phase A", "", //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
+ TOT_V_ARH_IMP_Q2_PH_B(
+ new ScaledValuePoint("S201_TOT_V_ARH_IMP_Q2_PH_B", "Total VAr-hours Imported Q2 phase B", "", //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
+ TOT_V_ARH_IMP_Q2_PH_C(
+ new ScaledValuePoint("S201_TOT_V_ARH_IMP_Q2_PH_C", "Total VAr-hours Imported Q2 phase C", "", //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
TOT_V_ARH_EXP_Q3(new ScaledValuePoint("S201_TOT_V_ARH_EXP_Q3", "Total VAr-hours Exported Q3", //
"Total Reactive Power Exported Quadrant 3", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
- TOT_V_ARH_EXP_Q3_PH_A(new ScaledValuePoint("S201_TOT_V_ARH_EXP_Q3_PH_A", "Total VAr-hours Exported Q3 phase A", "", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
- TOT_V_ARH_EXP_Q3_PH_B(new ScaledValuePoint("S201_TOT_V_ARH_EXP_Q3_PH_B", "Total VAr-hours Exported Q3 phase B", "", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
- TOT_V_ARH_EXP_Q3_PH_C(new ScaledValuePoint("S201_TOT_V_ARH_EXP_Q3_PH_C", "Total VAr-hours Exported Q3 phase C", "", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
+ TOT_V_ARH_EXP_Q3_PH_A(
+ new ScaledValuePoint("S201_TOT_V_ARH_EXP_Q3_PH_A", "Total VAr-hours Exported Q3 phase A", "", //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
+ TOT_V_ARH_EXP_Q3_PH_B(
+ new ScaledValuePoint("S201_TOT_V_ARH_EXP_Q3_PH_B", "Total VAr-hours Exported Q3 phase B", "", //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
+ TOT_V_ARH_EXP_Q3_PH_C(
+ new ScaledValuePoint("S201_TOT_V_ARH_EXP_Q3_PH_C", "Total VAr-hours Exported Q3 phase C", "", //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
TOT_V_ARH_EXP_Q4(new ScaledValuePoint("S201_TOT_V_ARH_EXP_Q4", "Total VAr-hours Exported Q4", //
"Total Reactive Power Exported Quadrant 4", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
- TOT_V_ARH_EXP_Q4_PH_A(new ScaledValuePoint("S201_TOT_V_ARH_EXP_Q4_PH_A", "Total VAr-hours Exported Q4 Imported phase A", "", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
- TOT_V_ARH_EXP_Q4_PH_B(new ScaledValuePoint("S201_TOT_V_ARH_EXP_Q4_PH_B", "Total VAr-hours Exported Q4 Imported phase B", "", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
- TOT_V_ARH_EXP_Q4_PH_C(new ScaledValuePoint("S201_TOT_V_ARH_EXP_Q4_PH_C", "Total VAr-hours Exported Q4 Imported phase C", "", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
+ TOT_V_ARH_EXP_Q4_PH_A(
+ new ScaledValuePoint("S201_TOT_V_ARH_EXP_Q4_PH_A", "Total VAr-hours Exported Q4 Imported phase A", "", //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
+ TOT_V_ARH_EXP_Q4_PH_B(
+ new ScaledValuePoint("S201_TOT_V_ARH_EXP_Q4_PH_B", "Total VAr-hours Exported Q4 Imported phase B", "", //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
+ TOT_V_ARH_EXP_Q4_PH_C(
+ new ScaledValuePoint("S201_TOT_V_ARH_EXP_Q4_PH_C", "Total VAr-hours Exported Q4 Imported phase C", "", //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
TOT_V_ARH_S_F(new ScaleFactorPoint("S201_TOT_V_ARH_S_F", "", //
"Reactive Energy scale factor")), //
EVT(new BitFieldPoint("S201_EVT", "Events", //
"Meter Event Flags", //
- BitFieldPoint.Type.BITFIELD32, true /* mandatory? */, AccessMode.READ_ONLY, S201_Evt.values()));
+ BITFIELD32, true /* mandatory? */, READ_ONLY, S201_Evt.values()));
private final Point point;
@@ -2871,174 +2905,186 @@ public BitPoint get() {
public static enum S202 implements SunSpecPoint {
A(new ScaledValuePoint("S202_A", "Amps", //
"Total AC Current", //
- ValuePoint.Type.INT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.AMPERE, "A_SF")), //
+ INT16, true /* mandatory? */, READ_ONLY, Unit.AMPERE, "A_SF")), //
APH_A(new ScaledValuePoint("S202_APH_A", "Amps PhaseA", //
"Phase A Current", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.AMPERE, "A_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.AMPERE, "A_SF")), //
APH_B(new ScaledValuePoint("S202_APH_B", "Amps PhaseB", //
"Phase B Current", //
- ValuePoint.Type.INT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.AMPERE, "A_SF")), //
+ INT16, true /* mandatory? */, READ_ONLY, Unit.AMPERE, "A_SF")), //
APH_C(new ScaledValuePoint("S202_APH_C", "Amps PhaseC", //
"Phase C Current", //
- ValuePoint.Type.INT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.AMPERE, "A_SF")), //
+ INT16, true /* mandatory? */, READ_ONLY, Unit.AMPERE, "A_SF")), //
A_SF(new ScaleFactorPoint("S202_A_SF", "", //
"Current scale factor")), //
PH_V(new ScaledValuePoint("S202_PH_V", "Voltage LN", //
"Line to Neutral AC Voltage (average of active phases)", //
- ValuePoint.Type.INT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT, "V_SF")), //
+ INT16, true /* mandatory? */, READ_ONLY, Unit.VOLT, "V_SF")), //
PH_VPH_A(new ScaledValuePoint("S202_PH_VPH_A", "Phase Voltage AN", //
"Phase Voltage AN", //
- ValuePoint.Type.INT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT, "V_SF")), //
+ INT16, true /* mandatory? */, READ_ONLY, Unit.VOLT, "V_SF")), //
PH_VPH_B(new ScaledValuePoint("S202_PH_VPH_B", "Phase Voltage BN", //
"Phase Voltage BN", //
- ValuePoint.Type.INT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT, "V_SF")), //
+ INT16, true /* mandatory? */, READ_ONLY, Unit.VOLT, "V_SF")), //
PH_VPH_C(new ScaledValuePoint("S202_PH_VPH_C", "Phase Voltage CN", //
"Phase Voltage CN", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT, "V_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.VOLT, "V_SF")), //
PPV(new ScaledValuePoint("S202_PPV", "Voltage LL", //
"Line to Line AC Voltage (average of active phases)", //
- ValuePoint.Type.INT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT, "V_SF")), //
+ INT16, true /* mandatory? */, READ_ONLY, Unit.VOLT, "V_SF")), //
PH_VPH_A_B(new ScaledValuePoint("S202_PH_VPH_A_B", "Phase Voltage AB", //
"Phase Voltage AB", //
- ValuePoint.Type.INT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT, "V_SF")), //
+ INT16, true /* mandatory? */, READ_ONLY, Unit.VOLT, "V_SF")), //
PH_VPH_B_C(new ScaledValuePoint("S202_PH_VPH_B_C", "Phase Voltage BC", //
"Phase Voltage BC", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT, "V_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.VOLT, "V_SF")), //
PH_VPH_C_A(new ScaledValuePoint("S202_PH_VPH_C_A", "Phase Voltage CA", //
"Phase Voltage CA", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT, "V_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.VOLT, "V_SF")), //
V_SF(new ScaleFactorPoint("S202_V_SF", "", //
"Voltage scale factor")), //
HZ(new ScaledValuePoint("S202_HZ", "Hz", //
"Frequency", //
- ValuePoint.Type.INT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.HERTZ, "Hz_SF")), //
+ INT16, true /* mandatory? */, READ_ONLY, Unit.HERTZ, "Hz_SF")), //
HZ_S_F(new ScaleFactorPoint("S202_HZ_S_F", "", //
"Frequency scale factor")), //
W(new ScaledValuePoint("S202_W", "Watts", //
"Total Real Power", //
- ValuePoint.Type.INT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.WATT, "W_SF")), //
+ INT16, true /* mandatory? */, READ_ONLY, Unit.WATT, "W_SF")), //
WPH_A(new ScaledValuePoint("S202_WPH_A", "Watts phase A", "", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.WATT, "W_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.WATT, "W_SF")), //
WPH_B(new ScaledValuePoint("S202_WPH_B", "Watts phase B", "", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.WATT, "W_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.WATT, "W_SF")), //
WPH_C(new ScaledValuePoint("S202_WPH_C", "Watts phase C", "", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.WATT, "W_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.WATT, "W_SF")), //
W_SF(new ScaleFactorPoint("S202_W_SF", "", //
"Real Power scale factor")), //
VA(new ScaledValuePoint("S202_VA", "VA", //
"AC Apparent Power", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE, "VA_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE, "VA_SF")), //
V_APH_A(new ScaledValuePoint("S202_V_APH_A", "VA phase A", "", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE, "VA_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE, "VA_SF")), //
V_APH_B(new ScaledValuePoint("S202_V_APH_B", "VA phase B", "", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE, "VA_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE, "VA_SF")), //
V_APH_C(new ScaledValuePoint("S202_V_APH_C", "VA phase C", "", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE, "VA_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE, "VA_SF")), //
VA_SF(new ScaleFactorPoint("S202_VA_SF", "", //
"Apparent Power scale factor")), //
VAR(new ScaledValuePoint("S202_VAR", "VAR", //
"Reactive Power", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_REACTIVE, "VAR_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_REACTIVE, "VAR_SF")), //
V_A_RPH_A(new ScaledValuePoint("S202_V_A_RPH_A", "VAR phase A", "", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_REACTIVE, "VAR_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_REACTIVE, "VAR_SF")), //
V_A_RPH_B(new ScaledValuePoint("S202_V_A_RPH_B", "VAR phase B", "", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_REACTIVE, "VAR_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_REACTIVE, "VAR_SF")), //
V_A_RPH_C(new ScaledValuePoint("S202_V_A_RPH_C", "VAR phase C", "", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_REACTIVE, "VAR_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_REACTIVE, "VAR_SF")), //
VAR_SF(new ScaleFactorPoint("S202_VAR_SF", "", //
"Reactive Power scale factor")), //
PF(new ScaledValuePoint("S202_PF", "PF", //
"Power Factor", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE, "PF_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.NONE, "PF_SF")), //
P_FPH_A(new ScaledValuePoint("S202_P_FPH_A", "PF phase A", "", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE, "PF_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.NONE, "PF_SF")), //
P_FPH_B(new ScaledValuePoint("S202_P_FPH_B", "PF phase B", "", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE, "PF_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.NONE, "PF_SF")), //
P_FPH_C(new ScaledValuePoint("S202_P_FPH_C", "PF phase C", "", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE, "PF_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.NONE, "PF_SF")), //
PF_SF(new ScaleFactorPoint("S202_PF_SF", "", //
"Power Factor scale factor")), //
TOT_WH_EXP(new ScaledValuePoint("S202_TOT_WH_EXP", "Total Watt-hours Exported", //
"Total Real Energy Exported", //
- ValuePoint.Type.ACC32, true /* mandatory? */, AccessMode.READ_ONLY, Unit.CUMULATED_WATT_HOURS, "TotWh_SF")), //
+ ACC32, true /* mandatory? */, READ_ONLY, Unit.CUMULATED_WATT_HOURS, "TotWh_SF")), //
TOT_WH_EXP_PH_A(new ScaledValuePoint("S202_TOT_WH_EXP_PH_A", "Total Watt-hours Exported phase A", "", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.CUMULATED_WATT_HOURS, "TotWh_SF")), //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.CUMULATED_WATT_HOURS, "TotWh_SF")), //
TOT_WH_EXP_PH_B(new ScaledValuePoint("S202_TOT_WH_EXP_PH_B", "Total Watt-hours Exported phase B", "", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.CUMULATED_WATT_HOURS, "TotWh_SF")), //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.CUMULATED_WATT_HOURS, "TotWh_SF")), //
TOT_WH_EXP_PH_C(new ScaledValuePoint("S202_TOT_WH_EXP_PH_C", "Total Watt-hours Exported phase C", "", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.CUMULATED_WATT_HOURS, "TotWh_SF")), //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.CUMULATED_WATT_HOURS, "TotWh_SF")), //
TOT_WH_IMP(new ScaledValuePoint("S202_TOT_WH_IMP", "Total Watt-hours Imported", //
"Total Real Energy Imported", //
- ValuePoint.Type.ACC32, true /* mandatory? */, AccessMode.READ_ONLY, Unit.CUMULATED_WATT_HOURS, "TotWh_SF")), //
+ ACC32, true /* mandatory? */, READ_ONLY, Unit.CUMULATED_WATT_HOURS, "TotWh_SF")), //
TOT_WH_IMP_PH_A(new ScaledValuePoint("S202_TOT_WH_IMP_PH_A", "Total Watt-hours Imported phase A", "", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.CUMULATED_WATT_HOURS, "TotWh_SF")), //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.CUMULATED_WATT_HOURS, "TotWh_SF")), //
TOT_WH_IMP_PH_B(new ScaledValuePoint("S202_TOT_WH_IMP_PH_B", "Total Watt-hours Imported phase B", "", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.CUMULATED_WATT_HOURS, "TotWh_SF")), //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.CUMULATED_WATT_HOURS, "TotWh_SF")), //
TOT_WH_IMP_PH_C(new ScaledValuePoint("S202_TOT_WH_IMP_PH_C", "Total Watt-hours Imported phase C", "", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.CUMULATED_WATT_HOURS, "TotWh_SF")), //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.CUMULATED_WATT_HOURS, "TotWh_SF")), //
TOT_WH_S_F(new ScaleFactorPoint("S202_TOT_WH_S_F", "", //
"Real Energy scale factor")), //
TOT_V_AH_EXP(new ScaledValuePoint("S202_TOT_V_AH_EXP", "Total VA-hours Exported", //
"Total Apparent Energy Exported", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_HOURS, "TotVAh_SF")), //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_HOURS, "TotVAh_SF")), //
TOT_V_AH_EXP_PH_A(new ScaledValuePoint("S202_TOT_V_AH_EXP_PH_A", "Total VA-hours Exported phase A", "", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_HOURS, "TotVAh_SF")), //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_HOURS, "TotVAh_SF")), //
TOT_V_AH_EXP_PH_B(new ScaledValuePoint("S202_TOT_V_AH_EXP_PH_B", "Total VA-hours Exported phase B", "", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_HOURS, "TotVAh_SF")), //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_HOURS, "TotVAh_SF")), //
TOT_V_AH_EXP_PH_C(new ScaledValuePoint("S202_TOT_V_AH_EXP_PH_C", "Total VA-hours Exported phase C", "", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_HOURS, "TotVAh_SF")), //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_HOURS, "TotVAh_SF")), //
TOT_V_AH_IMP(new ScaledValuePoint("S202_TOT_V_AH_IMP", "Total VA-hours Imported", //
"Total Apparent Energy Imported", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_HOURS, "TotVAh_SF")), //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_HOURS, "TotVAh_SF")), //
TOT_V_AH_IMP_PH_A(new ScaledValuePoint("S202_TOT_V_AH_IMP_PH_A", "Total VA-hours Imported phase A", "", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_HOURS, "TotVAh_SF")), //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_HOURS, "TotVAh_SF")), //
TOT_V_AH_IMP_PH_B(new ScaledValuePoint("S202_TOT_V_AH_IMP_PH_B", "Total VA-hours Imported phase B", "", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_HOURS, "TotVAh_SF")), //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_HOURS, "TotVAh_SF")), //
TOT_V_AH_IMP_PH_C(new ScaledValuePoint("S202_TOT_V_AH_IMP_PH_C", "Total VA-hours Imported phase C", "", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_HOURS, "TotVAh_SF")), //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_HOURS, "TotVAh_SF")), //
TOT_V_AH_S_F(new ScaleFactorPoint("S202_TOT_V_AH_S_F", "", //
"Apparent Energy scale factor")), //
TOT_V_ARH_IMP_Q1(new ScaledValuePoint("S202_TOT_V_ARH_IMP_Q1", "Total VAR-hours Imported Q1", //
"Total Reactive Energy Imported Quadrant 1", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
- TOT_V_ARH_IMP_Q1_PH_A(new ScaledValuePoint("S202_TOT_V_ARH_IMP_Q1_PH_A", "Total VAr-hours Imported Q1 phase A", "", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
- TOT_V_ARH_IMP_Q1_PH_B(new ScaledValuePoint("S202_TOT_V_ARH_IMP_Q1_PH_B", "Total VAr-hours Imported Q1 phase B", "", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
- TOT_V_ARH_IMP_Q1_PH_C(new ScaledValuePoint("S202_TOT_V_ARH_IMP_Q1_PH_C", "Total VAr-hours Imported Q1 phase C", "", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
+ TOT_V_ARH_IMP_Q1_PH_A(
+ new ScaledValuePoint("S202_TOT_V_ARH_IMP_Q1_PH_A", "Total VAr-hours Imported Q1 phase A", "", //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
+ TOT_V_ARH_IMP_Q1_PH_B(
+ new ScaledValuePoint("S202_TOT_V_ARH_IMP_Q1_PH_B", "Total VAr-hours Imported Q1 phase B", "", //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
+ TOT_V_ARH_IMP_Q1_PH_C(
+ new ScaledValuePoint("S202_TOT_V_ARH_IMP_Q1_PH_C", "Total VAr-hours Imported Q1 phase C", "", //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
TOT_V_ARH_IMP_Q2(new ScaledValuePoint("S202_TOT_V_ARH_IMP_Q2", "Total VAr-hours Imported Q2", //
"Total Reactive Power Imported Quadrant 2", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
- TOT_V_ARH_IMP_Q2_PH_A(new ScaledValuePoint("S202_TOT_V_ARH_IMP_Q2_PH_A", "Total VAr-hours Imported Q2 phase A", "", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
- TOT_V_ARH_IMP_Q2_PH_B(new ScaledValuePoint("S202_TOT_V_ARH_IMP_Q2_PH_B", "Total VAr-hours Imported Q2 phase B", "", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
- TOT_V_ARH_IMP_Q2_PH_C(new ScaledValuePoint("S202_TOT_V_ARH_IMP_Q2_PH_C", "Total VAr-hours Imported Q2 phase C", "", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
+ TOT_V_ARH_IMP_Q2_PH_A(
+ new ScaledValuePoint("S202_TOT_V_ARH_IMP_Q2_PH_A", "Total VAr-hours Imported Q2 phase A", "", //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
+ TOT_V_ARH_IMP_Q2_PH_B(
+ new ScaledValuePoint("S202_TOT_V_ARH_IMP_Q2_PH_B", "Total VAr-hours Imported Q2 phase B", "", //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
+ TOT_V_ARH_IMP_Q2_PH_C(
+ new ScaledValuePoint("S202_TOT_V_ARH_IMP_Q2_PH_C", "Total VAr-hours Imported Q2 phase C", "", //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
TOT_V_ARH_EXP_Q3(new ScaledValuePoint("S202_TOT_V_ARH_EXP_Q3", "Total VAr-hours Exported Q3", //
"Total Reactive Power Exported Quadrant 3", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
- TOT_V_ARH_EXP_Q3_PH_A(new ScaledValuePoint("S202_TOT_V_ARH_EXP_Q3_PH_A", "Total VAr-hours Exported Q3 phase A", "", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
- TOT_V_ARH_EXP_Q3_PH_B(new ScaledValuePoint("S202_TOT_V_ARH_EXP_Q3_PH_B", "Total VAr-hours Exported Q3 phase B", "", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
- TOT_V_ARH_EXP_Q3_PH_C(new ScaledValuePoint("S202_TOT_V_ARH_EXP_Q3_PH_C", "Total VAr-hours Exported Q3 phase C", "", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
+ TOT_V_ARH_EXP_Q3_PH_A(
+ new ScaledValuePoint("S202_TOT_V_ARH_EXP_Q3_PH_A", "Total VAr-hours Exported Q3 phase A", "", //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
+ TOT_V_ARH_EXP_Q3_PH_B(
+ new ScaledValuePoint("S202_TOT_V_ARH_EXP_Q3_PH_B", "Total VAr-hours Exported Q3 phase B", "", //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
+ TOT_V_ARH_EXP_Q3_PH_C(
+ new ScaledValuePoint("S202_TOT_V_ARH_EXP_Q3_PH_C", "Total VAr-hours Exported Q3 phase C", "", //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
TOT_V_ARH_EXP_Q4(new ScaledValuePoint("S202_TOT_V_ARH_EXP_Q4", "Total VAr-hours Exported Q4", //
"Total Reactive Power Exported Quadrant 4", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
- TOT_V_ARH_EXP_Q4_PH_A(new ScaledValuePoint("S202_TOT_V_ARH_EXP_Q4_PH_A", "Total VAr-hours Exported Q4 Imported phase A", "", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
- TOT_V_ARH_EXP_Q4_PH_B(new ScaledValuePoint("S202_TOT_V_ARH_EXP_Q4_PH_B", "Total VAr-hours Exported Q4 Imported phase B", "", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
- TOT_V_ARH_EXP_Q4_PH_C(new ScaledValuePoint("S202_TOT_V_ARH_EXP_Q4_PH_C", "Total VAr-hours Exported Q4 Imported phase C", "", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
+ TOT_V_ARH_EXP_Q4_PH_A(
+ new ScaledValuePoint("S202_TOT_V_ARH_EXP_Q4_PH_A", "Total VAr-hours Exported Q4 Imported phase A", "", //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
+ TOT_V_ARH_EXP_Q4_PH_B(
+ new ScaledValuePoint("S202_TOT_V_ARH_EXP_Q4_PH_B", "Total VAr-hours Exported Q4 Imported phase B", "", //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
+ TOT_V_ARH_EXP_Q4_PH_C(
+ new ScaledValuePoint("S202_TOT_V_ARH_EXP_Q4_PH_C", "Total VAr-hours Exported Q4 Imported phase C", "", //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
TOT_V_ARH_S_F(new ScaleFactorPoint("S202_TOT_V_ARH_S_F", "", //
"Reactive Energy scale factor")), //
EVT(new BitFieldPoint("S202_EVT", "Events", //
"Meter Event Flags", //
- BitFieldPoint.Type.BITFIELD32, true /* mandatory? */, AccessMode.READ_ONLY, S202_Evt.values()));
+ BITFIELD32, true /* mandatory? */, READ_ONLY, S202_Evt.values()));
private final Point point;
@@ -3098,174 +3144,186 @@ public BitPoint get() {
public static enum S203 implements SunSpecPoint {
A(new ScaledValuePoint("S203_A", "Amps", //
"Total AC Current", //
- ValuePoint.Type.INT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.AMPERE, "A_SF")), //
+ INT16, true /* mandatory? */, READ_ONLY, Unit.AMPERE, "A_SF")), //
APH_A(new ScaledValuePoint("S203_APH_A", "Amps PhaseA", //
"Phase A Current", //
- ValuePoint.Type.INT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.AMPERE, "A_SF")), //
+ INT16, true /* mandatory? */, READ_ONLY, Unit.AMPERE, "A_SF")), //
APH_B(new ScaledValuePoint("S203_APH_B", "Amps PhaseB", //
"Phase B Current", //
- ValuePoint.Type.INT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.AMPERE, "A_SF")), //
+ INT16, true /* mandatory? */, READ_ONLY, Unit.AMPERE, "A_SF")), //
APH_C(new ScaledValuePoint("S203_APH_C", "Amps PhaseC", //
"Phase C Current", //
- ValuePoint.Type.INT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.AMPERE, "A_SF")), //
+ INT16, true /* mandatory? */, READ_ONLY, Unit.AMPERE, "A_SF")), //
A_SF(new ScaleFactorPoint("S203_A_SF", "", //
"Current scale factor")), //
PH_V(new ScaledValuePoint("S203_PH_V", "Voltage LN", //
"Line to Neutral AC Voltage (average of active phases)", //
- ValuePoint.Type.INT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT, "V_SF")), //
+ INT16, true /* mandatory? */, READ_ONLY, Unit.VOLT, "V_SF")), //
PH_VPH_A(new ScaledValuePoint("S203_PH_VPH_A", "Phase Voltage AN", //
"Phase Voltage AN", //
- ValuePoint.Type.INT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT, "V_SF")), //
+ INT16, true /* mandatory? */, READ_ONLY, Unit.VOLT, "V_SF")), //
PH_VPH_B(new ScaledValuePoint("S203_PH_VPH_B", "Phase Voltage BN", //
"Phase Voltage BN", //
- ValuePoint.Type.INT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT, "V_SF")), //
+ INT16, true /* mandatory? */, READ_ONLY, Unit.VOLT, "V_SF")), //
PH_VPH_C(new ScaledValuePoint("S203_PH_VPH_C", "Phase Voltage CN", //
"Phase Voltage CN", //
- ValuePoint.Type.INT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT, "V_SF")), //
+ INT16, true /* mandatory? */, READ_ONLY, Unit.VOLT, "V_SF")), //
PPV(new ScaledValuePoint("S203_PPV", "Voltage LL", //
"Line to Line AC Voltage (average of active phases)", //
- ValuePoint.Type.INT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT, "V_SF")), //
+ INT16, true /* mandatory? */, READ_ONLY, Unit.VOLT, "V_SF")), //
PH_VPH_A_B(new ScaledValuePoint("S203_PH_VPH_A_B", "Phase Voltage AB", //
"Phase Voltage AB", //
- ValuePoint.Type.INT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT, "V_SF")), //
+ INT16, true /* mandatory? */, READ_ONLY, Unit.VOLT, "V_SF")), //
PH_VPH_B_C(new ScaledValuePoint("S203_PH_VPH_B_C", "Phase Voltage BC", //
"Phase Voltage BC", //
- ValuePoint.Type.INT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT, "V_SF")), //
+ INT16, true /* mandatory? */, READ_ONLY, Unit.VOLT, "V_SF")), //
PH_VPH_C_A(new ScaledValuePoint("S203_PH_VPH_C_A", "Phase Voltage CA", //
"Phase Voltage CA", //
- ValuePoint.Type.INT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT, "V_SF")), //
+ INT16, true /* mandatory? */, READ_ONLY, Unit.VOLT, "V_SF")), //
V_SF(new ScaleFactorPoint("S203_V_SF", "", //
"Voltage scale factor")), //
HZ(new ScaledValuePoint("S203_HZ", "Hz", //
"Frequency", //
- ValuePoint.Type.INT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.HERTZ, "Hz_SF")), //
+ INT16, true /* mandatory? */, READ_ONLY, Unit.HERTZ, "Hz_SF")), //
HZ_S_F(new ScaleFactorPoint("S203_HZ_S_F", "", //
"Frequency scale factor")), //
W(new ScaledValuePoint("S203_W", "Watts", //
"Total Real Power", //
- ValuePoint.Type.INT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.WATT, "W_SF")), //
+ INT16, true /* mandatory? */, READ_ONLY, Unit.WATT, "W_SF")), //
WPH_A(new ScaledValuePoint("S203_WPH_A", "Watts phase A", "", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.WATT, "W_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.WATT, "W_SF")), //
WPH_B(new ScaledValuePoint("S203_WPH_B", "Watts phase B", "", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.WATT, "W_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.WATT, "W_SF")), //
WPH_C(new ScaledValuePoint("S203_WPH_C", "Watts phase C", "", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.WATT, "W_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.WATT, "W_SF")), //
W_SF(new ScaleFactorPoint("S203_W_SF", "", //
"Real Power scale factor")), //
VA(new ScaledValuePoint("S203_VA", "VA", //
"AC Apparent Power", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE, "VA_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE, "VA_SF")), //
V_APH_A(new ScaledValuePoint("S203_V_APH_A", "VA phase A", "", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE, "VA_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE, "VA_SF")), //
V_APH_B(new ScaledValuePoint("S203_V_APH_B", "VA phase B", "", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE, "VA_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE, "VA_SF")), //
V_APH_C(new ScaledValuePoint("S203_V_APH_C", "VA phase C", "", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE, "VA_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE, "VA_SF")), //
VA_SF(new ScaleFactorPoint("S203_VA_SF", "", //
"Apparent Power scale factor")), //
VAR(new ScaledValuePoint("S203_VAR", "VAR", //
"Reactive Power", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_REACTIVE, "VAR_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_REACTIVE, "VAR_SF")), //
V_A_RPH_A(new ScaledValuePoint("S203_V_A_RPH_A", "VAR phase A", "", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_REACTIVE, "VAR_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_REACTIVE, "VAR_SF")), //
V_A_RPH_B(new ScaledValuePoint("S203_V_A_RPH_B", "VAR phase B", "", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_REACTIVE, "VAR_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_REACTIVE, "VAR_SF")), //
V_A_RPH_C(new ScaledValuePoint("S203_V_A_RPH_C", "VAR phase C", "", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_REACTIVE, "VAR_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_REACTIVE, "VAR_SF")), //
VAR_SF(new ScaleFactorPoint("S203_VAR_SF", "", //
"Reactive Power scale factor")), //
PF(new ScaledValuePoint("S203_PF", "PF", //
"Power Factor", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE, "PF_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.NONE, "PF_SF")), //
P_FPH_A(new ScaledValuePoint("S203_P_FPH_A", "PF phase A", "", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE, "PF_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.NONE, "PF_SF")), //
P_FPH_B(new ScaledValuePoint("S203_P_FPH_B", "PF phase B", "", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE, "PF_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.NONE, "PF_SF")), //
P_FPH_C(new ScaledValuePoint("S203_P_FPH_C", "PF phase C", "", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE, "PF_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.NONE, "PF_SF")), //
PF_SF(new ScaleFactorPoint("S203_PF_SF", "", //
"Power Factor scale factor")), //
TOT_WH_EXP(new ScaledValuePoint("S203_TOT_WH_EXP", "Total Watt-hours Exported", //
"Total Real Energy Exported", //
- ValuePoint.Type.ACC32, true /* mandatory? */, AccessMode.READ_ONLY, Unit.CUMULATED_WATT_HOURS, "TotWh_SF")), //
+ ACC32, true /* mandatory? */, READ_ONLY, Unit.CUMULATED_WATT_HOURS, "TotWh_SF")), //
TOT_WH_EXP_PH_A(new ScaledValuePoint("S203_TOT_WH_EXP_PH_A", "Total Watt-hours Exported phase A", "", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.CUMULATED_WATT_HOURS, "TotWh_SF")), //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.CUMULATED_WATT_HOURS, "TotWh_SF")), //
TOT_WH_EXP_PH_B(new ScaledValuePoint("S203_TOT_WH_EXP_PH_B", "Total Watt-hours Exported phase B", "", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.CUMULATED_WATT_HOURS, "TotWh_SF")), //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.CUMULATED_WATT_HOURS, "TotWh_SF")), //
TOT_WH_EXP_PH_C(new ScaledValuePoint("S203_TOT_WH_EXP_PH_C", "Total Watt-hours Exported phase C", "", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.CUMULATED_WATT_HOURS, "TotWh_SF")), //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.CUMULATED_WATT_HOURS, "TotWh_SF")), //
TOT_WH_IMP(new ScaledValuePoint("S203_TOT_WH_IMP", "Total Watt-hours Imported", //
"Total Real Energy Imported", //
- ValuePoint.Type.ACC32, true /* mandatory? */, AccessMode.READ_ONLY, Unit.CUMULATED_WATT_HOURS, "TotWh_SF")), //
+ ACC32, true /* mandatory? */, READ_ONLY, Unit.CUMULATED_WATT_HOURS, "TotWh_SF")), //
TOT_WH_IMP_PH_A(new ScaledValuePoint("S203_TOT_WH_IMP_PH_A", "Total Watt-hours Imported phase A", "", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.CUMULATED_WATT_HOURS, "TotWh_SF")), //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.CUMULATED_WATT_HOURS, "TotWh_SF")), //
TOT_WH_IMP_PH_B(new ScaledValuePoint("S203_TOT_WH_IMP_PH_B", "Total Watt-hours Imported phase B", "", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.CUMULATED_WATT_HOURS, "TotWh_SF")), //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.CUMULATED_WATT_HOURS, "TotWh_SF")), //
TOT_WH_IMP_PH_C(new ScaledValuePoint("S203_TOT_WH_IMP_PH_C", "Total Watt-hours Imported phase C", "", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.CUMULATED_WATT_HOURS, "TotWh_SF")), //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.CUMULATED_WATT_HOURS, "TotWh_SF")), //
TOT_WH_S_F(new ScaleFactorPoint("S203_TOT_WH_S_F", "", //
"Real Energy scale factor")), //
TOT_V_AH_EXP(new ScaledValuePoint("S203_TOT_V_AH_EXP", "Total VA-hours Exported", //
"Total Apparent Energy Exported", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_HOURS, "TotVAh_SF")), //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_HOURS, "TotVAh_SF")), //
TOT_V_AH_EXP_PH_A(new ScaledValuePoint("S203_TOT_V_AH_EXP_PH_A", "Total VA-hours Exported phase A", "", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_HOURS, "TotVAh_SF")), //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_HOURS, "TotVAh_SF")), //
TOT_V_AH_EXP_PH_B(new ScaledValuePoint("S203_TOT_V_AH_EXP_PH_B", "Total VA-hours Exported phase B", "", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_HOURS, "TotVAh_SF")), //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_HOURS, "TotVAh_SF")), //
TOT_V_AH_EXP_PH_C(new ScaledValuePoint("S203_TOT_V_AH_EXP_PH_C", "Total VA-hours Exported phase C", "", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_HOURS, "TotVAh_SF")), //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_HOURS, "TotVAh_SF")), //
TOT_V_AH_IMP(new ScaledValuePoint("S203_TOT_V_AH_IMP", "Total VA-hours Imported", //
"Total Apparent Energy Imported", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_HOURS, "TotVAh_SF")), //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_HOURS, "TotVAh_SF")), //
TOT_V_AH_IMP_PH_A(new ScaledValuePoint("S203_TOT_V_AH_IMP_PH_A", "Total VA-hours Imported phase A", "", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_HOURS, "TotVAh_SF")), //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_HOURS, "TotVAh_SF")), //
TOT_V_AH_IMP_PH_B(new ScaledValuePoint("S203_TOT_V_AH_IMP_PH_B", "Total VA-hours Imported phase B", "", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_HOURS, "TotVAh_SF")), //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_HOURS, "TotVAh_SF")), //
TOT_V_AH_IMP_PH_C(new ScaledValuePoint("S203_TOT_V_AH_IMP_PH_C", "Total VA-hours Imported phase C", "", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_HOURS, "TotVAh_SF")), //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_HOURS, "TotVAh_SF")), //
TOT_V_AH_S_F(new ScaleFactorPoint("S203_TOT_V_AH_S_F", "", //
"Apparent Energy scale factor")), //
TOT_V_ARH_IMP_Q1(new ScaledValuePoint("S203_TOT_V_ARH_IMP_Q1", "Total VAR-hours Imported Q1", //
"Total Reactive Energy Imported Quadrant 1", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
- TOT_V_ARH_IMP_Q1_PH_A(new ScaledValuePoint("S203_TOT_V_ARH_IMP_Q1_PH_A", "Total VAr-hours Imported Q1 phase A", "", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
- TOT_V_ARH_IMP_Q1_PH_B(new ScaledValuePoint("S203_TOT_V_ARH_IMP_Q1_PH_B", "Total VAr-hours Imported Q1 phase B", "", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
- TOT_V_ARH_IMP_Q1_PH_C(new ScaledValuePoint("S203_TOT_V_ARH_IMP_Q1_PH_C", "Total VAr-hours Imported Q1 phase C", "", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
+ TOT_V_ARH_IMP_Q1_PH_A(
+ new ScaledValuePoint("S203_TOT_V_ARH_IMP_Q1_PH_A", "Total VAr-hours Imported Q1 phase A", "", //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
+ TOT_V_ARH_IMP_Q1_PH_B(
+ new ScaledValuePoint("S203_TOT_V_ARH_IMP_Q1_PH_B", "Total VAr-hours Imported Q1 phase B", "", //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
+ TOT_V_ARH_IMP_Q1_PH_C(
+ new ScaledValuePoint("S203_TOT_V_ARH_IMP_Q1_PH_C", "Total VAr-hours Imported Q1 phase C", "", //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
TOT_V_ARH_IMP_Q2(new ScaledValuePoint("S203_TOT_V_ARH_IMP_Q2", "Total VAr-hours Imported Q2", //
"Total Reactive Power Imported Quadrant 2", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
- TOT_V_ARH_IMP_Q2_PH_A(new ScaledValuePoint("S203_TOT_V_ARH_IMP_Q2_PH_A", "Total VAr-hours Imported Q2 phase A", "", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
- TOT_V_ARH_IMP_Q2_PH_B(new ScaledValuePoint("S203_TOT_V_ARH_IMP_Q2_PH_B", "Total VAr-hours Imported Q2 phase B", "", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
- TOT_V_ARH_IMP_Q2_PH_C(new ScaledValuePoint("S203_TOT_V_ARH_IMP_Q2_PH_C", "Total VAr-hours Imported Q2 phase C", "", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
+ TOT_V_ARH_IMP_Q2_PH_A(
+ new ScaledValuePoint("S203_TOT_V_ARH_IMP_Q2_PH_A", "Total VAr-hours Imported Q2 phase A", "", //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
+ TOT_V_ARH_IMP_Q2_PH_B(
+ new ScaledValuePoint("S203_TOT_V_ARH_IMP_Q2_PH_B", "Total VAr-hours Imported Q2 phase B", "", //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
+ TOT_V_ARH_IMP_Q2_PH_C(
+ new ScaledValuePoint("S203_TOT_V_ARH_IMP_Q2_PH_C", "Total VAr-hours Imported Q2 phase C", "", //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
TOT_V_ARH_EXP_Q3(new ScaledValuePoint("S203_TOT_V_ARH_EXP_Q3", "Total VAr-hours Exported Q3", //
"Total Reactive Power Exported Quadrant 3", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
- TOT_V_ARH_EXP_Q3_PH_A(new ScaledValuePoint("S203_TOT_V_ARH_EXP_Q3_PH_A", "Total VAr-hours Exported Q3 phase A", "", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
- TOT_V_ARH_EXP_Q3_PH_B(new ScaledValuePoint("S203_TOT_V_ARH_EXP_Q3_PH_B", "Total VAr-hours Exported Q3 phase B", "", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
- TOT_V_ARH_EXP_Q3_PH_C(new ScaledValuePoint("S203_TOT_V_ARH_EXP_Q3_PH_C", "Total VAr-hours Exported Q3 phase C", "", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
+ TOT_V_ARH_EXP_Q3_PH_A(
+ new ScaledValuePoint("S203_TOT_V_ARH_EXP_Q3_PH_A", "Total VAr-hours Exported Q3 phase A", "", //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
+ TOT_V_ARH_EXP_Q3_PH_B(
+ new ScaledValuePoint("S203_TOT_V_ARH_EXP_Q3_PH_B", "Total VAr-hours Exported Q3 phase B", "", //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
+ TOT_V_ARH_EXP_Q3_PH_C(
+ new ScaledValuePoint("S203_TOT_V_ARH_EXP_Q3_PH_C", "Total VAr-hours Exported Q3 phase C", "", //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
TOT_V_ARH_EXP_Q4(new ScaledValuePoint("S203_TOT_V_ARH_EXP_Q4", "Total VAr-hours Exported Q4", //
"Total Reactive Power Exported Quadrant 4", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
- TOT_V_ARH_EXP_Q4_PH_A(new ScaledValuePoint("S203_TOT_V_ARH_EXP_Q4_PH_A", "Total VAr-hours Exported Q4 Imported phase A", "", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
- TOT_V_ARH_EXP_Q4_PH_B(new ScaledValuePoint("S203_TOT_V_ARH_EXP_Q4_PH_B", "Total VAr-hours Exported Q4 Imported phase B", "", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
- TOT_V_ARH_EXP_Q4_PH_C(new ScaledValuePoint("S203_TOT_V_ARH_EXP_Q4_PH_C", "Total VAr-hours Exported Q4 Imported phase C", "", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
+ TOT_V_ARH_EXP_Q4_PH_A(
+ new ScaledValuePoint("S203_TOT_V_ARH_EXP_Q4_PH_A", "Total VAr-hours Exported Q4 Imported phase A", "", //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
+ TOT_V_ARH_EXP_Q4_PH_B(
+ new ScaledValuePoint("S203_TOT_V_ARH_EXP_Q4_PH_B", "Total VAr-hours Exported Q4 Imported phase B", "", //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
+ TOT_V_ARH_EXP_Q4_PH_C(
+ new ScaledValuePoint("S203_TOT_V_ARH_EXP_Q4_PH_C", "Total VAr-hours Exported Q4 Imported phase C", "", //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
TOT_V_ARH_S_F(new ScaleFactorPoint("S203_TOT_V_ARH_S_F", "", //
"Reactive Energy scale factor")), //
EVT(new BitFieldPoint("S203_EVT", "Events", //
"Meter Event Flags", //
- BitFieldPoint.Type.BITFIELD32, true /* mandatory? */, AccessMode.READ_ONLY, S203_Evt.values()));
+ BITFIELD32, true /* mandatory? */, READ_ONLY, S203_Evt.values()));
private final Point point;
@@ -3325,174 +3383,186 @@ public BitPoint get() {
public static enum S204 implements SunSpecPoint {
A(new ScaledValuePoint("S204_A", "Amps", //
"Total AC Current", //
- ValuePoint.Type.INT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.AMPERE, "A_SF")), //
+ INT16, true /* mandatory? */, READ_ONLY, Unit.AMPERE, "A_SF")), //
APH_A(new ScaledValuePoint("S204_APH_A", "Amps PhaseA", //
"Phase A Current", //
- ValuePoint.Type.INT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.AMPERE, "A_SF")), //
+ INT16, true /* mandatory? */, READ_ONLY, Unit.AMPERE, "A_SF")), //
APH_B(new ScaledValuePoint("S204_APH_B", "Amps PhaseB", //
"Phase B Current", //
- ValuePoint.Type.INT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.AMPERE, "A_SF")), //
+ INT16, true /* mandatory? */, READ_ONLY, Unit.AMPERE, "A_SF")), //
APH_C(new ScaledValuePoint("S204_APH_C", "Amps PhaseC", //
"Phase C Current", //
- ValuePoint.Type.INT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.AMPERE, "A_SF")), //
+ INT16, true /* mandatory? */, READ_ONLY, Unit.AMPERE, "A_SF")), //
A_SF(new ScaleFactorPoint("S204_A_SF", "", //
"Current scale factor")), //
PH_V(new ScaledValuePoint("S204_PH_V", "Voltage LN", //
"Line to Neutral AC Voltage (average of active phases)", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT, "V_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.VOLT, "V_SF")), //
PH_VPH_A(new ScaledValuePoint("S204_PH_VPH_A", "Phase Voltage AN", //
"Phase Voltage AN", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT, "V_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.VOLT, "V_SF")), //
PH_VPH_B(new ScaledValuePoint("S204_PH_VPH_B", "Phase Voltage BN", //
"Phase Voltage BN", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT, "V_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.VOLT, "V_SF")), //
PH_VPH_C(new ScaledValuePoint("S204_PH_VPH_C", "Phase Voltage CN", //
"Phase Voltage CN", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT, "V_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.VOLT, "V_SF")), //
PPV(new ScaledValuePoint("S204_PPV", "Voltage LL", //
"Line to Line AC Voltage (average of active phases)", //
- ValuePoint.Type.INT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT, "V_SF")), //
+ INT16, true /* mandatory? */, READ_ONLY, Unit.VOLT, "V_SF")), //
PH_VPH_A_B(new ScaledValuePoint("S204_PH_VPH_A_B", "Phase Voltage AB", //
"Phase Voltage AB", //
- ValuePoint.Type.INT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT, "V_SF")), //
+ INT16, true /* mandatory? */, READ_ONLY, Unit.VOLT, "V_SF")), //
PH_VPH_B_C(new ScaledValuePoint("S204_PH_VPH_B_C", "Phase Voltage BC", //
"Phase Voltage BC", //
- ValuePoint.Type.INT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT, "V_SF")), //
+ INT16, true /* mandatory? */, READ_ONLY, Unit.VOLT, "V_SF")), //
PH_VPH_C_A(new ScaledValuePoint("S204_PH_VPH_C_A", "Phase Voltage CA", //
"Phase Voltage CA", //
- ValuePoint.Type.INT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT, "V_SF")), //
+ INT16, true /* mandatory? */, READ_ONLY, Unit.VOLT, "V_SF")), //
V_SF(new ScaleFactorPoint("S204_V_SF", "", //
"Voltage scale factor")), //
HZ(new ScaledValuePoint("S204_HZ", "Hz", //
"Frequency", //
- ValuePoint.Type.INT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.HERTZ, "Hz_SF")), //
+ INT16, true /* mandatory? */, READ_ONLY, Unit.HERTZ, "Hz_SF")), //
HZ_S_F(new ScaleFactorPoint("S204_HZ_S_F", "", //
"Frequency scale factor")), //
W(new ScaledValuePoint("S204_W", "Watts", //
"Total Real Power", //
- ValuePoint.Type.INT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.WATT, "W_SF")), //
+ INT16, true /* mandatory? */, READ_ONLY, Unit.WATT, "W_SF")), //
WPH_A(new ScaledValuePoint("S204_WPH_A", "Watts phase A", "", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.WATT, "W_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.WATT, "W_SF")), //
WPH_B(new ScaledValuePoint("S204_WPH_B", "Watts phase B", "", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.WATT, "W_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.WATT, "W_SF")), //
WPH_C(new ScaledValuePoint("S204_WPH_C", "Watts phase C", "", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.WATT, "W_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.WATT, "W_SF")), //
W_SF(new ScaleFactorPoint("S204_W_SF", "", //
"Real Power scale factor")), //
VA(new ScaledValuePoint("S204_VA", "VA", //
"AC Apparent Power", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE, "VA_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE, "VA_SF")), //
V_APH_A(new ScaledValuePoint("S204_V_APH_A", "VA phase A", "", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE, "VA_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE, "VA_SF")), //
V_APH_B(new ScaledValuePoint("S204_V_APH_B", "VA phase B", "", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE, "VA_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE, "VA_SF")), //
V_APH_C(new ScaledValuePoint("S204_V_APH_C", "VA phase C", "", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE, "VA_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE, "VA_SF")), //
VA_SF(new ScaleFactorPoint("S204_VA_SF", "", //
"Apparent Power scale factor")), //
VAR(new ScaledValuePoint("S204_VAR", "VAR", //
"Reactive Power", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_REACTIVE, "VAR_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_REACTIVE, "VAR_SF")), //
V_A_RPH_A(new ScaledValuePoint("S204_V_A_RPH_A", "VAR phase A", "", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_REACTIVE, "VAR_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_REACTIVE, "VAR_SF")), //
V_A_RPH_B(new ScaledValuePoint("S204_V_A_RPH_B", "VAR phase B", "", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_REACTIVE, "VAR_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_REACTIVE, "VAR_SF")), //
V_A_RPH_C(new ScaledValuePoint("S204_V_A_RPH_C", "VAR phase C", "", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_REACTIVE, "VAR_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_REACTIVE, "VAR_SF")), //
VAR_SF(new ScaleFactorPoint("S204_VAR_SF", "", //
"Reactive Power scale factor")), //
PF(new ScaledValuePoint("S204_PF", "PF", //
"Power Factor", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE, "PF_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.NONE, "PF_SF")), //
P_FPH_A(new ScaledValuePoint("S204_P_FPH_A", "PF phase A", "", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE, "PF_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.NONE, "PF_SF")), //
P_FPH_B(new ScaledValuePoint("S204_P_FPH_B", "PF phase B", "", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE, "PF_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.NONE, "PF_SF")), //
P_FPH_C(new ScaledValuePoint("S204_P_FPH_C", "PF phase C", "", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE, "PF_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.NONE, "PF_SF")), //
PF_SF(new ScaleFactorPoint("S204_PF_SF", "", //
"Power Factor scale factor")), //
TOT_WH_EXP(new ScaledValuePoint("S204_TOT_WH_EXP", "Total Watt-hours Exported", //
"Total Real Energy Exported", //
- ValuePoint.Type.ACC32, true /* mandatory? */, AccessMode.READ_ONLY, Unit.CUMULATED_WATT_HOURS, "TotWh_SF")), //
+ ACC32, true /* mandatory? */, READ_ONLY, Unit.CUMULATED_WATT_HOURS, "TotWh_SF")), //
TOT_WH_EXP_PH_A(new ScaledValuePoint("S204_TOT_WH_EXP_PH_A", "Total Watt-hours Exported phase A", "", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.CUMULATED_WATT_HOURS, "TotWh_SF")), //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.CUMULATED_WATT_HOURS, "TotWh_SF")), //
TOT_WH_EXP_PH_B(new ScaledValuePoint("S204_TOT_WH_EXP_PH_B", "Total Watt-hours Exported phase B", "", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.CUMULATED_WATT_HOURS, "TotWh_SF")), //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.CUMULATED_WATT_HOURS, "TotWh_SF")), //
TOT_WH_EXP_PH_C(new ScaledValuePoint("S204_TOT_WH_EXP_PH_C", "Total Watt-hours Exported phase C", "", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.CUMULATED_WATT_HOURS, "TotWh_SF")), //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.CUMULATED_WATT_HOURS, "TotWh_SF")), //
TOT_WH_IMP(new ScaledValuePoint("S204_TOT_WH_IMP", "Total Watt-hours Imported", //
"Total Real Energy Imported", //
- ValuePoint.Type.ACC32, true /* mandatory? */, AccessMode.READ_ONLY, Unit.CUMULATED_WATT_HOURS, "TotWh_SF")), //
+ ACC32, true /* mandatory? */, READ_ONLY, Unit.CUMULATED_WATT_HOURS, "TotWh_SF")), //
TOT_WH_IMP_PH_A(new ScaledValuePoint("S204_TOT_WH_IMP_PH_A", "Total Watt-hours Imported phase A", "", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.CUMULATED_WATT_HOURS, "TotWh_SF")), //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.CUMULATED_WATT_HOURS, "TotWh_SF")), //
TOT_WH_IMP_PH_B(new ScaledValuePoint("S204_TOT_WH_IMP_PH_B", "Total Watt-hours Imported phase B", "", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.CUMULATED_WATT_HOURS, "TotWh_SF")), //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.CUMULATED_WATT_HOURS, "TotWh_SF")), //
TOT_WH_IMP_PH_C(new ScaledValuePoint("S204_TOT_WH_IMP_PH_C", "Total Watt-hours Imported phase C", "", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.CUMULATED_WATT_HOURS, "TotWh_SF")), //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.CUMULATED_WATT_HOURS, "TotWh_SF")), //
TOT_WH_S_F(new ScaleFactorPoint("S204_TOT_WH_S_F", "", //
"Real Energy scale factor")), //
TOT_V_AH_EXP(new ScaledValuePoint("S204_TOT_V_AH_EXP", "Total VA-hours Exported", //
"Total Apparent Energy Exported", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_HOURS, "TotVAh_SF")), //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_HOURS, "TotVAh_SF")), //
TOT_V_AH_EXP_PH_A(new ScaledValuePoint("S204_TOT_V_AH_EXP_PH_A", "Total VA-hours Exported phase A", "", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_HOURS, "TotVAh_SF")), //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_HOURS, "TotVAh_SF")), //
TOT_V_AH_EXP_PH_B(new ScaledValuePoint("S204_TOT_V_AH_EXP_PH_B", "Total VA-hours Exported phase B", "", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_HOURS, "TotVAh_SF")), //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_HOURS, "TotVAh_SF")), //
TOT_V_AH_EXP_PH_C(new ScaledValuePoint("S204_TOT_V_AH_EXP_PH_C", "Total VA-hours Exported phase C", "", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_HOURS, "TotVAh_SF")), //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_HOURS, "TotVAh_SF")), //
TOT_V_AH_IMP(new ScaledValuePoint("S204_TOT_V_AH_IMP", "Total VA-hours Imported", //
"Total Apparent Energy Imported", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_HOURS, "TotVAh_SF")), //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_HOURS, "TotVAh_SF")), //
TOT_V_AH_IMP_PH_A(new ScaledValuePoint("S204_TOT_V_AH_IMP_PH_A", "Total VA-hours Imported phase A", "", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_HOURS, "TotVAh_SF")), //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_HOURS, "TotVAh_SF")), //
TOT_V_AH_IMP_PH_B(new ScaledValuePoint("S204_TOT_V_AH_IMP_PH_B", "Total VA-hours Imported phase B", "", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_HOURS, "TotVAh_SF")), //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_HOURS, "TotVAh_SF")), //
TOT_V_AH_IMP_PH_C(new ScaledValuePoint("S204_TOT_V_AH_IMP_PH_C", "Total VA-hours Imported phase C", "", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_HOURS, "TotVAh_SF")), //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_HOURS, "TotVAh_SF")), //
TOT_V_AH_S_F(new ScaleFactorPoint("S204_TOT_V_AH_S_F", "", //
"Apparent Energy scale factor")), //
TOT_V_ARH_IMP_Q1(new ScaledValuePoint("S204_TOT_V_ARH_IMP_Q1", "Total VAR-hours Imported Q1", //
"Total Reactive Energy Imported Quadrant 1", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
- TOT_V_ARH_IMP_Q1_PH_A(new ScaledValuePoint("S204_TOT_V_ARH_IMP_Q1_PH_A", "Total VAr-hours Imported Q1 phase A", "", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
- TOT_V_ARH_IMP_Q1_PH_B(new ScaledValuePoint("S204_TOT_V_ARH_IMP_Q1_PH_B", "Total VAr-hours Imported Q1 phase B", "", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
- TOT_V_ARH_IMP_Q1_PH_C(new ScaledValuePoint("S204_TOT_V_ARH_IMP_Q1_PH_C", "Total VAr-hours Imported Q1 phase C", "", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
+ TOT_V_ARH_IMP_Q1_PH_A(
+ new ScaledValuePoint("S204_TOT_V_ARH_IMP_Q1_PH_A", "Total VAr-hours Imported Q1 phase A", "", //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
+ TOT_V_ARH_IMP_Q1_PH_B(
+ new ScaledValuePoint("S204_TOT_V_ARH_IMP_Q1_PH_B", "Total VAr-hours Imported Q1 phase B", "", //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
+ TOT_V_ARH_IMP_Q1_PH_C(
+ new ScaledValuePoint("S204_TOT_V_ARH_IMP_Q1_PH_C", "Total VAr-hours Imported Q1 phase C", "", //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
TOT_V_ARH_IMP_Q2(new ScaledValuePoint("S204_TOT_V_ARH_IMP_Q2", "Total VAr-hours Imported Q2", //
"Total Reactive Power Imported Quadrant 2", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
- TOT_V_ARH_IMP_Q2_PH_A(new ScaledValuePoint("S204_TOT_V_ARH_IMP_Q2_PH_A", "Total VAr-hours Imported Q2 phase A", "", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
- TOT_V_ARH_IMP_Q2_PH_B(new ScaledValuePoint("S204_TOT_V_ARH_IMP_Q2_PH_B", "Total VAr-hours Imported Q2 phase B", "", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
- TOT_V_ARH_IMP_Q2_PH_C(new ScaledValuePoint("S204_TOT_V_ARH_IMP_Q2_PH_C", "Total VAr-hours Imported Q2 phase C", "", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
+ TOT_V_ARH_IMP_Q2_PH_A(
+ new ScaledValuePoint("S204_TOT_V_ARH_IMP_Q2_PH_A", "Total VAr-hours Imported Q2 phase A", "", //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
+ TOT_V_ARH_IMP_Q2_PH_B(
+ new ScaledValuePoint("S204_TOT_V_ARH_IMP_Q2_PH_B", "Total VAr-hours Imported Q2 phase B", "", //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
+ TOT_V_ARH_IMP_Q2_PH_C(
+ new ScaledValuePoint("S204_TOT_V_ARH_IMP_Q2_PH_C", "Total VAr-hours Imported Q2 phase C", "", //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
TOT_V_ARH_EXP_Q3(new ScaledValuePoint("S204_TOT_V_ARH_EXP_Q3", "Total VAr-hours Exported Q3", //
"Total Reactive Power Exported Quadrant 3", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
- TOT_V_ARH_EXP_Q3_PH_A(new ScaledValuePoint("S204_TOT_V_ARH_EXP_Q3_PH_A", "Total VAr-hours Exported Q3 phase A", "", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
- TOT_V_ARH_EXP_Q3_PH_B(new ScaledValuePoint("S204_TOT_V_ARH_EXP_Q3_PH_B", "Total VAr-hours Exported Q3 phase B", "", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
- TOT_V_ARH_EXP_Q3_PH_C(new ScaledValuePoint("S204_TOT_V_ARH_EXP_Q3_PH_C", "Total VAr-hours Exported Q3 phase C", "", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
+ TOT_V_ARH_EXP_Q3_PH_A(
+ new ScaledValuePoint("S204_TOT_V_ARH_EXP_Q3_PH_A", "Total VAr-hours Exported Q3 phase A", "", //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
+ TOT_V_ARH_EXP_Q3_PH_B(
+ new ScaledValuePoint("S204_TOT_V_ARH_EXP_Q3_PH_B", "Total VAr-hours Exported Q3 phase B", "", //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
+ TOT_V_ARH_EXP_Q3_PH_C(
+ new ScaledValuePoint("S204_TOT_V_ARH_EXP_Q3_PH_C", "Total VAr-hours Exported Q3 phase C", "", //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
TOT_V_ARH_EXP_Q4(new ScaledValuePoint("S204_TOT_V_ARH_EXP_Q4", "Total VAr-hours Exported Q4", //
"Total Reactive Power Exported Quadrant 4", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
- TOT_V_ARH_EXP_Q4_PH_A(new ScaledValuePoint("S204_TOT_V_ARH_EXP_Q4_PH_A", "Total VAr-hours Exported Q4 Imported phase A", "", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
- TOT_V_ARH_EXP_Q4_PH_B(new ScaledValuePoint("S204_TOT_V_ARH_EXP_Q4_PH_B", "Total VAr-hours Exported Q4 Imported phase B", "", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
- TOT_V_ARH_EXP_Q4_PH_C(new ScaledValuePoint("S204_TOT_V_ARH_EXP_Q4_PH_C", "Total VAr-hours Exported Q4 Imported phase C", "", //
- ValuePoint.Type.ACC32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
+ TOT_V_ARH_EXP_Q4_PH_A(
+ new ScaledValuePoint("S204_TOT_V_ARH_EXP_Q4_PH_A", "Total VAr-hours Exported Q4 Imported phase A", "", //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
+ TOT_V_ARH_EXP_Q4_PH_B(
+ new ScaledValuePoint("S204_TOT_V_ARH_EXP_Q4_PH_B", "Total VAr-hours Exported Q4 Imported phase B", "", //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
+ TOT_V_ARH_EXP_Q4_PH_C(
+ new ScaledValuePoint("S204_TOT_V_ARH_EXP_Q4_PH_C", "Total VAr-hours Exported Q4 Imported phase C", "", //
+ ACC32, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVArh_SF")), //
TOT_V_ARH_S_F(new ScaleFactorPoint("S204_TOT_V_ARH_S_F", "", //
"Reactive Energy scale factor")), //
EVT(new BitFieldPoint("S204_EVT", "Events", //
"Meter Event Flags", //
- BitFieldPoint.Type.BITFIELD32, true /* mandatory? */, AccessMode.READ_ONLY, S204_Evt.values()));
+ BITFIELD32, true /* mandatory? */, READ_ONLY, S204_Evt.values()));
private final Point point;
@@ -3552,22 +3622,22 @@ public BitPoint get() {
public static enum S305 implements SunSpecPoint {
TM(new ValuePoint("S305_TM", "Tm", //
"UTC 24 hour time stamp to millisecond hhmmss.sssZ format", //
- ValuePoint.Type.STRING6, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE)), //
+ STRING6, false /* mandatory? */, READ_ONLY, Unit.NONE)), //
DATE(new ValuePoint("S305_DATE", "Date", //
"UTC Date string YYYYMMDD format", //
- ValuePoint.Type.STRING4, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE)), //
+ STRING4, false /* mandatory? */, READ_ONLY, Unit.NONE)), //
LOC(new ValuePoint("S305_LOC", "Location", //
"Location string (40 chars max)", //
- ValuePoint.Type.STRING20, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE)), //
+ STRING20, false /* mandatory? */, READ_ONLY, Unit.NONE)), //
LAT(new ScaledValuePoint("S305_LAT", "Lat", //
"Latitude with seven degrees of precision", //
- ValuePoint.Type.INT32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE, "-7")), //
+ INT32, false /* mandatory? */, READ_ONLY, Unit.NONE, "-7")), //
LONG(new ScaledValuePoint("S305_LONG", "Long", //
"Longitude with seven degrees of precision", //
- ValuePoint.Type.INT32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE, "-7")), //
+ INT32, false /* mandatory? */, READ_ONLY, Unit.NONE, "-7")), //
ALT(new ValuePoint("S305_ALT", "Altitude", //
"Altitude measurement in meters", //
- ValuePoint.Type.INT32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE));
+ INT32, false /* mandatory? */, READ_ONLY, Unit.NONE));
private final Point point;
@@ -3584,16 +3654,16 @@ public Point get() {
public static enum S306 implements SunSpecPoint {
GHI(new ValuePoint("S306_GHI", "GHI", //
"Global Horizontal Irradiance", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE)), //
+ UINT16, false /* mandatory? */, READ_ONLY, Unit.NONE)), //
A(new ValuePoint("S306_A", "Amps", //
"Current measurement at reference point", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE)), //
+ UINT16, false /* mandatory? */, READ_ONLY, Unit.NONE)), //
V(new ValuePoint("S306_V", "Voltage", //
"Voltage measurement at reference point", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE)), //
+ UINT16, false /* mandatory? */, READ_ONLY, Unit.NONE)), //
TMP(new ValuePoint("S306_TMP", "Temperature", //
"Temperature measurement at reference point", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE));
+ UINT16, false /* mandatory? */, READ_ONLY, Unit.NONE));
private final Point point;
@@ -3609,28 +3679,28 @@ public Point get() {
public static enum S307 implements SunSpecPoint {
TMP_AMB(new ScaledValuePoint("S307_TMP_AMB", "Ambient Temperature", "", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.DEGREE_CELSIUS, "-1")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.DEGREE_CELSIUS, "-1")), //
RH(new ValuePoint("S307_RH", "Relative Humidity", "", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE)), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.NONE)), //
PRES(new ValuePoint("S307_PRES", "Barometric Pressure", "", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE)), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.NONE)), //
WND_SPD(new ValuePoint("S307_WND_SPD", "Wind Speed", "", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE)), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.NONE)), //
WND_DIR(new ValuePoint("S307_WND_DIR", "Wind Direction", "", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE)), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.NONE)), //
RAIN(new ValuePoint("S307_RAIN", "Rainfall", "", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE)), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.NONE)), //
SNW(new ValuePoint("S307_SNW", "Snow Depth", "", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE)), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.NONE)), //
PPT(new ValuePoint("S307_PPT", "Precipitation Type", //
"Precipitation Type (WMO 4680 SYNOP code reference)", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE)), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.NONE)), //
ELEC_FLD(new ValuePoint("S307_ELEC_FLD", "Electric Field", "", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE)), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.NONE)), //
SUR_WET(new ValuePoint("S307_SUR_WET", "Surface Wetness", "", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE)), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.NONE)), //
SOIL_WET(new ValuePoint("S307_SOIL_WET", "Soil Wetness", "", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE));
+ INT16, false /* mandatory? */, READ_ONLY, Unit.NONE));
private final Point point;
@@ -3647,14 +3717,14 @@ public Point get() {
public static enum S308 implements SunSpecPoint {
GHI(new ValuePoint("S308_GHI", "GHI", //
"Global Horizontal Irradiance", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE)), //
+ UINT16, false /* mandatory? */, READ_ONLY, Unit.NONE)), //
TMP_B_O_M(new ScaledValuePoint("S308_TMP_B_O_M", "Temp", //
"Back of module temperature measurement", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.DEGREE_CELSIUS, "-1")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.DEGREE_CELSIUS, "-1")), //
TMP_AMB(new ScaledValuePoint("S308_TMP_AMB", "Ambient Temperature", "", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.DEGREE_CELSIUS, "-1")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.DEGREE_CELSIUS, "-1")), //
WND_SPD(new ValuePoint("S308_WND_SPD", "Wind Speed", "", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE));
+ UINT16, false /* mandatory? */, READ_ONLY, Unit.NONE));
private final Point point;
@@ -3671,181 +3741,181 @@ public Point get() {
public static enum S701 implements SunSpecPoint {
A_C_TYPE(new EnumPoint("S701_A_C_TYPE", "AC Wiring Type", //
"AC wiring type.", //
- EnumPoint.Type.ENUM16, true /* mandatory? */, AccessMode.READ_ONLY, S701_ACType.values())), //
+ ENUM16, true /* mandatory? */, READ_ONLY, S701_ACType.values())), //
ST(new EnumPoint("S701_ST", "Operating State", //
"Operating state of the DER.", //
- EnumPoint.Type.ENUM16, false /* mandatory? */, AccessMode.READ_ONLY, S701_St.values())), //
+ ENUM16, false /* mandatory? */, READ_ONLY, S701_St.values())), //
INV_ST(new EnumPoint("S701_INV_ST", "Inverter State", //
"Enumerated value. Inverter state.", //
- EnumPoint.Type.ENUM16, false /* mandatory? */, AccessMode.READ_ONLY, S701_InvSt.values())), //
+ ENUM16, false /* mandatory? */, READ_ONLY, S701_InvSt.values())), //
CONN_ST(new EnumPoint("S701_CONN_ST", "Grid Connection State", //
"Grid connection state of the DER.", //
- EnumPoint.Type.ENUM16, false /* mandatory? */, AccessMode.READ_ONLY, S701_ConnSt.values())), //
+ ENUM16, false /* mandatory? */, READ_ONLY, S701_ConnSt.values())), //
ALRM(new BitFieldPoint("S701_ALRM", "Alarm Bitfield", //
"Active alarms for the DER.", //
- BitFieldPoint.Type.BITFIELD32, false /* mandatory? */, AccessMode.READ_ONLY, S701_Alrm.values())), //
+ BITFIELD32, false /* mandatory? */, READ_ONLY, S701_Alrm.values())), //
D_E_R_MODE(new BitFieldPoint("S701_D_E_R_MODE", "DER Operational Characteristics", //
"Current operational characteristics of the DER.", //
- BitFieldPoint.Type.BITFIELD32, false /* mandatory? */, AccessMode.READ_ONLY, S701_DERMode.values())), //
+ BITFIELD32, false /* mandatory? */, READ_ONLY, S701_DERMode.values())), //
W(new ScaledValuePoint("S701_W", "Active Power", //
"Total active power. Active power is positive for DER generation and negative for absorption.", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.WATT, "W_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.WATT, "W_SF")), //
VA(new ScaledValuePoint("S701_VA", "Apparent Power", //
"Total apparent power.", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE, "VA_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE, "VA_SF")), //
VAR(new ScaledValuePoint("S701_VAR", "Reactive Power", //
"Total reactive power.", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_REACTIVE, "Var_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_REACTIVE, "Var_SF")), //
PF(new ScaledValuePoint("S701_PF", "Power Factor", //
"Power factor. The sign of power factor should be the sign of active power.", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE, "PF_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.NONE, "PF_SF")), //
A(new ScaledValuePoint("S701_A", "Total AC Current", //
"Total AC current.", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.AMPERE, "A_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.AMPERE, "A_SF")), //
LLV(new ScaledValuePoint("S701_LLV", "Voltage LL", //
"Line to line AC voltage as an average of active phases.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT, "V_SF")), //
+ UINT16, false /* mandatory? */, READ_ONLY, Unit.VOLT, "V_SF")), //
LNV(new ScaledValuePoint("S701_LNV", "Voltage LN", //
"Line to neutral AC voltage as an average of active phases.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT, "V_SF")), //
+ UINT16, false /* mandatory? */, READ_ONLY, Unit.VOLT, "V_SF")), //
HZ(new ScaledValuePoint("S701_HZ", "Frequency", //
"AC frequency.", //
- ValuePoint.Type.UINT32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.HERTZ, "Hz_SF")), //
+ UINT32, false /* mandatory? */, READ_ONLY, Unit.HERTZ, "Hz_SF")), //
TOT_WH_INJ(new ScaledValuePoint("S701_TOT_WH_INJ", "Total Energy Injected", //
"Total active energy injected (Quadrants 1 & 4).", //
- ValuePoint.Type.UINT64, false /* mandatory? */, AccessMode.READ_ONLY, Unit.CUMULATED_WATT_HOURS, "TotWh_SF")), //
+ UINT64, false /* mandatory? */, READ_ONLY, Unit.CUMULATED_WATT_HOURS, "TotWh_SF")), //
TOT_WH_ABS(new ScaledValuePoint("S701_TOT_WH_ABS", "Total Energy Absorbed", //
"Total active energy absorbed (Quadrants 2 & 3).", //
- ValuePoint.Type.UINT64, false /* mandatory? */, AccessMode.READ_ONLY, Unit.CUMULATED_WATT_HOURS, "TotWh_SF")), //
+ UINT64, false /* mandatory? */, READ_ONLY, Unit.CUMULATED_WATT_HOURS, "TotWh_SF")), //
TOT_VARH_INJ(new ScaledValuePoint("S701_TOT_VARH_INJ", "Total Reactive Energy Inj", //
"Total reactive energy injected (Quadrants 1 & 2).", //
- ValuePoint.Type.UINT64, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVarh_SF")), //
+ UINT64, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVarh_SF")), //
TOT_VARH_ABS(new ScaledValuePoint("S701_TOT_VARH_ABS", "Total Reactive Energy Abs", //
"Total reactive energy absorbed (Quadrants 3 & 4).", //
- ValuePoint.Type.UINT64, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVarh_SF")), //
+ UINT64, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVarh_SF")), //
TMP_AMB(new ScaledValuePoint("S701_TMP_AMB", "Ambient Temperature", //
"Ambient temperature.", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.DEGREE_CELSIUS, "Tmp_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.DEGREE_CELSIUS, "Tmp_SF")), //
TMP_CAB(new ScaledValuePoint("S701_TMP_CAB", "Cabinet Temperature", //
"Cabinet temperature.", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.DEGREE_CELSIUS, "Tmp_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.DEGREE_CELSIUS, "Tmp_SF")), //
TMP_SNK(new ScaledValuePoint("S701_TMP_SNK", "Heat Sink Temperature", //
"Heat sink temperature.", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.DEGREE_CELSIUS, "Tmp_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.DEGREE_CELSIUS, "Tmp_SF")), //
TMP_TRNS(new ScaledValuePoint("S701_TMP_TRNS", "Transformer Temperature", //
"Transformer temperature.", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.DEGREE_CELSIUS, "Tmp_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.DEGREE_CELSIUS, "Tmp_SF")), //
TMP_SW(new ScaledValuePoint("S701_TMP_SW", "IGBT/MOSFET Temperature", //
"IGBT/MOSFET temperature.", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.DEGREE_CELSIUS, "Tmp_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.DEGREE_CELSIUS, "Tmp_SF")), //
TMP_OT(new ScaledValuePoint("S701_TMP_OT", "Other Temperature", //
"Other temperature.", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.DEGREE_CELSIUS, "Tmp_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.DEGREE_CELSIUS, "Tmp_SF")), //
WL1(new ScaledValuePoint("S701_WL1", "Watts L1", //
"Active power L1.", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.WATT, "W_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.WATT, "W_SF")), //
VAL1(new ScaledValuePoint("S701_VAL1", "VA L1", //
"Apparent power L1.", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE, "VA_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE, "VA_SF")), //
VAR_L1(new ScaledValuePoint("S701_VAR_L1", "Var L1", //
"Reactive power L1.", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_REACTIVE, "Var_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_REACTIVE, "Var_SF")), //
PFL1(new ScaledValuePoint("S701_PFL1", "PF L1", //
"Power factor phase L1.", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE, "PF_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.NONE, "PF_SF")), //
AL1(new ScaledValuePoint("S701_AL1", "Amps L1", //
"Current phase L1.", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.AMPERE, "A_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.AMPERE, "A_SF")), //
VL1L2(new ScaledValuePoint("S701_VL1L2", "Phase Voltage L1-L2", //
"Phase voltage L1-L2.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT, "V_SF")), //
+ UINT16, false /* mandatory? */, READ_ONLY, Unit.VOLT, "V_SF")), //
VL1(new ScaledValuePoint("S701_VL1", "Phase Voltage L1-N", //
"Phase voltage L1-N.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT, "V_SF")), //
+ UINT16, false /* mandatory? */, READ_ONLY, Unit.VOLT, "V_SF")), //
TOT_WH_INJ_L1(new ScaledValuePoint("S701_TOT_WH_INJ_L1", "Total Watt-Hours Inj L1", //
"Total active energy injected L1.", //
- ValuePoint.Type.UINT64, false /* mandatory? */, AccessMode.READ_ONLY, Unit.CUMULATED_WATT_HOURS, "TotWh_SF")), //
+ UINT64, false /* mandatory? */, READ_ONLY, Unit.CUMULATED_WATT_HOURS, "TotWh_SF")), //
TOT_WH_ABS_L1(new ScaledValuePoint("S701_TOT_WH_ABS_L1", "Total Watt-Hours Abs L1", //
"Total active energy absorbed L1.", //
- ValuePoint.Type.UINT64, false /* mandatory? */, AccessMode.READ_ONLY, Unit.CUMULATED_WATT_HOURS, "TotWh_SF")), //
+ UINT64, false /* mandatory? */, READ_ONLY, Unit.CUMULATED_WATT_HOURS, "TotWh_SF")), //
TOT_VARH_INJ_L1(new ScaledValuePoint("S701_TOT_VARH_INJ_L1", "Total Var-Hours Inj L1", //
"Total reactive energy injected L1.", //
- ValuePoint.Type.UINT64, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVarh_SF")), //
+ UINT64, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVarh_SF")), //
TOT_VARH_ABS_L1(new ScaledValuePoint("S701_TOT_VARH_ABS_L1", "Total Var-Hours Abs L1", //
"Total reactive energy absorbed L1.", //
- ValuePoint.Type.UINT64, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVarh_SF")), //
+ UINT64, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVarh_SF")), //
WL2(new ScaledValuePoint("S701_WL2", "Watts L2", //
"Active power L2.", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.WATT, "W_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.WATT, "W_SF")), //
VAL2(new ScaledValuePoint("S701_VAL2", "VA L2", //
"Apparent power L2.", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE, "VA_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE, "VA_SF")), //
VAR_L2(new ScaledValuePoint("S701_VAR_L2", "Var L2", //
"Reactive power L2.", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_REACTIVE, "Var_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_REACTIVE, "Var_SF")), //
PFL2(new ScaledValuePoint("S701_PFL2", "PF L2", //
"Power factor L2.", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE, "PF_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.NONE, "PF_SF")), //
AL2(new ScaledValuePoint("S701_AL2", "Amps L2", //
"Current L2.", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.AMPERE, "A_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.AMPERE, "A_SF")), //
VL2L3(new ScaledValuePoint("S701_VL2L3", "Phase Voltage L2-L3", //
"Phase voltage L2-L3.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT, "V_SF")), //
+ UINT16, false /* mandatory? */, READ_ONLY, Unit.VOLT, "V_SF")), //
VL2(new ScaledValuePoint("S701_VL2", "Phase Voltage L2-N", //
"Phase voltage L2-N.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT, "V_SF")), //
+ UINT16, false /* mandatory? */, READ_ONLY, Unit.VOLT, "V_SF")), //
TOT_WH_INJ_L2(new ScaledValuePoint("S701_TOT_WH_INJ_L2", "Total Watt-Hours Inj L2", //
"Total active energy injected L2.", //
- ValuePoint.Type.UINT64, false /* mandatory? */, AccessMode.READ_ONLY, Unit.CUMULATED_WATT_HOURS, "TotWh_SF")), //
+ UINT64, false /* mandatory? */, READ_ONLY, Unit.CUMULATED_WATT_HOURS, "TotWh_SF")), //
TOT_WH_ABS_L2(new ScaledValuePoint("S701_TOT_WH_ABS_L2", "Total Watt-Hours Abs L2", //
"Total active energy absorbed L2.", //
- ValuePoint.Type.UINT64, false /* mandatory? */, AccessMode.READ_ONLY, Unit.CUMULATED_WATT_HOURS, "TotWh_SF")), //
+ UINT64, false /* mandatory? */, READ_ONLY, Unit.CUMULATED_WATT_HOURS, "TotWh_SF")), //
TOT_VARH_INJ_L2(new ScaledValuePoint("S701_TOT_VARH_INJ_L2", "Total Var-Hours Inj L2", //
"Total reactive energy injected L2.", //
- ValuePoint.Type.UINT64, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVarh_SF")), //
+ UINT64, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVarh_SF")), //
TOT_VARH_ABS_L2(new ScaledValuePoint("S701_TOT_VARH_ABS_L2", "Total Var-Hours Abs L2", //
"Total reactive energy absorbed L2.", //
- ValuePoint.Type.UINT64, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVarh_SF")), //
+ UINT64, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVarh_SF")), //
WL3(new ScaledValuePoint("S701_WL3", "Watts L3", //
"Active power L3.", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.WATT, "W_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.WATT, "W_SF")), //
VAL3(new ScaledValuePoint("S701_VAL3", "VA L3", //
"Apparent power L3.", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE, "VA_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE, "VA_SF")), //
VAR_L3(new ScaledValuePoint("S701_VAR_L3", "Var L3", //
"Reactive power L3.", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_REACTIVE, "Var_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_REACTIVE, "Var_SF")), //
PFL3(new ScaledValuePoint("S701_PFL3", "PF L3", //
"Power factor L3.", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE, "PF_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.NONE, "PF_SF")), //
AL3(new ScaledValuePoint("S701_AL3", "Amps L3", //
"Current L3.", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.AMPERE, "A_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.AMPERE, "A_SF")), //
VL3L1(new ScaledValuePoint("S701_VL3L1", "Phase Voltage L3-L1", //
"Phase voltage L3-L1.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT, "V_SF")), //
+ UINT16, false /* mandatory? */, READ_ONLY, Unit.VOLT, "V_SF")), //
VL3(new ScaledValuePoint("S701_VL3", "Phase Voltage L3-N", //
"Phase voltage L3-N.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT, "V_SF")), //
+ UINT16, false /* mandatory? */, READ_ONLY, Unit.VOLT, "V_SF")), //
TOT_WH_INJ_L3(new ScaledValuePoint("S701_TOT_WH_INJ_L3", "Total Watt-Hours Inj L3", //
"Total active energy injected L3.", //
- ValuePoint.Type.UINT64, false /* mandatory? */, AccessMode.READ_ONLY, Unit.CUMULATED_WATT_HOURS, "TotWh_SF")), //
+ UINT64, false /* mandatory? */, READ_ONLY, Unit.CUMULATED_WATT_HOURS, "TotWh_SF")), //
TOT_WH_ABS_L3(new ScaledValuePoint("S701_TOT_WH_ABS_L3", "Total Watt-Hours Abs L3", //
"Total active energy absorbed L3.", //
- ValuePoint.Type.UINT64, false /* mandatory? */, AccessMode.READ_ONLY, Unit.CUMULATED_WATT_HOURS, "TotWh_SF")), //
+ UINT64, false /* mandatory? */, READ_ONLY, Unit.CUMULATED_WATT_HOURS, "TotWh_SF")), //
TOT_VARH_INJ_L3(new ScaledValuePoint("S701_TOT_VARH_INJ_L3", "Total Var-Hours Inj L3", //
"Total reactive energy injected L3.", //
- ValuePoint.Type.UINT64, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVarh_SF")), //
+ UINT64, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVarh_SF")), //
TOT_VARH_ABS_L3(new ScaledValuePoint("S701_TOT_VARH_ABS_L3", "Total Var-Hours Abs L3", //
"Total reactive energy absorbed L3.", //
- ValuePoint.Type.UINT64, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVarh_SF")), //
+ UINT64, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_REACTIVE_HOURS, "TotVarh_SF")), //
THROT_PCT(new ValuePoint("S701_THROT_PCT", "Throttling In Pct", //
"Throttling in pct of maximum active power.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE)), //
+ UINT16, false /* mandatory? */, READ_ONLY, Unit.NONE)), //
THROT_SRC(new BitFieldPoint("S701_THROT_SRC", "Throttle Source Information", //
"Active throttling source.", //
- BitFieldPoint.Type.BITFIELD32, false /* mandatory? */, AccessMode.READ_ONLY, S701_ThrotSrc.values())), //
+ BITFIELD32, false /* mandatory? */, READ_ONLY, S701_ThrotSrc.values())), //
A_SF(new ScaleFactorPoint("S701_A_SF", "Current Scale Factor", //
"Current scale factor.")), //
V_SF(new ScaleFactorPoint("S701_V_SF", "Voltage Scale Factor", //
@@ -3868,7 +3938,7 @@ public static enum S701 implements SunSpecPoint {
"Temperature scale factor.")), //
MN_ALRM_INFO(new ValuePoint("S701_MN_ALRM_INFO", "Manufacturer Alarm Info", //
"Manufacturer alarm information. Valid if MANUFACTURER_ALRM indication is active.", //
- ValuePoint.Type.STRING32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE));
+ STRING32, false /* mandatory? */, READ_ONLY, Unit.NONE));
private final Point point;
@@ -4085,130 +4155,130 @@ public BitPoint get() {
public static enum S702 implements SunSpecPoint {
W_MAX_RTG(new ScaledValuePoint("S702_W_MAX_RTG", "Active Power Max Rating", //
"Maximum active power rating at unity power factor in watts.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.WATT, "W_SF")), //
+ UINT16, false /* mandatory? */, READ_ONLY, Unit.WATT, "W_SF")), //
W_OVR_EXT_RTG(new ScaledValuePoint("S702_W_OVR_EXT_RTG", "Active Power (Over-Excited) Rating", //
"Active power rating at specified over-excited power factor in watts.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.WATT, "W_SF")), //
+ UINT16, false /* mandatory? */, READ_ONLY, Unit.WATT, "W_SF")), //
W_OVR_EXT_RTG_P_F(new ScaledValuePoint("S702_W_OVR_EXT_RTG_P_F", "Specified Over-Excited PF", //
"Specified over-excited power factor.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE, "PF_SF")), //
+ UINT16, false /* mandatory? */, READ_ONLY, Unit.NONE, "PF_SF")), //
W_UND_EXT_RTG(new ScaledValuePoint("S702_W_UND_EXT_RTG", "Active Power (Under-Excited) Rating", //
"Active power rating at specified under-excited power factor in watts.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.WATT, "W_SF")), //
+ UINT16, false /* mandatory? */, READ_ONLY, Unit.WATT, "W_SF")), //
W_UND_EXT_RTG_P_F(new ScaledValuePoint("S702_W_UND_EXT_RTG_P_F", "Specified Under-Excited PF", //
"Specified under-excited power factor.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE, "PF_SF")), //
+ UINT16, false /* mandatory? */, READ_ONLY, Unit.NONE, "PF_SF")), //
V_A_MAX_RTG(new ScaledValuePoint("S702_V_A_MAX_RTG", "Apparent Power Max Rating", //
"Maximum apparent power rating in voltamperes.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE, "VA_SF")), //
+ UINT16, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE, "VA_SF")), //
VAR_MAX_INJ_RTG(new ScaledValuePoint("S702_VAR_MAX_INJ_RTG", "Reactive Power Injected Rating", //
"Maximum injected reactive power rating in vars.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_REACTIVE, "Var_SF")), //
+ UINT16, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_REACTIVE, "Var_SF")), //
VAR_MAX_ABS_RTG(new ScaledValuePoint("S702_VAR_MAX_ABS_RTG", "Reactive Power Absorbed Rating", //
"Maximum absorbed reactive power rating in vars.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE_REACTIVE, "Var_SF")), //
+ UINT16, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE_REACTIVE, "Var_SF")), //
W_CHA_RTE_MAX_RTG(new ScaledValuePoint("S702_W_CHA_RTE_MAX_RTG", "Charge Rate Max Rating", //
"Maximum active power charge rate in watts.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.WATT, "W_SF")), //
+ UINT16, false /* mandatory? */, READ_ONLY, Unit.WATT, "W_SF")), //
W_DIS_CHA_RTE_MAX_RTG(new ScaledValuePoint("S702_W_DIS_CHA_RTE_MAX_RTG", "Discharge Rate Max Rating", //
"Maximum active power discharge rate in watts.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.WATT, "W_SF")), //
+ UINT16, false /* mandatory? */, READ_ONLY, Unit.WATT, "W_SF")), //
V_A_CHA_RTE_MAX_RTG(new ScaledValuePoint("S702_V_A_CHA_RTE_MAX_RTG", "Charge Rate Max VA Rating", //
"Maximum apparent power charge rate in voltamperes.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE, "VA_SF")), //
+ UINT16, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE, "VA_SF")), //
V_A_DIS_CHA_RTE_MAX_RTG(new ScaledValuePoint("S702_V_A_DIS_CHA_RTE_MAX_RTG", "Discharge Rate Max VA Rating", //
"Maximum apparent power discharge rate in voltamperes.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT_AMPERE, "VA_SF")), //
+ UINT16, false /* mandatory? */, READ_ONLY, Unit.VOLT_AMPERE, "VA_SF")), //
V_NOM_RTG(new ScaledValuePoint("S702_V_NOM_RTG", "AC Voltage Nominal Rating", //
"AC voltage nominal rating.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT, "V_SF")), //
+ UINT16, false /* mandatory? */, READ_ONLY, Unit.VOLT, "V_SF")), //
V_MAX_RTG(new ScaledValuePoint("S702_V_MAX_RTG", "AC Voltage Max Rating", //
"AC voltage maximum rating.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT, "V_SF")), //
+ UINT16, false /* mandatory? */, READ_ONLY, Unit.VOLT, "V_SF")), //
V_MIN_RTG(new ScaledValuePoint("S702_V_MIN_RTG", "AC Voltage Min Rating", //
"AC voltage minimum rating.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT, "V_SF")), //
+ UINT16, false /* mandatory? */, READ_ONLY, Unit.VOLT, "V_SF")), //
A_MAX_RTG(new ScaledValuePoint("S702_A_MAX_RTG", "AC Current Max Rating", //
"AC current maximum rating in amps.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.AMPERE, "A_SF")), //
+ UINT16, false /* mandatory? */, READ_ONLY, Unit.AMPERE, "A_SF")), //
P_F_OVR_EXT_RTG(new ScaledValuePoint("S702_P_F_OVR_EXT_RTG", "PF Over-Excited Rating", //
"Power factor over-excited rating.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE, "PF_SF")), //
+ UINT16, false /* mandatory? */, READ_ONLY, Unit.NONE, "PF_SF")), //
P_F_UND_EXT_RTG(new ScaledValuePoint("S702_P_F_UND_EXT_RTG", "PF Under-Excited Rating", //
"Power factor under-excited rating.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE, "PF_SF")), //
+ UINT16, false /* mandatory? */, READ_ONLY, Unit.NONE, "PF_SF")), //
REACT_SUSCEPT_RTG(new ScaledValuePoint("S702_REACT_SUSCEPT_RTG", "Reactive Susceptance", //
"Reactive susceptance that remains connected to the Area EPS in the cease to energize and trip state.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE, "S_SF")), //
+ UINT16, false /* mandatory? */, READ_ONLY, Unit.NONE, "S_SF")), //
NOR_OP_CAT_RTG(new EnumPoint("S702_NOR_OP_CAT_RTG", "Normal Operating Category", //
"Normal operating performance category as specified in IEEE 1547-2018.", //
- EnumPoint.Type.ENUM16, false /* mandatory? */, AccessMode.READ_ONLY, S702_NorOpCatRtg.values())), //
+ ENUM16, false /* mandatory? */, READ_ONLY, S702_NorOpCatRtg.values())), //
ABN_OP_CAT_RTG(new EnumPoint("S702_ABN_OP_CAT_RTG", "Abnormal Operating Category", //
"Abnormal operating performance category as specified in IEEE 1547-2018.", //
- EnumPoint.Type.ENUM16, false /* mandatory? */, AccessMode.READ_ONLY, S702_AbnOpCatRtg.values())), //
+ ENUM16, false /* mandatory? */, READ_ONLY, S702_AbnOpCatRtg.values())), //
CTRL_MODES(new BitFieldPoint("S702_CTRL_MODES", "Supported Control Modes", //
"Supported control mode functions.", //
- BitFieldPoint.Type.BITFIELD32, false /* mandatory? */, AccessMode.READ_ONLY, S702_CtrlModes.values())), //
+ BITFIELD32, false /* mandatory? */, READ_ONLY, S702_CtrlModes.values())), //
INT_ISLAND_CAT_RTG(new BitFieldPoint("S702_INT_ISLAND_CAT_RTG", "Intentional Island Categories", //
"Intentional island categories.", //
- BitFieldPoint.Type.BITFIELD16, false /* mandatory? */, AccessMode.READ_ONLY, S702_IntIslandCatRtg.values())), //
+ BITFIELD16, false /* mandatory? */, READ_ONLY, S702_IntIslandCatRtg.values())), //
W_MAX(new ScaledValuePoint("S702_W_MAX", "Active Power Max Setting", //
"Maximum active power setting used to adjust maximum active power setting.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_WRITE, Unit.WATT, "W_SF")), //
+ UINT16, false /* mandatory? */, READ_WRITE, Unit.WATT, "W_SF")), //
W_MAX_OVR_EXT(new ScaledValuePoint("S702_W_MAX_OVR_EXT", "Active Power (Over-Excited) Setting", //
"Active power setting at specified over-excited power factor in watts.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_WRITE, Unit.WATT, "W_SF")), //
+ UINT16, false /* mandatory? */, READ_WRITE, Unit.WATT, "W_SF")), //
W_OVR_EXT_P_F(new ScaledValuePoint("S702_W_OVR_EXT_P_F", "Specified Over-Excited PF", //
"Specified over-excited power factor.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_WRITE, Unit.NONE, "PF_SF")), //
+ UINT16, false /* mandatory? */, READ_WRITE, Unit.NONE, "PF_SF")), //
W_MAX_UND_EXT(new ScaledValuePoint("S702_W_MAX_UND_EXT", "Active Power (Under-Excited) Setting", //
"Active power setting at specified under-excited power factor in watts.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_WRITE, Unit.WATT, "W_SF")), //
+ UINT16, false /* mandatory? */, READ_WRITE, Unit.WATT, "W_SF")), //
W_UND_EXT_P_F(new ScaledValuePoint("S702_W_UND_EXT_P_F", "Specified Under-Excited PF", //
"Specified under-excited power factor.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_WRITE, Unit.NONE, "PF_SF")), //
+ UINT16, false /* mandatory? */, READ_WRITE, Unit.NONE, "PF_SF")), //
V_A_MAX(new ScaledValuePoint("S702_V_A_MAX", "Apparent Power Max Setting", //
"Maximum apparent power setting used to adjust maximum apparent power rating.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_WRITE, Unit.VOLT_AMPERE, "VA_SF")), //
+ UINT16, false /* mandatory? */, READ_WRITE, Unit.VOLT_AMPERE, "VA_SF")), //
VAR_MAX_INJ(new ScaledValuePoint("S702_VAR_MAX_INJ", "Reactive Power Injected Setting", //
"Maximum injected reactive power setting used to adjust maximum injected reactive power rating.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_WRITE, Unit.VOLT_AMPERE_REACTIVE, "Var_SF")), //
+ UINT16, false /* mandatory? */, READ_WRITE, Unit.VOLT_AMPERE_REACTIVE, "Var_SF")), //
VAR_MAX_ABS(new ScaledValuePoint("S702_VAR_MAX_ABS", "Reactive Power Absorbed Setting", //
"Maximum absorbed reactive power setting used to adjust maximum absorbed reactive power rating.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_WRITE, Unit.VOLT_AMPERE_REACTIVE, "Var_SF")), //
+ UINT16, false /* mandatory? */, READ_WRITE, Unit.VOLT_AMPERE_REACTIVE, "Var_SF")), //
W_CHA_RTE_MAX(new ScaledValuePoint("S702_W_CHA_RTE_MAX", "Charge Rate Max Setting", //
"Maximum active power charge rate setting used to adjust maximum active power charge rate rating.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_WRITE, Unit.WATT, "W_SF")), //
+ UINT16, false /* mandatory? */, READ_WRITE, Unit.WATT, "W_SF")), //
W_DIS_CHA_RTE_MAX(new ScaledValuePoint("S702_W_DIS_CHA_RTE_MAX", "Discharge Rate Max Setting", //
"Maximum active power discharge rate setting used to adjust maximum active power discharge rate rating.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_WRITE, Unit.WATT, "W_SF")), //
+ UINT16, false /* mandatory? */, READ_WRITE, Unit.WATT, "W_SF")), //
V_A_CHA_RTE_MAX(new ScaledValuePoint("S702_V_A_CHA_RTE_MAX", "Charge Rate Max VA Setting", //
"Maximum apparent power charge rate setting used to adjust maximum apparent power charge rate rating.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_WRITE, Unit.VOLT_AMPERE, "VA_SF")), //
+ UINT16, false /* mandatory? */, READ_WRITE, Unit.VOLT_AMPERE, "VA_SF")), //
V_A_DIS_CHA_RTE_MAX(new ScaledValuePoint("S702_V_A_DIS_CHA_RTE_MAX", "Discharge Rate Max VA Setting", //
"Maximum apparent power discharge rate setting used to adjust maximum apparent power discharge rate rating.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_WRITE, Unit.VOLT_AMPERE, "VA_SF")), //
+ UINT16, false /* mandatory? */, READ_WRITE, Unit.VOLT_AMPERE, "VA_SF")), //
V_NOM(new ScaledValuePoint("S702_V_NOM", "Nominal AC Voltage Setting", //
"Nominal AC voltage setting.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_WRITE, Unit.VOLT, "V_SF")), //
+ UINT16, false /* mandatory? */, READ_WRITE, Unit.VOLT, "V_SF")), //
V_MAX(new ScaledValuePoint("S702_V_MAX", "AC Voltage Max Setting", //
"AC voltage maximum setting used to adjust AC voltage maximum rating.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_WRITE, Unit.VOLT, "V_SF")), //
+ UINT16, false /* mandatory? */, READ_WRITE, Unit.VOLT, "V_SF")), //
V_MIN(new ScaledValuePoint("S702_V_MIN", "AC Voltage Min Setting", //
"AC voltage minimum setting used to adjust AC voltage minimum rating.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_WRITE, Unit.VOLT, "V_SF")), //
+ UINT16, false /* mandatory? */, READ_WRITE, Unit.VOLT, "V_SF")), //
A_MAX(new ScaledValuePoint("S702_A_MAX", "AC Current Max Setting", //
"Maximum AC current setting used to adjust maximum AC current rating.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_WRITE, Unit.AMPERE, "A_SF")), //
+ UINT16, false /* mandatory? */, READ_WRITE, Unit.AMPERE, "A_SF")), //
P_F_OVR_EXT(new ScaledValuePoint("S702_P_F_OVR_EXT", "PF Over-Excited Setting", //
"Power factor over-excited setting.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_WRITE, Unit.NONE, "PF_SF")), //
+ UINT16, false /* mandatory? */, READ_WRITE, Unit.NONE, "PF_SF")), //
P_F_UND_EXT(new ScaledValuePoint("S702_P_F_UND_EXT", "PF Under-Excited Setting", //
"Power factor under-excited setting.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_WRITE, Unit.NONE, "PF_SF")), //
+ UINT16, false /* mandatory? */, READ_WRITE, Unit.NONE, "PF_SF")), //
INT_ISLAND_CAT(new BitFieldPoint("S702_INT_ISLAND_CAT", "Intentional Island Categories", //
"Intentional island categories.", //
- BitFieldPoint.Type.BITFIELD16, false /* mandatory? */, AccessMode.READ_WRITE, S702_IntIslandCat.values())), //
+ BITFIELD16, false /* mandatory? */, READ_WRITE, S702_IntIslandCat.values())), //
W_SF(new ScaleFactorPoint("S702_W_SF", "Active Power Scale Factor", //
"Active power scale factor.")), //
PF_SF(new ScaleFactorPoint("S702_PF_SF", "Power Factor Scale Factor", //
@@ -4362,31 +4432,31 @@ public BitPoint get() {
public static enum S703 implements SunSpecPoint {
ES(new EnumPoint("S703_ES", "Permit Enter Service", //
"Permit enter service.", //
- EnumPoint.Type.ENUM16, false /* mandatory? */, AccessMode.READ_WRITE, S703_ES.values())), //
+ ENUM16, false /* mandatory? */, READ_WRITE, S703_ES.values())), //
E_S_V_HI(new ScaledValuePoint("S703_E_S_V_HI", "Enter Service Voltage High", //
"Enter service voltage high threshold as percent of normal voltage.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_WRITE, Unit.NONE, "V_SF")), //
+ UINT16, false /* mandatory? */, READ_WRITE, Unit.NONE, "V_SF")), //
E_S_V_LO(new ScaledValuePoint("S703_E_S_V_LO", "Enter Service Voltage Low", //
"Enter service voltage low threshold as percent of normal voltage.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_WRITE, Unit.NONE, "V_SF")), //
+ UINT16, false /* mandatory? */, READ_WRITE, Unit.NONE, "V_SF")), //
E_S_HZ_HI(new ScaledValuePoint("S703_E_S_HZ_HI", "Enter Service Frequency High", //
"Enter service frequency high threshold.", //
- ValuePoint.Type.UINT32, false /* mandatory? */, AccessMode.READ_WRITE, Unit.HERTZ, "Hz_SF")), //
+ UINT32, false /* mandatory? */, READ_WRITE, Unit.HERTZ, "Hz_SF")), //
E_S_HZ_LO(new ScaledValuePoint("S703_E_S_HZ_LO", "Enter Service Frequency Low", //
"Enter service frequency low threshold.", //
- ValuePoint.Type.UINT32, false /* mandatory? */, AccessMode.READ_WRITE, Unit.HERTZ, "Hz_SF")), //
+ UINT32, false /* mandatory? */, READ_WRITE, Unit.HERTZ, "Hz_SF")), //
E_S_DLY_TMS(new ValuePoint("S703_E_S_DLY_TMS", "Enter Service Delay Time", //
"Enter service delay time in seconds.", //
- ValuePoint.Type.UINT32, false /* mandatory? */, AccessMode.READ_WRITE, Unit.SECONDS)), //
+ UINT32, false /* mandatory? */, READ_WRITE, Unit.SECONDS)), //
E_S_RND_TMS(new ValuePoint("S703_E_S_RND_TMS", "Enter Service Random Delay", //
"Enter service random delay in seconds.", //
- ValuePoint.Type.UINT32, false /* mandatory? */, AccessMode.READ_WRITE, Unit.SECONDS)), //
+ UINT32, false /* mandatory? */, READ_WRITE, Unit.SECONDS)), //
E_S_RMP_TMS(new ValuePoint("S703_E_S_RMP_TMS", "Enter Service Ramp Time", //
"Enter service ramp time in seconds.", //
- ValuePoint.Type.UINT32, false /* mandatory? */, AccessMode.READ_WRITE, Unit.SECONDS)), //
+ UINT32, false /* mandatory? */, READ_WRITE, Unit.SECONDS)), //
E_S_DLY_REM_TMS(new ValuePoint("S703_E_S_DLY_REM_TMS", "Enter Service Delay Remaining", //
"Enter service delay time remaining in seconds.", //
- ValuePoint.Type.UINT32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.SECONDS)), //
+ UINT32, false /* mandatory? */, READ_ONLY, Unit.SECONDS)), //
V_SF(new ScaleFactorPoint("S703_V_SF", "Voltage Scale Factor", //
"Voltage percentage scale factor.")), //
HZ_S_F(new ScaleFactorPoint("S703_HZ_S_F", "Frequency Scale Factor", //
@@ -4436,115 +4506,115 @@ public OptionsEnum getUndefined() {
public static enum S704 implements SunSpecPoint {
P_F_W_INJ_ENA(new EnumPoint("S704_P_F_W_INJ_ENA", "Power Factor Enable (W Inj) Enable", //
"Power factor enable when injecting active power.", //
- EnumPoint.Type.ENUM16, false /* mandatory? */, AccessMode.READ_WRITE, S704_PFWInjEna.values())), //
+ ENUM16, false /* mandatory? */, READ_WRITE, S704_PFWInjEna.values())), //
P_F_W_INJ_ENA_RVRT(new EnumPoint("S704_P_F_W_INJ_ENA_RVRT", "Power Factor Reversion Enable (W Inj)", //
"Power factor reversion timer when injecting active power enable.", //
- EnumPoint.Type.ENUM16, false /* mandatory? */, AccessMode.READ_WRITE, S704_PFWInjEnaRvrt.values())), //
+ ENUM16, false /* mandatory? */, READ_WRITE, S704_PFWInjEnaRvrt.values())), //
P_F_W_INJ_RVRT_TMS(new ValuePoint("S704_P_F_W_INJ_RVRT_TMS", "PF Reversion Time (W Inj)", //
"Power factor reversion timer when injecting active power.", //
- ValuePoint.Type.UINT32, false /* mandatory? */, AccessMode.READ_WRITE, Unit.SECONDS)), //
+ UINT32, false /* mandatory? */, READ_WRITE, Unit.SECONDS)), //
P_F_W_INJ_RVRT_REM(new ValuePoint("S704_P_F_W_INJ_RVRT_REM", "PF Reversion Time Rem (W Inj)", //
"Power factor reversion time remaining when injecting active power.", //
- ValuePoint.Type.UINT32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.SECONDS)), //
+ UINT32, false /* mandatory? */, READ_ONLY, Unit.SECONDS)), //
P_F_W_ABS_ENA(new EnumPoint("S704_P_F_W_ABS_ENA", "Power Factor Enable (W Abs) Enable", //
"Power factor enable when absorbing active power.", //
- EnumPoint.Type.ENUM16, false /* mandatory? */, AccessMode.READ_WRITE, S704_PFWAbsEna.values())), //
+ ENUM16, false /* mandatory? */, READ_WRITE, S704_PFWAbsEna.values())), //
P_F_W_ABS_ENA_RVRT(new EnumPoint("S704_P_F_W_ABS_ENA_RVRT", "Power Factor Reversion Enable (W Abs)", //
"Power factor reversion timer when absorbing active power enable.", //
- EnumPoint.Type.ENUM16, false /* mandatory? */, AccessMode.READ_WRITE, S704_PFWAbsEnaRvrt.values())), //
+ ENUM16, false /* mandatory? */, READ_WRITE, S704_PFWAbsEnaRvrt.values())), //
P_F_W_ABS_RVRT_TMS(new ValuePoint("S704_P_F_W_ABS_RVRT_TMS", "PF Reversion Time (W Abs)", //
"Power factor reversion timer when absorbing active power.", //
- ValuePoint.Type.UINT32, false /* mandatory? */, AccessMode.READ_WRITE, Unit.SECONDS)), //
+ UINT32, false /* mandatory? */, READ_WRITE, Unit.SECONDS)), //
P_F_W_ABS_RVRT_REM(new ValuePoint("S704_P_F_W_ABS_RVRT_REM", "PF Reversion Time Rem (W Abs)", //
"Power factor reversion time remaining when absorbing active power.", //
- ValuePoint.Type.UINT32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.SECONDS)), //
+ UINT32, false /* mandatory? */, READ_ONLY, Unit.SECONDS)), //
W_MAX_LIM_PCT_ENA(new EnumPoint("S704_W_MAX_LIM_PCT_ENA", "Limit Max Power Pct Enable", //
"Limit maximum active power percent enable.", //
- EnumPoint.Type.ENUM16, false /* mandatory? */, AccessMode.READ_WRITE, S704_WMaxLimPctEna.values())), //
+ ENUM16, false /* mandatory? */, READ_WRITE, S704_WMaxLimPctEna.values())), //
W_MAX_LIM_PCT(new ScaledValuePoint("S704_W_MAX_LIM_PCT", "Limit Max Power Pct Setpoint", //
"Limit maximum active power percent value.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_WRITE, Unit.NONE, "WMaxLimPct_SF")), //
+ UINT16, false /* mandatory? */, READ_WRITE, Unit.NONE, "WMaxLimPct_SF")), //
W_MAX_LIM_PCT_RVRT(new ScaledValuePoint("S704_W_MAX_LIM_PCT_RVRT", "Reversion Limit Max Power Pct", //
"Reversion limit maximum active power percent value.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_WRITE, Unit.NONE, "WMaxLimPct_SF")), //
+ UINT16, false /* mandatory? */, READ_WRITE, Unit.NONE, "WMaxLimPct_SF")), //
W_MAX_LIM_PCT_ENA_RVRT(new EnumPoint("S704_W_MAX_LIM_PCT_ENA_RVRT", "Reversion Limit Max Power Pct Enable", //
"Reversion limit maximum active power percent value enable.", //
- EnumPoint.Type.ENUM16, false /* mandatory? */, AccessMode.READ_WRITE, S704_WMaxLimPctEnaRvrt.values())), //
+ ENUM16, false /* mandatory? */, READ_WRITE, S704_WMaxLimPctEnaRvrt.values())), //
W_MAX_LIM_PCT_RVRT_TMS(new ValuePoint("S704_W_MAX_LIM_PCT_RVRT_TMS", "Limit Max Power Pct Reversion Time", //
"Limit maximum active power percent reversion time.", //
- ValuePoint.Type.UINT32, false /* mandatory? */, AccessMode.READ_WRITE, Unit.SECONDS)), //
+ UINT32, false /* mandatory? */, READ_WRITE, Unit.SECONDS)), //
W_MAX_LIM_PCT_RVRT_REM(new ValuePoint("S704_W_MAX_LIM_PCT_RVRT_REM", "Limit Max Power Pct Rev Time Rem", //
"Limit maximum active power percent reversion time remaining.", //
- ValuePoint.Type.UINT32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.SECONDS)), //
+ UINT32, false /* mandatory? */, READ_ONLY, Unit.SECONDS)), //
W_SET_ENA(new EnumPoint("S704_W_SET_ENA", "Set Active Power Enable", //
"Set active power enable.", //
- EnumPoint.Type.ENUM16, false /* mandatory? */, AccessMode.READ_WRITE, S704_WSetEna.values())), //
+ ENUM16, false /* mandatory? */, READ_WRITE, S704_WSetEna.values())), //
W_SET_MOD(new EnumPoint("S704_W_SET_MOD", "Set Active Power Mode", //
"Set active power mode.", //
- EnumPoint.Type.ENUM16, false /* mandatory? */, AccessMode.READ_WRITE, S704_WSetMod.values())), //
+ ENUM16, false /* mandatory? */, READ_WRITE, S704_WSetMod.values())), //
W_SET(new ScaledValuePoint("S704_W_SET", "Active Power Setpoint (W)", //
"Active power setting value in watts.", //
- ValuePoint.Type.INT32, false /* mandatory? */, AccessMode.READ_WRITE, Unit.WATT, "WSet_SF")), //
+ INT32, false /* mandatory? */, READ_WRITE, Unit.WATT, "WSet_SF")), //
W_SET_RVRT(new ScaledValuePoint("S704_W_SET_RVRT", "Reversion Active Power (W)", //
"Reversion active power setting value in watts.", //
- ValuePoint.Type.INT32, false /* mandatory? */, AccessMode.READ_WRITE, Unit.WATT, "WSet_SF")), //
+ INT32, false /* mandatory? */, READ_WRITE, Unit.WATT, "WSet_SF")), //
W_SET_PCT(new ScaledValuePoint("S704_W_SET_PCT", "Active Power Setpoint (Pct)", //
"Active power setting value as percent.", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_WRITE, Unit.NONE, "WSetPct_SF")), //
+ INT16, false /* mandatory? */, READ_WRITE, Unit.NONE, "WSetPct_SF")), //
W_SET_PCT_RVRT(new ScaledValuePoint("S704_W_SET_PCT_RVRT", "Reversion Active Power (Pct)", //
"Reversion active power setting value as percent.", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_WRITE, Unit.NONE, "WSetPct_SF")), //
+ INT16, false /* mandatory? */, READ_WRITE, Unit.NONE, "WSetPct_SF")), //
W_SET_ENA_RVRT(new EnumPoint("S704_W_SET_ENA_RVRT", "Reversion Active Power Enable", //
"Reversion active power function enable.", //
- EnumPoint.Type.ENUM16, false /* mandatory? */, AccessMode.READ_WRITE, S704_WSetEnaRvrt.values())), //
+ ENUM16, false /* mandatory? */, READ_WRITE, S704_WSetEnaRvrt.values())), //
W_SET_RVRT_TMS(new ValuePoint("S704_W_SET_RVRT_TMS", "Active Power Reversion Time", //
"Set active power reversion time.", //
- ValuePoint.Type.UINT32, false /* mandatory? */, AccessMode.READ_WRITE, Unit.SECONDS)), //
+ UINT32, false /* mandatory? */, READ_WRITE, Unit.SECONDS)), //
W_SET_RVRT_REM(new ValuePoint("S704_W_SET_RVRT_REM", "Active Power Rev Time Rem", //
"Set active power reversion time remaining.", //
- ValuePoint.Type.UINT32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.SECONDS)), //
+ UINT32, false /* mandatory? */, READ_ONLY, Unit.SECONDS)), //
VAR_SET_ENA(new EnumPoint("S704_VAR_SET_ENA", "Set Reactive Power Enable", //
"Set reactive power enable.", //
- EnumPoint.Type.ENUM16, false /* mandatory? */, AccessMode.READ_WRITE, S704_VarSetEna.values())), //
+ ENUM16, false /* mandatory? */, READ_WRITE, S704_VarSetEna.values())), //
VAR_SET_MOD(new EnumPoint("S704_VAR_SET_MOD", "Set Reactive Power Mode", //
"Set reactive power mode.", //
- EnumPoint.Type.ENUM16, false /* mandatory? */, AccessMode.READ_WRITE, S704_VarSetMod.values())), //
+ ENUM16, false /* mandatory? */, READ_WRITE, S704_VarSetMod.values())), //
VAR_SET_PRI(new EnumPoint("S704_VAR_SET_PRI", "Reactive Power Priority", //
"Reactive power priority.", //
- EnumPoint.Type.ENUM16, false /* mandatory? */, AccessMode.READ_WRITE, S704_VarSetPri.values())), //
+ ENUM16, false /* mandatory? */, READ_WRITE, S704_VarSetPri.values())), //
VAR_SET(new ScaledValuePoint("S704_VAR_SET", "Reactive Power Setpoint (Vars)", //
"Reactive power setting value in vars.", //
- ValuePoint.Type.INT32, false /* mandatory? */, AccessMode.READ_WRITE, Unit.VOLT_AMPERE_REACTIVE, "VarSet_SF")), //
+ INT32, false /* mandatory? */, READ_WRITE, Unit.VOLT_AMPERE_REACTIVE, "VarSet_SF")), //
VAR_SET_RVRT(new ScaledValuePoint("S704_VAR_SET_RVRT", "Reversion Reactive Power (Vars)", //
"Reversion reactive power setting value in vars.", //
- ValuePoint.Type.INT32, false /* mandatory? */, AccessMode.READ_WRITE, Unit.VOLT_AMPERE_REACTIVE, "VarSet_SF")), //
+ INT32, false /* mandatory? */, READ_WRITE, Unit.VOLT_AMPERE_REACTIVE, "VarSet_SF")), //
VAR_SET_PCT(new ScaledValuePoint("S704_VAR_SET_PCT", "Reactive Power Setpoint (Pct)", //
"Reactive power setting value as percent.", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_WRITE, Unit.NONE, "VarSetPct_SF")), //
+ INT16, false /* mandatory? */, READ_WRITE, Unit.NONE, "VarSetPct_SF")), //
VAR_SET_PCT_RVRT(new ScaledValuePoint("S704_VAR_SET_PCT_RVRT", "Reversion Reactive Power (Pct)", //
"Reversion reactive power setting value as percent.", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_WRITE, Unit.NONE, "VarSetPct_SF")), //
+ INT16, false /* mandatory? */, READ_WRITE, Unit.NONE, "VarSetPct_SF")), //
VAR_SET_ENA_RVRT(new EnumPoint("S704_VAR_SET_ENA_RVRT", "Reversion Reactive Power Enable", //
"Reversion reactive power function enable.", //
- EnumPoint.Type.ENUM16, false /* mandatory? */, AccessMode.READ_WRITE, S704_VarSetEnaRvrt.values())), //
+ ENUM16, false /* mandatory? */, READ_WRITE, S704_VarSetEnaRvrt.values())), //
VAR_SET_RVRT_TMS(new ValuePoint("S704_VAR_SET_RVRT_TMS", "Reactive Power Reversion Time", //
"Set reactive power reversion time.", //
- ValuePoint.Type.UINT32, false /* mandatory? */, AccessMode.READ_WRITE, Unit.SECONDS)), //
+ UINT32, false /* mandatory? */, READ_WRITE, Unit.SECONDS)), //
VAR_SET_RVRT_REM(new ValuePoint("S704_VAR_SET_RVRT_REM", "Reactive Power Rev Time Rem", //
"Set reactive power reversion time remaining.", //
- ValuePoint.Type.UINT32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.SECONDS)), //
+ UINT32, false /* mandatory? */, READ_ONLY, Unit.SECONDS)), //
W_RMP(new ValuePoint("S704_W_RMP", "Normal Ramp Rate", //
"Ramp rate for increases in active power during normal generation.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_WRITE, Unit.NONE)), //
+ UINT16, false /* mandatory? */, READ_WRITE, Unit.NONE)), //
W_RMP_REF(new EnumPoint("S704_W_RMP_REF", "Normal Ramp Rate Reference", //
"Ramp rate reference unit for increases in active power or current during normal generation.", //
- EnumPoint.Type.ENUM16, false /* mandatory? */, AccessMode.READ_WRITE, S704_WRmpRef.values())), //
+ ENUM16, false /* mandatory? */, READ_WRITE, S704_WRmpRef.values())), //
VAR_RMP(new ValuePoint("S704_VAR_RMP", "Reactive Power Ramp Rate", //
"Ramp rate based on max reactive power per second.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_WRITE, Unit.NONE)), //
+ UINT16, false /* mandatory? */, READ_WRITE, Unit.NONE)), //
ANTI_ISL_ENA(new EnumPoint("S704_ANTI_ISL_ENA", "Anti-Islanding Enable", //
"Anti-islanding enable.", //
- EnumPoint.Type.ENUM16, false /* mandatory? */, AccessMode.READ_WRITE, S704_AntiIslEna.values())), //
+ ENUM16, false /* mandatory? */, READ_WRITE, S704_AntiIslEna.values())), //
PF_SF(new ScaleFactorPoint("S704_PF_SF", "Power Factor Scale Factor", //
"Power factor scale factor.")), //
W_MAX_LIM_PCT_S_F(new ScaleFactorPoint("S704_W_MAX_LIM_PCT_S_F", "Limit Max Power Scale Factor", //
@@ -5012,28 +5082,28 @@ public OptionsEnum getUndefined() {
public static enum S705 implements SunSpecPoint {
ENA(new EnumPoint("S705_ENA", "DER Volt-Var Module Enable", //
"Volt-Var control enable.", //
- EnumPoint.Type.ENUM16, true /* mandatory? */, AccessMode.READ_WRITE, S705_Ena.values())), //
+ ENUM16, true /* mandatory? */, READ_WRITE, S705_Ena.values())), //
ADPT_CRV_REQ(new ValuePoint("S705_ADPT_CRV_REQ", "Adopt Curve Request", //
"Index of curve points to adopt. First curve index is 1.", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_WRITE, Unit.NONE)), //
+ UINT16, true /* mandatory? */, READ_WRITE, Unit.NONE)), //
ADPT_CRV_RSLT(new EnumPoint("S705_ADPT_CRV_RSLT", "Adopt Curve Result", //
"Result of last adopt curve operation.", //
- EnumPoint.Type.ENUM16, true /* mandatory? */, AccessMode.READ_ONLY, S705_AdptCrvRslt.values())), //
+ ENUM16, true /* mandatory? */, READ_ONLY, S705_AdptCrvRslt.values())), //
N_PT(new ValuePoint("S705_N_PT", "Number Of Points", //
"Number of curve points supported.", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE)), //
+ UINT16, true /* mandatory? */, READ_ONLY, Unit.NONE)), //
N_CRV(new ValuePoint("S705_N_CRV", "Stored Curve Count", //
"Number of stored curves supported.", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE)), //
+ UINT16, true /* mandatory? */, READ_ONLY, Unit.NONE)), //
RVRT_TMS(new ValuePoint("S705_RVRT_TMS", "Reversion Timeout", //
"Reversion time in seconds. 0 = No reversion time.", //
- ValuePoint.Type.UINT32, false /* mandatory? */, AccessMode.READ_WRITE, Unit.SECONDS)), //
+ UINT32, false /* mandatory? */, READ_WRITE, Unit.SECONDS)), //
RVRT_REM(new ValuePoint("S705_RVRT_REM", "Reversion Time Remaining", //
"Reversion time remaining in seconds.", //
- ValuePoint.Type.UINT32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.SECONDS)), //
+ UINT32, false /* mandatory? */, READ_ONLY, Unit.SECONDS)), //
RVRT_CRV(new ValuePoint("S705_RVRT_CRV", "Reversion Curve", //
"Default curve after reversion timeout.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_WRITE, Unit.NONE)), //
+ UINT16, false /* mandatory? */, READ_WRITE, Unit.NONE)), //
V_SF(new ScaleFactorPoint("S705_V_SF", "Voltage Scale Factor", //
"Scale factor for curve voltage points.")), //
DEPT_REF_S_F(new ScaleFactorPoint("S705_DEPT_REF_S_F", "Var Scale Factor", //
@@ -5115,28 +5185,28 @@ public OptionsEnum getUndefined() {
public static enum S706 implements SunSpecPoint {
ENA(new EnumPoint("S706_ENA", "DER Volt-Watt Module Enable", //
"Volt-Watt control enable.", //
- EnumPoint.Type.ENUM16, true /* mandatory? */, AccessMode.READ_WRITE, S706_Ena.values())), //
+ ENUM16, true /* mandatory? */, READ_WRITE, S706_Ena.values())), //
ADPT_CRV_REQ(new ValuePoint("S706_ADPT_CRV_REQ", "Adopt Curve Request", //
"Index of curve points to adopt. First curve index is 1.", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_WRITE, Unit.NONE)), //
+ UINT16, true /* mandatory? */, READ_WRITE, Unit.NONE)), //
ADPT_CRV_RSLT(new EnumPoint("S706_ADPT_CRV_RSLT", "Adopt Curve Result", //
"Result of last adopt curve operation.", //
- EnumPoint.Type.ENUM16, true /* mandatory? */, AccessMode.READ_ONLY, S706_AdptCrvRslt.values())), //
+ ENUM16, true /* mandatory? */, READ_ONLY, S706_AdptCrvRslt.values())), //
N_PT(new ValuePoint("S706_N_PT", "Number Of Points", //
"Number of curve points supported.", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE)), //
+ UINT16, true /* mandatory? */, READ_ONLY, Unit.NONE)), //
N_CRV(new ValuePoint("S706_N_CRV", "Stored Curve Count", //
"Number of stored curves supported.", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE)), //
+ UINT16, true /* mandatory? */, READ_ONLY, Unit.NONE)), //
RVRT_TMS(new ValuePoint("S706_RVRT_TMS", "Reversion Timeout", //
"Reversion time in seconds. 0 = No reversion time.", //
- ValuePoint.Type.UINT32, false /* mandatory? */, AccessMode.READ_WRITE, Unit.SECONDS)), //
+ UINT32, false /* mandatory? */, READ_WRITE, Unit.SECONDS)), //
RVRT_REM(new ValuePoint("S706_RVRT_REM", "Reversion Time Remaining", //
"Reversion time remaining in seconds.", //
- ValuePoint.Type.UINT32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.SECONDS)), //
+ UINT32, false /* mandatory? */, READ_ONLY, Unit.SECONDS)), //
RVRT_CRV(new ValuePoint("S706_RVRT_CRV", "Reversion Curve", //
"Default curve after reversion timeout.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_WRITE, Unit.NONE)), //
+ UINT16, false /* mandatory? */, READ_WRITE, Unit.NONE)), //
V_SF(new ScaleFactorPoint("S706_V_SF", "Voltage Scale Factor", //
"Scale factor for curve voltage points.")), //
DEPT_REF_S_F(new ScaleFactorPoint("S706_DEPT_REF_S_F", "Watt Scale Factor", //
@@ -5218,19 +5288,19 @@ public OptionsEnum getUndefined() {
public static enum S707 implements SunSpecPoint {
ENA(new EnumPoint("S707_ENA", "DER Trip LV Module Enable", //
"DER low voltage trip control enable.", //
- EnumPoint.Type.ENUM16, true /* mandatory? */, AccessMode.READ_WRITE, S707_Ena.values())), //
+ ENUM16, true /* mandatory? */, READ_WRITE, S707_Ena.values())), //
ADPT_CRV_REQ(new ValuePoint("S707_ADPT_CRV_REQ", "Adopt Curve Request", //
"Index of curve points to adopt. First curve index is 1.", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_WRITE, Unit.NONE)), //
+ UINT16, true /* mandatory? */, READ_WRITE, Unit.NONE)), //
ADPT_CRV_RSLT(new EnumPoint("S707_ADPT_CRV_RSLT", "Adopt Curve Result", //
"Result of last adopt curve operation.", //
- EnumPoint.Type.ENUM16, true /* mandatory? */, AccessMode.READ_ONLY, S707_AdptCrvRslt.values())), //
+ ENUM16, true /* mandatory? */, READ_ONLY, S707_AdptCrvRslt.values())), //
N_PT(new ValuePoint("S707_N_PT", "Number Of Points", //
"Number of curve points supported.", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE)), //
+ UINT16, true /* mandatory? */, READ_ONLY, Unit.NONE)), //
N_CRV_SET(new ValuePoint("S707_N_CRV_SET", "Stored Curve Count", //
"Number of stored curves supported.", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE)), //
+ UINT16, true /* mandatory? */, READ_ONLY, Unit.NONE)), //
V_SF(new ScaleFactorPoint("S707_V_SF", "Voltage Scale Factor", //
"Scale factor for curve voltage points.")), //
TMS_S_F(new ScaleFactorPoint("S707_TMS_S_F", "Time Point Scale Factor", //
@@ -5310,19 +5380,19 @@ public OptionsEnum getUndefined() {
public static enum S708 implements SunSpecPoint {
ENA(new EnumPoint("S708_ENA", "DER Trip HV Module Enable", //
"DER high voltage trip control enable.", //
- EnumPoint.Type.ENUM16, true /* mandatory? */, AccessMode.READ_WRITE, S708_Ena.values())), //
+ ENUM16, true /* mandatory? */, READ_WRITE, S708_Ena.values())), //
ADPT_CRV_REQ(new ValuePoint("S708_ADPT_CRV_REQ", "Adopt Curve Request", //
"Index of curve points to adopt. First curve index is 1.", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_WRITE, Unit.NONE)), //
+ UINT16, true /* mandatory? */, READ_WRITE, Unit.NONE)), //
ADPT_CRV_RSLT(new EnumPoint("S708_ADPT_CRV_RSLT", "Adopt Curve Result", //
"Result of last adopt curve operation.", //
- EnumPoint.Type.ENUM16, true /* mandatory? */, AccessMode.READ_ONLY, S708_AdptCrvRslt.values())), //
+ ENUM16, true /* mandatory? */, READ_ONLY, S708_AdptCrvRslt.values())), //
N_PT(new ValuePoint("S708_N_PT", "Number Of Points", //
"Number of curve points supported.", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE)), //
+ UINT16, true /* mandatory? */, READ_ONLY, Unit.NONE)), //
N_CRV_SET(new ValuePoint("S708_N_CRV_SET", "Stored Curve Count", //
"Number of stored curves supported.", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE)), //
+ UINT16, true /* mandatory? */, READ_ONLY, Unit.NONE)), //
V_SF(new ScaleFactorPoint("S708_V_SF", "Voltage Scale Factor", //
"Scale factor for curve voltage points.")), //
TMS_S_F(new ScaleFactorPoint("S708_TMS_S_F", "Time Point Scale Factor", //
@@ -5402,19 +5472,19 @@ public OptionsEnum getUndefined() {
public static enum S709 implements SunSpecPoint {
ENA(new EnumPoint("S709_ENA", "DER Trip LF Module Enable", //
"DER low frequency trip control enable.", //
- EnumPoint.Type.ENUM16, true /* mandatory? */, AccessMode.READ_WRITE, S709_Ena.values())), //
+ ENUM16, true /* mandatory? */, READ_WRITE, S709_Ena.values())), //
ADPT_CRV_REQ(new ValuePoint("S709_ADPT_CRV_REQ", "Adopt Curve Request", //
"Index of curve points to adopt. First curve index is 1.", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_WRITE, Unit.NONE)), //
+ UINT16, true /* mandatory? */, READ_WRITE, Unit.NONE)), //
ADPT_CRV_RSLT(new EnumPoint("S709_ADPT_CRV_RSLT", "Adopt Curve Result", //
"Result of last adopt curve operation.", //
- EnumPoint.Type.ENUM16, true /* mandatory? */, AccessMode.READ_ONLY, S709_AdptCrvRslt.values())), //
+ ENUM16, true /* mandatory? */, READ_ONLY, S709_AdptCrvRslt.values())), //
N_PT(new ValuePoint("S709_N_PT", "Number Of Points", //
"Number of curve points supported.", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE)), //
+ UINT16, true /* mandatory? */, READ_ONLY, Unit.NONE)), //
N_CRV_SET(new ValuePoint("S709_N_CRV_SET", "Stored Curve Count", //
"Number of stored curves supported.", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE)), //
+ UINT16, true /* mandatory? */, READ_ONLY, Unit.NONE)), //
HZ_S_F(new ScaleFactorPoint("S709_HZ_S_F", "Frequency Scale Factor", //
"Scale factor for curve frequency points.")), //
TMS_S_F(new ScaleFactorPoint("S709_TMS_S_F", "Time Point Scale Factor", //
@@ -5494,19 +5564,19 @@ public OptionsEnum getUndefined() {
public static enum S710 implements SunSpecPoint {
ENA(new EnumPoint("S710_ENA", "DER Trip HF Module Enable", //
"DER high frequency trip control enable.", //
- EnumPoint.Type.ENUM16, true /* mandatory? */, AccessMode.READ_WRITE, S710_Ena.values())), //
+ ENUM16, true /* mandatory? */, READ_WRITE, S710_Ena.values())), //
ADPT_CRV_REQ(new ValuePoint("S710_ADPT_CRV_REQ", "Adopt Curve Request", //
"Index of curve points to adopt. First curve index is 1.", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_WRITE, Unit.NONE)), //
+ UINT16, true /* mandatory? */, READ_WRITE, Unit.NONE)), //
ADPT_CRV_RSLT(new EnumPoint("S710_ADPT_CRV_RSLT", "Adopt Curve Result", //
"Result of last adopt curve operation.", //
- EnumPoint.Type.ENUM16, true /* mandatory? */, AccessMode.READ_ONLY, S710_AdptCrvRslt.values())), //
+ ENUM16, true /* mandatory? */, READ_ONLY, S710_AdptCrvRslt.values())), //
N_PT(new ValuePoint("S710_N_PT", "Number Of Points", //
"Number of curve points supported.", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE)), //
+ UINT16, true /* mandatory? */, READ_ONLY, Unit.NONE)), //
N_CRV_SET(new ValuePoint("S710_N_CRV_SET", "Stored Curve Count", //
"Number of stored curves supported.", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE)), //
+ UINT16, true /* mandatory? */, READ_ONLY, Unit.NONE)), //
HZ_S_F(new ScaleFactorPoint("S710_HZ_S_F", "Frequency Scale Factor", //
"Scale factor for curve frequency points.")), //
TMS_S_F(new ScaleFactorPoint("S710_TMS_S_F", "Time Point Scale Factor", //
@@ -5586,25 +5656,25 @@ public OptionsEnum getUndefined() {
public static enum S711 implements SunSpecPoint {
ENA(new EnumPoint("S711_ENA", "DER Frequency Droop Module Enable", //
"DER Frequency-Watt (Frequency-Droop) control enable.", //
- EnumPoint.Type.ENUM16, true /* mandatory? */, AccessMode.READ_WRITE, S711_Ena.values())), //
+ ENUM16, true /* mandatory? */, READ_WRITE, S711_Ena.values())), //
ADPT_CTL_REQ(new ValuePoint("S711_ADPT_CTL_REQ", "Set Active Control Request", //
"Set active control. 0 = No active control.", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_WRITE, Unit.NONE)), //
+ UINT16, true /* mandatory? */, READ_WRITE, Unit.NONE)), //
ADPT_CTL_RSLT(new EnumPoint("S711_ADPT_CTL_RSLT", "Set Active Control Result", //
"Result of last set active control operation.", //
- EnumPoint.Type.ENUM16, true /* mandatory? */, AccessMode.READ_ONLY, S711_AdptCtlRslt.values())), //
+ ENUM16, true /* mandatory? */, READ_ONLY, S711_AdptCtlRslt.values())), //
N_CTL(new ValuePoint("S711_N_CTL", "Stored Control Count", //
"Number of stored controls supported.", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE)), //
+ UINT16, true /* mandatory? */, READ_ONLY, Unit.NONE)), //
RVRT_TMS(new ValuePoint("S711_RVRT_TMS", "Reversion Timeout", //
"Reversion time in seconds. 0 = No reversion time.", //
- ValuePoint.Type.UINT32, false /* mandatory? */, AccessMode.READ_WRITE, Unit.SECONDS)), //
+ UINT32, false /* mandatory? */, READ_WRITE, Unit.SECONDS)), //
RVRT_REM(new ValuePoint("S711_RVRT_REM", "Reversion Time Left", //
"Reversion time remaining in seconds.", //
- ValuePoint.Type.UINT32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.SECONDS)), //
+ UINT32, false /* mandatory? */, READ_ONLY, Unit.SECONDS)), //
RVRT_CTL(new ValuePoint("S711_RVRT_CTL", "Reversion Control", //
"Default control after reversion timeout.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_WRITE, Unit.NONE)), //
+ UINT16, false /* mandatory? */, READ_WRITE, Unit.NONE)), //
DB_S_F(new ScaleFactorPoint("S711_DB_S_F", "Deadband Scale Factor", //
"Deadband scale factor.")), //
K_SF(new ScaleFactorPoint("S711_K_SF", "Frequency Change Scale Factor", //
@@ -5686,28 +5756,28 @@ public OptionsEnum getUndefined() {
public static enum S712 implements SunSpecPoint {
ENA(new EnumPoint("S712_ENA", "DER Watt-Var Module Enable", //
"DER Watt-Var control enable.", //
- EnumPoint.Type.ENUM16, true /* mandatory? */, AccessMode.READ_WRITE, S712_Ena.values())), //
+ ENUM16, true /* mandatory? */, READ_WRITE, S712_Ena.values())), //
ADPT_CRV_REQ(new ValuePoint("S712_ADPT_CRV_REQ", "Set Active Curve Request", //
"Set active curve. 0 = No active curve.", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_WRITE, Unit.NONE)), //
+ UINT16, true /* mandatory? */, READ_WRITE, Unit.NONE)), //
ADPT_CRV_RSLT(new EnumPoint("S712_ADPT_CRV_RSLT", "Set Active Curve Result", //
"Result of last set active curve operation.", //
- EnumPoint.Type.ENUM16, true /* mandatory? */, AccessMode.READ_ONLY, S712_AdptCrvRslt.values())), //
+ ENUM16, true /* mandatory? */, READ_ONLY, S712_AdptCrvRslt.values())), //
N_PT(new ValuePoint("S712_N_PT", "Number Of Points", //
"Number of curve points supported.", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE)), //
+ UINT16, true /* mandatory? */, READ_ONLY, Unit.NONE)), //
N_CRV(new ValuePoint("S712_N_CRV", "Stored Curve Count", //
"Number of stored curves supported.", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE)), //
+ UINT16, true /* mandatory? */, READ_ONLY, Unit.NONE)), //
RVRT_TMS(new ValuePoint("S712_RVRT_TMS", "Reversion Timeout", //
"Reversion time in seconds. 0 = No reversion time.", //
- ValuePoint.Type.UINT32, false /* mandatory? */, AccessMode.READ_WRITE, Unit.SECONDS)), //
+ UINT32, false /* mandatory? */, READ_WRITE, Unit.SECONDS)), //
RVRT_REM(new ValuePoint("S712_RVRT_REM", "Reversion Time Left", //
"Reversion time remaining in seconds.", //
- ValuePoint.Type.UINT32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.SECONDS)), //
+ UINT32, false /* mandatory? */, READ_ONLY, Unit.SECONDS)), //
RVRT_CRV(new ValuePoint("S712_RVRT_CRV", "Reversion Curve", //
"Default curve after reversion timeout.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_WRITE, Unit.NONE)), //
+ UINT16, false /* mandatory? */, READ_WRITE, Unit.NONE)), //
W_SF(new ScaleFactorPoint("S712_W_SF", "Active Power Scale Factor", //
"Scale factor for curve active power points.")), //
DEPT_REF_S_F(new ScaleFactorPoint("S712_DEPT_REF_S_F", "Var Scale Factor", //
@@ -5787,19 +5857,19 @@ public OptionsEnum getUndefined() {
public static enum S713 implements SunSpecPoint {
W_H_RTG(new ScaledValuePoint("S713_W_H_RTG", "Energy Rating", //
"Energy rating of the DER storage.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.CUMULATED_WATT_HOURS, "WH_SF")), //
+ UINT16, false /* mandatory? */, READ_ONLY, Unit.CUMULATED_WATT_HOURS, "WH_SF")), //
W_H_AVAIL(new ScaledValuePoint("S713_W_H_AVAIL", "Energy Available", //
"Energy available of the DER storage (WHAvail = WHRtg * SoC * SoH)", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.CUMULATED_WATT_HOURS, "WH_SF")), //
+ UINT16, false /* mandatory? */, READ_ONLY, Unit.CUMULATED_WATT_HOURS, "WH_SF")), //
SO_C(new ScaledValuePoint("S713_SO_C", "State of Charge", //
"State of charge of the DER storage.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE, "Pct_SF")), //
+ UINT16, false /* mandatory? */, READ_ONLY, Unit.NONE, "Pct_SF")), //
SO_H(new ScaledValuePoint("S713_SO_H", "State of Health", //
"State of health of the DER storage.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE, "Pct_SF")), //
+ UINT16, false /* mandatory? */, READ_ONLY, Unit.NONE, "Pct_SF")), //
STA(new EnumPoint("S713_STA", "Status", //
"Storage status.", //
- EnumPoint.Type.ENUM16, false /* mandatory? */, AccessMode.READ_ONLY, S713_Sta.values())), //
+ ENUM16, false /* mandatory? */, READ_ONLY, S713_Sta.values())), //
WH_SF(new ScaleFactorPoint("S713_WH_SF", "Energy Scale Factor", //
"Scale factor for energy capacity.")), //
PCT_S_F(new ScaleFactorPoint("S713_PCT_S_F", "Percent Scale Factor", //
@@ -5850,22 +5920,22 @@ public OptionsEnum getUndefined() {
public static enum S714 implements SunSpecPoint {
PRT_ALRMS(new BitFieldPoint("S714_PRT_ALRMS", "Port Alarms", //
"Bitfield of ports with active alarms. Bit is 1 if port has an active alarm. Bit 0 is first port.", //
- BitFieldPoint.Type.BITFIELD32, false /* mandatory? */, AccessMode.READ_ONLY, new SunSpecBitPoint[0])), //
+ BITFIELD32, false /* mandatory? */, READ_ONLY, new SunSpecBitPoint[0])), //
N_PRT(new ValuePoint("S714_N_PRT", "Number Of Ports", //
"Number of DC ports.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE)), //
+ UINT16, false /* mandatory? */, READ_ONLY, Unit.NONE)), //
DCA(new ScaledValuePoint("S714_DCA", "DC Current", //
"Total DC current for all ports.", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.AMPERE, "DCA_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.AMPERE, "DCA_SF")), //
DCW(new ScaledValuePoint("S714_DCW", "DC Power", //
"Total DC power for all ports.", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.WATT, "DCW_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.WATT, "DCW_SF")), //
D_C_WH_INJ(new ScaledValuePoint("S714_D_C_WH_INJ", "DC Energy Injected", //
"Total cumulative DC energy injected for all ports.", //
- ValuePoint.Type.UINT64, false /* mandatory? */, AccessMode.READ_ONLY, Unit.CUMULATED_WATT_HOURS, "DCWH_SF")), //
+ UINT64, false /* mandatory? */, READ_ONLY, Unit.CUMULATED_WATT_HOURS, "DCWH_SF")), //
D_C_WH_ABS(new ScaledValuePoint("S714_D_C_WH_ABS", "DC Energy Absorbed", //
"Total cumulative DC energy absorbed for all ports.", //
- ValuePoint.Type.UINT64, false /* mandatory? */, AccessMode.READ_ONLY, Unit.CUMULATED_WATT_HOURS, "DCWH_SF")), //
+ UINT64, false /* mandatory? */, READ_ONLY, Unit.CUMULATED_WATT_HOURS, "DCWH_SF")), //
DCA_SF(new ScaleFactorPoint("S714_DCA_SF", "DC Current Scale Factor", //
"DC current scale factor.")), //
DCV_SF(new ScaleFactorPoint("S714_DCV_SF", "DC Voltage Scale Factor", //
@@ -5892,19 +5962,19 @@ public Point get() {
public static enum S715 implements SunSpecPoint {
LOC_REM_CTL(new EnumPoint("S715_LOC_REM_CTL", "Control Mode", //
"DER control mode. Enumeration.", //
- EnumPoint.Type.ENUM16, false /* mandatory? */, AccessMode.READ_ONLY, S715_LocRemCtl.values())), //
+ ENUM16, false /* mandatory? */, READ_ONLY, S715_LocRemCtl.values())), //
D_E_R_HB(new ValuePoint("S715_D_E_R_HB", "DER Heartbeat", //
"Value is incremented every second by the DER with periodic resets to zero.", //
- ValuePoint.Type.UINT32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE)), //
+ UINT32, false /* mandatory? */, READ_ONLY, Unit.NONE)), //
CONTROLLER_HB(new ValuePoint("S715_CONTROLLER_HB", "Controller Heartbeat", //
"Value is incremented every second by the controller with periodic resets to zero.", //
- ValuePoint.Type.UINT32, false /* mandatory? */, AccessMode.READ_WRITE, Unit.NONE)), //
+ UINT32, false /* mandatory? */, READ_WRITE, Unit.NONE)), //
ALARM_RESET(new ValuePoint("S715_ALARM_RESET", "Alarm Reset", //
"Used to reset any latched alarms. 1 = Reset.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_WRITE, Unit.NONE)), //
+ UINT16, false /* mandatory? */, READ_WRITE, Unit.NONE)), //
OP_CTL(new EnumPoint("S715_OP_CTL", "Set Operation", //
"Commands to PCS. Enumerated value.", //
- EnumPoint.Type.ENUM16, false /* mandatory? */, AccessMode.READ_WRITE, S715_OpCtl.values()));
+ ENUM16, false /* mandatory? */, READ_WRITE, S715_OpCtl.values()));
private final Point point;
@@ -5981,7 +6051,7 @@ public OptionsEnum getUndefined() {
public static enum S801 implements SunSpecPoint {
DEPRECATED(new EnumPoint("S801_DEPRECATED", "Deprecated Model", //
"This model has been deprecated.", //
- EnumPoint.Type.ENUM16, true /* mandatory? */, AccessMode.READ_ONLY, new OptionsEnum[0]));
+ ENUM16, true /* mandatory? */, READ_ONLY, new OptionsEnum[0]));
private final Point point;
@@ -5998,136 +6068,136 @@ public Point get() {
public static enum S802 implements SunSpecPoint {
A_H_RTG(new ScaledValuePoint("S802_A_H_RTG", "Nameplate Charge Capacity", //
"Nameplate charge capacity in amp-hours.", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.AMPERE_HOURS, "AHRtg_SF")), //
+ UINT16, true /* mandatory? */, READ_ONLY, Unit.AMPERE_HOURS, "AHRtg_SF")), //
W_H_RTG(new ScaledValuePoint("S802_W_H_RTG", "Nameplate Energy Capacity", //
"Nameplate energy capacity in DC watt-hours.", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.CUMULATED_WATT_HOURS, "WHRtg_SF")), //
+ UINT16, true /* mandatory? */, READ_ONLY, Unit.CUMULATED_WATT_HOURS, "WHRtg_SF")), //
W_CHA_RTE_MAX(new ScaledValuePoint("S802_W_CHA_RTE_MAX", "Nameplate Max Charge Rate", //
"Maximum rate of energy transfer into the storage device in DC watts.", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.WATT, "WChaDisChaMax_SF")), //
+ UINT16, true /* mandatory? */, READ_ONLY, Unit.WATT, "WChaDisChaMax_SF")), //
W_DIS_CHA_RTE_MAX(new ScaledValuePoint("S802_W_DIS_CHA_RTE_MAX", "Nameplate Max Discharge Rate", //
"Maximum rate of energy transfer out of the storage device in DC watts.", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.WATT, "WChaDisChaMax_SF")), //
+ UINT16, true /* mandatory? */, READ_ONLY, Unit.WATT, "WChaDisChaMax_SF")), //
DIS_CHA_RTE(new ScaledValuePoint("S802_DIS_CHA_RTE", "Self Discharge Rate", //
"Self discharge rate. Percentage of capacity (WHRtg) discharged per day.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.PERCENT, "DisChaRte_SF")), //
+ UINT16, false /* mandatory? */, READ_ONLY, Unit.PERCENT, "DisChaRte_SF")), //
SO_C_MAX(new ScaledValuePoint("S802_SO_C_MAX", "Nameplate Max SoC", //
"Manufacturer maximum state of charge, expressed as a percentage.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.PERCENT, "SoC_SF")), //
+ UINT16, false /* mandatory? */, READ_ONLY, Unit.PERCENT, "SoC_SF")), //
SO_C_MIN(new ScaledValuePoint("S802_SO_C_MIN", "Nameplate Min SoC", //
"Manufacturer minimum state of charge, expressed as a percentage.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.PERCENT, "SoC_SF")), //
+ UINT16, false /* mandatory? */, READ_ONLY, Unit.PERCENT, "SoC_SF")), //
SOC_RSV_MAX(new ScaledValuePoint("S802_SOC_RSV_MAX", "Max Reserve Percent", //
"Setpoint for maximum reserve for storage as a percentage of the nominal maximum storage.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_WRITE, Unit.PERCENT, "SoC_SF")), //
+ UINT16, false /* mandatory? */, READ_WRITE, Unit.PERCENT, "SoC_SF")), //
SO_C_RSV_MIN(new ScaledValuePoint("S802_SO_C_RSV_MIN", "Min Reserve Percent", //
"Setpoint for minimum reserve for storage as a percentage of the nominal maximum storage.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_WRITE, Unit.PERCENT, "SoC_SF")), //
+ UINT16, false /* mandatory? */, READ_WRITE, Unit.PERCENT, "SoC_SF")), //
SO_C(new ScaledValuePoint("S802_SO_C", "State of Charge", //
"State of charge, expressed as a percentage.", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.PERCENT, "SoC_SF")), //
+ UINT16, true /* mandatory? */, READ_ONLY, Unit.PERCENT, "SoC_SF")), //
DO_D(new ScaledValuePoint("S802_DO_D", "Depth of Discharge", //
"Depth of discharge, expressed as a percentage.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.PERCENT, "DoD_SF")), //
+ UINT16, false /* mandatory? */, READ_ONLY, Unit.PERCENT, "DoD_SF")), //
SO_H(new ScaledValuePoint("S802_SO_H", "State of Health", //
"Percentage of battery life remaining.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.PERCENT, "SoH_SF")), //
+ UINT16, false /* mandatory? */, READ_ONLY, Unit.PERCENT, "SoH_SF")), //
N_CYC(new ValuePoint("S802_N_CYC", "Cycle Count", //
"Number of cycles executed in the battery.", //
- ValuePoint.Type.UINT32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE)), //
+ UINT32, false /* mandatory? */, READ_ONLY, Unit.NONE)), //
CHA_ST(new EnumPoint("S802_CHA_ST", "Charge Status", //
"Charge status of storage device. Enumeration.", //
- EnumPoint.Type.ENUM16, false /* mandatory? */, AccessMode.READ_ONLY, S802_ChaSt.values())), //
+ ENUM16, false /* mandatory? */, READ_ONLY, S802_ChaSt.values())), //
LOC_REM_CTL(new EnumPoint("S802_LOC_REM_CTL", "Control Mode", //
"Battery control mode. Enumeration.", //
- EnumPoint.Type.ENUM16, true /* mandatory? */, AccessMode.READ_ONLY, S802_LocRemCtl.values())), //
+ ENUM16, true /* mandatory? */, READ_ONLY, S802_LocRemCtl.values())), //
HB(new ValuePoint("S802_HB", "Battery Heartbeat", //
"Value is incremented every second with periodic resets to zero.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE)), //
+ UINT16, false /* mandatory? */, READ_ONLY, Unit.NONE)), //
CTRL_HB(new ValuePoint("S802_CTRL_HB", "Controller Heartbeat", //
"Value is incremented every second with periodic resets to zero.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_WRITE, Unit.NONE)), //
+ UINT16, false /* mandatory? */, READ_WRITE, Unit.NONE)), //
ALM_RST(new ValuePoint("S802_ALM_RST", "Alarm Reset", //
"Used to reset any latched alarms. 1 = Reset.", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_WRITE, Unit.NONE)), //
+ UINT16, true /* mandatory? */, READ_WRITE, Unit.NONE)), //
TYP(new EnumPoint("S802_TYP", "Battery Type", //
"Type of battery. Enumeration.", //
- EnumPoint.Type.ENUM16, true /* mandatory? */, AccessMode.READ_ONLY, S802_Typ.values())), //
+ ENUM16, true /* mandatory? */, READ_ONLY, S802_Typ.values())), //
STATE(new EnumPoint("S802_STATE", "State of the Battery Bank", //
"State of the battery bank. Enumeration.", //
- EnumPoint.Type.ENUM16, true /* mandatory? */, AccessMode.READ_ONLY, S802_State.values())), //
+ ENUM16, true /* mandatory? */, READ_ONLY, S802_State.values())), //
STATE_VND(new EnumPoint("S802_STATE_VND", "Vendor Battery Bank State", //
"Vendor specific battery bank state. Enumeration.", //
- EnumPoint.Type.ENUM16, false /* mandatory? */, AccessMode.READ_ONLY, new OptionsEnum[0])), //
+ ENUM16, false /* mandatory? */, READ_ONLY, new OptionsEnum[0])), //
WARR_DT(new ValuePoint("S802_WARR_DT", "Warranty Date", //
"Date the device warranty expires.", //
- ValuePoint.Type.UINT32, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE)), //
+ UINT32, false /* mandatory? */, READ_ONLY, Unit.NONE)), //
EVT1(new BitFieldPoint("S802_EVT1", "Battery Event 1 Bitfield", //
"Alarms and warnings. Bit flags.", //
- BitFieldPoint.Type.BITFIELD32, true /* mandatory? */, AccessMode.READ_ONLY, S802_Evt1.values())), //
+ BITFIELD32, true /* mandatory? */, READ_ONLY, S802_Evt1.values())), //
EVT2(new BitFieldPoint("S802_EVT2", "Battery Event 2 Bitfield", //
"Alarms and warnings. Bit flags.", //
- BitFieldPoint.Type.BITFIELD32, true /* mandatory? */, AccessMode.READ_ONLY, new SunSpecBitPoint[0])), //
+ BITFIELD32, true /* mandatory? */, READ_ONLY, new SunSpecBitPoint[0])), //
EVT_VND1(new BitFieldPoint("S802_EVT_VND1", "Vendor Event Bitfield 1", //
"Vendor defined events.", //
- BitFieldPoint.Type.BITFIELD32, true /* mandatory? */, AccessMode.READ_ONLY, new SunSpecBitPoint[0])), //
+ BITFIELD32, true /* mandatory? */, READ_ONLY, new SunSpecBitPoint[0])), //
EVT_VND2(new BitFieldPoint("S802_EVT_VND2", "Vendor Event Bitfield 2", //
"Vendor defined events.", //
- BitFieldPoint.Type.BITFIELD32, true /* mandatory? */, AccessMode.READ_ONLY, new SunSpecBitPoint[0])), //
+ BITFIELD32, true /* mandatory? */, READ_ONLY, new SunSpecBitPoint[0])), //
V(new ScaledValuePoint("S802_V", "External Battery Voltage", //
"DC Bus Voltage.", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT, "V_SF")), //
+ UINT16, true /* mandatory? */, READ_ONLY, Unit.VOLT, "V_SF")), //
V_MAX(new ScaledValuePoint("S802_V_MAX", "Max Battery Voltage", //
"Instantaneous maximum battery voltage.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT, "V_SF")), //
+ UINT16, false /* mandatory? */, READ_ONLY, Unit.VOLT, "V_SF")), //
V_MIN(new ScaledValuePoint("S802_V_MIN", "Min Battery Voltage", //
"Instantaneous minimum battery voltage.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT, "V_SF")), //
+ UINT16, false /* mandatory? */, READ_ONLY, Unit.VOLT, "V_SF")), //
CELL_V_MAX(new ScaledValuePoint("S802_CELL_V_MAX", "Max Cell Voltage", //
"Maximum voltage for all cells in the bank.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT, "CellV_SF")), //
+ UINT16, false /* mandatory? */, READ_ONLY, Unit.VOLT, "CellV_SF")), //
CELL_V_MAX_STR(new ValuePoint("S802_CELL_V_MAX_STR", "Max Cell Voltage String", //
"String containing the cell with maximum voltage.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE)), //
+ UINT16, false /* mandatory? */, READ_ONLY, Unit.NONE)), //
CELL_V_MAX_MOD(new ValuePoint("S802_CELL_V_MAX_MOD", "Max Cell Voltage Module", //
"Module containing the cell with maximum voltage.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE)), //
+ UINT16, false /* mandatory? */, READ_ONLY, Unit.NONE)), //
CELL_V_MIN(new ScaledValuePoint("S802_CELL_V_MIN", "Min Cell Voltage", //
"Minimum voltage for all cells in the bank.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT, "CellV_SF")), //
+ UINT16, false /* mandatory? */, READ_ONLY, Unit.VOLT, "CellV_SF")), //
CELL_V_MIN_STR(new ValuePoint("S802_CELL_V_MIN_STR", "Min Cell Voltage String", //
"String containing the cell with minimum voltage.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE)), //
+ UINT16, false /* mandatory? */, READ_ONLY, Unit.NONE)), //
CELL_V_MIN_MOD(new ValuePoint("S802_CELL_V_MIN_MOD", "Min Cell Voltage Module", //
"Module containing the cell with minimum voltage.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE)), //
+ UINT16, false /* mandatory? */, READ_ONLY, Unit.NONE)), //
CELL_V_AVG(new ScaledValuePoint("S802_CELL_V_AVG", "Average Cell Voltage", //
"Average cell voltage for all cells in the bank.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT, "CellV_SF")), //
+ UINT16, false /* mandatory? */, READ_ONLY, Unit.VOLT, "CellV_SF")), //
A(new ScaledValuePoint("S802_A", "Total DC Current", //
"Total DC current flowing to/from the battery bank.", //
- ValuePoint.Type.INT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.AMPERE, "A_SF")), //
+ INT16, true /* mandatory? */, READ_ONLY, Unit.AMPERE, "A_SF")), //
A_CHA_MAX(new ScaledValuePoint("S802_A_CHA_MAX", "Max Charge Current", //
"Instantaneous maximum DC charge current.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.AMPERE, "AMax_SF")), //
+ UINT16, false /* mandatory? */, READ_ONLY, Unit.AMPERE, "AMax_SF")), //
A_DIS_CHA_MAX(new ScaledValuePoint("S802_A_DIS_CHA_MAX", "Max Discharge Current", //
"Instantaneous maximum DC discharge current.", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.AMPERE, "AMax_SF")), //
+ UINT16, false /* mandatory? */, READ_ONLY, Unit.AMPERE, "AMax_SF")), //
W(new ScaledValuePoint("S802_W", "Total Power", //
"Total power flowing to/from the battery bank.", //
- ValuePoint.Type.INT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.WATT, "W_SF")), //
+ INT16, true /* mandatory? */, READ_ONLY, Unit.WATT, "W_SF")), //
REQ_INV_STATE(new EnumPoint("S802_REQ_INV_STATE", "Inverter State Request", //
"Request from battery to start or stop the inverter. Enumeration.", //
- EnumPoint.Type.ENUM16, false /* mandatory? */, AccessMode.READ_ONLY, S802_ReqInvState.values())), //
+ ENUM16, false /* mandatory? */, READ_ONLY, S802_ReqInvState.values())), //
REQ_W(new ScaledValuePoint("S802_REQ_W", "Battery Power Request", //
"AC Power requested by battery.", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.WATT, "W_SF")), //
+ INT16, false /* mandatory? */, READ_ONLY, Unit.WATT, "W_SF")), //
SET_OP(new EnumPoint("S802_SET_OP", "Set Operation", //
"Instruct the battery bank to perform an operation such as connecting. Enumeration.", //
- EnumPoint.Type.ENUM16, true /* mandatory? */, AccessMode.READ_WRITE, S802_SetOp.values())), //
+ ENUM16, true /* mandatory? */, READ_WRITE, S802_SetOp.values())), //
SET_INV_STATE(new EnumPoint("S802_SET_INV_STATE", "Set Inverter State", //
"Set the current state of the inverter.", //
- EnumPoint.Type.ENUM16, true /* mandatory? */, AccessMode.READ_WRITE, S802_SetInvState.values())), //
+ ENUM16, true /* mandatory? */, READ_WRITE, S802_SetInvState.values())), //
A_H_RTG_S_F(new ScaleFactorPoint("S802_A_H_RTG_S_F", "", //
"Scale factor for charge capacity.")), //
W_H_RTG_S_F(new ScaleFactorPoint("S802_W_H_RTG_S_F", "", //
@@ -6308,9 +6378,12 @@ public static enum S802_Evt1 implements SunSpecBitPoint {
UNDER_TEMP_ALARM(new BitPoint(3, "S802_EVT1_UNDER_TEMP_ALARM", "Under Temp Alarm")), //
UNDER_TEMP_WARNING(new BitPoint(4, "S802_EVT1_UNDER_TEMP_WARNING", "Under Temp Warning")), //
OVER_CHARGE_CURRENT_ALARM(new BitPoint(5, "S802_EVT1_OVER_CHARGE_CURRENT_ALARM", "Over Charge Current Alarm")), //
- OVER_CHARGE_CURRENT_WARNING(new BitPoint(6, "S802_EVT1_OVER_CHARGE_CURRENT_WARNING", "Over Charge Current Warning")), //
- OVER_DISCHARGE_CURRENT_ALARM(new BitPoint(7, "S802_EVT1_OVER_DISCHARGE_CURRENT_ALARM", "Over Discharge Current Alarm")), //
- OVER_DISCHARGE_CURRENT_WARNING(new BitPoint(8, "S802_EVT1_OVER_DISCHARGE_CURRENT_WARNING", "Over Discharge Current Warning")), //
+ OVER_CHARGE_CURRENT_WARNING(
+ new BitPoint(6, "S802_EVT1_OVER_CHARGE_CURRENT_WARNING", "Over Charge Current Warning")), //
+ OVER_DISCHARGE_CURRENT_ALARM(
+ new BitPoint(7, "S802_EVT1_OVER_DISCHARGE_CURRENT_ALARM", "Over Discharge Current Alarm")), //
+ OVER_DISCHARGE_CURRENT_WARNING(
+ new BitPoint(8, "S802_EVT1_OVER_DISCHARGE_CURRENT_WARNING", "Over Discharge Current Warning")), //
OVER_VOLT_ALARM(new BitPoint(9, "S802_EVT1_OVER_VOLT_ALARM", "Over Volt Alarm")), //
OVER_VOLT_WARNING(new BitPoint(10, "S802_EVT1_OVER_VOLT_WARNING", "Over Volt Warning")), //
UNDER_VOLT_ALARM(new BitPoint(11, "S802_EVT1_UNDER_VOLT_ALARM", "Under Volt Alarm")), //
@@ -6320,8 +6393,10 @@ public static enum S802_Evt1 implements SunSpecBitPoint {
OVER_SOC_MAX_ALARM(new BitPoint(15, "S802_EVT1_OVER_SOC_MAX_ALARM", "Over Soc Max Alarm")), //
OVER_SOC_MAX_WARNING(new BitPoint(16, "S802_EVT1_OVER_SOC_MAX_WARNING", "Over Soc Max Warning")), //
VOLTAGE_IMBALANCE_WARNING(new BitPoint(17, "S802_EVT1_VOLTAGE_IMBALANCE_WARNING", "Voltage Imbalance Warning")), //
- TEMPERATURE_IMBALANCE_ALARM(new BitPoint(18, "S802_EVT1_TEMPERATURE_IMBALANCE_ALARM", "Temperature Imbalance Alarm")), //
- TEMPERATURE_IMBALANCE_WARNING(new BitPoint(19, "S802_EVT1_TEMPERATURE_IMBALANCE_WARNING", "Temperature Imbalance Warning")), //
+ TEMPERATURE_IMBALANCE_ALARM(
+ new BitPoint(18, "S802_EVT1_TEMPERATURE_IMBALANCE_ALARM", "Temperature Imbalance Alarm")), //
+ TEMPERATURE_IMBALANCE_WARNING(
+ new BitPoint(19, "S802_EVT1_TEMPERATURE_IMBALANCE_WARNING", "Temperature Imbalance Warning")), //
CONTACTOR_ERROR(new BitPoint(20, "S802_EVT1_CONTACTOR_ERROR", "Contactor Error")), //
FAN_ERROR(new BitPoint(21, "S802_EVT1_FAN_ERROR", "Fan Error")), //
GROUND_FAULT(new BitPoint(22, "S802_EVT1_GROUND_FAULT", "Ground Fault")), //
@@ -6436,75 +6511,75 @@ public OptionsEnum getUndefined() {
public static enum S64001 implements SunSpecPoint {
CMD(new EnumPoint("S64001_CMD", "Command Code", "", //
- EnumPoint.Type.ENUM16, false /* mandatory? */, AccessMode.READ_WRITE, new OptionsEnum[0])), //
+ ENUM16, false /* mandatory? */, READ_WRITE, new OptionsEnum[0])), //
H_W_REV(new ValuePoint("S64001_H_W_REV", "Hardware Revision", "", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE)), //
+ UINT16, false /* mandatory? */, READ_ONLY, Unit.NONE)), //
R_S_F_W_REV(new ValuePoint("S64001_R_S_F_W_REV", "RS FW Revision", "", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE)), //
+ UINT16, false /* mandatory? */, READ_ONLY, Unit.NONE)), //
O_S_F_W_REV(new ValuePoint("S64001_O_S_F_W_REV", "OS FW Revision", "", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE)), //
+ UINT16, false /* mandatory? */, READ_ONLY, Unit.NONE)), //
PROD_REV(new ValuePoint("S64001_PROD_REV", "Product Revision", "", //
- ValuePoint.Type.STRING2, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE)), //
+ STRING2, false /* mandatory? */, READ_ONLY, Unit.NONE)), //
BOOTS(new ValuePoint("S64001_BOOTS", "Boot Count", "", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE)), //
+ UINT16, false /* mandatory? */, READ_ONLY, Unit.NONE)), //
SWITCH(new BitFieldPoint("S64001_SWITCH", "DIP Switches", "", //
- BitFieldPoint.Type.BITFIELD16, false /* mandatory? */, AccessMode.READ_ONLY, new SunSpecBitPoint[0])), //
+ BITFIELD16, false /* mandatory? */, READ_ONLY, new SunSpecBitPoint[0])), //
SENSORS(new ValuePoint("S64001_SENSORS", "Num Detected Sensors", "", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE)), //
+ UINT16, false /* mandatory? */, READ_ONLY, Unit.NONE)), //
TALKING(new ValuePoint("S64001_TALKING", "Num Communicating Sensors", "", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE)), //
+ UINT16, false /* mandatory? */, READ_ONLY, Unit.NONE)), //
STATUS(new BitFieldPoint("S64001_STATUS", "System Status", "", //
- BitFieldPoint.Type.BITFIELD16, false /* mandatory? */, AccessMode.READ_ONLY, new SunSpecBitPoint[0])), //
+ BITFIELD16, false /* mandatory? */, READ_ONLY, new SunSpecBitPoint[0])), //
CONFIG(new BitFieldPoint("S64001_CONFIG", "System Configuration", "", //
- BitFieldPoint.Type.BITFIELD16, false /* mandatory? */, AccessMode.READ_ONLY, new SunSpecBitPoint[0])), //
+ BITFIELD16, false /* mandatory? */, READ_ONLY, new SunSpecBitPoint[0])), //
L_E_DBLINK(new ValuePoint("S64001_L_E_DBLINK", "LED Blink Threshold", "", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE)), //
+ UINT16, false /* mandatory? */, READ_ONLY, Unit.NONE)), //
L_E_DON(new ValuePoint("S64001_L_E_DON", "LED On Threshold", "", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE)), //
+ UINT16, false /* mandatory? */, READ_ONLY, Unit.NONE)), //
RESERVED(new ValuePoint("S64001_RESERVED", "", "", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE)), //
+ UINT16, false /* mandatory? */, READ_ONLY, Unit.NONE)), //
LOC(new ValuePoint("S64001_LOC", "Location String", "", //
- ValuePoint.Type.STRING16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE)), //
+ STRING16, false /* mandatory? */, READ_ONLY, Unit.NONE)), //
S1ID(new EnumPoint("S64001_S1ID", "Sensor 1 Unit ID", "", //
- EnumPoint.Type.ENUM16, false /* mandatory? */, AccessMode.READ_ONLY, new OptionsEnum[0])), //
+ ENUM16, false /* mandatory? */, READ_ONLY, new OptionsEnum[0])), //
S1_ADDR(new ValuePoint("S64001_S1_ADDR", "Sensor 1 Address", "", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE)), //
+ UINT16, false /* mandatory? */, READ_ONLY, Unit.NONE)), //
S1_O_S_VER(new ValuePoint("S64001_S1_O_S_VER", "Sensor 1 OS Version", "", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE)), //
+ UINT16, false /* mandatory? */, READ_ONLY, Unit.NONE)), //
S1_VER(new ValuePoint("S64001_S1_VER", "Sensor 1 Product Version", "", //
- ValuePoint.Type.STRING2, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE)), //
+ STRING2, false /* mandatory? */, READ_ONLY, Unit.NONE)), //
S1_SERIAL(new ValuePoint("S64001_S1_SERIAL", "Sensor 1 Serial Num", "", //
- ValuePoint.Type.STRING5, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE)), //
+ STRING5, false /* mandatory? */, READ_ONLY, Unit.NONE)), //
S2ID(new EnumPoint("S64001_S2ID", "Sensor 2 Unit ID", "", //
- EnumPoint.Type.ENUM16, false /* mandatory? */, AccessMode.READ_ONLY, new OptionsEnum[0])), //
+ ENUM16, false /* mandatory? */, READ_ONLY, new OptionsEnum[0])), //
S2_ADDR(new ValuePoint("S64001_S2_ADDR", "Sensor 2 Address", "", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE)), //
+ UINT16, false /* mandatory? */, READ_ONLY, Unit.NONE)), //
S2_O_S_VER(new ValuePoint("S64001_S2_O_S_VER", "Sensor 2 OS Version", "", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE)), //
+ UINT16, false /* mandatory? */, READ_ONLY, Unit.NONE)), //
S2_VER(new ValuePoint("S64001_S2_VER", "Sensor 2 Product Version", "", //
- ValuePoint.Type.STRING2, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE)), //
+ STRING2, false /* mandatory? */, READ_ONLY, Unit.NONE)), //
S2_SERIAL(new ValuePoint("S64001_S2_SERIAL", "Sensor 2 Serial Num", "", //
- ValuePoint.Type.STRING5, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE)), //
+ STRING5, false /* mandatory? */, READ_ONLY, Unit.NONE)), //
S3ID(new EnumPoint("S64001_S3ID", "Sensor 3 Unit ID", "", //
- EnumPoint.Type.ENUM16, false /* mandatory? */, AccessMode.READ_ONLY, new OptionsEnum[0])), //
+ ENUM16, false /* mandatory? */, READ_ONLY, new OptionsEnum[0])), //
S3_ADDR(new ValuePoint("S64001_S3_ADDR", "Sensor 3 Address", "", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE)), //
+ UINT16, false /* mandatory? */, READ_ONLY, Unit.NONE)), //
S3_O_S_VER(new ValuePoint("S64001_S3_O_S_VER", "Sensor 3 OS Version", "", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE)), //
+ UINT16, false /* mandatory? */, READ_ONLY, Unit.NONE)), //
S3_VER(new ValuePoint("S64001_S3_VER", "Sensor 3 Product Version", "", //
- ValuePoint.Type.STRING2, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE)), //
+ STRING2, false /* mandatory? */, READ_ONLY, Unit.NONE)), //
S3_SERIAL(new ValuePoint("S64001_S3_SERIAL", "Sensor 3 Serial Num", "", //
- ValuePoint.Type.STRING5, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE)), //
+ STRING5, false /* mandatory? */, READ_ONLY, Unit.NONE)), //
S4ID(new EnumPoint("S64001_S4ID", "Sensor 4 Unit ID", "", //
- EnumPoint.Type.ENUM16, false /* mandatory? */, AccessMode.READ_ONLY, new OptionsEnum[0])), //
+ ENUM16, false /* mandatory? */, READ_ONLY, new OptionsEnum[0])), //
S4_ADDR(new ValuePoint("S64001_S4_ADDR", "Sensor 4 Address", "", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE)), //
+ UINT16, false /* mandatory? */, READ_ONLY, Unit.NONE)), //
S4_O_S_VER(new ValuePoint("S64001_S4_O_S_VER", "Sensor 4 OS Version", "", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE)), //
+ UINT16, false /* mandatory? */, READ_ONLY, Unit.NONE)), //
S4_VER(new ValuePoint("S64001_S4_VER", "Sensor 4 Product Version", "", //
- ValuePoint.Type.STRING2, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE)), //
+ STRING2, false /* mandatory? */, READ_ONLY, Unit.NONE)), //
S4_SERIAL(new ValuePoint("S64001_S4_SERIAL", "Sensor 4 Serial Num", "", //
- ValuePoint.Type.STRING5, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE));
+ STRING5, false /* mandatory? */, READ_ONLY, Unit.NONE));
private final Point point;
@@ -6520,19 +6595,19 @@ public Point get() {
public static enum S64101 implements SunSpecPoint {
ELTEK_COUNTRY_CODE(new ValuePoint("S64101_ELTEK_COUNTRY_CODE", "", "", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE)), //
+ UINT16, false /* mandatory? */, READ_ONLY, Unit.NONE)), //
ELTEK_FEEDING_PHASE(new ValuePoint("S64101_ELTEK_FEEDING_PHASE", "", "", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE)), //
+ UINT16, false /* mandatory? */, READ_ONLY, Unit.NONE)), //
ELTEK_A_P_D_METHOD(new ValuePoint("S64101_ELTEK_A_P_D_METHOD", "", "", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE)), //
+ UINT16, false /* mandatory? */, READ_ONLY, Unit.NONE)), //
ELTEK_A_P_D_POWER_REF(new ValuePoint("S64101_ELTEK_A_P_D_POWER_REF", "", "", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE)), //
+ UINT16, false /* mandatory? */, READ_ONLY, Unit.NONE)), //
ELTEK_R_P_S_METHOD(new ValuePoint("S64101_ELTEK_R_P_S_METHOD", "", "", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE)), //
+ UINT16, false /* mandatory? */, READ_ONLY, Unit.NONE)), //
ELTEK_R_P_S_Q_REF(new ValuePoint("S64101_ELTEK_R_P_S_Q_REF", "", "", //
- ValuePoint.Type.UINT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE)), //
+ UINT16, false /* mandatory? */, READ_ONLY, Unit.NONE)), //
ELTEK_R_P_S_COS_PHI_REF(new ValuePoint("S64101_ELTEK_R_P_S_COS_PHI_REF", "", "", //
- ValuePoint.Type.INT16, false /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE));
+ INT16, false /* mandatory? */, READ_ONLY, Unit.NONE));
private final Point point;
@@ -6548,46 +6623,46 @@ public Point get() {
public static enum S64111 implements SunSpecPoint {
PORT(new ValuePoint("S64111_PORT", "Port Number", "", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE)), //
+ UINT16, true /* mandatory? */, READ_ONLY, Unit.NONE)), //
V_SF(new ScaleFactorPoint("S64111_V_SF", "", "")), //
A_SF(new ScaleFactorPoint("S64111_A_SF", "", "")), //
P_SF(new ScaleFactorPoint("S64111_P_SF", "", "")), //
AH_SF(new ScaleFactorPoint("S64111_AH_SF", "", "")), //
KWH_SF(new ScaleFactorPoint("S64111_KWH_SF", "", "")), //
BATT_V(new ScaledValuePoint("S64111_BATT_V", "Battery Voltage", "", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT, "V_SF")), //
+ UINT16, true /* mandatory? */, READ_ONLY, Unit.VOLT, "V_SF")), //
ARRAY_V(new ScaledValuePoint("S64111_ARRAY_V", "Array Voltage", "", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT, "V_SF")), //
+ UINT16, true /* mandatory? */, READ_ONLY, Unit.VOLT, "V_SF")), //
OUTPUT_A(new ScaledValuePoint("S64111_OUTPUT_A", "Output Current", "", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.AMPERE, "A_SF")), //
+ UINT16, true /* mandatory? */, READ_ONLY, Unit.AMPERE, "A_SF")), //
INPUT_A(new ScaledValuePoint("S64111_INPUT_A", "Array Current", "", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.AMPERE, "P_SF")), //
+ UINT16, true /* mandatory? */, READ_ONLY, Unit.AMPERE, "P_SF")), //
CHARGER_ST(new EnumPoint("S64111_CHARGER_ST", "Operating State", "", //
- EnumPoint.Type.ENUM16, true /* mandatory? */, AccessMode.READ_ONLY, S64111_ChargerSt.values())), //
+ ENUM16, true /* mandatory? */, READ_ONLY, S64111_ChargerSt.values())), //
OUTPUT_W(new ScaledValuePoint("S64111_OUTPUT_W", "Output Wattage", "", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.WATT, "P_SF")), //
+ UINT16, true /* mandatory? */, READ_ONLY, Unit.WATT, "P_SF")), //
TODAY_MIN_BAT_V(new ScaledValuePoint("S64111_TODAY_MIN_BAT_V", "Today's Minimum Battery Voltage", "", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT, "V_SF")), //
+ UINT16, true /* mandatory? */, READ_ONLY, Unit.VOLT, "V_SF")), //
TODAY_MAX_BAT_V(new ScaledValuePoint("S64111_TODAY_MAX_BAT_V", "Today's Maximum Battery Voltage", "", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT, "V_SF")), //
+ UINT16, true /* mandatory? */, READ_ONLY, Unit.VOLT, "V_SF")), //
VOCV(new ScaledValuePoint("S64111_VOCV", "VOC", "", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT, "V_SF")), //
+ UINT16, true /* mandatory? */, READ_ONLY, Unit.VOLT, "V_SF")), //
TODAY_MAX_V_O_C(new ScaledValuePoint("S64111_TODAY_MAX_V_O_C", "Today's Maximum VOC", "", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT, "V_SF")), //
+ UINT16, true /* mandatory? */, READ_ONLY, Unit.VOLT, "V_SF")), //
TODAYK_WH_OUTPUT(new ScaledValuePoint("S64111_TODAYK_WH_OUTPUT", "Today's kWh", "", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.KILOWATT_HOURS, "KWH_SF")), //
+ UINT16, true /* mandatory? */, READ_ONLY, Unit.KILOWATT_HOURS, "KWH_SF")), //
TODAY_A_H_OUTPUT(new ScaledValuePoint("S64111_TODAY_A_H_OUTPUT", "Today's AH", "", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.AMPERE_HOURS, "AH_SF")), //
+ UINT16, true /* mandatory? */, READ_ONLY, Unit.AMPERE_HOURS, "AH_SF")), //
LIFE_TIME_K_W_H_OUT(new ScaledValuePoint("S64111_LIFE_TIME_K_W_H_OUT", "Lifetime kWh", "", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.KILOWATT_HOURS, "P_SF")), //
+ UINT16, true /* mandatory? */, READ_ONLY, Unit.KILOWATT_HOURS, "P_SF")), //
LIFE_TIME_A_H_OUT(new ScaledValuePoint("S64111_LIFE_TIME_A_H_OUT", "Lifetime kAH", "", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.KILOAMPERE_HOURS, "KWH_SF")), //
+ UINT16, true /* mandatory? */, READ_ONLY, Unit.KILOAMPERE_HOURS, "KWH_SF")), //
LIFE_TIME_MAX_OUT(new ScaledValuePoint("S64111_LIFE_TIME_MAX_OUT", "Lifetime Maximum Output Wattage", "", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.WATT, "P_SF")), //
+ UINT16, true /* mandatory? */, READ_ONLY, Unit.WATT, "P_SF")), //
LIFE_TIME_MAX_BATT(new ScaledValuePoint("S64111_LIFE_TIME_MAX_BATT", "Lifetime Maximum Battery Voltage", "", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT, "V_SF")), //
+ UINT16, true /* mandatory? */, READ_ONLY, Unit.VOLT, "V_SF")), //
LIFE_TIME_MAX_V_O_C(new ScaledValuePoint("S64111_LIFE_TIME_MAX_V_O_C", "Lifetime Maximum VOC Voltage", "", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT, "V_SF"));
+ UINT16, true /* mandatory? */, READ_ONLY, Unit.VOLT, "V_SF"));
private final Point point;
@@ -6635,7 +6710,7 @@ public OptionsEnum getUndefined() {
public static enum S64112 implements SunSpecPoint {
PORT(new ValuePoint("S64112_PORT", "Port Number", "", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE)), //
+ UINT16, true /* mandatory? */, READ_ONLY, Unit.NONE)), //
V_SF(new ScaleFactorPoint("S64112_V_SF", "", "")), //
C_SF(new ScaleFactorPoint("S64112_C_SF", "", "")), //
H_SF(new ScaleFactorPoint("S64112_H_SF", "", "")), //
@@ -6643,119 +6718,147 @@ public static enum S64112 implements SunSpecPoint {
AH_SF(new ScaleFactorPoint("S64112_AH_SF", "", "")), //
KWH_SF(new ScaleFactorPoint("S64112_KWH_SF", "", "")), //
C_C_CONFIG_FAULT(new BitFieldPoint("S64112_C_C_CONFIG_FAULT", "Faults", "", //
- BitFieldPoint.Type.BITFIELD16, true /* mandatory? */, AccessMode.READ_ONLY, new SunSpecBitPoint[0])), //
+ BITFIELD16, true /* mandatory? */, READ_ONLY, new SunSpecBitPoint[0])), //
C_C_CONFIG_ABSORB_V(new ScaledValuePoint("S64112_C_C_CONFIG_ABSORB_V", "Absorb", "", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT, "V_SF")), //
+ UINT16, true /* mandatory? */, READ_ONLY, Unit.VOLT, "V_SF")), //
C_C_CONFIG_ABSORB_HR(new ScaledValuePoint("S64112_C_C_CONFIG_ABSORB_HR", "Absorb Time", "", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE, "H_SF")), //
+ UINT16, true /* mandatory? */, READ_ONLY, Unit.NONE, "H_SF")), //
C_C_CONFIG_ABSORB_END_A(new ScaledValuePoint("S64112_C_C_CONFIG_ABSORB_END_A", "Absorb End", "", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.AMPERE, "V_SF")), //
+ UINT16, true /* mandatory? */, READ_ONLY, Unit.AMPERE, "V_SF")), //
C_C_CONFIG_REBULK_V(new ScaledValuePoint("S64112_C_C_CONFIG_REBULK_V", "Rebulk", "", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT, "V_SF")), //
+ UINT16, true /* mandatory? */, READ_ONLY, Unit.VOLT, "V_SF")), //
C_C_CONFIG_FLOAT_V(new ScaledValuePoint("S64112_C_C_CONFIG_FLOAT_V", "Float", "", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT, "V_SF")), //
+ UINT16, true /* mandatory? */, READ_ONLY, Unit.VOLT, "V_SF")), //
C_C_CONFIG_MAX_CHG_A(new ScaledValuePoint("S64112_C_C_CONFIG_MAX_CHG_A", "Maximum Charge", "", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.AMPERE, "V_SF")), //
+ UINT16, true /* mandatory? */, READ_ONLY, Unit.AMPERE, "V_SF")), //
C_C_CONFIG_EQUALIZE_V(new ScaledValuePoint("S64112_C_C_CONFIG_EQUALIZE_V", "Equalize", "", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT, "V_SF")), //
+ UINT16, true /* mandatory? */, READ_ONLY, Unit.VOLT, "V_SF")), //
C_C_CONFIG_EQUALIZE_HR(new ValuePoint("S64112_C_C_CONFIG_EQUALIZE_HR", "Equalize Time", "", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE)), //
+ UINT16, true /* mandatory? */, READ_ONLY, Unit.NONE)), //
C_C_CONFIG_AUTO_EQUALIZE(new ValuePoint("S64112_C_C_CONFIG_AUTO_EQUALIZE", "Auto Equalize Interval", "", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE)), //
+ UINT16, true /* mandatory? */, READ_ONLY, Unit.NONE)), //
C_C_CONFIG_M_P_P_T_MODE(new EnumPoint("S64112_C_C_CONFIG_M_P_P_T_MODE", "MPPT mode", "", //
- EnumPoint.Type.ENUM16, true /* mandatory? */, AccessMode.READ_ONLY, S64112_CC_Config_MPPT_mode.values())), //
+ ENUM16, true /* mandatory? */, READ_ONLY, S64112_CC_Config_MPPT_mode.values())), //
C_C_CONFIG_SWEEP_WIDTH(new EnumPoint("S64112_C_C_CONFIG_SWEEP_WIDTH", "Sweep Width", "", //
- EnumPoint.Type.ENUM16, true /* mandatory? */, AccessMode.READ_ONLY, S64112_CC_Config_sweep_width.values())), //
+ ENUM16, true /* mandatory? */, READ_ONLY, S64112_CC_Config_sweep_width.values())), //
C_C_CONFIG_SWEEP_MAX(new EnumPoint("S64112_C_C_CONFIG_SWEEP_MAX", "Sweep Maximum", "", //
- EnumPoint.Type.ENUM16, true /* mandatory? */, AccessMode.READ_ONLY, S64112_CC_Config_sweep_max.values())), //
- C_C_CONFIG_U_PICK_DUTY_CYC(new ScaledValuePoint("S64112_C_C_CONFIG_U_PICK_DUTY_CYC", "U-Pick PWM Duty Cycle", "", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE, "V_SF")), //
+ ENUM16, true /* mandatory? */, READ_ONLY, S64112_CC_Config_sweep_max.values())), //
+ C_C_CONFIG_U_PICK_DUTY_CYC(
+ new ScaledValuePoint("S64112_C_C_CONFIG_U_PICK_DUTY_CYC", "U-Pick PWM Duty Cycle", "", //
+ UINT16, true /* mandatory? */, READ_ONLY, Unit.NONE, "V_SF")), //
C_C_CONFIG_GRID_TIE(new EnumPoint("S64112_C_C_CONFIG_GRID_TIE", "Grid Tie Mode", "", //
- EnumPoint.Type.ENUM16, true /* mandatory? */, AccessMode.READ_ONLY, S64112_CC_Config_grid_tie.values())), //
+ ENUM16, true /* mandatory? */, READ_ONLY, S64112_CC_Config_grid_tie.values())), //
C_C_CONFIG_TEMP_COMP(new EnumPoint("S64112_C_C_CONFIG_TEMP_COMP", "Temp Comp Mode", "", //
- EnumPoint.Type.ENUM16, true /* mandatory? */, AccessMode.READ_ONLY, S64112_CC_Config_temp_comp.values())), //
- C_C_CONFIG_TEMP_COMP_LLIMT(new ScaledValuePoint("S64112_C_C_CONFIG_TEMP_COMP_LLIMT", "Temp Comp Lower Limit", "", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT, "V_SF")), //
- C_C_CONFIG_TEMP_COMP_HLIMT(new ScaledValuePoint("S64112_C_C_CONFIG_TEMP_COMP_HLIMT", "Temp Comp Upper Limit", "", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT, "V_SF")), //
+ ENUM16, true /* mandatory? */, READ_ONLY, S64112_CC_Config_temp_comp.values())), //
+ C_C_CONFIG_TEMP_COMP_LLIMT(
+ new ScaledValuePoint("S64112_C_C_CONFIG_TEMP_COMP_LLIMT", "Temp Comp Lower Limit", "", //
+ UINT16, true /* mandatory? */, READ_ONLY, Unit.VOLT, "V_SF")), //
+ C_C_CONFIG_TEMP_COMP_HLIMT(
+ new ScaledValuePoint("S64112_C_C_CONFIG_TEMP_COMP_HLIMT", "Temp Comp Upper Limit", "", //
+ UINT16, true /* mandatory? */, READ_ONLY, Unit.VOLT, "V_SF")), //
C_C_CONFIG_AUTO_RESTART(new EnumPoint("S64112_C_C_CONFIG_AUTO_RESTART", "Auto Restart Mode", "", //
- EnumPoint.Type.ENUM16, true /* mandatory? */, AccessMode.READ_ONLY, S64112_CC_Config_auto_restart.values())), //
+ ENUM16, true /* mandatory? */, READ_ONLY, S64112_CC_Config_auto_restart.values())), //
C_C_CONFIG_WAKEUP_V_O_C(new ScaledValuePoint("S64112_C_C_CONFIG_WAKEUP_V_O_C", "Wakeup VOC Change", "", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT, "V_SF")), //
+ UINT16, true /* mandatory? */, READ_ONLY, Unit.VOLT, "V_SF")), //
C_C_CONFIG_SNOOZE_MODE_A(new ScaledValuePoint("S64112_C_C_CONFIG_SNOOZE_MODE_A", "Snooze Mode", "", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.AMPERE, "V_SF")), //
+ UINT16, true /* mandatory? */, READ_ONLY, Unit.AMPERE, "V_SF")), //
C_C_CONFIG_WAKEUP_INTERVAL(new ValuePoint("S64112_C_C_CONFIG_WAKEUP_INTERVAL", "Wakeup Interval", "", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE)), //
+ UINT16, true /* mandatory? */, READ_ONLY, Unit.NONE)), //
C_C_CONFIG_A_U_X_MODE(new EnumPoint("S64112_C_C_CONFIG_A_U_X_MODE", "AUX Output Mode", "", //
- EnumPoint.Type.ENUM16, true /* mandatory? */, AccessMode.READ_ONLY, S64112_CC_Config_AUX_mode.values())), //
+ ENUM16, true /* mandatory? */, READ_ONLY, S64112_CC_Config_AUX_mode.values())), //
C_C_CONFIG_A_U_X_CONTROL(new EnumPoint("S64112_C_C_CONFIG_A_U_X_CONTROL", "AUX Output Control", "", //
- EnumPoint.Type.ENUM16, true /* mandatory? */, AccessMode.READ_ONLY, S64112_CC_Config_AUX_control.values())), //
+ ENUM16, true /* mandatory? */, READ_ONLY, S64112_CC_Config_AUX_control.values())), //
C_C_CONFIG_A_U_X_STATE(new EnumPoint("S64112_C_C_CONFIG_A_U_X_STATE", "AUX Output State", "", //
- EnumPoint.Type.ENUM16, true /* mandatory? */, AccessMode.READ_ONLY, S64112_CC_Config_AUX_state.values())), //
+ ENUM16, true /* mandatory? */, READ_ONLY, S64112_CC_Config_AUX_state.values())), //
C_C_CONFIG_A_U_X_POLARITY(new EnumPoint("S64112_C_C_CONFIG_A_U_X_POLARITY", "AUX Output Polarity", "", //
- EnumPoint.Type.ENUM16, true /* mandatory? */, AccessMode.READ_ONLY, S64112_CC_Config_AUX_polarity.values())), //
- C_C_CONFIG_A_U_X_L_BATT_DISC(new ScaledValuePoint("S64112_C_C_CONFIG_A_U_X_L_BATT_DISC", "AUX Low Battery Disconnect", "", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT, "V_SF")), //
- C_C_CONFIG_A_U_X_L_BATT_RCON(new ScaledValuePoint("S64112_C_C_CONFIG_A_U_X_L_BATT_RCON", "AUX Low Battery Reconnect", "", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT, "V_SF")), //
- C_C_CONFIG_A_U_X_L_BATT_DLY(new ValuePoint("S64112_C_C_CONFIG_A_U_X_L_BATT_DLY", "AUX Low Battery Disconnect Delay", "", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE)), //
+ ENUM16, true /* mandatory? */, READ_ONLY, S64112_CC_Config_AUX_polarity.values())), //
+ C_C_CONFIG_A_U_X_L_BATT_DISC(
+ new ScaledValuePoint("S64112_C_C_CONFIG_A_U_X_L_BATT_DISC", "AUX Low Battery Disconnect", "", //
+ UINT16, true /* mandatory? */, READ_ONLY, Unit.VOLT, "V_SF")), //
+ C_C_CONFIG_A_U_X_L_BATT_RCON(
+ new ScaledValuePoint("S64112_C_C_CONFIG_A_U_X_L_BATT_RCON", "AUX Low Battery Reconnect", "", //
+ UINT16, true /* mandatory? */, READ_ONLY, Unit.VOLT, "V_SF")), //
+ C_C_CONFIG_A_U_X_L_BATT_DLY(
+ new ValuePoint("S64112_C_C_CONFIG_A_U_X_L_BATT_DLY", "AUX Low Battery Disconnect Delay", "", //
+ UINT16, true /* mandatory? */, READ_ONLY, Unit.NONE)), //
C_C_CONFIG_A_U_X_VENT_FAN_V(new ScaledValuePoint("S64112_C_C_CONFIG_A_U_X_VENT_FAN_V", "AUX Vent Fan", "", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT, "V_SF")), //
- C_C_CONFIG_A_U_X_P_V_TRIGGER_V(new ScaledValuePoint("S64112_C_C_CONFIG_A_U_X_P_V_TRIGGER_V", "AUX PV Trigger", "", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT, "V_SF")), //
- C_C_CONFIG_A_U_X_P_V_TRG_H_TM(new ValuePoint("S64112_C_C_CONFIG_A_U_X_P_V_TRG_H_TM", "AUX PV Trigger Hold Time", "", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE)), //
- C_C_CONFIG_A_U_X_NLITE_THRS_V(new ScaledValuePoint("S64112_C_C_CONFIG_A_U_X_NLITE_THRS_V", "AUX Night Light Threshold", "", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT, "V_SF")), //
- C_C_CONFIG_A_U_X_NLITE_ON_TM(new ScaledValuePoint("S64112_C_C_CONFIG_A_U_X_NLITE_ON_TM", "AUX Night Light On Time", "", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE, "H_SF")), //
- C_C_CONFIG_A_U_X_NLITE_ON_HIST(new ValuePoint("S64112_C_C_CONFIG_A_U_X_NLITE_ON_HIST", "AUX Night Light On Hysteresis", "", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE)), //
- C_C_CONFIG_A_U_X_NLITE_OFF_HIST(new ValuePoint("S64112_C_C_CONFIG_A_U_X_NLITE_OFF_HIST", "AUX Night Light Off Hysteresis", "", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE)), //
- C_C_CONFIG_A_U_X_ERROR_BATT_V(new ScaledValuePoint("S64112_C_C_CONFIG_A_U_X_ERROR_BATT_V", "AUX Error Output Low Battery", "", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT, "V_SF")), //
- C_C_CONFIG_A_U_X_DIVERT_H_TIME(new ScaledValuePoint("S64112_C_C_CONFIG_A_U_X_DIVERT_H_TIME", "AUX Divert Hold Time", "", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE, "V_SF")), //
- C_C_CONFIG_A_U_X_DIVERT_DLY_TIME(new ValuePoint("S64112_C_C_CONFIG_A_U_X_DIVERT_DLY_TIME", "AUX Divert Delay Time", "", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE)), //
- C_C_CONFIG_A_U_X_DIVERT_REL_V(new ScaledValuePoint("S64112_C_C_CONFIG_A_U_X_DIVERT_REL_V", "AUX Divert Relative", "", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT, "V_SF")), //
- C_C_CONFIG_A_U_X_DIVERT_HYST_V(new ScaledValuePoint("S64112_C_C_CONFIG_A_U_X_DIVERT_HYST_V", "AUX Divert Hysteresis", "", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT, "V_SF")), //
+ UINT16, true /* mandatory? */, READ_ONLY, Unit.VOLT, "V_SF")), //
+ C_C_CONFIG_A_U_X_P_V_TRIGGER_V(
+ new ScaledValuePoint("S64112_C_C_CONFIG_A_U_X_P_V_TRIGGER_V", "AUX PV Trigger", "", //
+ UINT16, true /* mandatory? */, READ_ONLY, Unit.VOLT, "V_SF")), //
+ C_C_CONFIG_A_U_X_P_V_TRG_H_TM(
+ new ValuePoint("S64112_C_C_CONFIG_A_U_X_P_V_TRG_H_TM", "AUX PV Trigger Hold Time", "", //
+ UINT16, true /* mandatory? */, READ_ONLY, Unit.NONE)), //
+ C_C_CONFIG_A_U_X_NLITE_THRS_V(
+ new ScaledValuePoint("S64112_C_C_CONFIG_A_U_X_NLITE_THRS_V", "AUX Night Light Threshold", "", //
+ UINT16, true /* mandatory? */, READ_ONLY, Unit.VOLT, "V_SF")), //
+ C_C_CONFIG_A_U_X_NLITE_ON_TM(
+ new ScaledValuePoint("S64112_C_C_CONFIG_A_U_X_NLITE_ON_TM", "AUX Night Light On Time", "", //
+ UINT16, true /* mandatory? */, READ_ONLY, Unit.NONE, "H_SF")), //
+ C_C_CONFIG_A_U_X_NLITE_ON_HIST(
+ new ValuePoint("S64112_C_C_CONFIG_A_U_X_NLITE_ON_HIST", "AUX Night Light On Hysteresis", "", //
+ UINT16, true /* mandatory? */, READ_ONLY, Unit.NONE)), //
+ C_C_CONFIG_A_U_X_NLITE_OFF_HIST(
+ new ValuePoint("S64112_C_C_CONFIG_A_U_X_NLITE_OFF_HIST", "AUX Night Light Off Hysteresis", "", //
+ UINT16, true /* mandatory? */, READ_ONLY, Unit.NONE)), //
+ C_C_CONFIG_A_U_X_ERROR_BATT_V(
+ new ScaledValuePoint("S64112_C_C_CONFIG_A_U_X_ERROR_BATT_V", "AUX Error Output Low Battery", "", //
+ UINT16, true /* mandatory? */, READ_ONLY, Unit.VOLT, "V_SF")), //
+ C_C_CONFIG_A_U_X_DIVERT_H_TIME(
+ new ScaledValuePoint("S64112_C_C_CONFIG_A_U_X_DIVERT_H_TIME", "AUX Divert Hold Time", "", //
+ UINT16, true /* mandatory? */, READ_ONLY, Unit.NONE, "V_SF")), //
+ C_C_CONFIG_A_U_X_DIVERT_DLY_TIME(
+ new ValuePoint("S64112_C_C_CONFIG_A_U_X_DIVERT_DLY_TIME", "AUX Divert Delay Time", "", //
+ UINT16, true /* mandatory? */, READ_ONLY, Unit.NONE)), //
+ C_C_CONFIG_A_U_X_DIVERT_REL_V(
+ new ScaledValuePoint("S64112_C_C_CONFIG_A_U_X_DIVERT_REL_V", "AUX Divert Relative", "", //
+ UINT16, true /* mandatory? */, READ_ONLY, Unit.VOLT, "V_SF")), //
+ C_C_CONFIG_A_U_X_DIVERT_HYST_V(
+ new ScaledValuePoint("S64112_C_C_CONFIG_A_U_X_DIVERT_HYST_V", "AUX Divert Hysteresis", "", //
+ UINT16, true /* mandatory? */, READ_ONLY, Unit.VOLT, "V_SF")), //
C_C_CONFIG_MAJOR_F_W_REV(new ValuePoint("S64112_C_C_CONFIG_MAJOR_F_W_REV", "FM CC Major Firmware Number", "", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE)), //
+ UINT16, true /* mandatory? */, READ_ONLY, Unit.NONE)), //
C_C_CONFIG_MID_F_W_REV(new ValuePoint("S64112_C_C_CONFIG_MID_F_W_REV", "FM CC Mid Firmware Number", "", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE)), //
+ UINT16, true /* mandatory? */, READ_ONLY, Unit.NONE)), //
C_C_CONFIG_MINOR_F_W_REV(new ValuePoint("S64112_C_C_CONFIG_MINOR_F_W_REV", "FM CC Minor Firmware Number", "", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE)), //
- C_C_CONFIG_DATA_LOG_DAY_OFFSET(new ValuePoint("S64112_C_C_CONFIG_DATA_LOG_DAY_OFFSET", "Set Data Log Day Offset", "", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE)), //
- C_C_CONFIG_DATA_LOG_CUR_DAY_OFF(new ValuePoint("S64112_C_C_CONFIG_DATA_LOG_CUR_DAY_OFF", "Current Data Log Day Offset", "", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE)), //
+ UINT16, true /* mandatory? */, READ_ONLY, Unit.NONE)), //
+ C_C_CONFIG_DATA_LOG_DAY_OFFSET(
+ new ValuePoint("S64112_C_C_CONFIG_DATA_LOG_DAY_OFFSET", "Set Data Log Day Offset", "", //
+ UINT16, true /* mandatory? */, READ_ONLY, Unit.NONE)), //
+ C_C_CONFIG_DATA_LOG_CUR_DAY_OFF(
+ new ValuePoint("S64112_C_C_CONFIG_DATA_LOG_CUR_DAY_OFF", "Current Data Log Day Offset", "", //
+ UINT16, true /* mandatory? */, READ_ONLY, Unit.NONE)), //
C_C_CONFIG_DATA_LOG_DAILY_A_H(new ValuePoint("S64112_C_C_CONFIG_DATA_LOG_DAILY_A_H", "Data Log Daily (Ah)", "", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.AMPERE_HOURS)), //
- C_C_CONFIG_DATA_LOG_DAILY_K_W_H(new ScaledValuePoint("S64112_C_C_CONFIG_DATA_LOG_DAILY_K_W_H", "Data Log Daily (kWh)", "", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.KILOWATT_HOURS, "KWH_SF")), //
- C_C_CONFIG_DATA_LOG_MAX_OUT_A(new ScaledValuePoint("S64112_C_C_CONFIG_DATA_LOG_MAX_OUT_A", "Data Log Daily Maximum Output (A)", "", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.AMPERE, "V_SF")), //
- C_C_CONFIG_DATA_LOG_MAX_OUT_W(new ScaledValuePoint("S64112_C_C_CONFIG_DATA_LOG_MAX_OUT_W", "Data Log Daily Maximum Output (W)", "", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.WATT, "V_SF")), //
- C_C_CONFIG_DATA_LOG_ABSORB_T(new ValuePoint("S64112_C_C_CONFIG_DATA_LOG_ABSORB_T", "Data Log Daily Absorb Time", "", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE)), //
- C_C_CONFIG_DATA_LOG_FLOAT_T(new ValuePoint("S64112_C_C_CONFIG_DATA_LOG_FLOAT_T", "Data Log Daily Float Time", "", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE)), //
- C_C_CONFIG_DATA_LOG_MIN_BATT_V(new ScaledValuePoint("S64112_C_C_CONFIG_DATA_LOG_MIN_BATT_V", "Data Log Daily Minimum Battery", "", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT, "V_SF")), //
- C_C_CONFIG_DATA_LOG_MAX_BATT_V(new ScaledValuePoint("S64112_C_C_CONFIG_DATA_LOG_MAX_BATT_V", "Data Log Daily Maximum Battery", "", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT, "V_SF")), //
- C_C_CONFIG_DATA_LOG_MAX_INPUT_V(new ScaledValuePoint("S64112_C_C_CONFIG_DATA_LOG_MAX_INPUT_V", "Data Log Daily Maximum Input", "", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.VOLT, "V_SF")), //
+ UINT16, true /* mandatory? */, READ_ONLY, Unit.AMPERE_HOURS)), //
+ C_C_CONFIG_DATA_LOG_DAILY_K_W_H(
+ new ScaledValuePoint("S64112_C_C_CONFIG_DATA_LOG_DAILY_K_W_H", "Data Log Daily (kWh)", "", //
+ UINT16, true /* mandatory? */, READ_ONLY, Unit.KILOWATT_HOURS, "KWH_SF")), //
+ C_C_CONFIG_DATA_LOG_MAX_OUT_A(
+ new ScaledValuePoint("S64112_C_C_CONFIG_DATA_LOG_MAX_OUT_A", "Data Log Daily Maximum Output (A)", "", //
+ UINT16, true /* mandatory? */, READ_ONLY, Unit.AMPERE, "V_SF")), //
+ C_C_CONFIG_DATA_LOG_MAX_OUT_W(
+ new ScaledValuePoint("S64112_C_C_CONFIG_DATA_LOG_MAX_OUT_W", "Data Log Daily Maximum Output (W)", "", //
+ UINT16, true /* mandatory? */, READ_ONLY, Unit.WATT, "V_SF")), //
+ C_C_CONFIG_DATA_LOG_ABSORB_T(
+ new ValuePoint("S64112_C_C_CONFIG_DATA_LOG_ABSORB_T", "Data Log Daily Absorb Time", "", //
+ UINT16, true /* mandatory? */, READ_ONLY, Unit.NONE)), //
+ C_C_CONFIG_DATA_LOG_FLOAT_T(
+ new ValuePoint("S64112_C_C_CONFIG_DATA_LOG_FLOAT_T", "Data Log Daily Float Time", "", //
+ UINT16, true /* mandatory? */, READ_ONLY, Unit.NONE)), //
+ C_C_CONFIG_DATA_LOG_MIN_BATT_V(
+ new ScaledValuePoint("S64112_C_C_CONFIG_DATA_LOG_MIN_BATT_V", "Data Log Daily Minimum Battery", "", //
+ UINT16, true /* mandatory? */, READ_ONLY, Unit.VOLT, "V_SF")), //
+ C_C_CONFIG_DATA_LOG_MAX_BATT_V(
+ new ScaledValuePoint("S64112_C_C_CONFIG_DATA_LOG_MAX_BATT_V", "Data Log Daily Maximum Battery", "", //
+ UINT16, true /* mandatory? */, READ_ONLY, Unit.VOLT, "V_SF")), //
+ C_C_CONFIG_DATA_LOG_MAX_INPUT_V(
+ new ScaledValuePoint("S64112_C_C_CONFIG_DATA_LOG_MAX_INPUT_V", "Data Log Daily Maximum Input", "", //
+ UINT16, true /* mandatory? */, READ_ONLY, Unit.VOLT, "V_SF")), //
C_C_CONFIG_DATA_LOG_CLEAR(new ValuePoint("S64112_C_C_CONFIG_DATA_LOG_CLEAR", "Data Log Clear", "", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE)), //
- C_C_CONFIG_DATA_LOG_CLR_COMP(new ValuePoint("S64112_C_C_CONFIG_DATA_LOG_CLR_COMP", "Data Log Clear Complement", "", //
- ValuePoint.Type.UINT16, true /* mandatory? */, AccessMode.READ_ONLY, Unit.NONE));
+ UINT16, true /* mandatory? */, READ_ONLY, Unit.NONE)), //
+ C_C_CONFIG_DATA_LOG_CLR_COMP(
+ new ValuePoint("S64112_C_C_CONFIG_DATA_LOG_CLR_COMP", "Data Log Clear Complement", "", //
+ UINT16, true /* mandatory? */, READ_ONLY, Unit.NONE));
private final Point point;
diff --git a/io.openems.edge.bridge.modbus/test/io/openems/edge/bridge/modbus/BridgeModbusTcpImplTest.java b/io.openems.edge.bridge.modbus/test/io/openems/edge/bridge/modbus/BridgeModbusTcpImplTest.java
index 33c3496c644..cfcf6d532c0 100644
--- a/io.openems.edge.bridge.modbus/test/io/openems/edge/bridge/modbus/BridgeModbusTcpImplTest.java
+++ b/io.openems.edge.bridge.modbus/test/io/openems/edge/bridge/modbus/BridgeModbusTcpImplTest.java
@@ -1,5 +1,6 @@
package io.openems.edge.bridge.modbus;
+import static io.openems.common.test.TestUtils.findRandomOpenPortOnAllLocalInterfaces;
import static io.openems.edge.bridge.modbus.api.ModbusComponent.ChannelId.MODBUS_COMMUNICATION_FAILED;
import org.junit.Test;
@@ -22,7 +23,6 @@
import io.openems.edge.common.taskmanager.Priority;
import io.openems.edge.common.test.AbstractComponentTest.TestCase;
import io.openems.edge.common.test.ComponentTest;
-import io.openems.edge.common.test.TestUtils;
public class BridgeModbusTcpImplTest {
@@ -33,7 +33,7 @@ public class BridgeModbusTcpImplTest {
public void test() throws Exception {
final ThrowingRunnable sleep = () -> Thread.sleep(CYCLE_TIME);
- var port = TestUtils.findRandomOpenPortOnAllLocalInterfaces();
+ var port = findRandomOpenPortOnAllLocalInterfaces();
ModbusSlave slave = null;
try {
/*
diff --git a/io.openems.edge.bridge.modbus/test/io/openems/edge/bridge/modbus/api/worker/internal/DefectiveComponentsTest.java b/io.openems.edge.bridge.modbus/test/io/openems/edge/bridge/modbus/api/worker/internal/DefectiveComponentsTest.java
index ce0b9f97068..fe8246dfb2f 100644
--- a/io.openems.edge.bridge.modbus/test/io/openems/edge/bridge/modbus/api/worker/internal/DefectiveComponentsTest.java
+++ b/io.openems.edge.bridge.modbus/test/io/openems/edge/bridge/modbus/api/worker/internal/DefectiveComponentsTest.java
@@ -1,7 +1,7 @@
package io.openems.edge.bridge.modbus.api.worker.internal;
+import static io.openems.common.test.TestUtils.createDummyClock;
import static io.openems.edge.bridge.modbus.api.worker.internal.CycleTasksManagerTest.LOG_HANDLER;
-import static io.openems.edge.common.test.TestUtils.createDummyClock;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertTrue;
diff --git a/io.openems.edge.bridge.modbus/test/io/openems/edge/bridge/modbus/api/worker/internal/TasksSupplierImplTest.java b/io.openems.edge.bridge.modbus/test/io/openems/edge/bridge/modbus/api/worker/internal/TasksSupplierImplTest.java
index 77e3d8b8f3f..46b13094b91 100644
--- a/io.openems.edge.bridge.modbus/test/io/openems/edge/bridge/modbus/api/worker/internal/TasksSupplierImplTest.java
+++ b/io.openems.edge.bridge.modbus/test/io/openems/edge/bridge/modbus/api/worker/internal/TasksSupplierImplTest.java
@@ -1,7 +1,7 @@
package io.openems.edge.bridge.modbus.api.worker.internal;
+import static io.openems.common.test.TestUtils.createDummyClock;
import static io.openems.edge.bridge.modbus.api.worker.internal.CycleTasksManagerTest.LOG_HANDLER;
-import static io.openems.edge.common.test.TestUtils.createDummyClock;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
diff --git a/io.openems.edge.bridge.modbus/test/io/openems/edge/bridge/modbus/sunspec/AbstractOpenemsSunSpecComponentTest.java b/io.openems.edge.bridge.modbus/test/io/openems/edge/bridge/modbus/sunspec/AbstractOpenemsSunSpecComponentTest.java
index 2e877e2cb42..d55f8c1b395 100644
--- a/io.openems.edge.bridge.modbus/test/io/openems/edge/bridge/modbus/sunspec/AbstractOpenemsSunSpecComponentTest.java
+++ b/io.openems.edge.bridge.modbus/test/io/openems/edge/bridge/modbus/sunspec/AbstractOpenemsSunSpecComponentTest.java
@@ -1,5 +1,6 @@
package io.openems.edge.bridge.modbus.sunspec;
+import static io.openems.common.test.TestUtils.findRandomOpenPortOnAllLocalInterfaces;
import static io.openems.edge.bridge.modbus.sunspec.AbstractOpenemsSunSpecComponent.preprocessModbusElements;
import static java.util.stream.IntStream.range;
import static org.junit.Assert.assertEquals;
@@ -37,7 +38,6 @@
import io.openems.edge.common.test.AbstractComponentTest.TestCase;
import io.openems.edge.common.test.ComponentTest;
import io.openems.edge.common.test.DummyConfigurationAdmin;
-import io.openems.edge.common.test.TestUtils;
public class AbstractOpenemsSunSpecComponentTest {
@@ -163,7 +163,7 @@ private static ImmutableSortedMap.Builder generateSunSpec() {
@Ignore
@Test
public void test() throws Exception {
- var port = TestUtils.findRandomOpenPortOnAllLocalInterfaces();
+ var port = findRandomOpenPortOnAllLocalInterfaces();
ModbusSlave slave = null;
try {
/*
diff --git a/io.openems.edge.bridge.onewire/.classpath b/io.openems.edge.bridge.onewire/.classpath
index bbfbdbe40e7..b4cffd0fe60 100644
--- a/io.openems.edge.bridge.onewire/.classpath
+++ b/io.openems.edge.bridge.onewire/.classpath
@@ -1,7 +1,7 @@
-
+
diff --git a/io.openems.edge.bridge.onewire/bnd.bnd b/io.openems.edge.bridge.onewire/bnd.bnd
index e61cf21d959..017e4a82b22 100644
--- a/io.openems.edge.bridge.onewire/bnd.bnd
+++ b/io.openems.edge.bridge.onewire/bnd.bnd
@@ -12,8 +12,8 @@ Export-Package: \
com.dalsemi.onewire.application.tag,\
com.dalsemi.onewire.container,\
com.dalsemi.onewire.debug,\
- io.openems.edge.bridge.onewire,\
com.dalsemi.onewire.utils,\
+ io.openems.edge.bridge.onewire,\
gnu.io
Include-Resource: \
diff --git a/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/adapter/NetAdapterSim.java b/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/adapter/NetAdapterSim.java
index e2732dfacae..b92d9054cb4 100644
--- a/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/adapter/NetAdapterSim.java
+++ b/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/adapter/NetAdapterSim.java
@@ -230,7 +230,11 @@ public NetAdapterSim(String execCmd, String logFilename, boolean multiThread) th
public NetAdapterSim(String execCmd, String logFilename, int listenPort, boolean multiThread) throws IOException {
// save references to file and command
this.execCommand = execCmd;
- this.process = Runtime.getRuntime().exec(execCmd);
+
+ // Use ProcessBuilder instead of Runtime.getRuntime().exec()
+ ProcessBuilder processBuilder = new ProcessBuilder(execCmd.split(" "));
+ processBuilder.redirectErrorStream(true); // Redirect error stream to standard output
+ this.process = processBuilder.start();
this.processOutput = new BufferedReader(new InputStreamReader(this.process.getInputStream()));
this.processError = new BufferedReader(new InputStreamReader(this.process.getErrorStream()));
this.processInput = new OutputStreamWriter(this.process.getOutputStream());
@@ -323,7 +327,11 @@ public NetAdapterSim(String execCmd, String logFilename, ServerSocket serverSock
throws IOException {
// save references to file and command
this.execCommand = execCmd;
- this.process = Runtime.getRuntime().exec(execCmd);
+
+ // Use ProcessBuilder instead of Runtime.getRuntime().exec()
+ ProcessBuilder processBuilder = new ProcessBuilder(execCmd.split(" "));
+ processBuilder.redirectErrorStream(true); // Redirect error stream to standard output
+ this.process = processBuilder.start();
this.processOutput = new BufferedReader(new InputStreamReader(this.process.getInputStream()));
this.processError = new BufferedReader(new InputStreamReader(this.process.getErrorStream()));
this.processInput = new OutputStreamWriter(this.process.getOutputStream());
diff --git a/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/adapter/UAdapterState.java b/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/adapter/UAdapterState.java
index ed93664f6c5..381ae0db30c 100644
--- a/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/adapter/UAdapterState.java
+++ b/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/adapter/UAdapterState.java
@@ -148,9 +148,9 @@ class UAdapterState {
/**
* This is the current 'real' speed that the OneWire is operating at. This is
- * used to represent the actual mode that the DS2480 is operating in. For example
- * the logical speed might be USPEED_REGULAR but for RF emission reasons we may
- * put the actual DS2480 in SPEED_FLEX.
+ * used to represent the actual mode that the DS2480 is operating in. For
+ * example the logical speed might be USPEED_REGULAR but for RF emission reasons
+ * we may put the actual DS2480 in SPEED_FLEX.
*
* The valid values for this are:
*
diff --git a/io.openems.edge.bridge.onewire/src/io/openems/edge/bridge/onewire/impl/BridgeOnewireImpl.java b/io.openems.edge.bridge.onewire/src/io/openems/edge/bridge/onewire/impl/BridgeOnewireImpl.java
index b03ef071bd0..d1f60ff3073 100644
--- a/io.openems.edge.bridge.onewire/src/io/openems/edge/bridge/onewire/impl/BridgeOnewireImpl.java
+++ b/io.openems.edge.bridge.onewire/src/io/openems/edge/bridge/onewire/impl/BridgeOnewireImpl.java
@@ -82,7 +82,8 @@ protected void logError(Logger log, String message) {
@Override
public void buildJsonApiRoutes(JsonApiBuilder builder) {
- builder.handleRequest(GetDevicesRequest.METHOD, call -> this.taskWorker.handleGetDevicesRequest(call.getRequest()));
+ builder.handleRequest(GetDevicesRequest.METHOD,
+ call -> this.taskWorker.handleGetDevicesRequest(call.getRequest()));
}
}
\ No newline at end of file
diff --git a/io.openems.edge.bridge.onewire/src/io/openems/edge/bridge/onewire/jsonrpc/GetDeviceResponse.java b/io.openems.edge.bridge.onewire/src/io/openems/edge/bridge/onewire/jsonrpc/GetDeviceResponse.java
index e3dd4845c81..04549846a09 100644
--- a/io.openems.edge.bridge.onewire/src/io/openems/edge/bridge/onewire/jsonrpc/GetDeviceResponse.java
+++ b/io.openems.edge.bridge.onewire/src/io/openems/edge/bridge/onewire/jsonrpc/GetDeviceResponse.java
@@ -16,8 +16,6 @@
/**
* Wraps a JSON-RPC Response to "getDevices" Request.
*
- *
- *
*
* {
* "jsonrpc": "2.0",
diff --git a/io.openems.edge.common/.classpath b/io.openems.edge.common/.classpath
index bbfbdbe40e7..b4cffd0fe60 100644
--- a/io.openems.edge.common/.classpath
+++ b/io.openems.edge.common/.classpath
@@ -1,7 +1,7 @@
-
+
diff --git a/io.openems.edge.common/src/io/openems/edge/common/component/ComponentManager.java b/io.openems.edge.common/src/io/openems/edge/common/component/ComponentManager.java
index ea444764b63..9ea55060009 100644
--- a/io.openems.edge.common/src/io/openems/edge/common/component/ComponentManager.java
+++ b/io.openems.edge.common/src/io/openems/edge/common/component/ComponentManager.java
@@ -2,6 +2,7 @@
import java.time.Clock;
import java.util.List;
+import java.util.Map;
import org.osgi.framework.BundleContext;
@@ -173,6 +174,20 @@ public default void _setDefaultConfigurationFailed(boolean value) {
@Override
public Clock getClock();
+ /**
+ * Gets the component properties by its component id.
+ *
+ * @param componentId the id of the component
+ * @return the properties or a empty map if none found
+ * @implNote this method is preferred to use when only the properties of an
+ * component are of interest. Because of OSGi delivering the component
+ * updates asynchronously and if a component update happens the config
+ * update may not reflect immediately to the config of the
+ * implementation of that component but this method uses the direct
+ * configuration in the service registration.
+ */
+ public Map getComponentProperties(String componentId);
+
/**
* Gets all enabled OpenEMS-Components.
*
diff --git a/io.openems.edge.common/src/io/openems/edge/common/currency/Currency.java b/io.openems.edge.common/src/io/openems/edge/common/currency/Currency.java
index 52337d0c78f..d1750f819fe 100644
--- a/io.openems.edge.common/src/io/openems/edge/common/currency/Currency.java
+++ b/io.openems.edge.common/src/io/openems/edge/common/currency/Currency.java
@@ -44,5 +44,4 @@ public static Currency fromCurrencyConfig(CurrencyConfig config) {
case CHF -> Currency.CHF;
};
}
-
}
diff --git a/io.openems.edge.common/src/io/openems/edge/common/host/Host.java b/io.openems.edge.common/src/io/openems/edge/common/host/Host.java
index 3048111f0ad..304fc98d217 100644
--- a/io.openems.edge.common/src/io/openems/edge/common/host/Host.java
+++ b/io.openems.edge.common/src/io/openems/edge/common/host/Host.java
@@ -106,7 +106,7 @@ public default void _setHostname(String value) {
* @throws OpenemsNamedException exception
*/
public List