You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
359 lines
13 KiB
C#
359 lines
13 KiB
C#
namespace RFIDTest
|
|
{
|
|
partial class RFIDTest
|
|
{
|
|
/// <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()
|
|
{
|
|
WriteButton = new Button();
|
|
ContentTextbox = new TextBox();
|
|
StartReadButton = new Button();
|
|
ResultTestbox = new TextBox();
|
|
label1 = new Label();
|
|
label2 = new Label();
|
|
label3 = new Label();
|
|
EPCTextbox = new TextBox();
|
|
label4 = new Label();
|
|
IPTextBox = new TextBox();
|
|
PortTextBox = new TextBox();
|
|
label5 = new Label();
|
|
ConnectButton = new Button();
|
|
HeartBeatTimeLabel = new Label();
|
|
DisconnectButton = new Button();
|
|
StopReadButton = new Button();
|
|
PCResultTextbox = new TextBox();
|
|
label8 = new Label();
|
|
ReadStateLabel = new Label();
|
|
label6 = new Label();
|
|
SelectAddressTextbox = new TextBox();
|
|
label9 = new Label();
|
|
SelectLengthTextbox = new TextBox();
|
|
label10 = new Label();
|
|
WriteLengthTextbox = new TextBox();
|
|
label11 = new Label();
|
|
WriteAddressTextbox = new TextBox();
|
|
SuspendLayout();
|
|
//
|
|
// WriteButton
|
|
//
|
|
WriteButton.Location = new Point(106, 175);
|
|
WriteButton.Name = "WriteButton";
|
|
WriteButton.Size = new Size(75, 23);
|
|
WriteButton.TabIndex = 0;
|
|
WriteButton.Text = "发送";
|
|
WriteButton.UseVisualStyleBackColor = true;
|
|
WriteButton.Click += WriteButton_Click;
|
|
//
|
|
// ContentTextbox
|
|
//
|
|
ContentTextbox.Location = new Point(106, 262);
|
|
ContentTextbox.Name = "ContentTextbox";
|
|
ContentTextbox.Size = new Size(621, 23);
|
|
ContentTextbox.TabIndex = 1;
|
|
//
|
|
// StartReadButton
|
|
//
|
|
StartReadButton.Location = new Point(106, 64);
|
|
StartReadButton.Name = "StartReadButton";
|
|
StartReadButton.Size = new Size(75, 23);
|
|
StartReadButton.TabIndex = 2;
|
|
StartReadButton.Text = "开始盘点";
|
|
StartReadButton.UseVisualStyleBackColor = true;
|
|
StartReadButton.Click += StartReadButton_Click;
|
|
//
|
|
// ResultTestbox
|
|
//
|
|
ResultTestbox.Location = new Point(106, 93);
|
|
ResultTestbox.Name = "ResultTestbox";
|
|
ResultTestbox.Size = new Size(621, 23);
|
|
ResultTestbox.TabIndex = 3;
|
|
//
|
|
// label1
|
|
//
|
|
label1.AutoSize = true;
|
|
label1.Location = new Point(44, 96);
|
|
label1.Name = "label1";
|
|
label1.Size = new Size(56, 17);
|
|
label1.TabIndex = 4;
|
|
label1.Text = "盘点结果";
|
|
//
|
|
// label2
|
|
//
|
|
label2.AutoSize = true;
|
|
label2.Location = new Point(44, 265);
|
|
label2.Name = "label2";
|
|
label2.Size = new Size(56, 17);
|
|
label2.TabIndex = 5;
|
|
label2.Text = "写入内容";
|
|
//
|
|
// label3
|
|
//
|
|
label3.AutoSize = true;
|
|
label3.Location = new Point(44, 236);
|
|
label3.Name = "label3";
|
|
label3.Size = new Size(54, 17);
|
|
label3.TabIndex = 7;
|
|
label3.Text = "写入EPC";
|
|
//
|
|
// EPCTextbox
|
|
//
|
|
EPCTextbox.Location = new Point(106, 233);
|
|
EPCTextbox.Name = "EPCTextbox";
|
|
EPCTextbox.Size = new Size(621, 23);
|
|
EPCTextbox.TabIndex = 6;
|
|
//
|
|
// label4
|
|
//
|
|
label4.AutoSize = true;
|
|
label4.Location = new Point(18, 364);
|
|
label4.Name = "label4";
|
|
label4.Size = new Size(80, 17);
|
|
label4.TabIndex = 8;
|
|
label4.Text = "上次心跳时间";
|
|
//
|
|
// IPTextBox
|
|
//
|
|
IPTextBox.Location = new Point(106, 10);
|
|
IPTextBox.Name = "IPTextBox";
|
|
IPTextBox.Size = new Size(154, 23);
|
|
IPTextBox.TabIndex = 9;
|
|
IPTextBox.Text = "192.168.0.7";
|
|
//
|
|
// PortTextBox
|
|
//
|
|
PortTextBox.Location = new Point(266, 10);
|
|
PortTextBox.Name = "PortTextBox";
|
|
PortTextBox.Size = new Size(100, 23);
|
|
PortTextBox.TabIndex = 10;
|
|
PortTextBox.Text = "20108";
|
|
//
|
|
// label5
|
|
//
|
|
label5.AutoSize = true;
|
|
label5.Location = new Point(54, 13);
|
|
label5.Name = "label5";
|
|
label5.Size = new Size(46, 17);
|
|
label5.TabIndex = 11;
|
|
label5.Text = "IP:Port";
|
|
//
|
|
// ConnectButton
|
|
//
|
|
ConnectButton.Location = new Point(372, 10);
|
|
ConnectButton.Name = "ConnectButton";
|
|
ConnectButton.Size = new Size(75, 23);
|
|
ConnectButton.TabIndex = 12;
|
|
ConnectButton.Text = "连接";
|
|
ConnectButton.UseVisualStyleBackColor = true;
|
|
ConnectButton.Click += ConnectButton_Click;
|
|
//
|
|
// HeartBeatTimeLabel
|
|
//
|
|
HeartBeatTimeLabel.AutoSize = true;
|
|
HeartBeatTimeLabel.Location = new Point(106, 364);
|
|
HeartBeatTimeLabel.Name = "HeartBeatTimeLabel";
|
|
HeartBeatTimeLabel.Size = new Size(56, 17);
|
|
HeartBeatTimeLabel.TabIndex = 13;
|
|
HeartBeatTimeLabel.Text = "00:00:00";
|
|
//
|
|
// DisconnectButton
|
|
//
|
|
DisconnectButton.Location = new Point(453, 10);
|
|
DisconnectButton.Name = "DisconnectButton";
|
|
DisconnectButton.Size = new Size(75, 23);
|
|
DisconnectButton.TabIndex = 14;
|
|
DisconnectButton.Text = "断开连接";
|
|
DisconnectButton.UseVisualStyleBackColor = true;
|
|
DisconnectButton.Click += DisconnectButton_Click;
|
|
//
|
|
// StopReadButton
|
|
//
|
|
StopReadButton.Location = new Point(187, 64);
|
|
StopReadButton.Name = "StopReadButton";
|
|
StopReadButton.Size = new Size(75, 23);
|
|
StopReadButton.TabIndex = 17;
|
|
StopReadButton.Text = "停止盘点";
|
|
StopReadButton.UseVisualStyleBackColor = true;
|
|
StopReadButton.Click += StopReadButton_Click;
|
|
//
|
|
// PCResultTextbox
|
|
//
|
|
PCResultTextbox.Location = new Point(106, 122);
|
|
PCResultTextbox.Name = "PCResultTextbox";
|
|
PCResultTextbox.Size = new Size(86, 23);
|
|
PCResultTextbox.TabIndex = 18;
|
|
//
|
|
// label8
|
|
//
|
|
label8.AutoSize = true;
|
|
label8.Location = new Point(53, 125);
|
|
label8.Name = "label8";
|
|
label8.Size = new Size(47, 17);
|
|
label8.TabIndex = 19;
|
|
label8.Text = "PC结果";
|
|
//
|
|
// ReadStateLabel
|
|
//
|
|
ReadStateLabel.AutoSize = true;
|
|
ReadStateLabel.Location = new Point(299, 67);
|
|
ReadStateLabel.Name = "ReadStateLabel";
|
|
ReadStateLabel.Size = new Size(32, 17);
|
|
ReadStateLabel.TabIndex = 20;
|
|
ReadStateLabel.Text = "停止";
|
|
//
|
|
// label6
|
|
//
|
|
label6.AutoSize = true;
|
|
label6.Location = new Point(21, 207);
|
|
label6.Name = "label6";
|
|
label6.Size = new Size(79, 17);
|
|
label6.TabIndex = 22;
|
|
label6.Text = "选择地址(bit)";
|
|
//
|
|
// SelectAddressTextbox
|
|
//
|
|
SelectAddressTextbox.Location = new Point(106, 204);
|
|
SelectAddressTextbox.Name = "SelectAddressTextbox";
|
|
SelectAddressTextbox.Size = new Size(86, 23);
|
|
SelectAddressTextbox.TabIndex = 21;
|
|
//
|
|
// label9
|
|
//
|
|
label9.AutoSize = true;
|
|
label9.Location = new Point(200, 207);
|
|
label9.Name = "label9";
|
|
label9.Size = new Size(103, 17);
|
|
label9.TabIndex = 24;
|
|
label9.Text = "选择数据长度(bit)";
|
|
//
|
|
// SelectLengthTextbox
|
|
//
|
|
SelectLengthTextbox.Location = new Point(309, 204);
|
|
SelectLengthTextbox.Name = "SelectLengthTextbox";
|
|
SelectLengthTextbox.Size = new Size(86, 23);
|
|
SelectLengthTextbox.TabIndex = 23;
|
|
//
|
|
// label10
|
|
//
|
|
label10.AutoSize = true;
|
|
label10.Location = new Point(555, 207);
|
|
label10.Name = "label10";
|
|
label10.Size = new Size(80, 17);
|
|
label10.TabIndex = 28;
|
|
label10.Text = "写入数据长度";
|
|
//
|
|
// WriteLengthTextbox
|
|
//
|
|
WriteLengthTextbox.Location = new Point(641, 204);
|
|
WriteLengthTextbox.Name = "WriteLengthTextbox";
|
|
WriteLengthTextbox.Size = new Size(86, 23);
|
|
WriteLengthTextbox.TabIndex = 27;
|
|
//
|
|
// label11
|
|
//
|
|
label11.AutoSize = true;
|
|
label11.Location = new Point(401, 207);
|
|
label11.Name = "label11";
|
|
label11.Size = new Size(56, 17);
|
|
label11.TabIndex = 26;
|
|
label11.Text = "写入地址";
|
|
//
|
|
// WriteAddressTextbox
|
|
//
|
|
WriteAddressTextbox.Location = new Point(463, 204);
|
|
WriteAddressTextbox.Name = "WriteAddressTextbox";
|
|
WriteAddressTextbox.Size = new Size(86, 23);
|
|
WriteAddressTextbox.TabIndex = 25;
|
|
//
|
|
// RFIDTest
|
|
//
|
|
AutoScaleDimensions = new SizeF(7F, 17F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
ClientSize = new Size(786, 419);
|
|
Controls.Add(label10);
|
|
Controls.Add(WriteLengthTextbox);
|
|
Controls.Add(label11);
|
|
Controls.Add(WriteAddressTextbox);
|
|
Controls.Add(label9);
|
|
Controls.Add(SelectLengthTextbox);
|
|
Controls.Add(label6);
|
|
Controls.Add(SelectAddressTextbox);
|
|
Controls.Add(ReadStateLabel);
|
|
Controls.Add(label8);
|
|
Controls.Add(PCResultTextbox);
|
|
Controls.Add(StopReadButton);
|
|
Controls.Add(DisconnectButton);
|
|
Controls.Add(HeartBeatTimeLabel);
|
|
Controls.Add(ConnectButton);
|
|
Controls.Add(label5);
|
|
Controls.Add(PortTextBox);
|
|
Controls.Add(IPTextBox);
|
|
Controls.Add(label4);
|
|
Controls.Add(label3);
|
|
Controls.Add(EPCTextbox);
|
|
Controls.Add(label2);
|
|
Controls.Add(label1);
|
|
Controls.Add(ResultTestbox);
|
|
Controls.Add(StartReadButton);
|
|
Controls.Add(ContentTextbox);
|
|
Controls.Add(WriteButton);
|
|
Name = "RFIDTest";
|
|
Text = "RFIDTestWInow";
|
|
ResumeLayout(false);
|
|
PerformLayout();
|
|
}
|
|
|
|
#endregion
|
|
|
|
private Button WriteButton;
|
|
private TextBox ContentTextbox;
|
|
private Button StartReadButton;
|
|
private TextBox ResultTestbox;
|
|
private Label label1;
|
|
private Label label2;
|
|
private Label label3;
|
|
private TextBox EPCTextbox;
|
|
private Label label4;
|
|
private TextBox IPTextBox;
|
|
private TextBox PortTextBox;
|
|
private Label label5;
|
|
private Button ConnectButton;
|
|
private Label HeartBeatTimeLabel;
|
|
private Button DisconnectButton;
|
|
private Button StopReadButton;
|
|
private TextBox PCResultTextbox;
|
|
private Label label8;
|
|
private Label ReadStateLabel;
|
|
private Label label6;
|
|
private TextBox SelectAddressTextbox;
|
|
private Label label9;
|
|
private TextBox SelectLengthTextbox;
|
|
private Label label10;
|
|
private TextBox WriteLengthTextbox;
|
|
private Label label11;
|
|
private TextBox WriteAddressTextbox;
|
|
}
|
|
}
|