ningshuxia
2025-03-18 468de64c7b909ad0b08fa75d9bbde815887303ff
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
using DevExpress.Utils;
using DevExpress.XtraGrid.Views.Grid;
using System;
using System.ComponentModel;
using System.Drawing;
using System.Windows.Forms;
 
namespace PBS.WinFrmUI.Hydro
{
    partial class SystemCurvePage
    {
        /// <summary> 
        /// Required designer variable.
        /// </summary>
        private IContainer components = null;
 
        /// <summary> 
        /// Clean up any resources being used.
        /// </summary>
        /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
        protected override void Dispose(bool disposing)
        {
            if (disposing && (components != null))
            {
                components.Dispose();
            }
            base.Dispose(disposing);
        }
 
        #region Component Designer generated code
 
        /// <summary> 
        /// Required method for Designer support - do not modify 
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            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();
            ((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();
            SuspendLayout();
            // 
            // ribbonControl1
            // 
            ribbonControl1.DrawGroupsBorderMode = DefaultBoolean.False;
            ribbonControl1.EmptyAreaImageOptions.ImagePadding = new Padding(34, 39, 34, 39);
            ribbonControl1.ExpandCollapseItem.Id = 0;
            ribbonControl1.ItemPanelStyle = DevExpress.XtraBars.Ribbon.RibbonItemPanelStyle.Classic;
            ribbonControl1.Items.AddRange(new DevExpress.XtraBars.BarItem[] { ribbonControl1.ExpandCollapseItem, barBtnCalc });
            ribbonControl1.Location = new Point(0, 0);
            ribbonControl1.Margin = new Padding(3, 4, 3, 4);
            ribbonControl1.MaxItemId = 40;
            ribbonControl1.Name = "ribbonControl1";
            ribbonControl1.OptionsMenuMinWidth = 377;
            ribbonControl1.Pages.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPage[] { ribbonPage });
            ribbonControl1.ShowApplicationButton = DefaultBoolean.False;
            ribbonControl1.ShowExpandCollapseButton = DefaultBoolean.False;
            ribbonControl1.ShowPageHeadersMode = DevExpress.XtraBars.Ribbon.ShowPageHeadersMode.Hide;
            ribbonControl1.Size = new Size(935, 128);
            ribbonControl1.ToolbarLocation = DevExpress.XtraBars.Ribbon.RibbonQuickAccessToolbarLocation.Hidden;
            // 
            // barBtnCalc
            // 
            barBtnCalc.Caption = "计算";
            barBtnCalc.Id = 39;
            barBtnCalc.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("barBtnCalc.ImageOptions.SvgImage");
            barBtnCalc.Name = "barBtnCalc";
            barBtnCalc.ItemClick += barBtnCalc_ItemClick;
            // 
            // ribbonPage
            // 
            ribbonPage.Groups.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPageGroup[] { ribbonPageGroup1 });
            ribbonPage.Name = "ribbonPage";
            ribbonPage.Text = "基础操作";
            // 
            // ribbonPageGroup1
            // 
            ribbonPageGroup1.ItemLinks.Add(barBtnCalc);
            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(0, 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(935, 748);
            chartControl1.TabIndex = 1;
            // 
            // SystemCurvePage
            // 
            Appearance.BackColor = SystemColors.Control;
            Appearance.Options.UseBackColor = true;
            AutoScaleDimensions = new SizeF(8F, 18F);
            AutoScaleMode = AutoScaleMode.Font;
            Controls.Add(chartControl1);
            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();
            ResumeLayout(false);
            PerformLayout();
        }
 
        #endregion
        private DevExpress.XtraBars.Ribbon.RibbonControl ribbonControl1;
        private DevExpress.XtraBars.Ribbon.RibbonPage ribbonPage;
        private DevExpress.XtraBars.BarButtonItem barBtnCalc;
        private DevExpress.XtraBars.Ribbon.RibbonPageGroup ribbonPageGroup1;
        private DevExpress.XtraCharts.ChartControl chartControl1;
    }
}