/// <summary> /// 状態設定 /// </summary> protected void SetState(EngineStatus next) { var prev = m_state.State; if (prev == next) { return; } // end m_state.End(m_current, this); // next m_state = m_jobStateTable[next]; m_state.Begin(m_current, this); }