Class Block

  • All Implemented Interfaces:

    
    public class Block
    
                        
    • Method Detail

      • getId

         final String getId()

        The technical id of the block. Must be usable as an identifier in 'all' common programming languages. So "CamelCase" (without spaces, starting with a letter) is a good choice.

      • getFetchGroup

         final String getFetchGroup()

        An identifier to that can be used to ensure all needed registers are retrieved together. By default, filled with null to leave maximum fetching freedom. A non-null value means that all fields in this block MUST be fetched in one modbus request

      • setFetchGroup

         final Unit setFetchGroup(String fetchGroup)

        An identifier to that can be used to ensure all needed registers are retrieved together. By default, filled with null to leave maximum fetching freedom. A non-null value means that all fields in this block MUST be fetched in one modbus request

      • getAddressClass

         final AddressClass getAddressClass()

        A block is limited to a single AddressClass.

      • setAddressClass

         final Unit setAddressClass(AddressClass addressClass)

        A block is limited to a single AddressClass.

      • update

         final Unit update()

        Directly update all fields in this Block

      • need

         final Unit need()

        All fields in this Block must be kept up-to-date

      • unNeed

         final Unit unNeed()

        All fields in this Block no longer need to be kept up-to-date