Class Int16UValue
- java.lang.Object
-
- com.smartgridready.communicator.common.api.values.Value
-
- com.smartgridready.communicator.common.api.values.NumberValue<java.lang.Integer>
-
- com.smartgridready.communicator.common.api.values.Int16UValue
-
public class Int16UValue extends NumberValue<java.lang.Integer>
-
-
Field Summary
-
Fields inherited from class com.smartgridready.communicator.common.api.values.NumberValue
value
-
Fields inherited from class com.smartgridready.communicator.common.api.values.Value
UNSIGNED_LONG_MASK
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
absValue()
Int16UValue[]
asArray()
static Int16UValue
of(int value)
void
roundToInt()
protected void
setValue(double value)
-
Methods inherited from class com.smartgridready.communicator.common.api.values.NumberValue
equals, getBitmap, getBoolean, getDateTime, getEnum, getFloat32, getFloat64, getInt16, getInt16U, getInt32, getInt32U, getInt64, getInt64U, getInt8, getInt8U, getJson, getString, hashCode, scaleDown, scaleUp, toString
-
Methods inherited from class com.smartgridready.communicator.common.api.values.Value
enumToOrdinalValue, fromDiscreteInput, fromModbusRegister, fromString, getJson, toModbusDiscreteVal, toModbusRegister
-
-
-
-
Method Detail
-
setValue
protected void setValue(double value)
- Specified by:
setValue
in classNumberValue<java.lang.Integer>
-
asArray
public Int16UValue[] asArray()
-
roundToInt
public void roundToInt()
- Specified by:
roundToInt
in classValue
-
of
public static Int16UValue of(int value)
-
-