From 93f5c18553c036768ef6202547eeb899511fd50a Mon Sep 17 00:00:00 2001 From: duheng <2784771470@qq.com> Date: 星期五, 25 十月 2024 11:16:54 +0800 Subject: [PATCH] 修改阀门匹配逻辑 --- WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/06-simulation/01-matching/05-elbows/01-elbowsinglematching/ElbowSingleMatchingForm.Designer.cs | 46 +++++++++++++++++++++++++++++++++++----------- 1 files changed, 35 insertions(+), 11 deletions(-) diff --git a/WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/06-simulation/01-matching/05-elbows/01-elbowsinglematching/ElbowSingleMatchingForm.Designer.cs b/WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/06-simulation/01-matching/05-elbows/01-elbowsinglematching/ElbowSingleMatchingForm.Designer.cs index 9493748..e8c1423 100644 --- a/WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/06-simulation/01-matching/05-elbows/01-elbowsinglematching/ElbowSingleMatchingForm.Designer.cs +++ b/WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/06-simulation/01-matching/05-elbows/01-elbowsinglematching/ElbowSingleMatchingForm.Designer.cs @@ -42,6 +42,8 @@ simpleLabelItem1 = new DevExpress.XtraLayout.SimpleLabelItem(); layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem(); layoutControlItem5 = new DevExpress.XtraLayout.LayoutControlItem(); + colConnectionLength = new DevExpress.XtraGrid.Columns.GridColumn(); + colAngle = new DevExpress.XtraGrid.Columns.GridColumn(); ((ISupportInitialize)layoutControl1).BeginInit(); layoutControl1.SuspendLayout(); ((ISupportInitialize)gridControl3).BeginInit(); @@ -63,7 +65,7 @@ layoutControl1.Name = "layoutControl1"; layoutControl1.OptionsCustomizationForm.DesignTimeCustomizationFormPositionAndSize = new Rectangle(713, 300, 650, 400); layoutControl1.Root = Root; - layoutControl1.Size = new Size(1343, 607); + layoutControl1.Size = new Size(769, 577); layoutControl1.TabIndex = 0; layoutControl1.Text = "layoutControl1"; // @@ -73,7 +75,7 @@ gridControl3.Location = new Point(2, 26); gridControl3.MainView = gridView3; gridControl3.Name = "gridControl3"; - gridControl3.Size = new Size(1339, 579); + gridControl3.Size = new Size(765, 549); gridControl3.TabIndex = 4; gridControl3.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { gridView3 }); // @@ -85,7 +87,7 @@ // gridView3.Appearance.HeaderPanel.Options.UseTextOptions = true; gridView3.Appearance.HeaderPanel.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; - gridView3.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { colModelType, colMaterial, colCaliber, colMinorLoss }); + gridView3.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { colModelType, colMaterial, colCaliber, colMinorLoss, colConnectionLength, colAngle }); gridView3.GridControl = gridControl3; gridView3.Name = "gridView3"; gridView3.OptionsView.ShowGroupPanel = false; @@ -97,6 +99,7 @@ colModelType.Name = "colModelType"; colModelType.Visible = true; colModelType.VisibleIndex = 0; + colModelType.Width = 243; // // colMaterial // @@ -104,6 +107,7 @@ colMaterial.Name = "colMaterial"; colMaterial.Visible = true; colMaterial.VisibleIndex = 1; + colMaterial.Width = 154; // // colCaliber // @@ -111,20 +115,22 @@ colCaliber.Name = "colCaliber"; colCaliber.Visible = true; colCaliber.VisibleIndex = 2; + colCaliber.Width = 141; // // colMinorLoss // colMinorLoss.FieldName = "MinorLoss"; colMinorLoss.Name = "colMinorLoss"; colMinorLoss.Visible = true; - colMinorLoss.VisibleIndex = 3; + colMinorLoss.VisibleIndex = 4; + colMinorLoss.Width = 165; // // searchControl1 // searchControl1.Location = new Point(59, 2); searchControl1.Name = "searchControl1"; searchControl1.Properties.Buttons.AddRange(new EditorButton[] { new DevExpress.XtraEditors.Repository.ClearButton(), new DevExpress.XtraEditors.Repository.SearchButton() }); - searchControl1.Size = new Size(387, 20); + searchControl1.Size = new Size(196, 20); searchControl1.StyleController = layoutControl1; searchControl1.TabIndex = 0; // @@ -135,15 +141,15 @@ Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { simpleLabelItem1, layoutControlItem1, layoutControlItem5 }); Root.Name = "Root"; Root.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0); - Root.Size = new Size(1343, 607); + Root.Size = new Size(769, 577); Root.TextVisible = false; // // simpleLabelItem1 // simpleLabelItem1.AllowHotTrack = false; - simpleLabelItem1.Location = new Point(448, 0); + simpleLabelItem1.Location = new Point(257, 0); simpleLabelItem1.Name = "simpleLabelItem1"; - simpleLabelItem1.Size = new Size(895, 24); + simpleLabelItem1.Size = new Size(512, 24); simpleLabelItem1.Text = " "; simpleLabelItem1.TextSize = new Size(4, 14); // @@ -152,7 +158,7 @@ layoutControlItem1.Control = searchControl1; layoutControlItem1.Location = new Point(0, 0); layoutControlItem1.Name = "layoutControlItem1"; - layoutControlItem1.Size = new Size(448, 24); + layoutControlItem1.Size = new Size(257, 24); layoutControlItem1.Text = "妯$硦鎼滅储:"; layoutControlItem1.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.AutoSize; layoutControlItem1.TextSize = new Size(52, 14); @@ -163,9 +169,25 @@ layoutControlItem5.Control = gridControl3; layoutControlItem5.Location = new Point(0, 24); layoutControlItem5.Name = "layoutControlItem5"; - layoutControlItem5.Size = new Size(1343, 583); + layoutControlItem5.Size = new Size(769, 553); layoutControlItem5.TextSize = new Size(0, 0); layoutControlItem5.TextVisible = false; + // + // colConnectionLength + // + colConnectionLength.FieldName = "ConnectionLength"; + colConnectionLength.Name = "colConnectionLength"; + colConnectionLength.Visible = true; + colConnectionLength.VisibleIndex = 5; + colConnectionLength.Width = 182; + // + // colAngle + // + colAngle.FieldName = "Angle"; + colAngle.Name = "colAngle"; + colAngle.Visible = true; + colAngle.VisibleIndex = 3; + colAngle.Width = 121; // // ElbowSingleMatchingForm // @@ -173,7 +195,7 @@ AutoScaleMode = AutoScaleMode.Font; Controls.Add(layoutControl1); Name = "ElbowSingleMatchingForm"; - Size = new Size(1343, 607); + Size = new Size(769, 577); ((ISupportInitialize)layoutControl1).EndInit(); layoutControl1.ResumeLayout(false); ((ISupportInitialize)gridControl3).EndInit(); @@ -202,5 +224,7 @@ private DevExpress.XtraGrid.Columns.GridColumn colMaterial; private DevExpress.XtraGrid.Columns.GridColumn colCaliber; private DevExpress.XtraGrid.Columns.GridColumn colMinorLoss; + private DevExpress.XtraGrid.Columns.GridColumn colConnectionLength; + private DevExpress.XtraGrid.Columns.GridColumn colAngle; } } -- Gitblit v1.9.3