namespace IoTClient.Demo { partial class ModBusTcp { /// /// 必需的设计器变量。 /// private System.ComponentModel.IContainer components = null; /// /// 清理所有正在使用的资源。 /// /// 如果应释放托管资源,为 true;否则为 false。 protected override void Dispose(bool disposing) { if (disposing && (components != null)) { components.Dispose(); } base.Dispose(disposing); } #region Windows 窗体设计器生成的代码 /// /// 设计器支持所需的方法 - 不要修改 /// 使用代码编辑器修改此方法的内容。 /// private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.toolTip1 = new System.Windows.Forms.ToolTip(this.components); this.button1 = 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.label2 = new System.Windows.Forms.Label(); this.txt_port = new System.Windows.Forms.TextBox(); this.radioButton1 = new System.Windows.Forms.RadioButton(); this.txt_address = new System.Windows.Forms.TextBox(); this.label3 = new System.Windows.Forms.Label(); this.button3 = new System.Windows.Forms.Button(); this.txt_value = new System.Windows.Forms.TextBox(); this.label4 = new System.Windows.Forms.Label(); this.button4 = new System.Windows.Forms.Button(); this.txt_content = new System.Windows.Forms.TextBox(); this.txt_stationNumber = new System.Windows.Forms.TextBox(); this.label5 = new System.Windows.Forms.Label(); this.SuspendLayout(); // // button1 // this.button1.Location = new System.Drawing.Point(575, 17); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(99, 23); this.button1.TabIndex = 0; this.button1.Text = "本地模拟服务"; this.button1.UseVisualStyleBackColor = true; this.button1.Click += new System.EventHandler(this.button1_Click); // // but_open // this.but_open.Location = new System.Drawing.Point(346, 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.button2_Click); // // txt_ip // this.txt_ip.Location = new System.Drawing.Point(66, 20); 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(31, 25); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(29, 12); this.label1.TabIndex = 3; this.label1.Text = "IP:"; // // label2 // this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(182, 25); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(41, 12); this.label2.TabIndex = 4; this.label2.Text = "端口:"; // // txt_port // this.txt_port.Location = new System.Drawing.Point(229, 19); this.txt_port.Name = "txt_port"; this.txt_port.Size = new System.Drawing.Size(100, 21); this.txt_port.TabIndex = 5; this.txt_port.Text = "502"; // // radioButton1 // this.radioButton1.AutoSize = true; this.radioButton1.Location = new System.Drawing.Point(82, 67); this.radioButton1.Name = "radioButton1"; this.radioButton1.Size = new System.Drawing.Size(53, 16); this.radioButton1.TabIndex = 6; this.radioButton1.TabStop = true; this.radioButton1.Text = "short"; this.radioButton1.UseVisualStyleBackColor = true; // // txt_address // this.txt_address.Location = new System.Drawing.Point(82, 109); this.txt_address.Name = "txt_address"; this.txt_address.Size = new System.Drawing.Size(121, 21); this.txt_address.TabIndex = 9; // // label3 // this.label3.AutoSize = true; this.label3.Location = new System.Drawing.Point(35, 115); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(41, 12); this.label3.TabIndex = 8; this.label3.Text = "地址:"; // // button3 // this.button3.Location = new System.Drawing.Point(222, 107); this.button3.Name = "button3"; this.button3.Size = new System.Drawing.Size(75, 23); this.button3.TabIndex = 7; this.button3.Text = "读取"; this.button3.UseVisualStyleBackColor = true; this.button3.Click += new System.EventHandler(this.button3_Click); // // txt_value // this.txt_value.Location = new System.Drawing.Point(453, 109); this.txt_value.Name = "txt_value"; this.txt_value.Size = new System.Drawing.Size(100, 21); this.txt_value.TabIndex = 12; // // label4 // this.label4.AutoSize = true; this.label4.Location = new System.Drawing.Point(406, 115); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(29, 12); this.label4.TabIndex = 11; this.label4.Text = "值:"; // // button4 // this.button4.Location = new System.Drawing.Point(582, 107); this.button4.Name = "button4"; this.button4.Size = new System.Drawing.Size(75, 23); this.button4.TabIndex = 10; this.button4.Text = "写入"; this.button4.UseVisualStyleBackColor = true; this.button4.Click += new System.EventHandler(this.button4_Click); // // txt_content // this.txt_content.Location = new System.Drawing.Point(33, 175); 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(641, 263); this.txt_content.TabIndex = 13; // // txt_stationNumber // this.txt_stationNumber.Location = new System.Drawing.Point(480, 19); this.txt_stationNumber.Name = "txt_stationNumber"; this.txt_stationNumber.Size = new System.Drawing.Size(35, 21); this.txt_stationNumber.TabIndex = 14; this.txt_stationNumber.Text = "1"; // // label5 // this.label5.AutoSize = true; this.label5.Location = new System.Drawing.Point(433, 23); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(41, 12); this.label5.TabIndex = 15; this.label5.Text = "站号:"; // // ModBusTcp // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(707, 450); this.Controls.Add(this.label5); this.Controls.Add(this.txt_stationNumber); this.Controls.Add(this.txt_content); this.Controls.Add(this.txt_value); this.Controls.Add(this.label4); this.Controls.Add(this.button4); this.Controls.Add(this.txt_address); this.Controls.Add(this.label3); this.Controls.Add(this.button3); this.Controls.Add(this.radioButton1); this.Controls.Add(this.txt_port); this.Controls.Add(this.label2); this.Controls.Add(this.label1); this.Controls.Add(this.txt_ip); this.Controls.Add(this.but_open); this.Controls.Add(this.button1); this.Name = "ModBusTcp"; this.Text = "ModBusTcp"; this.ResumeLayout(false); this.PerformLayout(); } #endregion private System.Windows.Forms.ToolTip toolTip1; private System.Windows.Forms.Button button1; private System.Windows.Forms.Button but_open; private System.Windows.Forms.TextBox txt_ip; private System.Windows.Forms.Label label1; private System.Windows.Forms.Label label2; private System.Windows.Forms.TextBox txt_port; private System.Windows.Forms.RadioButton radioButton1; private System.Windows.Forms.TextBox txt_address; private System.Windows.Forms.Label label3; private System.Windows.Forms.Button button3; private System.Windows.Forms.TextBox txt_value; private System.Windows.Forms.Label label4; private System.Windows.Forms.Button button4; private System.Windows.Forms.TextBox txt_content; private System.Windows.Forms.TextBox txt_stationNumber; private System.Windows.Forms.Label label5; } }