|
|
@ -28,18 +28,148 @@
|
|
|
|
/// </summary>
|
|
|
|
/// </summary>
|
|
|
|
private void InitializeComponent()
|
|
|
|
private void InitializeComponent()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
|
|
|
|
|
|
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
|
|
|
|
|
|
|
this.panel1 = new System.Windows.Forms.Panel();
|
|
|
|
|
|
|
|
this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel();
|
|
|
|
|
|
|
|
this.dataGridView1 = new System.Windows.Forms.DataGridView();
|
|
|
|
|
|
|
|
this.al = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
|
|
|
|
|
this.Msg = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
|
|
|
|
|
this.dataGridView2 = new System.Windows.Forms.DataGridView();
|
|
|
|
|
|
|
|
this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
|
|
|
|
|
this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
|
|
|
|
|
this.tableLayoutPanel1.SuspendLayout();
|
|
|
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
|
|
|
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.dataGridView2)).BeginInit();
|
|
|
|
this.SuspendLayout();
|
|
|
|
this.SuspendLayout();
|
|
|
|
//
|
|
|
|
//
|
|
|
|
|
|
|
|
// tableLayoutPanel1
|
|
|
|
|
|
|
|
//
|
|
|
|
|
|
|
|
this.tableLayoutPanel1.ColumnCount = 2;
|
|
|
|
|
|
|
|
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F));
|
|
|
|
|
|
|
|
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F));
|
|
|
|
|
|
|
|
this.tableLayoutPanel1.Controls.Add(this.dataGridView2, 1, 0);
|
|
|
|
|
|
|
|
this.tableLayoutPanel1.Controls.Add(this.dataGridView1, 0, 0);
|
|
|
|
|
|
|
|
this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Bottom;
|
|
|
|
|
|
|
|
this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 659);
|
|
|
|
|
|
|
|
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
|
|
|
|
|
|
|
|
this.tableLayoutPanel1.RowCount = 1;
|
|
|
|
|
|
|
|
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
|
|
|
|
|
|
|
|
this.tableLayoutPanel1.Size = new System.Drawing.Size(910, 276);
|
|
|
|
|
|
|
|
this.tableLayoutPanel1.TabIndex = 0;
|
|
|
|
|
|
|
|
//
|
|
|
|
|
|
|
|
// panel1
|
|
|
|
|
|
|
|
//
|
|
|
|
|
|
|
|
this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
|
|
|
|
|
|
|
|
this.panel1.Location = new System.Drawing.Point(0, 0);
|
|
|
|
|
|
|
|
this.panel1.Name = "panel1";
|
|
|
|
|
|
|
|
this.panel1.Size = new System.Drawing.Size(910, 320);
|
|
|
|
|
|
|
|
this.panel1.TabIndex = 1;
|
|
|
|
|
|
|
|
//
|
|
|
|
|
|
|
|
// flowLayoutPanel1
|
|
|
|
|
|
|
|
//
|
|
|
|
|
|
|
|
this.flowLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
|
|
|
|
|
|
this.flowLayoutPanel1.Location = new System.Drawing.Point(0, 320);
|
|
|
|
|
|
|
|
this.flowLayoutPanel1.Name = "flowLayoutPanel1";
|
|
|
|
|
|
|
|
this.flowLayoutPanel1.Size = new System.Drawing.Size(910, 339);
|
|
|
|
|
|
|
|
this.flowLayoutPanel1.TabIndex = 2;
|
|
|
|
|
|
|
|
//
|
|
|
|
|
|
|
|
// dataGridView1
|
|
|
|
|
|
|
|
//
|
|
|
|
|
|
|
|
this.dataGridView1.AllowUserToAddRows = false;
|
|
|
|
|
|
|
|
this.dataGridView1.AllowUserToDeleteRows = false;
|
|
|
|
|
|
|
|
this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
|
|
|
|
|
|
this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
|
|
|
|
|
|
|
this.al,
|
|
|
|
|
|
|
|
this.Msg});
|
|
|
|
|
|
|
|
this.dataGridView1.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
|
|
|
|
|
|
this.dataGridView1.Location = new System.Drawing.Point(3, 3);
|
|
|
|
|
|
|
|
this.dataGridView1.Name = "dataGridView1";
|
|
|
|
|
|
|
|
this.dataGridView1.ReadOnly = true;
|
|
|
|
|
|
|
|
dataGridViewCellStyle1.BackColor = System.Drawing.Color.Red;
|
|
|
|
|
|
|
|
dataGridViewCellStyle1.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
|
|
|
|
|
dataGridViewCellStyle1.ForeColor = System.Drawing.Color.White;
|
|
|
|
|
|
|
|
dataGridViewCellStyle1.SelectionBackColor = System.Drawing.Color.Red;
|
|
|
|
|
|
|
|
dataGridViewCellStyle1.SelectionForeColor = System.Drawing.Color.White;
|
|
|
|
|
|
|
|
this.dataGridView1.RowsDefaultCellStyle = dataGridViewCellStyle1;
|
|
|
|
|
|
|
|
this.dataGridView1.RowTemplate.Height = 23;
|
|
|
|
|
|
|
|
this.dataGridView1.Size = new System.Drawing.Size(449, 270);
|
|
|
|
|
|
|
|
this.dataGridView1.TabIndex = 0;
|
|
|
|
|
|
|
|
//
|
|
|
|
|
|
|
|
// al
|
|
|
|
|
|
|
|
//
|
|
|
|
|
|
|
|
this.al.DataPropertyName = "AlartTime";
|
|
|
|
|
|
|
|
this.al.HeaderText = "警告时间";
|
|
|
|
|
|
|
|
this.al.Name = "al";
|
|
|
|
|
|
|
|
this.al.ReadOnly = true;
|
|
|
|
|
|
|
|
this.al.Width = 150;
|
|
|
|
|
|
|
|
//
|
|
|
|
|
|
|
|
// Msg
|
|
|
|
|
|
|
|
//
|
|
|
|
|
|
|
|
this.Msg.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
|
|
|
|
|
|
this.Msg.DataPropertyName = "Msg";
|
|
|
|
|
|
|
|
this.Msg.HeaderText = "警告内容";
|
|
|
|
|
|
|
|
this.Msg.Name = "Msg";
|
|
|
|
|
|
|
|
this.Msg.ReadOnly = true;
|
|
|
|
|
|
|
|
//
|
|
|
|
|
|
|
|
// dataGridView2
|
|
|
|
|
|
|
|
//
|
|
|
|
|
|
|
|
this.dataGridView2.AllowUserToAddRows = false;
|
|
|
|
|
|
|
|
this.dataGridView2.AllowUserToDeleteRows = false;
|
|
|
|
|
|
|
|
this.dataGridView2.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
|
|
|
|
|
|
this.dataGridView2.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
|
|
|
|
|
|
|
this.dataGridViewTextBoxColumn1,
|
|
|
|
|
|
|
|
this.dataGridViewTextBoxColumn2});
|
|
|
|
|
|
|
|
this.dataGridView2.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
|
|
|
|
|
|
this.dataGridView2.Location = new System.Drawing.Point(458, 3);
|
|
|
|
|
|
|
|
this.dataGridView2.Name = "dataGridView2";
|
|
|
|
|
|
|
|
this.dataGridView2.ReadOnly = true;
|
|
|
|
|
|
|
|
this.dataGridView2.RowTemplate.Height = 23;
|
|
|
|
|
|
|
|
this.dataGridView2.Size = new System.Drawing.Size(449, 270);
|
|
|
|
|
|
|
|
this.dataGridView2.TabIndex = 1;
|
|
|
|
|
|
|
|
//
|
|
|
|
|
|
|
|
// dataGridViewTextBoxColumn1
|
|
|
|
|
|
|
|
//
|
|
|
|
|
|
|
|
this.dataGridViewTextBoxColumn1.DataPropertyName = "AlartTime";
|
|
|
|
|
|
|
|
this.dataGridViewTextBoxColumn1.HeaderText = "警告时间";
|
|
|
|
|
|
|
|
this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1";
|
|
|
|
|
|
|
|
this.dataGridViewTextBoxColumn1.ReadOnly = true;
|
|
|
|
|
|
|
|
this.dataGridViewTextBoxColumn1.Width = 150;
|
|
|
|
|
|
|
|
//
|
|
|
|
|
|
|
|
// dataGridViewTextBoxColumn2
|
|
|
|
|
|
|
|
//
|
|
|
|
|
|
|
|
this.dataGridViewTextBoxColumn2.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
|
|
|
|
|
|
this.dataGridViewTextBoxColumn2.DataPropertyName = "Msg";
|
|
|
|
|
|
|
|
this.dataGridViewTextBoxColumn2.HeaderText = "警告内容";
|
|
|
|
|
|
|
|
this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2";
|
|
|
|
|
|
|
|
this.dataGridViewTextBoxColumn2.ReadOnly = true;
|
|
|
|
|
|
|
|
//
|
|
|
|
// UserAlarmShow
|
|
|
|
// UserAlarmShow
|
|
|
|
//
|
|
|
|
//
|
|
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
|
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
|
|
|
|
|
|
this.Controls.Add(this.flowLayoutPanel1);
|
|
|
|
|
|
|
|
this.Controls.Add(this.panel1);
|
|
|
|
|
|
|
|
this.Controls.Add(this.tableLayoutPanel1);
|
|
|
|
this.Name = "UserAlarmShow";
|
|
|
|
this.Name = "UserAlarmShow";
|
|
|
|
this.Size = new System.Drawing.Size(910, 935);
|
|
|
|
this.Size = new System.Drawing.Size(910, 935);
|
|
|
|
|
|
|
|
this.tableLayoutPanel1.ResumeLayout(false);
|
|
|
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
|
|
|
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.dataGridView2)).EndInit();
|
|
|
|
this.ResumeLayout(false);
|
|
|
|
this.ResumeLayout(false);
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
|
|
|
|
|
|
|
|
private System.Windows.Forms.Panel panel1;
|
|
|
|
|
|
|
|
private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel1;
|
|
|
|
|
|
|
|
private System.Windows.Forms.DataGridView dataGridView1;
|
|
|
|
|
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn al;
|
|
|
|
|
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn Msg;
|
|
|
|
|
|
|
|
private System.Windows.Forms.DataGridView dataGridView2;
|
|
|
|
|
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn1;
|
|
|
|
|
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn2;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|