Shuxia Ning
2024-11-29 2bd461f4240247b7cae3084beac7f0a59d94b8db
WinFrmUI/HStation.WinFrmUI.PhartRelation.Core/99-common/PumpSerialParallelChartDlg.cs
@@ -8,6 +8,7 @@
        {
            InitializeComponent();
            this.Text = "曲线视图";
            this.WindowState = FormWindowState.Maximized;
            this.pumpSerialParallelInfoCtrl1.SetEvent += (id, qh, qe, qp) =>
            {
@@ -24,7 +25,7 @@
            this.pumpSerialParallelInfoCtrl1.SetDesignPointEvent += (q, h) =>
            {
                _design_pt = new Point2d(q, h);
                this.pumpSerialParallelChart.SetDesignPt(new Point2d(q, h));
                this.pumpSerialParallelChart.SetEquipPt(new Point2d(q, h));
            };
            this.pumpSerialParallelChart.OnCalcQueryPoint += (id, pt) =>
@@ -33,11 +34,9 @@
            };
        }
        private string _serial_parallel_id= "serial_parallel";
        private string _serial_parallel_id = "serial_parallel";
        private Yw.Geometry.Point2d _design_pt;
        private bool _is_parallel;
        /// <summary>
        /// 设置
@@ -163,7 +162,7 @@
            vm_sp.QpCalc = vm_sp.Qp;
            vm_sp.Color = Color.Black;
            vm_sp.IsBp = true;
            vm_sp.IsSerialParallel = true;
            vm_sp.IsDefault = true;
            return vm_sp;
        }