MultiLevelControl function provides multi-level control support. The
eventable function level is accessible with getData() getter and
setData(BigDecimal, String) setter.
The control type can be:
Types#LIGHTTypes#TEMPERATURETypes#FLOWTypes#PRESSURETypes#HUMIDITYTypes#GASTypes#SMOKETypes#DOORTypes#WINDOWTypes#LIQUIDTypes#POWERTypes#NOISINESSTypesLevelData
| Modifier and Type | Field and Description |
|---|---|
| public static final String | PROPERTY_DATA
Specifies the level property name. |
| Modifier and Type | Method and Description |
|---|---|
| public LevelData | |
| public void | setData(BigDecimal
The new control level. level, String The level unit. unit)Sets |
| PROPERTY_DATA | back to summary |
|---|---|
| public static final String PROPERTY_DATA Specifies the level property name. The eventable property can be read
with | |
| getData | back to summary |
|---|---|
| public LevelData getData() throws DeviceException Returns
| |
| setData | back to summary |
|---|---|
| public void setData(BigDecimal level, String unit) throws DeviceException Sets
| |