lixiaojun
2024-10-21 24ec8c3cf6e75efdcb5f12d73ada86b53c677959
WinFrmUI/Yw.WinFrmUI.Hydro.Core/04-parter/03-link/03-valve/HydroValveListCtrl.cs
@@ -56,6 +56,14 @@
            }
            this.hydroValveViewModelBindingSource.DataSource = _allBindingList;
            this.hydroValveViewModelBindingSource.ResetBindings(false);
            if (allCalcuResultList == null || allCalcuResultList.Count < 1)
            {
                SetNormalView();
            }
            else
            {
                SetCalcuView();
            }
        }
        /// <summary>
@@ -67,17 +75,20 @@
            this.colCode.Visible = true;
            this.colName.Visible = true;
            this.colModelType.Visible = true;
            this.colFlagsString.Visible = false;
            this.colStartCode.Visible = true;
            this.colEndCode.Visible = true;
            this.colHasDb.Visible = true;
            this.colStartCode.Visible = false;
            this.colEndCode.Visible = false;
            this.colLinkStatus.Visible = true;
            this.colDiameter.Visible = true;
            this.colMaterial.Visible = false;
            this.colDiameter.Visible = false;
            this.colMinorLoss.Visible = false;
            this.colValveType.Visible = true;
            this.colValveType.Visible = false;
            this.colOpeningDegree.Visible = false;
            this.colValveSetting.Visible = false;
            this.colCalcuFlow.Visible = false;
            this.colCalcuVelocity.Visible = false;
            this.colCalcuHeadLoss.Visible = false;
            this.colFlagsString.Visible = true;
            this.colDescription.Visible = true;
        }
@@ -90,17 +101,20 @@
            this.colCode.Visible = true;
            this.colName.Visible = true;
            this.colModelType.Visible = true;
            this.colFlagsString.Visible = true;
            this.colStartCode.Visible = true;
            this.colEndCode.Visible = true;
            this.colHasDb.Visible = true;
            this.colStartCode.Visible = false;
            this.colEndCode.Visible = false;
            this.colLinkStatus.Visible = true;
            this.colMaterial.Visible = true;
            this.colDiameter.Visible = true;
            this.colMinorLoss.Visible = true;
            this.colValveType.Visible = true;
            this.colOpeningDegree.Visible = true;
            this.colValveSetting.Visible = true;
            this.colCalcuFlow.Visible = false;
            this.colCalcuVelocity.Visible = false;
            this.colCalcuHeadLoss.Visible = false;
            this.colFlagsString.Visible = true;
            this.colDescription.Visible = true;
        }
@@ -113,17 +127,20 @@
            this.colCode.Visible = true;
            this.colName.Visible = true;
            this.colModelType.Visible = true;
            this.colFlagsString.Visible = false;
            this.colStartCode.Visible = true;
            this.colEndCode.Visible = true;
            this.colHasDb.Visible = true;
            this.colStartCode.Visible = false;
            this.colEndCode.Visible = false;
            this.colLinkStatus.Visible = true;
            this.colMaterial.Visible = true;
            this.colDiameter.Visible = true;
            this.colMinorLoss.Visible = false;
            this.colMinorLoss.Visible = true;
            this.colValveType.Visible = true;
            this.colValveSetting.Visible = false;
            this.colOpeningDegree.Visible = true;
            this.colValveSetting.Visible = true;
            this.colCalcuFlow.Visible = true;
            this.colCalcuVelocity.Visible = true;
            this.colCalcuHeadLoss.Visible = true;
            this.colFlagsString.Visible = true;
            this.colDescription.Visible = true;
        }