From 3e4fa61e398cb7c6fa3d0173ebaf740a14992e8c Mon Sep 17 00:00:00 2001
From: Shuxia Ning <NingShuxia0927@outlook.com>
Date: 星期二, 13 八月 2024 16:11:36 +0800
Subject: [PATCH] 主界面修改

---
 WinFrmUI/Yw.WinFrmUI.Hydro.Core/04-parter/14-exchanger/HydroExchangerListCtrl.Designer.cs |  104 +++++++++++++++++-----------------------------------
 1 files changed, 34 insertions(+), 70 deletions(-)

diff --git a/WinFrmUI/Yw.WinFrmUI.Hydro.Core/04-parter/14-exchanger/HydroExchangerListCtrl.Designer.cs b/WinFrmUI/Yw.WinFrmUI.Hydro.Core/04-parter/14-exchanger/HydroExchangerListCtrl.Designer.cs
index d03b0c4..75547ca 100644
--- a/WinFrmUI/Yw.WinFrmUI.Hydro.Core/04-parter/14-exchanger/HydroExchangerListCtrl.Designer.cs
+++ b/WinFrmUI/Yw.WinFrmUI.Hydro.Core/04-parter/14-exchanger/HydroExchangerListCtrl.Designer.cs
@@ -30,22 +30,18 @@
         {
             components = new Container();
             gridControl1 = new DevExpress.XtraGrid.GridControl();
+            hydroExchangerViewModelBindingSource = new BindingSource(components);
             gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView();
             colCode = new DevExpress.XtraGrid.Columns.GridColumn();
             colName = new DevExpress.XtraGrid.Columns.GridColumn();
             colFlagsString = new DevExpress.XtraGrid.Columns.GridColumn();
-            colStartCode = new DevExpress.XtraGrid.Columns.GridColumn();
-            colEndCode = new DevExpress.XtraGrid.Columns.GridColumn();
-            colLinkStatus = new DevExpress.XtraGrid.Columns.GridColumn();
-            colDiameter = new DevExpress.XtraGrid.Columns.GridColumn();
-            colLength = new DevExpress.XtraGrid.Columns.GridColumn();
-            colRoughness = new DevExpress.XtraGrid.Columns.GridColumn();
-            colMinorLoss = new DevExpress.XtraGrid.Columns.GridColumn();
             colDescription = new DevExpress.XtraGrid.Columns.GridColumn();
-            hydroExchangerViewModelBindingSource = new BindingSource(components);
+            colQuality = new DevExpress.XtraGrid.Columns.GridColumn();
+            colDemand = new DevExpress.XtraGrid.Columns.GridColumn();
+            colDemandPattern = new DevExpress.XtraGrid.Columns.GridColumn();
             ((ISupportInitialize)gridControl1).BeginInit();
-            ((ISupportInitialize)gridView1).BeginInit();
             ((ISupportInitialize)hydroExchangerViewModelBindingSource).BeginInit();
+            ((ISupportInitialize)gridView1).BeginInit();
             SuspendLayout();
             // 
             // gridControl1
@@ -59,9 +55,13 @@
             gridControl1.TabIndex = 0;
             gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { gridView1 });
             // 
+            // hydroExchangerViewModelBindingSource
+            // 
+            hydroExchangerViewModelBindingSource.DataSource = typeof(HydroExchangerViewModel);
+            // 
             // gridView1
             // 
-            gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { colCode, colName, colFlagsString, colStartCode, colEndCode, colLinkStatus, colDiameter, colLength, colRoughness, colMinorLoss, colDescription });
+            gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { colCode, colName, colFlagsString, colQuality, colDemand, colDemandPattern, colDescription });
             gridView1.GridControl = gridControl1;
             gridView1.Name = "gridView1";
             gridView1.RowClick += gridView1_RowClick;
@@ -87,65 +87,33 @@
             colFlagsString.Visible = true;
             colFlagsString.VisibleIndex = 2;
             // 
