C# Class AdapterLib.MockOnOffSwitchDevice

Inheritance: AdapterLib.AdapterDevice, INotifyPropertyChanged
ファイルを表示 Open project: dotMorten/AllJoynDeviceSimulator Class Usage Examples

Public Methods

Method Description
MockOnOffSwitchDevice ( string name, string id, bool isOn, Windows dispatcher ) : System

Private Methods

Method Description
CreateOffInterface ( bool currentValue ) : AdapterInterface
CreateOnInterface ( bool currentValue ) : AdapterInterface
CreateOnOffInterface ( bool currentValue ) : AdapterInterface
CreateRemoteControllabilityInterface ( bool currentValue ) : AdapterInterface
UpdateValue ( bool value ) : void

Method Details

MockOnOffSwitchDevice() public method

public MockOnOffSwitchDevice ( string name, string id, bool isOn, Windows dispatcher ) : System
name string
id string
isOn bool
dispatcher Windows
return System