From 21c97aab9153758bebfc9b3944859b0eec271c76 Mon Sep 17 00:00:00 2001
From: lixiaojun <1287241240@qq.com>
Date: 星期三, 25 九月 2024 16:31:19 +0800
Subject: [PATCH] 一些简单的尝试

---
 WinFrmUI/HStation.WinFrmUI.Xhs.Core/04-simulation/06-simulation/01-AutoMatching/02-AsstesFormCtrl/PumpMatchingCtrl.Designer.cs |  145 +++++++++++++++++++++++++++++++++---------------
 1 files changed, 100 insertions(+), 45 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 2f3cb88..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,23 +30,29 @@
         {
             components = new Container();
             gridControl1 = new DevExpress.XtraGrid.GridControl();
+            pumpFormViewModelBindingSource = new BindingSource(components);
             gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView();
-            pumpMatchingViewModelBindingSource = new BindingSource(components);
-            colDbLocked = new DevExpress.XtraGrid.Columns.GridColumn();
-            colModelType = new DevExpress.XtraGrid.Columns.GridColumn();
             colName = new DevExpress.XtraGrid.Columns.GridColumn();
+            colCode = new DevExpress.XtraGrid.Columns.GridColumn();
+            colModelType = new DevExpress.XtraGrid.Columns.GridColumn();
+            colRatedP = new DevExpress.XtraGrid.Columns.GridColumn();
+            colRatedQ = new DevExpress.XtraGrid.Columns.GridColumn();
             colRatedH = new DevExpress.XtraGrid.Columns.GridColumn();
             colRatedN = new DevExpress.XtraGrid.Columns.GridColumn();
-            colRatedQ = new DevExpress.XtraGrid.Columns.GridColumn();
-            colRatedQ1 = new DevExpress.XtraGrid.Columns.GridColumn();
+            colDbLocked = 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;
@@ -55,30 +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, colModelType, colRatedH, colRatedN, colRatedQ, colRatedQ1, colDbLocked });
+            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);
-            // 
-            // colDbLocked
-            // 
-            colDbLocked.FieldName = "DbLocked";
-            colDbLocked.Name = "colDbLocked";
-            colDbLocked.Visible = true;
-            colDbLocked.VisibleIndex = 6;
-            // 
-            // colModelType
-            // 
-            colModelType.FieldName = "ModelType";
-            colModelType.Name = "colModelType";
-            colModelType.Visible = true;
-            colModelType.VisibleIndex = 1;
+            gridView1.RowCellClick += gridView1_RowCellClick;
             // 
             // colName
             // 
@@ -87,19 +80,26 @@
             colName.Visible = true;
             colName.VisibleIndex = 0;
             // 
-            // colRatedH
+            // colCode
             // 
-            colRatedH.FieldName = "RatedH";
-            colRatedH.Name = "colRatedH";
-            colRatedH.Visible = true;
-            colRatedH.VisibleIndex = 2;
+            colCode.FieldName = "Code";
+            colCode.Name = "colCode";
+            colCode.Visible = true;
+            colCode.VisibleIndex = 1;
             // 
-            // colRatedN
+            // colModelType
             // 
-            colRatedN.FieldName = "RatedN";
-            colRatedN.Name = "colRatedN";
-            colRatedN.Visible = true;
-            colRatedN.VisibleIndex = 3;
+            colModelType.FieldName = "ModelType";
+            colModelType.Name = "colModelType";
+            colModelType.Visible = true;
+            colModelType.VisibleIndex = 2;
+            // 
+            // colRatedP
+            // 
+            colRatedP.FieldName = "RatedP";
+            colRatedP.Name = "colRatedP";
+            colRatedP.Visible = true;
+            colRatedP.VisibleIndex = 3;
             // 
             // colRatedQ
             // 
@@ -108,12 +108,61 @@
             colRatedQ.Visible = true;
             colRatedQ.VisibleIndex = 4;
             // 
-            // colRatedQ1
+            // colRatedH
             // 
-            colRatedQ1.FieldName = "RatedQ";
-            colRatedQ1.Name = "colRatedQ1";
-            colRatedQ1.Visible = true;
-            colRatedQ1.VisibleIndex = 5;
+            colRatedH.FieldName = "RatedH";
+            colRatedH.Name = "colRatedH";
+            colRatedH.Visible = true;
+            colRatedH.VisibleIndex = 5;
+            // 
+            // colRatedN
+            // 
+            colRatedN.FieldName = "RatedN";
+            colRatedN.Name = "colRatedN";
+            colRatedN.Visible = true;
+            colRatedN.VisibleIndex = 6;
+            // 
+            // colDbLocked
+            // 
+            colDbLocked.FieldName = "DbLocked";
+            colDbLocked.Name = "colDbLocked";
+            colDbLocked.Visible = true;
+            colDbLocked.VisibleIndex = 12;
+            // 
+            // colMatchingRatedP
+            // 
+            colMatchingRatedP.FieldName = "MatchingRatedP";
+            colMatchingRatedP.Name = "colMatchingRatedP";
+            colMatchingRatedP.Visible = true;
+            colMatchingRatedP.VisibleIndex = 7;
+            // 
+            // colMatchingRatedQ
+            // 
+            colMatchingRatedQ.FieldName = "MatchingRatedQ";
+            colMatchingRatedQ.Name = "colMatchingRatedQ";
+            colMatchingRatedQ.Visible = true;
+            colMatchingRatedQ.VisibleIndex = 8;
+            // 
+            // colMatchingRatedH
+            // 
+            colMatchingRatedH.FieldName = "MatchingRatedH";
+            colMatchingRatedH.Name = "colMatchingRatedH";
+            colMatchingRatedH.Visible = true;
+            colMatchingRatedH.VisibleIndex = 9;
+            // 
+            // colMatchingRatedN
+            // 
+            colMatchingRatedN.FieldName = "MatchingRatedN";
+            colMatchingRatedN.Name = "colMatchingRatedN";
+            colMatchingRatedN.Visible = true;
+            colMatchingRatedN.VisibleIndex = 10;
+            // 
+            // colMatchingType
+            // 
+            colMatchingType.FieldName = "MatchingType";
+            colMatchingType.Name = "colMatchingType";
+            colMatchingType.Visible = true;
+            colMatchingType.VisibleIndex = 11;
             // 
             // PumpMatchingCtrl
             // 
@@ -123,8 +172,8 @@
             Name = "PumpMatchingCtrl";
             Size = new Size(1035, 503);
             ((ISupportInitialize)gridControl1).EndInit();
+            ((ISupportInitialize)pumpFormViewModelBindingSource).EndInit();
             ((ISupportInitialize)gridView1).EndInit();
-            ((ISupportInitialize)pumpMatchingViewModelBindingSource).EndInit();
             ResumeLayout(false);
         }
 
@@ -132,13 +181,19 @@
 
         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;
+        private DevExpress.XtraGrid.Columns.GridColumn colRatedP;
+        private DevExpress.XtraGrid.Columns.GridColumn colRatedQ;
         private DevExpress.XtraGrid.Columns.GridColumn colRatedH;
         private DevExpress.XtraGrid.Columns.GridColumn colRatedN;
-        private DevExpress.XtraGrid.Columns.GridColumn colRatedQ;
-        private DevExpress.XtraGrid.Columns.GridColumn colRatedQ1;
         private DevExpress.XtraGrid.Columns.GridColumn colDbLocked;
+        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