StationPowerLine.designer.cs 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. 
  2. namespace IntelligentControlForsx.MyControls
  3. {
  4. partial class StationPowerLine
  5. {
  6. /// <summary>
  7. /// 必需的设计器变量。
  8. /// </summary>
  9. private System.ComponentModel.IContainer components = null;
  10. /// <summary>
  11. /// 清理所有正在使用的资源。
  12. /// </summary>
  13. /// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
  14. protected override void Dispose(bool disposing)
  15. {
  16. if (disposing && (components != null))
  17. {
  18. components.Dispose();
  19. }
  20. base.Dispose(disposing);
  21. }
  22. #region 组件设计器生成的代码
  23. /// <summary>
  24. /// 设计器支持所需的方法 - 不要
  25. /// 使用代码编辑器修改此方法的内容。
  26. /// </summary>
  27. private void InitializeComponent()
  28. {
  29. this.components = new System.ComponentModel.Container();
  30. System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea1 = new System.Windows.Forms.DataVisualization.Charting.ChartArea();
  31. System.Windows.Forms.DataVisualization.Charting.Legend legend1 = new System.Windows.Forms.DataVisualization.Charting.Legend();
  32. System.Windows.Forms.DataVisualization.Charting.Series series1 = new System.Windows.Forms.DataVisualization.Charting.Series();
  33. this.chart1 = new System.Windows.Forms.DataVisualization.Charting.Chart();
  34. this.timer1 = new System.Windows.Forms.Timer(this.components);
  35. ((System.ComponentModel.ISupportInitialize)(this.chart1)).BeginInit();
  36. this.SuspendLayout();
  37. //
  38. // chart1
  39. //
  40. this.chart1.BackColor = System.Drawing.Color.Transparent;
  41. chartArea1.AxisX.Enabled = System.Windows.Forms.DataVisualization.Charting.AxisEnabled.True;
  42. chartArea1.AxisX.Interval = 1D;
  43. chartArea1.AxisX.IntervalType = System.Windows.Forms.DataVisualization.Charting.DateTimeIntervalType.Hours;
  44. chartArea1.AxisX.LabelStyle.ForeColor = System.Drawing.Color.White;
  45. chartArea1.AxisX.LabelStyle.Format = "HH:mm";
  46. chartArea1.AxisX.LabelStyle.Interval = 1D;
  47. chartArea1.AxisX.LabelStyle.IntervalType = System.Windows.Forms.DataVisualization.Charting.DateTimeIntervalType.Hours;
  48. chartArea1.AxisX.LabelStyle.IsStaggered = true;
  49. chartArea1.AxisX.LabelStyle.TruncatedLabels = true;
  50. chartArea1.AxisX.LineColor = System.Drawing.Color.White;
  51. chartArea1.AxisX.ScaleBreakStyle.Enabled = true;
  52. chartArea1.AxisX.TitleAlignment = System.Drawing.StringAlignment.Near;
  53. chartArea1.AxisX.TitleForeColor = System.Drawing.Color.White;
  54. chartArea1.AxisX2.Enabled = System.Windows.Forms.DataVisualization.Charting.AxisEnabled.False;
  55. chartArea1.AxisY.Enabled = System.Windows.Forms.DataVisualization.Charting.AxisEnabled.True;
  56. chartArea1.AxisY.LineColor = System.Drawing.Color.White;
  57. chartArea1.AxisY.MaximumAutoSize = 25F;
  58. chartArea1.AxisY.TitleForeColor = System.Drawing.Color.White;
  59. chartArea1.AxisY2.Enabled = System.Windows.Forms.DataVisualization.Charting.AxisEnabled.False;
  60. chartArea1.BackColor = System.Drawing.Color.Transparent;
  61. chartArea1.InnerPlotPosition.Auto = false;
  62. chartArea1.InnerPlotPosition.Height = 88F;
  63. chartArea1.InnerPlotPosition.Width = 100F;
  64. chartArea1.InnerPlotPosition.Y = 4F;
  65. chartArea1.Name = "ChartArea1";
  66. this.chart1.ChartAreas.Add(chartArea1);
  67. this.chart1.Dock = System.Windows.Forms.DockStyle.Fill;
  68. legend1.BackColor = System.Drawing.Color.Transparent;
  69. legend1.DockedToChartArea = "ChartArea1";
  70. legend1.Docking = System.Windows.Forms.DataVisualization.Charting.Docking.Top;
  71. legend1.Font = new System.Drawing.Font("微软雅黑", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  72. legend1.ForeColor = System.Drawing.Color.White;
  73. legend1.HeaderSeparatorColor = System.Drawing.Color.FromArgb(((int)(((byte)(49)))), ((int)(((byte)(185)))), ((int)(((byte)(251)))));
  74. legend1.IsTextAutoFit = false;
  75. legend1.ItemColumnSeparatorColor = System.Drawing.Color.FromArgb(((int)(((byte)(49)))), ((int)(((byte)(185)))), ((int)(((byte)(251)))));
  76. legend1.ItemColumnSpacing = 100;
  77. legend1.LegendStyle = System.Windows.Forms.DataVisualization.Charting.LegendStyle.Row;
  78. legend1.Name = "Legend1";
  79. legend1.Position.Auto = false;
  80. legend1.Position.Height = 16.31579F;
  81. legend1.Position.Width = 50F;
  82. legend1.Position.X = 50F;
  83. legend1.TitleAlignment = System.Drawing.StringAlignment.Near;
  84. legend1.TitleForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(49)))), ((int)(((byte)(185)))), ((int)(((byte)(251)))));
  85. legend1.TitleSeparatorColor = System.Drawing.Color.FromArgb(((int)(((byte)(49)))), ((int)(((byte)(185)))), ((int)(((byte)(251)))));
  86. this.chart1.Legends.Add(legend1);
  87. this.chart1.Location = new System.Drawing.Point(0, 0);
  88. this.chart1.Name = "chart1";
  89. series1.ChartArea = "ChartArea1";
  90. series1.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Line;
  91. series1.Color = System.Drawing.Color.Aqua;
  92. series1.Legend = "Legend1";
  93. series1.Name = "实时功率曲线";
  94. this.chart1.Series.Add(series1);
  95. this.chart1.Size = new System.Drawing.Size(800, 210);
  96. this.chart1.TabIndex = 0;
  97. this.chart1.Text = "chart1";
  98. this.chart1.GetToolTipText += new System.EventHandler<System.Windows.Forms.DataVisualization.Charting.ToolTipEventArgs>(this.chart1_GetToolTipText);
  99. //
  100. // timer1
  101. //
  102. this.timer1.Enabled = true;
  103. this.timer1.Interval = 10000;
  104. this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
  105. //
  106. // StationPowerLine
  107. //
  108. this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
  109. this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
  110. this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(13)))), ((int)(((byte)(67)))), ((int)(((byte)(139)))));
  111. this.Controls.Add(this.chart1);
  112. this.Name = "StationPowerLine";
  113. this.Size = new System.Drawing.Size(800, 210);
  114. this.Load += new System.EventHandler(this.StationPowerLine_Load);
  115. ((System.ComponentModel.ISupportInitialize)(this.chart1)).EndInit();
  116. this.ResumeLayout(false);
  117. }
  118. #endregion
  119. private System.Windows.Forms.DataVisualization.Charting.Chart chart1;
  120. private System.Windows.Forms.Timer timer1;
  121. }
  122. }