| | |
| | | } |
| | | this.hydroNozzleViewModelBindingSource.DataSource = _allBindingList; |
| | | this.hydroNozzleViewModelBindingSource.ResetBindings(false); |
| | | if (allCalcuResultList == null || allCalcuResultList.Count < 1) |
| | | { |
| | | SetNormalView(); |
| | | } |
| | | else |
| | | { |
| | | SetCalcuView(); |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | |
| | | this.colCode.Visible = true; |
| | | this.colName.Visible = true; |
| | | this.colModelType.Visible = true; |
| | | this.colFlagsString.Visible = false; |
| | | this.colCoefficient.Visible = false; |
| | | this.colHasDb.Visible = true; |
| | | this.colCoefficient.Visible = true; |
| | | this.colQuality.Visible = false; |
| | | this.colElev.Visible = true; |
| | | this.colDemand.Visible = true; |
| | | this.colElev.Visible = false; |
| | | this.colMinorLoss.Visible = false; |
| | | this.colDemand.Visible = false; |
| | | this.colDemandPattern.Visible = false; |
| | | this.colCalcuPress.Visible = false; |
| | | this.colCalcuHead.Visible = false; |
| | | this.colCalcuDemand.Visible = false; |
| | | this.colFlagsString.Visible = true; |
| | | this.colDescription.Visible = true; |
| | | } |
| | | |
| | |
| | | this.colCode.Visible = true; |
| | | this.colName.Visible = true; |
| | | this.colModelType.Visible = true; |
| | | this.colFlagsString.Visible = true; |
| | | this.colHasDb.Visible = true; |
| | | this.colCoefficient.Visible = true; |
| | | this.colQuality.Visible = true; |
| | | this.colQuality.Visible = false; |
| | | this.colElev.Visible = true; |
| | | this.colMinorLoss.Visible = true; |
| | | this.colDemand.Visible = true; |
| | | this.colDemandPattern.Visible = true; |
| | | this.colDemandPattern.Visible = false; |
| | | this.colCalcuPress.Visible = false; |
| | | this.colCalcuHead.Visible = false; |
| | | this.colCalcuDemand.Visible = false; |
| | | this.colFlagsString.Visible = true; |
| | | this.colDescription.Visible = true; |
| | | } |
| | | |
| | |
| | | this.colCode.Visible = true; |
| | | this.colName.Visible = true; |
| | | this.colModelType.Visible = true; |
| | | this.colFlagsString.Visible = false; |
| | | this.colHasDb.Visible = true; |
| | | this.colCoefficient.Visible = true; |
| | | this.colQuality.Visible = false; |
| | | this.colElev.Visible = true; |
| | | this.colMinorLoss.Visible = true; |
| | | this.colDemand.Visible = true; |
| | | this.colDemandPattern.Visible = false; |
| | | this.colCalcuPress.Visible = true; |
| | | this.colCalcuHead.Visible = true; |
| | | this.colCalcuDemand.Visible = true; |
| | | this.colFlagsString.Visible = true; |
| | | this.colDescription.Visible = true; |
| | | } |
| | | |