Enum AddressClass

    • Constructor Detail

    • Method Detail

      • valueOf

         final AddressClass valueOf(String value)

        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

      • values

         final Array<AddressClass> values()

        Returns an array containing the constants of this enum type, in the order they're declared.

        This method may be used to iterate over the constants.

      • getBaseOffset

         final Integer getBaseOffset()

        The "offset" used in the modicon notation. (I.e. the address is shifted by this much (* 10000, or * 100000) when specified).

      • getBitsPerValue

         final Integer getBitsPerValue()

        Sometimes 1 bit per value (booleans really), sometimes 16 bits (registers)

      • getType

         final AddressClass.Type getType()

        An enum value making the distinction between 1 bit per value (booleans) and 16 bits (registers)

      • getEnumName

         final String getEnumName()

        The java code name of this enum which can be used for code generation

      • getShortLabel

         final String getShortLabel()

        The additional labels on which the instance must also be returned.