duheng
8 天以前 4de480ec624d3b79ca690dc906e10cd2fbdc9be7
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
namespace IStation.WinFrmUI.River
{
    partial class ViewRealTimeRiverWaterLevelCtrl
    {
        /// <summary> 
        /// Required designer variable.
        /// </summary>
        private System.ComponentModel.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()
        {
            this.components = new System.ComponentModel.Container();
            DevExpress.XtraCharts.TextAnnotation textAnnotation1 = new DevExpress.XtraCharts.TextAnnotation();
            DevExpress.XtraCharts.PaneAnchorPoint paneAnchorPoint1 = new DevExpress.XtraCharts.PaneAnchorPoint();
            DevExpress.XtraCharts.RelativePosition relativePosition1 = new DevExpress.XtraCharts.RelativePosition();
            DevExpress.XtraCharts.TextAnnotation textAnnotation2 = new DevExpress.XtraCharts.TextAnnotation();
            DevExpress.XtraCharts.PaneAnchorPoint paneAnchorPoint2 = new DevExpress.XtraCharts.PaneAnchorPoint();
            DevExpress.XtraCharts.RelativePosition relativePosition2 = new DevExpress.XtraCharts.RelativePosition();
            DevExpress.XtraCharts.XYDiagram xyDiagram1 = new DevExpress.XtraCharts.XYDiagram();
            DevExpress.XtraCharts.ConstantLine constantLine1 = new DevExpress.XtraCharts.ConstantLine();
            DevExpress.XtraCharts.Strip strip1 = new DevExpress.XtraCharts.Strip();
            DevExpress.XtraCharts.Strip strip2 = new DevExpress.XtraCharts.Strip();
            DevExpress.XtraCharts.Series series1 = new DevExpress.XtraCharts.Series();
            DevExpress.XtraCharts.AreaSeriesView areaSeriesView1 = new DevExpress.XtraCharts.AreaSeriesView();
            this.timeValueBindingSource = new System.Windows.Forms.BindingSource(this.components);
            this.chartControl1 = new DevExpress.XtraCharts.ChartControl();
            ((System.ComponentModel.ISupportInitialize)(this.timeValueBindingSource)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.chartControl1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(textAnnotation1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(textAnnotation2)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(xyDiagram1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(strip1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(strip2)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(series1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(areaSeriesView1)).BeginInit();
            this.SuspendLayout();
            // 
            // timeValueBindingSource
            // 
            this.timeValueBindingSource.DataSource = typeof(IStation.Model.TimeWaterLevel);
            // 
            // chartControl1
            // 
            paneAnchorPoint1.AxisXCoordinate.AxisValueSerializable = "11/06/2023 20:00:00.000";
            paneAnchorPoint1.AxisYCoordinate.AxisValueSerializable = "6";
            textAnnotation1.AnchorPoint = paneAnchorPoint1;
            textAnnotation1.AutoHeight = false;
            textAnnotation1.AutoSize = false;
            textAnnotation1.AutoWidth = false;
            textAnnotation1.FillStyle.FillMode = DevExpress.XtraCharts.FillMode.Solid;
            textAnnotation1.Height = 23;
            textAnnotation1.Name = "Maximum";
            textAnnotation1.RuntimeAnchoring = true;
            textAnnotation1.RuntimeMoving = true;
            textAnnotation1.RuntimeResizing = true;
            textAnnotation1.RuntimeRotation = true;
            relativePosition1.Angle = -45D;
            textAnnotation1.ShapePosition = relativePosition1;
            textAnnotation1.Text = "Maximum";
            textAnnotation1.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(79)))), ((int)(((byte)(129)))), ((int)(((byte)(189)))));
            textAnnotation1.Width = 77;
            paneAnchorPoint2.AxisXCoordinate.AxisValueSerializable = "11/06/2023 19:00:00.000";
            paneAnchorPoint2.AxisYCoordinate.AxisValueSerializable = "5";
            textAnnotation2.AnchorPoint = paneAnchorPoint2;
            textAnnotation2.AutoHeight = true;
            textAnnotation2.AutoWidth = true;
            textAnnotation2.Name = "Minimum";
            textAnnotation2.RuntimeAnchoring = true;
            textAnnotation2.RuntimeMoving = true;
            textAnnotation2.RuntimeResizing = true;
            textAnnotation2.RuntimeRotation = true;
            relativePosition2.Angle = 135D;
            textAnnotation2.ShapePosition = relativePosition2;
            textAnnotation2.Text = "Minimum";
            textAnnotation2.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(84)))), ((int)(((byte)(141)))), ((int)(((byte)(212)))));
            this.chartControl1.AnnotationRepository.AddRange(new DevExpress.XtraCharts.Annotation[] {
            textAnnotation1,
            textAnnotation2});
            this.chartControl1.DataSource = this.timeValueBindingSource;
            constantLine1.AxisValueSerializable = "01/01/0001 01:00:00.000";
            constantLine1.Name = "Constant Line 1";
            xyDiagram1.AxisX.ConstantLines.AddRange(new DevExpress.XtraCharts.ConstantLine[] {
            constantLine1});
            xyDiagram1.AxisX.DateTimeScaleOptions.AutoGrid = false;
            xyDiagram1.AxisX.DateTimeScaleOptions.GridAlignment = DevExpress.XtraCharts.DateTimeGridAlignment.Hour;
            xyDiagram1.AxisX.DateTimeScaleOptions.GridSpacing = 4D;
            xyDiagram1.AxisX.DateTimeScaleOptions.MeasureUnit = DevExpress.XtraCharts.DateTimeMeasureUnit.Hour;
            xyDiagram1.AxisX.GridLines.Visible = true;
            strip1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(216)))), ((int)(((byte)(216)))), ((int)(((byte)(216)))));
            strip1.MaxLimit.AxisValueSerializable = "01/01/0001 01:00:00.000";
            strip1.MinLimit.AxisValueSerializable = "01/01/0001 00:00:00.000";
            strip1.Name = "Strip 1";
            strip2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(242)))), ((int)(((byte)(242)))), ((int)(((byte)(242)))));
            strip2.MaxLimit.AxisValueSerializable = "01/01/0001 01:00:00.000";
            strip2.MinLimit.AxisValueSerializable = "01/01/0001 00:00:00.000";
            strip2.Name = "Strip 2";
            xyDiagram1.AxisX.Strips.AddRange(new DevExpress.XtraCharts.Strip[] {
            strip1,
            strip2});
            xyDiagram1.AxisX.Visibility = DevExpress.Utils.DefaultBoolean.True;
            xyDiagram1.AxisX.VisibleInPanesSerializable = "-1";
            xyDiagram1.AxisX.WholeRange.EndSideMargin = 0D;
            xyDiagram1.AxisX.WholeRange.StartSideMargin = 0D;
            xyDiagram1.AxisY.VisibleInPanesSerializable = "-1";
            this.chartControl1.Diagram = xyDiagram1;
            this.chartControl1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.chartControl1.Legend.Visibility = DevExpress.Utils.DefaultBoolean.False;
            this.chartControl1.Location = new System.Drawing.Point(0, 0);
            this.chartControl1.Name = "chartControl1";
            series1.ArgumentDataMember = "Time";
            series1.DateTimeSummaryOptions.MeasureUnit = DevExpress.XtraCharts.DateTimeMeasureUnit.Hour;
            series1.DateTimeSummaryOptions.MeasureUnitMultiplier = 1;
            series1.Name = "Series 1";
            series1.ValueDataMembersSerializable = "Level";
            areaSeriesView1.EmptyPointOptions.FillStyle.FillMode = DevExpress.XtraCharts.FillMode.Solid;
            areaSeriesView1.MarkerVisibility = DevExpress.Utils.DefaultBoolean.False;
            series1.View = areaSeriesView1;
            this.chartControl1.SeriesSerializable = new DevExpress.XtraCharts.Series[] {
        series1};
            this.chartControl1.Size = new System.Drawing.Size(951, 781);
            this.chartControl1.TabIndex = 7;
            // 
            // ViewRealTimeRiverWaterLevelCtrl
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 14F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.Controls.Add(this.chartControl1);
            this.Name = "ViewRealTimeRiverWaterLevelCtrl";
            this.Size = new System.Drawing.Size(951, 781);
            ((System.ComponentModel.ISupportInitialize)(this.timeValueBindingSource)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(textAnnotation1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(textAnnotation2)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(strip1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(strip2)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(xyDiagram1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(areaSeriesView1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(series1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.chartControl1)).EndInit();
            this.ResumeLayout(false);
 
        }
 
        #endregion
        private System.Windows.Forms.BindingSource timeValueBindingSource;
        private DevExpress.XtraCharts.ChartControl chartControl1;
    }
}