-            // colStartCode
-            // 
-            colStartCode.FieldName = "StartCode";
-            colStartCode.Name = "colStartCode";
-            colStartCode.Visible = true;
-            colStartCode.VisibleIndex = 3;
-            // 
-            // colEndCode
-            // 
-            colEndCode.FieldName = "EndCode";
-            colEndCode.Name = "colEndCode";
-            colEndCode.Visible = true;
-            colEndCode.VisibleIndex = 4;
-            // 
-            // colLinkStatus
-            // 
-            colLinkStatus.FieldName = "LinkStatus";
-            colLinkStatus.Name = "colLinkStatus";
-            colLinkStatus.Visible = true;
-            colLinkStatus.VisibleIndex = 5;
-            // 
-            // colDiameter
-            // 
-            colDiameter.FieldName = "Diameter";
-            colDiameter.Name = "colDiameter";
-            colDiameter.Visible = true;
-            colDiameter.VisibleIndex = 6;
-            // 
-            // colLength
-            // 
-            colLength.FieldName = "Length";
-            colLength.Name = "colLength";
-            colLength.Visible = true;
-            colLength.VisibleIndex = 7;
-            // 
-            // colRoughness
-            // 
-            colRoughness.FieldName = "Roughness";
-            colRoughness.Name = "colRoughness";
-            colRoughness.Visible = true;
-            colRoughness.VisibleIndex = 8;
-            // 
-            // colMinorLoss
-            // 
-            colMinorLoss.FieldName = "MinorLoss";
-            colMinorLoss.Name = "colMinorLoss";
-            colMinorLoss.Visible = true;
-            colMinorLoss.VisibleIndex = 9;
-            // 
             // colDescription
             // 
             colDescription.FieldName = "Description";
             colDescription.Name = "colDescription";
             colDescription.Visible = true;
-            colDescription.VisibleIndex = 10;
+            colDescription.VisibleIndex = 6;
             // 
-            // hydroExchangerViewModelBindingSource
+            // colQuality
             // 
-            hydroExchangerViewModelBindingSource.DataSource = typeof(HydroExchangerViewModel);
+            colQuality.FieldName = "Quality";
+            colQuality.Name = "colQuality";
+            colQuality.Visible = true;
+            colQuality.VisibleIndex = 3;
+            // 
+            // colDemand
+            // 
+            colDemand.FieldName = "Demand";
+            colDemand.Name = "colDemand";
+            colDemand.Visible = true;
+            colDemand.VisibleIndex = 4;
+            // 
+            // colDemandPattern
+            // 
+            colDemandPattern.FieldName = "DemandPattern";
+            colDemandPattern.Name = "colDemandPattern";
+            colDemandPattern.Visible = true;
+            colDemandPattern.VisibleIndex = 5;
             // 
             // HydroExchangerListCtrl
             // 
@@ -155,8 +123,8 @@
             Name = "HydroExchangerListCtrl";
             Size = new Size(818, 590);
             ((ISupportInitialize)gridControl1).EndInit();
-            ((ISupportInitialize)gridView1).EndInit();
             ((ISupportInitialize)hydroExchangerViewModelBindingSource).EndInit();
+            ((ISupportInitialize)gridView1).EndInit();
             ResumeLayout(false);
         }
 
@@ -168,13 +136,9 @@
         private DevExpress.XtraGrid.Columns.GridColumn colName;
         private DevExpress.XtraGrid.Columns.GridColumn colFlagsString;
         private DevExpress.XtraGrid.Columns.GridColumn colDescription;
-        private DevExpress.XtraGrid.Columns.GridColumn colStartCode;
-        private DevExpress.XtraGrid.Columns.GridColumn colEndCode;
-        private DevExpress.XtraGrid.Columns.GridColumn colLinkStatus;
-        private DevExpress.XtraGrid.Columns.GridColumn colDiameter;
-        private DevExpress.XtraGrid.Columns.GridColumn colLength;
-        private DevExpress.XtraGrid.Columns.GridColumn colRoughness;
-        private DevExpress.XtraGrid.Columns.GridColumn colMinorLoss;
         private BindingSource hydroExchangerViewModelBindingSource;
+        private DevExpress.XtraGrid.Columns.GridColumn colQuality;
+        private DevExpress.XtraGrid.Columns.GridColumn colDemand;
+        private DevExpress.XtraGrid.Columns.GridColumn colDemandPattern;
     }
 }

--
Gitblit v1.9.3