Beispiel #1
0
        private void NoiseTrial_Click(object sender, RoutedEventArgs e)
        {
            //CarCooling carnoise = new CarCooling();
            //carnoise.Title = "汽车空调压缩机试验:噪声试验";
            //carnoise.textBlock9.Visibility = Visibility.Hidden;
            //carnoise.textBox8.Visibility = Visibility.Hidden;
            //carnoise.textBox16.Visibility = Visibility.Hidden;
            //carnoise.textBlock15.Visibility = Visibility.Hidden;

            //场景
            //GlobelVar.senario = GlobelVar.Senario.CarNoise;
            //string SenairoStr = GlobelVar.senario.ToString();
            //场景替代20150917
            BackPanel.InformationGlo.senario = BackPanel.InformationGlo.Senario.CarNoise;
            string SenairoStr = BackPanel.InformationGlo.senario.ToString();

            //报表专用20151220
            Report.SenarioForReport.senario_ForReport = Report.SenarioForReport.Senario_ForReport.CarNoise;

            //开始闪屏
            StartingSplash startingsplash_NoiseTrial = new StartingSplash();

            startingsplash_NoiseTrial.Show();

            //报表参数20151219
            Report.ReportParameterMySelf.RP1CarExpType = "汽车空调压缩机噪声性能试验原始记录表";

            //carnoise.Show();
            this.Close();
        }
Beispiel #2
0
        /// <summary>
        /// 汽车空调压缩机制冷试验
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void CoolingTrial_Click(object sender, RoutedEventArgs e)
        {
            //CarCooling carcooling = new CarCooling();
            //carcooling.textBlock47.Visibility = Visibility.Hidden;
            //carcooling.textBox31.Visibility = Visibility.Hidden;
            //carcooling.textBlock48.Visibility = Visibility.Hidden;

            //场景
            //GlobelVar.senario = GlobelVar.Senario.CarCooling;
            //string SenairoStr = GlobelVar.senario.ToString();
            //替代20150917
            BackPanel.InformationGlo.senario = BackPanel.InformationGlo.Senario.CarCooling;
            string SenairoStr = BackPanel.InformationGlo.senario.ToString();

            //报表专用场景20151220
            Report.SenarioForReport.senario_ForReport = Report.SenarioForReport.Senario_ForReport.CarCooling;

            //开始闪屏
            StartingSplash startingsplash_CoolingTrial = new StartingSplash();

            startingsplash_CoolingTrial.Show();

            Report.ReportParameterMySelf.RP1CarExpType = "汽车压缩机制冷性能试验";

            //carcooling.Show();
            this.Close();
        }
Beispiel #3
0
        private void btConfirm_Click(object sender, RoutedEventArgs e)
        {
            //场景
            //GlobelVar.senario = GlobelVar.Senario.ChillerPartialCondition;
            //string SenairoStr = GlobelVar.senario.ToString();
            //场景替换20150917
            BackPanel.InformationGlo.senario = BackPanel.InformationGlo.Senario.ChillerPartialCondition;
            string SenairoStr = BackPanel.InformationGlo.senario.ToString();

            //报表20151220
            SenarioForReport.senario_ForReport = SenarioForReport.Senario_ForReport.ChillerPartialCondition;

            ReportParameterMySelf_ForChiller.RP1ChillerExpType = "冷水机组部分负荷性能试验原始记录表";
            //ChillerTrialcommon ChillerPartialCondition = new ChillerTrialcommon();
            //ChillerPartialCondition.Title = "水冷压缩冷凝机组试验:部分负荷试验";
            //ChillerPartialCondition.Show();
            //开始闪屏
            StartingSplash startingsplash_Chiller = new StartingSplash();

            startingsplash_Chiller.Show();

            //BackPanel.Control.ControlInitiate_ForChiller();

            this.Close();
        }
