public void StopSequence() { m_bSeqContinuous = false; m_bSequenceLive = false; if (m_mot != null) { m_mot.AllStop(); } if (m_io != null) { int outSize = m_io.GetOutputCount(); for (int i = 0; i < outSize; i++) { m_io.WriteOutBit(i, 0U); } } }