From 03503e387f4d0f4c47b061b4cc1eeb2482ebaf33 Mon Sep 17 00:00:00 2001
From: duheng <2784771470@qq.com>
Date: 星期五, 25 十月 2024 09:36:15 +0800
Subject: [PATCH] 修改阀门曲线选择

---
 WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/06-simulation/01-matching/03-valve/01-valvesinglematching/ValveSingleMatchingForm.Designer.cs |  139 +++++++++++++++++++++++----------------------
 1 files changed, 71 insertions(+), 68 deletions(-)

diff --git a/WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/06-simulation/01-matching/03-valve/01-valvesinglematching/ValveSingleMatchingForm.Designer.cs b/WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/06-simulation/01-matching/03-valve/01-valvesinglematching/ValveSingleMatchingForm.Designer.cs
index 086c985..1943964 100644
--- a/WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/06-simulation/01-matching/03-valve/01-valvesinglematching/ValveSingleMatchingForm.Designer.cs
+++ b/WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/06-simulation/01-matching/03-valve/01-valvesinglematching/ValveSingleMatchingForm.Designer.cs
@@ -29,8 +29,13 @@
         private void InitializeComponent()
         {
             components = new Container();
+            EditorButtonImageOptions editorButtonImageOptions2 = new EditorButtonImageOptions();
+            ComponentResourceManager resources = new ComponentResourceManager(typeof(ValveSingleMatchingCtrl));
+            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject5 = new DevExpress.Utils.SerializableAppearanceObject();
+            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject6 = new DevExpress.Utils.SerializableAppearanceObject();
+            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject7 = new DevExpress.Utils.SerializableAppearanceObject();
+            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject8 = new DevExpress.Utils.SerializableAppearanceObject();
             layoutControl1 = new DevExpress.XtraLayout.LayoutControl();
-            xtrPerform2dChart1 = new Yw.WinFrmUI.Phart.ValvePerform2dChart();
             gridControl3 = new DevExpress.XtraGrid.GridControl();
             valveSingleMatchingViewModelBindingSource = new BindingSource(components);
             gridView3 = new DevExpress.XtraGrid.Views.Grid.GridView();
@@ -45,13 +50,13 @@
             colSeriesType = new DevExpress.XtraGrid.Columns.GridColumn();
             gridControl1 = new DevExpress.XtraGrid.GridControl();
             gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView();
+            ColShowChart = new DevExpress.XtraGrid.Columns.GridColumn();
+            repositoryItemButtonEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit();
             gridColumn3 = new DevExpress.XtraGrid.Columns.GridColumn();
             gridColumn2 = new DevExpress.XtraGrid.Columns.GridColumn();
             gridColumn1 = new DevExpress.XtraGrid.Columns.GridColumn();
             searchControl1 = new SearchControl();
             Root = new DevExpress.XtraLayout.LayoutControlGroup();
-            layoutControlGroup1 = new DevExpress.XtraLayout.LayoutControlGroup();
-            layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem();
             simpleLabelItem1 = new DevExpress.XtraLayout.SimpleLabelItem();
             layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem();
             layoutControlGroup2 = new DevExpress.XtraLayout.LayoutControlGroup();
@@ -64,10 +69,9 @@
             ((ISupportInitialize)gridView3).BeginInit();
             ((ISupportInitialize)gridControl1).BeginInit();
             ((ISupportInitialize)gridView1).BeginInit();
+            ((ISupportInitialize)repositoryItemButtonEdit1).BeginInit();
             ((ISupportInitialize)searchControl1.Properties).BeginInit();
             ((ISupportInitialize)Root).BeginInit();
-            ((ISupportInitialize)layoutControlGroup1).BeginInit();
-            ((ISupportInitialize)layoutControlItem2).BeginInit();
             ((ISupportInitialize)simpleLabelItem1).BeginInit();
             ((ISupportInitialize)layoutControlItem1).BeginInit();
             ((ISupportInitialize)layoutControlGroup2).BeginInit();
@@ -77,7 +81,6 @@
             // 
             // layoutControl1
             // 
-            layoutControl1.Controls.Add(xtrPerform2dChart1);
             layoutControl1.Controls.Add(gridControl3);
             layoutControl1.Controls.Add(gridControl1);
             layoutControl1.Controls.Add(searchControl1);
@@ -86,19 +89,9 @@
             layoutControl1.Name = "layoutControl1";
             layoutControl1.OptionsCustomizationForm.DesignTimeCustomizationFormPositionAndSize = new Rectangle(713, 300, 650, 400);
             layoutControl1.Root = Root;
-            layoutControl1.Size = new Size(1343, 498);
+            layoutControl1.Size = new Size(822, 641);
             layoutControl1.TabIndex = 0;
             layoutControl1.Text = "layoutControl1";
-            // 
-            // xtrPerform2dChart1
-            // 
-            xtrPerform2dChart1.DefinePointVisible = false;
-            xtrPerform2dChart1.LineVisible = false;
-            xtrPerform2dChart1.Location = new Point(773, 44);
-            xtrPerform2dChart1.Margin = new Padding(2, 2, 2, 2);
-            xtrPerform2dChart1.Name = "xtrPerform2dChart1";
-            xtrPerform2dChart1.Size = new Size(548, 432);
-            xtrPerform2dChart1.TabIndex = 5;
             // 
             // gridControl3
             // 
@@ -106,7 +99,7 @@
             gridControl3.Location = new Point(12, 36);
             gridControl3.MainView = gridView3;
             gridControl3.Name = "gridControl3";
-            gridControl3.Size = new Size(747, 307);
+            gridControl3.Size = new Size(798, 407);
             gridControl3.TabIndex = 4;
             gridControl3.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { gridView3 });
             // 
