| | |
| | | using DevExpress.XtraEditors; |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.ComponentModel; |
| | | using System.Data; |
| | | using System.Drawing; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | using System.Windows.Forms; |
| | | using Yw.Geometry; |
| | | using System.Data; |
| | | using Yw.Pump; |
| | | using Yw.Vmo; |
| | | using Yw.WinFrmUI.Phart; |
| | |
| | | if (qh_pts != null && qh_pts.Count > 3) |
| | | { |
| | | var qh_run_pts = qh_pts.GetQHPointListByN(pump.RatedHz, vmItem.Hz); |
| | | vmItem.CurveQH = new CubicSpline2d(qh_run_pts); |
| | | vmItem.CurveQH = qh_run_pts; |
| | | } |
| | | } |
| | | |
| | |
| | | if (qp_pts != null && qp_pts.Count > 3) |
| | | { |
| | | var qp_run_pts = qp_pts.GetQPPointListByN(pump.RatedHz, vmItem.Hz); |
| | | vmItem.CurveQP = new CubicSpline2d(qp_run_pts); |
| | | vmItem.CurveQP = qp_run_pts; |
| | | } |
| | | } |
| | | |
| | |
| | | if (qe_pts != null && qe_pts.Count > 3) |
| | | { |
| | | var qe_run_pts = qe_pts.GetQEPointListByN(pump.RatedHz, vmItem.Hz); |
| | | vmItem.CurveQE = new CubicSpline2d(qe_run_pts); |
| | | vmItem.CurveQE = qe_run_pts; |
| | | } |
| | | } |
| | | |