예제 #1
0
 public CommandWorkflow(CmdWorklowStates state)
 {
     this.m_AsyncAckWaitHandle = new AutoResetEvent(false);
     this.m_AsyncTelegramWaitHandle = new AutoResetEvent(false);
     this.m_StateMachine = new StateMachine<CmdWorklowStates, CmdWorklowTriggers>(state);
 }
예제 #2
0
 public void SetState(CmdWorklowStates state)
 {
     this.m_stateToJump = state;
     this.WorkflowEngine.Fire(CmdWorklowTriggers.SetState);
 }