From 1b7957fac12e80698971513b30e65772c4c5c038 Mon Sep 17 00:00:00 2001
From: duheng <2784771470@qq.com>
Date: 星期一, 13 一月 2025 18:32:53 +0800
Subject: [PATCH] 修复显示问题

---
 WinFrmUI/Yw.WinFrmUI.Hydro.Core/06-visual/06-elbow/SetHydroElbowListDlg.cs |   32 +++++++++++++++-----------------
 1 files changed, 15 insertions(+), 17 deletions(-)

diff --git a/WinFrmUI/Yw.WinFrmUI.Hydro.Core/06-visual/06-elbow/SetHydroElbowListDlg.cs b/WinFrmUI/Yw.WinFrmUI.Hydro.Core/06-visual/06-elbow/SetHydroElbowListDlg.cs
index f3d6b66..2f0fe27 100644
--- a/WinFrmUI/Yw.WinFrmUI.Hydro.Core/06-visual/06-elbow/SetHydroElbowListDlg.cs
+++ b/WinFrmUI/Yw.WinFrmUI.Hydro.Core/06-visual/06-elbow/SetHydroElbowListDlg.cs
@@ -1,6 +1,4 @@
-锘縰sing Yw.Model;
-
-namespace Yw.WinFrmUI
+锘縩amespace Yw.WinFrmUI
 {
     public partial class SetHydroElbowListDlg : DevExpress.XtraEditors.XtraForm
     {
@@ -13,7 +11,6 @@
             this.hydroElbowListCtrl1.HydroClickViewEvent += HydroElbowListCtrl1_HydroClickViewEvent;
             this.hydroElbowListCtrl1.HydroChangedInfoEvent += HydroElbowListCtrl1_HydroChangedInfoEvent;
             this.hydroElbowListCtrl1.HydroChangedViewEvent += HydroElbowListCtrl1_HydroChangedViewEvent;
-            this.hydroElbowListCtrl1.ParterChangedEvent += HydroElbowListCtrl1_ParterChangedEvent;
         }
 
 
@@ -33,26 +30,32 @@
         /// 姘村姏鏀瑰彉瑙嗗浘浜嬩欢
         /// </summary>
         public event Action<List<HydroVisualViewModel>> HydroChangedViewEvent;
-        /// <summary>
-        /// 鏋勪欢鏀瑰彉浜嬩欢
-        /// </summary>
-        public event Action<HydroParterInfo, eChangeType> ParterChangedEvent;
 
         /// <summary>
         /// 缁戝畾鏁版嵁
         /// </summary>
-        public void SetBindingData(Yw.Model.HydroModelInfo hydroInfo)
+        public void SetBindingData
+            (
+                Yw.Model.HydroModelInfo hydroInfo,
+                HydroChangeHelper changeHelper = null,
+                HydroPropStatusHelper propStatusHelper = null
+            )
         {
-            this.hydroElbowListCtrl1.SetBindingData(hydroInfo);
+            this.hydroElbowListCtrl1.SetBindingData(hydroInfo, changeHelper, propStatusHelper);
             this.hydroElbowListCtrl1.SetBulkView();
         }
 
         /// <summary>
         /// 缁戝畾鏁版嵁
         /// </summary>
-        public void SetBindingData(List<HydroVisualViewModel> allVisualViewModelList)
+        public void SetBindingData
+            (
+                List<HydroVisualViewModel> allVisualViewModelList,
+                HydroChangeHelper changeHelper = null,
+                HydroPropStatusHelper propStatusHelper = null
+            )
         {
-            this.hydroElbowListCtrl1.SetBindingData(allVisualViewModelList);
+            this.hydroElbowListCtrl1.SetBindingData(allVisualViewModelList, changeHelper, propStatusHelper);
             this.hydroElbowListCtrl1.SetBulkView();
         }
 
@@ -80,11 +83,6 @@
             this.HydroChangedViewEvent?.Invoke(obj);
         }
 
-        //姘村姏鏀瑰彉浜嬩欢
-        private void HydroElbowListCtrl1_ParterChangedEvent(HydroParterInfo arg1, eChangeType arg2)
-        {
-            this.ParterChangedEvent?.Invoke(arg1, arg2);
-        }
 
     }
 }
\ No newline at end of file

--
Gitblit v1.9.3