From 7d17fabc46e87ea0f0896f760034f4d16a4dfed0 Mon Sep 17 00:00:00 2001 From: duheng <2784771470@qq.com> Date: 星期五, 20 九月 2024 13:20:57 +0800 Subject: [PATCH] 提交修改 --- WinFrmUI/HStation.WinFrmUI.Xhs.Core/04-simulation/06-simulation/01-AutoMatching/02-AsstesFormCtrl/PumpMatchingCtrl.Designer.cs | 49 ++++++++++++++++++++----------------------------- 1 files changed, 20 insertions(+), 29 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..8e3d2bc 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,18 +30,17 @@ { components = new Container(); gridControl1 = new DevExpress.XtraGrid.GridControl(); - gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView(); pumpMatchingViewModelBindingSource = new BindingSource(components); - colDbLocked = new DevExpress.XtraGrid.Columns.GridColumn(); - colModelType = new DevExpress.XtraGrid.Columns.GridColumn(); + gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView(); colName = 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(); ((ISupportInitialize)gridControl1).BeginInit(); - ((ISupportInitialize)gridView1).BeginInit(); ((ISupportInitialize)pumpMatchingViewModelBindingSource).BeginInit(); + ((ISupportInitialize)gridView1).BeginInit(); SuspendLayout(); // // gridControl1 @@ -55,30 +54,16 @@ gridControl1.TabIndex = 0; gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { gridView1 }); // - // gridView1 - // - gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { colName, colModelType, colRatedH, colRatedN, colRatedQ, colRatedQ1, colDbLocked }); - gridView1.GridControl = gridControl1; - gridView1.Name = "gridView1"; - gridView1.OptionsView.ShowGroupPanel = false; - // // pumpMatchingViewModelBindingSource // pumpMatchingViewModelBindingSource.DataSource = typeof(PumpMatchingViewModel); // - // colDbLocked + // gridView1 // - 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.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { colName, colRatedH, colRatedN, colRatedQ, colRatedQ1, colDbLocked }); + gridView1.GridControl = gridControl1; + gridView1.Name = "gridView1"; + gridView1.OptionsView.ShowGroupPanel = false; // // colName // @@ -92,28 +77,35 @@ colRatedH.FieldName = "RatedH"; colRatedH.Name = "colRatedH"; colRatedH.Visible = true; - colRatedH.VisibleIndex = 2; + colRatedH.VisibleIndex = 1; // // colRatedN // colRatedN.FieldName = "RatedN"; colRatedN.Name = "colRatedN"; colRatedN.Visible = true; - colRatedN.VisibleIndex = 3; + colRatedN.VisibleIndex = 2; // // colRatedQ // colRatedQ.FieldName = "RatedQ"; colRatedQ.Name = "colRatedQ"; colRatedQ.Visible = true; - colRatedQ.VisibleIndex = 4; + colRatedQ.VisibleIndex = 3; // // colRatedQ1 // colRatedQ1.FieldName = "RatedQ"; colRatedQ1.Name = "colRatedQ1"; colRatedQ1.Visible = true; - colRatedQ1.VisibleIndex = 5; + colRatedQ1.VisibleIndex = 4; + // + // colDbLocked + // + colDbLocked.FieldName = "DbLocked"; + colDbLocked.Name = "colDbLocked"; + colDbLocked.Visible = true; + colDbLocked.VisibleIndex = 5; // // PumpMatchingCtrl // @@ -123,8 +115,8 @@ Name = "PumpMatchingCtrl"; Size = new Size(1035, 503); ((ISupportInitialize)gridControl1).EndInit(); - ((ISupportInitialize)gridView1).EndInit(); ((ISupportInitialize)pumpMatchingViewModelBindingSource).EndInit(); + ((ISupportInitialize)gridView1).EndInit(); ResumeLayout(false); } @@ -134,7 +126,6 @@ private DevExpress.XtraGrid.Views.Grid.GridView gridView1; private BindingSource pumpMatchingViewModelBindingSource; private DevExpress.XtraGrid.Columns.GridColumn colName; - private DevExpress.XtraGrid.Columns.GridColumn colModelType; private DevExpress.XtraGrid.Columns.GridColumn colRatedH; private DevExpress.XtraGrid.Columns.GridColumn colRatedN; private DevExpress.XtraGrid.Columns.GridColumn colRatedQ; -- Gitblit v1.9.3