/// <summary>
 /// 实例化六页面对象
 /// 光谱测量、浓度测量、算法生成
 /// </summary>
 private void InitPage()
 {
     algoPage                 = new AlgoComOne();
     algoControlPage          = new AlgoGeneraControlPage(algoPage);
     specPage                 = new SpecComOne();
     specControlPage          = new SpecMeasureControlPage(specPage);
     concentrationPage        = new ConcentrationMeasurePage();
     concentrationControlPage = new ConcentrationMeasureControlPage(concentrationPage);
 }
 /// <summary>
 /// 光谱采集
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void VocsCollectBtn_Click(object sender, RoutedEventArgs e)
 {
     if (specPage == null && specControlPage == null)
     {
         specPage        = new SpecComOne();
         specControlPage = new SpecMeasureControlPage(specPage);
     }
     ChartPage.Content = new Frame()
     {
         Content = specPage
     };
     ControlPage.Content = new Frame()
     {
         Content = specControlPage
     };
     this.tempTextBox.Visibility  = Visibility.Hidden;
     this.pressTextBox.Visibility = Visibility.Hidden;
 }