@@ -130,7 +123,7 @@
             colCaliber.Name = "colCaliber";
             colCaliber.Visible = true;
             colCaliber.VisibleIndex = 2;
-            colCaliber.Width = 86;
+            colCaliber.Width = 123;
             // 
             // colCoefficient
             // 
@@ -138,7 +131,7 @@
             colCoefficient.Name = "colCoefficient";
             colCoefficient.Visible = true;
             colCoefficient.VisibleIndex = 3;
-            colCoefficient.Width = 88;
+            colCoefficient.Width = 89;
             // 
             // colValveLift
             // 
@@ -146,7 +139,7 @@
             colValveLift.Name = "colValveLift";
             colValveLift.Visible = true;
             colValveLift.VisibleIndex = 4;
-            colValveLift.Width = 74;
+            colValveLift.Width = 86;
             // 
             // colName
             // 
@@ -154,7 +147,7 @@
             colName.Name = "colName";
             colName.Visible = true;
             colName.VisibleIndex = 0;
-            colName.Width = 115;
+            colName.Width = 167;
             // 
             // colKeyWord
             // 
@@ -162,7 +155,7 @@
             colKeyWord.Name = "colKeyWord";
             colKeyWord.Visible = true;
             colKeyWord.VisibleIndex = 1;
-            colKeyWord.Width = 92;
+            colKeyWord.Width = 85;
             // 
             // colValveSetting
             // 
@@ -170,7 +163,7 @@
             colValveSetting.Name = "colValveSetting";
             colValveSetting.Visible = true;
             colValveSetting.VisibleIndex = 5;
-            colValveSetting.Width = 87;
+            colValveSetting.Width = 84;
             // 
             // colDescription
             // 
@@ -178,7 +171,7 @@
             colDescription.Name = "colDescription";
             colDescription.Visible = true;
             colDescription.VisibleIndex = 8;
-            colDescription.Width = 319;
+            colDescription.Width = 194;
             // 
             // colMaterial
             // 
@@ -186,6 +179,7 @@
             colMaterial.Name = "colMaterial";
             colMaterial.Visible = true;
             colMaterial.VisibleIndex = 6;
