| | |
| | | private void InitializeComponent() |
| | | { |
| | | components = new System.ComponentModel.Container(); |
| | | DevExpress.XtraCharts.TextAnnotation textAnnotation2 = new DevExpress.XtraCharts.TextAnnotation(); |
| | | DevExpress.XtraCharts.ChartAnchorPoint chartAnchorPoint2 = new DevExpress.XtraCharts.ChartAnchorPoint(); |
| | | DevExpress.XtraCharts.RelativePosition relativePosition2 = new DevExpress.XtraCharts.RelativePosition(); |
| | | DevExpress.XtraCharts.XYDiagram xyDiagram2 = new DevExpress.XtraCharts.XYDiagram(); |
| | | DevExpress.XtraCharts.ConstantLine constantLine2 = new DevExpress.XtraCharts.ConstantLine(); |
| | | DevExpress.XtraCharts.XYDiagramPane xyDiagramPane3 = new DevExpress.XtraCharts.XYDiagramPane(); |
| | | DevExpress.XtraCharts.XYDiagramPane xyDiagramPane4 = new DevExpress.XtraCharts.XYDiagramPane(); |
| | | DevExpress.XtraCharts.SecondaryAxisY secondaryAxisy3 = new DevExpress.XtraCharts.SecondaryAxisY(); |
| | | DevExpress.XtraCharts.SecondaryAxisY secondaryAxisy4 = new DevExpress.XtraCharts.SecondaryAxisY(); |
| | | DevExpress.XtraCharts.Series series4 = new DevExpress.XtraCharts.Series(); |
| | | DevExpress.XtraCharts.SplineSeriesView splineSeriesView4 = new DevExpress.XtraCharts.SplineSeriesView(); |
| | | DevExpress.XtraCharts.Series series5 = new DevExpress.XtraCharts.Series(); |
| | | DevExpress.XtraCharts.SplineSeriesView splineSeriesView5 = new DevExpress.XtraCharts.SplineSeriesView(); |
| | | DevExpress.XtraCharts.Series series6 = new DevExpress.XtraCharts.Series(); |
| | | DevExpress.XtraCharts.SplineSeriesView splineSeriesView6 = new DevExpress.XtraCharts.SplineSeriesView(); |
| | | DevExpress.XtraCharts.TextAnnotation textAnnotation1 = new DevExpress.XtraCharts.TextAnnotation(); |
| | | DevExpress.XtraCharts.ChartAnchorPoint chartAnchorPoint1 = new DevExpress.XtraCharts.ChartAnchorPoint(); |
| | | DevExpress.XtraCharts.RelativePosition relativePosition1 = new DevExpress.XtraCharts.RelativePosition(); |
| | | DevExpress.XtraCharts.XYDiagram xyDiagram1 = new DevExpress.XtraCharts.XYDiagram(); |
| | | DevExpress.XtraCharts.ConstantLine constantLine1 = new DevExpress.XtraCharts.ConstantLine(); |
| | | DevExpress.XtraCharts.XYDiagramPane xyDiagramPane1 = new DevExpress.XtraCharts.XYDiagramPane(); |
| | | DevExpress.XtraCharts.XYDiagramPane xyDiagramPane2 = new DevExpress.XtraCharts.XYDiagramPane(); |
| | | DevExpress.XtraCharts.SecondaryAxisY secondaryAxisy1 = new DevExpress.XtraCharts.SecondaryAxisY(); |
| | | DevExpress.XtraCharts.SecondaryAxisY secondaryAxisy2 = new DevExpress.XtraCharts.SecondaryAxisY(); |
| | | DevExpress.XtraCharts.Series series1 = new DevExpress.XtraCharts.Series(); |
| | | DevExpress.XtraCharts.SplineSeriesView splineSeriesView1 = new DevExpress.XtraCharts.SplineSeriesView(); |
| | | DevExpress.XtraCharts.Series series2 = new DevExpress.XtraCharts.Series(); |
| | | DevExpress.XtraCharts.SplineSeriesView splineSeriesView2 = new DevExpress.XtraCharts.SplineSeriesView(); |
| | | DevExpress.XtraCharts.Series series3 = new DevExpress.XtraCharts.Series(); |
| | | DevExpress.XtraCharts.SplineSeriesView splineSeriesView3 = new DevExpress.XtraCharts.SplineSeriesView(); |
| | | System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(PumpSerialParallelChart)); |
| | | chartControl1 = new DevExpress.XtraCharts.ChartControl(); |
| | | popMenuChart = new DevExpress.XtraBars.PopupMenu(components); |
| | |
| | | barCekCurveQHVisible = new DevExpress.XtraBars.BarCheckItem(); |
| | | barCekCurveQEVisible = new DevExpress.XtraBars.BarCheckItem(); |
| | | barCekCurveQPVisible = new DevExpress.XtraBars.BarCheckItem(); |
| | | barCekCurveEQVisible = new DevExpress.XtraBars.BarCheckItem(); |
| | | barCekLineVisible = new DevExpress.XtraBars.BarCheckItem(); |
| | | barCekCurveNameVisible = new DevExpress.XtraBars.BarCheckItem(); |
| | | barCekSetAxisNameVisible = new DevExpress.XtraBars.BarCheckItem(); |
| | | barCekLegendVisible = new DevExpress.XtraBars.BarCheckItem(); |
| | | barManager1 = new DevExpress.XtraBars.BarManager(components); |
| | | barDockControlTop = new DevExpress.XtraBars.BarDockControl(); |
| | | barDockControlBottom = new DevExpress.XtraBars.BarDockControl(); |
| | | barDockControlLeft = new DevExpress.XtraBars.BarDockControl(); |
| | | barDockControlRight = new DevExpress.XtraBars.BarDockControl(); |
| | | barBtnSetAxisQValue = new DevExpress.XtraBars.BarButtonItem(); |
| | | barCekCurveEQVisible = new DevExpress.XtraBars.BarCheckItem(); |
| | | popMenuLine = new DevExpress.XtraBars.PopupMenu(components); |
| | | bar1 = new DevExpress.XtraBars.Bar(); |
| | | barMenu = new DevExpress.XtraBars.Bar(); |
| | | barSubMenuVisible = new DevExpress.XtraBars.BarSubItem(); |
| | | barSubMenuEdit = new DevExpress.XtraBars.BarSubItem(); |
| | | barSubMenuQuery = new DevExpress.XtraBars.BarSubItem(); |
| | | barBtnSetAxisQValue = new DevExpress.XtraBars.BarButtonItem(); |
| | | barDockControlTop = new DevExpress.XtraBars.BarDockControl(); |
| | | barDockControlBottom = new DevExpress.XtraBars.BarDockControl(); |
| | | barDockControlLeft = new DevExpress.XtraBars.BarDockControl(); |
| | | barDockControlRight = new DevExpress.XtraBars.BarDockControl(); |
| | | popMenuLine = new DevExpress.XtraBars.PopupMenu(components); |
| | | bar1 = new DevExpress.XtraBars.Bar(); |
| | | ((System.ComponentModel.ISupportInitialize)chartControl1).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)textAnnotation2).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)xyDiagram2).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)constantLine2).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)xyDiagramPane3).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)xyDiagramPane4).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)secondaryAxisy3).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)secondaryAxisy4).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)series4).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)splineSeriesView4).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)series5).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)splineSeriesView5).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)series6).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)splineSeriesView6).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)textAnnotation1).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)xyDiagram1).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)constantLine1).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)xyDiagramPane1).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)xyDiagramPane2).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)secondaryAxisy1).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)secondaryAxisy2).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)series1).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)splineSeriesView1).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)series2).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)splineSeriesView2).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)series3).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)splineSeriesView3).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)popMenuChart).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)barManager1).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)popMenuLine).BeginInit(); |
| | |
| | | // |
| | | // chartControl1 |
| | | // |
| | | chartAnchorPoint2.X = 937; |
| | | chartAnchorPoint2.Y = 207; |
| | | textAnnotation2.AnchorPoint = chartAnchorPoint2; |
| | | textAnnotation2.AnnotationID = 0; |
| | | textAnnotation2.AutoHeight = true; |
| | | textAnnotation2.AutoWidth = true; |
| | | textAnnotation2.BackColor = Color.FromArgb(255, 255, 255); |
| | | textAnnotation2.ConnectorStyle = DevExpress.XtraCharts.AnnotationConnectorStyle.None; |
| | | textAnnotation2.Name = "TextAnnoWorkPoint"; |
| | | relativePosition2.Angle = -212.10625595511783D; |
| | | relativePosition2.ConnectorLength = 60.207972893961475D; |
| | | textAnnotation2.ShapePosition = relativePosition2; |
| | | textAnnotation2.Text = "工作点"; |
| | | textAnnotation2.TextColor = Color.FromArgb(0, 0, 0); |
| | | chartControl1.AnnotationRepository.AddRange(new DevExpress.XtraCharts.Annotation[] { textAnnotation2 }); |
| | | chartAnchorPoint1.X = 937; |
| | | chartAnchorPoint1.Y = 207; |
| | | textAnnotation1.AnchorPoint = chartAnchorPoint1; |
| | | textAnnotation1.AnnotationID = 0; |
| | | textAnnotation1.AutoHeight = true; |
| | | textAnnotation1.AutoWidth = true; |
| | | textAnnotation1.BackColor = Color.FromArgb(255, 255, 255); |
| | | textAnnotation1.ConnectorStyle = DevExpress.XtraCharts.AnnotationConnectorStyle.None; |
| | | textAnnotation1.Name = "TextAnnoWorkPoint"; |
| | | relativePosition1.Angle = -212.10625595511783D; |
| | | relativePosition1.ConnectorLength = 60.207972893961475D; |
| | | textAnnotation1.ShapePosition = relativePosition1; |
| | | textAnnotation1.Text = "工作点"; |
| | | textAnnotation1.TextColor = Color.FromArgb(0, 0, 0); |
| | | chartControl1.AnnotationRepository.AddRange(new DevExpress.XtraCharts.Annotation[] { textAnnotation1 }); |
| | | chartControl1.BorderOptions.Visibility = DevExpress.Utils.DefaultBoolean.False; |
| | | constantLine2.AxisValueSerializable = "1"; |
| | | constantLine2.ConstantLineID = 0; |
| | | constantLine2.LineStyle.LineJoin = System.Drawing.Drawing2D.LineJoin.Miter; |
| | | constantLine2.LineStyle.Thickness = 2; |
| | | constantLine2.Name = "WorkPointLine"; |
| | | constantLine2.ShowInLegend = false; |
| | | constantLine2.Title.DXFont = new DevExpress.Drawing.DXFont("Tahoma", 8F); |
| | | constantLine2.Title.Text = "工作点"; |
| | | xyDiagram2.AxisX.ConstantLines.AddRange(new DevExpress.XtraCharts.ConstantLine[] { constantLine2 }); |
| | | xyDiagram2.AxisX.Title.Text = "流量 (m³/h)"; |
| | | xyDiagram2.AxisX.Title.Visibility = DevExpress.Utils.DefaultBoolean.Default; |
| | | xyDiagram2.AxisX.VisibleInPanesSerializable = "-1"; |
| | | xyDiagram2.AxisY.Color = Color.DodgerBlue; |
| | | xyDiagram2.AxisY.Label.TextColor = Color.DodgerBlue; |
| | | xyDiagram2.AxisY.Title.Alignment = StringAlignment.Far; |
| | | xyDiagram2.AxisY.Title.EnableAntialiasing = DevExpress.Utils.DefaultBoolean.False; |
| | | xyDiagram2.AxisY.Title.Text = "扬程/m"; |
| | | xyDiagram2.AxisY.Title.TextColor = Color.DodgerBlue; |
| | | xyDiagram2.AxisY.Title.Visibility = DevExpress.Utils.DefaultBoolean.True; |
| | | xyDiagram2.AxisY.VisibleInPanesSerializable = "-1"; |
| | | xyDiagram2.DefaultPane.BorderVisible = false; |
| | | xyDiagram2.DefaultPane.Title.Text = "无数据"; |
| | | xyDiagramPane3.BorderVisible = false; |
| | | xyDiagramPane3.Name = "PaneQE"; |
| | | xyDiagramPane3.PaneID = 0; |
| | | xyDiagramPane4.BorderVisible = false; |
| | | xyDiagramPane4.Name = "PaneQP"; |
| | | xyDiagramPane4.PaneID = 1; |
| | | xyDiagramPane4.RuntimeCollapse = DevExpress.Utils.DefaultBoolean.False; |
| | | xyDiagramPane4.SelectionRectangle.BorderVisible = false; |
| | | xyDiagram2.Panes.AddRange(new DevExpress.XtraCharts.XYDiagramPane[] { xyDiagramPane3, xyDiagramPane4 }); |
| | | secondaryAxisy3.AxisID = 0; |
| | | secondaryAxisy3.Color = Color.Green; |
| | | secondaryAxisy3.Label.Border.Visibility = DevExpress.Utils.DefaultBoolean.False; |
| | | secondaryAxisy3.Label.TextColor = Color.Green; |
| | | secondaryAxisy3.Name = "AxisYQE"; |
| | | secondaryAxisy3.Title.Text = "效率/%"; |
| | | secondaryAxisy3.Title.TextColor = Color.Green; |
| | | secondaryAxisy3.Title.Visibility = DevExpress.Utils.DefaultBoolean.Default; |
| | | secondaryAxisy3.VisibleInPanesSerializable = "0"; |
| | | secondaryAxisy4.Alignment = DevExpress.XtraCharts.AxisAlignment.Near; |
| | | secondaryAxisy4.AxisID = 1; |
| | | secondaryAxisy4.Label.Border.Visibility = DevExpress.Utils.DefaultBoolean.False; |
| | | secondaryAxisy4.Label.TextColor = Color.Crimson; |
| | | secondaryAxisy4.Name = "AxisYQP"; |
| | | secondaryAxisy4.NumericScaleOptions.AutoGrid = false; |
| | | secondaryAxisy4.NumericScaleOptions.GridSpacing = 2D; |
| | | secondaryAxisy4.Title.Alignment = StringAlignment.Near; |
| | | secondaryAxisy4.Title.Text = "功率/kW"; |
| | | secondaryAxisy4.Title.TextColor = Color.Crimson; |
| | | secondaryAxisy4.Title.Visibility = DevExpress.Utils.DefaultBoolean.Default; |
| | | secondaryAxisy4.VisibleInPanesSerializable = "1"; |
| | | xyDiagram2.SecondaryAxesY.AddRange(new DevExpress.XtraCharts.SecondaryAxisY[] { secondaryAxisy3, secondaryAxisy4 }); |
| | | chartControl1.Diagram = xyDiagram2; |
| | | constantLine1.AxisValueSerializable = "1"; |
| | | constantLine1.ConstantLineID = 0; |
| | | constantLine1.LineStyle.LineJoin = System.Drawing.Drawing2D.LineJoin.Miter; |
| | | constantLine1.LineStyle.Thickness = 2; |
| | | constantLine1.Name = "WorkPointLine"; |
| | | constantLine1.ShowInLegend = false; |
| | | constantLine1.Title.DXFont = new DevExpress.Drawing.DXFont("Tahoma", 8F); |
| | | constantLine1.Title.Text = "工作点"; |
| | | xyDiagram1.AxisX.ConstantLines.AddRange(new DevExpress.XtraCharts.ConstantLine[] { constantLine1 }); |
| | | xyDiagram1.AxisX.Title.Text = "流量 (m³/h)"; |
| | | xyDiagram1.AxisX.Title.Visibility = DevExpress.Utils.DefaultBoolean.Default; |
| | | xyDiagram1.AxisX.VisibleInPanesSerializable = "-1"; |
| | | xyDiagram1.AxisY.Color = Color.DodgerBlue; |
| | | xyDiagram1.AxisY.Label.TextColor = Color.DodgerBlue; |
| | | xyDiagram1.AxisY.Title.Alignment = StringAlignment.Far; |
| | | xyDiagram1.AxisY.Title.EnableAntialiasing = DevExpress.Utils.DefaultBoolean.False; |
| | | xyDiagram1.AxisY.Title.Text = "扬程/m"; |
| | | xyDiagram1.AxisY.Title.TextColor = Color.DodgerBlue; |
| | | xyDiagram1.AxisY.Title.Visibility = DevExpress.Utils.DefaultBoolean.True; |
| | | xyDiagram1.AxisY.VisibleInPanesSerializable = "-1"; |
| | | xyDiagram1.DefaultPane.BorderVisible = false; |
| | | xyDiagram1.DefaultPane.Title.Text = "无数据"; |
| | | xyDiagramPane1.BorderVisible = false; |
| | | xyDiagramPane1.Name = "PaneQE"; |
| | | xyDiagramPane1.PaneID = 0; |
| | | xyDiagramPane2.BorderVisible = false; |
| | | xyDiagramPane2.Name = "PaneQP"; |
| | | xyDiagramPane2.PaneID = 1; |
| | | xyDiagramPane2.RuntimeCollapse = DevExpress.Utils.DefaultBoolean.False; |
| | | xyDiagramPane2.SelectionRectangle.BorderVisible = false; |
| | | xyDiagram1.Panes.AddRange(new DevExpress.XtraCharts.XYDiagramPane[] { xyDiagramPane1, xyDiagramPane2 }); |
| | | secondaryAxisy1.AxisID = 0; |
| | | secondaryAxisy1.Color = Color.Green; |
| | | secondaryAxisy1.Label.Border.Visibility = DevExpress.Utils.DefaultBoolean.False; |
| | | secondaryAxisy1.Label.TextColor = Color.Green; |
| | | secondaryAxisy1.Name = "AxisYQE"; |
| | | secondaryAxisy1.Title.Text = "效率/%"; |
| | | secondaryAxisy1.Title.TextColor = Color.Green; |
| | | secondaryAxisy1.Title.Visibility = DevExpress.Utils.DefaultBoolean.Default; |
| | | secondaryAxisy1.VisibleInPanesSerializable = "0"; |
| | | secondaryAxisy2.Alignment = DevExpress.XtraCharts.AxisAlignment.Near; |
| | | secondaryAxisy2.AxisID = 1; |
| | | secondaryAxisy2.Label.Border.Visibility = DevExpress.Utils.DefaultBoolean.False; |
| | | secondaryAxisy2.Label.TextColor = Color.Crimson; |
| | | secondaryAxisy2.Name = "AxisYQP"; |
| | | secondaryAxisy2.NumericScaleOptions.AutoGrid = false; |
| | | secondaryAxisy2.NumericScaleOptions.GridSpacing = 2D; |
| | | secondaryAxisy2.Title.Alignment = StringAlignment.Near; |
| | | secondaryAxisy2.Title.Text = "功率/kW"; |
| | | secondaryAxisy2.Title.TextColor = Color.Crimson; |
| | | secondaryAxisy2.Title.Visibility = DevExpress.Utils.DefaultBoolean.Default; |
| | | secondaryAxisy2.VisibleInPanesSerializable = "1"; |
| | | xyDiagram1.SecondaryAxesY.AddRange(new DevExpress.XtraCharts.SecondaryAxisY[] { secondaryAxisy1, secondaryAxisy2 }); |
| | | chartControl1.Diagram = xyDiagram1; |
| | | chartControl1.Dock = DockStyle.Fill; |
| | | chartControl1.Legend.AlignmentHorizontal = DevExpress.XtraCharts.LegendAlignmentHorizontal.Right; |
| | | chartControl1.Legend.Border.Visibility = DevExpress.Utils.DefaultBoolean.False; |
| | |
| | | chartControl1.Legend.LegendID = -1; |
| | | chartControl1.Legend.MarkerMode = DevExpress.XtraCharts.LegendMarkerMode.CheckBoxAndMarker; |
| | | chartControl1.Legend.Visibility = DevExpress.Utils.DefaultBoolean.False; |
| | | chartControl1.Location = new Point(0, 31); |
| | | chartControl1.Location = new Point(0, 34); |
| | | chartControl1.Name = "chartControl1"; |
| | | series4.Name = "SeriesQH"; |
| | | series4.SeriesID = 0; |
| | | splineSeriesView4.Color = Color.FromArgb(84, 141, 212); |
| | | series4.View = splineSeriesView4; |
| | | series5.Name = "SeriesQE"; |
| | | series5.SeriesID = 1; |
| | | splineSeriesView5.AxisYName = "AxisYQE"; |
| | | splineSeriesView5.Color = Color.FromArgb(155, 187, 89); |
| | | splineSeriesView5.PaneName = "PaneQE"; |
| | | series5.View = splineSeriesView5; |
| | | series6.Name = "SeriesQP"; |
| | | series6.SeriesID = 2; |
| | | splineSeriesView6.AxisYName = "AxisYQP"; |
| | | splineSeriesView6.Color = Color.FromArgb(192, 0, 0); |
| | | splineSeriesView6.PaneName = "PaneQP"; |
| | | series6.View = splineSeriesView6; |
| | | series1.Name = "SeriesQH"; |
| | | series1.SeriesID = 0; |
| | | splineSeriesView1.Color = Color.FromArgb(84, 141, 212); |
| | | series1.View = splineSeriesView1; |
| | | series2.Name = "SeriesQE"; |
| | | series2.SeriesID = 1; |
| | | splineSeriesView2.AxisYName = "AxisYQE"; |
| | | splineSeriesView2.Color = Color.FromArgb(155, 187, 89); |
| | | splineSeriesView2.PaneName = "PaneQE"; |
| | | series2.View = splineSeriesView2; |
| | | series3.Name = "SeriesQP"; |
| | | series3.SeriesID = 2; |
| | | splineSeriesView3.AxisYName = "AxisYQP"; |
| | | splineSeriesView3.Color = Color.FromArgb(192, 0, 0); |
| | | splineSeriesView3.PaneName = "PaneQP"; |
| | | series3.View = splineSeriesView3; |
| | | chartControl1.SeriesSerializable = new DevExpress.XtraCharts.Series[] |
| | | { |
| | | series4, |
| | | series5, |
| | | series6 |
| | | series1, |
| | | series2, |
| | | series3 |
| | | }; |
| | | chartControl1.Size = new Size(1023, 826); |
| | | chartControl1.Size = new Size(1023, 823); |
| | | chartControl1.TabIndex = 0; |
| | | // |
| | | // popMenuChart |
| | | // |
| | | popMenuChart.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(barBtnSetChartAxis), new DevExpress.XtraBars.LinkPersistInfo(barCekCurveQHVisible, true), new DevExpress.XtraBars.LinkPersistInfo(barCekCurveQEVisible), new DevExpress.XtraBars.LinkPersistInfo(barCekCurveQPVisible), new DevExpress.XtraBars.LinkPersistInfo(barCekLineVisible, true), new DevExpress.XtraBars.LinkPersistInfo(barCekCurveNameVisible), new DevExpress.XtraBars.LinkPersistInfo(barCekSetAxisNameVisible), new DevExpress.XtraBars.LinkPersistInfo(barCekLegendVisible) }); |
| | | popMenuChart.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(barBtnSetChartAxis), new DevExpress.XtraBars.LinkPersistInfo(barCekCurveQHVisible, true), new DevExpress.XtraBars.LinkPersistInfo(barCekCurveQEVisible), new DevExpress.XtraBars.LinkPersistInfo(barCekCurveQPVisible), new DevExpress.XtraBars.LinkPersistInfo(barCekCurveEQVisible), new DevExpress.XtraBars.LinkPersistInfo(barCekLineVisible, true), new DevExpress.XtraBars.LinkPersistInfo(barCekCurveNameVisible), new DevExpress.XtraBars.LinkPersistInfo(barCekSetAxisNameVisible), new DevExpress.XtraBars.LinkPersistInfo(barCekLegendVisible) }); |
| | | popMenuChart.Manager = barManager1; |
| | | popMenuChart.Name = "popMenuChart"; |
| | | // |
| | |
| | | barCekCurveQPVisible.Name = "barCekCurveQPVisible"; |
| | | barCekCurveQPVisible.CheckedChanged += barCekCurveQPVisible_CheckedChanged; |
| | | // |
| | | // barCekCurveEQVisible |
| | | // |
| | | barCekCurveEQVisible.BindableChecked = true; |
| | | barCekCurveEQVisible.Caption = "装置线"; |
| | | barCekCurveEQVisible.Checked = true; |
| | | barCekCurveEQVisible.Id = 22; |
| | | barCekCurveEQVisible.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("barCekCurveEQVisible.ImageOptions.SvgImage"); |
| | | barCekCurveEQVisible.Name = "barCekCurveEQVisible"; |
| | | barCekCurveEQVisible.CheckedChanged += barCekCurveEQVisible_CheckedChanged; |
| | | // |
| | | // barCekLineVisible |
| | | // |
| | | barCekLineVisible.Caption = "工作点"; |
| | |
| | | // |
| | | // barCekCurveNameVisible |
| | | // |
| | | barCekCurveNameVisible.BindableChecked = true; |
| | | barCekCurveNameVisible.Caption = "曲线名"; |
| | | barCekCurveNameVisible.Checked = true; |
| | | barCekCurveNameVisible.Id = 21; |
| | | barCekCurveNameVisible.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("barCekCurveNameVisible.ImageOptions.SvgImage"); |
| | | barCekCurveNameVisible.Name = "barCekCurveNameVisible"; |
| | |
| | | barManager1.MaxItemId = 26; |
| | | barManager1.ShowFullMenus = true; |
| | | // |
| | | // barMenu |
| | | // |
| | | barMenu.BarName = "main"; |
| | | barMenu.CanDockStyle = DevExpress.XtraBars.BarCanDockStyle.Top; |
| | | barMenu.DockCol = 0; |
| | | barMenu.DockRow = 0; |
| | | barMenu.DockStyle = DevExpress.XtraBars.BarDockStyle.Top; |
| | | barMenu.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(barSubMenuVisible), new DevExpress.XtraBars.LinkPersistInfo(barSubMenuEdit), new DevExpress.XtraBars.LinkPersistInfo(barSubMenuQuery) }); |
| | | barMenu.OptionsBar.DrawBorder = false; |
| | | barMenu.OptionsBar.MinHeight = 30; |
| | | barMenu.OptionsBar.MultiLine = true; |
| | | barMenu.OptionsBar.UseWholeRow = true; |
| | | barMenu.Text = "菜单"; |
| | | // |
| | | // barSubMenuVisible |
| | | // |
| | | barSubMenuVisible.Caption = "显示"; |
| | | barSubMenuVisible.Id = 23; |
| | | barSubMenuVisible.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("barSubMenuVisible.ImageOptions.SvgImage"); |
| | | barSubMenuVisible.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(barCekCurveQHVisible, true), new DevExpress.XtraBars.LinkPersistInfo(barCekCurveQPVisible), new DevExpress.XtraBars.LinkPersistInfo(barCekCurveQEVisible), new DevExpress.XtraBars.LinkPersistInfo(barCekCurveEQVisible), new DevExpress.XtraBars.LinkPersistInfo(barCekCurveNameVisible, true), new DevExpress.XtraBars.LinkPersistInfo(barCekLegendVisible), new DevExpress.XtraBars.LinkPersistInfo(barCekSetAxisNameVisible) }); |
| | | barSubMenuVisible.Name = "barSubMenuVisible"; |
| | | barSubMenuVisible.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; |
| | | // |
| | | // barSubMenuEdit |
| | | // |
| | | barSubMenuEdit.Caption = "编辑"; |
| | | barSubMenuEdit.Id = 24; |
| | | barSubMenuEdit.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("barSubMenuEdit.ImageOptions.SvgImage"); |
| | | barSubMenuEdit.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(barBtnSetChartAxis) }); |
| | | barSubMenuEdit.Name = "barSubMenuEdit"; |
| | | barSubMenuEdit.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; |
| | | // |
| | | // barSubMenuQuery |
| | | // |
| | | barSubMenuQuery.Caption = "查询"; |
| | | barSubMenuQuery.Id = 25; |
| | | barSubMenuQuery.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("barSubMenuQuery.ImageOptions.SvgImage"); |
| | | barSubMenuQuery.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(barBtnSetAxisQValue) }); |
| | | barSubMenuQuery.Name = "barSubMenuQuery"; |
| | | barSubMenuQuery.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; |
| | | // |
| | | // barBtnSetAxisQValue |
| | | // |
| | | barBtnSetAxisQValue.Caption = "定位流量点"; |
| | | barBtnSetAxisQValue.Id = 13; |
| | | barBtnSetAxisQValue.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("barBtnSetAxisQValue.ImageOptions.SvgImage"); |
| | | barBtnSetAxisQValue.Name = "barBtnSetAxisQValue"; |
| | | barBtnSetAxisQValue.ItemClick += barBtnSetAxisQValue_ItemClick; |
| | | // |
| | | // barDockControlTop |
| | | // |
| | | barDockControlTop.CausesValidation = false; |
| | | barDockControlTop.Dock = DockStyle.Top; |
| | | barDockControlTop.Location = new Point(0, 0); |
| | | barDockControlTop.Manager = barManager1; |
| | | barDockControlTop.Size = new Size(1023, 31); |
| | | barDockControlTop.Size = new Size(1023, 34); |
| | | // |
| | | // barDockControlBottom |
| | | // |
| | |
| | | // |
| | | barDockControlLeft.CausesValidation = false; |
| | | barDockControlLeft.Dock = DockStyle.Left; |
| | | barDockControlLeft.Location = new Point(0, 31); |
| | | barDockControlLeft.Location = new Point(0, 34); |
| | | barDockControlLeft.Manager = barManager1; |
| | | barDockControlLeft.Size = new Size(0, 826); |
| | | barDockControlLeft.Size = new Size(0, 823); |
| | | // |
| | | // barDockControlRight |
| | | // |
| | | barDockControlRight.CausesValidation = false; |
| | | barDockControlRight.Dock = DockStyle.Right; |
| | | barDockControlRight.Location = new Point(1023, 31); |
| | | barDockControlRight.Location = new Point(1023, 34); |
| | | barDockControlRight.Manager = barManager1; |
| | | barDockControlRight.Size = new Size(0, 826); |
| | | // |
| | | // barBtnSetAxisQValue |
| | | // |
| | | barBtnSetAxisQValue.Caption = "定位流量点"; |
| | | barBtnSetAxisQValue.Id = 13; |
| | | barBtnSetAxisQValue.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("barBtnSetAxisQValue.ImageOptions.SvgImage"); |
| | | barBtnSetAxisQValue.Name = "barBtnSetAxisQValue"; |
| | | barBtnSetAxisQValue.ItemClick += barBtnSetAxisQValue_ItemClick; |
| | | // |
| | | // barCekCurveEQVisible |
| | | // |
| | | barCekCurveEQVisible.Caption = "装置线"; |
| | | barCekCurveEQVisible.Id = 22; |
| | | barCekCurveEQVisible.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("barCekCurveEQVisible.ImageOptions.SvgImage"); |
| | | barCekCurveEQVisible.Name = "barCekCurveEQVisible"; |
| | | barCekCurveEQVisible.CheckedChanged += barCekCurveEQVisible_CheckedChanged; |
| | | barDockControlRight.Size = new Size(0, 823); |
| | | // |
| | | // popMenuLine |
| | | // |
| | |
| | | bar1.OptionsBar.UseWholeRow = true; |
| | | bar1.Text = "Custom 2"; |
| | | // |
| | | // barMenu |
| | | // |
| | | barMenu.BarName = "main"; |
| | | barMenu.CanDockStyle = DevExpress.XtraBars.BarCanDockStyle.Top; |
| | | barMenu.DockCol = 0; |
| | | barMenu.DockRow = 0; |
| | | barMenu.DockStyle = DevExpress.XtraBars.BarDockStyle.Top; |
| | | barMenu.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(barSubMenuVisible), new DevExpress.XtraBars.LinkPersistInfo(barSubMenuEdit), new DevExpress.XtraBars.LinkPersistInfo(barSubMenuQuery) }); |
| | | barMenu.OptionsBar.DrawBorder = false; |
| | | barMenu.OptionsBar.MinHeight = 30; |
| | | barMenu.OptionsBar.MultiLine = true; |
| | | barMenu.OptionsBar.UseWholeRow = true; |
| | | barMenu.Text = "菜单"; |
| | | // |
| | | // barSubMenuVisible |
| | | // |
| | | barSubMenuVisible.Caption = "图表显示"; |
| | | barSubMenuVisible.Id = 23; |
| | | barSubMenuVisible.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("barSubMenuVisible.ImageOptions.SvgImage"); |
| | | barSubMenuVisible.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(barCekCurveQHVisible, true), new DevExpress.XtraBars.LinkPersistInfo(barCekCurveQPVisible), new DevExpress.XtraBars.LinkPersistInfo(barCekCurveQEVisible), new DevExpress.XtraBars.LinkPersistInfo(barCekCurveEQVisible), new DevExpress.XtraBars.LinkPersistInfo(barCekCurveNameVisible, true), new DevExpress.XtraBars.LinkPersistInfo(barCekLegendVisible), new DevExpress.XtraBars.LinkPersistInfo(barCekSetAxisNameVisible) }); |
| | | barSubMenuVisible.Name = "barSubMenuVisible"; |
| | | // |
| | | // barSubMenuEdit |
| | | // |
| | | barSubMenuEdit.Caption = "图表编辑"; |
| | | barSubMenuEdit.Id = 24; |
| | | barSubMenuEdit.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("barSubMenuEdit.ImageOptions.SvgImage"); |
| | | barSubMenuEdit.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(barBtnSetChartAxis) }); |
| | | barSubMenuEdit.Name = "barSubMenuEdit"; |
| | | // |
| | | // barSubMenuQuery |
| | | // |
| | | barSubMenuQuery.Caption = "图表查询"; |
| | | barSubMenuQuery.Id = 25; |
| | | barSubMenuQuery.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("barSubMenuQuery.ImageOptions.SvgImage"); |
| | | barSubMenuQuery.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(barBtnSetAxisQValue) }); |
| | | barSubMenuQuery.Name = "barSubMenuQuery"; |
| | | // |
| | | // PumpSerialParallelChart |
| | | // |
| | | AutoScaleDimensions = new SizeF(10F, 22F); |
| | |
| | | Controls.Add(barDockControlTop); |
| | | Name = "PumpSerialParallelChart"; |
| | | Size = new Size(1023, 857); |
| | | ((System.ComponentModel.ISupportInitialize)textAnnotation2).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)constantLine2).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)xyDiagramPane3).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)xyDiagramPane4).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)secondaryAxisy3).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)secondaryAxisy4).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)xyDiagram2).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)splineSeriesView4).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)series4).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)splineSeriesView5).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)series5).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)splineSeriesView6).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)series6).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)textAnnotation1).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)constantLine1).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)xyDiagramPane1).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)xyDiagramPane2).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)secondaryAxisy1).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)secondaryAxisy2).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)xyDiagram1).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)splineSeriesView1).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)series1).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)splineSeriesView2).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)series2).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)splineSeriesView3).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)series3).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)chartControl1).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)popMenuChart).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)barManager1).EndInit(); |