| | |
| | | /// </summary> |
| | | private void InitializeComponent() |
| | | { |
| | | components = new Container(); |
| | | ComponentResourceManager resources = new ComponentResourceManager(typeof(PumpMainChoicePage)); |
| | | layoutControl1 = new DevExpress.XtraLayout.LayoutControl(); |
| | | popupContainerControl2 = new DevExpress.XtraEditors.PopupContainerControl(); |
| | | gridControl1 = new DevExpress.XtraGrid.GridControl(); |
| | | hydroPumpViewModelBindingSource = new BindingSource(components); |
| | | gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView(); |
| | | popupContainerControl1 = new DevExpress.XtraEditors.PopupContainerControl(); |
| | | treeList1 = new DevExpress.XtraTreeList.TreeList(); |
| | | treeListColumn1 = new DevExpress.XtraTreeList.Columns.TreeListColumn(); |
| | | BtnAddPumpMain = new DevExpress.XtraEditors.SimpleButton(); |
| | | chartControl1 = new DevExpress.XtraCharts.ChartControl(); |
| | | TextPopupPumpChoice = new DevExpress.XtraEditors.PopupContainerEdit(); |
| | | pumpMainForm1 = new PumpMainForm(); |
| | | Root = new DevExpress.XtraLayout.LayoutControlGroup(); |
| | | layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | layoutControlItem5 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | emptySpaceItem1 = new DevExpress.XtraLayout.EmptySpaceItem(); |
| | | simpleLabelSearch = new DevExpress.XtraLayout.SimpleLabelItem(); |
| | | simpleLabelItemVagueSearch = new DevExpress.XtraLayout.SimpleLabelItem(); |
| | | layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | simpleLabelItem1 = new DevExpress.XtraLayout.SimpleLabelItem(); |
| | | simpleLabelItem2 = new DevExpress.XtraLayout.SimpleLabelItem(); |
| | | simpleLabelItem3 = new DevExpress.XtraLayout.SimpleLabelItem(); |
| | | simpleLabelItem4 = new DevExpress.XtraLayout.SimpleLabelItem(); |
| | | simpleLabelItem5 = new DevExpress.XtraLayout.SimpleLabelItem(); |
| | | simpleLabelItem6 = new DevExpress.XtraLayout.SimpleLabelItem(); |
| | | simpleLabelItem7 = new DevExpress.XtraLayout.SimpleLabelItem(); |
| | | simpleLabelItem8 = new DevExpress.XtraLayout.SimpleLabelItem(); |
| | | colCode = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colName = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colTagName = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colDescription = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colRatedFlow = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colRatedHead = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colD2 = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colErosion = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colRatedEfficiency = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colFlagsString = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colStartCode = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colEndCode = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colLinkStatus = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colRatedPower = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colRatedSpeed = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | ((ISupportInitialize)layoutControl1).BeginInit(); |
| | | layoutControl1.SuspendLayout(); |
| | | ((ISupportInitialize)popupContainerControl2).BeginInit(); |
| | | popupContainerControl2.SuspendLayout(); |
| | | colCurveQH = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colSpeedRatio = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colSpeedRatioPattern = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colPrice = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colPricePattern = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colCurveQE = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colDescription = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colIsMatching = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | tabPane1 = new DevExpress.XtraBars.Navigation.TabPane(); |
| | | tabNavigationPage1 = new DevExpress.XtraBars.Navigation.TabNavigationPage(); |
| | | tabNavigationPage2 = new DevExpress.XtraBars.Navigation.TabNavigationPage(); |
| | | ((ISupportInitialize)gridControl1).BeginInit(); |
| | | ((ISupportInitialize)hydroPumpViewModelBindingSource).BeginInit(); |
| | | ((ISupportInitialize)gridView1).BeginInit(); |
| | | ((ISupportInitialize)popupContainerControl1).BeginInit(); |
| | | popupContainerControl1.SuspendLayout(); |
| | | ((ISupportInitialize)treeList1).BeginInit(); |
| | | ((ISupportInitialize)chartControl1).BeginInit(); |
| | | ((ISupportInitialize)TextPopupPumpChoice.Properties).BeginInit(); |
| | | ((ISupportInitialize)Root).BeginInit(); |
| | | ((ISupportInitialize)layoutControlItem2).BeginInit(); |
| | | ((ISupportInitialize)layoutControlItem3).BeginInit(); |
| | | ((ISupportInitialize)layoutControlItem5).BeginInit(); |
| | | ((ISupportInitialize)emptySpaceItem1).BeginInit(); |
| | | ((ISupportInitialize)simpleLabelSearch).BeginInit(); |
| | | ((ISupportInitialize)simpleLabelItemVagueSearch).BeginInit(); |
| | | ((ISupportInitialize)layoutControlItem1).BeginInit(); |
| | | ((ISupportInitialize)layoutControlItem4).BeginInit(); |
| | | ((ISupportInitialize)simpleLabelItem1).BeginInit(); |
| | | ((ISupportInitialize)simpleLabelItem2).BeginInit(); |
| | | ((ISupportInitialize)simpleLabelItem3).BeginInit(); |
| | | ((ISupportInitialize)simpleLabelItem4).BeginInit(); |
| | | ((ISupportInitialize)simpleLabelItem5).BeginInit(); |
| | | ((ISupportInitialize)simpleLabelItem6).BeginInit(); |
| | | ((ISupportInitialize)simpleLabelItem7).BeginInit(); |
| | | ((ISupportInitialize)simpleLabelItem8).BeginInit(); |
| | | ((ISupportInitialize)tabPane1).BeginInit(); |
| | | tabPane1.SuspendLayout(); |
| | | tabNavigationPage2.SuspendLayout(); |
| | | SuspendLayout(); |
| | | // |
| | | // layoutControl1 |
| | | // |
| | | layoutControl1.Controls.Add(popupContainerControl2); |
| | | layoutControl1.Controls.Add(popupContainerControl1); |
| | | layoutControl1.Controls.Add(BtnAddPumpMain); |
| | | layoutControl1.Controls.Add(chartControl1); |
| | | layoutControl1.Controls.Add(TextPopupPumpChoice); |
| | | layoutControl1.Controls.Add(pumpMainForm1); |
| | | layoutControl1.Dock = DockStyle.Fill; |
| | | layoutControl1.Location = new Point(0, 0); |
| | | layoutControl1.Name = "layoutControl1"; |
| | | layoutControl1.OptionsCustomizationForm.DesignTimeCustomizationFormPositionAndSize = new Rectangle(564, 0, 650, 400); |
| | | layoutControl1.Root = Root; |
| | | layoutControl1.Size = new Size(960, 535); |
| | | layoutControl1.TabIndex = 0; |
| | | layoutControl1.Text = "layoutControl1"; |
| | | // |
| | | // popupContainerControl2 |
| | | // |
| | | popupContainerControl2.Controls.Add(gridControl1); |
| | | popupContainerControl2.Location = new Point(383, 169); |
| | | popupContainerControl2.Name = "popupContainerControl2"; |
| | | popupContainerControl2.Size = new Size(521, 304); |
| | | popupContainerControl2.TabIndex = 6; |
| | | // |
| | | // gridControl1 |
| | | // |
| | | gridControl1.DataSource = hydroPumpViewModelBindingSource; |
| | | gridControl1.Dock = DockStyle.Fill; |
| | | gridControl1.Location = new Point(0, 0); |
| | | gridControl1.MainView = gridView1; |
| | | gridControl1.Name = "gridControl1"; |
| | | gridControl1.Size = new Size(521, 304); |
| | | gridControl1.TabIndex = 0; |
| | | gridControl1.Size = new Size(960, 502); |
| | | gridControl1.TabIndex = 1; |
| | | gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { gridView1 }); |
| | | // |
| | | // hydroPumpViewModelBindingSource |
| | | // |
| | | hydroPumpViewModelBindingSource.DataSource = typeof(HydroPumpViewModel); |
| | | // |
| | | // gridView1 |
| | | // |
| | | gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { colName, colTagName, colDescription, colRatedFlow, colRatedHead, colD2, colErosion, colRatedEfficiency, colRatedPower, colRatedSpeed }); |
| | | gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { colCode, colName, colFlagsString, colStartCode, colEndCode, colLinkStatus, colRatedPower, colCurveQH, colSpeedRatio, colSpeedRatioPattern, colPrice, colPricePattern, colCurveQE, colDescription, colIsMatching }); |
| | | gridView1.GridControl = gridControl1; |
| | | gridView1.Name = "gridView1"; |
| | | gridView1.OptionsView.ShowGroupPanel = false; |
| | | // |
| | | // popupContainerControl1 |
| | | // colCode |
| | | // |
| | | popupContainerControl1.Controls.Add(treeList1); |
| | | popupContainerControl1.Location = new Point(42, 179); |
| | | popupContainerControl1.Name = "popupContainerControl1"; |
| | | popupContainerControl1.Size = new Size(200, 100); |
| | | popupContainerControl1.TabIndex = 5; |
| | | // |
| | | // treeList1 |
| | | // |
| | | treeList1.Columns.AddRange(new DevExpress.XtraTreeList.Columns.TreeListColumn[] { treeListColumn1 }); |
| | | treeList1.Dock = DockStyle.Fill; |
| | | treeList1.Location = new Point(0, 0); |
| | | treeList1.Name = "treeList1"; |
| | | treeList1.OptionsBehavior.Editable = false; |
| | | treeList1.OptionsView.ShowTreeLines = DevExpress.Utils.DefaultBoolean.True; |
| | | treeList1.Size = new Size(200, 100); |
| | | treeList1.TabIndex = 0; |
| | | treeList1.SelectionChanged += treeList1_SelectionChanged; |
| | | // |
| | | // treeListColumn1 |
| | | // |
| | | treeListColumn1.Caption = "名称"; |
| | | treeListColumn1.FieldName = "Name"; |
| | | treeListColumn1.Name = "treeListColumn1"; |
| | | treeListColumn1.Visible = true; |
| | | treeListColumn1.VisibleIndex = 0; |
| | | // |
| | | // BtnAddPumpMain |
| | | // |
| | | BtnAddPumpMain.Appearance.FontSizeDelta = 1; |
| | | BtnAddPumpMain.Appearance.Options.UseFont = true; |
| | | BtnAddPumpMain.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("BtnAddPumpMain.ImageOptions.SvgImage"); |
| | | BtnAddPumpMain.ImageOptions.SvgImageSize = new Size(20, 20); |
| | | BtnAddPumpMain.Location = new Point(425, 12); |
| | | BtnAddPumpMain.Name = "BtnAddPumpMain"; |
| | | BtnAddPumpMain.Size = new Size(86, 24); |
| | | BtnAddPumpMain.StyleController = layoutControl1; |
| | | BtnAddPumpMain.TabIndex = 3; |
| | | BtnAddPumpMain.Text = "新增型号"; |
| | | // |
| | | // chartControl1 |
| | | // |
| | | chartControl1.Legend.LegendID = -1; |
| | | chartControl1.Location = new Point(12, 200); |
| | | chartControl1.Name = "chartControl1"; |
| | | chartControl1.Size = new Size(936, 323); |
| | | chartControl1.TabIndex = 4; |
| | | // |
| | | // TextPopupPumpChoice |
| | | // |
| | | TextPopupPumpChoice.Location = new Point(88, 12); |
| | | TextPopupPumpChoice.Name = "TextPopupPumpChoice"; |
| | | TextPopupPumpChoice.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); |
| | | TextPopupPumpChoice.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.Standard; |
| | | TextPopupPumpChoice.Size = new Size(264, 20); |
| | | TextPopupPumpChoice.StyleController = layoutControl1; |
| | | TextPopupPumpChoice.TabIndex = 0; |
| | | // |
| | | // pumpMainForm1 |
| | | // |
| | | pumpMainForm1.Location = new Point(12, 40); |
| | | pumpMainForm1.Name = "pumpMainForm1"; |
| | | pumpMainForm1.Size = new Size(936, 156); |
| | | pumpMainForm1.TabIndex = 2; |
| | | // |
| | | // Root |
| | | // |
| | | Root.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True; |
| | | Root.GroupBordersVisible = false; |
| | | Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutControlItem2, layoutControlItem3, layoutControlItem5, emptySpaceItem1, simpleLabelSearch, simpleLabelItemVagueSearch, layoutControlItem1 }); |
| | | Root.Name = "Root"; |
| | | Root.Size = new Size(960, 535); |
| | | Root.TextVisible = false; |
| | | // |
| | | // layoutControlItem2 |
| | | // |
| | | layoutControlItem2.Control = pumpMainForm1; |
| | | layoutControlItem2.Location = new Point(0, 28); |
| | | layoutControlItem2.Name = "layoutControlItem2"; |
| | | layoutControlItem2.Size = new Size(940, 160); |
| | | layoutControlItem2.TextSize = new Size(0, 0); |
| | | layoutControlItem2.TextVisible = false; |
| | | // |
| | | // layoutControlItem3 |
| | | // |
| | | layoutControlItem3.Control = TextPopupPumpChoice; |
| | | layoutControlItem3.Location = new Point(0, 0); |
| | | layoutControlItem3.Name = "layoutControlItem3"; |
| | | layoutControlItem3.Size = new Size(344, 28); |
| | | layoutControlItem3.Text = "泵型号选择:"; |
| | | layoutControlItem3.TextSize = new Size(64, 14); |
| | | // |
| | | // layoutControlItem5 |
| | | // |
| | | layoutControlItem5.Control = chartControl1; |
| | | layoutControlItem5.Location = new Point(0, 188); |
| | | layoutControlItem5.Name = "layoutControlItem5"; |
| | | layoutControlItem5.Size = new Size(940, 327); |
| | | layoutControlItem5.TextSize = new Size(0, 0); |
| | | layoutControlItem5.TextVisible = false; |
| | | // |
| | | // emptySpaceItem1 |
| | | // |
| | | emptySpaceItem1.AllowHotTrack = false; |
| | | emptySpaceItem1.Location = new Point(503, 0); |
| | | emptySpaceItem1.Name = "emptySpaceItem1"; |
| | | emptySpaceItem1.Size = new Size(437, 28); |
| | | emptySpaceItem1.TextSize = new Size(0, 0); |
| | | // |
| | | // simpleLabelSearch |
| | | // |
| | | simpleLabelSearch.AllowHotTrack = false; |
| | | simpleLabelSearch.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("simpleLabelSearch.ImageOptions.SvgImage"); |
| | | simpleLabelSearch.ImageOptions.SvgImageSize = new Size(23, 23); |
| | | simpleLabelSearch.Location = new Point(344, 0); |
| | | simpleLabelSearch.Name = "simpleLabelSearch"; |
| | | simpleLabelSearch.Size = new Size(36, 28); |
| | | simpleLabelSearch.Text = " "; |
| | | simpleLabelSearch.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.AutoSize; |
| | | simpleLabelSearch.TextSize = new Size(32, 23); |
| | | simpleLabelSearch.Click += simpleLabelSearch_Click; |
| | | // |
| | | // simpleLabelItemVagueSearch |
| | | // |
| | | simpleLabelItemVagueSearch.AllowHotTrack = false; |
| | | simpleLabelItemVagueSearch.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("simpleLabelItemVagueSearch.ImageOptions.SvgImage"); |
| | | simpleLabelItemVagueSearch.ImageOptions.SvgImageSize = new Size(20, 20); |
| | | simpleLabelItemVagueSearch.Location = new Point(380, 0); |
| | | simpleLabelItemVagueSearch.Name = "simpleLabelItemVagueSearch"; |
| | | simpleLabelItemVagueSearch.Size = new Size(33, 28); |
| | | simpleLabelItemVagueSearch.Text = " "; |
| | | simpleLabelItemVagueSearch.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.AutoSize; |
| | | simpleLabelItemVagueSearch.TextSize = new Size(29, 20); |
| | | simpleLabelItemVagueSearch.Click += simpleLabelItemVagueSearch_Click; |
| | | // |
| | | // layoutControlItem1 |
| | | // |
| | | layoutControlItem1.Control = BtnAddPumpMain; |
| | | layoutControlItem1.Location = new Point(413, 0); |
| | | layoutControlItem1.Name = "layoutControlItem1"; |
| | | layoutControlItem1.Size = new Size(90, 28); |
| | | layoutControlItem1.TextSize = new Size(0, 0); |
| | | layoutControlItem1.TextVisible = false; |
| | | // |
| | | // layoutControlItem4 |
| | | // |
| | | layoutControlItem4.Location = new Point(0, 0); |
| | | layoutControlItem4.Name = "layoutControlItem4"; |
| | | layoutControlItem4.Size = new Size(351, 28); |
| | | layoutControlItem4.Text = "泵型号选择:"; |
| | | layoutControlItem4.TextSize = new Size(64, 14); |
| | | // |
| | | // simpleLabelItem1 |
| | | // |
| | | simpleLabelItem1.AllowHotTrack = false; |
| | | simpleLabelItem1.Location = new Point(0, 0); |
| | | simpleLabelItem1.Name = "simpleLabelItem1"; |
| | | simpleLabelItem1.Size = new Size(0, 0); |
| | | simpleLabelItem1.TextSize = new Size(50, 20); |
| | | // |
| | | // simpleLabelItem2 |
| | | // |
| | | simpleLabelItem2.AllowHotTrack = false; |
| | | simpleLabelItem2.Location = new Point(0, 0); |
| | | simpleLabelItem2.Name = "simpleLabelItem2"; |
| | | simpleLabelItem2.Size = new Size(0, 0); |
| | | simpleLabelItem2.TextSize = new Size(50, 20); |
| | | // |
| | | // simpleLabelItem3 |
| | | // |
| | | simpleLabelItem3.AllowHotTrack = false; |
| | | simpleLabelItem3.Location = new Point(0, 0); |
| | | simpleLabelItem3.Name = "simpleLabelItem3"; |
| | | simpleLabelItem3.Size = new Size(0, 0); |
| | | simpleLabelItem3.TextSize = new Size(50, 20); |
| | | // |
| | | // simpleLabelItem4 |
| | | // |
| | | simpleLabelItem4.AllowHotTrack = false; |
| | | simpleLabelItem4.Location = new Point(0, 0); |
| | | simpleLabelItem4.Name = "simpleLabelItem4"; |
| | | simpleLabelItem4.Size = new Size(0, 0); |
| | | simpleLabelItem4.TextSize = new Size(50, 20); |
| | | // |
| | | // simpleLabelItem5 |
| | | // |
| | | simpleLabelItem5.AllowHotTrack = false; |
| | | simpleLabelItem5.Location = new Point(0, 0); |
| | | simpleLabelItem5.Name = "simpleLabelItem5"; |
| | | simpleLabelItem5.Size = new Size(0, 0); |
| | | simpleLabelItem5.TextSize = new Size(50, 20); |
| | | // |
| | | // simpleLabelItem6 |
| | | // |
| | | simpleLabelItem6.AllowHotTrack = false; |
| | | simpleLabelItem6.Location = new Point(0, 0); |
| | | simpleLabelItem6.Name = "simpleLabelItem6"; |
| | | simpleLabelItem6.Size = new Size(0, 0); |
| | | simpleLabelItem6.TextSize = new Size(50, 20); |
| | | // |
| | | // simpleLabelItem7 |
| | | // |
| | | simpleLabelItem7.AllowHotTrack = false; |
| | | simpleLabelItem7.Location = new Point(0, 0); |
| | | simpleLabelItem7.Name = "simpleLabelItem7"; |
| | | simpleLabelItem7.Size = new Size(0, 0); |
| | | simpleLabelItem7.TextSize = new Size(50, 20); |
| | | // |
| | | // simpleLabelItem8 |
| | | // |
| | | simpleLabelItem8.AllowHotTrack = false; |
| | | simpleLabelItem8.Location = new Point(0, 0); |
| | | simpleLabelItem8.Name = "simpleLabelItem8"; |
| | | simpleLabelItem8.Size = new Size(0, 0); |
| | | simpleLabelItem8.TextSize = new Size(50, 20); |
| | | colCode.FieldName = "Code"; |
| | | colCode.Name = "colCode"; |
| | | colCode.Visible = true; |
| | | colCode.VisibleIndex = 0; |
| | | // |
| | | // colName |
| | | // |
| | | colName.Caption = "型号"; |
| | | colName.FieldName = "Name"; |
| | | colName.Name = "colName"; |
| | | colName.Visible = true; |
| | | colName.VisibleIndex = 0; |
| | | colName.VisibleIndex = 1; |
| | | // |
| | | // colTagName |
| | | // colFlagsString |
| | | // |
| | | colTagName.Caption = "标签"; |
| | | colTagName.FieldName = "TagName"; |
| | | colTagName.Name = "colTagName"; |
| | | colTagName.Visible = true; |
| | | colTagName.VisibleIndex = 1; |
| | | colFlagsString.FieldName = "FlagsString"; |
| | | colFlagsString.Name = "colFlagsString"; |
| | | colFlagsString.Visible = true; |
| | | colFlagsString.VisibleIndex = 2; |
| | | // |
| | | // colDescription |
| | | // colStartCode |
| | | // |
| | | colDescription.Caption = "说明"; |
| | | colDescription.FieldName = "Description"; |
| | | colDescription.Name = "colDescription"; |
| | | colDescription.Visible = true; |
| | | colDescription.VisibleIndex = 2; |
| | | colStartCode.FieldName = "StartCode"; |
| | | colStartCode.Name = "colStartCode"; |
| | | colStartCode.Visible = true; |
| | | colStartCode.VisibleIndex = 3; |
| | | // |
| | | // colRatedFlow |
| | | // colEndCode |
| | | // |
| | | colRatedFlow.Caption = "额定流量(m³/h)"; |
| | | colRatedFlow.FieldName = "RatedFlow"; |
| | | colRatedFlow.Name = "colRatedFlow"; |
| | | colRatedFlow.Visible = true; |
| | | colRatedFlow.VisibleIndex = 3; |
| | | colEndCode.FieldName = "EndCode"; |
| | | colEndCode.Name = "colEndCode"; |
| | | colEndCode.Visible = true; |
| | | colEndCode.VisibleIndex = 4; |
| | | // |
| | | // colRatedHead |
| | | // colLinkStatus |
| | | // |
| | | colRatedHead.Caption = "额定扬程(m)"; |
| | | colRatedHead.FieldName = "RatedHead"; |
| | | colRatedHead.Name = "colRatedHead"; |
| | | colRatedHead.Visible = true; |
| | | colRatedHead.VisibleIndex = 4; |
| | | // |
| | | // colD2 |
| | | // |
| | | colD2.Caption = "叶轮外径(mm)"; |
| | | colD2.FieldName = "D2"; |
| | | colD2.Name = "colD2"; |
| | | colD2.Visible = true; |
| | | colD2.VisibleIndex = 5; |
| | | // |
| | | // colErosion |
| | | // |
| | | colErosion.Caption = "气蚀"; |
| | | colErosion.FieldName = "Erosion"; |
| | | colErosion.Name = "colErosion"; |
| | | colErosion.Visible = true; |
| | | colErosion.VisibleIndex = 6; |
| | | // |
| | | // colRatedEfficiency |
| | | // |
| | | colRatedEfficiency.Caption = "额定效率"; |
| | | colRatedEfficiency.FieldName = "RatedEfficiency"; |
| | | colRatedEfficiency.Name = "colRatedEfficiency"; |
| | | colRatedEfficiency.Visible = true; |
| | | colRatedEfficiency.VisibleIndex = 7; |
| | | colLinkStatus.FieldName = "LinkStatus"; |
| | | colLinkStatus.Name = "colLinkStatus"; |
| | | colLinkStatus.Visible = true; |
| | | colLinkStatus.VisibleIndex = 5; |
| | | // |
| | | // colRatedPower |
| | | // |
| | | colRatedPower.Caption = "额定功率"; |
| | | colRatedPower.FieldName = "RatedPower"; |
| | | colRatedPower.Name = "colRatedPower"; |
| | | colRatedPower.Visible = true; |
| | | colRatedPower.VisibleIndex = 8; |
| | | colRatedPower.VisibleIndex = 6; |
| | | // |
| | | // colRatedSpeed |
| | | // colCurveQH |
| | | // |
| | | colRatedSpeed.Caption = "额定转速"; |
| | | colRatedSpeed.FieldName = "RatedSpeed"; |
| | | colRatedSpeed.Name = "colRatedSpeed"; |
| | | colRatedSpeed.Visible = true; |
| | | colRatedSpeed.VisibleIndex = 9; |
| | | colCurveQH.FieldName = "CurveQH"; |
| | | colCurveQH.Name = "colCurveQH"; |
| | | colCurveQH.Visible = true; |
| | | colCurveQH.VisibleIndex = 7; |
| | | // |
| | | // colSpeedRatio |
| | | // |
| | | colSpeedRatio.FieldName = "SpeedRatio"; |
| | | colSpeedRatio.Name = "colSpeedRatio"; |
| | | colSpeedRatio.Visible = true; |
| | | colSpeedRatio.VisibleIndex = 8; |
| | | // |
| | | // colSpeedRatioPattern |
| | | // |
| | | colSpeedRatioPattern.FieldName = "SpeedRatioPattern"; |
| | | colSpeedRatioPattern.Name = "colSpeedRatioPattern"; |
| | | colSpeedRatioPattern.Visible = true; |
| | | colSpeedRatioPattern.VisibleIndex = 9; |
| | | // |
| | | // colPrice |
| | | // |
| | | colPrice.FieldName = "Price"; |
| | | colPrice.Name = "colPrice"; |
| | | colPrice.Visible = true; |
| | | colPrice.VisibleIndex = 10; |
| | | // |
| | | // colPricePattern |
| | | // |
| | | colPricePattern.FieldName = "PricePattern"; |
| | | colPricePattern.Name = "colPricePattern"; |
| | | colPricePattern.Visible = true; |
| | | colPricePattern.VisibleIndex = 11; |
| | | // |
| | | // colCurveQE |
| | | // |
| | | colCurveQE.FieldName = "CurveQE"; |
| | | colCurveQE.Name = "colCurveQE"; |
| | | colCurveQE.Visible = true; |
| | | colCurveQE.VisibleIndex = 12; |
| | | // |
| | | // colDescription |
| | | // |
| | | colDescription.FieldName = "Description"; |
| | | colDescription.Name = "colDescription"; |
| | | colDescription.Visible = true; |
| | | colDescription.VisibleIndex = 13; |
| | | // |
| | | // colIsMatching |
| | | // |
| | | colIsMatching.FieldName = "IsMatching"; |
| | | colIsMatching.Name = "colIsMatching"; |
| | | colIsMatching.Visible = true; |
| | | colIsMatching.VisibleIndex = 14; |
| | | // |
| | | // tabPane1 |
| | | // |
| | | tabPane1.Controls.Add(tabNavigationPage1); |
| | | tabPane1.Controls.Add(tabNavigationPage2); |
| | | tabPane1.Dock = DockStyle.Fill; |
| | | tabPane1.Location = new Point(0, 0); |
| | | tabPane1.Name = "tabPane1"; |
| | | tabPane1.Pages.AddRange(new DevExpress.XtraBars.Navigation.NavigationPageBase[] { tabNavigationPage1, tabNavigationPage2 }); |
| | | tabPane1.RegularSize = new Size(960, 535); |
| | | tabPane1.SelectedPage = tabNavigationPage2; |
| | | tabPane1.Size = new Size(960, 535); |
| | | tabPane1.TabIndex = 0; |
| | | tabPane1.Text = "tabPane1"; |
| | | // |
| | | // tabNavigationPage1 |
| | | // |
| | | tabNavigationPage1.Caption = "错误明细"; |
| | | tabNavigationPage1.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("tabNavigationPage1.ImageOptions.SvgImage"); |
| | | tabNavigationPage1.ImageOptions.SvgImageSize = new Size(20, 20); |
| | | tabNavigationPage1.ItemShowMode = DevExpress.XtraBars.Navigation.ItemShowMode.ImageAndText; |
| | | tabNavigationPage1.Name = "tabNavigationPage1"; |
| | | tabNavigationPage1.Properties.ShowMode = DevExpress.XtraBars.Navigation.ItemShowMode.ImageAndText; |
| | | tabNavigationPage1.Size = new Size(960, 502); |
| | | // |
| | | // tabNavigationPage2 |
| | | // |
| | | tabNavigationPage2.Caption = "水泵匹配明细"; |
| | | tabNavigationPage2.Controls.Add(gridControl1); |
| | | tabNavigationPage2.Name = "tabNavigationPage2"; |
| | | tabNavigationPage2.Size = new Size(960, 502); |
| | | // |
| | | // PumpMainChoicePage |
| | | // |
| | | AutoScaleDimensions = new SizeF(7F, 14F); |
| | | AutoScaleMode = AutoScaleMode.Font; |
| | | Controls.Add(layoutControl1); |
| | | Controls.Add(tabPane1); |
| | | Name = "PumpMainChoicePage"; |
| | | Size = new Size(960, 535); |
| | | ((ISupportInitialize)layoutControl1).EndInit(); |
| | | layoutControl1.ResumeLayout(false); |
| | | ((ISupportInitialize)popupContainerControl2).EndInit(); |
| | | popupContainerControl2.ResumeLayout(false); |
| | | ((ISupportInitialize)gridControl1).EndInit(); |
| | | ((ISupportInitialize)hydroPumpViewModelBindingSource).EndInit(); |
| | | ((ISupportInitialize)gridView1).EndInit(); |
| | | ((ISupportInitialize)popupContainerControl1).EndInit(); |
| | | popupContainerControl1.ResumeLayout(false); |
| | | ((ISupportInitialize)treeList1).EndInit(); |
| | | ((ISupportInitialize)chartControl1).EndInit(); |
| | | ((ISupportInitialize)TextPopupPumpChoice.Properties).EndInit(); |
| | | ((ISupportInitialize)Root).EndInit(); |
| | | ((ISupportInitialize)layoutControlItem2).EndInit(); |
| | | ((ISupportInitialize)layoutControlItem3).EndInit(); |
| | | ((ISupportInitialize)layoutControlItem5).EndInit(); |
| | | ((ISupportInitialize)emptySpaceItem1).EndInit(); |
| | | ((ISupportInitialize)simpleLabelSearch).EndInit(); |
| | | ((ISupportInitialize)simpleLabelItemVagueSearch).EndInit(); |
| | | ((ISupportInitialize)layoutControlItem1).EndInit(); |
| | | ((ISupportInitialize)layoutControlItem4).EndInit(); |
| | | ((ISupportInitialize)simpleLabelItem1).EndInit(); |
| | | ((ISupportInitialize)simpleLabelItem2).EndInit(); |
| | | ((ISupportInitialize)simpleLabelItem3).EndInit(); |
| | | ((ISupportInitialize)simpleLabelItem4).EndInit(); |
| | | ((ISupportInitialize)simpleLabelItem5).EndInit(); |
| | | ((ISupportInitialize)simpleLabelItem6).EndInit(); |
| | | ((ISupportInitialize)simpleLabelItem7).EndInit(); |
| | | ((ISupportInitialize)simpleLabelItem8).EndInit(); |
| | | ((ISupportInitialize)tabPane1).EndInit(); |
| | | tabPane1.ResumeLayout(false); |
| | | tabNavigationPage2.ResumeLayout(false); |
| | | ResumeLayout(false); |
| | | } |
| | | |
| | | |
| | | #endregion |
| | | |
| | | private DevExpress.XtraLayout.LayoutControl layoutControl1; |
| | | private DevExpress.XtraLayout.LayoutControlGroup Root; |
| | | private PumpMainForm pumpMainForm1; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem2; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem4; |
| | | private DevExpress.XtraEditors.PopupContainerEdit TextPopupPumpChoice; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem3; |
| | | private DevExpress.XtraLayout.SimpleLabelItem simpleLabelItem1; |
| | | private DevExpress.XtraLayout.SimpleLabelItem simpleLabelItem2; |
| | | private DevExpress.XtraLayout.SimpleLabelItem simpleLabelItem3; |
| | | private DevExpress.XtraLayout.SimpleLabelItem simpleLabelItem4; |
| | | private DevExpress.XtraLayout.SimpleLabelItem simpleLabelItem5; |
| | | private DevExpress.XtraLayout.SimpleLabelItem simpleLabelItem6; |
| | | private DevExpress.XtraLayout.SimpleLabelItem simpleLabelItem7; |
| | | private DevExpress.XtraLayout.SimpleLabelItem simpleLabelItem8; |
| | | private DevExpress.XtraCharts.ChartControl chartControl1; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem5; |
| | | private DevExpress.XtraEditors.SimpleButton BtnAddPumpMain; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem1; |
| | | private DevExpress.XtraLayout.EmptySpaceItem emptySpaceItem1; |
| | | private DevExpress.XtraLayout.SimpleLabelItem simpleLabelSearch; |
| | | private DevExpress.XtraLayout.SimpleLabelItem simpleLabelItemVagueSearch; |
| | | private DevExpress.XtraEditors.PopupContainerControl popupContainerControl1; |
| | | private DevExpress.XtraTreeList.TreeList treeList1; |
| | | private DevExpress.XtraTreeList.Columns.TreeListColumn treeListColumn1; |
| | | private DevExpress.XtraEditors.PopupContainerControl popupContainerControl2; |
| | | private DevExpress.XtraBars.Navigation.TabPane tabPane1; |
| | | private DevExpress.XtraBars.Navigation.TabNavigationPage tabNavigationPage1; |
| | | private DevExpress.XtraBars.Navigation.TabNavigationPage tabNavigationPage2; |
| | | private DevExpress.XtraGrid.GridControl gridControl1; |
| | | private DevExpress.XtraGrid.Views.Grid.GridView gridView1; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colCode; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colName; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colTagName; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colDescription; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colRatedFlow; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colRatedHead; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colD2; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colErosion; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colRatedEfficiency; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colFlagsString; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colStartCode; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colEndCode; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colLinkStatus; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colRatedPower; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colRatedSpeed; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colCurveQH; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colSpeedRatio; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colSpeedRatioPattern; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colPrice; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colPricePattern; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colCurveQE; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colDescription; |
| | | private BindingSource hydroPumpViewModelBindingSource; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colIsMatching; |
| | | } |
| | | } |