+            colMaterial.Width = 66;
             // 
             // colSeriesType
             // 
@@ -193,55 +187,88 @@
             colSeriesType.Name = "colSeriesType";
             colSeriesType.Visible = true;
             colSeriesType.VisibleIndex = 7;
+            colSeriesType.Width = 112;
             // 
             // gridControl1
             // 
-            gridControl1.Location = new Point(12, 369);
+            gridControl1.Location = new Point(12, 469);
             gridControl1.MainView = gridView1;
             gridControl1.Margin = new Padding(0);
             gridControl1.Name = "gridControl1";
-            gridControl1.Size = new Size(747, 117);
+            gridControl1.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { repositoryItemButtonEdit1 });
+            gridControl1.Size = new Size(798, 160);
             gridControl1.TabIndex = 4;
             gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { gridView1 });
             // 
             // gridView1
             // 
-            gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { gridColumn3, gridColumn2, gridColumn1 });
+            gridView1.Appearance.HeaderPanel.Options.UseTextOptions = true;
+            gridView1.Appearance.HeaderPanel.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
+            gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { ColShowChart, gridColumn3, gridColumn2, gridColumn1 });
             gridView1.GridControl = gridControl1;
             gridView1.Name = "gridView1";
             gridView1.OptionsView.ShowGroupPanel = false;
+            gridView1.RowCellClick += gridView1_RowCellClick;
             gridView1.FocusedRowChanged += gridView1_FocusedRowChanged;
+            // 
+            // ColShowChart
+            // 
+            ColShowChart.AppearanceCell.Options.UseTextOptions = true;
+            ColShowChart.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
+            ColShowChart.Caption = "鏌ョ湅鏇茬嚎";
+            ColShowChart.ColumnEdit = repositoryItemButtonEdit1;
+            ColShowChart.Name = "ColShowChart";
+            ColShowChart.Visible = true;
+            ColShowChart.VisibleIndex = 3;
+            ColShowChart.Width = 83;
+            // 
+            // repositoryItemButtonEdit1
+            // 
+            repositoryItemButtonEdit1.AutoHeight = false;
+            editorButtonImageOptions2.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("editorButtonImageOptions2.SvgImage");
+            repositoryItemButtonEdit1.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Glyph, "", -1, true, true, false, editorButtonImageOptions2, new DevExpress.Utils.KeyShortcut(Keys.None), serializableAppearanceObject5, serializableAppearanceObject6, serializableAppearanceObject7, serializableAppearanceObject8, "", null, null, DevExpress.Utils.ToolTipAnchor.Default) });
+            repositoryItemButtonEdit1.Name = "repositoryItemButtonEdit1";
+            repositoryItemButtonEdit1.TextEditStyle = TextEditStyles.HideTextEditor;
             // 
             // gridColumn3
             // 
+            gridColumn3.AppearanceCell.Options.UseTextOptions = true;
+            gridColumn3.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
             gridColumn3.Caption = "鎺掑簭鐮�";
             gridColumn3.FieldName = "SortCode";
             gridColumn3.Name = "gridColumn3";
             gridColumn3.Visible = true;
-            gridColumn3.VisibleIndex = 2;
+            gridColumn3.VisibleIndex = 1;
+            gridColumn3.Width = 286;
             // 
             // gridColumn2
             // 
+            gridColumn2.AppearanceCell.Options.UseTextOptions = true;
+            gridColumn2.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
             gridColumn2.Caption = "閲嶈搴�";
             gridColumn2.FieldName = "Importance";
             gridColumn2.Name = "gridColumn2";
             gridColumn2.Visible = true;
-            gridColumn2.VisibleIndex = 1;
+            gridColumn2.VisibleIndex = 2;
+            gridColumn2.Width = 279;
             // 
             // gridColumn1
             // 
