| | |
| | | { |
| | | foreach (var pump in hydroInfo.Pumps) |
| | | { |
| | | var calcuLinkResult = allCalcuResultList?.Find(x => x.Code == pump.Code) as HydroCalcuLinkResult; |
| | | var vm = new HydroPumpViewModel(pump, calcuLinkResult); |
| | | var calcuPumpResult = allCalcuResultList?.Find(x => x.Code == pump.Code) as HydroCalcuPumpResult; |
| | | var vm = new HydroPumpViewModel(pump, calcuPumpResult); |
| | | _allBindingList.Add(vm); |
| | | } |
| | | } |
| | |
| | | this.colSpeedRatioPattern.Visible = false; |
| | | this.colPrice.Visible = false; |
| | | this.colPricePattern.Visible = false; |
| | | this.colCalcuFlow.Visible = false; |
| | | this.colCalcuVelocity.Visible = false; |
| | | this.colCalcuHeadLoss.Visible = false; |
| | | this.colCalcuQ.Visible = false; |
| | | this.colCalcuH.Visible = false; |
| | | this.colCalcuP.Visible = false; |
| | | this.colCalcuE.Visible = false; |
| | | this.colFlagsString.Visible = true; |
| | | this.colDescription.Visible = true; |
| | | } |
| | |
| | | this.colSpeedRatioPattern.Visible = false; |
| | | this.colPrice.Visible = false; |
| | | this.colPricePattern.Visible = false; |
| | | this.colCalcuFlow.Visible = false; |
| | | this.colCalcuVelocity.Visible = false; |
| | | this.colCalcuHeadLoss.Visible = false; |
| | | this.colCalcuQ.Visible = false; |
| | | this.colCalcuH.Visible = false; |
| | | this.colCalcuP.Visible = false; |
| | | this.colCalcuE.Visible = false; |
| | | this.colFlagsString.Visible = true; |
| | | this.colDescription.Visible = true; |
| | | } |
| | |
| | | this.colSpeedRatioPattern.Visible = false; |
| | | this.colPrice.Visible = false; |
| | | this.colPricePattern.Visible = false; |
| | | this.colCalcuFlow.Visible = true; |
| | | this.colCalcuVelocity.Visible = true; |
| | | this.colCalcuHeadLoss.Visible = true; |
| | | this.colCalcuQ.Visible = true; |
| | | this.colCalcuH.Visible = true; |
| | | this.colCalcuP.Visible = true; |
| | | this.colCalcuE.Visible = true; |
| | | this.colFlagsString.Visible = true; |
| | | this.colDescription.Visible = true; |
| | | } |