文件名从 WinFrmUI/Yw.WinFrmUI.Hydro.Core/04-parter/02-node/01-source/01-reservoir/HydroReservoirListCtrl.cs 修改 |
| | |
| | | foreach (var reservoir in hydroInfo.Reservoirs) |
| | | { |
| | | var calcuResult = allCalcuResultList?.Find(x => x.Code == reservoir.Code) as HydroCalcuNodeResult; |
| | | var vm = new HydroReservoirViewModel(reservoir, calcuResult); |
| | | var vm = new HydroReservoirViewModel(reservoir, hydroInfo); |
| | | vm.UpdateCalcuProperty(calcuResult); |
| | | _allBindingList.Add(vm); |
| | | } |
| | | } |
| | |
| | | this.colCalcuHead.Visible = false; |
| | | this.colCalcuDemand.Visible = false; |
| | | this.colHasDb.Visible = true; |
| | | this.colFlagsString.Visible = true; |
| | | this.colFlags.Visible = true; |
| | | this.colDescription.Visible = true; |
| | | } |
| | | |
| | |
| | | this.colCalcuHead.Visible = false; |
| | | this.colCalcuDemand.Visible = false; |
| | | this.colHasDb.Visible = true; |
| | | this.colFlagsString.Visible = true; |
| | | this.colFlags.Visible = true; |
| | | this.colDescription.Visible = true; |
| | | } |
| | | |
| | |
| | | this.colCalcuHead.Visible = true; |
| | | this.colCalcuDemand.Visible = true; |
| | | this.colHasDb.Visible = true; |
| | | this.colFlagsString.Visible = true; |
| | | this.colFlags.Visible = true; |
| | | this.colDescription.Visible = true; |
| | | } |
| | | |