C# Class AllJoynSimulatorApp.Devices.InterfaceCreators

Mostra file Open project: dotMorten/AllJoynDeviceSimulator

Public Methods

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

Method Details

CreateBrightness() public static method

public static CreateBrightness ( double currentValue, Action onBrightnessChanged ) : AdapterInterface
currentValue double
onBrightnessChanged Action
return AdapterInterface

CreateColor() public static method

public static CreateColor ( double currentHue, double currentSaturation, Action onHueChanged, Action onSaturationChanged ) : AdapterInterface
currentHue double
currentSaturation double
onHueChanged Action
onSaturationChanged Action
return AdapterInterface

CreateHumidity() public static method

public static CreateHumidity ( double currentValue ) : AdapterInterface
currentValue double
return AdapterInterface

CreateOffControl() public static method

public static CreateOffControl ( System.Action switchOffAction ) : AdapterInterface
switchOffAction System.Action
return AdapterInterface

CreateOnControl() public static method

public static CreateOnControl ( System.Action switchOnAction ) : AdapterInterface
switchOnAction System.Action
return AdapterInterface

CreateOnOffStatus() public static method

public static CreateOnOffStatus ( bool currentValue ) : AdapterInterface
currentValue bool
return AdapterInterface

CreateTemperature() public static method

public static CreateTemperature ( double currentValue ) : AdapterInterface
currentValue double
return AdapterInterface