From d6111ca1fa9f70afc50c8213f81c9d78c14a6527 Mon Sep 17 00:00:00 2001 From: duheng <2784771470@qq.com> Date: 星期三, 22 一月 2025 14:37:21 +0800 Subject: [PATCH] 阀门单独匹配修改 --- WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/07-matching/02-pump/01-pumpsinglematching/SimulationPumpSingleMatchingDlg.Designer.cs | 41 ++++++++++++++++++++++++----------------- 1 files changed, 24 insertions(+), 17 deletions(-) diff --git a/WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/07-matching/02-pump/01-pumpsinglematching/SimulationPumpSingleMatchingDlg.Designer.cs b/WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/07-matching/02-pump/01-pumpsinglematching/SimulationPumpSingleMatchingDlg.Designer.cs index 7575fbd..9cb4225 100644 --- a/WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/07-matching/02-pump/01-pumpsinglematching/SimulationPumpSingleMatchingDlg.Designer.cs +++ b/WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/07-matching/02-pump/01-pumpsinglematching/SimulationPumpSingleMatchingDlg.Designer.cs @@ -28,6 +28,7 @@ /// </summary> private void InitializeComponent() { + components = new Container(); ComponentResourceManager resources = new ComponentResourceManager(typeof(SimulationPumpSingleMatchingDlg)); ribbon = new DevExpress.XtraBars.Ribbon.RibbonControl(); barEditSearch = new DevExpress.XtraBars.BarEditItem(); @@ -45,11 +46,11 @@ barBtnOK = new DevExpress.XtraBars.BarButtonItem(); ribbonPage1 = new DevExpress.XtraBars.Ribbon.RibbonPage(); ribbonPageGroup1 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); - xtrPerform2dChart1 = new Yw.WinFrmUI.Phart.PumpViewChart(); sidePanel1 = new SidePanel(); sidePanel3 = new SidePanel(); layoutControl3 = new DevExpress.XtraLayout.LayoutControl(); gridControlCurve = new DevExpress.XtraGrid.GridControl(); + phartViewModelBindingSource = new BindingSource(components); gridViewCurve = new DevExpress.XtraGrid.Views.Grid.GridView(); gridColumn3 = new DevExpress.XtraGrid.Columns.GridColumn(); gridColumn2 = new DevExpress.XtraGrid.Columns.GridColumn(); @@ -63,6 +64,7 @@ layoutControlGroup5 = new DevExpress.XtraLayout.LayoutControlGroup(); layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem(); layoutControl1 = new DevExpress.XtraLayout.LayoutControl(); + pumpChartViewCtrl1 = new PumpChartViewCtrl(); Root = new DevExpress.XtraLayout.LayoutControlGroup(); layoutControlGroup1 = new DevExpress.XtraLayout.LayoutControlGroup(); layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem(); @@ -75,6 +77,7 @@ ((ISupportInitialize)layoutControl3).BeginInit(); layoutControl3.SuspendLayout(); ((ISupportInitialize)gridControlCurve).BeginInit(); + ((ISupportInitialize)phartViewModelBindingSource).BeginInit(); ((ISupportInitialize)gridViewCurve).BeginInit(); ((ISupportInitialize)layoutControlGroup6).BeginInit(); ((ISupportInitialize)layoutControlGroup7).BeginInit(); @@ -124,7 +127,7 @@ barEditSearch.EditWidth = 200; barEditSearch.Id = 1; barEditSearch.Name = "barEditSearch"; - // + // // repSearchCtrl // repSearchCtrl.AutoHeight = false; @@ -257,16 +260,6 @@ ribbonPageGroup1.Name = "ribbonPageGroup1"; ribbonPageGroup1.Text = "鎼滅储"; // - // xtrPerform2dChart1 - // - xtrPerform2dChart1.DefinePointVisible = false; - xtrPerform2dChart1.LineVisible = false; - xtrPerform2dChart1.Location = new Point(0, 22); - xtrPerform2dChart1.Margin = new Padding(1); - xtrPerform2dChart1.Name = "xtrPerform2dChart1"; - xtrPerform2dChart1.Size = new Size(526, 636); - xtrPerform2dChart1.TabIndex = 3; - // // sidePanel1 // sidePanel1.BorderThickness = 0; @@ -304,6 +297,7 @@ // // gridControlCurve // + gridControlCurve.DataSource = phartViewModelBindingSource; gridControlCurve.Location = new Point(0, 22); gridControlCurve.MainView = gridViewCurve; gridControlCurve.Margin = new Padding(0); @@ -311,6 +305,10 @@ gridControlCurve.Size = new Size(718, 315); gridControlCurve.TabIndex = 4; gridControlCurve.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { gridViewCurve }); + // + // phartViewModelBindingSource + // + phartViewModelBindingSource.DataSource = typeof(PhartViewModel); // // gridViewCurve // @@ -431,7 +429,7 @@ // // layoutControl1 // - layoutControl1.Controls.Add(xtrPerform2dChart1); + layoutControl1.Controls.Add(pumpChartViewCtrl1); layoutControl1.Dock = DockStyle.Fill; layoutControl1.Location = new Point(718, 57); layoutControl1.Margin = new Padding(2); @@ -441,6 +439,14 @@ layoutControl1.Size = new Size(526, 658); layoutControl1.TabIndex = 6; layoutControl1.Text = "layoutControl1"; + // + // pumpChartViewCtrl1 + // + pumpChartViewCtrl1.Location = new Point(2, 24); + pumpChartViewCtrl1.Margin = new Padding(2, 2, 2, 2); + pumpChartViewCtrl1.Name = "pumpChartViewCtrl1"; + pumpChartViewCtrl1.Size = new Size(522, 632); + pumpChartViewCtrl1.TabIndex = 4; // // Root // @@ -465,10 +471,9 @@ // // layoutControlItem1 // - layoutControlItem1.Control = xtrPerform2dChart1; + layoutControlItem1.Control = pumpChartViewCtrl1; layoutControlItem1.Location = new Point(0, 0); layoutControlItem1.Name = "layoutControlItem1"; - layoutControlItem1.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0); layoutControlItem1.Size = new Size(526, 636); layoutControlItem1.TextSize = new Size(0, 0); layoutControlItem1.TextVisible = false; @@ -482,7 +487,7 @@ Controls.Add(sidePanel1); Controls.Add(ribbon); Margin = new Padding(2); - Name = "PumpMatchingDlg"; + Name = "SimulationPumpSingleMatchingDlg"; Ribbon = ribbon; StartPosition = FormStartPosition.CenterScreen; Text = "閫夋嫨娉靛瀷鍙�"; @@ -495,6 +500,7 @@ ((ISupportInitialize)layoutControl3).EndInit(); layoutControl3.ResumeLayout(false); ((ISupportInitialize)gridControlCurve).EndInit(); + ((ISupportInitialize)phartViewModelBindingSource).EndInit(); ((ISupportInitialize)gridViewCurve).EndInit(); ((ISupportInitialize)layoutControlGroup6).EndInit(); ((ISupportInitialize)layoutControlGroup7).EndInit(); @@ -521,7 +527,6 @@ private DevExpress.XtraEditors.Repository.RepositoryItemSearchControl repSearchCtrl; private DevExpress.XtraBars.Ribbon.RibbonPage ribbonPage1; private DevExpress.XtraBars.Ribbon.RibbonPageGroup ribbonPageGroup1; - private Yw.WinFrmUI.Phart.PumpViewChart xtrPerform2dChart1; private SidePanel sidePanel1; private SidePanel sidePanel3; private DevExpress.XtraLayout.LayoutControl layoutControl3; @@ -552,6 +557,8 @@ private DevExpress.XtraLayout.LayoutControl layoutControl1; private DevExpress.XtraLayout.LayoutControlGroup Root; private DevExpress.XtraLayout.LayoutControlGroup layoutControlGroup1; + private PumpChartViewCtrl pumpChartViewCtrl1; private DevExpress.XtraLayout.LayoutControlItem layoutControlItem1; + private BindingSource phartViewModelBindingSource; } } \ No newline at end of file -- Gitblit v1.9.3