C# Class HA4IoT.Automations.BathroomFanAutomation

Inheritance: AutomationBase
Exibir arquivo Open project: chkr1011/CK.HomeAutomation

Public Methods

Method Description
BathroomFanAutomation ( AutomationId id, ISchedulerService schedulerService, ISettingsService settingsService ) : System
WithActuator ( IStateMachine actuator ) : BathroomFanAutomation
WithTrigger ( IMotionDetector motionDetector ) : BathroomFanAutomation

Private Methods

Method Description
StartTimeout ( object sender, EventArgs e ) : void
TurnOn ( object sender, EventArgs e ) : void

Method Details

BathroomFanAutomation() public method

public BathroomFanAutomation ( AutomationId id, ISchedulerService schedulerService, ISettingsService settingsService ) : System
id AutomationId
schedulerService ISchedulerService
settingsService ISettingsService
return System

WithActuator() public method

public WithActuator ( IStateMachine actuator ) : BathroomFanAutomation
actuator IStateMachine
return BathroomFanAutomation

WithTrigger() public method

public WithTrigger ( IMotionDetector motionDetector ) : BathroomFanAutomation
motionDetector IMotionDetector
return BathroomFanAutomation