| | |
| | | ResetColumns(false); |
| | | } |
| | | break; |
| | | case Yw.Hydro.ParterProp.CalcuPress: |
| | | case HydroVisualCalcuProp.CalcuPress: |
| | | { |
| | | ResetColumns(true); |
| | | } |
| | | break; |
| | | case Yw.Hydro.ParterProp.CalcuHead: |
| | | case HydroVisualCalcuProp.CalcuHead: |
| | | { |
| | | ResetColumns(true); |
| | | } |
| | | break; |
| | | case Yw.Hydro.ParterProp.CalcuFlow: |
| | | case HydroVisualCalcuProp.CalcuFlow: |
| | | { |
| | | ResetColumns(true); |
| | | } |
| | | break; |
| | | case Yw.Hydro.ParterProp.CalcuVelocity: |
| | | case HydroVisualCalcuProp.CalcuVelocity: |
| | | { |
| | | ResetColumns(true); |
| | | } |
| | | break; |
| | | case Yw.Hydro.ParterProp.CalcuHeadLoss: |
| | | case HydroVisualCalcuProp.CalcuHeadLoss: |
| | | { |
| | | ResetColumns(true); |
| | | } |
| | |
| | | this.colSetValue.Visible = !numeric; |
| | | this.colMinValue.Visible = numeric; |
| | | this.colMaxValue.Visible = numeric; |
| | | this.colMinPercent.Visible = false; |
| | | this.colMaxPercent.Visible = false; |
| | | this.colColor.Visible = true; |
| | | this.colDelete.Visible = true; |
| | | } |