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
ConstructorsConstructorDescriptionPoint
(String id, int len, int offset, SunSpecPoint.PointType type, String scaleFactor, Unit unit, AccessMode accessMode, boolean mandatory, SunSpecPoint.PointCategory category, SunSpecCodeGenerator.Point.Symbol[] symbols) -
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(String id, int len, int offset, SunSpecPoint.PointType type, String scaleFactor, Unit unit, AccessMode accessMode, boolean mandatory, SunSpecPoint.PointCategory category, SunSpecCodeGenerator.Point.Symbol[] symbols)
-
-
Method Details
-
getSymbol
Gets the Symbol with the given Id.- Parameters:
id
- the Symbol-Id- Returns:
- the Symbol
- Throws:
OpenemsException
- on error
-
toString
-