From ca5f300a7cef85d22b5e0f9d59d117c49f9909b3 Mon Sep 17 00:00:00 2001
From: duheng <2784771470@qq.com>
Date: 星期二, 19 十一月 2024 09:42:16 +0800
Subject: [PATCH] 完善资产界面

---
 WinFrmUI/HStation.WinFrmUI.PhartRelation.Core/99-common/PumpVariableSpeedChartDlg.cs |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/WinFrmUI/HStation.WinFrmUI.PhartRelation.Core/99-common/PumpVariableSpeedChartDlg.cs b/WinFrmUI/HStation.WinFrmUI.PhartRelation.Core/99-common/PumpVariableSpeedChartDlg.cs
index 4e36804..53006f9 100644
--- a/WinFrmUI/HStation.WinFrmUI.PhartRelation.Core/99-common/PumpVariableSpeedChartDlg.cs
+++ b/WinFrmUI/HStation.WinFrmUI.PhartRelation.Core/99-common/PumpVariableSpeedChartDlg.cs
@@ -12,15 +12,15 @@
             this.Text = "鏇茬嚎瑙嗗浘";
             this.WindowState = FormWindowState.Maximized;
 
-            this.pumpVariableSpeedInfoCtrl1.SetEvent += (id, qh, qe, qp) =>
+            this.pumpVariableSpeedInfoCtrl1.SetEvent += (id, hz, ex_ratio, qh, qe, qp) =>
             {
-                this.pumpVariableSpeedChart.Set(id, qh, qe, qp);
+                this.pumpVariableSpeedChart.Set(id,hz,ex_ratio, qh, qe, qp);
                 ResetSectPointGrid();
             };
 
-            this.pumpVariableSpeedInfoCtrl1.SetInfoEvent += (id, name, color) =>
+            this.pumpVariableSpeedInfoCtrl1.SetInfoEvent += (id,  color) =>
             {
-                this.pumpVariableSpeedChart.SetInfo(id, name, color);
+                this.pumpVariableSpeedChart.SetInfo(id,  color);
                 ResetSectPointGrid();
             };
 
@@ -45,7 +45,7 @@
             this.pumpVariableSpeedInfoCtrl1.SetDesignPointEvent += (q, h) =>
             {
                 _design_pt = new Point2d(q, h);
-                this.pumpVariableSpeedChart.SetDesignPt(new Point2d(q, h));
+                this.pumpVariableSpeedChart.SetDesignPt(q,h);
                 ResetSectPointGrid(); 
             };
 

--
Gitblit v1.9.3