コード例 #1
0
 private void buttonOk_Click(object sender, EventArgs e)
 {
     if (scanModeIndex == (int)ScanMode.Bscan)
     {
         if (bscanSeries == null)
         {
             bscanSeries = new BScanSeries(tChartBscan, bscanCofig);
         }
     }
     else if (scanModeIndex == (int)ScanMode.Cscan)
     {
         if (cscanSeries == null)
         {
             cscanSeries = new CScanSeries(tChartCscan, cscanCofig);
         }
         if (bscanSeries == null)
         {
             bscanSeries = new BScanSeries(tChartBscan, bscanCofig);
         }
         bscanSeries.clear();
         cscanSeries.clear();
     }
     else
     {
         MessageShow.show("please set paramiter!", "请设置参数!");
     }
 }
コード例 #2
0
        private void Btn_start_Click(object sender, EventArgs e)
        {
            if (cscanSeries == null)
            {
                cscanSeries = new CScanSeries(tChartCscan, cscanCofig);
            }
            if (bscanSeries == null)
            {
                bscanSeries = new BScanSeries(tChartBscan, bscanCofig);
            }
            bscanSeries.clear();
            //cscanSeries.clear();

            CscanMotion cscanMotion = new CscanMotion();

            cscanMotion.Show();
        }