Interface NumericalExpression
-
- All Implemented Interfaces:
-
nl.basjes.modbus.schema.expression.Expression
public interface NumericalExpression implements Expression
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enumNumericalExpression.ValueGuarantee
-
Method Summary
Modifier and Type Method Description DoublegetValueAsDouble(SchemaDevice schemaDevice)LonggetValueAsLong(SchemaDevice schemaDevice)NumericalExpression.ValueGuaranteegetGuarantee()-
Methods inherited from class nl.basjes.modbus.schema.expression.Expression
check, checkFatal, combine, getProblems, getRegisterValues, getRequiredFields, getRequiredMutableRegisters, getRequiredRegisters, getReturnType, getSubExpressions, initialize, isImmutable, setImmutable, toString -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getValueAsDouble
Double getValueAsDouble(SchemaDevice schemaDevice)
- Returns:
The Double value or null if it was not implemented
-
getValueAsLong
Long getValueAsLong(SchemaDevice schemaDevice)
- Returns:
The Long value or null if it was not implemented
-
getGuarantee
NumericalExpression.ValueGuarantee getGuarantee()
- Returns:
Can we guarantee anything about the return value?
-
-
-
-