Interface RegistersExpression

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract ByteArray getByteArray(SchemaDevice schemaDevice)
      abstract Integer getReturnedAddresses() How many addresses will this return (needed for byte array size checks and such)
      • Methods inherited from class nl.basjes.modbus.schema.expression.Expression

        check, checkFatal, combine, getModbusValues, getProblems, getRequiredAddresses, getRequiredFields, getRequiredMutableAddresses, getReturnType, getSubExpressions, initialize, isImmutable, setImmutable, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • getByteArray

         abstract ByteArray getByteArray(SchemaDevice schemaDevice)
        Returns:

        The list of bytes value or null in case of problems (like this is not a register address)

      • getReturnedAddresses

         abstract Integer getReturnedAddresses()

        How many addresses will this return (needed for byte array size checks and such)