From f54adb8f368def21b9aa01e466b09bed6cd8347c Mon Sep 17 00:00:00 2001
From: lixiaojun <1287241240@qq.com>
Date: 星期一, 02 十二月 2024 15:43:06 +0800
Subject: [PATCH] 修改并联模拟窗体

---
 WinFrmUI/Yw.WinFrmUI.Hydro.Core/19-pump/02-extend/HydroPumpListExtendGridCtrl.cs |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/WinFrmUI/Yw.WinFrmUI.Hydro.Core/19-pump/02-extend/HydroPumpListExtendGridCtrl.cs b/WinFrmUI/Yw.WinFrmUI.Hydro.Core/19-pump/02-extend/HydroPumpListExtendGridCtrl.cs
index 6a355c8..7ac3aab 100644
--- a/WinFrmUI/Yw.WinFrmUI.Hydro.Core/19-pump/02-extend/HydroPumpListExtendGridCtrl.cs
+++ b/WinFrmUI/Yw.WinFrmUI.Hydro.Core/19-pump/02-extend/HydroPumpListExtendGridCtrl.cs
@@ -33,15 +33,15 @@
         /// </summary>
         public void SetBindingData(Yw.Model.HydroModelInfo hydroInfo)
         {
-            SetBindingData(hydroInfo?.Pumps);
+            SetBindingData(hydroInfo?.Pumps, hydroInfo);
         }
 
         /// <summary>
         /// 
         /// </summary>
-        public void SetBindingData(List<Yw.Model.HydroPumpInfo> allPumpList)
+        public void SetBindingData(List<Yw.Model.HydroPumpInfo> allPumpList, Yw.Model.HydroModelInfo hydroInfo)
         {
-            var list = allPumpList?.Select(x => new HydroPumpListItemExtendViewModel(x, allPumpList)).ToList();
+            var list = allPumpList?.Select(x => new HydroPumpListItemExtendViewModel(x, allPumpList, hydroInfo)).ToList();
             SetBindingData(list);
         }
 

--
Gitblit v1.9.3