Method | Description | |
---|---|---|
CreateBrightness ( double currentValue, Action |
||
CreateColor ( double currentHue, double currentSaturation, Action |
||
CreateHumidity ( double currentValue ) : AdapterInterface | ||
CreateOffControl ( System.Action switchOffAction ) : AdapterInterface | ||
CreateOnControl ( System.Action switchOnAction ) : AdapterInterface | ||
CreateOnOffStatus ( bool currentValue ) : AdapterInterface | ||
CreateTemperature ( double currentValue ) : AdapterInterface |
public static CreateBrightness ( double currentValue, Action |
||
currentValue | double | |
onBrightnessChanged | Action |
|
return | AdapterInterface |
public static CreateColor ( double currentHue, double currentSaturation, Action |
||
currentHue | double | |
currentSaturation | double | |
onHueChanged | Action |
|
onSaturationChanged | Action |
|
return | AdapterInterface |
public static CreateHumidity ( double currentValue ) : AdapterInterface | ||
currentValue | double | |
return | AdapterInterface |
public static CreateOffControl ( System.Action switchOffAction ) : AdapterInterface | ||
switchOffAction | System.Action | |
return | AdapterInterface |
public static CreateOnControl ( System.Action switchOnAction ) : AdapterInterface | ||
switchOnAction | System.Action | |
return | AdapterInterface |
public static CreateOnOffStatus ( bool currentValue ) : AdapterInterface | ||
currentValue | bool | |
return | AdapterInterface |
public static CreateTemperature ( double currentValue ) : AdapterInterface | ||
currentValue | double | |
return | AdapterInterface |