| | |
| | | { |
| | | _allBindingList.ForEach(x => |
| | | { |
| | | x.Update(); |
| | | x.UpdateProperty(); |
| | | }); |
| | | this.hydroHydrantViewModelBindingSource.ResetBindings(false); |
| | | var allParterList = _allBindingList.Select(x => x.Vmo as Yw.Model.HydroParterInfo).ToList(); |
| | |
| | | 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 }); |
| | | }; |
| | |
| | | this.HydroClickEvent?.Invoke(row.Vmo); |
| | | } |
| | | } |
| | | |
| | | public void UpdateProperty(string code) |
| | | { |
| | | throw new NotImplementedException(); |
| | | } |
| | | |
| | | public void UpdateCalcuProperty(List<HydroCalcuResult> allCalcuResultList) |
| | | { |
| | | throw new NotImplementedException(); |
| | | } |
| | | |
| | | public void UpdateProperty() |
| | | { |
| | | throw new NotImplementedException(); |
| | | } |
| | | |
| | | public void UpdateProperty(HydroParterInfo parter) |
| | | { |
| | | throw new NotImplementedException(); |
| | | } |
| | | |
| | | public void UpdateProperty(List<HydroParterInfo> parterList) |
| | | { |
| | | throw new NotImplementedException(); |
| | | } |
| | | } |
| | | } |