From 9ffb31c233f3b4891550293294c2ee716f77b42a Mon Sep 17 00:00:00 2001
From: duheng <2784771470@qq.com>
Date: 星期日, 22 九月 2024 19:08:49 +0800
Subject: [PATCH] 完善自动匹配

---
 WinFrmUI/HStation.WinFrmUI.Xhs.Core/04-simulation/06-simulation/01-AutoMatching/02-AsstesFormCtrl/PumpMatchingCtrl.Designer.cs |   81 ++++++++++++++++++++--------------------
 1 files changed, 41 insertions(+), 40 deletions(-)

diff --git a/WinFrmUI/HStation.WinFrmUI.Xhs.Core/04-simulation/06-simulation/01-AutoMatching/02-AsstesFormCtrl/PumpMatchingCtrl.Designer.cs b/WinFrmUI/HStation.WinFrmUI.Xhs.Core/04-simulation/06-simulation/01-AutoMatching/02-AsstesFormCtrl/PumpMatchingCtrl.Designer.cs
index 7547651..538391d 100644
--- a/WinFrmUI/HStation.WinFrmUI.Xhs.Core/04-simulation/06-simulation/01-AutoMatching/02-AsstesFormCtrl/PumpMatchingCtrl.Designer.cs
+++ b/WinFrmUI/HStation.WinFrmUI.Xhs.Core/04-simulation/06-simulation/01-AutoMatching/02-AsstesFormCtrl/PumpMatchingCtrl.Designer.cs
@@ -30,8 +30,8 @@
         {
             components = new Container();
             gridControl1 = new DevExpress.XtraGrid.GridControl();
+            pumpFormViewModelBindingSource = new BindingSource(components);
             gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView();
-            pumpMatchingViewModelBindingSource = new BindingSource(components);
             colName = new DevExpress.XtraGrid.Columns.GridColumn();
             colCode = new DevExpress.XtraGrid.Columns.GridColumn();
             colModelType = new DevExpress.XtraGrid.Columns.GridColumn();
@@ -40,19 +40,19 @@
             colRatedH = new DevExpress.XtraGrid.Columns.GridColumn();
             colRatedN = new DevExpress.XtraGrid.Columns.GridColumn();
             colDbLocked = new DevExpress.XtraGrid.Columns.GridColumn();
-            colAlterRatedP = new DevExpress.XtraGrid.Columns.GridColumn();
-            colAlterRatedQ = new DevExpress.XtraGrid.Columns.GridColumn();
-            colAlterRatedH = new DevExpress.XtraGrid.Columns.GridColumn();
-            colAlterRatedN = new DevExpress.XtraGrid.Columns.GridColumn();
+            colMatchingRatedP = new DevExpress.XtraGrid.Columns.GridColumn();
+            colMatchingRatedQ = new DevExpress.XtraGrid.Columns.GridColumn();
+            colMatchingRatedH = new DevExpress.XtraGrid.Columns.GridColumn();
+            colMatchingRatedN = new DevExpress.XtraGrid.Columns.GridColumn();
             colMatchingType = new DevExpress.XtraGrid.Columns.GridColumn();
             ((ISupportInitialize)gridControl1).BeginInit();
+            ((ISupportInitialize)pumpFormViewModelBindingSource).BeginInit();
             ((ISupportInitialize)gridView1).BeginInit();
-            ((ISupportInitialize)pumpMatchingViewModelBindingSource).BeginInit();
             SuspendLayout();
             // 
             // gridControl1
             // 
-            gridControl1.DataSource = pumpMatchingViewModelBindingSource;
+            gridControl1.DataSource = pumpFormViewModelBindingSource;
             gridControl1.Dock = DockStyle.Fill;
             gridControl1.Location = new Point(0, 0);
             gridControl1.MainView = gridView1;
@@ -61,16 +61,17 @@
             gridControl1.TabIndex = 0;
             gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { gridView1 });
             // 
+            // pumpFormViewModelBindingSource
+            // 
+            pumpFormViewModelBindingSource.DataSource = typeof(PumpFormViewModel);
+            // 
             // gridView1
             // 
-            gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { colName, colCode, colModelType, colRatedP, colRatedQ, colRatedH, colRatedN, colDbLocked, colAlterRatedP, colAlterRatedQ, colAlterRatedH, colAlterRatedN, colMatchingType });
+            gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { colName, colCode, colModelType, colRatedP, colRatedQ, colRatedH, colRatedN, colDbLocked, colMatchingRatedP, colMatchingRatedQ, colMatchingRatedH, colMatchingRatedN, colMatchingType });
             gridView1.GridControl = gridControl1;
             gridView1.Name = "gridView1";
             gridView1.OptionsView.ShowGroupPanel = false;
-            // 
-            // pumpMatchingViewModelBindingSource
-            // 
-            pumpMatchingViewModelBindingSource.DataSource = typeof(PumpMatchingViewModel);
+            gridView1.RowCellClick += gridView1_RowCellClick;
             // 
             // colName
             // 
