lixiaojun
2025-02-07 d107fd0519b4b84c31bc55bbd30cc0ba0af7507d
WinFrmUI/Yw.WinFrmUI.Hydro.Core/06-visual/06-elbow/SetHydroElbowListDlg.cs
@@ -34,18 +34,28 @@
        /// <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();
        }
@@ -73,5 +83,6 @@
            this.HydroChangedViewEvent?.Invoke(obj);
        }
    }
}