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