Class IEEE754Float64
-
- All Implemented Interfaces:
-
nl.basjes.modbus.schema.expression.Expression,nl.basjes.modbus.schema.expression.numbers.NumericalExpression
public final class IEEE754Float64 extends NotImplemented implements NumericalExpression
-
-
Field Summary
Fields Modifier and Type Field Description private final List<Expression>subExpressionsprivate BooleanisImmutableprivate final ReturnTypereturnTypeprivate final List<Expression.Problem>problemsprivate final List<List<String>>notImplementedprivate final List<Address>requiredAddressesprivate final List<Address>requiredMutableAddressesprivate final List<String>requiredFields
-
Constructor Summary
Constructors Constructor Description IEEE754Float64(RegistersExpression byteArray, List<String> notImplemented)
-
Method Summary
Modifier and Type Method Description List<Expression>getSubExpressions()BooleanisImmutable()UnitsetImmutable(Boolean isImmutable)ReturnTypegetReturnType()List<Expression.Problem>getProblems()StringtoString()List<ModbusValue<?, ?>>getModbusValues(SchemaDevice schemaDevice)DoublegetValueAsDouble(SchemaDevice schemaDevice)-
Methods inherited from class nl.basjes.modbus.schema.expression.generic.NotImplemented
getNotImplemented, isNotImplemented, isValidNotImplemented -
Methods inherited from class nl.basjes.modbus.schema.expression.Expression
check, checkFatal, combine, getRequiredAddresses, getRequiredFields, getRequiredMutableAddresses, initialize, toString -
Methods inherited from class nl.basjes.modbus.schema.expression.numbers.NumericalExpression
getGuarantee, getValueAsLong -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
IEEE754Float64
IEEE754Float64(RegistersExpression byteArray, List<String> notImplemented)
-
-
Method Detail
-
getSubExpressions
List<Expression> getSubExpressions()
-
isImmutable
Boolean isImmutable()
-
setImmutable
Unit setImmutable(Boolean isImmutable)
-
getReturnType
ReturnType getReturnType()
-
getProblems
List<Expression.Problem> getProblems()
-
getModbusValues
List<ModbusValue<?, ?>> getModbusValues(SchemaDevice schemaDevice)
- Returns:
The list of the underlying Modbus values (RegisterValue or DiscreteValue) that are used to calculate this value.
-
getValueAsDouble
Double getValueAsDouble(SchemaDevice schemaDevice)
- Returns:
The Double value or null if it was not implemented
-
-
-
-