Interface MultiLevelControl

    • Method Detail

      • getData

        LevelData getData()
                   throws DeviceException
        Returns MultiLevelControl level. It's a getter method for PROPERTY_DATA property.
        Returns:
        MultiLevelControl level.
        Throws:
        java.lang.IllegalStateException - If this function service object has already been unregistered.
        DeviceException - If an operation error is available.
        See Also:
        LevelData
      • setData

        void setData​(java.math.BigDecimal level,
                     java.lang.String unit)
              throws DeviceException
        Sets MultiLevelControl level according to the specified unit. It's a setter method for PROPERTY_DATA property.
        Parameters:
        level - The new control level.
        unit - The level unit.
        Throws:
        java.lang.IllegalStateException - If this function service object has already been unregistered.
        DeviceException - If an operation error is available.
        java.lang.IllegalArgumentException - If there is an invalid argument.