From 02c14c9c57dbde72d9c771bd8b0fab1cd023047d Mon Sep 17 00:00:00 2001 From: cloudflight <cloudflight@126.com> Date: 星期一, 13 一月 2025 09:09:22 +0800 Subject: [PATCH] 上下游纵断面分析 --- WinFrmUI/HStation.WinFrmUI.Assets.Core/01-pump/PumpProductMainPage.Designer.cs | 123 ++++++++++++++++++---------------------- 1 files changed, 56 insertions(+), 67 deletions(-) diff --git a/WinFrmUI/HStation.WinFrmUI.Assets.Core/01-pump/PumpProductMainPage.Designer.cs b/WinFrmUI/HStation.WinFrmUI.Assets.Core/01-pump/PumpProductMainPage.Designer.cs index 1f32dfb..5291e44 100644 --- a/WinFrmUI/HStation.WinFrmUI.Assets.Core/01-pump/PumpProductMainPage.Designer.cs +++ b/WinFrmUI/HStation.WinFrmUI.Assets.Core/01-pump/PumpProductMainPage.Designer.cs @@ -1,14 +1,13 @@ -锘� -namespace HStation.WinFrmUI.Xhs.PumpProduct +锘縩amespace HStation.WinFrmUI.Xhs.PumpProduct { partial class PumpProductMainPage { - /// <summary> + /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; - /// <summary> + /// <summary> /// Clean up any resources being used. /// </summary> /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> @@ -23,14 +22,14 @@ #region Component Designer generated code - /// <summary> - /// Required method for Designer support - do not modify + /// <summary> + /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { - components = new System.ComponentModel.Container(); - System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(PumpProductMainPage)); + components = new Container(); + ComponentResourceManager resources = new ComponentResourceManager(typeof(PumpProductMainPage)); ribbonControl1 = new DevExpress.XtraBars.Ribbon.RibbonControl(); BtnAdd = new DevExpress.XtraBars.BarButtonItem(); BtnEdit = new DevExpress.XtraBars.BarButtonItem(); @@ -51,7 +50,6 @@ gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView(); colName = new DevExpress.XtraGrid.Columns.GridColumn(); colTagName = new DevExpress.XtraGrid.Columns.GridColumn(); - colSortCode = new DevExpress.XtraGrid.Columns.GridColumn(); colDescription = new DevExpress.XtraGrid.Columns.GridColumn(); colRatedFlow = new DevExpress.XtraGrid.Columns.GridColumn(); colRatedHead = new DevExpress.XtraGrid.Columns.GridColumn(); @@ -66,25 +64,25 @@ layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem(); popupPump = new DevExpress.XtraBars.PopupMenu(components); svgImage32 = new DevExpress.Utils.SvgImageCollection(components); - ((System.ComponentModel.ISupportInitialize)ribbonControl1).BeginInit(); - ((System.ComponentModel.ISupportInitialize)dockManager1).BeginInit(); + ((ISupportInitialize)ribbonControl1).BeginInit(); + ((ISupportInitialize)dockManager1).BeginInit(); dockPanel1.SuspendLayout(); dockPanel1_Container.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)gridControl1).BeginInit(); - ((System.ComponentModel.ISupportInitialize)currentViewModelBindingSource).BeginInit(); - ((System.ComponentModel.ISupportInitialize)gridView1).BeginInit(); - ((System.ComponentModel.ISupportInitialize)layoutControl1).BeginInit(); + ((ISupportInitialize)gridControl1).BeginInit(); + ((ISupportInitialize)currentViewModelBindingSource).BeginInit(); + ((ISupportInitialize)gridView1).BeginInit(); + ((ISupportInitialize)layoutControl1).BeginInit(); layoutControl1.SuspendLayout(); sidePanel1.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)Root).BeginInit(); - ((System.ComponentModel.ISupportInitialize)layoutControlItem1).BeginInit(); - ((System.ComponentModel.ISupportInitialize)popupPump).BeginInit(); - ((System.ComponentModel.ISupportInitialize)svgImage32).BeginInit(); + ((ISupportInitialize)Root).BeginInit(); + ((ISupportInitialize)layoutControlItem1).BeginInit(); + ((ISupportInitialize)popupPump).BeginInit(); + ((ISupportInitialize)svgImage32).BeginInit(); SuspendLayout(); // // ribbonControl1 // - ribbonControl1.DrawGroupsBorderMode = DevExpress.Utils.DefaultBoolean.True; + ribbonControl1.DrawGroupsBorderMode = DevExpress.Utils.DefaultBoolean.False; ribbonControl1.ExpandCollapseItem.Id = 0; ribbonControl1.ItemPanelStyle = DevExpress.XtraBars.Ribbon.RibbonItemPanelStyle.Classic; ribbonControl1.Items.AddRange(new DevExpress.XtraBars.BarItem[] { ribbonControl1.ExpandCollapseItem, BtnAdd, BtnEdit, barBtnEditPumpCurve, BarBtnEidtPumpPart, barButtonItem1, BarBtnPumpinformation, BarBtnEidtPumpProp, BtnDeleteAssetsPumpSeries }); @@ -96,7 +94,7 @@ ribbonControl1.ShowExpandCollapseButton = DevExpress.Utils.DefaultBoolean.False; ribbonControl1.ShowPageHeadersInFormCaption = DevExpress.Utils.DefaultBoolean.True; ribbonControl1.ShowPageHeadersMode = DevExpress.XtraBars.Ribbon.ShowPageHeadersMode.ShowOnMultiplePages; - ribbonControl1.Size = new Size(933, 101); + ribbonControl1.Size = new Size(682, 77); ribbonControl1.ToolbarLocation = DevExpress.XtraBars.Ribbon.RibbonQuickAccessToolbarLocation.Hidden; // // BtnAdd @@ -146,6 +144,7 @@ BarBtnPumpinformation.Id = 23; BarBtnPumpinformation.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("BarBtnPumpinformation.ImageOptions.SvgImage"); BarBtnPumpinformation.Name = "BarBtnPumpinformation"; + BarBtnPumpinformation.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; BarBtnPumpinformation.ItemClick += BarBtnPumpinformation_ItemClick; // // BarBtnEidtPumpProp @@ -176,15 +175,16 @@ ribbonPageGroup1.ItemLinks.Add(BtnEdit); ribbonPageGroup1.ItemLinks.Add(barBtnEditPumpCurve); ribbonPageGroup1.ItemLinks.Add(BarBtnEidtPumpProp); - ribbonPageGroup1.ItemLinks.Add(barButtonItem1); ribbonPageGroup1.Name = "ribbonPageGroup1"; ribbonPageGroup1.Text = "鍩虹鍔熻兘"; // // dockManager1 // + dockManager1.AllowGlyphSkinning = true; dockManager1.DockingOptions.ShowCloseButton = false; dockManager1.Form = this; dockManager1.RootPanels.AddRange(new DevExpress.XtraBars.Docking.DockPanel[] { dockPanel1 }); + dockManager1.Style = DevExpress.XtraBars.Docking2010.Views.DockingViewStyle.Classic; dockManager1.TopZIndexControls.AddRange(new string[] { "DevExpress.XtraBars.BarDockControl", "DevExpress.XtraBars.StandaloneBarDockControl", "System.Windows.Forms.MenuStrip", "System.Windows.Forms.StatusStrip", "System.Windows.Forms.StatusBar", "DevExpress.XtraBars.Ribbon.RibbonStatusBar", "DevExpress.XtraBars.Ribbon.RibbonControl", "DevExpress.XtraBars.Navigation.OfficeNavigationBar", "DevExpress.XtraBars.Navigation.TileNavPane", "DevExpress.XtraBars.TabFormControl", "DevExpress.XtraBars.FluentDesignSystem.FluentDesignFormControl", "DevExpress.XtraBars.ToolbarForm.ToolbarFormControl" }); // // dockPanel1 @@ -196,16 +196,16 @@ dockPanel1.Margin = new Padding(0); dockPanel1.Name = "dockPanel1"; dockPanel1.Options.ShowAutoHideButton = false; - dockPanel1.OriginalSize = new Size(200, 200); - dockPanel1.Size = new Size(200, 547); - dockPanel1.Text = "绯诲垪鍒楄〃"; + dockPanel1.OriginalSize = new Size(233, 200); + dockPanel1.Size = new Size(233, 526); + dockPanel1.Text = "姘存车绯诲垪"; // // dockPanel1_Container // dockPanel1_Container.Controls.Add(AssetsPumpSeriesTreeListCtrl1); dockPanel1_Container.Location = new Point(3, 26); dockPanel1_Container.Name = "dockPanel1_Container"; - dockPanel1_Container.Size = new Size(193, 518); + dockPanel1_Container.Size = new Size(226, 497); dockPanel1_Container.TabIndex = 0; // // AssetsPumpSeriesTreeListCtrl1 @@ -214,19 +214,20 @@ AssetsPumpSeriesTreeListCtrl1.Appearance.Options.UseBackColor = true; AssetsPumpSeriesTreeListCtrl1.Dock = DockStyle.Fill; AssetsPumpSeriesTreeListCtrl1.Location = new Point(0, 0); + AssetsPumpSeriesTreeListCtrl1.Margin = new Padding(4, 5, 4, 5); AssetsPumpSeriesTreeListCtrl1.Name = "AssetsPumpSeriesTreeListCtrl1"; - AssetsPumpSeriesTreeListCtrl1.Size = new Size(193, 518); + AssetsPumpSeriesTreeListCtrl1.Size = new Size(226, 497); AssetsPumpSeriesTreeListCtrl1.TabIndex = 0; // // gridControl1 // gridControl1.DataSource = currentViewModelBindingSource; gridControl1.Dock = DockStyle.Fill; - gridControl1.Location = new Point(0, 101); + gridControl1.Location = new Point(0, 77); gridControl1.MainView = gridView1; gridControl1.MenuManager = ribbonControl1; gridControl1.Name = "gridControl1"; - gridControl1.Size = new Size(933, 446); + gridControl1.Size = new Size(682, 449); gridControl1.TabIndex = 0; gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { gridView1 }); // @@ -239,7 +240,7 @@ gridView1.Appearance.HeaderPanel.Options.UseTextOptions = true; gridView1.Appearance.HeaderPanel.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; gridView1.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; - gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { colName, colTagName, colSortCode, colDescription, colRatedFlow, colRatedHead, colD2, colErosion, colRatedEfficiency, colRatedPower, colRatedSpeed }); + gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { colName, colTagName, colDescription, colRatedFlow, colRatedHead, colD2, colErosion, colRatedEfficiency, colRatedPower, colRatedSpeed }); gridView1.GridControl = gridControl1; gridView1.Name = "gridView1"; gridView1.OptionsView.ShowGroupPanel = false; @@ -267,17 +268,6 @@ colTagName.VisibleIndex = 8; colTagName.Width = 134; // - // colSortCode - // - colSortCode.AppearanceCell.Options.UseTextOptions = true; - colSortCode.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; - colSortCode.Caption = "鎺掑簭鐮�"; - colSortCode.FieldName = "SortCode"; - colSortCode.Name = "colSortCode"; - colSortCode.Visible = true; - colSortCode.VisibleIndex = 9; - colSortCode.Width = 30; - // // colDescription // colDescription.AppearanceCell.Options.UseTextOptions = true; @@ -286,7 +276,7 @@ colDescription.FieldName = "Description"; colDescription.Name = "colDescription"; colDescription.Visible = true; - colDescription.VisibleIndex = 10; + colDescription.VisibleIndex = 9; colDescription.Width = 134; // // colRatedFlow @@ -326,7 +316,7 @@ // colErosion.AppearanceCell.Options.UseTextOptions = true; colErosion.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; - colErosion.Caption = "姘旇殌"; + colErosion.Caption = "姘旇殌(m)"; colErosion.FieldName = "Erosion"; colErosion.Name = "colErosion"; colErosion.Visible = true; @@ -337,7 +327,7 @@ // colRatedEfficiency.AppearanceCell.Options.UseTextOptions = true; colRatedEfficiency.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; - colRatedEfficiency.Caption = "棰濆畾鏁堢巼"; + colRatedEfficiency.Caption = "棰濆畾鏁堢巼(%)"; colRatedEfficiency.FieldName = "RatedEfficiency"; colRatedEfficiency.Name = "colRatedEfficiency"; colRatedEfficiency.Visible = true; @@ -348,7 +338,7 @@ // colRatedPower.AppearanceCell.Options.UseTextOptions = true; colRatedPower.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; - colRatedPower.Caption = "棰濆畾鍔熺巼"; + colRatedPower.Caption = "棰濆畾鍔熺巼(KW)"; colRatedPower.FieldName = "RatedPower"; colRatedPower.Name = "colRatedPower"; colRatedPower.Visible = true; @@ -357,7 +347,7 @@ // // colRatedSpeed // - colRatedSpeed.Caption = "棰濆畾杞��"; + colRatedSpeed.Caption = "棰濆畾杞��(r/min)"; colRatedSpeed.FieldName = "RatedSpeed"; colRatedSpeed.Name = "colRatedSpeed"; colRatedSpeed.Visible = true; @@ -368,10 +358,10 @@ // layoutControl1.Controls.Add(sidePanel1); layoutControl1.Dock = DockStyle.Fill; - layoutControl1.Location = new Point(200, 0); + layoutControl1.Location = new Point(233, 0); layoutControl1.Name = "layoutControl1"; layoutControl1.Root = Root; - layoutControl1.Size = new Size(933, 547); + layoutControl1.Size = new Size(682, 526); layoutControl1.TabIndex = 6; layoutControl1.Text = "layoutControl1"; // @@ -381,7 +371,7 @@ sidePanel1.Controls.Add(ribbonControl1); sidePanel1.Location = new Point(0, 0); sidePanel1.Name = "sidePanel1"; - sidePanel1.Size = new Size(933, 547); + sidePanel1.Size = new Size(682, 526); sidePanel1.TabIndex = 3; sidePanel1.Text = "sidePanel1"; // @@ -392,7 +382,7 @@ Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutControlItem1 }); Root.Name = "Root"; Root.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0); - Root.Size = new Size(933, 547); + Root.Size = new Size(682, 526); Root.TextVisible = false; // // layoutControlItem1 @@ -401,7 +391,7 @@ layoutControlItem1.Location = new Point(0, 0); layoutControlItem1.Name = "layoutControlItem1"; layoutControlItem1.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0); - layoutControlItem1.Size = new Size(933, 547); + layoutControlItem1.Size = new Size(682, 526); layoutControlItem1.TextSize = new Size(0, 0); layoutControlItem1.TextVisible = false; // @@ -426,28 +416,28 @@ AutoScaleMode = AutoScaleMode.Font; Controls.Add(layoutControl1); Controls.Add(dockPanel1); - Name = "PumpProductMainPanel"; - Size = new Size(1133, 547); - ((System.ComponentModel.ISupportInitialize)ribbonControl1).EndInit(); - ((System.ComponentModel.ISupportInitialize)dockManager1).EndInit(); + Margin = new Padding(2); + Name = "PumpProductMainPage"; + Size = new Size(915, 526); + ((ISupportInitialize)ribbonControl1).EndInit(); + ((ISupportInitialize)dockManager1).EndInit(); dockPanel1.ResumeLayout(false); dockPanel1_Container.ResumeLayout(false); - ((System.ComponentModel.ISupportInitialize)gridControl1).EndInit(); - ((System.ComponentModel.ISupportInitialize)currentViewModelBindingSource).EndInit(); - ((System.ComponentModel.ISupportInitialize)gridView1).EndInit(); - ((System.ComponentModel.ISupportInitialize)layoutControl1).EndInit(); + ((ISupportInitialize)gridControl1).EndInit(); + ((ISupportInitialize)currentViewModelBindingSource).EndInit(); + ((ISupportInitialize)gridView1).EndInit(); + ((ISupportInitialize)layoutControl1).EndInit(); layoutControl1.ResumeLayout(false); sidePanel1.ResumeLayout(false); sidePanel1.PerformLayout(); - ((System.ComponentModel.ISupportInitialize)Root).EndInit(); - ((System.ComponentModel.ISupportInitialize)layoutControlItem1).EndInit(); - ((System.ComponentModel.ISupportInitialize)popupPump).EndInit(); - ((System.ComponentModel.ISupportInitialize)svgImage32).EndInit(); + ((ISupportInitialize)Root).EndInit(); + ((ISupportInitialize)layoutControlItem1).EndInit(); + ((ISupportInitialize)popupPump).EndInit(); + ((ISupportInitialize)svgImage32).EndInit(); ResumeLayout(false); } - - #endregion + #endregion Component Designer generated code private DevExpress.XtraBars.Ribbon.RibbonControl ribbonControl1; private DevExpress.XtraBars.BarButtonItem BtnAdd; @@ -463,7 +453,6 @@ private BindingSource currentViewModelBindingSource; private DevExpress.XtraGrid.Columns.GridColumn colName; private DevExpress.XtraGrid.Columns.GridColumn colTagName; - private DevExpress.XtraGrid.Columns.GridColumn colSortCode; private DevExpress.XtraGrid.Columns.GridColumn colDescription; private DevExpress.XtraLayout.LayoutControl layoutControl1; private DevExpress.XtraLayout.LayoutControlGroup Root; @@ -485,4 +474,4 @@ private DevExpress.XtraBars.BarButtonItem BarBtnEidtPumpProp; private DevExpress.XtraBars.BarButtonItem BtnDeleteAssetsPumpSeries; } -} +} \ No newline at end of file -- Gitblit v1.9.3