+            gridColumn1.AppearanceCell.Options.UseTextOptions = true;
+            gridColumn1.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
             gridColumn1.Caption = "鍚嶇О";
             gridColumn1.FieldName = "OtherName";
             gridColumn1.Name = "gridColumn1";
             gridColumn1.Visible = true;
             gridColumn1.VisibleIndex = 0;
+            gridColumn1.Width = 358;
             // 
             // searchControl1
             // 
             searchControl1.Location = new Point(69, 12);
             searchControl1.Name = "searchControl1";
             searchControl1.Properties.Buttons.AddRange(new EditorButton[] { new DevExpress.XtraEditors.Repository.ClearButton(), new DevExpress.XtraEditors.Repository.SearchButton() });
-            searchControl1.Size = new Size(380, 20);
+            searchControl1.Size = new Size(206, 20);
             searchControl1.StyleController = layoutControl1;
             searchControl1.TabIndex = 0;
             // 
@@ -249,39 +276,17 @@
             // 
             Root.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True;
             Root.GroupBordersVisible = false;
-            Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutControlGroup1, simpleLabelItem1, layoutControlItem1, layoutControlGroup2, layoutControlItem5 });
+            Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { simpleLabelItem1, layoutControlItem1, layoutControlGroup2, layoutControlItem5 });
             Root.Name = "Root";
-            Root.Size = new Size(1343, 498);
+            Root.Size = new Size(822, 641);
             Root.TextVisible = false;
-            // 
-            // layoutControlGroup1
-            // 
-            layoutControlGroup1.AppearanceGroup.FontSizeDelta = 2;
-            layoutControlGroup1.AppearanceGroup.FontStyleDelta = FontStyle.Bold;
-            layoutControlGroup1.AppearanceGroup.Options.UseFont = true;
-            layoutControlGroup1.GroupStyle = DevExpress.Utils.GroupStyle.Title;
-            layoutControlGroup1.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutControlItem2 });
-            layoutControlGroup1.Location = new Point(751, 0);
-            layoutControlGroup1.Name = "layoutControlGroup1";
-            layoutControlGroup1.Padding = new DevExpress.XtraLayout.Utils.Padding(8, 8, 8, 8);
-            layoutControlGroup1.Size = new Size(572, 478);
-            layoutControlGroup1.Text = "鏇茬嚎瑙嗗浘";
-            // 
-            // layoutControlItem2
-            // 
-            layoutControlItem2.Control = xtrPerform2dChart1;
-            layoutControlItem2.Location = new Point(0, 0);
-            layoutControlItem2.Name = "layoutControlItem2";
-            layoutControlItem2.Size = new Size(552, 436);
-            layoutControlItem2.TextSize = new Size(0, 0);
-            layoutControlItem2.TextVisible = false;
             // 
             // simpleLabelItem1
             // 
             simpleLabelItem1.AllowHotTrack = false;
-            simpleLabelItem1.Location = new Point(441, 0);
+            simpleLabelItem1.Location = new Point(267, 0);
             simpleLabelItem1.Name = "simpleLabelItem1";
-            simpleLabelItem1.Size = new Size(310, 24);
+            simpleLabelItem1.Size = new Size(535, 24);
             simpleLabelItem1.Text = " ";
             simpleLabelItem1.TextSize = new Size(4, 14);
             // 
@@ -290,7 +295,7 @@
             layoutControlItem1.Control = searchControl1;
             layoutControlItem1.Location = new Point(0, 0);
             layoutControlItem1.Name = "layoutControlItem1";
-            layoutControlItem1.Size = new Size(441, 24);
+            layoutControlItem1.Size = new Size(267, 24);
             layoutControlItem1.Text = "妯$硦鎼滅储:";
             layoutControlItem1.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.AutoSize;
             layoutControlItem1.TextSize = new Size(52, 14);
@@ -303,10 +308,10 @@
             layoutControlGroup2.AppearanceGroup.Options.UseFont = true;
             layoutControlGroup2.GroupStyle = DevExpress.Utils.GroupStyle.Title;
             layoutControlGroup2.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutControlItem3 });
