private void button1_Click(object sender, EventArgs e)
        {
            this.Close();
            TestFinishedWin win = new TestFinishedWin();

            win.Show();
        }
 private void testRefresh()
 {
     double[] showdata = new double[11];
     for (int i = 0; i < 11; i++)
     {
         showdata[i] = peakhelper.AllValue[i];
     }
     ///数据显示实现代码???
     if (showdata[9] == 0)//正在做中位压力损失试验
     {
         txtTestCourse.Text         = "中位压力测试";
         txtmainPumpP1.Text         = showdata[0].ToString();
         txtMainPumpP2.Text         = showdata[1].ToString();
         txtpumpFlow1.Text          = showdata[2].ToString();
         txtPumpFlow2.Text          = showdata[3].ToString();
         txtSystemBackPressure.Text = showdata[4].ToString();
         txtMediumPressureLoss.Text = showdata[5].ToString();
     }
     if (showdata[9] == 1)//正在做转向压力测试
     {
         txtTestCourse.Text         = "转向优先阀流量测试";
         txtSystemBackPressure.Text = "";
         txtMediumPressureLoss.Text = "";
         txtmainPumpP1.Text         = showdata[0].ToString();
         txtMainPumpP2.Text         = showdata[1].ToString();
         txtpumpFlow1.Text          = showdata[2].ToString();
         txtPumpFlow2.Text          = showdata[3].ToString();
         txtsteeringFlow.Text       = showdata[7].ToString();
         txtSteerPressure.Text      = showdata[6].ToString();
     }
     if (showdata[10] == 1)
     {
         this.Close();
         TestFinishedWin win = new TestFinishedWin();
         win.Show();
     }
 }