Ejemplo n.º 1
0
        private void SiTest()
        {
            SITest siTest = new SITest(_switch, _iAnalyzer, _information);

            Savepath savepath = new Savepath();

            if (SetTestFilePath(ref savepath))
            {
                siTest.DoTest(_testConfigs, _chartDic, _aChart, _formUi, _spec, _keyPoint, savepath, _curretnProject.Report);
            }


            ControlSafe.SetcontrolEnable(btnTest, true);
        }
Ejemplo n.º 2
0
 private void ResetUi()
 {
     //清空测试结果
     SetResult("");
     ControlSafe.SetCheckbox(chkStop, false);
     //chkStop.Checked = false;
     ControlSafe.SetcontrolEnable(btnTest, false);
     //btnTest.Enabled = false;
     ControlSafe.ClearChecked(chkList_TestItem);
     ControlSafe.ClearChecked(chkList_LossPair);
     ControlSafe.ClearChecked(chkList_NextPair);
     ControlSafe.ClearChecked(chkList_FextPair);
     ControlSafe.ClearChecked(chkList_TestItem);
     ControlSafe.ClearChecked(chkList_LossPair);
     ControlSafe.ClearChecked(chkList_NextPair);
     ControlSafe.ClearChecked(chkList_FextPair);
     ControlSafe.ClearListview(lsvKeyPoint);
     rTextStatus.BeginInvoke(new Action(() => { rTextStatus.Clear(); }));
 }