mirror of
https://github.com/zhaopeiym/IoTClient
synced 2025-10-19 22:14:31 +08:00
458 lines
21 KiB
C#
458 lines
21 KiB
C#
namespace IoTClient.Tool
|
||
{
|
||
partial class SiemensControl
|
||
{
|
||
/// <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 组件设计器生成的代码
|
||
|
||
/// <summary>
|
||
/// 设计器支持所需的方法 - 不要修改
|
||
/// 使用代码编辑器修改此方法的内容。
|
||
/// </summary>
|
||
private void InitializeComponent()
|
||
{
|
||
this.components = new System.ComponentModel.Container();
|
||
this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
|
||
this.but_read = new System.Windows.Forms.Button();
|
||
this.lab_address = new System.Windows.Forms.Label();
|
||
this.txt_address = new System.Windows.Forms.TextBox();
|
||
this.but_write = new System.Windows.Forms.Button();
|
||
this.txt_value = new System.Windows.Forms.TextBox();
|
||
this.groupBox3 = new System.Windows.Forms.GroupBox();
|
||
this.but_sendData = new System.Windows.Forms.Button();
|
||
this.txt_dataPackage = new System.Windows.Forms.TextBox();
|
||
this.chb_show_package = new System.Windows.Forms.CheckBox();
|
||
this.lab_value = new System.Windows.Forms.Label();
|
||
this.rd_float = new System.Windows.Forms.RadioButton();
|
||
this.rd_double = new System.Windows.Forms.RadioButton();
|
||
this.rd_short = new System.Windows.Forms.RadioButton();
|
||
this.rd_bit = new System.Windows.Forms.RadioButton();
|
||
this.label2 = new System.Windows.Forms.Label();
|
||
this.txt_port = new System.Windows.Forms.TextBox();
|
||
this.rd_ulong = new System.Windows.Forms.RadioButton();
|
||
this.rd_ushort = new System.Windows.Forms.RadioButton();
|
||
this.rd_long = new System.Windows.Forms.RadioButton();
|
||
this.rd_int = new System.Windows.Forms.RadioButton();
|
||
this.rd_uint = new System.Windows.Forms.RadioButton();
|
||
this.but_server = new System.Windows.Forms.Button();
|
||
this.but_open = new System.Windows.Forms.Button();
|
||
this.txt_ip = new System.Windows.Forms.TextBox();
|
||
this.label1 = new System.Windows.Forms.Label();
|
||
this.groupBox2 = new System.Windows.Forms.GroupBox();
|
||
this.but_close_server = new System.Windows.Forms.Button();
|
||
this.but_close = new System.Windows.Forms.Button();
|
||
this.groupBox1 = new System.Windows.Forms.GroupBox();
|
||
this.rd_byte = new System.Windows.Forms.RadioButton();
|
||
this.button3 = new System.Windows.Forms.Button();
|
||
this.txt_content = new System.Windows.Forms.TextBox();
|
||
this.groupBox3.SuspendLayout();
|
||
this.groupBox2.SuspendLayout();
|
||
this.groupBox1.SuspendLayout();
|
||
this.SuspendLayout();
|
||
//
|
||
// but_read
|
||
//
|
||
this.but_read.Location = new System.Drawing.Point(129, 16);
|
||
this.but_read.Name = "but_read";
|
||
this.but_read.Size = new System.Drawing.Size(75, 23);
|
||
this.but_read.TabIndex = 7;
|
||
this.but_read.Text = "读取";
|
||
this.but_read.UseVisualStyleBackColor = true;
|
||
this.but_read.Click += new System.EventHandler(this.but_read_Click);
|
||
//
|
||
// lab_address
|
||
//
|
||
this.lab_address.AutoSize = true;
|
||
this.lab_address.Location = new System.Drawing.Point(9, 22);
|
||
this.lab_address.Name = "lab_address";
|
||
this.lab_address.Size = new System.Drawing.Size(29, 12);
|
||
this.lab_address.TabIndex = 8;
|
||
this.lab_address.Text = "地址";
|
||
//
|
||
// txt_address
|
||
//
|
||
this.txt_address.Location = new System.Drawing.Point(42, 16);
|
||
this.txt_address.Name = "txt_address";
|
||
this.txt_address.Size = new System.Drawing.Size(81, 21);
|
||
this.txt_address.TabIndex = 9;
|
||
this.txt_address.Text = "V2634";
|
||
//
|
||
// but_write
|
||
//
|
||
this.but_write.Location = new System.Drawing.Point(319, 17);
|
||
this.but_write.Name = "but_write";
|
||
this.but_write.Size = new System.Drawing.Size(75, 23);
|
||
this.but_write.TabIndex = 10;
|
||
this.but_write.Text = "写入";
|
||
this.but_write.UseVisualStyleBackColor = true;
|
||
this.but_write.Click += new System.EventHandler(this.but_write_Click);
|
||
//
|
||
// txt_value
|
||
//
|
||
this.txt_value.Location = new System.Drawing.Point(238, 17);
|
||
this.txt_value.Name = "txt_value";
|
||
this.txt_value.Size = new System.Drawing.Size(75, 21);
|
||
this.txt_value.TabIndex = 12;
|
||
this.txt_value.Text = "18.88";
|
||
//
|
||
// groupBox3
|
||
//
|
||
this.groupBox3.Controls.Add(this.but_sendData);
|
||
this.groupBox3.Controls.Add(this.txt_dataPackage);
|
||
this.groupBox3.Controls.Add(this.chb_show_package);
|
||
this.groupBox3.Controls.Add(this.but_read);
|
||
this.groupBox3.Controls.Add(this.lab_address);
|
||
this.groupBox3.Controls.Add(this.txt_address);
|
||
this.groupBox3.Controls.Add(this.but_write);
|
||
this.groupBox3.Controls.Add(this.txt_value);
|
||
this.groupBox3.Controls.Add(this.lab_value);
|
||
this.groupBox3.Location = new System.Drawing.Point(13, 111);
|
||
this.groupBox3.Name = "groupBox3";
|
||
this.groupBox3.Size = new System.Drawing.Size(855, 47);
|
||
this.groupBox3.TabIndex = 34;
|
||
this.groupBox3.TabStop = false;
|
||
//
|
||
// but_sendData
|
||
//
|
||
this.but_sendData.Location = new System.Drawing.Point(682, 15);
|
||
this.but_sendData.Name = "but_sendData";
|
||
this.but_sendData.Size = new System.Drawing.Size(75, 23);
|
||
this.but_sendData.TabIndex = 16;
|
||
this.but_sendData.Text = "发送报文";
|
||
this.but_sendData.UseVisualStyleBackColor = true;
|
||
this.but_sendData.Click += new System.EventHandler(this.but_sendData_Click);
|
||
//
|
||
// txt_dataPackage
|
||
//
|
||
this.txt_dataPackage.Location = new System.Drawing.Point(490, 16);
|
||
this.txt_dataPackage.Name = "txt_dataPackage";
|
||
this.txt_dataPackage.Size = new System.Drawing.Size(186, 21);
|
||
this.txt_dataPackage.TabIndex = 17;
|
||
//
|
||
// chb_show_package
|
||
//
|
||
this.chb_show_package.AutoSize = true;
|
||
this.chb_show_package.Location = new System.Drawing.Point(776, 17);
|
||
this.chb_show_package.Name = "chb_show_package";
|
||
this.chb_show_package.Size = new System.Drawing.Size(72, 16);
|
||
this.chb_show_package.TabIndex = 13;
|
||
this.chb_show_package.Text = "显示报文";
|
||
this.chb_show_package.UseVisualStyleBackColor = true;
|
||
//
|
||
// lab_value
|
||
//
|
||
this.lab_value.AutoSize = true;
|
||
this.lab_value.Location = new System.Drawing.Point(215, 21);
|
||
this.lab_value.Name = "lab_value";
|
||
this.lab_value.Size = new System.Drawing.Size(17, 12);
|
||
this.lab_value.TabIndex = 11;
|
||
this.lab_value.Text = "值";
|
||
//
|
||
// rd_float
|
||
//
|
||
this.rd_float.AutoSize = true;
|
||
this.rd_float.Checked = true;
|
||
this.rd_float.Location = new System.Drawing.Point(469, 23);
|
||
this.rd_float.Name = "rd_float";
|
||
this.rd_float.Size = new System.Drawing.Size(53, 16);
|
||
this.rd_float.TabIndex = 22;
|
||
this.rd_float.TabStop = true;
|
||
this.rd_float.Text = "float";
|
||
this.rd_float.UseVisualStyleBackColor = true;
|
||
//
|
||
// rd_double
|
||
//
|
||
this.rd_double.AutoSize = true;
|
||
this.rd_double.Location = new System.Drawing.Point(528, 23);
|
||
this.rd_double.Name = "rd_double";
|
||
this.rd_double.Size = new System.Drawing.Size(59, 16);
|
||
this.rd_double.TabIndex = 23;
|
||
this.rd_double.Text = "double";
|
||
this.rd_double.UseVisualStyleBackColor = true;
|
||
//
|
||
// rd_short
|
||
//
|
||
this.rd_short.AutoSize = true;
|
||
this.rd_short.Location = new System.Drawing.Point(103, 23);
|
||
this.rd_short.Name = "rd_short";
|
||
this.rd_short.Size = new System.Drawing.Size(53, 16);
|
||
this.rd_short.TabIndex = 6;
|
||
this.rd_short.Text = "short";
|
||
this.rd_short.UseVisualStyleBackColor = true;
|
||
//
|
||
// rd_bit
|
||
//
|
||
this.rd_bit.AutoSize = true;
|
||
this.rd_bit.Location = new System.Drawing.Point(11, 23);
|
||
this.rd_bit.Name = "rd_bit";
|
||
this.rd_bit.Size = new System.Drawing.Size(41, 16);
|
||
this.rd_bit.TabIndex = 16;
|
||
this.rd_bit.Text = "bit";
|
||
this.rd_bit.UseVisualStyleBackColor = true;
|
||
//
|
||
// label2
|
||
//
|
||
this.label2.AutoSize = true;
|
||
this.label2.Location = new System.Drawing.Point(148, 24);
|
||
this.label2.Name = "label2";
|
||
this.label2.Size = new System.Drawing.Size(29, 12);
|
||
this.label2.TabIndex = 4;
|
||
this.label2.Text = "端口";
|
||
//
|
||
// txt_port
|
||
//
|
||
this.txt_port.Location = new System.Drawing.Point(180, 20);
|
||
this.txt_port.Name = "txt_port";
|
||
this.txt_port.Size = new System.Drawing.Size(39, 21);
|
||
this.txt_port.TabIndex = 5;
|
||
this.txt_port.Text = "102";
|
||
//
|
||
// rd_ulong
|
||
//
|
||
this.rd_ulong.AutoSize = true;
|
||
this.rd_ulong.Location = new System.Drawing.Point(407, 23);
|
||
this.rd_ulong.Name = "rd_ulong";
|
||
this.rd_ulong.Size = new System.Drawing.Size(53, 16);
|
||
this.rd_ulong.TabIndex = 21;
|
||
this.rd_ulong.Text = "ulong";
|
||
this.rd_ulong.UseVisualStyleBackColor = true;
|
||
//
|
||
// rd_ushort
|
||
//
|
||
this.rd_ushort.AutoSize = true;
|
||
this.rd_ushort.Location = new System.Drawing.Point(162, 23);
|
||
this.rd_ushort.Name = "rd_ushort";
|
||
this.rd_ushort.Size = new System.Drawing.Size(59, 16);
|
||
this.rd_ushort.TabIndex = 17;
|
||
this.rd_ushort.Text = "ushort";
|
||
this.rd_ushort.UseVisualStyleBackColor = true;
|
||
//
|
||
// rd_long
|
||
//
|
||
this.rd_long.AutoSize = true;
|
||
this.rd_long.Location = new System.Drawing.Point(348, 23);
|
||
this.rd_long.Name = "rd_long";
|
||
this.rd_long.Size = new System.Drawing.Size(47, 16);
|
||
this.rd_long.TabIndex = 20;
|
||
this.rd_long.Text = "long";
|
||
this.rd_long.UseVisualStyleBackColor = true;
|
||
//
|
||
// rd_int
|
||
//
|
||
this.rd_int.AutoSize = true;
|
||
this.rd_int.Location = new System.Drawing.Point(227, 23);
|
||
this.rd_int.Name = "rd_int";
|
||
this.rd_int.Size = new System.Drawing.Size(41, 16);
|
||
this.rd_int.TabIndex = 18;
|
||
this.rd_int.Text = "int";
|
||
this.rd_int.UseVisualStyleBackColor = true;
|
||
//
|
||
// rd_uint
|
||
//
|
||
this.rd_uint.AutoSize = true;
|
||
this.rd_uint.Location = new System.Drawing.Point(286, 23);
|
||
this.rd_uint.Name = "rd_uint";
|
||
this.rd_uint.Size = new System.Drawing.Size(47, 16);
|
||
this.rd_uint.TabIndex = 19;
|
||
this.rd_uint.Text = "uint";
|
||
this.rd_uint.UseVisualStyleBackColor = true;
|
||
//
|
||
// but_server
|
||
//
|
||
this.but_server.Location = new System.Drawing.Point(658, 18);
|
||
this.but_server.Name = "but_server";
|
||
this.but_server.Size = new System.Drawing.Size(99, 23);
|
||
this.but_server.TabIndex = 0;
|
||
this.but_server.Text = "本地模拟服务";
|
||
this.but_server.UseVisualStyleBackColor = true;
|
||
this.but_server.Click += new System.EventHandler(this.but_server_Click);
|
||
//
|
||
// but_open
|
||
//
|
||
this.but_open.Location = new System.Drawing.Point(238, 18);
|
||
this.but_open.Name = "but_open";
|
||
this.but_open.Size = new System.Drawing.Size(75, 23);
|
||
this.but_open.TabIndex = 1;
|
||
this.but_open.Text = "连接";
|
||
this.but_open.UseVisualStyleBackColor = true;
|
||
this.but_open.Click += new System.EventHandler(this.but_open_Click);
|
||
//
|
||
// txt_ip
|
||
//
|
||
this.txt_ip.Location = new System.Drawing.Point(29, 19);
|
||
this.txt_ip.Name = "txt_ip";
|
||
this.txt_ip.Size = new System.Drawing.Size(100, 21);
|
||
this.txt_ip.TabIndex = 2;
|
||
this.txt_ip.Text = "127.0.0.1";
|
||
//
|
||
// label1
|
||
//
|
||
this.label1.AutoSize = true;
|
||
this.label1.Location = new System.Drawing.Point(8, 24);
|
||
this.label1.Name = "label1";
|
||
this.label1.Size = new System.Drawing.Size(17, 12);
|
||
this.label1.TabIndex = 3;
|
||
this.label1.Text = "IP";
|
||
//
|
||
// groupBox2
|
||
//
|
||
this.groupBox2.Controls.Add(this.but_close_server);
|
||
this.groupBox2.Controls.Add(this.but_close);
|
||
this.groupBox2.Controls.Add(this.but_server);
|
||
this.groupBox2.Controls.Add(this.but_open);
|
||
this.groupBox2.Controls.Add(this.txt_ip);
|
||
this.groupBox2.Controls.Add(this.label1);
|
||
this.groupBox2.Controls.Add(this.label2);
|
||
this.groupBox2.Controls.Add(this.txt_port);
|
||
this.groupBox2.Location = new System.Drawing.Point(13, 8);
|
||
this.groupBox2.Name = "groupBox2";
|
||
this.groupBox2.Size = new System.Drawing.Size(855, 55);
|
||
this.groupBox2.TabIndex = 33;
|
||
this.groupBox2.TabStop = false;
|
||
//
|
||
// but_close_server
|
||
//
|
||
this.but_close_server.Location = new System.Drawing.Point(763, 18);
|
||
this.but_close_server.Name = "but_close_server";
|
||
this.but_close_server.Size = new System.Drawing.Size(75, 23);
|
||
this.but_close_server.TabIndex = 7;
|
||
this.but_close_server.Text = "关闭服务";
|
||
this.but_close_server.UseVisualStyleBackColor = true;
|
||
this.but_close_server.Click += new System.EventHandler(this.but_close_server_Click);
|
||
//
|
||
// but_close
|
||
//
|
||
this.but_close.Location = new System.Drawing.Point(319, 18);
|
||
this.but_close.Name = "but_close";
|
||
this.but_close.Size = new System.Drawing.Size(75, 23);
|
||
this.but_close.TabIndex = 6;
|
||
this.but_close.Text = "关闭";
|
||
this.but_close.UseVisualStyleBackColor = true;
|
||
this.but_close.Click += new System.EventHandler(this.but_close_Click);
|
||
//
|
||
// groupBox1
|
||
//
|
||
this.groupBox1.Controls.Add(this.rd_byte);
|
||
this.groupBox1.Controls.Add(this.button3);
|
||
this.groupBox1.Controls.Add(this.rd_float);
|
||
this.groupBox1.Controls.Add(this.rd_double);
|
||
this.groupBox1.Controls.Add(this.rd_short);
|
||
this.groupBox1.Controls.Add(this.rd_bit);
|
||
this.groupBox1.Controls.Add(this.rd_ulong);
|
||
this.groupBox1.Controls.Add(this.rd_ushort);
|
||
this.groupBox1.Controls.Add(this.rd_long);
|
||
this.groupBox1.Controls.Add(this.rd_int);
|
||
this.groupBox1.Controls.Add(this.rd_uint);
|
||
this.groupBox1.Location = new System.Drawing.Point(13, 60);
|
||
this.groupBox1.Name = "groupBox1";
|
||
this.groupBox1.Size = new System.Drawing.Size(855, 52);
|
||
this.groupBox1.TabIndex = 32;
|
||
this.groupBox1.TabStop = false;
|
||
//
|
||
// rd_byte
|
||
//
|
||
this.rd_byte.AutoSize = true;
|
||
this.rd_byte.Location = new System.Drawing.Point(54, 23);
|
||
this.rd_byte.Name = "rd_byte";
|
||
this.rd_byte.Size = new System.Drawing.Size(47, 16);
|
||
this.rd_byte.TabIndex = 25;
|
||
this.rd_byte.Text = "byte";
|
||
this.rd_byte.UseVisualStyleBackColor = true;
|
||
//
|
||
// button3
|
||
//
|
||
this.button3.Location = new System.Drawing.Point(762, 17);
|
||
this.button3.Name = "button3";
|
||
this.button3.Size = new System.Drawing.Size(75, 23);
|
||
this.button3.TabIndex = 24;
|
||
this.button3.Text = "清空数据";
|
||
this.button3.UseVisualStyleBackColor = true;
|
||
this.button3.Click += new System.EventHandler(this.button3_Click);
|
||
//
|
||
// txt_content
|
||
//
|
||
this.txt_content.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||
this.txt_content.Location = new System.Drawing.Point(13, 165);
|
||
this.txt_content.Multiline = true;
|
||
this.txt_content.Name = "txt_content";
|
||
this.txt_content.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
|
||
this.txt_content.Size = new System.Drawing.Size(855, 272);
|
||
this.txt_content.TabIndex = 31;
|
||
//
|
||
// SiemensControl
|
||
//
|
||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||
this.Controls.Add(this.groupBox3);
|
||
this.Controls.Add(this.groupBox2);
|
||
this.Controls.Add(this.groupBox1);
|
||
this.Controls.Add(this.txt_content);
|
||
this.Name = "SiemensControl";
|
||
this.Size = new System.Drawing.Size(880, 450);
|
||
this.ControlRemoved += new System.Windows.Forms.ControlEventHandler(this.SiemensControl_ControlRemoved);
|
||
this.groupBox3.ResumeLayout(false);
|
||
this.groupBox3.PerformLayout();
|
||
this.groupBox2.ResumeLayout(false);
|
||
this.groupBox2.PerformLayout();
|
||
this.groupBox1.ResumeLayout(false);
|
||
this.groupBox1.PerformLayout();
|
||
this.ResumeLayout(false);
|
||
this.PerformLayout();
|
||
|
||
}
|
||
|
||
#endregion
|
||
|
||
private System.Windows.Forms.ToolTip toolTip1;
|
||
private System.Windows.Forms.Button but_read;
|
||
private System.Windows.Forms.Label lab_address;
|
||
private System.Windows.Forms.TextBox txt_address;
|
||
private System.Windows.Forms.Button but_write;
|
||
private System.Windows.Forms.TextBox txt_value;
|
||
private System.Windows.Forms.GroupBox groupBox3;
|
||
private System.Windows.Forms.CheckBox chb_show_package;
|
||
private System.Windows.Forms.Label lab_value;
|
||
private System.Windows.Forms.RadioButton rd_float;
|
||
private System.Windows.Forms.RadioButton rd_double;
|
||
private System.Windows.Forms.RadioButton rd_short;
|
||
private System.Windows.Forms.RadioButton rd_bit;
|
||
private System.Windows.Forms.Label label2;
|
||
private System.Windows.Forms.TextBox txt_port;
|
||
private System.Windows.Forms.RadioButton rd_ulong;
|
||
private System.Windows.Forms.RadioButton rd_ushort;
|
||
private System.Windows.Forms.RadioButton rd_long;
|
||
private System.Windows.Forms.RadioButton rd_int;
|
||
private System.Windows.Forms.RadioButton rd_uint;
|
||
private System.Windows.Forms.Button but_server;
|
||
private System.Windows.Forms.Button but_open;
|
||
private System.Windows.Forms.TextBox txt_ip;
|
||
private System.Windows.Forms.Label label1;
|
||
private System.Windows.Forms.GroupBox groupBox2;
|
||
private System.Windows.Forms.GroupBox groupBox1;
|
||
private System.Windows.Forms.TextBox txt_content;
|
||
private System.Windows.Forms.Button but_close;
|
||
private System.Windows.Forms.Button but_close_server;
|
||
private System.Windows.Forms.Button button3;
|
||
private System.Windows.Forms.Button but_sendData;
|
||
private System.Windows.Forms.TextBox txt_dataPackage;
|
||
private System.Windows.Forms.RadioButton rd_byte;
|
||
}
|
||
}
|