C# Class HA4IoT.Sensors.Windows.Window

Inheritance: SensorBase, IWindow
Datei anzeigen Open project: chkr1011/CK.HomeAutomation Class Usage Examples

Public Methods

Method Description
ExportConfiguration ( ) : JToken
ExportStatus ( ) : JToken
GetClosedTrigger ( ) : ITrigger
GetOpenedTrigger ( ) : ITrigger
GetSupportedStates ( ) : IList
Window ( ComponentId id, ISettingsService settingsService ) : System
WithCasement ( Casement casement ) : Window
WithCenterCasement ( IBinaryInput fullOpenReedSwitch, IBinaryInput tiltReedSwitch = null ) : Window
WithLeftCasement ( IBinaryInput fullOpenReedSwitch, IBinaryInput tiltReedSwitch = null ) : Window
WithRightCasement ( IBinaryInput fullOpenReedSwitch, IBinaryInput tiltReedSwitch = null ) : Window

Private Methods

Method Description
GetStateInternal ( ) : ComponentState

Method Details

ExportConfiguration() public method

public ExportConfiguration ( ) : JToken
return JToken

ExportStatus() public method

public ExportStatus ( ) : JToken
return JToken

GetClosedTrigger() public method

public GetClosedTrigger ( ) : ITrigger
return ITrigger

GetOpenedTrigger() public method

public GetOpenedTrigger ( ) : ITrigger
return ITrigger

GetSupportedStates() public method

public GetSupportedStates ( ) : IList
return IList

Window() public method

public Window ( ComponentId id, ISettingsService settingsService ) : System
id ComponentId
settingsService ISettingsService
return System

WithCasement() public method

public WithCasement ( Casement casement ) : Window
casement Casement
return Window

WithCenterCasement() public method

public WithCenterCasement ( IBinaryInput fullOpenReedSwitch, IBinaryInput tiltReedSwitch = null ) : Window
fullOpenReedSwitch IBinaryInput
tiltReedSwitch IBinaryInput
return Window

WithLeftCasement() public method

public WithLeftCasement ( IBinaryInput fullOpenReedSwitch, IBinaryInput tiltReedSwitch = null ) : Window
fullOpenReedSwitch IBinaryInput
tiltReedSwitch IBinaryInput
return Window

WithRightCasement() public method

public WithRightCasement ( IBinaryInput fullOpenReedSwitch, IBinaryInput tiltReedSwitch = null ) : Window
fullOpenReedSwitch IBinaryInput
tiltReedSwitch IBinaryInput
return Window