| | |
| | | |
| | | namespace HStation.WinFrmUI.Xhs.PumpProduct |
| | | namespace 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> |
| | |
| | | |
| | | #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(); |
| | |
| | | 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(); |
| | |
| | | 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 }); |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 }); |
| | | // |
| | |
| | | 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; |
| | |
| | | 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; |
| | |
| | | colDescription.FieldName = "Description"; |
| | | colDescription.Name = "colDescription"; |
| | | colDescription.Visible = true; |
| | | colDescription.VisibleIndex = 10; |
| | | colDescription.VisibleIndex = 9; |
| | | colDescription.Width = 134; |
| | | // |
| | | // colRatedFlow |
| | |
| | | // |
| | | 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; |
| | |
| | | // |
| | | 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; |
| | |
| | | // |
| | | 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; |
| | |
| | | // |
| | | // colRatedSpeed |
| | | // |
| | | colRatedSpeed.Caption = "额定转速"; |
| | | colRatedSpeed.Caption = "额定转速(r/min)"; |
| | | colRatedSpeed.FieldName = "RatedSpeed"; |
| | | colRatedSpeed.Name = "colRatedSpeed"; |
| | | colRatedSpeed.Visible = true; |
| | |
| | | // |
| | | 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"; |
| | | // |
| | |
| | | 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"; |
| | | // |
| | |
| | | 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 |
| | |
| | | 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; |
| | | // |
| | |
| | | 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; |
| | |
| | | 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; |
| | |
| | | private DevExpress.XtraBars.BarButtonItem BarBtnEidtPumpProp; |
| | | private DevExpress.XtraBars.BarButtonItem BtnDeleteAssetsPumpSeries; |
| | | } |
| | | } |
| | | } |