From a1730187c168a5d0bd54eb27c1083eb1cc98be96 Mon Sep 17 00:00:00 2001 From: duheng <2784771470@qq.com> Date: 星期一, 23 九月 2024 10:41:43 +0800 Subject: [PATCH] 修改命名 --- WinFrmUI/HStation.WinFrmUI.Xhs.Core/04-simulation/06-simulation/01-AutoMatching/02-AsstesFormCtrl/PumpMatchingCtrl.Designer.cs | 122 +++++++++++++++++++++++++++++++--------- 1 files changed, 93 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 8e3d2bc..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,22 +30,29 @@ { components = new Container(); gridControl1 = new DevExpress.XtraGrid.GridControl(); - pumpMatchingViewModelBindingSource = new BindingSource(components); + pumpFormViewModelBindingSource = new BindingSource(components); gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView(); 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)pumpMatchingViewModelBindingSource).BeginInit(); + ((ISupportInitialize)pumpFormViewModelBindingSource).BeginInit(); ((ISupportInitialize)gridView1).BeginInit(); SuspendLayout(); // // gridControl1 // - gridControl1.DataSource = pumpMatchingViewModelBindingSource; + gridControl1.DataSource = pumpFormViewModelBindingSource; gridControl1.Dock = DockStyle.Fill; gridControl1.Location = new Point(0, 0); gridControl1.MainView = gridView1; @@ -54,16 +61,17 @@ gridControl1.TabIndex = 0; gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { gridView1 }); // - // pumpMatchingViewModelBindingSource + // pumpFormViewModelBindingSource // - pumpMatchingViewModelBindingSource.DataSource = typeof(PumpMatchingViewModel); + pumpFormViewModelBindingSource.DataSource = typeof(PumpFormViewModel); // // gridView1 // - gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { colName, 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; + gridView1.RowCellClick += gridView1_RowCellClick; // // colName // @@ -72,40 +80,89 @@ colName.Visible = true; colName.VisibleIndex = 0; // - // colRatedH + // colCode // - colRatedH.FieldName = "RatedH"; - colRatedH.Name = "colRatedH"; - colRatedH.Visible = true; - colRatedH.VisibleIndex = 1; + 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 = 2; + 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 // colRatedQ.FieldName = "RatedQ"; colRatedQ.Name = "colRatedQ"; colRatedQ.Visible = true; - colRatedQ.VisibleIndex = 3; + colRatedQ.VisibleIndex = 4; // - // colRatedQ1 + // colRatedH // - colRatedQ1.FieldName = "RatedQ"; - colRatedQ1.Name = "colRatedQ1"; - colRatedQ1.Visible = true; - colRatedQ1.VisibleIndex = 4; + 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 = 5; + 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 // @@ -115,7 +172,7 @@ Name = "PumpMatchingCtrl"; Size = new Size(1035, 503); ((ISupportInitialize)gridControl1).EndInit(); - ((ISupportInitialize)pumpMatchingViewModelBindingSource).EndInit(); + ((ISupportInitialize)pumpFormViewModelBindingSource).EndInit(); ((ISupportInitialize)gridView1).EndInit(); ResumeLayout(false); } @@ -124,12 +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