C# Class HA4IoT.Actuators.BinaryStateActuators.LogicalBinaryStateActuator

Inheritance: ActuatorBase, IStateMachine
Afficher le fichier Open project: chkr1011/CK.HomeAutomation Class Usage Examples

Méthodes publiques

Méthode Description
ConnectToggleActionWith ( IButton button, ButtonPressedDuration pressedDuration = ButtonPressedDuration.Short ) : LogicalBinaryStateActuator
GetNextState ( ComponentState baseStateId ) : ComponentState
GetState ( ) : ComponentState
GetSupportedStates ( ) : IList
LogicalBinaryStateActuator ( ComponentId id, ITimerService timerService ) : System
ResetState ( ) : void
SetState ( ComponentState state ) : void
SetStateIdAlias ( ComponentState id, ComponentState alias ) : void
ToggleState ( ) : void
WithActuator ( IStateMachine actuator ) : LogicalBinaryStateActuator

Private Methods

Méthode Description
GetStateInternal ( ) : ComponentState

Method Details

ConnectToggleActionWith() public méthode

public ConnectToggleActionWith ( IButton button, ButtonPressedDuration pressedDuration = ButtonPressedDuration.Short ) : LogicalBinaryStateActuator
button IButton
pressedDuration ButtonPressedDuration
Résultat LogicalBinaryStateActuator

GetNextState() public méthode

public GetNextState ( ComponentState baseStateId ) : ComponentState
baseStateId ComponentState
Résultat ComponentState

GetState() public méthode

public GetState ( ) : ComponentState
Résultat ComponentState

GetSupportedStates() public méthode

public GetSupportedStates ( ) : IList
Résultat IList

LogicalBinaryStateActuator() public méthode

public LogicalBinaryStateActuator ( ComponentId id, ITimerService timerService ) : System
id ComponentId
timerService ITimerService
Résultat System

ResetState() public méthode

public ResetState ( ) : void
Résultat void

SetState() public méthode

public SetState ( ComponentState state ) : void
state ComponentState
Résultat void

SetStateIdAlias() public méthode

public SetStateIdAlias ( ComponentState id, ComponentState alias ) : void
id ComponentState
alias ComponentState
Résultat void

ToggleState() public méthode

public ToggleState ( ) : void
Résultat void

WithActuator() public méthode

public WithActuator ( IStateMachine actuator ) : LogicalBinaryStateActuator
actuator IStateMachine
Résultat LogicalBinaryStateActuator