lixiaojun
2024-10-21 24ec8c3cf6e75efdcb5f12d73ada86b53c677959
WinFrmUI/Yw.WinFrmUI.Hydro.Core/04-parter/03-link/01-pipe/02-exchanger/HydroExchangerListCtrl.cs
@@ -55,6 +55,14 @@
            }
            this.hydroExchangerViewModelBindingSource.DataSource = _allBindingList;
            this.hydroExchangerViewModelBindingSource.ResetBindings(false);
            if (allCalcuResultList == null || allCalcuResultList.Count < 1)
            {
                SetNormalView();
            }
            else
            {
                SetCalcuView();
            }
        }
        /// <summary>
@@ -66,18 +74,19 @@
            this.colCode.Visible = true;
            this.colName.Visible = true;
            this.colModelType.Visible = true;
            this.colFlagsString.Visible = false;
            this.colHasDb.Visible = true;
            this.colStartCode.Visible = false;
            this.colEndCode.Visible = false;
            this.colLinkStatus.Visible = true;
            this.colDiameter.Visible = true;
            this.colLength.Visible = true;
            this.colMaterial.Visible = true;
            this.colDiameter.Visible = false;
            this.colLength.Visible = false;
            this.colMaterial.Visible = false;
            this.colRoughness.Visible = true;
            this.colMinorLoss.Visible = true;
            this.colCalcuFlow.Visible = false;
            this.colCalcuVelocity.Visible = false;
            this.colCalcuHeadLoss.Visible = false;
            this.colFlagsString.Visible = true;
            this.colDescription.Visible = true;
        }
@@ -90,7 +99,7 @@
            this.colCode.Visible = true;
            this.colName.Visible = true;
            this.colModelType.Visible = true;
            this.colFlagsString.Visible = true;
            this.colHasDb.Visible = true;
            this.colStartCode.Visible = false;
            this.colEndCode.Visible = false;
            this.colLinkStatus.Visible = true;
@@ -102,6 +111,7 @@
            this.colCalcuFlow.Visible = false;
            this.colCalcuVelocity.Visible = false;
            this.colCalcuHeadLoss.Visible = false;
            this.colFlagsString.Visible = true;
            this.colDescription.Visible = true;
        }
@@ -114,7 +124,7 @@
            this.colCode.Visible = true;
            this.colName.Visible = true;
            this.colModelType.Visible = true;
            this.colFlagsString.Visible = false;
            this.colHasDb.Visible = true;
            this.colStartCode.Visible = false;
            this.colEndCode.Visible = false;
            this.colLinkStatus.Visible = true;
@@ -126,9 +136,9 @@
            this.colCalcuFlow.Visible = true;
            this.colCalcuVelocity.Visible = true;
            this.colCalcuHeadLoss.Visible = true;
            this.colFlagsString.Visible = true;
            this.colDescription.Visible = true;
        }
        //行点击事件
        private void gridView1_RowClick(object sender, DevExpress.XtraGrid.Views.Grid.RowClickEventArgs e)