C# Class HA4IoT.Actuators.StateMachines.StateMachineExtensions

Afficher le fichier Open project: chkr1011/CK.HomeAutomation

Méthodes publiques

Méthode Description
AddOffState ( this stateMachine ) : StateMachineState
AddOnState ( this stateMachine ) : StateMachineState
AddState ( this stateMachine, ComponentState id ) : StateMachineState
GetSetNextStateAction ( this stateStateMachine ) : IAction
GetSetStateAction ( this stateStateMachine, ComponentState stateId ) : IAction
GetStateMachine ( this area, Enum id ) : IStateMachine
GetSupportsOffState ( this stateMachine ) : bool
GetSupportsOnState ( this stateMachine ) : bool
GetTurnOffAction ( this stateMachine ) : IAction
GetTurnOnAction ( this stateMachine ) : IAction
SetNextState ( this stateMachine ) : void
TryTurnOff ( this stateMachine ) : bool
TryTurnOn ( this stateMachine ) : bool

Method Details

AddOffState() public static méthode

public static AddOffState ( this stateMachine ) : StateMachineState
stateMachine this
Résultat StateMachineState

AddOnState() public static méthode

public static AddOnState ( this stateMachine ) : StateMachineState
stateMachine this
Résultat StateMachineState

AddState() public static méthode

public static AddState ( this stateMachine, ComponentState id ) : StateMachineState
stateMachine this
id ComponentState
Résultat StateMachineState

GetSetNextStateAction() public static méthode

public static GetSetNextStateAction ( this stateStateMachine ) : IAction
stateStateMachine this
Résultat IAction

GetSetStateAction() public static méthode

public static GetSetStateAction ( this stateStateMachine, ComponentState stateId ) : IAction
stateStateMachine this
stateId ComponentState
Résultat IAction

GetStateMachine() public static méthode

public static GetStateMachine ( this area, Enum id ) : IStateMachine
area this
id System.Enum
Résultat IStateMachine

GetSupportsOffState() public static méthode

public static GetSupportsOffState ( this stateMachine ) : bool
stateMachine this
Résultat bool

GetSupportsOnState() public static méthode

public static GetSupportsOnState ( this stateMachine ) : bool
stateMachine this
Résultat bool

GetTurnOffAction() public static méthode

public static GetTurnOffAction ( this stateMachine ) : IAction
stateMachine this
Résultat IAction

GetTurnOnAction() public static méthode

public static GetTurnOnAction ( this stateMachine ) : IAction
stateMachine this
Résultat IAction

SetNextState() public static méthode

public static SetNextState ( this stateMachine ) : void
stateMachine this
Résultat void

TryTurnOff() public static méthode

public static TryTurnOff ( this stateMachine ) : bool
stateMachine this
Résultat bool

TryTurnOn() public static méthode

public static TryTurnOn ( this stateMachine ) : bool
stateMachine this
Résultat bool