-            layoutControlGroup2.Location = new Point(0, 335);
+            layoutControlGroup2.Location = new Point(0, 435);
             layoutControlGroup2.Name = "layoutControlGroup2";
             layoutControlGroup2.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0);
-            layoutControlGroup2.Size = new Size(751, 143);
+            layoutControlGroup2.Size = new Size(802, 186);
             layoutControlGroup2.Text = "鏇茬嚎鍒楄〃";
             // 
             // layoutControlItem3
@@ -315,7 +320,7 @@
             layoutControlItem3.Location = new Point(0, 0);
             layoutControlItem3.Name = "layoutControlItem3";
             layoutControlItem3.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0);
-            layoutControlItem3.Size = new Size(747, 117);
+            layoutControlItem3.Size = new Size(798, 160);
             layoutControlItem3.TextSize = new Size(0, 0);
             layoutControlItem3.TextVisible = false;
             // 
@@ -324,7 +329,7 @@
             layoutControlItem5.Control = gridControl3;
             layoutControlItem5.Location = new Point(0, 24);
             layoutControlItem5.Name = "layoutControlItem5";
-            layoutControlItem5.Size = new Size(751, 311);
+            layoutControlItem5.Size = new Size(802, 411);
             layoutControlItem5.TextSize = new Size(0, 0);
             layoutControlItem5.TextVisible = false;
             // 
@@ -334,7 +339,7 @@
             AutoScaleMode = AutoScaleMode.Font;
             Controls.Add(layoutControl1);
             Name = "ValveSingleMatchingCtrl";
-            Size = new Size(1343, 498);
+            Size = new Size(822, 641);
             ((ISupportInitialize)layoutControl1).EndInit();
             layoutControl1.ResumeLayout(false);
             ((ISupportInitialize)gridControl3).EndInit();
@@ -342,10 +347,9 @@
             ((ISupportInitialize)gridView3).EndInit();
             ((ISupportInitialize)gridControl1).EndInit();
             ((ISupportInitialize)gridView1).EndInit();
+            ((ISupportInitialize)repositoryItemButtonEdit1).EndInit();
             ((ISupportInitialize)searchControl1.Properties).EndInit();
             ((ISupportInitialize)Root).EndInit();
-            ((ISupportInitialize)layoutControlGroup1).EndInit();
-            ((ISupportInitialize)layoutControlItem2).EndInit();
             ((ISupportInitialize)simpleLabelItem1).EndInit();
             ((ISupportInitialize)layoutControlItem1).EndInit();
             ((ISupportInitialize)layoutControlGroup2).EndInit();
@@ -359,7 +363,6 @@
         private DevExpress.XtraLayout.LayoutControl layoutControl1;
         private DevExpress.XtraLayout.LayoutControlGroup Root;
         private DevExpress.XtraLayout.SimpleLabelItem simpleLabelItem1;
-        private DevExpress.XtraLayout.LayoutControlGroup layoutControlGroup1;
         private DevExpress.XtraEditors.SearchControl searchControl1;
         private DevExpress.XtraLayout.LayoutControlItem layoutControlItem1;
         private DevExpress.XtraGrid.GridControl gridControl1;
@@ -380,9 +383,9 @@
         private DevExpress.XtraGrid.Columns.GridColumn colKeyWord;
         private DevExpress.XtraGrid.Columns.GridColumn colValveSetting;
         private DevExpress.XtraGrid.Columns.GridColumn colDescription;
-        private Yw.WinFrmUI.Phart.ValvePerform2dChart xtrPerform2dChart1;
-        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem2;
         private DevExpress.XtraGrid.Columns.GridColumn colMaterial;
         private DevExpress.XtraGrid.Columns.GridColumn colSeriesType;
+        private DevExpress.XtraGrid.Columns.GridColumn ColShowChart;
+        private DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit repositoryItemButtonEdit1;
     }
 }

--
Gitblit v1.9.3