C# 클래스 AllJoynSimulatorApp.Devices.InterfaceCreators

파일 보기 프로젝트 열기: dotMorten/AllJoynDeviceSimulator

공개 메소드들

메소드 설명
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

메소드 상세

CreateBrightness() 공개 정적인 메소드

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

CreateColor() 공개 정적인 메소드

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

CreateHumidity() 공개 정적인 메소드

public static CreateHumidity ( double currentValue ) : AdapterInterface
currentValue double
리턴 AdapterInterface

CreateOffControl() 공개 정적인 메소드

public static CreateOffControl ( System.Action switchOffAction ) : AdapterInterface
switchOffAction System.Action
리턴 AdapterInterface

CreateOnControl() 공개 정적인 메소드

public static CreateOnControl ( System.Action switchOnAction ) : AdapterInterface
switchOnAction System.Action
리턴 AdapterInterface

CreateOnOffStatus() 공개 정적인 메소드

public static CreateOnOffStatus ( bool currentValue ) : AdapterInterface
currentValue bool
리턴 AdapterInterface

CreateTemperature() 공개 정적인 메소드

public static CreateTemperature ( double currentValue ) : AdapterInterface
currentValue double
리턴 AdapterInterface