| | |
| | | /// </summary> |
| | | private void InitializeComponent() |
| | | { |
| | | components = new Container(); |
| | | layoutControl1 = new DevExpress.XtraLayout.LayoutControl(); |
| | | gridControl1 = new DevExpress.XtraGrid.GridControl(); |
| | | phartViewModelBindingSource = new BindingSource(components); |
| | | gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView(); |
| | | gridColumn3 = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | gridColumn2 = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | |
| | | colName = 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(); |
| | | colRatedPower = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colRatedSpeed = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | xtrPerform2dChart1 = new Yw.WinFrmUI.Phart.PumpPerformChart(); |
| | | xtrPerform2dChart1 = new Yw.WinFrmUI.Phart.PumpViewChart(); |
| | | searchControl1 = new SearchControl(); |
| | | Root = new DevExpress.XtraLayout.LayoutControlGroup(); |
| | | layoutControlGroup1 = new DevExpress.XtraLayout.LayoutControlGroup(); |
| | |
| | | ((ISupportInitialize)layoutControl1).BeginInit(); |
| | | layoutControl1.SuspendLayout(); |
| | | ((ISupportInitialize)gridControl1).BeginInit(); |
| | | ((ISupportInitialize)phartViewModelBindingSource).BeginInit(); |
| | | ((ISupportInitialize)gridView1).BeginInit(); |
| | | ((ISupportInitialize)gridControl2).BeginInit(); |
| | | ((ISupportInitialize)gridView2).BeginInit(); |
| | |
| | | // |
| | | // gridControl1 |
| | | // |
| | | gridControl1.DataSource = phartViewModelBindingSource; |
| | | gridControl1.Location = new Point(12, 425); |
| | | gridControl1.MainView = gridView1; |
| | | gridControl1.Margin = new Padding(0); |
| | | gridControl1.Name = "gridControl1"; |
| | | gridControl1.Size = new Size(739, 170); |
| | | gridControl1.Size = new Size(653, 170); |
| | | gridControl1.TabIndex = 4; |
| | | gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { gridView1 }); |
| | | // |
| | | // phartViewModelBindingSource |
| | | // |
| | | phartViewModelBindingSource.DataSource = typeof(PhartViewModel); |
| | | // |
| | | // gridView1 |
| | | // |
| | |
| | | gridColumn3.Caption = "排序码"; |
| | | gridColumn3.FieldName = "SortCode"; |
| | | gridColumn3.Name = "gridColumn3"; |
| | | gridColumn3.Visible = true; |
| | | gridColumn3.VisibleIndex = 2; |
| | | // |
| | | // gridColumn2 |
| | | // |
| | |
| | | gridControl2.Location = new Point(12, 58); |
| | | gridControl2.MainView = gridView2; |
| | | gridControl2.Name = "gridControl2"; |
| | | gridControl2.Size = new Size(739, 341); |
| | | gridControl2.Size = new Size(653, 341); |
| | | gridControl2.TabIndex = 3; |
| | | gridControl2.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { gridView2 }); |
| | | // |
| | |
| | | // |
| | | gridView2.Appearance.HeaderPanel.Options.UseTextOptions = true; |
| | | gridView2.Appearance.HeaderPanel.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; |
| | | gridView2.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { colName, colRatedFlow, colRatedHead, colD2, colErosion, colRatedEfficiency, colRatedPower, colRatedSpeed }); |
| | | gridView2.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { colName, colRatedFlow, colRatedHead, colRatedEfficiency, colRatedPower, colRatedSpeed }); |
| | | gridView2.GridControl = gridControl2; |
| | | gridView2.Name = "gridView2"; |
| | | gridView2.OptionsView.ShowGroupPanel = false; |
| | |
| | | colRatedHead.VisibleIndex = 2; |
| | | colRatedHead.Width = 110; |
| | | // |
| | | // colD2 |
| | | // |
| | | colD2.Caption = "叶轮外径(mm)"; |
| | | colD2.FieldName = "D2"; |
| | | colD2.Name = "colD2"; |
| | | colD2.Visible = true; |
| | | colD2.VisibleIndex = 3; |
| | | colD2.Width = 125; |
| | | // |
| | | // colErosion |
| | | // |
| | | colErosion.Caption = "气蚀"; |
| | | colErosion.FieldName = "Erosion"; |
| | | colErosion.Name = "colErosion"; |
| | | colErosion.Visible = true; |
| | | colErosion.VisibleIndex = 4; |
| | | colErosion.Width = 72; |
| | | // |
| | | // colRatedEfficiency |
| | | // |
| | | colRatedEfficiency.Caption = "额定效率"; |
| | | colRatedEfficiency.FieldName = "RatedEfficiency"; |
| | | colRatedEfficiency.Name = "colRatedEfficiency"; |
| | | colRatedEfficiency.Visible = true; |
| | | colRatedEfficiency.VisibleIndex = 5; |
| | | colRatedEfficiency.VisibleIndex = 3; |
| | | colRatedEfficiency.Width = 82; |
| | | // |
| | | // colRatedPower |
| | |
| | | colRatedPower.FieldName = "RatedPower"; |
| | | colRatedPower.Name = "colRatedPower"; |
| | | colRatedPower.Visible = true; |
| | | colRatedPower.VisibleIndex = 6; |
| | | colRatedPower.VisibleIndex = 4; |
| | | // |
| | | // colRatedSpeed |
| | | // |
| | |
| | | colRatedSpeed.FieldName = "RatedSpeed"; |
| | | colRatedSpeed.Name = "colRatedSpeed"; |
| | | colRatedSpeed.Visible = true; |
| | | colRatedSpeed.VisibleIndex = 7; |
| | | colRatedSpeed.VisibleIndex = 5; |
| | | colRatedSpeed.Width = 79; |
| | | // |
| | | // xtrPerform2dChart1 |
| | | // |
| | | xtrPerform2dChart1.DefinePointVisible = false; |
| | | xtrPerform2dChart1.LineVisible = false; |
| | | xtrPerform2dChart1.Location = new Point(763, 42); |
| | | xtrPerform2dChart1.Location = new Point(677, 42); |
| | | xtrPerform2dChart1.Margin = new Padding(2, 2, 2, 2); |
| | | xtrPerform2dChart1.Name = "xtrPerform2dChart1"; |
| | | xtrPerform2dChart1.Size = new Size(560, 545); |
| | | xtrPerform2dChart1.Size = new Size(646, 545); |
| | | xtrPerform2dChart1.TabIndex = 2; |
| | | // |
| | | // searchControl1 |
| | |
| | | layoutControlGroup1.AppearanceGroup.Options.UseFont = true; |
| | | layoutControlGroup1.GroupStyle = DevExpress.Utils.GroupStyle.Title; |
| | | layoutControlGroup1.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutControlItem2 }); |
| | | layoutControlGroup1.Location = new Point(743, 0); |
| | | layoutControlGroup1.Location = new Point(657, 0); |
| | | layoutControlGroup1.Name = "layoutControlGroup1"; |
| | | layoutControlGroup1.Padding = new DevExpress.XtraLayout.Utils.Padding(8, 8, 8, 8); |
| | | layoutControlGroup1.Size = new Size(580, 587); |
| | | layoutControlGroup1.Size = new Size(666, 587); |
| | | layoutControlGroup1.Text = "曲线视图"; |
| | | // |
| | | // layoutControlItem2 |
| | |
| | | layoutControlItem2.Location = new Point(0, 0); |
| | | layoutControlItem2.Name = "layoutControlItem2"; |
| | | layoutControlItem2.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0); |
| | | layoutControlItem2.Size = new Size(560, 545); |
| | | layoutControlItem2.Size = new Size(646, 545); |
| | | layoutControlItem2.TextSize = new Size(0, 0); |
| | | layoutControlItem2.TextVisible = false; |
| | | // |
| | |
| | | simpleLabelItem1.AllowHotTrack = false; |
| | | simpleLabelItem1.Location = new Point(441, 0); |
| | | simpleLabelItem1.Name = "simpleLabelItem1"; |
| | | simpleLabelItem1.Size = new Size(302, 24); |
| | | simpleLabelItem1.Size = new Size(216, 24); |
| | | simpleLabelItem1.Text = " "; |
| | | simpleLabelItem1.TextSize = new Size(4, 14); |
| | | // |
| | |
| | | layoutControlGroup2.Location = new Point(0, 391); |
| | | layoutControlGroup2.Name = "layoutControlGroup2"; |
| | | layoutControlGroup2.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0); |
| | | layoutControlGroup2.Size = new Size(743, 196); |
| | | layoutControlGroup2.Size = new Size(657, 196); |
| | | layoutControlGroup2.Text = "曲线列表"; |
| | | // |
| | | // layoutControlItem3 |
| | |
| | | layoutControlItem3.Location = new Point(0, 0); |
| | | layoutControlItem3.Name = "layoutControlItem3"; |
| | | layoutControlItem3.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0); |
| | | layoutControlItem3.Size = new Size(739, 170); |
| | | layoutControlItem3.Size = new Size(653, 170); |
| | | layoutControlItem3.TextSize = new Size(0, 0); |
| | | layoutControlItem3.TextVisible = false; |
| | | // |
| | |
| | | layoutControlGroup3.Location = new Point(0, 24); |
| | | layoutControlGroup3.Name = "layoutControlGroup3"; |
| | | layoutControlGroup3.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0); |
| | | layoutControlGroup3.Size = new Size(743, 367); |
| | | layoutControlGroup3.Size = new Size(657, 367); |
| | | layoutControlGroup3.Text = "泵型号列表"; |
| | | // |
| | | // layoutControlItem4 |
| | |
| | | layoutControlItem4.Location = new Point(0, 0); |
| | | layoutControlItem4.Name = "layoutControlItem4"; |
| | | layoutControlItem4.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0); |
| | | layoutControlItem4.Size = new Size(739, 341); |
| | | layoutControlItem4.Size = new Size(653, 341); |
| | | layoutControlItem4.TextSize = new Size(0, 0); |
| | | layoutControlItem4.TextVisible = false; |
| | | // |
| | |
| | | ((ISupportInitialize)layoutControl1).EndInit(); |
| | | layoutControl1.ResumeLayout(false); |
| | | ((ISupportInitialize)gridControl1).EndInit(); |
| | | ((ISupportInitialize)phartViewModelBindingSource).EndInit(); |
| | | ((ISupportInitialize)gridView1).EndInit(); |
| | | ((ISupportInitialize)gridControl2).EndInit(); |
| | | ((ISupportInitialize)gridView2).EndInit(); |
| | |
| | | private DevExpress.XtraLayout.LayoutControlGroup layoutControlGroup1; |
| | | private DevExpress.XtraEditors.SearchControl searchControl1; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem1; |
| | | private Yw.WinFrmUI.Phart.PumpPerformChart xtrPerform2dChart1; |
| | | private Yw.WinFrmUI.Phart.PumpViewChart xtrPerform2dChart1; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem2; |
| | | private DevExpress.XtraGrid.GridControl gridControl2; |
| | | private DevExpress.XtraGrid.Views.Grid.GridView gridView2; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colName; |
| | | 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 colRatedPower; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colRatedSpeed; |
| | |
| | | private DevExpress.XtraGrid.Columns.GridColumn gridColumn1; |
| | | private DevExpress.XtraGrid.Columns.GridColumn gridColumn3; |
| | | private DevExpress.XtraGrid.Columns.GridColumn gridColumn2; |
| | | private BindingSource phartViewModelBindingSource; |
| | | } |
| | | } |