lixiaojun
2024-12-02 f54adb8f368def21b9aa01e466b09bed6cd8347c
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);
        }