namespace YTDX202303TCP { partial class Form1 { /// /// 必需的设计器变量。 /// 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() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.button1 = new System.Windows.Forms.Button(); this.textBox2 = new System.Windows.Forms.TextBox(); this.label2 = new System.Windows.Forms.Label(); this.textBox1 = new System.Windows.Forms.TextBox(); this.label1 = new System.Windows.Forms.Label(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.label37 = new System.Windows.Forms.Label(); this.label36 = new System.Windows.Forms.Label(); this.label35 = new System.Windows.Forms.Label(); this.label34 = new System.Windows.Forms.Label(); this.label33 = new System.Windows.Forms.Label(); this.label32 = new System.Windows.Forms.Label(); this.label31 = new System.Windows.Forms.Label(); this.label30 = new System.Windows.Forms.Label(); this.label21 = new System.Windows.Forms.Label(); this.label20 = new System.Windows.Forms.Label(); this.label19 = new System.Windows.Forms.Label(); this.label18 = new System.Windows.Forms.Label(); this.label17 = new System.Windows.Forms.Label(); this.label16 = new System.Windows.Forms.Label(); this.label15 = new System.Windows.Forms.Label(); this.label14 = new System.Windows.Forms.Label(); this.label13 = new System.Windows.Forms.Label(); this.label12 = new System.Windows.Forms.Label(); this.label11 = new System.Windows.Forms.Label(); this.label10 = new System.Windows.Forms.Label(); this.label9 = new System.Windows.Forms.Label(); this.label8 = new System.Windows.Forms.Label(); this.label7 = new System.Windows.Forms.Label(); this.label6 = new System.Windows.Forms.Label(); this.label5 = new System.Windows.Forms.Label(); this.label4 = new System.Windows.Forms.Label(); this.groupBox3 = new System.Windows.Forms.GroupBox(); this.button11 = new System.Windows.Forms.Button(); this.button10 = new System.Windows.Forms.Button(); this.button9 = new System.Windows.Forms.Button(); this.button8 = new System.Windows.Forms.Button(); this.button7 = new System.Windows.Forms.Button(); this.button6 = new System.Windows.Forms.Button(); this.button5 = new System.Windows.Forms.Button(); this.button4 = new System.Windows.Forms.Button(); this.button3 = new System.Windows.Forms.Button(); this.button2 = new System.Windows.Forms.Button(); this.label3 = new System.Windows.Forms.Label(); this.label22 = new System.Windows.Forms.Label(); this.textBox3 = new System.Windows.Forms.TextBox(); this.groupBox1.SuspendLayout(); this.groupBox2.SuspendLayout(); this.groupBox3.SuspendLayout(); this.SuspendLayout(); // // groupBox1 // this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.groupBox1.Controls.Add(this.button1); this.groupBox1.Controls.Add(this.textBox2); this.groupBox1.Controls.Add(this.label2); this.groupBox1.Controls.Add(this.textBox3); this.groupBox1.Controls.Add(this.label22); this.groupBox1.Controls.Add(this.textBox1); this.groupBox1.Controls.Add(this.label1); this.groupBox1.Font = new System.Drawing.Font("宋体", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.groupBox1.Location = new System.Drawing.Point(12, 12); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(510, 118); this.groupBox1.TabIndex = 0; this.groupBox1.TabStop = false; this.groupBox1.Text = "TCPClient"; // // button1 // this.button1.Location = new System.Drawing.Point(410, 31); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(75, 23); this.button1.TabIndex = 4; this.button1.Text = "连接"; this.button1.UseVisualStyleBackColor = true; this.button1.Click += new System.EventHandler(this.button1_Click); // // textBox2 // this.textBox2.Location = new System.Drawing.Point(281, 31); this.textBox2.Name = "textBox2"; this.textBox2.Size = new System.Drawing.Size(100, 23); this.textBox2.TabIndex = 3; // // label2 // this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(212, 34); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(63, 14); this.label2.TabIndex = 2; this.label2.Text = "端口号:"; // // textBox1 // this.textBox1.Location = new System.Drawing.Point(78, 31); this.textBox1.Name = "textBox1"; this.textBox1.Size = new System.Drawing.Size(116, 23); this.textBox1.TabIndex = 1; // // label1 // this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(9, 34); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(63, 14); this.label1.TabIndex = 0; this.label1.Text = "目标IP:"; // // groupBox2 // this.groupBox2.Controls.Add(this.label37); this.groupBox2.Controls.Add(this.label36); this.groupBox2.Controls.Add(this.label35); this.groupBox2.Controls.Add(this.label34); this.groupBox2.Controls.Add(this.label33); this.groupBox2.Controls.Add(this.label32); this.groupBox2.Controls.Add(this.label31); this.groupBox2.Controls.Add(this.label30); this.groupBox2.Controls.Add(this.label21); this.groupBox2.Controls.Add(this.label20); this.groupBox2.Controls.Add(this.label19); this.groupBox2.Controls.Add(this.label18); this.groupBox2.Controls.Add(this.label17); this.groupBox2.Controls.Add(this.label16); this.groupBox2.Controls.Add(this.label15); this.groupBox2.Controls.Add(this.label14); this.groupBox2.Controls.Add(this.label13); this.groupBox2.Controls.Add(this.label12); this.groupBox2.Controls.Add(this.label11); this.groupBox2.Controls.Add(this.label10); this.groupBox2.Controls.Add(this.label9); this.groupBox2.Controls.Add(this.label8); this.groupBox2.Controls.Add(this.label7); this.groupBox2.Controls.Add(this.label6); this.groupBox2.Controls.Add(this.label5); this.groupBox2.Controls.Add(this.label4); this.groupBox2.Font = new System.Drawing.Font("宋体", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.groupBox2.Location = new System.Drawing.Point(12, 136); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(275, 439); this.groupBox2.TabIndex = 1; this.groupBox2.TabStop = false; this.groupBox2.Text = "RTU IO 状态"; // // label37 // this.label37.AutoSize = true; this.label37.Location = new System.Drawing.Point(154, 413); this.label37.Name = "label37"; this.label37.Size = new System.Drawing.Size(21, 14); this.label37.TabIndex = 32; this.label37.Text = "关"; // // label36 // this.label36.AutoSize = true; this.label36.Location = new System.Drawing.Point(154, 372); this.label36.Name = "label36"; this.label36.Size = new System.Drawing.Size(21, 14); this.label36.TabIndex = 31; this.label36.Text = "关"; // // label35 // this.label35.AutoSize = true; this.label35.Location = new System.Drawing.Point(154, 332); this.label35.Name = "label35"; this.label35.Size = new System.Drawing.Size(21, 14); this.label35.TabIndex = 30; this.label35.Text = "关"; // // label34 // this.label34.AutoSize = true; this.label34.Location = new System.Drawing.Point(154, 298); this.label34.Name = "label34"; this.label34.Size = new System.Drawing.Size(21, 14); this.label34.TabIndex = 29; this.label34.Text = "关"; // // label33 // this.label33.AutoSize = true; this.label33.Location = new System.Drawing.Point(9, 372); this.label33.Name = "label33"; this.label33.Size = new System.Drawing.Size(35, 14); this.label33.TabIndex = 28; this.label33.Text = "复位"; // // label32 // this.label32.AutoSize = true; this.label32.Location = new System.Drawing.Point(9, 332); this.label32.Name = "label32"; this.label32.Size = new System.Drawing.Size(77, 14); this.label32.TabIndex = 27; this.label32.Text = "继电器控制"; // // label31 // this.label31.AutoSize = true; this.label31.Location = new System.Drawing.Point(8, 413); this.label31.Name = "label31"; this.label31.Size = new System.Drawing.Size(28, 14); this.label31.TabIndex = 27; this.label31.Text = "DO4"; // // label30 // this.label30.AutoSize = true; this.label30.Location = new System.Drawing.Point(9, 298); this.label30.Name = "label30"; this.label30.Size = new System.Drawing.Size(91, 14); this.label30.TabIndex = 26; this.label30.Text = "电子开关控制"; // // label21 // this.label21.AutoSize = true; this.label21.Location = new System.Drawing.Point(154, 260); this.label21.Name = "label21"; this.label21.Size = new System.Drawing.Size(14, 14); this.label21.TabIndex = 17; this.label21.Text = "0"; // // label20 // this.label20.AutoSize = true; this.label20.Location = new System.Drawing.Point(154, 230); this.label20.Name = "label20"; this.label20.Size = new System.Drawing.Size(14, 14); this.label20.TabIndex = 16; this.label20.Text = "0"; // // label19 // this.label19.AutoSize = true; this.label19.Location = new System.Drawing.Point(154, 201); this.label19.Name = "label19"; this.label19.Size = new System.Drawing.Size(14, 14); this.label19.TabIndex = 15; this.label19.Text = "0"; // // label18 // this.label18.AutoSize = true; this.label18.Location = new System.Drawing.Point(154, 172); this.label18.Name = "label18"; this.label18.Size = new System.Drawing.Size(14, 14); this.label18.TabIndex = 14; this.label18.Text = "0"; // // label17 // this.label17.AutoSize = true; this.label17.Location = new System.Drawing.Point(154, 144); this.label17.Name = "label17"; this.label17.Size = new System.Drawing.Size(14, 14); this.label17.TabIndex = 13; this.label17.Text = "0"; // // label16 // this.label16.AutoSize = true; this.label16.Location = new System.Drawing.Point(154, 115); this.label16.Name = "label16"; this.label16.Size = new System.Drawing.Size(14, 14); this.label16.TabIndex = 12; this.label16.Text = "0"; // // label15 // this.label15.AutoSize = true; this.label15.Location = new System.Drawing.Point(154, 87); this.label15.Name = "label15"; this.label15.Size = new System.Drawing.Size(14, 14); this.label15.TabIndex = 11; this.label15.Text = "0"; // // label14 // this.label14.AutoSize = true; this.label14.Location = new System.Drawing.Point(9, 260); this.label14.Name = "label14"; this.label14.Size = new System.Drawing.Size(35, 14); this.label14.TabIndex = 10; this.label14.Text = "AIN7"; // // label13 // this.label13.AutoSize = true; this.label13.Location = new System.Drawing.Point(9, 230); this.label13.Name = "label13"; this.label13.Size = new System.Drawing.Size(35, 14); this.label13.TabIndex = 9; this.label13.Text = "AIN6"; // // label12 // this.label12.AutoSize = true; this.label12.Location = new System.Drawing.Point(9, 201); this.label12.Name = "label12"; this.label12.Size = new System.Drawing.Size(35, 14); this.label12.TabIndex = 8; this.label12.Text = "湿度"; // // label11 // this.label11.AutoSize = true; this.label11.Location = new System.Drawing.Point(9, 172); this.label11.Name = "label11"; this.label11.Size = new System.Drawing.Size(35, 14); this.label11.TabIndex = 7; this.label11.Text = "温度"; // // label10 // this.label10.AutoSize = true; this.label10.Location = new System.Drawing.Point(9, 144); this.label10.Name = "label10"; this.label10.Size = new System.Drawing.Size(77, 14); this.label10.TabIndex = 6; this.label10.Text = "短路故障位"; // // label9 // this.label9.AutoSize = true; this.label9.Location = new System.Drawing.Point(9, 115); this.label9.Name = "label9"; this.label9.Size = new System.Drawing.Size(77, 14); this.label9.TabIndex = 5; this.label9.Text = "过流故障位"; // // label8 // this.label8.AutoSize = true; this.label8.Location = new System.Drawing.Point(9, 87); this.label8.Name = "label8"; this.label8.Size = new System.Drawing.Size(35, 14); this.label8.TabIndex = 4; this.label8.Text = "电流"; // // label7 // this.label7.AutoSize = true; this.label7.Location = new System.Drawing.Point(154, 58); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(14, 14); this.label7.TabIndex = 3; this.label7.Text = "0"; // // label6 // this.label6.AutoSize = true; this.label6.Location = new System.Drawing.Point(9, 58); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(35, 14); this.label6.TabIndex = 2; this.label6.Text = "电压"; // // label5 // this.label5.AutoSize = true; this.label5.Location = new System.Drawing.Point(157, 28); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(35, 14); this.label5.TabIndex = 1; this.label5.Text = "数据"; // // label4 // this.label4.AutoSize = true; this.label4.Location = new System.Drawing.Point(28, 28); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(35, 14); this.label4.TabIndex = 0; this.label4.Text = "名称"; // // groupBox3 // this.groupBox3.Controls.Add(this.button11); this.groupBox3.Controls.Add(this.button10); this.groupBox3.Controls.Add(this.button9); this.groupBox3.Controls.Add(this.button8); this.groupBox3.Controls.Add(this.button7); this.groupBox3.Controls.Add(this.button6); this.groupBox3.Controls.Add(this.button5); this.groupBox3.Controls.Add(this.button4); this.groupBox3.Controls.Add(this.button3); this.groupBox3.Controls.Add(this.button2); this.groupBox3.Controls.Add(this.label3); this.groupBox3.Font = new System.Drawing.Font("宋体", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.groupBox3.Location = new System.Drawing.Point(310, 136); this.groupBox3.Name = "groupBox3"; this.groupBox3.Size = new System.Drawing.Size(212, 439); this.groupBox3.TabIndex = 2; this.groupBox3.TabStop = false; this.groupBox3.Text = "RTU DO 控制"; // // button11 // this.button11.Location = new System.Drawing.Point(18, 389); this.button11.Name = "button11"; this.button11.Size = new System.Drawing.Size(75, 23); this.button11.TabIndex = 10; this.button11.Text = "自动读取"; this.button11.UseVisualStyleBackColor = true; this.button11.Click += new System.EventHandler(this.button11_Click); // // button10 // this.button10.Location = new System.Drawing.Point(115, 304); this.button10.Name = "button10"; this.button10.Size = new System.Drawing.Size(88, 23); this.button10.TabIndex = 9; this.button10.Text = "继电器4关"; this.button10.UseVisualStyleBackColor = true; this.button10.Click += new System.EventHandler(this.button10_Click); // // button9 // this.button9.Location = new System.Drawing.Point(18, 304); this.button9.Name = "button9"; this.button9.Size = new System.Drawing.Size(88, 23); this.button9.TabIndex = 8; this.button9.Text = "继电器4开"; this.button9.UseVisualStyleBackColor = true; this.button9.Click += new System.EventHandler(this.button9_Click); // // button8 // this.button8.Location = new System.Drawing.Point(115, 230); this.button8.Name = "button8"; this.button8.Size = new System.Drawing.Size(88, 23); this.button8.TabIndex = 7; this.button8.Text = "继电器3关"; this.button8.UseVisualStyleBackColor = true; this.button8.Click += new System.EventHandler(this.button8_Click); // // button7 // this.button7.Location = new System.Drawing.Point(18, 230); this.button7.Name = "button7"; this.button7.Size = new System.Drawing.Size(88, 23); this.button7.TabIndex = 6; this.button7.Text = "继电器3开"; this.button7.UseVisualStyleBackColor = true; this.button7.Click += new System.EventHandler(this.button7_Click); // // button6 // this.button6.Location = new System.Drawing.Point(115, 163); this.button6.Name = "button6"; this.button6.Size = new System.Drawing.Size(88, 23); this.button6.TabIndex = 5; this.button6.Text = "继电器2关"; this.button6.UseVisualStyleBackColor = true; this.button6.Click += new System.EventHandler(this.button6_Click); // // button5 // this.button5.Location = new System.Drawing.Point(18, 163); this.button5.Name = "button5"; this.button5.Size = new System.Drawing.Size(88, 23); this.button5.TabIndex = 4; this.button5.Text = "继电器2开"; this.button5.UseVisualStyleBackColor = true; this.button5.Click += new System.EventHandler(this.button5_Click); // // button4 // this.button4.Location = new System.Drawing.Point(115, 87); this.button4.Name = "button4"; this.button4.Size = new System.Drawing.Size(88, 23); this.button4.TabIndex = 3; this.button4.Text = "继电器1关"; this.button4.UseVisualStyleBackColor = true; this.button4.Click += new System.EventHandler(this.button4_Click); // // button3 // this.button3.Location = new System.Drawing.Point(18, 87); this.button3.Name = "button3"; this.button3.Size = new System.Drawing.Size(88, 23); this.button3.TabIndex = 2; this.button3.Text = "继电器1开"; this.button3.UseVisualStyleBackColor = true; this.button3.Click += new System.EventHandler(this.button3_Click); // // button2 // this.button2.Location = new System.Drawing.Point(117, 28); this.button2.Name = "button2"; this.button2.Size = new System.Drawing.Size(75, 23); this.button2.TabIndex = 1; this.button2.Text = "读取"; this.button2.UseVisualStyleBackColor = true; this.button2.Click += new System.EventHandler(this.button2_Click); // // label3 // this.label3.AutoSize = true; this.label3.Location = new System.Drawing.Point(15, 33); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(91, 14); this.label3.TabIndex = 0; this.label3.Text = "读取系统状态"; // // label22 // this.label22.AutoSize = true; this.label22.Location = new System.Drawing.Point(9, 79); this.label22.Name = "label22"; this.label22.Size = new System.Drawing.Size(63, 14); this.label22.TabIndex = 0; this.label22.Text = "子站地址"; // // textBox3 // this.textBox3.Location = new System.Drawing.Point(78, 76); this.textBox3.Name = "textBox3"; this.textBox3.Size = new System.Drawing.Size(116, 23); this.textBox3.TabIndex = 1; this.textBox3.TextChanged += new System.EventHandler(this.textBox3_TextChanged); // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(534, 608); this.Controls.Add(this.groupBox3); this.Controls.Add(this.groupBox2); this.Controls.Add(this.groupBox1); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MaximizeBox = false; this.Name = "Form1"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "YTDA202303TCP"; this.groupBox1.ResumeLayout(false); this.groupBox1.PerformLayout(); this.groupBox2.ResumeLayout(false); this.groupBox2.PerformLayout(); this.groupBox3.ResumeLayout(false); this.groupBox3.PerformLayout(); this.ResumeLayout(false); } #endregion private System.Windows.Forms.GroupBox groupBox1; private System.Windows.Forms.Button button1; private System.Windows.Forms.TextBox textBox2; private System.Windows.Forms.Label label2; private System.Windows.Forms.TextBox textBox1; private System.Windows.Forms.Label label1; private System.Windows.Forms.GroupBox groupBox2; private System.Windows.Forms.GroupBox groupBox3; private System.Windows.Forms.Button button2; private System.Windows.Forms.Label label3; private System.Windows.Forms.Label label5; private System.Windows.Forms.Label label4; private System.Windows.Forms.Label label21; private System.Windows.Forms.Label label20; private System.Windows.Forms.Label label19; private System.Windows.Forms.Label label18; private System.Windows.Forms.Label label17; private System.Windows.Forms.Label label16; private System.Windows.Forms.Label label15; private System.Windows.Forms.Label label14; private System.Windows.Forms.Label label13; private System.Windows.Forms.Label label12; private System.Windows.Forms.Label label11; private System.Windows.Forms.Label label10; private System.Windows.Forms.Label label9; private System.Windows.Forms.Label label8; private System.Windows.Forms.Label label7; private System.Windows.Forms.Label label6; private System.Windows.Forms.Label label37; private System.Windows.Forms.Label label36; private System.Windows.Forms.Label label35; private System.Windows.Forms.Label label34; private System.Windows.Forms.Label label33; private System.Windows.Forms.Label label32; private System.Windows.Forms.Label label31; private System.Windows.Forms.Label label30; private System.Windows.Forms.Button button5; private System.Windows.Forms.Button button4; private System.Windows.Forms.Button button3; private System.Windows.Forms.Button button10; private System.Windows.Forms.Button button9; private System.Windows.Forms.Button button8; private System.Windows.Forms.Button button7; private System.Windows.Forms.Button button6; private System.Windows.Forms.Button button11; private System.Windows.Forms.TextBox textBox3; private System.Windows.Forms.Label label22; } }