Beispiel #4
0
        /// <summary>
        /// 最大负荷
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void MaxCondition_Click(object sender, RoutedEventArgs e)
        {
            //场景替换20150917
            BackPanel.InformationGlo.senario = BackPanel.InformationGlo.Senario.ChillerMaxCondition;
            string SenairoStr = BackPanel.InformationGlo.senario.ToString();

            ////进水温度
            //BackPanel.Control.Set(5, "SV", 33, 2);
            ////Thread.Sleep(sleeptime);

            //报表20151220
            SenarioForReport.senario_ForReport = SenarioForReport.Senario_ForReport.ChillerMaxCondition;

            ReportParameterMySelf_ForChiller.RP1ChillerExpType = "冷水机组最大运行工况性能试验原始记录表";

            //ReportParameterMySelf_ForChiller.RP20PartialLoad = "";
            //ReportParameterMySelf_ForChiller.RP21PartialLoadName = "";

            //开始闪屏
            StartingSplash startingsplash_Chiller = new StartingSplash();

            startingsplash_Chiller.Show();

            this.Close();
        }
Beispiel #5
0
        /// <summary>
        /// 水冷压缩机组试验:名义工况
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void NominalCondition_Click(object sender, RoutedEventArgs e)
        {
            //ChillerTrialcommon ChillerNominalCondition = new ChillerTrialcommon();
            //if (WpfApplication2.GlobelVar.IsControlWaterTemperature == true)
            //{
            //    //场景
            //    //GlobelVar.senario = GlobelVar.Senario.ChillerNormialConditionTemp;
            //    //string SenairoStr = GlobelVar.senario.ToString();
            //    //场景替代20150917
            //    BackPanel.InformationGlo.senario = BackPanel.InformationGlo.Senario.ChillerNormialConditionTemp;
            //    string SenairoStr = BackPanel.InformationGlo.senario.ToString();

            //    //ChillerNominalCondition.textBlock4.Text = "出水温度";
            //    //ChillerNominalCondition.textBlock9.Text = "℃";
            //}
            //else
            //{
            //    //场景
            //    //GlobelVar.senario = GlobelVar.Senario.ChillerNormialConditionWaterFlow;
            //    //string SenairoStr = GlobelVar.senario.ToString();
            //    //场景替代20150917
            //    BackPanel.InformationGlo.senario = BackPanel.InformationGlo.Senario.ChillerNormialConditionWaterFlow;
            //    string SenairoStr = BackPanel.InformationGlo.senario.ToString();

            //    //ChillerNominalCondition.textBlock4.Text = "冷却水流量";
            //    //ChillerNominalCondition.textBlock9.Text = "m3/h";

            //}
            //控制可场景分开,场景是四个;两种控制个4个
            BackPanel.InformationGlo.senario = BackPanel.InformationGlo.Senario.ChillerNormialCondition;
            string SenairoStr = BackPanel.InformationGlo.senario.ToString();

            //BackPanel.Control.ControlInitiate_ForChiller();
            //报表20151220
            SenarioForReport.senario_ForReport = SenarioForReport.Senario_ForReport.ChillerNormialCondition;


            ReportParameterMySelf_ForChiller.RP1ChillerExpType = "冷水机组名义工况性能试验原始记录表";

            //ReportParameterMySelf_ForChiller.RP20PartialLoad = "";
            //ReportParameterMySelf_ForChiller.RP21PartialLoadName = "";



            //开始闪屏  20150911
            StartingSplash startingsplash_Chiller = new StartingSplash();

            startingsplash_Chiller.Show();

            //ChillerNominalCondition.Show();
            this.Close();
        }
Beispiel #6
0
        //水冷压缩机组试验:变工况试验
        private void ChangingCondition_Click(object sender, RoutedEventArgs e)
        {
            //场景
            //GlobelVar.senario = GlobelVar.Senario.ChillerChangCondition;
            //string SenairoStr = GlobelVar.senario.ToString();
            //场景替换20150917
            BackPanel.InformationGlo.senario = BackPanel.InformationGlo.Senario.ChillerChangCondition;
            string SenairoStr = BackPanel.InformationGlo.senario.ToString();

            //报表20151220
            SenarioForReport.senario_ForReport = SenarioForReport.Senario_ForReport.ChillerChangCondition;

            ReportParameterMySelf_ForChiller.RP1ChillerExpType = "冷水机组变工况性能试验原始记录表";

            //ReportParameterMySelf_ForChiller.RP20PartialLoad = "";
            //ReportParameterMySelf_ForChiller.RP21PartialLoadName = "";

            //开始闪屏
            StartingSplash startingsplash_Chiller = new StartingSplash();

            startingsplash_Chiller.Show();

            this.Close();
        }