597 lines
34 KiB
C#
597 lines
34 KiB
C#
namespace StandardScene.Charge
|
|
{
|
|
partial class AlarmConfigManagementForm
|
|
{
|
|
/// <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 Windows Form 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()
|
|
{
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
this.splitContainer = new System.Windows.Forms.SplitContainer();
|
|
this.pnlList = new System.Windows.Forms.Panel();
|
|
this.dgvAlarmConfigs = new System.Windows.Forms.DataGridView();
|
|
this.pnlListButtons = new System.Windows.Forms.Panel();
|
|
this.lblStatistics = new System.Windows.Forms.Label();
|
|
this.btnClose = new System.Windows.Forms.Button();
|
|
this.btnRefresh = new System.Windows.Forms.Button();
|
|
this.pnlSearch = new System.Windows.Forms.Panel();
|
|
this.cmbLevelFilter = new System.Windows.Forms.ComboBox();
|
|
this.lblLevelFilter = new System.Windows.Forms.Label();
|
|
this.txtSearch = new System.Windows.Forms.TextBox();
|
|
this.lblSearch = new System.Windows.Forms.Label();
|
|
this.pnlEdit = new System.Windows.Forms.Panel();
|
|
this.grpEditInfo = new System.Windows.Forms.GroupBox();
|
|
this.txtRemarks = new System.Windows.Forms.TextBox();
|
|
this.lblRemarks = new System.Windows.Forms.Label();
|
|
this.chkEnabled = new System.Windows.Forms.CheckBox();
|
|
this.cmbLevel = new System.Windows.Forms.ComboBox();
|
|
this.lblLevel = new System.Windows.Forms.Label();
|
|
this.txtAlarmContent = new System.Windows.Forms.TextBox();
|
|
this.lblAlarmContent = new System.Windows.Forms.Label();
|
|
this.numAlarmCode = new System.Windows.Forms.NumericUpDown();
|
|
this.lblAlarmCode = new System.Windows.Forms.Label();
|
|
this.txtAlarmId = new System.Windows.Forms.TextBox();
|
|
this.lblAlarmId = new System.Windows.Forms.Label();
|
|
this.pnlEditButtons = new System.Windows.Forms.Panel();
|
|
this.btnCancel = new System.Windows.Forms.Button();
|
|
this.btnDelete = new System.Windows.Forms.Button();
|
|
this.btnSave = new System.Windows.Forms.Button();
|
|
this.colAlarmId = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.colAlarmCode = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.colAlarmContent = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.colLevel = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.colEnabled = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.colRemarks = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
((System.ComponentModel.ISupportInitialize)(this.splitContainer)).BeginInit();
|
|
this.splitContainer.Panel1.SuspendLayout();
|
|
this.splitContainer.Panel2.SuspendLayout();
|
|
this.splitContainer.SuspendLayout();
|
|
this.pnlList.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.dgvAlarmConfigs)).BeginInit();
|
|
this.pnlListButtons.SuspendLayout();
|
|
this.pnlSearch.SuspendLayout();
|
|
this.pnlEdit.SuspendLayout();
|
|
this.grpEditInfo.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.numAlarmCode)).BeginInit();
|
|
this.pnlEditButtons.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
// splitContainer
|
|
//
|
|
this.splitContainer.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.splitContainer.Location = new System.Drawing.Point(0, 0);
|
|
this.splitContainer.Margin = new System.Windows.Forms.Padding(4);
|
|
this.splitContainer.Name = "splitContainer";
|
|
//
|
|
// splitContainer.Panel1
|
|
//
|
|
this.splitContainer.Panel1.Controls.Add(this.pnlList);
|
|
//
|
|
// splitContainer.Panel2
|
|
//
|
|
this.splitContainer.Panel2.Controls.Add(this.pnlEdit);
|
|
this.splitContainer.Size = new System.Drawing.Size(1400, 750);
|
|
this.splitContainer.SplitterDistance = 900;
|
|
this.splitContainer.SplitterWidth = 5;
|
|
this.splitContainer.TabIndex = 0;
|
|
//
|
|
// pnlList
|
|
//
|
|
this.pnlList.Controls.Add(this.dgvAlarmConfigs);
|
|
this.pnlList.Controls.Add(this.pnlListButtons);
|
|
this.pnlList.Controls.Add(this.pnlSearch);
|
|
this.pnlList.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.pnlList.Location = new System.Drawing.Point(0, 0);
|
|
this.pnlList.Margin = new System.Windows.Forms.Padding(4);
|
|
this.pnlList.Name = "pnlList";
|
|
this.pnlList.Size = new System.Drawing.Size(900, 750);
|
|
this.pnlList.TabIndex = 0;
|
|
//
|
|
// dgvAlarmConfigs
|
|
//
|
|
this.dgvAlarmConfigs.AllowUserToAddRows = false;
|
|
this.dgvAlarmConfigs.AllowUserToDeleteRows = false;
|
|
this.dgvAlarmConfigs.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
|
|
this.dgvAlarmConfigs.BackgroundColor = System.Drawing.Color.White;
|
|
this.dgvAlarmConfigs.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
|
this.dgvAlarmConfigs.CellBorderStyle = System.Windows.Forms.DataGridViewCellBorderStyle.SingleHorizontal;
|
|
dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
|
dataGridViewCellStyle3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(81)))), ((int)(((byte)(181)))));
|
|
dataGridViewCellStyle3.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
dataGridViewCellStyle3.ForeColor = System.Drawing.Color.White;
|
|
dataGridViewCellStyle3.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(81)))), ((int)(((byte)(181)))));
|
|
dataGridViewCellStyle3.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
|
dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
|
this.dgvAlarmConfigs.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle3;
|
|
this.dgvAlarmConfigs.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
this.dgvAlarmConfigs.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
|
this.colAlarmId,
|
|
this.colAlarmCode,
|
|
this.colAlarmContent,
|
|
this.colLevel,
|
|
this.colEnabled,
|
|
this.colRemarks});
|
|
dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
|
dataGridViewCellStyle4.BackColor = System.Drawing.Color.White;
|
|
dataGridViewCellStyle4.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
dataGridViewCellStyle4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
|
|
dataGridViewCellStyle4.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(197)))), ((int)(((byte)(202)))), ((int)(((byte)(233)))));
|
|
dataGridViewCellStyle4.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(33)))), ((int)(((byte)(33)))), ((int)(((byte)(33)))));
|
|
dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
|
this.dgvAlarmConfigs.DefaultCellStyle = dataGridViewCellStyle4;
|
|
this.dgvAlarmConfigs.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.dgvAlarmConfigs.EnableHeadersVisualStyles = false;
|
|
this.dgvAlarmConfigs.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
|
this.dgvAlarmConfigs.Location = new System.Drawing.Point(0, 62);
|
|
this.dgvAlarmConfigs.Margin = new System.Windows.Forms.Padding(4);
|
|
this.dgvAlarmConfigs.MultiSelect = false;
|
|
this.dgvAlarmConfigs.Name = "dgvAlarmConfigs";
|
|
this.dgvAlarmConfigs.ReadOnly = true;
|
|
this.dgvAlarmConfigs.RowHeadersVisible = false;
|
|
this.dgvAlarmConfigs.RowHeadersWidth = 30;
|
|
this.dgvAlarmConfigs.RowTemplate.Height = 35;
|
|
this.dgvAlarmConfigs.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
|
|
this.dgvAlarmConfigs.Size = new System.Drawing.Size(900, 600);
|
|
this.dgvAlarmConfigs.TabIndex = 2;
|
|
this.dgvAlarmConfigs.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvAlarmConfigs_CellDoubleClick);
|
|
//
|
|
// pnlListButtons
|
|
//
|
|
this.pnlListButtons.Controls.Add(this.lblStatistics);
|
|
this.pnlListButtons.Controls.Add(this.btnClose);
|
|
this.pnlListButtons.Controls.Add(this.btnRefresh);
|
|
this.pnlListButtons.Dock = System.Windows.Forms.DockStyle.Bottom;
|
|
this.pnlListButtons.Location = new System.Drawing.Point(0, 662);
|
|
this.pnlListButtons.Margin = new System.Windows.Forms.Padding(4);
|
|
this.pnlListButtons.Name = "pnlListButtons";
|
|
this.pnlListButtons.Padding = new System.Windows.Forms.Padding(13, 12, 13, 12);
|
|
this.pnlListButtons.Size = new System.Drawing.Size(900, 88);
|
|
this.pnlListButtons.TabIndex = 1;
|
|
//
|
|
// lblStatistics
|
|
//
|
|
this.lblStatistics.AutoSize = true;
|
|
this.lblStatistics.Font = new System.Drawing.Font("微软雅黑", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.lblStatistics.Location = new System.Drawing.Point(20, 31);
|
|
this.lblStatistics.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
|
this.lblStatistics.Name = "lblStatistics";
|
|
this.lblStatistics.Size = new System.Drawing.Size(204, 24);
|
|
this.lblStatistics.TabIndex = 2;
|
|
this.lblStatistics.Text = "总数: 0 | 启用: 0 | 禁用: 0";
|
|
//
|
|
// btnClose
|
|
//
|
|
this.btnClose.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
|
this.btnClose.Font = new System.Drawing.Font("微软雅黑", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.btnClose.Location = new System.Drawing.Point(753, 19);
|
|
this.btnClose.Margin = new System.Windows.Forms.Padding(4);
|
|
this.btnClose.Name = "btnClose";
|
|
this.btnClose.Size = new System.Drawing.Size(120, 50);
|
|
this.btnClose.TabIndex = 1;
|
|
this.btnClose.Text = "关闭";
|
|
this.btnClose.UseVisualStyleBackColor = true;
|
|
this.btnClose.Click += new System.EventHandler(this.btnClose_Click);
|
|
//
|
|
// btnRefresh
|
|
//
|
|
this.btnRefresh.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
|
this.btnRefresh.Font = new System.Drawing.Font("微软雅黑", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.btnRefresh.Location = new System.Drawing.Point(620, 19);
|
|
this.btnRefresh.Margin = new System.Windows.Forms.Padding(4);
|
|
this.btnRefresh.Name = "btnRefresh";
|
|
this.btnRefresh.Size = new System.Drawing.Size(120, 50);
|
|
this.btnRefresh.TabIndex = 0;
|
|
this.btnRefresh.Text = "刷新";
|
|
this.btnRefresh.UseVisualStyleBackColor = true;
|
|
this.btnRefresh.Click += new System.EventHandler(this.btnRefresh_Click);
|
|
//
|
|
// pnlSearch
|
|
//
|
|
this.pnlSearch.Controls.Add(this.cmbLevelFilter);
|
|
this.pnlSearch.Controls.Add(this.lblLevelFilter);
|
|
this.pnlSearch.Controls.Add(this.txtSearch);
|
|
this.pnlSearch.Controls.Add(this.lblSearch);
|
|
this.pnlSearch.Dock = System.Windows.Forms.DockStyle.Top;
|
|
this.pnlSearch.Location = new System.Drawing.Point(0, 0);
|
|
this.pnlSearch.Margin = new System.Windows.Forms.Padding(4);
|
|
this.pnlSearch.Name = "pnlSearch";
|
|
this.pnlSearch.Padding = new System.Windows.Forms.Padding(13, 12, 13, 12);
|
|
this.pnlSearch.Size = new System.Drawing.Size(900, 62);
|
|
this.pnlSearch.TabIndex = 0;
|
|
//
|
|
// cmbLevelFilter
|
|
//
|
|
this.cmbLevelFilter.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
this.cmbLevelFilter.Font = new System.Drawing.Font("微软雅黑", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.cmbLevelFilter.FormattingEnabled = true;
|
|
this.cmbLevelFilter.Location = new System.Drawing.Point(550, 16);
|
|
this.cmbLevelFilter.Margin = new System.Windows.Forms.Padding(4);
|
|
this.cmbLevelFilter.Name = "cmbLevelFilter";
|
|
this.cmbLevelFilter.Size = new System.Drawing.Size(150, 31);
|
|
this.cmbLevelFilter.TabIndex = 3;
|
|
this.cmbLevelFilter.SelectedIndexChanged += new System.EventHandler(this.cmbLevelFilter_SelectedIndexChanged);
|
|
//
|
|
// lblLevelFilter
|
|
//
|
|
this.lblLevelFilter.AutoSize = true;
|
|
this.lblLevelFilter.Font = new System.Drawing.Font("微软雅黑", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.lblLevelFilter.Location = new System.Drawing.Point(463, 21);
|
|
this.lblLevelFilter.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
|
this.lblLevelFilter.Name = "lblLevelFilter";
|
|
this.lblLevelFilter.Size = new System.Drawing.Size(61, 23);
|
|
this.lblLevelFilter.TabIndex = 2;
|
|
this.lblLevelFilter.Text = "级别:";
|
|
//
|
|
// txtSearch
|
|
//
|
|
this.txtSearch.Font = new System.Drawing.Font("微软雅黑", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.txtSearch.Location = new System.Drawing.Point(100, 16);
|
|
this.txtSearch.Margin = new System.Windows.Forms.Padding(4);
|
|
this.txtSearch.Name = "txtSearch";
|
|
this.txtSearch.Size = new System.Drawing.Size(300, 29);
|
|
this.txtSearch.TabIndex = 1;
|
|
this.txtSearch.TextChanged += new System.EventHandler(this.txtSearch_TextChanged);
|
|
//
|
|
// lblSearch
|
|
//
|
|
this.lblSearch.AutoSize = true;
|
|
this.lblSearch.Font = new System.Drawing.Font("微软雅黑", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.lblSearch.Location = new System.Drawing.Point(13, 21);
|
|
this.lblSearch.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
|
this.lblSearch.Name = "lblSearch";
|
|
this.lblSearch.Size = new System.Drawing.Size(61, 23);
|
|
this.lblSearch.TabIndex = 0;
|
|
this.lblSearch.Text = "搜索:";
|
|
//
|
|
// pnlEdit
|
|
//
|
|
this.pnlEdit.Controls.Add(this.grpEditInfo);
|
|
this.pnlEdit.Controls.Add(this.pnlEditButtons);
|
|
this.pnlEdit.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.pnlEdit.Location = new System.Drawing.Point(0, 0);
|
|
this.pnlEdit.Margin = new System.Windows.Forms.Padding(4);
|
|
this.pnlEdit.Name = "pnlEdit";
|
|
this.pnlEdit.Size = new System.Drawing.Size(495, 750);
|
|
this.pnlEdit.TabIndex = 0;
|
|
//
|
|
// grpEditInfo
|
|
//
|
|
this.grpEditInfo.Controls.Add(this.txtRemarks);
|
|
this.grpEditInfo.Controls.Add(this.lblRemarks);
|
|
this.grpEditInfo.Controls.Add(this.chkEnabled);
|
|
this.grpEditInfo.Controls.Add(this.cmbLevel);
|
|
this.grpEditInfo.Controls.Add(this.lblLevel);
|
|
this.grpEditInfo.Controls.Add(this.txtAlarmContent);
|
|
this.grpEditInfo.Controls.Add(this.lblAlarmContent);
|
|
this.grpEditInfo.Controls.Add(this.numAlarmCode);
|
|
this.grpEditInfo.Controls.Add(this.lblAlarmCode);
|
|
this.grpEditInfo.Controls.Add(this.txtAlarmId);
|
|
this.grpEditInfo.Controls.Add(this.lblAlarmId);
|
|
this.grpEditInfo.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.grpEditInfo.Font = new System.Drawing.Font("微软雅黑", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.grpEditInfo.Location = new System.Drawing.Point(0, 0);
|
|
this.grpEditInfo.Margin = new System.Windows.Forms.Padding(4);
|
|
this.grpEditInfo.Name = "grpEditInfo";
|
|
this.grpEditInfo.Padding = new System.Windows.Forms.Padding(20, 19, 20, 19);
|
|
this.grpEditInfo.Size = new System.Drawing.Size(495, 625);
|
|
this.grpEditInfo.TabIndex = 1;
|
|
this.grpEditInfo.TabStop = false;
|
|
this.grpEditInfo.Text = "报警配置信息";
|
|
//
|
|
// txtRemarks
|
|
//
|
|
this.txtRemarks.Font = new System.Drawing.Font("微软雅黑", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.txtRemarks.Location = new System.Drawing.Point(130, 350);
|
|
this.txtRemarks.Margin = new System.Windows.Forms.Padding(4);
|
|
this.txtRemarks.Multiline = true;
|
|
this.txtRemarks.Name = "txtRemarks";
|
|
this.txtRemarks.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
|
|
this.txtRemarks.Size = new System.Drawing.Size(330, 80);
|
|
this.txtRemarks.TabIndex = 10;
|
|
//
|
|
// lblRemarks
|
|
//
|
|
this.lblRemarks.Font = new System.Drawing.Font("微软雅黑", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.lblRemarks.Location = new System.Drawing.Point(27, 350);
|
|
this.lblRemarks.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
|
this.lblRemarks.Name = "lblRemarks";
|
|
this.lblRemarks.Size = new System.Drawing.Size(100, 31);
|
|
this.lblRemarks.TabIndex = 9;
|
|
this.lblRemarks.Text = "备注:";
|
|
this.lblRemarks.TextAlign = System.Drawing.ContentAlignment.TopRight;
|
|
//
|
|
// chkEnabled
|
|
//
|
|
this.chkEnabled.AutoSize = true;
|
|
this.chkEnabled.Checked = true;
|
|
this.chkEnabled.CheckState = System.Windows.Forms.CheckState.Checked;
|
|
this.chkEnabled.Font = new System.Drawing.Font("微软雅黑", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.chkEnabled.Location = new System.Drawing.Point(130, 300);
|
|
this.chkEnabled.Margin = new System.Windows.Forms.Padding(4);
|
|
this.chkEnabled.Name = "chkEnabled";
|
|
this.chkEnabled.Size = new System.Drawing.Size(83, 27);
|
|
this.chkEnabled.TabIndex = 8;
|
|
this.chkEnabled.Text = "启用中";
|
|
this.chkEnabled.UseVisualStyleBackColor = true;
|
|
this.chkEnabled.Visible = false;
|
|
//
|
|
// cmbLevel
|
|
//
|
|
this.cmbLevel.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
this.cmbLevel.Font = new System.Drawing.Font("微软雅黑", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.cmbLevel.FormattingEnabled = true;
|
|
this.cmbLevel.Location = new System.Drawing.Point(130, 244);
|
|
this.cmbLevel.Margin = new System.Windows.Forms.Padding(4);
|
|
this.cmbLevel.Name = "cmbLevel";
|
|
this.cmbLevel.Size = new System.Drawing.Size(330, 31);
|
|
this.cmbLevel.TabIndex = 7;
|
|
//
|
|
// lblLevel
|
|
//
|
|
this.lblLevel.Font = new System.Drawing.Font("微软雅黑", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.lblLevel.Location = new System.Drawing.Point(27, 244);
|
|
this.lblLevel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
|
this.lblLevel.Name = "lblLevel";
|
|
this.lblLevel.Size = new System.Drawing.Size(100, 31);
|
|
this.lblLevel.TabIndex = 6;
|
|
this.lblLevel.Text = "报警级别:";
|
|
this.lblLevel.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
|
//
|
|
// txtAlarmContent
|
|
//
|
|
this.txtAlarmContent.Font = new System.Drawing.Font("微软雅黑", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.txtAlarmContent.Location = new System.Drawing.Point(130, 181);
|
|
this.txtAlarmContent.Margin = new System.Windows.Forms.Padding(4);
|
|
this.txtAlarmContent.Multiline = true;
|
|
this.txtAlarmContent.Name = "txtAlarmContent";
|
|
this.txtAlarmContent.Size = new System.Drawing.Size(330, 50);
|
|
this.txtAlarmContent.TabIndex = 5;
|
|
//
|
|
// lblAlarmContent
|
|
//
|
|
this.lblAlarmContent.Font = new System.Drawing.Font("微软雅黑", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.lblAlarmContent.Location = new System.Drawing.Point(27, 181);
|
|
this.lblAlarmContent.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
|
this.lblAlarmContent.Name = "lblAlarmContent";
|
|
this.lblAlarmContent.Size = new System.Drawing.Size(100, 31);
|
|
this.lblAlarmContent.TabIndex = 4;
|
|
this.lblAlarmContent.Text = "报警内容:";
|
|
this.lblAlarmContent.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
|
//
|
|
// numAlarmCode
|
|
//
|
|
this.numAlarmCode.Font = new System.Drawing.Font("微软雅黑", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.numAlarmCode.Location = new System.Drawing.Point(130, 119);
|
|
this.numAlarmCode.Margin = new System.Windows.Forms.Padding(4);
|
|
this.numAlarmCode.Maximum = new decimal(new int[] {
|
|
99999,
|
|
0,
|
|
0,
|
|
0});
|
|
this.numAlarmCode.Name = "numAlarmCode";
|
|
this.numAlarmCode.Size = new System.Drawing.Size(330, 29);
|
|
this.numAlarmCode.TabIndex = 3;
|
|
//
|
|
// lblAlarmCode
|
|
//
|
|
this.lblAlarmCode.Font = new System.Drawing.Font("微软雅黑", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.lblAlarmCode.Location = new System.Drawing.Point(27, 119);
|
|
this.lblAlarmCode.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
|
this.lblAlarmCode.Name = "lblAlarmCode";
|
|
this.lblAlarmCode.Size = new System.Drawing.Size(100, 31);
|
|
this.lblAlarmCode.TabIndex = 2;
|
|
this.lblAlarmCode.Text = "报警编码:";
|
|
this.lblAlarmCode.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
|
//
|
|
// txtAlarmId
|
|
//
|
|
this.txtAlarmId.BackColor = System.Drawing.Color.LightGray;
|
|
this.txtAlarmId.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.txtAlarmId.Location = new System.Drawing.Point(130, 56);
|
|
this.txtAlarmId.Margin = new System.Windows.Forms.Padding(4);
|
|
this.txtAlarmId.Name = "txtAlarmId";
|
|
this.txtAlarmId.ReadOnly = true;
|
|
this.txtAlarmId.Size = new System.Drawing.Size(330, 27);
|
|
this.txtAlarmId.TabIndex = 1;
|
|
this.txtAlarmId.Visible = false;
|
|
//
|
|
// lblAlarmId
|
|
//
|
|
this.lblAlarmId.Font = new System.Drawing.Font("微软雅黑", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.lblAlarmId.Location = new System.Drawing.Point(27, 56);
|
|
this.lblAlarmId.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
|
this.lblAlarmId.Name = "lblAlarmId";
|
|
this.lblAlarmId.Size = new System.Drawing.Size(100, 31);
|
|
this.lblAlarmId.TabIndex = 0;
|
|
this.lblAlarmId.Text = "编号:";
|
|
this.lblAlarmId.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
|
this.lblAlarmId.Visible = false;
|
|
//
|
|
// pnlEditButtons
|
|
//
|
|
this.pnlEditButtons.Controls.Add(this.btnCancel);
|
|
this.pnlEditButtons.Controls.Add(this.btnDelete);
|
|
this.pnlEditButtons.Controls.Add(this.btnSave);
|
|
this.pnlEditButtons.Dock = System.Windows.Forms.DockStyle.Bottom;
|
|
this.pnlEditButtons.Location = new System.Drawing.Point(0, 625);
|
|
this.pnlEditButtons.Margin = new System.Windows.Forms.Padding(4);
|
|
this.pnlEditButtons.Name = "pnlEditButtons";
|
|
this.pnlEditButtons.Padding = new System.Windows.Forms.Padding(13, 12, 13, 12);
|
|
this.pnlEditButtons.Size = new System.Drawing.Size(495, 125);
|
|
this.pnlEditButtons.TabIndex = 0;
|
|
//
|
|
// btnCancel
|
|
//
|
|
this.btnCancel.Font = new System.Drawing.Font("微软雅黑", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.btnCancel.Location = new System.Drawing.Point(333, 25);
|
|
this.btnCancel.Margin = new System.Windows.Forms.Padding(4);
|
|
this.btnCancel.Name = "btnCancel";
|
|
this.btnCancel.Size = new System.Drawing.Size(133, 62);
|
|
this.btnCancel.TabIndex = 2;
|
|
this.btnCancel.Text = "取消";
|
|
this.btnCancel.UseVisualStyleBackColor = true;
|
|
this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
|
|
//
|
|
// btnDelete
|
|
//
|
|
this.btnDelete.BackColor = System.Drawing.Color.LightCoral;
|
|
this.btnDelete.Font = new System.Drawing.Font("微软雅黑", 11F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.btnDelete.Location = new System.Drawing.Point(180, 25);
|
|
this.btnDelete.Margin = new System.Windows.Forms.Padding(4);
|
|
this.btnDelete.Name = "btnDelete";
|
|
this.btnDelete.Size = new System.Drawing.Size(133, 62);
|
|
this.btnDelete.TabIndex = 1;
|
|
this.btnDelete.Text = "删除";
|
|
this.btnDelete.UseVisualStyleBackColor = false;
|
|
this.btnDelete.Click += new System.EventHandler(this.btnDelete_Click);
|
|
//
|
|
// btnSave
|
|
//
|
|
this.btnSave.BackColor = System.Drawing.Color.LightBlue;
|
|
this.btnSave.Font = new System.Drawing.Font("微软雅黑", 11F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.btnSave.Location = new System.Drawing.Point(27, 25);
|
|
this.btnSave.Margin = new System.Windows.Forms.Padding(4);
|
|
this.btnSave.Name = "btnSave";
|
|
this.btnSave.Size = new System.Drawing.Size(133, 62);
|
|
this.btnSave.TabIndex = 0;
|
|
this.btnSave.Text = "新增";
|
|
this.btnSave.UseVisualStyleBackColor = false;
|
|
this.btnSave.Click += new System.EventHandler(this.btnSave_Click);
|
|
//
|
|
// colAlarmId
|
|
//
|
|
this.colAlarmId.HeaderText = "编号";
|
|
this.colAlarmId.MinimumWidth = 6;
|
|
this.colAlarmId.Name = "colAlarmId";
|
|
this.colAlarmId.ReadOnly = true;
|
|
this.colAlarmId.Visible = false;
|
|
//
|
|
// colAlarmCode
|
|
//
|
|
this.colAlarmCode.HeaderText = "报警编码";
|
|
this.colAlarmCode.MinimumWidth = 6;
|
|
this.colAlarmCode.Name = "colAlarmCode";
|
|
this.colAlarmCode.ReadOnly = true;
|
|
//
|
|
// colAlarmContent
|
|
//
|
|
this.colAlarmContent.HeaderText = "报警内容";
|
|
this.colAlarmContent.MinimumWidth = 6;
|
|
this.colAlarmContent.Name = "colAlarmContent";
|
|
this.colAlarmContent.ReadOnly = true;
|
|
//
|
|
// colLevel
|
|
//
|
|
this.colLevel.HeaderText = "级别";
|
|
this.colLevel.MinimumWidth = 6;
|
|
this.colLevel.Name = "colLevel";
|
|
this.colLevel.ReadOnly = true;
|
|
//
|
|
// colEnabled
|
|
//
|
|
this.colEnabled.HeaderText = "启用";
|
|
this.colEnabled.MinimumWidth = 6;
|
|
this.colEnabled.Name = "colEnabled";
|
|
this.colEnabled.ReadOnly = true;
|
|
//
|
|
// colRemarks
|
|
//
|
|
this.colRemarks.HeaderText = "备注";
|
|
this.colRemarks.MinimumWidth = 6;
|
|
this.colRemarks.Name = "colRemarks";
|
|
this.colRemarks.ReadOnly = true;
|
|
//
|
|
// AlarmConfigManagementForm
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(1400, 750);
|
|
this.Controls.Add(this.splitContainer);
|
|
this.Margin = new System.Windows.Forms.Padding(4);
|
|
this.MinimumSize = new System.Drawing.Size(1200, 600);
|
|
this.Name = "AlarmConfigManagementForm";
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
|
this.Text = "报警配置管理";
|
|
this.splitContainer.Panel1.ResumeLayout(false);
|
|
this.splitContainer.Panel2.ResumeLayout(false);
|
|
((System.ComponentModel.ISupportInitialize)(this.splitContainer)).EndInit();
|
|
this.splitContainer.ResumeLayout(false);
|
|
this.pnlList.ResumeLayout(false);
|
|
((System.ComponentModel.ISupportInitialize)(this.dgvAlarmConfigs)).EndInit();
|
|
this.pnlListButtons.ResumeLayout(false);
|
|
this.pnlListButtons.PerformLayout();
|
|
this.pnlSearch.ResumeLayout(false);
|
|
this.pnlSearch.PerformLayout();
|
|
this.pnlEdit.ResumeLayout(false);
|
|
this.grpEditInfo.ResumeLayout(false);
|
|
this.grpEditInfo.PerformLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.numAlarmCode)).EndInit();
|
|
this.pnlEditButtons.ResumeLayout(false);
|
|
this.ResumeLayout(false);
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.SplitContainer splitContainer;
|
|
private System.Windows.Forms.Panel pnlList;
|
|
private System.Windows.Forms.DataGridView dgvAlarmConfigs;
|
|
private System.Windows.Forms.Panel pnlListButtons;
|
|
private System.Windows.Forms.Label lblStatistics;
|
|
private System.Windows.Forms.Button btnClose;
|
|
private System.Windows.Forms.Button btnRefresh;
|
|
private System.Windows.Forms.Panel pnlSearch;
|
|
private System.Windows.Forms.ComboBox cmbLevelFilter;
|
|
private System.Windows.Forms.Label lblLevelFilter;
|
|
private System.Windows.Forms.TextBox txtSearch;
|
|
private System.Windows.Forms.Label lblSearch;
|
|
private System.Windows.Forms.Panel pnlEdit;
|
|
private System.Windows.Forms.GroupBox grpEditInfo;
|
|
private System.Windows.Forms.TextBox txtRemarks;
|
|
private System.Windows.Forms.Label lblRemarks;
|
|
private System.Windows.Forms.CheckBox chkEnabled;
|
|
private System.Windows.Forms.ComboBox cmbLevel;
|
|
private System.Windows.Forms.Label lblLevel;
|
|
private System.Windows.Forms.TextBox txtAlarmContent;
|
|
private System.Windows.Forms.Label lblAlarmContent;
|
|
private System.Windows.Forms.NumericUpDown numAlarmCode;
|
|
private System.Windows.Forms.Label lblAlarmCode;
|
|
private System.Windows.Forms.TextBox txtAlarmId;
|
|
private System.Windows.Forms.Label lblAlarmId;
|
|
private System.Windows.Forms.Panel pnlEditButtons;
|
|
private System.Windows.Forms.Button btnCancel;
|
|
private System.Windows.Forms.Button btnDelete;
|
|
private System.Windows.Forms.Button btnSave;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn colAlarmId;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn colAlarmCode;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn colAlarmContent;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn colLevel;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn colEnabled;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn colRemarks;
|
|
}
|
|
}
|
|
|