|
|
namespace RFIDSocket
|
|
|
{
|
|
|
partial class RFIDSocket
|
|
|
{
|
|
|
/// <summary>
|
|
|
/// 必需的设计器变量。
|
|
|
/// </summary>
|
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
|
|
/// <summary>
|
|
|
/// 清理所有正在使用的资源。
|
|
|
/// </summary>
|
|
|
/// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
|
|
|
protected override void Dispose(bool disposing)
|
|
|
{
|
|
|
if (disposing && (components != null))
|
|
|
{
|
|
|
components.Dispose();
|
|
|
}
|
|
|
base.Dispose(disposing);
|
|
|
}
|
|
|
|
|
|
#region Windows 窗体设计器生成的代码
|
|
|
|
|
|
/// <summary>
|
|
|
/// 设计器支持所需的方法 - 不要修改
|
|
|
/// 使用代码编辑器修改此方法的内容。
|
|
|
/// </summary>
|
|
|
private void InitializeComponent()
|
|
|
{
|
|
|
this.components = new System.ComponentModel.Container();
|
|
|
this.CotentData = new System.Windows.Forms.DataGridView();
|
|
|
this.groupBox1 = new System.Windows.Forms.GroupBox();
|
|
|
this.IPText = new System.Windows.Forms.TextBox();
|
|
|
this.SetAddress = new System.Windows.Forms.Button();
|
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
|
this.PortText = new System.Windows.Forms.TextBox();
|
|
|
this.MonitorOnOff = new System.Windows.Forms.Button();
|
|
|
this.label4 = new System.Windows.Forms.Label();
|
|
|
this.MonitorState = new System.Windows.Forms.Label();
|
|
|
this.TableTimer = new System.Windows.Forms.Timer(this.components);
|
|
|
this.rFIDContentBindingSource = new System.Windows.Forms.BindingSource(this.components);
|
|
|
this.deviceNoDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
this.readKindDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
this.contentDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
this.logTimeDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
this.StateData = new System.Windows.Forms.DataGridView();
|
|
|
this.groupBox2 = new System.Windows.Forms.GroupBox();
|
|
|
this.groupBox3 = new System.Windows.Forms.GroupBox();
|
|
|
this.HeartbeatData = new System.Windows.Forms.DataGridView();
|
|
|
this.rFIDStateBindingSource = new System.Windows.Forms.BindingSource(this.components);
|
|
|
this.rFIDHeartbeatBindingSource = new System.Windows.Forms.BindingSource(this.components);
|
|
|
this.deviceNoDataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
this.logTimeDataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
this.deviceNoDataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
this.beatTimeDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.CotentData)).BeginInit();
|
|
|
this.groupBox1.SuspendLayout();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.rFIDContentBindingSource)).BeginInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.StateData)).BeginInit();
|
|
|
this.groupBox2.SuspendLayout();
|
|
|
this.groupBox3.SuspendLayout();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.HeartbeatData)).BeginInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.rFIDStateBindingSource)).BeginInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.rFIDHeartbeatBindingSource)).BeginInit();
|
|
|
this.SuspendLayout();
|
|
|
//
|
|
|
// CotentData
|
|
|
//
|
|
|
this.CotentData.AutoGenerateColumns = false;
|
|
|
this.CotentData.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
|
|
this.deviceNoDataGridViewTextBoxColumn,
|
|
|
this.readKindDataGridViewTextBoxColumn,
|
|
|
this.contentDataGridViewTextBoxColumn,
|
|
|
this.logTimeDataGridViewTextBoxColumn});
|
|
|
this.CotentData.DataSource = this.rFIDContentBindingSource;
|
|
|
this.CotentData.Location = new System.Drawing.Point(12, 129);
|
|
|
this.CotentData.Name = "CotentData";
|
|
|
this.CotentData.RowHeadersVisible = false;
|
|
|
this.CotentData.RowHeadersWidth = 51;
|
|
|
this.CotentData.RowTemplate.Height = 20;
|
|
|
this.CotentData.ScrollBars = System.Windows.Forms.ScrollBars.None;
|
|
|
this.CotentData.Size = new System.Drawing.Size(648, 1026);
|
|
|
this.CotentData.TabIndex = 0;
|
|
|
//
|
|
|
// groupBox1
|
|
|
//
|
|
|
this.groupBox1.Controls.Add(this.IPText);
|
|
|
this.groupBox1.Controls.Add(this.SetAddress);
|
|
|
this.groupBox1.Controls.Add(this.label1);
|
|
|
this.groupBox1.Controls.Add(this.PortText);
|
|
|
this.groupBox1.Location = new System.Drawing.Point(12, 12);
|
|
|
this.groupBox1.Name = "groupBox1";
|
|
|
this.groupBox1.Size = new System.Drawing.Size(408, 111);
|
|
|
this.groupBox1.TabIndex = 1;
|
|
|
this.groupBox1.TabStop = false;
|
|
|
this.groupBox1.Text = "端口设置";
|
|
|
//
|
|
|
// IPText
|
|
|
//
|
|
|
this.IPText.Location = new System.Drawing.Point(152, 24);
|
|
|
this.IPText.MaxLength = 6;
|
|
|
this.IPText.Name = "IPText";
|
|
|
this.IPText.Size = new System.Drawing.Size(163, 25);
|
|
|
this.IPText.TabIndex = 7;
|
|
|
this.IPText.Text = "127.0.0.1";
|
|
|
//
|
|
|
// SetAddress
|
|
|
//
|
|
|
this.SetAddress.Location = new System.Drawing.Point(117, 55);
|
|
|
this.SetAddress.Name = "SetAddress";
|
|
|
this.SetAddress.Size = new System.Drawing.Size(166, 50);
|
|
|
this.SetAddress.TabIndex = 6;
|
|
|
this.SetAddress.Text = "确认服务端地址";
|
|
|
this.SetAddress.UseVisualStyleBackColor = true;
|
|
|
this.SetAddress.Click += new System.EventHandler(this.SetPort_Click);
|
|
|
//
|
|
|
// label1
|
|
|
//
|
|
|
this.label1.AutoSize = true;
|
|
|
this.label1.Location = new System.Drawing.Point(18, 29);
|
|
|
this.label1.Name = "label1";
|
|
|
this.label1.Size = new System.Drawing.Size(128, 15);
|
|
|
this.label1.TabIndex = 1;
|
|
|
this.label1.Text = "服务端IP:端口号";
|
|
|
//
|
|
|
// PortText
|
|
|
//
|
|
|
this.PortText.Location = new System.Drawing.Point(321, 24);
|
|
|
this.PortText.MaxLength = 6;
|
|
|
this.PortText.Name = "PortText";
|
|
|
this.PortText.Size = new System.Drawing.Size(62, 25);
|
|
|
this.PortText.TabIndex = 0;
|
|
|
this.PortText.Text = "1234";
|
|
|
//
|
|
|
// MonitorOnOff
|
|
|
//
|
|
|
this.MonitorOnOff.Location = new System.Drawing.Point(450, 20);
|
|
|
this.MonitorOnOff.Name = "MonitorOnOff";
|
|
|
this.MonitorOnOff.Size = new System.Drawing.Size(192, 57);
|
|
|
this.MonitorOnOff.TabIndex = 7;
|
|
|
this.MonitorOnOff.Text = "启动监听";
|
|
|
this.MonitorOnOff.UseVisualStyleBackColor = true;
|
|
|
this.MonitorOnOff.Click += new System.EventHandler(this.MonitorOnOff_Click);
|
|
|
//
|
|
|
// label4
|
|
|
//
|
|
|
this.label4.AutoSize = true;
|
|
|
this.label4.Location = new System.Drawing.Point(493, 100);
|
|
|
this.label4.Name = "label4";
|
|
|
this.label4.Size = new System.Drawing.Size(82, 15);
|
|
|
this.label4.TabIndex = 8;
|
|
|
this.label4.Text = "监听状态:";
|
|
|
//
|
|
|
// MonitorState
|
|
|
//
|
|
|
this.MonitorState.AutoSize = true;
|
|
|
this.MonitorState.BackColor = System.Drawing.Color.Transparent;
|
|
|
this.MonitorState.Location = new System.Drawing.Point(572, 100);
|
|
|
this.MonitorState.Name = "MonitorState";
|
|
|
this.MonitorState.Size = new System.Drawing.Size(22, 15);
|
|
|
this.MonitorState.TabIndex = 9;
|
|
|
this.MonitorState.Text = "关";
|
|
|
//
|
|
|
// TableTimer
|
|
|
//
|
|
|
this.TableTimer.Enabled = true;
|
|
|
this.TableTimer.Interval = 1000;
|
|
|
this.TableTimer.Tick += new System.EventHandler(this.TableTimer_Tick);
|
|
|
//
|
|
|
// rFIDContentBindingSource
|
|
|
//
|
|
|
this.rFIDContentBindingSource.DataSource = typeof(HighWayIot.Repository.domain.RFIDContent);
|
|
|
//
|
|
|
// deviceNoDataGridViewTextBoxColumn
|
|
|
//
|
|
|
this.deviceNoDataGridViewTextBoxColumn.DataPropertyName = "DeviceNo";
|
|
|
this.deviceNoDataGridViewTextBoxColumn.HeaderText = "编号";
|
|
|
this.deviceNoDataGridViewTextBoxColumn.MinimumWidth = 6;
|
|
|
this.deviceNoDataGridViewTextBoxColumn.Name = "deviceNoDataGridViewTextBoxColumn";
|
|
|
this.deviceNoDataGridViewTextBoxColumn.Width = 40;
|
|
|
//
|
|
|
// readKindDataGridViewTextBoxColumn
|
|
|
//
|
|
|
this.readKindDataGridViewTextBoxColumn.DataPropertyName = "ReadKind";
|
|
|
this.readKindDataGridViewTextBoxColumn.HeaderText = "读码结果";
|
|
|
this.readKindDataGridViewTextBoxColumn.MinimumWidth = 6;
|
|
|
this.readKindDataGridViewTextBoxColumn.Name = "readKindDataGridViewTextBoxColumn";
|
|
|
this.readKindDataGridViewTextBoxColumn.Width = 60;
|
|
|
//
|
|
|
// contentDataGridViewTextBoxColumn
|
|
|
//
|
|
|
this.contentDataGridViewTextBoxColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
|
this.contentDataGridViewTextBoxColumn.DataPropertyName = "Content";
|
|
|
this.contentDataGridViewTextBoxColumn.HeaderText = "条码内容";
|
|
|
this.contentDataGridViewTextBoxColumn.MinimumWidth = 6;
|
|
|
this.contentDataGridViewTextBoxColumn.Name = "contentDataGridViewTextBoxColumn";
|
|
|
//
|
|
|
// logTimeDataGridViewTextBoxColumn
|
|
|
//
|
|
|
this.logTimeDataGridViewTextBoxColumn.DataPropertyName = "LogTime";
|
|
|
this.logTimeDataGridViewTextBoxColumn.HeaderText = "读取时间";
|
|
|
this.logTimeDataGridViewTextBoxColumn.MinimumWidth = 6;
|
|
|
this.logTimeDataGridViewTextBoxColumn.Name = "logTimeDataGridViewTextBoxColumn";
|
|
|
this.logTimeDataGridViewTextBoxColumn.Width = 105;
|
|
|
//
|
|
|
// StateData
|
|
|
//
|
|
|
this.StateData.AutoGenerateColumns = false;
|
|
|
this.StateData.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
|
|
this.deviceNoDataGridViewTextBoxColumn1,
|
|
|
this.logTimeDataGridViewTextBoxColumn1});
|
|
|
this.StateData.DataSource = this.rFIDStateBindingSource;
|
|
|
this.StateData.Location = new System.Drawing.Point(6, 24);
|
|
|
this.StateData.Name = "StateData";
|
|
|
this.StateData.RowHeadersVisible = false;
|
|
|
this.StateData.RowHeadersWidth = 51;
|
|
|
this.StateData.RowTemplate.Height = 20;
|
|
|
this.StateData.ScrollBars = System.Windows.Forms.ScrollBars.None;
|
|
|
this.StateData.Size = new System.Drawing.Size(236, 531);
|
|
|
this.StateData.TabIndex = 10;
|
|
|
//
|
|
|
// groupBox2
|
|
|
//
|
|
|
this.groupBox2.Controls.Add(this.StateData);
|
|
|
this.groupBox2.Location = new System.Drawing.Point(666, 12);
|
|
|
this.groupBox2.Name = "groupBox2";
|
|
|
this.groupBox2.Size = new System.Drawing.Size(248, 561);
|
|
|
this.groupBox2.TabIndex = 11;
|
|
|
this.groupBox2.TabStop = false;
|
|
|
this.groupBox2.Text = "发送设备故障";
|
|
|
//
|
|
|
// groupBox3
|
|
|
//
|
|
|
this.groupBox3.Controls.Add(this.HeartbeatData);
|
|
|
this.groupBox3.Location = new System.Drawing.Point(666, 579);
|
|
|
this.groupBox3.Name = "groupBox3";
|
|
|
this.groupBox3.Size = new System.Drawing.Size(248, 576);
|
|
|
this.groupBox3.TabIndex = 12;
|
|
|
this.groupBox3.TabStop = false;
|
|
|
this.groupBox3.Text = "心跳报文停止10秒以上";
|
|
|
//
|
|
|
// HeartbeatData
|
|
|
//
|
|
|
this.HeartbeatData.AutoGenerateColumns = false;
|
|
|
this.HeartbeatData.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
|
|
this.deviceNoDataGridViewTextBoxColumn2,
|
|
|
this.beatTimeDataGridViewTextBoxColumn});
|
|
|
this.HeartbeatData.DataSource = this.rFIDHeartbeatBindingSource;
|
|
|
this.HeartbeatData.Location = new System.Drawing.Point(6, 24);
|
|
|
this.HeartbeatData.Name = "HeartbeatData";
|
|
|
this.HeartbeatData.RowHeadersVisible = false;
|
|
|
this.HeartbeatData.RowHeadersWidth = 51;
|
|
|
this.HeartbeatData.RowTemplate.Height = 20;
|
|
|
this.HeartbeatData.ScrollBars = System.Windows.Forms.ScrollBars.None;
|
|
|
this.HeartbeatData.Size = new System.Drawing.Size(236, 546);
|
|
|
this.HeartbeatData.TabIndex = 10;
|
|
|
//
|
|
|
// rFIDStateBindingSource
|
|
|
//
|
|
|
this.rFIDStateBindingSource.DataSource = typeof(HighWayIot.Repository.domain.RFIDState);
|
|
|
//
|
|
|
// rFIDHeartbeatBindingSource
|
|
|
//
|
|
|
this.rFIDHeartbeatBindingSource.DataSource = typeof(HighWayIot.Repository.domain.RFIDHeartbeat);
|
|
|
//
|
|
|
// deviceNoDataGridViewTextBoxColumn1
|
|
|
//
|
|
|
this.deviceNoDataGridViewTextBoxColumn1.DataPropertyName = "DeviceNo";
|
|
|
this.deviceNoDataGridViewTextBoxColumn1.HeaderText = "编号";
|
|
|
this.deviceNoDataGridViewTextBoxColumn1.MinimumWidth = 6;
|
|
|
this.deviceNoDataGridViewTextBoxColumn1.Name = "deviceNoDataGridViewTextBoxColumn1";
|
|
|
this.deviceNoDataGridViewTextBoxColumn1.Width = 60;
|
|
|
//
|
|
|
// logTimeDataGridViewTextBoxColumn1
|
|
|
//
|
|
|
this.logTimeDataGridViewTextBoxColumn1.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
|
this.logTimeDataGridViewTextBoxColumn1.DataPropertyName = "LogTime";
|
|
|
this.logTimeDataGridViewTextBoxColumn1.HeaderText = "故障时间";
|
|
|
this.logTimeDataGridViewTextBoxColumn1.MinimumWidth = 6;
|
|
|
this.logTimeDataGridViewTextBoxColumn1.Name = "logTimeDataGridViewTextBoxColumn1";
|
|
|
//
|
|
|
// deviceNoDataGridViewTextBoxColumn2
|
|
|
//
|
|
|
this.deviceNoDataGridViewTextBoxColumn2.DataPropertyName = "DeviceNo";
|
|
|
this.deviceNoDataGridViewTextBoxColumn2.HeaderText = "编号";
|
|
|
this.deviceNoDataGridViewTextBoxColumn2.MinimumWidth = 6;
|
|
|
this.deviceNoDataGridViewTextBoxColumn2.Name = "deviceNoDataGridViewTextBoxColumn2";
|
|
|
this.deviceNoDataGridViewTextBoxColumn2.Width = 60;
|
|
|
//
|
|
|
// beatTimeDataGridViewTextBoxColumn
|
|
|
//
|
|
|
this.beatTimeDataGridViewTextBoxColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
|
this.beatTimeDataGridViewTextBoxColumn.DataPropertyName = "BeatTime";
|
|
|
this.beatTimeDataGridViewTextBoxColumn.HeaderText = "最后一次心跳时间";
|
|
|
this.beatTimeDataGridViewTextBoxColumn.MinimumWidth = 6;
|
|
|
this.beatTimeDataGridViewTextBoxColumn.Name = "beatTimeDataGridViewTextBoxColumn";
|
|
|
//
|
|
|
// RFIDSocket
|
|
|
//
|
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F);
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
|
this.ClientSize = new System.Drawing.Size(927, 1167);
|
|
|
this.Controls.Add(this.groupBox3);
|
|
|
this.Controls.Add(this.groupBox2);
|
|
|
this.Controls.Add(this.MonitorState);
|
|
|
this.Controls.Add(this.label4);
|
|
|
this.Controls.Add(this.MonitorOnOff);
|
|
|
this.Controls.Add(this.groupBox1);
|
|
|
this.Controls.Add(this.CotentData);
|
|
|
this.Name = "RFIDSocket";
|
|
|
this.Text = "小件日志";
|
|
|
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.RFIDSocket_FormClosing);
|
|
|
((System.ComponentModel.ISupportInitialize)(this.CotentData)).EndInit();
|
|
|
this.groupBox1.ResumeLayout(false);
|
|
|
this.groupBox1.PerformLayout();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.rFIDContentBindingSource)).EndInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.StateData)).EndInit();
|
|
|
this.groupBox2.ResumeLayout(false);
|
|
|
this.groupBox3.ResumeLayout(false);
|
|
|
((System.ComponentModel.ISupportInitialize)(this.HeartbeatData)).EndInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.rFIDStateBindingSource)).EndInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.rFIDHeartbeatBindingSource)).EndInit();
|
|
|
this.ResumeLayout(false);
|
|
|
this.PerformLayout();
|
|
|
|
|
|
}
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
private System.Windows.Forms.DataGridView CotentData;
|
|
|
private System.Windows.Forms.GroupBox groupBox1;
|
|
|
private System.Windows.Forms.Button SetAddress;
|
|
|
private System.Windows.Forms.Label label1;
|
|
|
private System.Windows.Forms.TextBox PortText;
|
|
|
private System.Windows.Forms.Button MonitorOnOff;
|
|
|
private System.Windows.Forms.Label label4;
|
|
|
private System.Windows.Forms.Label MonitorState;
|
|
|
private System.Windows.Forms.Timer TableTimer;
|
|
|
private System.Windows.Forms.TextBox IPText;
|
|
|
private System.Windows.Forms.BindingSource rFIDContentBindingSource;
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn deviceNoDataGridViewTextBoxColumn;
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn readKindDataGridViewTextBoxColumn;
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn contentDataGridViewTextBoxColumn;
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn logTimeDataGridViewTextBoxColumn;
|
|
|
private System.Windows.Forms.DataGridView StateData;
|
|
|
private System.Windows.Forms.GroupBox groupBox2;
|
|
|
private System.Windows.Forms.BindingSource rFIDStateBindingSource;
|
|
|
private System.Windows.Forms.GroupBox groupBox3;
|
|
|
private System.Windows.Forms.DataGridView HeartbeatData;
|
|
|
private System.Windows.Forms.BindingSource rFIDHeartbeatBindingSource;
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn deviceNoDataGridViewTextBoxColumn1;
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn logTimeDataGridViewTextBoxColumn1;
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn deviceNoDataGridViewTextBoxColumn2;
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn beatTimeDataGridViewTextBoxColumn;
|
|
|
}
|
|
|
}
|
|
|
|