예제 #1
0
        internal bool Do_CAL(RFInvolved rf_involved)
        {
            bool power_too_large = false;

            this.rf_involved = rf_involved;

            if ((SweepObj != null) || (settings != null))
            {
                if (!Sweeping)
                {
                    power_too_large = StartSweep();
                }
                else
                {
                    SweepObj.StopSweep(1000);
                }
            }

            return(power_too_large);
        }
예제 #2
0
 /// <summary>
 /// 中断分析循环,发生在用户切换到其他功能模块
 /// 或用户强行停止分析
 /// </summary>
 public void BreakSweep(int timeOut)
 {
     SweepObj.StopSweep(timeOut);
 }