| | |
| | | { |
| | | components = new Container(); |
| | | ComponentResourceManager resources = new ComponentResourceManager(typeof(SystemCurvePage)); |
| | | DevExpress.XtraCharts.XYDiagram xyDiagram1 = new DevExpress.XtraCharts.XYDiagram(); |
| | | DevExpress.XtraCharts.ConstantLine constantLine1 = new DevExpress.XtraCharts.ConstantLine(); |
| | | DevExpress.XtraCharts.ConstantLine constantLine2 = new DevExpress.XtraCharts.ConstantLine(); |
| | | DevExpress.XtraCharts.Series series1 = new DevExpress.XtraCharts.Series(); |
| | | DevExpress.XtraCharts.PointSeriesView pointSeriesView1 = new DevExpress.XtraCharts.PointSeriesView(); |
| | | DevExpress.XtraCharts.Series series2 = new DevExpress.XtraCharts.Series(); |
| | | DevExpress.XtraCharts.LineSeriesView lineSeriesView1 = new DevExpress.XtraCharts.LineSeriesView(); |
| | | DevExpress.XtraCharts.Series series3 = new DevExpress.XtraCharts.Series(); |
| | | DevExpress.XtraCharts.LineSeriesView lineSeriesView2 = new DevExpress.XtraCharts.LineSeriesView(); |
| | | DevExpress.XtraCharts.Series series4 = new DevExpress.XtraCharts.Series(); |
| | | DevExpress.XtraCharts.LineSeriesView lineSeriesView3 = new DevExpress.XtraCharts.LineSeriesView(); |
| | | ribbonControl1 = new DevExpress.XtraBars.Ribbon.RibbonControl(); |
| | | barBtnCalc = new DevExpress.XtraBars.BarButtonItem(); |
| | | ribbonPage = new DevExpress.XtraBars.Ribbon.RibbonPage(); |
| | | ribbonPageGroup1 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); |
| | | chartControl1 = new DevExpress.XtraCharts.ChartControl(); |
| | | dockManager1 = new DevExpress.XtraBars.Docking.DockManager(components); |
| | | dockPanel1 = new DevExpress.XtraBars.Docking.DockPanel(); |
| | | dockPanelFacility = new DevExpress.XtraBars.Docking.DockPanel(); |
| | | dockPanel1_Container = new DevExpress.XtraBars.Docking.ControlContainer(); |
| | | facilityTreeListCtrl1 = new FacilityTreeListCtrl(); |
| | | dockPanelFacilityInfo = new DevExpress.XtraBars.Docking.DockPanel(); |
| | | controlContainer1 = new DevExpress.XtraBars.Docking.ControlContainer(); |
| | | facilityPropertyCtrl1 = new FacilityPropertyCtrl(); |
| | | dockPanelSystemCurve = new DevExpress.XtraBars.Docking.DockPanel(); |
| | | dockPanel2_Container = new DevExpress.XtraBars.Docking.ControlContainer(); |
| | | dockPanel3 = new DevExpress.XtraBars.Docking.DockPanel(); |
| | | systemCurveChartCtrl1 = new SystemCurveChartCtrl(); |
| | | ((ISupportInitialize)ribbonControl1).BeginInit(); |
| | | ((ISupportInitialize)chartControl1).BeginInit(); |
| | | ((ISupportInitialize)xyDiagram1).BeginInit(); |
| | | ((ISupportInitialize)constantLine1).BeginInit(); |
| | | ((ISupportInitialize)constantLine2).BeginInit(); |
| | | ((ISupportInitialize)series1).BeginInit(); |
| | | ((ISupportInitialize)pointSeriesView1).BeginInit(); |
| | | ((ISupportInitialize)series2).BeginInit(); |
| | | ((ISupportInitialize)lineSeriesView1).BeginInit(); |
| | | ((ISupportInitialize)series3).BeginInit(); |
| | | ((ISupportInitialize)lineSeriesView2).BeginInit(); |
| | | ((ISupportInitialize)series4).BeginInit(); |
| | | ((ISupportInitialize)lineSeriesView3).BeginInit(); |
| | | ((ISupportInitialize)dockManager1).BeginInit(); |
| | | dockPanel1.SuspendLayout(); |
| | | dockPanelFacility.SuspendLayout(); |
| | | dockPanel1_Container.SuspendLayout(); |
| | | dockPanelFacilityInfo.SuspendLayout(); |
| | | controlContainer1.SuspendLayout(); |
| | | dockPanelSystemCurve.SuspendLayout(); |
| | | dockPanel2_Container.SuspendLayout(); |
| | | SuspendLayout(); |
| | | // |
| | | // ribbonControl1 |
| | |
| | | ribbonPageGroup1.Name = "ribbonPageGroup1"; |
| | | ribbonPageGroup1.Text = "ribbonPageGroup1"; |
| | | // |
| | | // chartControl1 |
| | | // |
| | | xyDiagram1.AxisX.GridLines.Visible = true; |
| | | xyDiagram1.AxisX.Title.Text = "流量 m³/h"; |
| | | xyDiagram1.AxisX.Title.Visibility = DefaultBoolean.True; |
| | | xyDiagram1.AxisX.VisibleInPanesSerializable = "-1"; |
| | | constantLine1.AxisValueSerializable = "5"; |
| | | constantLine1.ConstantLineID = 0; |
| | | constantLine1.LineStyle.DashStyle = DevExpress.XtraCharts.DashStyle.Dash; |
| | | constantLine1.LineStyle.LineJoin = System.Drawing.Drawing2D.LineJoin.MiterClipped; |
| | | constantLine1.Name = "ConstantLineDynamicPressure"; |
| | | constantLine1.Title.Text = "动压"; |
| | | constantLine1.Title.TextColor = Color.FromArgb(0, 0, 0); |
| | | constantLine2.AxisValueSerializable = "1"; |
| | | constantLine2.ConstantLineID = 1; |
| | | constantLine2.LineStyle.DashStyle = DevExpress.XtraCharts.DashStyle.Dash; |
| | | constantLine2.Name = "ConstantLineStaticPressure"; |
| | | constantLine2.Title.Text = "静压"; |
| | | constantLine2.Title.TextColor = Color.FromArgb(0, 0, 0); |
| | | xyDiagram1.AxisY.ConstantLines.AddRange(new DevExpress.XtraCharts.ConstantLine[] { constantLine1, constantLine2 }); |
| | | xyDiagram1.AxisY.Title.Text = "压力 m"; |
| | | xyDiagram1.AxisY.Title.Visibility = DefaultBoolean.True; |
| | | xyDiagram1.AxisY.VisibleInPanesSerializable = "-1"; |
| | | chartControl1.Diagram = xyDiagram1; |
| | | chartControl1.Dock = DockStyle.Fill; |
| | | chartControl1.Legend.AlignmentHorizontal = DevExpress.XtraCharts.LegendAlignmentHorizontal.Center; |
| | | chartControl1.Legend.AlignmentVertical = DevExpress.XtraCharts.LegendAlignmentVertical.Bottom; |
| | | chartControl1.Legend.BackColor = Color.Transparent; |
| | | chartControl1.Legend.EnableAntialiasing = DefaultBoolean.True; |
| | | chartControl1.Legend.LegendID = -1; |
| | | chartControl1.Legend.MarkerMode = DevExpress.XtraCharts.LegendMarkerMode.CheckBoxAndMarker; |
| | | chartControl1.Legend.MarkerSize = new Size(20, 14); |
| | | chartControl1.Legend.Title.Text = "用户点"; |
| | | chartControl1.Legend.Title.TextColor = Color.FromArgb(0, 0, 0); |
| | | chartControl1.Legend.Visibility = DefaultBoolean.True; |
| | | chartControl1.Location = new Point(200, 128); |
| | | chartControl1.Name = "chartControl1"; |
| | | series1.Name = "SeriesWaterPoint"; |
| | | series1.SeriesID = 1; |
| | | pointSeriesView1.Color = Color.FromArgb(198, 217, 240); |
| | | series1.View = pointSeriesView1; |
| | | series2.Name = "SeriesUpperPressure"; |
| | | series2.SeriesID = 2; |
| | | lineSeriesView1.Color = Color.FromArgb(192, 80, 77); |
| | | series2.View = lineSeriesView1; |
| | | series3.Name = "SeriesLowerPressure"; |
| | | series3.SeriesID = 3; |
| | | lineSeriesView2.Color = Color.FromArgb(255, 192, 0); |
| | | series3.View = lineSeriesView2; |
| | | series4.Name = "SeriesAveragePressure"; |
| | | series4.SeriesID = 4; |
| | | lineSeriesView3.Color = Color.FromArgb(84, 141, 212); |
| | | series4.View = lineSeriesView3; |
| | | chartControl1.SeriesSerializable = new DevExpress.XtraCharts.Series[] |
| | | { |
| | | series1, |
| | | series2, |
| | | series3, |
| | | series4 |
| | | }; |
| | | chartControl1.Size = new Size(735, 748); |
| | | chartControl1.TabIndex = 1; |
| | | // |
| | | // dockManager1 |
| | | // |
| | | dockManager1.DockingOptions.ShowCloseButton = false; |
| | | dockManager1.Form = this; |
| | | dockManager1.RootPanels.AddRange(new DevExpress.XtraBars.Docking.DockPanel[] { dockPanelFacility }); |
| | | dockManager1.RootPanels.AddRange(new DevExpress.XtraBars.Docking.DockPanel[] { dockPanel1, dockPanelSystemCurve }); |
| | | dockManager1.Style = DevExpress.XtraBars.Docking2010.Views.DockingViewStyle.Light; |
| | | 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.Controls.Add(dockPanelFacility); |
| | | dockPanel1.Controls.Add(dockPanelFacilityInfo); |
| | | dockPanel1.Dock = DevExpress.XtraBars.Docking.DockingStyle.Left; |
| | | dockPanel1.ID = new Guid("2c1d97a8-1155-44a8-a74b-283ad637b2ad"); |
| | | dockPanel1.Location = new Point(0, 128); |
| | | dockPanel1.Name = "dockPanel1"; |
| | | dockPanel1.OriginalSize = new Size(200, 200); |
| | | dockPanel1.Size = new Size(200, 748); |
| | | dockPanel1.Text = "panelContainer1"; |
| | | // |
| | | // dockPanelFacility |
| | | // |
| | | dockPanelFacility.Controls.Add(dockPanel1_Container); |
| | | dockPanelFacility.Dock = DevExpress.XtraBars.Docking.DockingStyle.Left; |
| | | dockPanelFacility.Dock = DevExpress.XtraBars.Docking.DockingStyle.Fill; |
| | | dockPanelFacility.ID = new Guid("e1b77bab-37ab-4458-82ee-0d2599abded8"); |
| | | dockPanelFacility.Location = new Point(0, 128); |
| | | dockPanelFacility.Location = new Point(0, 0); |
| | | dockPanelFacility.Name = "dockPanelFacility"; |
| | | dockPanelFacility.OriginalSize = new Size(200, 200); |
| | | dockPanelFacility.Size = new Size(200, 748); |
| | | dockPanelFacility.Text = "设施列表"; |
| | | dockPanelFacility.OriginalSize = new Size(200, 239); |
| | | dockPanelFacility.Size = new Size(200, 360); |
| | | dockPanelFacility.Text = "设施"; |
| | | // |
| | | // dockPanel1_Container |
| | | // |
| | | dockPanel1_Container.Controls.Add(facilityTreeListCtrl1); |
| | | dockPanel1_Container.Location = new Point(0, 28); |
| | | dockPanel1_Container.Name = "dockPanel1_Container"; |
| | | dockPanel1_Container.Size = new Size(199, 720); |
| | | dockPanel1_Container.Size = new Size(199, 332); |
| | | dockPanel1_Container.TabIndex = 0; |
| | | // |
| | | // facilityTreeListCtrl1 |
| | |
| | | facilityTreeListCtrl1.Location = new Point(0, 0); |
| | | facilityTreeListCtrl1.Margin = new Padding(3, 4, 3, 4); |
| | | facilityTreeListCtrl1.Name = "facilityTreeListCtrl1"; |
| | | facilityTreeListCtrl1.Size = new Size(199, 720); |
| | | facilityTreeListCtrl1.Size = new Size(199, 332); |
| | | facilityTreeListCtrl1.TabIndex = 0; |
| | | // |
| | | // dockPanelFacilityInfo |
| | | // |
| | | dockPanelFacilityInfo.Controls.Add(controlContainer1); |
| | | dockPanelFacilityInfo.Dock = DevExpress.XtraBars.Docking.DockingStyle.Fill; |
| | | dockPanelFacilityInfo.FloatVertical = true; |
| | | dockPanelFacilityInfo.ID = new Guid("2d64890b-71d7-4ff0-8d0d-751cf41150db"); |
| | | dockPanelFacilityInfo.Location = new Point(0, 360); |
| | | dockPanelFacilityInfo.Name = "dockPanelFacilityInfo"; |
| | | dockPanelFacilityInfo.OriginalSize = new Size(200, 257); |
| | | dockPanelFacilityInfo.Size = new Size(200, 388); |
| | | dockPanelFacilityInfo.Text = "设施详情"; |
| | | // |
| | | // controlContainer1 |
| | | // |
| | | controlContainer1.Controls.Add(facilityPropertyCtrl1); |
| | | controlContainer1.Location = new Point(0, 29); |
| | | controlContainer1.Name = "controlContainer1"; |
| | | controlContainer1.Size = new Size(199, 359); |
| | | controlContainer1.TabIndex = 0; |
| | | // |
| | | // facilityPropertyCtrl1 |
| | | // |
| | | facilityPropertyCtrl1.AllowEdit = false; |
| | | facilityPropertyCtrl1.Dock = DockStyle.Fill; |
| | | facilityPropertyCtrl1.Location = new Point(0, 0); |
| | | facilityPropertyCtrl1.Margin = new Padding(3, 4, 3, 4); |
| | | facilityPropertyCtrl1.Name = "facilityPropertyCtrl1"; |
| | | facilityPropertyCtrl1.Size = new Size(199, 359); |
| | | facilityPropertyCtrl1.TabIndex = 0; |
| | | // |
| | | // dockPanelSystemCurve |
| | | // |
| | | dockPanelSystemCurve.Controls.Add(dockPanel2_Container); |
| | | dockPanelSystemCurve.Dock = DevExpress.XtraBars.Docking.DockingStyle.Fill; |
| | | dockPanelSystemCurve.ID = new Guid("b52e9177-c222-4bf9-a0d2-c8d98d2cf86f"); |
| | | dockPanelSystemCurve.Location = new Point(200, 128); |
| | | dockPanelSystemCurve.Name = "dockPanelSystemCurve"; |
| | | dockPanelSystemCurve.OriginalSize = new Size(200, 200); |
| | | dockPanelSystemCurve.SavedDock = DevExpress.XtraBars.Docking.DockingStyle.Right; |
| | | dockPanelSystemCurve.SavedIndex = 1; |
| | | dockPanelSystemCurve.Size = new Size(735, 748); |
| | | dockPanelSystemCurve.Text = "系统曲线"; |
| | | // |
| | | // dockPanel2_Container |
| | | // |
| | | dockPanel2_Container.Controls.Add(systemCurveChartCtrl1); |
| | | dockPanel2_Container.Location = new Point(0, 28); |
| | | dockPanel2_Container.Name = "dockPanel2_Container"; |
| | | dockPanel2_Container.Size = new Size(735, 720); |
| | | dockPanel2_Container.TabIndex = 0; |
| | | // |
| | | // dockPanel3 |
| | | // |
| | | dockPanel3.Dock = DevExpress.XtraBars.Docking.DockingStyle.Right; |
| | | dockPanel3.ID = new Guid("72a0e2c4-1384-4c74-b762-5d013703e877"); |
| | | dockPanel3.Location = new Point(735, 128); |
| | | dockPanel3.Name = "dockPanel3"; |
| | | dockPanel3.OriginalSize = new Size(200, 200); |
| | | dockPanel3.Size = new Size(200, 748); |
| | | dockPanel3.Tabbed = true; |
| | | dockPanel3.Text = "panelContainer1"; |
| | | // |
| | | // systemCurveChartCtrl1 |
| | | // |
| | | systemCurveChartCtrl1.Dock = DockStyle.Fill; |
| | | systemCurveChartCtrl1.Location = new Point(0, 0); |
| | | systemCurveChartCtrl1.Margin = new Padding(3, 4, 3, 4); |
| | | systemCurveChartCtrl1.Name = "systemCurveChartCtrl1"; |
| | | systemCurveChartCtrl1.Size = new Size(735, 720); |
| | | systemCurveChartCtrl1.TabIndex = 0; |
| | | // |
| | | // SystemCurvePage |
| | | // |
| | |
| | | Appearance.Options.UseBackColor = true; |
| | | AutoScaleDimensions = new SizeF(8F, 18F); |
| | | AutoScaleMode = AutoScaleMode.Font; |
| | | Controls.Add(chartControl1); |
| | | Controls.Add(dockPanelFacility); |
| | | Controls.Add(dockPanelSystemCurve); |
| | | Controls.Add(dockPanel1); |
| | | Controls.Add(ribbonControl1); |
| | | Margin = new Padding(3, 5, 3, 5); |
| | | Name = "SystemCurvePage"; |
| | | Size = new Size(935, 876); |
| | | ((ISupportInitialize)ribbonControl1).EndInit(); |
| | | ((ISupportInitialize)constantLine1).EndInit(); |
| | | ((ISupportInitialize)constantLine2).EndInit(); |
| | | ((ISupportInitialize)xyDiagram1).EndInit(); |
| | | ((ISupportInitialize)pointSeriesView1).EndInit(); |
| | | ((ISupportInitialize)series1).EndInit(); |
| | | ((ISupportInitialize)lineSeriesView1).EndInit(); |
| | | ((ISupportInitialize)series2).EndInit(); |
| | | ((ISupportInitialize)lineSeriesView2).EndInit(); |
| | | ((ISupportInitialize)series3).EndInit(); |
| | | ((ISupportInitialize)lineSeriesView3).EndInit(); |
| | | ((ISupportInitialize)series4).EndInit(); |
| | | ((ISupportInitialize)chartControl1).EndInit(); |
| | | ((ISupportInitialize)dockManager1).EndInit(); |
| | | dockPanel1.ResumeLayout(false); |
| | | dockPanelFacility.ResumeLayout(false); |
| | | dockPanel1_Container.ResumeLayout(false); |
| | | dockPanelFacilityInfo.ResumeLayout(false); |
| | | controlContainer1.ResumeLayout(false); |
| | | dockPanelSystemCurve.ResumeLayout(false); |
| | | dockPanel2_Container.ResumeLayout(false); |
| | | ResumeLayout(false); |
| | | PerformLayout(); |
| | | } |
| | |
| | | private DevExpress.XtraBars.Ribbon.RibbonPage ribbonPage; |
| | | private DevExpress.XtraBars.BarButtonItem barBtnCalc; |
| | | private DevExpress.XtraBars.Ribbon.RibbonPageGroup ribbonPageGroup1; |
| | | private DevExpress.XtraCharts.ChartControl chartControl1; |
| | | private DevExpress.XtraBars.Docking.DockManager dockManager1; |
| | | private DevExpress.XtraBars.Docking.DockPanel dockPanelFacility; |
| | | private DevExpress.XtraBars.Docking.ControlContainer dockPanel1_Container; |
| | | private FacilityTreeListCtrl facilityTreeListCtrl1; |
| | | private DevExpress.XtraBars.Docking.DockPanel dockPanel3; |
| | | private DevExpress.XtraBars.Docking.DockPanel dockPanelFacilityInfo; |
| | | private DevExpress.XtraBars.Docking.ControlContainer controlContainer1; |
| | | private DevExpress.XtraBars.Docking.DockPanel dockPanelSystemCurve; |
| | | private DevExpress.XtraBars.Docking.ControlContainer dockPanel2_Container; |
| | | private FacilityPropertyCtrl facilityPropertyCtrl1; |
| | | private DevExpress.XtraBars.Docking.DockPanel dockPanel1; |
| | | private SystemCurveChartCtrl systemCurveChartCtrl1; |
| | | } |
| | | } |