| | |
| | | |
| | | 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); |
| | | } |
| | | |
| | | |