| | |
| | | /// </summary> |
| | | public void SetBindingData(double flow, double head, double n, double eff, double level = 1, bool is_sxp = false) |
| | | { |
| | | this.pumpChartPointImportCtrl1.SetBindingData(flow,eff,n,eff,level,is_sxp); |
| | | this.pumpChartPointImportCtrl1.SetBindingData(flow, eff, n, eff, level, is_sxp); |
| | | } |
| | | |
| | | |
| | |
| | | { |
| | | new () |
| | | { |
| | | Name ="扬程线", |
| | | GraphType =(int)Yw.Ahart.eCurveType.QH, |
| | | GraphParas= new HStation.Model.QHGraphParasModel() |
| | | GraphParas= new QHGraphParasViewModel() |
| | | { |
| | | Hz=50, |
| | | }.ToJson(), |
| | | GeometryParas= new HStation.Model.FeatCurveGeometryParasModel |
| | | GeometryParas= new Yw.WinFrmUI.Phart.CurveGeometryParasViewModel |
| | | { |
| | | DefinePoints = def_qh_pt_list |
| | | }.ToJson(), |
| | |
| | | }, |
| | | new () |
| | | { |
| | | Name ="效率线", |
| | | GraphType =(int)Yw.Ahart.eCurveType.QE, |
| | | GraphParas= new HStation.Model.QEGraphParasModel() |
| | | GraphParas= new QEGraphParasViewModel() |
| | | { |
| | | Hz=50, |
| | | }.ToJson(), |
| | | GeometryParas= new HStation.Model.FeatCurveGeometryParasModel |
| | | GeometryParas= new Yw.WinFrmUI.Phart.CurveGeometryParasViewModel |
| | | { |
| | | DefinePoints = def_qe_pt_list |
| | | }.ToJson(), |
| | |
| | | }, |
| | | new () |
| | | { |
| | | GraphType =(int)Yw.Ahart.eCurveType.QP, |
| | | GraphParas= new HStation.Model.QPGraphParasModel() |
| | | Name ="功率线", |
| | | GraphType =(int)Yw.Ahart.eCurveType.QP, |
| | | GraphParas= new QPGraphParasViewModel() |
| | | { |
| | | Hz=50, |
| | | }.ToJson(), |
| | | GeometryParas= new HStation.Model.FeatCurveGeometryParasModel |
| | | GeometryParas= new Yw.WinFrmUI.Phart.CurveGeometryParasViewModel |
| | | { |
| | | DefinePoints = def_qp_pt_list |
| | | }.ToJson(), |
| | |
| | | }; |
| | | |
| | | return vmo; |
| | | } |
| | | } |
| | | |
| | | |
| | | } |