duheng
2024-10-09 f4bf35513c50f86556d5e3c75a037052f53c971d
WinFrmUI/HStation.WinFrmUI.PhartRelation.Core/99-common/PumpPerform2dViewDlg.cs
@@ -37,19 +37,19 @@
            points_qh = PhartPerformCurveHelper.GetFeatPointList((HStation.PhartRelation.eGraphType)graph_qh.GraphType, graph_qh.GeometryInfo, 12, null);
            cubic_spline_qh = new Yw.Geometry.CubicSpline2d(points_qh);
            cubic_spline_qh = Yw.WinFrmUI.Phart.PumpPerform2dCalcHelper.CalculateSimilarQH(cubic_spline_qh, 50, rpm_ratio*50);
            cubic_spline_qh = Yw.WinFrmUI.Phart.PumpCalcHelper.CalculateSimilarQH(cubic_spline_qh, 50, rpm_ratio*50);
            if (graph_qe != null)
            {
                points_qe = PhartPerformCurveHelper.GetFeatPointList((HStation.PhartRelation.eGraphType)graph_qe.GraphType, graph_qe.GeometryInfo, 12, null);
                cubic_spline_qe = new Yw.Geometry.CubicSpline2d(points_qe);
                cubic_spline_qe = Yw.WinFrmUI.Phart.PumpPerform2dCalcHelper.CalculateSimilarQE(cubic_spline_qe, 50, rpm_ratio * 50);
                cubic_spline_qe = Yw.WinFrmUI.Phart.PumpCalcHelper.CalculateSimilarQE(cubic_spline_qe, 50, rpm_ratio * 50);
            }
            if (graph_qp != null)
            {
                points_qp = PhartPerformCurveHelper.GetFeatPointList((HStation.PhartRelation.eGraphType)graph_qp.GraphType, graph_qp.GeometryInfo, 12, null);
                cubic_spline_qp = new Yw.Geometry.CubicSpline2d(points_qp);
                cubic_spline_qp = Yw.WinFrmUI.Phart.PumpPerform2dCalcHelper.CalculateSimilarQP(cubic_spline_qp, 50, rpm_ratio * 50);
                cubic_spline_qp = Yw.WinFrmUI.Phart.PumpCalcHelper.CalculateSimilarQP(cubic_spline_qp, 50, rpm_ratio * 50);
            }