//--------------------------------------------------------------------------- private void btStart_Click(object sender, RoutedEventArgs e) { // if (SEQ._bRun || SEQ._bAuto) { UserFunction.fn_UserMsg("Can't Work while RUN or Auto"); return; } if (FM.fn_GetLevel() != (int)EN_USER_LEVEL.lvMaster) { UserFunction.fn_UserMsg("Please Change Master Level."); return; } int nDly = 0; int.TryParse(upStopDelay.UPValue, out nDly); bool isOk = ACTR.MoveCyl(m_nSelIndex, (int)EN_ACTR_CMD.Fwd); if (isOk) { ACTR.fn_Reset(); MAN.fn_SetRptAct(-1, false, nDly); MAN.fn_SetRptAct(m_nSelIndex, true, nDly); } }
//--------------------------------------------------------------------------- private void btEnd_Click(object sender, RoutedEventArgs e) { MAN.fn_SetRptAct(-1, false, 0); }