public class BrightnessStateTransformer extends Object
| Constructor and Description |
|---|
BrightnessStateTransformer() |
| Modifier and Type | Method and Description |
|---|---|
static Double |
transform(rst.domotic.state.BrightnessStateType.BrightnessState brightnessState)
Get the brightness value.
|
static rst.domotic.state.BrightnessStateType.BrightnessState |
transform(Double value)
Transform a number to a brightness state by setting the number as the brightness value.
|
public static rst.domotic.state.BrightnessStateType.BrightnessState transform(Double value)
value - the brightness valuepublic static Double transform(rst.domotic.state.BrightnessStateType.BrightnessState brightnessState)
brightnessState - the stateCopyright © 2015–2017 openbase.org. All rights reserved.