C# Class HA4IoT.Automations.Automation

Inheritance: AutomationBase
Datei anzeigen Open project: chkr1011/CK.HomeAutomation

Public Methods

Method Description
Automation ( AutomationId id ) : System
Trigger ( ) : void
WithActionIfConditionsFulfilled ( IAction action ) : Automation
WithActionIfConditionsNotFulfilled ( IAction action ) : Automation
WithCondition ( ConditionRelation relation, Condition condition ) : Automation
WithTrigger ( ITrigger trigger ) : Automation

Method Details

Automation() public method

public Automation ( AutomationId id ) : System
id AutomationId
return System

Trigger() public method

public Trigger ( ) : void
return void

WithActionIfConditionsFulfilled() public method

public WithActionIfConditionsFulfilled ( IAction action ) : Automation
action IAction
return Automation

WithActionIfConditionsNotFulfilled() public method

public WithActionIfConditionsNotFulfilled ( IAction action ) : Automation
action IAction
return Automation

WithCondition() public method

public WithCondition ( ConditionRelation relation, Condition condition ) : Automation
relation ConditionRelation
condition Condition
return Automation

WithTrigger() public method

public WithTrigger ( ITrigger trigger ) : Automation
trigger ITrigger
return Automation