duheng
2024-11-05 21dd2ae9704c484d5d75b2ed980e5402505da7dc
WinFrmUI/Yw.WinFrmUI.Hydro.Core/06-parter/01-reservoir/HydroReservoirListCtrl.cs
@@ -134,7 +134,7 @@
            dlg.SetBindingData(_allBindingList.Select(x => x.Vmo).ToList());
            dlg.ReloadDataEvent += (list) =>
            {
                _allBindingList.ForEach(x => x.Update());
                _allBindingList.ForEach(x => x.UpdateProperty());
                this.hydroReservoirViewModelBindingSource.ResetBindings(false);
                var allParterList = _allBindingList.Select(x => x.Vmo as Yw.Model.HydroParterInfo).ToList();
                this.HydroChangedEvent?.Invoke(allParterList);
@@ -256,7 +256,7 @@
                dlg.SetBindingData(row.Vmo);
                dlg.ReloadDataEvent += (list) =>
                {
                    row.Update();
                    row.UpdateProperty();
                    this.gridView1.RefreshRow(e.RowHandle);
                    this.HydroChangedEvent?.Invoke(new List<Model.HydroParterInfo>() { row.Vmo });
                };
@@ -267,5 +267,25 @@
                this.HydroClickEvent?.Invoke(row.Vmo);
            }
        }
        public void UpdateProperty()
        {
            throw new NotImplementedException();
        }
        public void UpdateProperty(HydroParterInfo parter)
        {
            throw new NotImplementedException();
        }
        public void UpdateProperty(List<HydroParterInfo> parterList)
        {
            throw new NotImplementedException();
        }
        public void UpdateCalcuProperty(List<HydroCalcuResult> allCalcuResultList)
        {
            throw new NotImplementedException();
        }
    }
}