Esempio n. 1
0
        private void curve_Click(object sender, RoutedEventArgs e)
        {
            //页面跳转
            Common_Rail_Injector_Curve Common_Rail_Injector_Curve_Page = new Common_Rail_Injector_Curve();

            this.NavigationService.Navigate(Common_Rail_Injector_Curve_Page);
        }
Esempio n. 2
0
        /**
         * 将曲线数据库的信息读入
         * */
        public CRI_Curve_Model GetDataFromCurve()
        {
            /*获取曲线的名字,通过edit页面获取*/
            Common_Rail_Injector_Edit common_Rail_Injector_Edit = new Common_Rail_Injector_Edit(MODEL_NO);
            string curve_name;

            curve_name = common_Rail_Injector_Edit.curve_TextBox.Text;
            /*获取该曲线的值*/
            CRI_Curve_Model cRI_Curve_Model = new CRI_Curve_Model();

            cRI_Curve_Model = Common_Rail_Injector_Curve.GetCurveData(curve_name);
            return(cRI_Curve_Model);
        }