Class SunSpecCodeGenerator.Point
java.lang.Object
io.openems.edge.bridge.modbus.sunspec.SunSpecCodeGenerator.Point
- Enclosing class:
- SunSpecCodeGenerator
POJO container for a SunSpec Point.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
POJO container for a SunSpec Point Symbol. -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final AccessMode
protected final SunSpecPoint.PointCategory
protected String
protected final String
protected String
protected final int
protected final boolean
protected String
protected final int
protected final SunSpecCodeGenerator.Point.Symbol[]
protected final SunSpecPoint.PointType
protected final Unit
-
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
id
-
len
protected final int len -
offset
protected final int offset -
type
-
scaleFactor
-
unit
-
accessMode
-
mandatory
protected final boolean mandatory -
category
-
symbols
-
label
-
description
-
notes
-
-
Constructor Details
-
Point
public Point(com.google.gson.JsonObject point, int offset) throws OpenemsError.OpenemsNamedException
-
-
Method Details
-
getSymbol
Gets the Symbol with the given Id.- Parameters:
id
- the Symbol-Id- Returns:
- the Symbol
- Throws:
OpenemsException
- on error
-
toString
-