From b59d9e9a62dd2cea04be784880cf454364003e1e Mon Sep 17 00:00:00 2001 From: lixiaojun <1287241240@qq.com> Date: 星期六, 30 十一月 2024 13:43:26 +0800 Subject: [PATCH] 增加计算局部损失和沿程损失 --- WinFrmUI/HStation.WinFrmUI.PhartRelation.Core/99-common/PumpSerialParallelChartDlg.cs | 8 +++----- 1 files changed, 3 insertions(+), 5 deletions(-) diff --git a/WinFrmUI/HStation.WinFrmUI.PhartRelation.Core/99-common/PumpSerialParallelChartDlg.cs b/WinFrmUI/HStation.WinFrmUI.PhartRelation.Core/99-common/PumpSerialParallelChartDlg.cs index e375cb4..6123fa6 100644 --- a/WinFrmUI/HStation.WinFrmUI.PhartRelation.Core/99-common/PumpSerialParallelChartDlg.cs +++ b/WinFrmUI/HStation.WinFrmUI.PhartRelation.Core/99-common/PumpSerialParallelChartDlg.cs @@ -25,7 +25,7 @@ this.pumpSerialParallelInfoCtrl1.SetDesignPointEvent += (q, h) => { _design_pt = new Point2d(q, h); - this.pumpSerialParallelChart.SetDesignPt(new Point2d(q, h)); + this.pumpSerialParallelChart.SetEquipPt(new Point2d(q, h)); }; this.pumpSerialParallelChart.OnCalcQueryPoint += (id, pt) => @@ -34,11 +34,9 @@ }; } - private string _serial_parallel_id= "serial_parallel"; + private string _serial_parallel_id = "serial_parallel"; private Yw.Geometry.Point2d _design_pt; private bool _is_parallel; - - /// <summary> /// 璁剧疆 @@ -164,7 +162,7 @@ vm_sp.QpCalc = vm_sp.Qp; vm_sp.Color = Color.Black; vm_sp.IsBp = true; - vm_sp.IsSerialParallel = true; + vm_sp.IsDefault = true; return vm_sp; } -- Gitblit v1.9.3