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); }
/// <summary> /// 中断分析循环,发生在用户切换到其他功能模块 /// 或用户强行停止分析 /// </summary> public void BreakSweep(int timeOut) { SweepObj.StopSweep(timeOut); }