C# 클래스 HA4IoT.Actuators.StateMachines.StateMachine

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

공개 메소드들

메소드 설명
AddState ( IStateMachineState state ) : void
GetNextState ( ComponentState stateId ) : ComponentState
GetState ( ) : ComponentState
GetSupportedStates ( ) : IList
HandleApiCall ( IApiContext apiContext ) : void
ResetState ( ) : void
SetInitialState ( ComponentState id ) : void
SetState ( ComponentState id ) : void
SetStateIdAlias ( ComponentState stateId, ComponentState alias ) : void
StateMachine ( ComponentId id ) : System
SupportsState ( ComponentState stateId ) : bool
WithTurnOffIfStateIsAppliedTwice ( ) : StateMachine

보호된 메소드들

메소드 설명
OnActiveStateChanged ( IStateMachineState oldState, IStateMachineState newState ) : void

비공개 메소드들

메소드 설명
GetState ( ComponentState id ) : IStateMachineState
ThrowIfNoStatesAvailable ( ) : void
ThrowIfStateNotSupported ( ComponentState stateId ) : void

메소드 상세

AddState() 공개 메소드

public AddState ( IStateMachineState state ) : void
state IStateMachineState
리턴 void

GetNextState() 공개 메소드

public GetNextState ( ComponentState stateId ) : ComponentState
stateId ComponentState
리턴 ComponentState

GetState() 공개 메소드

public GetState ( ) : ComponentState
리턴 ComponentState

GetSupportedStates() 공개 메소드

public GetSupportedStates ( ) : IList
리턴 IList

HandleApiCall() 공개 메소드

public HandleApiCall ( IApiContext apiContext ) : void
apiContext IApiContext
리턴 void

OnActiveStateChanged() 보호된 메소드

protected OnActiveStateChanged ( IStateMachineState oldState, IStateMachineState newState ) : void
oldState IStateMachineState
newState IStateMachineState
리턴 void

ResetState() 공개 메소드

public ResetState ( ) : void
리턴 void

SetInitialState() 공개 메소드

public SetInitialState ( ComponentState id ) : void
id ComponentState
리턴 void

SetState() 공개 메소드

public SetState ( ComponentState id ) : void
id ComponentState
리턴 void

SetStateIdAlias() 공개 메소드

public SetStateIdAlias ( ComponentState stateId, ComponentState alias ) : void
stateId ComponentState
alias ComponentState
리턴 void

StateMachine() 공개 메소드

public StateMachine ( ComponentId id ) : System
id ComponentId
리턴 System

SupportsState() 공개 메소드

public SupportsState ( ComponentState stateId ) : bool
stateId ComponentState
리턴 bool

WithTurnOffIfStateIsAppliedTwice() 공개 메소드

public WithTurnOffIfStateIsAppliedTwice ( ) : StateMachine
리턴 StateMachine