From edf1c4d93a7463f911b263b3f177550ac17eea18 Mon Sep 17 00:00:00 2001 From: lixiaojun <1287241240@qq.com> Date: 星期五, 14 二月 2025 22:16:40 +0800 Subject: [PATCH] 能效分析增加表格 --- WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/09-energy/SimulationSingleWorkingEnergyCtrl.Designer.cs | 92 +++++++++++++++++++++++++++++++-------------- 1 files changed, 63 insertions(+), 29 deletions(-) diff --git a/WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/09-energy/SimulationSingleWorkingEnergyCtrl.Designer.cs b/WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/09-energy/SimulationSingleWorkingEnergyCtrl.Designer.cs index 1eacc5f..4ef986f 100644 --- a/WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/09-energy/SimulationSingleWorkingEnergyCtrl.Designer.cs +++ b/WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/09-energy/SimulationSingleWorkingEnergyCtrl.Designer.cs @@ -28,26 +28,31 @@ /// </summary> private void InitializeComponent() { + ComponentResourceManager resources = new ComponentResourceManager(typeof(SimulationSingleWorkingEnergyCtrl)); layoutControl1 = new DevExpress.XtraLayout.LayoutControl(); + hydroEnergyTotalHorizViewCtrl1 = new HydroEnergyTotalHorizViewCtrl(); panelControl1 = new PanelControl(); + simulationSingleWorkingPumpCtrl1 = new SimulationPumpSingleWorkingChartCtrl(); Root = new DevExpress.XtraLayout.LayoutControlGroup(); groupForSinglePumpInfo = new DevExpress.XtraLayout.LayoutControlGroup(); - layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem(); - hydroEnergyTotalHorizViewCtrl1 = new HydroEnergyTotalHorizViewCtrl(); layoutControlItem8 = new DevExpress.XtraLayout.LayoutControlItem(); - simulationSingleWorkingPumpCtrl1 = new SimulationPumpSingleWorkingChartCtrl(); + layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem(); + btnEnergyList = new SimpleButton(); + layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem(); ((ISupportInitialize)layoutControl1).BeginInit(); layoutControl1.SuspendLayout(); ((ISupportInitialize)panelControl1).BeginInit(); panelControl1.SuspendLayout(); ((ISupportInitialize)Root).BeginInit(); ((ISupportInitialize)groupForSinglePumpInfo).BeginInit(); - ((ISupportInitialize)layoutControlItem3).BeginInit(); ((ISupportInitialize)layoutControlItem8).BeginInit(); + ((ISupportInitialize)layoutControlItem3).BeginInit(); + ((ISupportInitialize)layoutControlItem1).BeginInit(); SuspendLayout(); // // layoutControl1 // + layoutControl1.Controls.Add(btnEnergyList); layoutControl1.Controls.Add(hydroEnergyTotalHorizViewCtrl1); layoutControl1.Controls.Add(panelControl1); layoutControl1.Dock = DockStyle.Fill; @@ -59,6 +64,13 @@ layoutControl1.TabIndex = 0; layoutControl1.Text = "layoutControl1"; // + // hydroEnergyTotalHorizViewCtrl1 + // + hydroEnergyTotalHorizViewCtrl1.Location = new Point(14, 35); + hydroEnergyTotalHorizViewCtrl1.Name = "hydroEnergyTotalHorizViewCtrl1"; + hydroEnergyTotalHorizViewCtrl1.Size = new Size(890, 24); + hydroEnergyTotalHorizViewCtrl1.TabIndex = 12; + // // panelControl1 // panelControl1.BorderStyle = BorderStyles.Simple; @@ -68,6 +80,14 @@ panelControl1.Padding = new Padding(1); panelControl1.Size = new Size(1008, 526); panelControl1.TabIndex = 11; + // + // simulationSingleWorkingPumpCtrl1 + // + simulationSingleWorkingPumpCtrl1.Dock = DockStyle.Fill; + simulationSingleWorkingPumpCtrl1.Location = new Point(3, 3); + simulationSingleWorkingPumpCtrl1.Name = "simulationSingleWorkingPumpCtrl1"; + simulationSingleWorkingPumpCtrl1.Size = new Size(1002, 520); + simulationSingleWorkingPumpCtrl1.TabIndex = 0; // // Root // @@ -81,11 +101,23 @@ // // groupForSinglePumpInfo // - groupForSinglePumpInfo.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutControlItem8 }); + groupForSinglePumpInfo.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutControlItem8, layoutControlItem1 }); groupForSinglePumpInfo.Location = new Point(0, 0); groupForSinglePumpInfo.Name = "groupForSinglePumpInfo"; groupForSinglePumpInfo.Size = new Size(1012, 73); groupForSinglePumpInfo.Text = "鎬昏兘鑰�"; + // + // layoutControlItem8 + // + layoutControlItem8.Control = hydroEnergyTotalHorizViewCtrl1; + layoutControlItem8.Location = new Point(0, 0); + layoutControlItem8.MaxSize = new Size(0, 28); + layoutControlItem8.MinSize = new Size(545, 28); + layoutControlItem8.Name = "layoutControlItem8"; + layoutControlItem8.Size = new Size(894, 28); + layoutControlItem8.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; + layoutControlItem8.TextSize = new Size(0, 0); + layoutControlItem8.TextVisible = false; // // layoutControlItem3 // @@ -96,32 +128,31 @@ layoutControlItem3.TextSize = new Size(0, 0); layoutControlItem3.TextVisible = false; // - // hydroEnergyTotalHorizViewCtrl1 + // btnEnergyList // - hydroEnergyTotalHorizViewCtrl1.Location = new Point(14, 35); - hydroEnergyTotalHorizViewCtrl1.Name = "hydroEnergyTotalHorizViewCtrl1"; - hydroEnergyTotalHorizViewCtrl1.Size = new Size(984, 24); - hydroEnergyTotalHorizViewCtrl1.TabIndex = 12; + btnEnergyList.ImageOptions.ImageToTextAlignment = ImageAlignToText.LeftCenter; + btnEnergyList.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("btnEnergyList.ImageOptions.SvgImage"); + btnEnergyList.ImageOptions.SvgImageSize = new Size(16, 16); + btnEnergyList.Location = new Point(908, 36); + btnEnergyList.Name = "btnEnergyList"; + btnEnergyList.Size = new Size(90, 22); + btnEnergyList.StyleController = layoutControl1; + btnEnergyList.TabIndex = 13; + btnEnergyList.Text = "鏄庣粏鍒楄〃"; + btnEnergyList.Click += btnEnergyList_Click; // - // layoutControlItem8 + // layoutControlItem1 // - layoutControlItem8.Control = hydroEnergyTotalHorizViewCtrl1; - layoutControlItem8.Location = new Point(0, 0); - layoutControlItem8.MaxSize = new Size(0, 28); - layoutControlItem8.MinSize = new Size(545, 28); - layoutControlItem8.Name = "layoutControlItem8"; - layoutControlItem8.Size = new Size(988, 28); - layoutControlItem8.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; - layoutControlItem8.TextSize = new Size(0, 0); - layoutControlItem8.TextVisible = false; - // - // simulationSingleWorkingPumpCtrl1 - // - simulationSingleWorkingPumpCtrl1.Dock = DockStyle.Fill; - simulationSingleWorkingPumpCtrl1.Location = new Point(3, 3); - simulationSingleWorkingPumpCtrl1.Name = "simulationSingleWorkingPumpCtrl1"; - simulationSingleWorkingPumpCtrl1.Size = new Size(1002, 520); - simulationSingleWorkingPumpCtrl1.TabIndex = 0; + layoutControlItem1.ContentVertAlignment = DevExpress.Utils.VertAlignment.Center; + layoutControlItem1.Control = btnEnergyList; + layoutControlItem1.Location = new Point(894, 0); + layoutControlItem1.MaxSize = new Size(94, 26); + layoutControlItem1.MinSize = new Size(94, 26); + layoutControlItem1.Name = "layoutControlItem1"; + layoutControlItem1.Size = new Size(94, 28); + layoutControlItem1.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; + layoutControlItem1.TextSize = new Size(0, 0); + layoutControlItem1.TextVisible = false; // // SimulationSingleWorkingEnergyCtrl // @@ -136,8 +167,9 @@ panelControl1.ResumeLayout(false); ((ISupportInitialize)Root).EndInit(); ((ISupportInitialize)groupForSinglePumpInfo).EndInit(); - ((ISupportInitialize)layoutControlItem3).EndInit(); ((ISupportInitialize)layoutControlItem8).EndInit(); + ((ISupportInitialize)layoutControlItem3).EndInit(); + ((ISupportInitialize)layoutControlItem1).EndInit(); ResumeLayout(false); } @@ -151,5 +183,7 @@ private HydroEnergyTotalHorizViewCtrl hydroEnergyTotalHorizViewCtrl1; private SimulationPumpSingleWorkingChartCtrl simulationSingleWorkingPumpCtrl1; private DevExpress.XtraLayout.LayoutControlItem layoutControlItem8; + private SimpleButton btnEnergyList; + private DevExpress.XtraLayout.LayoutControlItem layoutControlItem1; } } -- Gitblit v1.9.3