duheng
2024-11-19 ca5f300a7cef85d22b5e0f9d59d117c49f9909b3
WinFrmUI/HStation.WinFrmUI.PhartRelation.Core/99-common/PumpVariableSpeedChartDlg.cs
@@ -12,15 +12,15 @@
            this.Text = "曲线视图";
            this.WindowState = FormWindowState.Maximized;
            this.pumpVariableSpeedInfoCtrl1.SetEvent += (id, qh, qe, qp) =>
            this.pumpVariableSpeedInfoCtrl1.SetEvent += (id, hz, ex_ratio, qh, qe, qp) =>
            {
                this.pumpVariableSpeedChart.Set(id, qh, qe, qp);
                this.pumpVariableSpeedChart.Set(id,hz,ex_ratio, qh, qe, qp);
                ResetSectPointGrid();
            };
            this.pumpVariableSpeedInfoCtrl1.SetInfoEvent += (id, name, color) =>
            this.pumpVariableSpeedInfoCtrl1.SetInfoEvent += (id,  color) =>
            {
                this.pumpVariableSpeedChart.SetInfo(id, name, color);
                this.pumpVariableSpeedChart.SetInfo(id,  color);
                ResetSectPointGrid();
            };
@@ -45,7 +45,7 @@
            this.pumpVariableSpeedInfoCtrl1.SetDesignPointEvent += (q, h) =>
            {
                _design_pt = new Point2d(q, h);
                this.pumpVariableSpeedChart.SetDesignPt(new Point2d(q, h));
                this.pumpVariableSpeedChart.SetDesignPt(q,h);
                ResetSectPointGrid(); 
            };