377 lines
19 KiB
C#
377 lines
19 KiB
C#
namespace StandardScene.Charge
|
|
{
|
|
partial class CommunicationMonitorForm
|
|
{
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing && (components != null))
|
|
{
|
|
components.Dispose();
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
#region Windows Form Designer generated code
|
|
|
|
private void InitializeComponent()
|
|
{
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
this.splitContainer = new System.Windows.Forms.SplitContainer();
|
|
this.pnlLeft = new System.Windows.Forms.Panel();
|
|
this.dgvMessages = new System.Windows.Forms.DataGridView();
|
|
this.colTime = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.colDirection = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.colIpAddress = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.colPort = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.colLength = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.colRawData = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.colStationId = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.type = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.pnlLeftTop = new System.Windows.Forms.Panel();
|
|
this.button1 = new System.Windows.Forms.Button();
|
|
this.btnClear = new System.Windows.Forms.Button();
|
|
this.btnRefresh = new System.Windows.Forms.Button();
|
|
this.lblStatistics = new System.Windows.Forms.Label();
|
|
this.cmbIpFilter = new System.Windows.Forms.ComboBox();
|
|
this.lblIpFilter = new System.Windows.Forms.Label();
|
|
this.pnlRight = new System.Windows.Forms.Panel();
|
|
this.txtParsedData = new System.Windows.Forms.TextBox();
|
|
this.pnlRightTop = new System.Windows.Forms.Panel();
|
|
this.btnClose = new System.Windows.Forms.Button();
|
|
this.lblParsedTitle = new System.Windows.Forms.Label();
|
|
((System.ComponentModel.ISupportInitialize)(this.splitContainer)).BeginInit();
|
|
this.splitContainer.Panel1.SuspendLayout();
|
|
this.splitContainer.Panel2.SuspendLayout();
|
|
this.splitContainer.SuspendLayout();
|
|
this.pnlLeft.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.dgvMessages)).BeginInit();
|
|
this.pnlLeftTop.SuspendLayout();
|
|
this.pnlRight.SuspendLayout();
|
|
this.pnlRightTop.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
// splitContainer
|
|
//
|
|
this.splitContainer.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.splitContainer.Location = new System.Drawing.Point(0, 0);
|
|
this.splitContainer.Name = "splitContainer";
|
|
//
|
|
// splitContainer.Panel1
|
|
//
|
|
this.splitContainer.Panel1.Controls.Add(this.pnlLeft);
|
|
//
|
|
// splitContainer.Panel2
|
|
//
|
|
this.splitContainer.Panel2.Controls.Add(this.pnlRight);
|
|
this.splitContainer.Size = new System.Drawing.Size(1400, 800);
|
|
this.splitContainer.SplitterDistance = 850;
|
|
this.splitContainer.TabIndex = 0;
|
|
//
|
|
// pnlLeft
|
|
//
|
|
this.pnlLeft.Controls.Add(this.dgvMessages);
|
|
this.pnlLeft.Controls.Add(this.pnlLeftTop);
|
|
this.pnlLeft.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.pnlLeft.Location = new System.Drawing.Point(0, 0);
|
|
this.pnlLeft.Name = "pnlLeft";
|
|
this.pnlLeft.Size = new System.Drawing.Size(850, 800);
|
|
this.pnlLeft.TabIndex = 0;
|
|
//
|
|
// dgvMessages
|
|
//
|
|
this.dgvMessages.AllowUserToAddRows = false;
|
|
this.dgvMessages.AllowUserToDeleteRows = false;
|
|
this.dgvMessages.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
|
|
this.dgvMessages.BackgroundColor = System.Drawing.Color.White;
|
|
this.dgvMessages.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
|
dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
|
dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(81)))), ((int)(((byte)(181)))));
|
|
dataGridViewCellStyle1.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
dataGridViewCellStyle1.ForeColor = System.Drawing.Color.White;
|
|
dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
|
dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
|
dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
|
this.dgvMessages.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
|
|
this.dgvMessages.ColumnHeadersHeight = 35;
|
|
this.dgvMessages.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
|
this.colTime,
|
|
this.colDirection,
|
|
this.colIpAddress,
|
|
this.colPort,
|
|
this.colLength,
|
|
this.colRawData,
|
|
this.colStationId,
|
|
this.type});
|
|
this.dgvMessages.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.dgvMessages.EnableHeadersVisualStyles = false;
|
|
this.dgvMessages.GridColor = System.Drawing.Color.LightGray;
|
|
this.dgvMessages.Location = new System.Drawing.Point(0, 80);
|
|
this.dgvMessages.MultiSelect = false;
|
|
this.dgvMessages.Name = "dgvMessages";
|
|
this.dgvMessages.ReadOnly = true;
|
|
this.dgvMessages.RowHeadersVisible = false;
|
|
this.dgvMessages.RowHeadersWidth = 51;
|
|
this.dgvMessages.RowTemplate.Height = 30;
|
|
this.dgvMessages.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
|
|
this.dgvMessages.Size = new System.Drawing.Size(850, 720);
|
|
this.dgvMessages.TabIndex = 1;
|
|
this.dgvMessages.SelectionChanged += new System.EventHandler(this.dgvMessages_SelectionChanged);
|
|
//
|
|
// colTime
|
|
//
|
|
this.colTime.FillWeight = 80F;
|
|
this.colTime.HeaderText = "时间";
|
|
this.colTime.MinimumWidth = 6;
|
|
this.colTime.Name = "colTime";
|
|
this.colTime.ReadOnly = true;
|
|
//
|
|
// colDirection
|
|
//
|
|
this.colDirection.FillWeight = 50F;
|
|
this.colDirection.HeaderText = "方向";
|
|
this.colDirection.MinimumWidth = 6;
|
|
this.colDirection.Name = "colDirection";
|
|
this.colDirection.ReadOnly = true;
|
|
//
|
|
// colIpAddress
|
|
//
|
|
this.colIpAddress.FillWeight = 80F;
|
|
this.colIpAddress.HeaderText = "IP地址";
|
|
this.colIpAddress.MinimumWidth = 6;
|
|
this.colIpAddress.Name = "colIpAddress";
|
|
this.colIpAddress.ReadOnly = true;
|
|
//
|
|
// colPort
|
|
//
|
|
this.colPort.FillWeight = 50F;
|
|
this.colPort.HeaderText = "端口";
|
|
this.colPort.MinimumWidth = 6;
|
|
this.colPort.Name = "colPort";
|
|
this.colPort.ReadOnly = true;
|
|
//
|
|
// colLength
|
|
//
|
|
this.colLength.FillWeight = 50F;
|
|
this.colLength.HeaderText = "长度";
|
|
this.colLength.MinimumWidth = 6;
|
|
this.colLength.Name = "colLength";
|
|
this.colLength.ReadOnly = true;
|
|
//
|
|
// colRawData
|
|
//
|
|
this.colRawData.FillWeight = 200F;
|
|
this.colRawData.HeaderText = "原始数据";
|
|
this.colRawData.MinimumWidth = 6;
|
|
this.colRawData.Name = "colRawData";
|
|
this.colRawData.ReadOnly = true;
|
|
//
|
|
// colStationId
|
|
//
|
|
this.colStationId.FillWeight = 80F;
|
|
this.colStationId.HeaderText = "充电桩";
|
|
this.colStationId.MinimumWidth = 6;
|
|
this.colStationId.Name = "colStationId";
|
|
this.colStationId.ReadOnly = true;
|
|
//
|
|
// type
|
|
//
|
|
this.type.HeaderText = "协议类型";
|
|
this.type.MinimumWidth = 6;
|
|
this.type.Name = "type";
|
|
this.type.ReadOnly = true;
|
|
//
|
|
// pnlLeftTop
|
|
//
|
|
this.pnlLeftTop.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(250)))), ((int)(((byte)(250)))), ((int)(((byte)(250)))));
|
|
this.pnlLeftTop.Controls.Add(this.button1);
|
|
this.pnlLeftTop.Controls.Add(this.btnClear);
|
|
this.pnlLeftTop.Controls.Add(this.btnRefresh);
|
|
this.pnlLeftTop.Controls.Add(this.lblStatistics);
|
|
this.pnlLeftTop.Controls.Add(this.cmbIpFilter);
|
|
this.pnlLeftTop.Controls.Add(this.lblIpFilter);
|
|
this.pnlLeftTop.Dock = System.Windows.Forms.DockStyle.Top;
|
|
this.pnlLeftTop.Location = new System.Drawing.Point(0, 0);
|
|
this.pnlLeftTop.Name = "pnlLeftTop";
|
|
this.pnlLeftTop.Padding = new System.Windows.Forms.Padding(10);
|
|
this.pnlLeftTop.Size = new System.Drawing.Size(850, 80);
|
|
this.pnlLeftTop.TabIndex = 0;
|
|
//
|
|
// button1
|
|
//
|
|
this.button1.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.button1.Location = new System.Drawing.Point(546, 16);
|
|
this.button1.Name = "button1";
|
|
this.button1.Size = new System.Drawing.Size(80, 32);
|
|
this.button1.TabIndex = 5;
|
|
this.button1.Text = "暂停";
|
|
this.button1.UseVisualStyleBackColor = true;
|
|
this.button1.Click += new System.EventHandler(this.button1_Click);
|
|
//
|
|
// btnClear
|
|
//
|
|
this.btnClear.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.btnClear.Location = new System.Drawing.Point(460, 15);
|
|
this.btnClear.Name = "btnClear";
|
|
this.btnClear.Size = new System.Drawing.Size(80, 32);
|
|
this.btnClear.TabIndex = 4;
|
|
this.btnClear.Text = "清空";
|
|
this.btnClear.UseVisualStyleBackColor = true;
|
|
this.btnClear.Click += new System.EventHandler(this.btnClear_Click);
|
|
//
|
|
// btnRefresh
|
|
//
|
|
this.btnRefresh.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.btnRefresh.Location = new System.Drawing.Point(370, 15);
|
|
this.btnRefresh.Name = "btnRefresh";
|
|
this.btnRefresh.Size = new System.Drawing.Size(80, 32);
|
|
this.btnRefresh.TabIndex = 3;
|
|
this.btnRefresh.Text = "刷新";
|
|
this.btnRefresh.UseVisualStyleBackColor = true;
|
|
this.btnRefresh.Click += new System.EventHandler(this.btnRefresh_Click);
|
|
//
|
|
// lblStatistics
|
|
//
|
|
this.lblStatistics.AutoSize = true;
|
|
this.lblStatistics.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.lblStatistics.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(100)))), ((int)(((byte)(100)))));
|
|
this.lblStatistics.Location = new System.Drawing.Point(13, 52);
|
|
this.lblStatistics.Name = "lblStatistics";
|
|
this.lblStatistics.Size = new System.Drawing.Size(115, 20);
|
|
this.lblStatistics.TabIndex = 2;
|
|
this.lblStatistics.Text = "显示: 0 | 总数: 0";
|
|
//
|
|
// cmbIpFilter
|
|
//
|
|
this.cmbIpFilter.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
this.cmbIpFilter.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.cmbIpFilter.FormattingEnabled = true;
|
|
this.cmbIpFilter.Location = new System.Drawing.Point(100, 17);
|
|
this.cmbIpFilter.Name = "cmbIpFilter";
|
|
this.cmbIpFilter.Size = new System.Drawing.Size(250, 28);
|
|
this.cmbIpFilter.TabIndex = 1;
|
|
this.cmbIpFilter.SelectedIndexChanged += new System.EventHandler(this.cmbIpFilter_SelectedIndexChanged);
|
|
//
|
|
// lblIpFilter
|
|
//
|
|
this.lblIpFilter.AutoSize = true;
|
|
this.lblIpFilter.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.lblIpFilter.Location = new System.Drawing.Point(13, 21);
|
|
this.lblIpFilter.Name = "lblIpFilter";
|
|
this.lblIpFilter.Size = new System.Drawing.Size(67, 20);
|
|
this.lblIpFilter.TabIndex = 0;
|
|
this.lblIpFilter.Text = "IP筛选:";
|
|
//
|
|
// pnlRight
|
|
//
|
|
this.pnlRight.Controls.Add(this.txtParsedData);
|
|
this.pnlRight.Controls.Add(this.pnlRightTop);
|
|
this.pnlRight.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.pnlRight.Location = new System.Drawing.Point(0, 0);
|
|
this.pnlRight.Name = "pnlRight";
|
|
this.pnlRight.Size = new System.Drawing.Size(546, 800);
|
|
this.pnlRight.TabIndex = 0;
|
|
//
|
|
// txtParsedData
|
|
//
|
|
this.txtParsedData.BackColor = System.Drawing.Color.White;
|
|
this.txtParsedData.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.txtParsedData.Font = new System.Drawing.Font("Consolas", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.txtParsedData.Location = new System.Drawing.Point(0, 60);
|
|
this.txtParsedData.Multiline = true;
|
|
this.txtParsedData.Name = "txtParsedData";
|
|
this.txtParsedData.ReadOnly = true;
|
|
this.txtParsedData.ScrollBars = System.Windows.Forms.ScrollBars.Both;
|
|
this.txtParsedData.Size = new System.Drawing.Size(546, 740);
|
|
this.txtParsedData.TabIndex = 1;
|
|
this.txtParsedData.WordWrap = false;
|
|
//
|
|
// pnlRightTop
|
|
//
|
|
this.pnlRightTop.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(250)))), ((int)(((byte)(250)))), ((int)(((byte)(250)))));
|
|
this.pnlRightTop.Controls.Add(this.btnClose);
|
|
this.pnlRightTop.Controls.Add(this.lblParsedTitle);
|
|
this.pnlRightTop.Dock = System.Windows.Forms.DockStyle.Top;
|
|
this.pnlRightTop.Location = new System.Drawing.Point(0, 0);
|
|
this.pnlRightTop.Name = "pnlRightTop";
|
|
this.pnlRightTop.Padding = new System.Windows.Forms.Padding(10);
|
|
this.pnlRightTop.Size = new System.Drawing.Size(546, 60);
|
|
this.pnlRightTop.TabIndex = 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("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.btnClose.Location = new System.Drawing.Point(446, 15);
|
|
this.btnClose.Name = "btnClose";
|
|
this.btnClose.Size = new System.Drawing.Size(80, 32);
|
|
this.btnClose.TabIndex = 1;
|
|
this.btnClose.Text = "关闭";
|
|
this.btnClose.UseVisualStyleBackColor = true;
|
|
this.btnClose.Click += new System.EventHandler(this.btnClose_Click);
|
|
//
|
|
// lblParsedTitle
|
|
//
|
|
this.lblParsedTitle.AutoSize = true;
|
|
this.lblParsedTitle.Font = new System.Drawing.Font("微软雅黑", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.lblParsedTitle.Location = new System.Drawing.Point(13, 20);
|
|
this.lblParsedTitle.Name = "lblParsedTitle";
|
|
this.lblParsedTitle.Size = new System.Drawing.Size(112, 24);
|
|
this.lblParsedTitle.TabIndex = 0;
|
|
this.lblParsedTitle.Text = "报文数据解析";
|
|
//
|
|
// CommunicationMonitorForm
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(1400, 800);
|
|
this.Controls.Add(this.splitContainer);
|
|
this.Name = "CommunicationMonitorForm";
|
|
this.Text = "通讯监控";
|
|
this.Load += new System.EventHandler(this.CommunicationMonitorForm_Load);
|
|
this.splitContainer.Panel1.ResumeLayout(false);
|
|
this.splitContainer.Panel2.ResumeLayout(false);
|
|
((System.ComponentModel.ISupportInitialize)(this.splitContainer)).EndInit();
|
|
this.splitContainer.ResumeLayout(false);
|
|
this.pnlLeft.ResumeLayout(false);
|
|
((System.ComponentModel.ISupportInitialize)(this.dgvMessages)).EndInit();
|
|
this.pnlLeftTop.ResumeLayout(false);
|
|
this.pnlLeftTop.PerformLayout();
|
|
this.pnlRight.ResumeLayout(false);
|
|
this.pnlRight.PerformLayout();
|
|
this.pnlRightTop.ResumeLayout(false);
|
|
this.pnlRightTop.PerformLayout();
|
|
this.ResumeLayout(false);
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.SplitContainer splitContainer;
|
|
private System.Windows.Forms.Panel pnlLeft;
|
|
private System.Windows.Forms.DataGridView dgvMessages;
|
|
private System.Windows.Forms.Panel pnlLeftTop;
|
|
private System.Windows.Forms.ComboBox cmbIpFilter;
|
|
private System.Windows.Forms.Label lblIpFilter;
|
|
private System.Windows.Forms.Panel pnlRight;
|
|
private System.Windows.Forms.TextBox txtParsedData;
|
|
private System.Windows.Forms.Panel pnlRightTop;
|
|
private System.Windows.Forms.Label lblParsedTitle;
|
|
private System.Windows.Forms.Label lblStatistics;
|
|
private System.Windows.Forms.Button btnRefresh;
|
|
private System.Windows.Forms.Button btnClear;
|
|
private System.Windows.Forms.Button btnClose;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn colTime;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn colDirection;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn colIpAddress;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn colPort;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn colLength;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn colRawData;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn colStationId;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn type;
|
|
private System.Windows.Forms.Button button1;
|
|
}
|
|
}
|
|
|