添加项目文件。
This commit is contained in:
+319
@@ -0,0 +1,319 @@
|
||||
namespace JY.Inspection.Frm
|
||||
{
|
||||
partial class FrmAlamQuery
|
||||
{
|
||||
/// <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 dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmAlamQuery));
|
||||
this.btnSelect = new MetroFramework.Controls.MetroButton();
|
||||
this.metroLabel2 = new MetroFramework.Controls.MetroLabel();
|
||||
this.metroLabel1 = new MetroFramework.Controls.MetroLabel();
|
||||
this.lblSelectStures = new System.Windows.Forms.Label();
|
||||
this.dtEndTime = new System.Windows.Forms.DateTimePicker();
|
||||
this.dtStartTime = new System.Windows.Forms.DateTimePicker();
|
||||
this.dgvData = new MetroFramework.Controls.MetroGrid();
|
||||
this.AlarmType = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.AlarmGuid = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.PLCAdress = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.AlarmContent = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.AlarmCode = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.AlarmDesc = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.AlarmState = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.AlarmTime = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.BurningTime = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.Flag = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dgvData)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// btnSelect
|
||||
//
|
||||
this.btnSelect.Location = new System.Drawing.Point(984, 38);
|
||||
this.btnSelect.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||
this.btnSelect.Name = "btnSelect";
|
||||
this.btnSelect.Size = new System.Drawing.Size(100, 29);
|
||||
this.btnSelect.TabIndex = 12;
|
||||
this.btnSelect.Text = "查询";
|
||||
this.btnSelect.UseSelectable = true;
|
||||
this.btnSelect.Click += new System.EventHandler(this.btnSelect_Click);
|
||||
//
|
||||
// metroLabel2
|
||||
//
|
||||
this.metroLabel2.AutoSize = true;
|
||||
this.metroLabel2.Location = new System.Drawing.Point(688, 40);
|
||||
this.metroLabel2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
this.metroLabel2.Name = "metroLabel2";
|
||||
this.metroLabel2.Size = new System.Drawing.Size(19, 20);
|
||||
this.metroLabel2.TabIndex = 11;
|
||||
this.metroLabel2.Text = "~";
|
||||
//
|
||||
// metroLabel1
|
||||
//
|
||||
this.metroLabel1.AutoSize = true;
|
||||
this.metroLabel1.Location = new System.Drawing.Point(353, 40);
|
||||
this.metroLabel1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
this.metroLabel1.Name = "metroLabel1";
|
||||
this.metroLabel1.Size = new System.Drawing.Size(84, 20);
|
||||
this.metroLabel1.TabIndex = 10;
|
||||
this.metroLabel1.Text = "查询时间:";
|
||||
//
|
||||
// lblSelectStures
|
||||
//
|
||||
this.lblSelectStures.AutoSize = true;
|
||||
this.lblSelectStures.Location = new System.Drawing.Point(1271, 40);
|
||||
this.lblSelectStures.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
this.lblSelectStures.Name = "lblSelectStures";
|
||||
this.lblSelectStures.Size = new System.Drawing.Size(0, 15);
|
||||
this.lblSelectStures.TabIndex = 14;
|
||||
//
|
||||
// dtEndTime
|
||||
//
|
||||
this.dtEndTime.CustomFormat = "yyyy-MM-dd HH:mm:ss";
|
||||
this.dtEndTime.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.dtEndTime.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
|
||||
this.dtEndTime.Location = new System.Drawing.Point(720, 36);
|
||||
this.dtEndTime.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||
this.dtEndTime.Name = "dtEndTime";
|
||||
this.dtEndTime.Size = new System.Drawing.Size(233, 31);
|
||||
this.dtEndTime.TabIndex = 19;
|
||||
//
|
||||
// dtStartTime
|
||||
//
|
||||
this.dtStartTime.CalendarForeColor = System.Drawing.SystemColors.ControlLight;
|
||||
this.dtStartTime.CustomFormat = "yyyy-MM-dd HH:mm:ss";
|
||||
this.dtStartTime.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.dtStartTime.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
|
||||
this.dtStartTime.Location = new System.Drawing.Point(448, 36);
|
||||
this.dtStartTime.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||
this.dtStartTime.Name = "dtStartTime";
|
||||
this.dtStartTime.Size = new System.Drawing.Size(233, 31);
|
||||
this.dtStartTime.TabIndex = 18;
|
||||
//
|
||||
// dgvData
|
||||
//
|
||||
this.dgvData.AllowUserToAddRows = false;
|
||||
this.dgvData.AllowUserToDeleteRows = false;
|
||||
this.dgvData.AllowUserToResizeRows = false;
|
||||
this.dgvData.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
| System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.dgvData.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells;
|
||||
this.dgvData.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
|
||||
this.dgvData.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
||||
this.dgvData.CellBorderStyle = System.Windows.Forms.DataGridViewCellBorderStyle.None;
|
||||
this.dgvData.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.None;
|
||||
dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle1.BackColor = System.Drawing.Color.SkyBlue;
|
||||
dataGridViewCellStyle1.Font = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
|
||||
dataGridViewCellStyle1.ForeColor = System.Drawing.Color.Black;
|
||||
dataGridViewCellStyle1.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(198)))), ((int)(((byte)(247)))));
|
||||
dataGridViewCellStyle1.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17)))));
|
||||
dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.dgvData.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
|
||||
this.dgvData.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||
this.dgvData.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||
this.AlarmType,
|
||||
this.AlarmGuid,
|
||||
this.PLCAdress,
|
||||
this.AlarmContent,
|
||||
this.AlarmCode,
|
||||
this.AlarmDesc,
|
||||
this.AlarmState,
|
||||
this.AlarmTime,
|
||||
this.BurningTime,
|
||||
this.Flag});
|
||||
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
|
||||
dataGridViewCellStyle2.Font = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
|
||||
dataGridViewCellStyle2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(136)))), ((int)(((byte)(136)))), ((int)(((byte)(136)))));
|
||||
dataGridViewCellStyle2.SelectionBackColor = System.Drawing.Color.Silver;
|
||||
dataGridViewCellStyle2.SelectionForeColor = System.Drawing.Color.Black;
|
||||
dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
||||
this.dgvData.DefaultCellStyle = dataGridViewCellStyle2;
|
||||
this.dgvData.EnableHeadersVisualStyles = false;
|
||||
this.dgvData.Font = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
|
||||
this.dgvData.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
|
||||
this.dgvData.Location = new System.Drawing.Point(7, 75);
|
||||
this.dgvData.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.dgvData.Name = "dgvData";
|
||||
this.dgvData.ReadOnly = true;
|
||||
this.dgvData.RowHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.None;
|
||||
dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle3.BackColor = System.Drawing.Color.White;
|
||||
dataGridViewCellStyle3.Font = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
|
||||
dataGridViewCellStyle3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
|
||||
dataGridViewCellStyle3.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(198)))), ((int)(((byte)(247)))));
|
||||
dataGridViewCellStyle3.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17)))));
|
||||
dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.dgvData.RowHeadersDefaultCellStyle = dataGridViewCellStyle3;
|
||||
this.dgvData.RowHeadersWidth = 51;
|
||||
this.dgvData.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing;
|
||||
this.dgvData.RowTemplate.Height = 23;
|
||||
this.dgvData.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
|
||||
this.dgvData.Size = new System.Drawing.Size(1479, 808);
|
||||
this.dgvData.TabIndex = 20;
|
||||
//
|
||||
// AlarmType
|
||||
//
|
||||
this.AlarmType.DataPropertyName = "AlarmType";
|
||||
this.AlarmType.HeaderText = "报警类型";
|
||||
this.AlarmType.MinimumWidth = 6;
|
||||
this.AlarmType.Name = "AlarmType";
|
||||
this.AlarmType.ReadOnly = true;
|
||||
this.AlarmType.Width = 86;
|
||||
//
|
||||
// AlarmGuid
|
||||
//
|
||||
this.AlarmGuid.DataPropertyName = "AlarmGuid";
|
||||
this.AlarmGuid.HeaderText = "报警GUID";
|
||||
this.AlarmGuid.MinimumWidth = 6;
|
||||
this.AlarmGuid.Name = "AlarmGuid";
|
||||
this.AlarmGuid.ReadOnly = true;
|
||||
this.AlarmGuid.Width = 87;
|
||||
//
|
||||
// PLCAdress
|
||||
//
|
||||
this.PLCAdress.DataPropertyName = "PLCAdress";
|
||||
this.PLCAdress.HeaderText = "PLC报警地址";
|
||||
this.PLCAdress.MinimumWidth = 6;
|
||||
this.PLCAdress.Name = "PLCAdress";
|
||||
this.PLCAdress.ReadOnly = true;
|
||||
this.PLCAdress.Width = 107;
|
||||
//
|
||||
// AlarmContent
|
||||
//
|
||||
this.AlarmContent.DataPropertyName = "AlarmContent";
|
||||
this.AlarmContent.HeaderText = "报警内容";
|
||||
this.AlarmContent.MinimumWidth = 6;
|
||||
this.AlarmContent.Name = "AlarmContent";
|
||||
this.AlarmContent.ReadOnly = true;
|
||||
this.AlarmContent.Width = 86;
|
||||
//
|
||||
// AlarmCode
|
||||
//
|
||||
this.AlarmCode.DataPropertyName = "AlarmCode";
|
||||
this.AlarmCode.HeaderText = "报警代码";
|
||||
this.AlarmCode.MinimumWidth = 6;
|
||||
this.AlarmCode.Name = "AlarmCode";
|
||||
this.AlarmCode.ReadOnly = true;
|
||||
this.AlarmCode.Width = 86;
|
||||
//
|
||||
// AlarmDesc
|
||||
//
|
||||
this.AlarmDesc.DataPropertyName = "AlarmDesc";
|
||||
this.AlarmDesc.HeaderText = "报警说明";
|
||||
this.AlarmDesc.MinimumWidth = 6;
|
||||
this.AlarmDesc.Name = "AlarmDesc";
|
||||
this.AlarmDesc.ReadOnly = true;
|
||||
this.AlarmDesc.Visible = false;
|
||||
this.AlarmDesc.Width = 82;
|
||||
//
|
||||
// AlarmState
|
||||
//
|
||||
this.AlarmState.DataPropertyName = "AlarmState";
|
||||
this.AlarmState.HeaderText = "报警状态";
|
||||
this.AlarmState.MinimumWidth = 6;
|
||||
this.AlarmState.Name = "AlarmState";
|
||||
this.AlarmState.ReadOnly = true;
|
||||
this.AlarmState.Visible = false;
|
||||
this.AlarmState.Width = 82;
|
||||
//
|
||||
// AlarmTime
|
||||
//
|
||||
this.AlarmTime.DataPropertyName = "StartTime";
|
||||
this.AlarmTime.HeaderText = "报警开始时间";
|
||||
this.AlarmTime.MinimumWidth = 6;
|
||||
this.AlarmTime.Name = "AlarmTime";
|
||||
this.AlarmTime.ReadOnly = true;
|
||||
this.AlarmTime.Width = 112;
|
||||
//
|
||||
// BurningTime
|
||||
//
|
||||
this.BurningTime.DataPropertyName = "EndTime";
|
||||
this.BurningTime.HeaderText = "报警结束时间";
|
||||
this.BurningTime.MinimumWidth = 6;
|
||||
this.BurningTime.Name = "BurningTime";
|
||||
this.BurningTime.ReadOnly = true;
|
||||
this.BurningTime.Width = 112;
|
||||
//
|
||||
// Flag
|
||||
//
|
||||
this.Flag.DataPropertyName = "Flag";
|
||||
this.Flag.HeaderText = "更新状态";
|
||||
this.Flag.MinimumWidth = 6;
|
||||
this.Flag.Name = "Flag";
|
||||
this.Flag.ReadOnly = true;
|
||||
this.Flag.Visible = false;
|
||||
this.Flag.Width = 64;
|
||||
//
|
||||
// FrmAlamQuery
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(1492, 925);
|
||||
this.Controls.Add(this.dgvData);
|
||||
this.Controls.Add(this.dtEndTime);
|
||||
this.Controls.Add(this.dtStartTime);
|
||||
this.Controls.Add(this.lblSelectStures);
|
||||
this.Controls.Add(this.btnSelect);
|
||||
this.Controls.Add(this.metroLabel2);
|
||||
this.Controls.Add(this.metroLabel1);
|
||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||
this.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||
this.Name = "FrmAlamQuery";
|
||||
this.Padding = new System.Windows.Forms.Padding(27, 75, 27, 25);
|
||||
this.Text = "历史报警信息查询";
|
||||
this.Load += new System.EventHandler(this.FrmAlamQuery_Load);
|
||||
((System.ComponentModel.ISupportInitialize)(this.dgvData)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private MetroFramework.Controls.MetroButton btnSelect;
|
||||
private MetroFramework.Controls.MetroLabel metroLabel2;
|
||||
private MetroFramework.Controls.MetroLabel metroLabel1;
|
||||
private System.Windows.Forms.Label lblSelectStures;
|
||||
private System.Windows.Forms.DateTimePicker dtEndTime;
|
||||
private System.Windows.Forms.DateTimePicker dtStartTime;
|
||||
private MetroFramework.Controls.MetroGrid dgvData;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn AlarmType;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn AlarmGuid;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn PLCAdress;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn AlarmContent;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn AlarmCode;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn AlarmDesc;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn AlarmState;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn AlarmTime;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn BurningTime;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn Flag;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user