C# 클래스 HA4IoT.Actuators.BinaryStateActuators.LogicalBinaryStateActuator

상속: ActuatorBase, IStateMachine
파일 보기 프로젝트 열기: chkr1011/CK.HomeAutomation 1 사용 예제들

공개 메소드들

메소드 설명
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