467 lines
20 KiB
C#
467 lines
20 KiB
C#
namespace XCLPTInternalTesting
|
||
{
|
||
partial class Form1
|
||
{
|
||
/// <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()
|
||
{
|
||
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.comboBox1 = new System.Windows.Forms.ComboBox();
|
||
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.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.label3 = new System.Windows.Forms.Label();
|
||
this.groupBox3 = new System.Windows.Forms.GroupBox();
|
||
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.textBox2 = new System.Windows.Forms.TextBox();
|
||
this.groupBox1.SuspendLayout();
|
||
this.groupBox2.SuspendLayout();
|
||
this.groupBox3.SuspendLayout();
|
||
this.SuspendLayout();
|
||
//
|
||
// groupBox1
|
||
//
|
||
this.groupBox1.Controls.Add(this.button1);
|
||
this.groupBox1.Controls.Add(this.comboBox1);
|
||
this.groupBox1.Controls.Add(this.label2);
|
||
this.groupBox1.Controls.Add(this.textBox1);
|
||
this.groupBox1.Controls.Add(this.label1);
|
||
this.groupBox1.Font = new System.Drawing.Font("宋体", 12F, 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(564, 96);
|
||
this.groupBox1.TabIndex = 0;
|
||
this.groupBox1.TabStop = false;
|
||
this.groupBox1.Text = "TCPClient";
|
||
//
|
||
// button1
|
||
//
|
||
this.button1.Location = new System.Drawing.Point(468, 44);
|
||
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);
|
||
//
|
||
// comboBox1
|
||
//
|
||
this.comboBox1.FormattingEnabled = true;
|
||
this.comboBox1.Location = new System.Drawing.Point(302, 43);
|
||
this.comboBox1.Name = "comboBox1";
|
||
this.comboBox1.Size = new System.Drawing.Size(135, 24);
|
||
this.comboBox1.TabIndex = 3;
|
||
//
|
||
// label2
|
||
//
|
||
this.label2.AutoSize = true;
|
||
this.label2.Location = new System.Drawing.Point(236, 46);
|
||
this.label2.Name = "label2";
|
||
this.label2.Size = new System.Drawing.Size(71, 16);
|
||
this.label2.TabIndex = 2;
|
||
this.label2.Text = "端口号:";
|
||
//
|
||
// textBox1
|
||
//
|
||
this.textBox1.Location = new System.Drawing.Point(75, 43);
|
||
this.textBox1.Name = "textBox1";
|
||
this.textBox1.Size = new System.Drawing.Size(144, 26);
|
||
this.textBox1.TabIndex = 1;
|
||
//
|
||
// label1
|
||
//
|
||
this.label1.AutoSize = true;
|
||
this.label1.Location = new System.Drawing.Point(6, 46);
|
||
this.label1.Name = "label1";
|
||
this.label1.Size = new System.Drawing.Size(63, 16);
|
||
this.label1.TabIndex = 0;
|
||
this.label1.Text = "目标IP:";
|
||
//
|
||
// groupBox2
|
||
//
|
||
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.Controls.Add(this.label3);
|
||
this.groupBox2.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||
this.groupBox2.Location = new System.Drawing.Point(12, 126);
|
||
this.groupBox2.Name = "groupBox2";
|
||
this.groupBox2.Size = new System.Drawing.Size(297, 444);
|
||
this.groupBox2.TabIndex = 1;
|
||
this.groupBox2.TabStop = false;
|
||
this.groupBox2.Text = "IO状态";
|
||
//
|
||
// label18
|
||
//
|
||
this.label18.AutoSize = true;
|
||
this.label18.Location = new System.Drawing.Point(223, 414);
|
||
this.label18.Name = "label18";
|
||
this.label18.Size = new System.Drawing.Size(31, 16);
|
||
this.label18.TabIndex = 15;
|
||
this.label18.Text = "0 %";
|
||
//
|
||
// label17
|
||
//
|
||
this.label17.AutoSize = true;
|
||
this.label17.Location = new System.Drawing.Point(223, 349);
|
||
this.label17.Name = "label17";
|
||
this.label17.Size = new System.Drawing.Size(39, 16);
|
||
this.label17.TabIndex = 14;
|
||
this.label17.Text = "0 ℃";
|
||
//
|
||
// label16
|
||
//
|
||
this.label16.AutoSize = true;
|
||
this.label16.Location = new System.Drawing.Point(17, 414);
|
||
this.label16.Name = "label16";
|
||
this.label16.Size = new System.Drawing.Size(39, 16);
|
||
this.label16.TabIndex = 13;
|
||
this.label16.Text = "湿度";
|
||
//
|
||
// label15
|
||
//
|
||
this.label15.AutoSize = true;
|
||
this.label15.Location = new System.Drawing.Point(17, 349);
|
||
this.label15.Name = "label15";
|
||
this.label15.Size = new System.Drawing.Size(39, 16);
|
||
this.label15.TabIndex = 12;
|
||
this.label15.Text = "温度";
|
||
//
|
||
// label14
|
||
//
|
||
this.label14.AutoSize = true;
|
||
this.label14.Location = new System.Drawing.Point(223, 289);
|
||
this.label14.Name = "label14";
|
||
this.label14.Size = new System.Drawing.Size(23, 16);
|
||
this.label14.TabIndex = 11;
|
||
this.label14.Text = "0V";
|
||
//
|
||
// label13
|
||
//
|
||
this.label13.AutoSize = true;
|
||
this.label13.Location = new System.Drawing.Point(223, 240);
|
||
this.label13.Name = "label13";
|
||
this.label13.Size = new System.Drawing.Size(23, 16);
|
||
this.label13.TabIndex = 10;
|
||
this.label13.Text = "0V";
|
||
//
|
||
// label12
|
||
//
|
||
this.label12.AutoSize = true;
|
||
this.label12.Location = new System.Drawing.Point(223, 187);
|
||
this.label12.Name = "label12";
|
||
this.label12.Size = new System.Drawing.Size(23, 16);
|
||
this.label12.TabIndex = 9;
|
||
this.label12.Text = "0V";
|
||
//
|
||
// label11
|
||
//
|
||
this.label11.AutoSize = true;
|
||
this.label11.Location = new System.Drawing.Point(223, 134);
|
||
this.label11.Name = "label11";
|
||
this.label11.Size = new System.Drawing.Size(23, 16);
|
||
this.label11.TabIndex = 8;
|
||
this.label11.Text = "0V";
|
||
//
|
||
// label10
|
||
//
|
||
this.label10.AutoSize = true;
|
||
this.label10.Location = new System.Drawing.Point(223, 81);
|
||
this.label10.Name = "label10";
|
||
this.label10.Size = new System.Drawing.Size(23, 16);
|
||
this.label10.TabIndex = 7;
|
||
this.label10.Text = "0V";
|
||
//
|
||
// label9
|
||
//
|
||
this.label9.AutoSize = true;
|
||
this.label9.Location = new System.Drawing.Point(14, 289);
|
||
this.label9.Name = "label9";
|
||
this.label9.Size = new System.Drawing.Size(119, 16);
|
||
this.label9.TabIndex = 6;
|
||
this.label9.Text = "5路:12V多参数";
|
||
//
|
||
// label8
|
||
//
|
||
this.label8.AutoSize = true;
|
||
this.label8.Location = new System.Drawing.Point(14, 240);
|
||
this.label8.Name = "label8";
|
||
this.label8.Size = new System.Drawing.Size(119, 16);
|
||
this.label8.TabIndex = 5;
|
||
this.label8.Text = "4路:24V预留口";
|
||
//
|
||
// label7
|
||
//
|
||
this.label7.AutoSize = true;
|
||
this.label7.Location = new System.Drawing.Point(14, 187);
|
||
this.label7.Name = "label7";
|
||
this.label7.Size = new System.Drawing.Size(127, 16);
|
||
this.label7.TabIndex = 4;
|
||
this.label7.Text = "3路:24V传感器2";
|
||
//
|
||
// label6
|
||
//
|
||
this.label6.AutoSize = true;
|
||
this.label6.Location = new System.Drawing.Point(14, 134);
|
||
this.label6.Name = "label6";
|
||
this.label6.Size = new System.Drawing.Size(127, 16);
|
||
this.label6.TabIndex = 3;
|
||
this.label6.Text = "2路:24V传感器1";
|
||
//
|
||
// label5
|
||
//
|
||
this.label5.AutoSize = true;
|
||
this.label5.Location = new System.Drawing.Point(14, 81);
|
||
this.label5.Name = "label5";
|
||
this.label5.Size = new System.Drawing.Size(103, 16);
|
||
this.label5.TabIndex = 2;
|
||
this.label5.Text = "1路:12V摄像";
|
||
this.label5.Click += new System.EventHandler(this.label5_Click);
|
||
//
|
||
// label4
|
||
//
|
||
this.label4.AutoSize = true;
|
||
this.label4.Location = new System.Drawing.Point(223, 39);
|
||
this.label4.Name = "label4";
|
||
this.label4.Size = new System.Drawing.Size(39, 16);
|
||
this.label4.TabIndex = 1;
|
||
this.label4.Text = "数据";
|
||
//
|
||
// label3
|
||
//
|
||
this.label3.AutoSize = true;
|
||
this.label3.Location = new System.Drawing.Point(43, 39);
|
||
this.label3.Name = "label3";
|
||
this.label3.Size = new System.Drawing.Size(39, 16);
|
||
this.label3.TabIndex = 0;
|
||
this.label3.Text = "名称";
|
||
//
|
||
// groupBox3
|
||
//
|
||
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.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||
this.groupBox3.Location = new System.Drawing.Point(328, 126);
|
||
this.groupBox3.Name = "groupBox3";
|
||
this.groupBox3.Size = new System.Drawing.Size(248, 444);
|
||
this.groupBox3.TabIndex = 2;
|
||
this.groupBox3.TabStop = false;
|
||
this.groupBox3.Text = "控制";
|
||
//
|
||
// button9
|
||
//
|
||
this.button9.Location = new System.Drawing.Point(129, 198);
|
||
this.button9.Name = "button9";
|
||
this.button9.Size = new System.Drawing.Size(113, 29);
|
||
this.button9.TabIndex = 7;
|
||
this.button9.Text = "关闭所有开关";
|
||
this.button9.UseVisualStyleBackColor = true;
|
||
this.button9.Click += new System.EventHandler(this.button9_Click);
|
||
//
|
||
// button8
|
||
//
|
||
this.button8.Location = new System.Drawing.Point(19, 343);
|
||
this.button8.Name = "button8";
|
||
this.button8.Size = new System.Drawing.Size(113, 29);
|
||
this.button8.TabIndex = 6;
|
||
this.button8.Text = "查询温湿度";
|
||
this.button8.UseVisualStyleBackColor = true;
|
||
this.button8.Click += new System.EventHandler(this.button8_Click);
|
||
//
|
||
// button7
|
||
//
|
||
this.button7.Location = new System.Drawing.Point(19, 283);
|
||
this.button7.Name = "button7";
|
||
this.button7.Size = new System.Drawing.Size(113, 29);
|
||
this.button7.TabIndex = 5;
|
||
this.button7.Text = "查询电压值";
|
||
this.button7.UseVisualStyleBackColor = true;
|
||
this.button7.Click += new System.EventHandler(this.button7_Click);
|
||
//
|
||
// button6
|
||
//
|
||
this.button6.Location = new System.Drawing.Point(19, 198);
|
||
this.button6.Name = "button6";
|
||
this.button6.Size = new System.Drawing.Size(91, 29);
|
||
this.button6.TabIndex = 4;
|
||
this.button6.Text = "继电器5开";
|
||
this.button6.UseVisualStyleBackColor = true;
|
||
this.button6.Click += new System.EventHandler(this.button6_Click);
|
||
//
|
||
// button5
|
||
//
|
||
this.button5.Location = new System.Drawing.Point(151, 134);
|
||
this.button5.Name = "button5";
|
||
this.button5.Size = new System.Drawing.Size(91, 29);
|
||
this.button5.TabIndex = 3;
|
||
this.button5.Text = "继电器4开";
|
||
this.button5.UseVisualStyleBackColor = true;
|
||
this.button5.Click += new System.EventHandler(this.button5_Click);
|
||
//
|
||
// button4
|
||
//
|
||
this.button4.Location = new System.Drawing.Point(19, 134);
|
||
this.button4.Name = "button4";
|
||
this.button4.Size = new System.Drawing.Size(91, 29);
|
||
this.button4.TabIndex = 2;
|
||
this.button4.Text = "继电器3开";
|
||
this.button4.UseVisualStyleBackColor = true;
|
||
this.button4.Click += new System.EventHandler(this.button4_Click);
|
||
//
|
||
// button3
|
||
//
|
||
this.button3.Location = new System.Drawing.Point(151, 68);
|
||
this.button3.Name = "button3";
|
||
this.button3.Size = new System.Drawing.Size(91, 29);
|
||
this.button3.TabIndex = 1;
|
||
this.button3.Text = "继电器2开";
|
||
this.button3.UseVisualStyleBackColor = true;
|
||
this.button3.Click += new System.EventHandler(this.button3_Click);
|
||
//
|
||
// button2
|
||
//
|
||
this.button2.Location = new System.Drawing.Point(19, 68);
|
||
this.button2.Name = "button2";
|
||
this.button2.Size = new System.Drawing.Size(91, 29);
|
||
this.button2.TabIndex = 0;
|
||
this.button2.Text = "继电器1开";
|
||
this.button2.UseVisualStyleBackColor = true;
|
||
this.button2.Click += new System.EventHandler(this.button2_Click);
|
||
//
|
||
// textBox2
|
||
//
|
||
this.textBox2.Location = new System.Drawing.Point(13, 576);
|
||
this.textBox2.Multiline = true;
|
||
this.textBox2.Name = "textBox2";
|
||
this.textBox2.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
|
||
this.textBox2.Size = new System.Drawing.Size(563, 122);
|
||
this.textBox2.TabIndex = 3;
|
||
//
|
||
// Form1
|
||
//
|
||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||
this.ClientSize = new System.Drawing.Size(588, 710);
|
||
this.Controls.Add(this.textBox2);
|
||
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.Name = "Form1";
|
||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||
this.Text = "新材料平台测试软件";
|
||
this.groupBox1.ResumeLayout(false);
|
||
this.groupBox1.PerformLayout();
|
||
this.groupBox2.ResumeLayout(false);
|
||
this.groupBox2.PerformLayout();
|
||
this.groupBox3.ResumeLayout(false);
|
||
this.ResumeLayout(false);
|
||
this.PerformLayout();
|
||
|
||
}
|
||
|
||
#endregion
|
||
|
||
private System.Windows.Forms.GroupBox groupBox1;
|
||
private System.Windows.Forms.Button button1;
|
||
private System.Windows.Forms.ComboBox comboBox1;
|
||
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.Label label4;
|
||
private System.Windows.Forms.Label label3;
|
||
private System.Windows.Forms.Label label7;
|
||
private System.Windows.Forms.Label label6;
|
||
private System.Windows.Forms.Label label5;
|
||
private System.Windows.Forms.Label label8;
|
||
private System.Windows.Forms.Label label9;
|
||
private System.Windows.Forms.GroupBox groupBox3;
|
||
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 label16;
|
||
private System.Windows.Forms.Label label15;
|
||
private System.Windows.Forms.Label label18;
|
||
private System.Windows.Forms.Label label17;
|
||
private System.Windows.Forms.Button button5;
|
||
private System.Windows.Forms.Button button4;
|
||
private System.Windows.Forms.Button button3;
|
||
private System.Windows.Forms.Button button2;
|
||
private System.Windows.Forms.Button button6;
|
||
private System.Windows.Forms.Button button8;
|
||
private System.Windows.Forms.Button button7;
|
||
private System.Windows.Forms.Button button9;
|
||
private System.Windows.Forms.TextBox textBox2;
|
||
}
|
||
}
|
||
|