C# Класс HA4IoT.Actuators.BinaryStateActuators.LogicalBinaryStateActuator

Наследование: ActuatorBase, IStateMachine
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
GetStateInternal ( ) : ComponentState

Описание методов

ConnectToggleActionWith() публичный Метод

public ConnectToggleActionWith ( IButton button, ButtonPressedDuration pressedDuration = ButtonPressedDuration.Short ) : LogicalBinaryStateActuator
button IButton
pressedDuration ButtonPressedDuration
Результат LogicalBinaryStateActuator

GetNextState() публичный Метод

public GetNextState ( ComponentState baseStateId ) : ComponentState
baseStateId ComponentState
Результат ComponentState

GetState() публичный Метод

public GetState ( ) : ComponentState
Результат ComponentState

GetSupportedStates() публичный Метод

public GetSupportedStates ( ) : IList
Результат IList

LogicalBinaryStateActuator() публичный Метод

public LogicalBinaryStateActuator ( ComponentId id, ITimerService timerService ) : System
id ComponentId
timerService ITimerService
Результат System

ResetState() публичный Метод

public ResetState ( ) : void
Результат void

SetState() публичный Метод

public SetState ( ComponentState state ) : void
state ComponentState
Результат void

SetStateIdAlias() публичный Метод

public SetStateIdAlias ( ComponentState id, ComponentState alias ) : void
id ComponentState
alias ComponentState
Результат void

ToggleState() публичный Метод

public ToggleState ( ) : void
Результат void

WithActuator() публичный Метод

public WithActuator ( IStateMachine actuator ) : LogicalBinaryStateActuator
actuator IStateMachine
Результат LogicalBinaryStateActuator