C# Class HA4IoT.Sensors.MotionDetectors.MotionDetector

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

Public Methods

Method Description
GetDetectionCompletedTrigger ( ) : ITrigger
GetMotionDetectedTrigger ( ) : ITrigger
GetSupportedStates ( ) : IList
HandleApiCall ( IApiContext apiContext ) : void
MotionDetector ( ComponentId id, IMotionDetectorEndpoint endpoint, ISchedulerService schedulerService, ISettingsService settingsService ) : System

Protected Methods

Method Description
OnDetectionCompleted ( ) : void
OnMotionDetected ( ) : void

Private Methods

Method Description
HandleIsEnabledStateChanged ( ) : void
UpdateState ( ComponentState newState ) : void

Method Details

GetDetectionCompletedTrigger() public method

public GetDetectionCompletedTrigger ( ) : ITrigger
return ITrigger

GetMotionDetectedTrigger() public method

public GetMotionDetectedTrigger ( ) : ITrigger
return ITrigger

GetSupportedStates() public method

public GetSupportedStates ( ) : IList
return IList

HandleApiCall() public method

public HandleApiCall ( IApiContext apiContext ) : void
apiContext IApiContext
return void

MotionDetector() public method

public MotionDetector ( ComponentId id, IMotionDetectorEndpoint endpoint, ISchedulerService schedulerService, ISettingsService settingsService ) : System
id ComponentId
endpoint IMotionDetectorEndpoint
schedulerService ISchedulerService
settingsService ISettingsService
return System

OnDetectionCompleted() protected method

protected OnDetectionCompleted ( ) : void
return void

OnMotionDetected() protected method

protected OnMotionDetected ( ) : void
return void