@@ -126,42 +127,42 @@
             colDbLocked.FieldName = "DbLocked";
             colDbLocked.Name = "colDbLocked";
             colDbLocked.Visible = true;
-            colDbLocked.VisibleIndex = 7;
+            colDbLocked.VisibleIndex = 12;
             // 
-            // colAlterRatedP
+            // colMatchingRatedP
             // 
-            colAlterRatedP.FieldName = "AlterRatedP";
-            colAlterRatedP.Name = "colAlterRatedP";
-            colAlterRatedP.Visible = true;
-            colAlterRatedP.VisibleIndex = 8;
+            colMatchingRatedP.FieldName = "MatchingRatedP";
+            colMatchingRatedP.Name = "colMatchingRatedP";
+            colMatchingRatedP.Visible = true;
+            colMatchingRatedP.VisibleIndex = 7;
             // 
-            // colAlterRatedQ
+            // colMatchingRatedQ
             // 
-            colAlterRatedQ.FieldName = "AlterRatedQ";
-            colAlterRatedQ.Name = "colAlterRatedQ";
-            colAlterRatedQ.Visible = true;
-            colAlterRatedQ.VisibleIndex = 9;
+            colMatchingRatedQ.FieldName = "MatchingRatedQ";
+            colMatchingRatedQ.Name = "colMatchingRatedQ";
+            colMatchingRatedQ.Visible = true;
+            colMatchingRatedQ.VisibleIndex = 8;
             // 
-            // colAlterRatedH
+            // colMatchingRatedH
             // 
-            colAlterRatedH.FieldName = "AlterRatedH";
-            colAlterRatedH.Name = "colAlterRatedH";
-            colAlterRatedH.Visible = true;
-            colAlterRatedH.VisibleIndex = 10;
+            colMatchingRatedH.FieldName = "MatchingRatedH";
+            colMatchingRatedH.Name = "colMatchingRatedH";
+            colMatchingRatedH.Visible = true;
+            colMatchingRatedH.VisibleIndex = 9;
             // 
-            // colAlterRatedN
+            // colMatchingRatedN
             // 
-            colAlterRatedN.FieldName = "AlterRatedN";
-            colAlterRatedN.Name = "colAlterRatedN";
-            colAlterRatedN.Visible = true;
-            colAlterRatedN.VisibleIndex = 11;
+            colMatchingRatedN.FieldName = "MatchingRatedN";
+            colMatchingRatedN.Name = "colMatchingRatedN";
+            colMatchingRatedN.Visible = true;
+            colMatchingRatedN.VisibleIndex = 10;
             // 
             // colMatchingType
             // 
             colMatchingType.FieldName = "MatchingType";
             colMatchingType.Name = "colMatchingType";
             colMatchingType.Visible = true;
-            colMatchingType.VisibleIndex = 12;
+            colMatchingType.VisibleIndex = 11;
             // 
             // PumpMatchingCtrl
             // 
@@ -171,8 +172,8 @@
             Name = "PumpMatchingCtrl";
             Size = new Size(1035, 503);
             ((ISupportInitialize)gridControl1).EndInit();
+            ((ISupportInitialize)pumpFormViewModelBindingSource).EndInit();
             ((ISupportInitialize)gridView1).EndInit();
-            ((ISupportInitialize)pumpMatchingViewModelBindingSource).EndInit();
             ResumeLayout(false);
         }
 
@@ -180,7 +181,7 @@
 
         private DevExpress.XtraGrid.GridControl gridControl1;
         private DevExpress.XtraGrid.Views.Grid.GridView gridView1;
-        private BindingSource pumpMatchingViewModelBindingSource;
+        private BindingSource pumpFormViewModelBindingSource;
         private DevExpress.XtraGrid.Columns.GridColumn colName;
         private DevExpress.XtraGrid.Columns.GridColumn colCode;
         private DevExpress.XtraGrid.Columns.GridColumn colModelType;
@@ -189,10 +190,10 @@
         private DevExpress.XtraGrid.Columns.GridColumn colRatedH;
         private DevExpress.XtraGrid.Columns.GridColumn colRatedN;
         private DevExpress.XtraGrid.Columns.GridColumn colDbLocked;
-        private DevExpress.XtraGrid.Columns.GridColumn colAlterRatedP;
-        private DevExpress.XtraGrid.Columns.GridColumn colAlterRatedQ;
-        private DevExpress.XtraGrid.Columns.GridColumn colAlterRatedH;
-        private DevExpress.XtraGrid.Columns.GridColumn colAlterRatedN;
+        private DevExpress.XtraGrid.Columns.GridColumn colMatchingRatedP;
+        private DevExpress.XtraGrid.Columns.GridColumn colMatchingRatedQ;
+        private DevExpress.XtraGrid.Columns.GridColumn colMatchingRatedH;
+        private DevExpress.XtraGrid.Columns.GridColumn colMatchingRatedN;
         private DevExpress.XtraGrid.Columns.GridColumn colMatchingType;
     }
 }

--
Gitblit v1.9.3