namespace Nanji_Island { 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() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); this.button1 = new System.Windows.Forms.Button(); this.label1 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.label6 = new System.Windows.Forms.Label(); this.label7 = new System.Windows.Forms.Label(); this.label13 = new System.Windows.Forms.Label(); this.label17 = new System.Windows.Forms.Label(); this.label26 = new System.Windows.Forms.Label(); this.label27 = new System.Windows.Forms.Label(); this.label28 = new System.Windows.Forms.Label(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.label5 = new System.Windows.Forms.Label(); this.label4 = new System.Windows.Forms.Label(); this.label31 = new System.Windows.Forms.Label(); this.label32 = new System.Windows.Forms.Label(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.label20 = new System.Windows.Forms.Label(); this.label19 = new System.Windows.Forms.Label(); this.label9 = new System.Windows.Forms.Label(); this.label8 = new System.Windows.Forms.Label(); this.groupBox3 = new System.Windows.Forms.GroupBox(); this.label12 = new System.Windows.Forms.Label(); this.label11 = 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.label39 = new System.Windows.Forms.Label(); this.ipAdress = new System.Windows.Forms.Label(); this._port = new System.Windows.Forms.Label(); this.label41 = new System.Windows.Forms.Label(); this.label42 = new System.Windows.Forms.Label(); this.label43 = new System.Windows.Forms.Label(); this.button2 = new System.Windows.Forms.Button(); this.panel1 = new System.Windows.Forms.Panel(); this.panel2 = new System.Windows.Forms.Panel(); this.groupBox4 = new System.Windows.Forms.GroupBox(); this.groupBox5 = new System.Windows.Forms.GroupBox(); this.groupBox8 = new System.Windows.Forms.GroupBox(); this.button4 = new System.Windows.Forms.Button(); this.button3 = new System.Windows.Forms.Button(); this.groupBox_JB1 = new System.Windows.Forms.GroupBox(); this.groupBox11 = new System.Windows.Forms.GroupBox(); this.btnDO2 = new System.Windows.Forms.Button(); this.imglistDO = new System.Windows.Forms.ImageList(this.components); this.btnDO1 = new System.Windows.Forms.Button(); this.txtDONum = new System.Windows.Forms.TextBox(); this.label61 = new System.Windows.Forms.Label(); this.txtaddr = new System.Windows.Forms.TextBox(); this.label60 = new System.Windows.Forms.Label(); this.btnopen = new System.Windows.Forms.Button(); this.lblIP = new System.Windows.Forms.Label(); this.lblPort = new System.Windows.Forms.Label(); this.tbIP = new System.Windows.Forms.TextBox(); this.tbPort = new System.Windows.Forms.TextBox(); this.btnStart = new System.Windows.Forms.Button(); this.btnClose = new System.Windows.Forms.Button(); this.btnDisconnect = new System.Windows.Forms.Button(); this.groupBox12 = new System.Windows.Forms.GroupBox(); this.button14 = new System.Windows.Forms.Button(); this.button6 = new System.Windows.Forms.Button(); this.button13 = new System.Windows.Forms.Button(); this.button12 = new System.Windows.Forms.Button(); this.button9 = new System.Windows.Forms.Button(); this.label18 = new System.Windows.Forms.Label(); this.button5 = new System.Windows.Forms.Button(); this.comboBox2 = new System.Windows.Forms.ComboBox(); this.comboBox1 = new System.Windows.Forms.ComboBox(); this.button7 = new System.Windows.Forms.Button(); this.button8 = new System.Windows.Forms.Button(); this.label50 = new System.Windows.Forms.Label(); this.btnSwitch = new System.Windows.Forms.Button(); this.label53 = new System.Windows.Forms.Label(); this.cbSerial = new System.Windows.Forms.ComboBox(); this.txtRecv = new System.Windows.Forms.RichTextBox(); this.serialPort1 = new System.IO.Ports.SerialPort(this.components); this.serialPort2 = new System.IO.Ports.SerialPort(this.components); this.button10 = new System.Windows.Forms.Button(); this.panel3 = new System.Windows.Forms.Panel(); this.label10 = new System.Windows.Forms.Label(); this.button11 = new System.Windows.Forms.Button(); this.timer1 = new System.Windows.Forms.Timer(this.components); this.timer2 = new System.Windows.Forms.Timer(this.components); this.timer3 = new System.Windows.Forms.Timer(this.components); this.timer4 = new System.Windows.Forms.Timer(this.components); this.timer5 = new System.Windows.Forms.Timer(this.components); this.timer6 = new System.Windows.Forms.Timer(this.components); this.timer7 = new System.Windows.Forms.Timer(this.components); this.timer8 = new System.Windows.Forms.Timer(this.components); this.timer9 = new System.Windows.Forms.Timer(this.components); this.timer10 = new System.Windows.Forms.Timer(this.components); this.textBox1 = new System.Windows.Forms.TextBox(); this.groupBox1.SuspendLayout(); this.groupBox2.SuspendLayout(); this.groupBox3.SuspendLayout(); this.groupBox4.SuspendLayout(); this.groupBox5.SuspendLayout(); this.groupBox8.SuspendLayout(); this.groupBox_JB1.SuspendLayout(); this.groupBox11.SuspendLayout(); this.groupBox12.SuspendLayout(); this.SuspendLayout(); // // button1 // this.button1.Location = new System.Drawing.Point(1327, 970); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(75, 23); this.button1.TabIndex = 5; this.button1.Text = "发送"; this.button1.UseVisualStyleBackColor = true; this.button1.Click += new System.EventHandler(this.button1_Click_1); // // label1 // this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(6, 27); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(29, 12); this.label1.TabIndex = 7; this.label1.Text = "时间"; // // label2 // this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(6, 58); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(29, 12); this.label2.TabIndex = 8; this.label2.Text = "温度"; // // label3 // this.label3.AutoSize = true; this.label3.Location = new System.Drawing.Point(6, 79); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(29, 12); this.label3.TabIndex = 9; this.label3.Text = "湿度"; // // label6 // this.label6.AutoSize = true; this.label6.Location = new System.Drawing.Point(12, 72); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(29, 12); this.label6.TabIndex = 12; this.label6.Text = "电压"; // // label7 // this.label7.AutoSize = true; this.label7.Location = new System.Drawing.Point(12, 113); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(29, 12); this.label7.TabIndex = 13; this.label7.Text = "电流"; // // label13 // this.label13.AutoSize = true; this.label13.Location = new System.Drawing.Point(6, 58); this.label13.Name = "label13"; this.label13.Size = new System.Drawing.Size(29, 12); this.label13.TabIndex = 19; this.label13.Text = "温度"; // // label17 // this.label17.AutoSize = true; this.label17.Location = new System.Drawing.Point(6, 79); this.label17.Name = "label17"; this.label17.Size = new System.Drawing.Size(29, 12); this.label17.TabIndex = 23; this.label17.Text = "湿度"; // // label26 // this.label26.AutoSize = true; this.label26.Location = new System.Drawing.Point(86, 27); this.label26.Name = "label26"; this.label26.Size = new System.Drawing.Size(29, 12); this.label26.TabIndex = 32; this.label26.Text = "0.00"; // // label27 // this.label27.AutoSize = true; this.label27.Location = new System.Drawing.Point(86, 61); this.label27.Name = "label27"; this.label27.Size = new System.Drawing.Size(29, 12); this.label27.TabIndex = 33; this.label27.Text = "0.00"; // // label28 // this.label28.AutoSize = true; this.label28.Location = new System.Drawing.Point(86, 79); this.label28.Name = "label28"; this.label28.Size = new System.Drawing.Size(29, 12); this.label28.TabIndex = 34; this.label28.Text = "0.00"; // // groupBox1 // this.groupBox1.BackColor = System.Drawing.Color.LemonChiffon; this.groupBox1.Controls.Add(this.label5); this.groupBox1.Controls.Add(this.label4); this.groupBox1.Controls.Add(this.label1); this.groupBox1.Controls.Add(this.label26); this.groupBox1.Controls.Add(this.label2); this.groupBox1.Controls.Add(this.label28); this.groupBox1.Controls.Add(this.label27); this.groupBox1.Controls.Add(this.label3); this.groupBox1.Location = new System.Drawing.Point(1688, 498); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(209, 131); this.groupBox1.TabIndex = 37; this.groupBox1.TabStop = false; this.groupBox1.Text = "温湿度第二路数据"; // // label5 // this.label5.AutoSize = true; this.label5.Location = new System.Drawing.Point(121, 79); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(23, 12); this.label5.TabIndex = 36; this.label5.Text = "%RH"; // // label4 // this.label4.AutoSize = true; this.label4.Location = new System.Drawing.Point(121, 61); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(23, 12); this.label4.TabIndex = 35; this.label4.Text = "°C"; // // label31 // this.label31.AutoSize = true; this.label31.Location = new System.Drawing.Point(86, 72); this.label31.Name = "label31"; this.label31.Size = new System.Drawing.Size(29, 12); this.label31.TabIndex = 37; this.label31.Text = "0.00"; // // label32 // this.label32.AutoSize = true; this.label32.Location = new System.Drawing.Point(86, 113); this.label32.Name = "label32"; this.label32.Size = new System.Drawing.Size(29, 12); this.label32.TabIndex = 38; this.label32.Text = "0.00"; // // groupBox2 // this.groupBox2.BackColor = System.Drawing.Color.LimeGreen; this.groupBox2.Controls.Add(this.label20); this.groupBox2.Controls.Add(this.label19); this.groupBox2.Controls.Add(this.label9); this.groupBox2.Controls.Add(this.label8); this.groupBox2.Controls.Add(this.label6); this.groupBox2.Controls.Add(this.label7); this.groupBox2.Controls.Add(this.label31); this.groupBox2.Controls.Add(this.label32); this.groupBox2.Location = new System.Drawing.Point(1418, 635); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(218, 139); this.groupBox2.TabIndex = 41; this.groupBox2.TabStop = false; this.groupBox2.Text = "电压电流传感器参数"; this.groupBox2.Enter += new System.EventHandler(this.groupBox2_Enter); // // label20 // this.label20.AutoSize = true; this.label20.Location = new System.Drawing.Point(121, 113); this.label20.Name = "label20"; this.label20.Size = new System.Drawing.Size(11, 12); this.label20.TabIndex = 51; this.label20.Text = "A"; // // label19 // this.label19.AutoSize = true; this.label19.Location = new System.Drawing.Point(121, 72); this.label19.Name = "label19"; this.label19.Size = new System.Drawing.Size(11, 12); this.label19.TabIndex = 50; this.label19.Text = "V"; // // label9 // this.label9.AutoSize = true; this.label9.Location = new System.Drawing.Point(86, 31); this.label9.Name = "label9"; this.label9.Size = new System.Drawing.Size(29, 12); this.label9.TabIndex = 49; this.label9.Text = "0.00"; // // label8 // this.label8.AutoSize = true; this.label8.Location = new System.Drawing.Point(12, 31); this.label8.Name = "label8"; this.label8.Size = new System.Drawing.Size(29, 12); this.label8.TabIndex = 49; this.label8.Text = "时间"; // // groupBox3 // this.groupBox3.BackColor = System.Drawing.Color.LightGoldenrodYellow; this.groupBox3.Controls.Add(this.label12); this.groupBox3.Controls.Add(this.label11); this.groupBox3.Controls.Add(this.label16); this.groupBox3.Controls.Add(this.label15); this.groupBox3.Controls.Add(this.label14); this.groupBox3.Controls.Add(this.label39); this.groupBox3.Controls.Add(this.label13); this.groupBox3.Controls.Add(this.label17); this.groupBox3.Location = new System.Drawing.Point(1418, 498); this.groupBox3.Name = "groupBox3"; this.groupBox3.Size = new System.Drawing.Size(218, 131); this.groupBox3.TabIndex = 42; this.groupBox3.TabStop = false; this.groupBox3.Text = "温湿度第一路数据"; // // label12 // this.label12.AutoSize = true; this.label12.Location = new System.Drawing.Point(121, 79); this.label12.Name = "label12"; this.label12.Size = new System.Drawing.Size(23, 12); this.label12.TabIndex = 37; this.label12.Text = "%RH"; // // label11 // this.label11.AutoSize = true; this.label11.Location = new System.Drawing.Point(121, 60); this.label11.Name = "label11"; this.label11.Size = new System.Drawing.Size(23, 12); this.label11.TabIndex = 37; this.label11.Text = "°C"; // // label16 // this.label16.AutoSize = true; this.label16.Location = new System.Drawing.Point(86, 27); this.label16.Name = "label16"; this.label16.Size = new System.Drawing.Size(29, 12); this.label16.TabIndex = 48; this.label16.Text = "0.00"; // // label15 // this.label15.AutoSize = true; this.label15.Location = new System.Drawing.Point(6, 27); this.label15.Name = "label15"; this.label15.Size = new System.Drawing.Size(29, 12); this.label15.TabIndex = 47; this.label15.Text = "时间"; // // label14 // this.label14.AutoSize = true; this.label14.Location = new System.Drawing.Point(86, 58); this.label14.Name = "label14"; this.label14.Size = new System.Drawing.Size(29, 12); this.label14.TabIndex = 46; this.label14.Text = "0.00"; // // label39 // this.label39.AutoSize = true; this.label39.Location = new System.Drawing.Point(86, 79); this.label39.Name = "label39"; this.label39.Size = new System.Drawing.Size(29, 12); this.label39.TabIndex = 45; this.label39.Text = "0.00"; // // ipAdress // this.ipAdress.AutoSize = true; this.ipAdress.Location = new System.Drawing.Point(899, 1045); this.ipAdress.Name = "ipAdress"; this.ipAdress.Size = new System.Drawing.Size(65, 12); this.ipAdress.TabIndex = 43; this.ipAdress.Text = "(服务器IP)"; // // _port // this._port.AutoSize = true; this._port.Location = new System.Drawing.Point(1221, 1045); this._port.Name = "_port"; this._port.Size = new System.Drawing.Size(53, 12); this._port.TabIndex = 44; this._port.Text = "(端口号)"; // // label41 // this.label41.AutoSize = true; this.label41.Location = new System.Drawing.Point(749, 1045); this.label41.Name = "label41"; this.label41.Size = new System.Drawing.Size(95, 12); this.label41.TabIndex = 45; this.label41.Text = "当前服务器IP为:"; // // label42 // this.label42.AutoSize = true; this.label42.Location = new System.Drawing.Point(1125, 1045); this.label42.Name = "label42"; this.label42.Size = new System.Drawing.Size(59, 12); this.label42.TabIndex = 46; this.label42.Text = "端口号为:"; // // label43 // this.label43.AutoSize = true; this.label43.Location = new System.Drawing.Point(985, 1045); this.label43.Name = "label43"; this.label43.Size = new System.Drawing.Size(95, 12); this.label43.TabIndex = 47; this.label43.Text = "服务器当前状态:"; // // button2 // this.button2.Location = new System.Drawing.Point(1327, 999); this.button2.Name = "button2"; this.button2.Size = new System.Drawing.Size(75, 23); this.button2.TabIndex = 48; this.button2.Text = "数据发送"; this.button2.UseVisualStyleBackColor = true; this.button2.Click += new System.EventHandler(this.button2_Click); // // panel1 // this.panel1.BackColor = System.Drawing.Color.Black; this.panel1.Dock = System.Windows.Forms.DockStyle.Fill; this.panel1.Location = new System.Drawing.Point(3, 17); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(704, 471); this.panel1.TabIndex = 51; // // panel2 // this.panel2.BackColor = System.Drawing.Color.Black; this.panel2.Dock = System.Windows.Forms.DockStyle.Fill; this.panel2.Location = new System.Drawing.Point(3, 17); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(654, 471); this.panel2.TabIndex = 52; this.panel2.Paint += new System.Windows.Forms.PaintEventHandler(this.panel2_Paint); // // groupBox4 // this.groupBox4.Controls.Add(this.panel1); this.groupBox4.Location = new System.Drawing.Point(12, 2); this.groupBox4.Name = "groupBox4"; this.groupBox4.Size = new System.Drawing.Size(710, 491); this.groupBox4.TabIndex = 53; this.groupBox4.TabStop = false; this.groupBox4.Text = "摄像"; // // groupBox5 // this.groupBox5.Controls.Add(this.panel2); this.groupBox5.Location = new System.Drawing.Point(737, 2); this.groupBox5.Name = "groupBox5"; this.groupBox5.Size = new System.Drawing.Size(660, 491); this.groupBox5.TabIndex = 54; this.groupBox5.TabStop = false; this.groupBox5.Text = "声呐"; // // groupBox8 // this.groupBox8.Controls.Add(this.button4); this.groupBox8.Controls.Add(this.button3); this.groupBox8.Location = new System.Drawing.Point(1223, 864); this.groupBox8.Name = "groupBox8"; this.groupBox8.Size = new System.Drawing.Size(179, 100); this.groupBox8.TabIndex = 57; this.groupBox8.TabStop = false; this.groupBox8.Text = "控制"; // // button4 // this.button4.Location = new System.Drawing.Point(8, 49); this.button4.Name = "button4"; this.button4.Size = new System.Drawing.Size(75, 23); this.button4.TabIndex = 1; this.button4.Text = "button4"; this.button4.UseVisualStyleBackColor = true; this.button4.Click += new System.EventHandler(this.button4_Click); // // button3 // this.button3.Location = new System.Drawing.Point(6, 20); this.button3.Name = "button3"; this.button3.Size = new System.Drawing.Size(75, 23); this.button3.TabIndex = 0; this.button3.Text = "手动模式"; this.button3.UseVisualStyleBackColor = true; this.button3.Click += new System.EventHandler(this.button3_Click); // // groupBox_JB1 // this.groupBox_JB1.BackColor = System.Drawing.SystemColors.InactiveCaption; this.groupBox_JB1.Controls.Add(this.groupBox11); this.groupBox_JB1.Controls.Add(this.groupBox12); this.groupBox_JB1.Location = new System.Drawing.Point(1403, 12); this.groupBox_JB1.Name = "groupBox_JB1"; this.groupBox_JB1.Size = new System.Drawing.Size(489, 463); this.groupBox_JB1.TabIndex = 236; this.groupBox_JB1.TabStop = false; this.groupBox_JB1.Text = "控制区"; // // groupBox11 // this.groupBox11.Controls.Add(this.btnDO2); this.groupBox11.Controls.Add(this.btnDO1); this.groupBox11.Controls.Add(this.txtDONum); this.groupBox11.Controls.Add(this.label61); this.groupBox11.Controls.Add(this.txtaddr); this.groupBox11.Controls.Add(this.label60); this.groupBox11.Controls.Add(this.btnopen); this.groupBox11.Controls.Add(this.lblIP); this.groupBox11.Controls.Add(this.lblPort); this.groupBox11.Controls.Add(this.tbIP); this.groupBox11.Controls.Add(this.tbPort); this.groupBox11.Controls.Add(this.btnStart); this.groupBox11.Controls.Add(this.btnClose); this.groupBox11.Controls.Add(this.btnDisconnect); this.groupBox11.Location = new System.Drawing.Point(15, 24); this.groupBox11.Name = "groupBox11"; this.groupBox11.Size = new System.Drawing.Size(458, 167); this.groupBox11.TabIndex = 54; this.groupBox11.TabStop = false; this.groupBox11.Text = "网口继电器控制"; // // btnDO2 // this.btnDO2.BackColor = System.Drawing.SystemColors.Control; this.btnDO2.ImageAlign = System.Drawing.ContentAlignment.MiddleRight; this.btnDO2.ImageIndex = 0; this.btnDO2.ImageList = this.imglistDO; this.btnDO2.Location = new System.Drawing.Point(100, 108); this.btnDO2.Name = "btnDO2"; this.btnDO2.Size = new System.Drawing.Size(80, 32); this.btnDO2.TabIndex = 63; this.btnDO2.Tag = "2"; this.btnDO2.Text = " DO2"; this.btnDO2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; this.btnDO2.UseVisualStyleBackColor = false; this.btnDO2.Click += new System.EventHandler(this.btnDO1_Click_1); // // imglistDO // this.imglistDO.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imglistDO.ImageStream"))); this.imglistDO.TransparentColor = System.Drawing.Color.Transparent; this.imglistDO.Images.SetKeyName(0, "comclosed.ico"); this.imglistDO.Images.SetKeyName(1, "comopened.ico"); this.imglistDO.Images.SetKeyName(2, "24_Help.ico"); // // btnDO1 // this.btnDO1.BackColor = System.Drawing.SystemColors.Control; this.btnDO1.ImageAlign = System.Drawing.ContentAlignment.MiddleRight; this.btnDO1.ImageIndex = 0; this.btnDO1.ImageList = this.imglistDO; this.btnDO1.Location = new System.Drawing.Point(9, 108); this.btnDO1.Name = "btnDO1"; this.btnDO1.Size = new System.Drawing.Size(80, 32); this.btnDO1.TabIndex = 62; this.btnDO1.Tag = "1"; this.btnDO1.Text = " DO1"; this.btnDO1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; this.btnDO1.UseVisualStyleBackColor = false; this.btnDO1.Click += new System.EventHandler(this.btnDO1_Click_1); // // txtDONum // this.txtDONum.Location = new System.Drawing.Point(195, 62); this.txtDONum.Name = "txtDONum"; this.txtDONum.Size = new System.Drawing.Size(66, 21); this.txtDONum.TabIndex = 61; this.txtDONum.Text = "8"; // // label61 // this.label61.AutoSize = true; this.label61.Location = new System.Drawing.Point(148, 66); this.label61.Name = "label61"; this.label61.Size = new System.Drawing.Size(41, 12); this.label61.TabIndex = 60; this.label61.Text = "DO数量"; // // txtaddr // this.txtaddr.Location = new System.Drawing.Point(65, 64); this.txtaddr.Name = "txtaddr"; this.txtaddr.Size = new System.Drawing.Size(66, 21); this.txtaddr.TabIndex = 59; this.txtaddr.Text = "254"; // // label60 // this.label60.AutoSize = true; this.label60.Location = new System.Drawing.Point(6, 68); this.label60.Name = "label60"; this.label60.Size = new System.Drawing.Size(53, 12); this.label60.TabIndex = 58; this.label60.Text = "设备地址"; // // btnopen // this.btnopen.Location = new System.Drawing.Point(296, 28); this.btnopen.Name = "btnopen"; this.btnopen.Size = new System.Drawing.Size(75, 23); this.btnopen.TabIndex = 37; this.btnopen.Text = "打开连接"; this.btnopen.UseVisualStyleBackColor = true; this.btnopen.Click += new System.EventHandler(this.btnopen_Click); // // lblIP // this.lblIP.Location = new System.Drawing.Point(6, 32); this.lblIP.Name = "lblIP"; this.lblIP.Size = new System.Drawing.Size(24, 23); this.lblIP.TabIndex = 3; this.lblIP.Text = "IP"; // // lblPort // this.lblPort.Location = new System.Drawing.Point(149, 30); this.lblPort.Name = "lblPort"; this.lblPort.Size = new System.Drawing.Size(31, 23); this.lblPort.TabIndex = 3; this.lblPort.Text = "Port"; // // tbIP // this.tbIP.Location = new System.Drawing.Point(37, 27); this.tbIP.Name = "tbIP"; this.tbIP.Size = new System.Drawing.Size(87, 21); this.tbIP.TabIndex = 2; this.tbIP.Text = "192.168.1.232"; // // tbPort // this.tbPort.Location = new System.Drawing.Point(194, 27); this.tbPort.Name = "tbPort"; this.tbPort.Size = new System.Drawing.Size(38, 21); this.tbPort.TabIndex = 2; this.tbPort.Text = "10000"; // // btnStart // this.btnStart.Location = new System.Drawing.Point(296, 57); this.btnStart.Name = "btnStart"; this.btnStart.Size = new System.Drawing.Size(75, 23); this.btnStart.TabIndex = 1; this.btnStart.Text = "启动服务器"; this.btnStart.UseVisualStyleBackColor = true; // // btnClose // this.btnClose.Location = new System.Drawing.Point(377, 27); this.btnClose.Name = "btnClose"; this.btnClose.Size = new System.Drawing.Size(75, 23); this.btnClose.TabIndex = 1; this.btnClose.Text = "关闭服务器"; this.btnClose.UseVisualStyleBackColor = true; // // btnDisconnect // this.btnDisconnect.Location = new System.Drawing.Point(377, 57); this.btnDisconnect.Name = "btnDisconnect"; this.btnDisconnect.Size = new System.Drawing.Size(76, 23); this.btnDisconnect.TabIndex = 4; this.btnDisconnect.Text = "关闭连接"; this.btnDisconnect.UseVisualStyleBackColor = true; // // groupBox12 // this.groupBox12.Controls.Add(this.button14); this.groupBox12.Controls.Add(this.button6); this.groupBox12.Controls.Add(this.button13); this.groupBox12.Controls.Add(this.button12); this.groupBox12.Controls.Add(this.button9); this.groupBox12.Controls.Add(this.label18); this.groupBox12.Controls.Add(this.button5); this.groupBox12.Controls.Add(this.comboBox2); this.groupBox12.Controls.Add(this.comboBox1); this.groupBox12.Controls.Add(this.button7); this.groupBox12.Controls.Add(this.button8); this.groupBox12.Controls.Add(this.label50); this.groupBox12.Controls.Add(this.btnSwitch); this.groupBox12.Controls.Add(this.label53); this.groupBox12.Controls.Add(this.cbSerial); this.groupBox12.Location = new System.Drawing.Point(15, 219); this.groupBox12.Name = "groupBox12"; this.groupBox12.Size = new System.Drawing.Size(458, 220); this.groupBox12.TabIndex = 42; this.groupBox12.TabStop = false; this.groupBox12.Text = "串口继电器控制"; // // button14 // this.button14.Location = new System.Drawing.Point(261, 178); this.button14.Name = "button14"; this.button14.Size = new System.Drawing.Size(75, 21); this.button14.TabIndex = 85; this.button14.Text = "请求数据3"; this.button14.UseVisualStyleBackColor = true; this.button14.Click += new System.EventHandler(this.button14_Click); // // button6 // this.button6.Location = new System.Drawing.Point(157, 128); this.button6.Name = "button6"; this.button6.Size = new System.Drawing.Size(75, 21); this.button6.TabIndex = 84; this.button6.Text = "打开第二路温湿度"; this.button6.UseVisualStyleBackColor = true; this.button6.Click += new System.EventHandler(this.button6_Click_1); // // button13 // this.button13.Location = new System.Drawing.Point(261, 128); this.button13.Name = "button13"; this.button13.Size = new System.Drawing.Size(75, 21); this.button13.TabIndex = 83; this.button13.Text = "请求数据2"; this.button13.UseVisualStyleBackColor = true; this.button13.Click += new System.EventHandler(this.button13_Click); // // button12 // this.button12.Location = new System.Drawing.Point(261, 94); this.button12.Name = "button12"; this.button12.Size = new System.Drawing.Size(75, 21); this.button12.TabIndex = 82; this.button12.Text = "请求数据1"; this.button12.UseVisualStyleBackColor = true; this.button12.Click += new System.EventHandler(this.button12_Click); // // button9 // this.button9.Location = new System.Drawing.Point(151, 178); this.button9.Name = "button9"; this.button9.Size = new System.Drawing.Size(86, 21); this.button9.TabIndex = 81; this.button9.Text = "打开电压电流"; this.button9.UseVisualStyleBackColor = true; this.button9.Click += new System.EventHandler(this.button9_Click); // // label18 // this.label18.AutoSize = true; this.label18.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.label18.Location = new System.Drawing.Point(34, 178); this.label18.Name = "label18"; this.label18.Size = new System.Drawing.Size(49, 14); this.label18.TabIndex = 79; this.label18.Text = "串口:"; // // button5 // this.button5.Location = new System.Drawing.Point(358, 51); this.button5.Name = "button5"; this.button5.Size = new System.Drawing.Size(75, 21); this.button5.TabIndex = 78; this.button5.Text = "关闭继电器"; this.button5.UseVisualStyleBackColor = true; this.button5.Click += new System.EventHandler(this.button5_Click); // // comboBox2 // this.comboBox2.FormattingEnabled = true; this.comboBox2.Location = new System.Drawing.Point(261, 51); this.comboBox2.Margin = new System.Windows.Forms.Padding(2); this.comboBox2.Name = "comboBox2"; this.comboBox2.Size = new System.Drawing.Size(92, 20); this.comboBox2.TabIndex = 77; // // comboBox1 // this.comboBox1.FormattingEnabled = true; this.comboBox1.Location = new System.Drawing.Point(261, 27); this.comboBox1.Margin = new System.Windows.Forms.Padding(2); this.comboBox1.Name = "comboBox1"; this.comboBox1.Size = new System.Drawing.Size(92, 20); this.comboBox1.TabIndex = 76; // // button7 // this.button7.Location = new System.Drawing.Point(157, 94); this.button7.Name = "button7"; this.button7.Size = new System.Drawing.Size(75, 21); this.button7.TabIndex = 75; this.button7.Text = "打开温湿度"; this.button7.UseVisualStyleBackColor = true; this.button7.Click += new System.EventHandler(this.button7_Click); // // button8 // this.button8.Location = new System.Drawing.Point(358, 27); this.button8.Name = "button8"; this.button8.Size = new System.Drawing.Size(75, 21); this.button8.TabIndex = 73; this.button8.Text = "打开继电器"; this.button8.UseVisualStyleBackColor = true; this.button8.Click += new System.EventHandler(this.button8_Click); // // label50 // this.label50.AutoSize = true; this.label50.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.label50.Location = new System.Drawing.Point(34, 94); this.label50.Name = "label50"; this.label50.Size = new System.Drawing.Size(49, 14); this.label50.TabIndex = 69; this.label50.Text = "串口:"; // // btnSwitch // this.btnSwitch.Location = new System.Drawing.Point(157, 24); this.btnSwitch.Name = "btnSwitch"; this.btnSwitch.Size = new System.Drawing.Size(75, 21); this.btnSwitch.TabIndex = 66; this.btnSwitch.Text = "打开继电器"; this.btnSwitch.UseVisualStyleBackColor = true; this.btnSwitch.Click += new System.EventHandler(this.btnSwitch_Click); // // label53 // this.label53.AutoSize = true; this.label53.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.label53.Location = new System.Drawing.Point(34, 26); this.label53.Name = "label53"; this.label53.Size = new System.Drawing.Size(49, 14); this.label53.TabIndex = 65; this.label53.Text = "串口:"; // // cbSerial // this.cbSerial.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cbSerial.FormattingEnabled = true; this.cbSerial.Location = new System.Drawing.Point(89, 24); this.cbSerial.Name = "cbSerial"; this.cbSerial.Size = new System.Drawing.Size(62, 20); this.cbSerial.TabIndex = 64; // // txtRecv // this.txtRecv.BackColor = System.Drawing.SystemColors.Window; this.txtRecv.Location = new System.Drawing.Point(1408, 780); this.txtRecv.Name = "txtRecv"; this.txtRecv.ReadOnly = true; this.txtRecv.ScrollBars = System.Windows.Forms.RichTextBoxScrollBars.Vertical; this.txtRecv.Size = new System.Drawing.Size(489, 245); this.txtRecv.TabIndex = 237; this.txtRecv.Text = ""; // // button10 // this.button10.Location = new System.Drawing.Point(737, 994); this.button10.Name = "button10"; this.button10.Size = new System.Drawing.Size(73, 28); this.button10.TabIndex = 248; this.button10.Text = "播放摄像1"; this.button10.UseVisualStyleBackColor = true; this.button10.Click += new System.EventHandler(this.button10_Click); // // panel3 // this.panel3.BackColor = System.Drawing.SystemColors.Desktop; this.panel3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.panel3.Location = new System.Drawing.Point(15, 516); this.panel3.Name = "panel3"; this.panel3.Size = new System.Drawing.Size(707, 506); this.panel3.TabIndex = 249; // // label10 // this.label10.AutoSize = true; this.label10.Location = new System.Drawing.Point(13, 498); this.label10.Name = "label10"; this.label10.Size = new System.Drawing.Size(65, 12); this.label10.TabIndex = 250; this.label10.Text = "水下摄像:"; // // button11 // this.button11.Location = new System.Drawing.Point(816, 994); this.button11.Name = "button11"; this.button11.Size = new System.Drawing.Size(73, 28); this.button11.TabIndex = 251; this.button11.Text = "播放摄像2"; this.button11.UseVisualStyleBackColor = true; this.button11.Click += new System.EventHandler(this.button11_Click); // // timer1 // this.timer1.Enabled = true; this.timer1.Interval = 60000; this.timer1.Tick += new System.EventHandler(this.timer1_Tick); // // timer2 // this.timer2.Enabled = true; this.timer2.Interval = 60000; this.timer2.Tick += new System.EventHandler(this.timer2_Tick); // // timer3 // this.timer3.Enabled = true; this.timer3.Interval = 60000; this.timer3.Tick += new System.EventHandler(this.timer3_Tick); // // timer4 // this.timer4.Interval = 60000; this.timer4.Tick += new System.EventHandler(this.timer4_Tick); // // timer5 // this.timer5.Interval = 60000; this.timer5.Tick += new System.EventHandler(this.timer5_Tick); // // timer6 // this.timer6.Enabled = true; this.timer6.Interval = 10000; this.timer6.Tick += new System.EventHandler(this.timer6_Tick); // // timer7 // this.timer7.Interval = 120000; this.timer7.Tick += new System.EventHandler(this.timer7_Tick); // // timer8 // this.timer8.Enabled = true; this.timer8.Interval = 1800000; this.timer8.Tick += new System.EventHandler(this.timer8_Tick); // // timer9 // this.timer9.Enabled = true; this.timer9.Interval = 600000; this.timer9.Tick += new System.EventHandler(this.timer9_Tick); // // timer10 // this.timer10.Interval = 300000; this.timer10.Tick += new System.EventHandler(this.timer10_Tick); // // textBox1 // this.textBox1.Location = new System.Drawing.Point(976, 855); this.textBox1.Multiline = true; this.textBox1.Name = "textBox1"; this.textBox1.Size = new System.Drawing.Size(100, 21); this.textBox1.TabIndex = 252; // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.BackColor = System.Drawing.Color.White; this.ClientSize = new System.Drawing.Size(1904, 1061); this.Controls.Add(this.textBox1); this.Controls.Add(this.button11); this.Controls.Add(this.label10); this.Controls.Add(this.panel3); this.Controls.Add(this.button10); this.Controls.Add(this.groupBox5); this.Controls.Add(this.txtRecv); this.Controls.Add(this.groupBox_JB1); this.Controls.Add(this.groupBox8); this.Controls.Add(this.groupBox4); this.Controls.Add(this.button2); this.Controls.Add(this.label43); this.Controls.Add(this.label42); this.Controls.Add(this.label41); this.Controls.Add(this._port); this.Controls.Add(this.ipAdress); this.Controls.Add(this.groupBox3); this.Controls.Add(this.groupBox2); this.Controls.Add(this.groupBox1); this.Controls.Add(this.button1); this.Name = "Form1"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "水下在线监测系统"; this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Form1_FormClosing); this.Load += new System.EventHandler(this.Form1_Load); this.groupBox1.ResumeLayout(false); this.groupBox1.PerformLayout(); this.groupBox2.ResumeLayout(false); this.groupBox2.PerformLayout(); this.groupBox3.ResumeLayout(false); this.groupBox3.PerformLayout(); this.groupBox4.ResumeLayout(false); this.groupBox5.ResumeLayout(false); this.groupBox8.ResumeLayout(false); this.groupBox_JB1.ResumeLayout(false); this.groupBox11.ResumeLayout(false); this.groupBox11.PerformLayout(); this.groupBox12.ResumeLayout(false); this.groupBox12.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); } #endregion private System.Windows.Forms.Button button1; private System.Windows.Forms.Label label1; private System.Windows.Forms.Label label2; private System.Windows.Forms.Label label3; private System.Windows.Forms.Label label6; private System.Windows.Forms.Label label7; private System.Windows.Forms.Label label13; private System.Windows.Forms.Label label17; private System.Windows.Forms.Label label26; private System.Windows.Forms.Label label27; private System.Windows.Forms.Label label28; private System.Windows.Forms.GroupBox groupBox1; public System.Windows.Forms.GroupBox groupBox2; private System.Windows.Forms.GroupBox groupBox3; private System.Windows.Forms.Label label39; private System.Windows.Forms.Label ipAdress; private System.Windows.Forms.Label _port; private System.Windows.Forms.Label label41; private System.Windows.Forms.Label label42; private System.Windows.Forms.Label label43; private System.Windows.Forms.Button button2; private System.Windows.Forms.Panel panel1; private System.Windows.Forms.Panel panel2; private System.Windows.Forms.GroupBox groupBox4; private System.Windows.Forms.GroupBox groupBox5; private System.Windows.Forms.GroupBox groupBox8; private System.Windows.Forms.Button button3; private System.Windows.Forms.Button button4; public System.Windows.Forms.Label label31; public System.Windows.Forms.Label label32; private System.Windows.Forms.GroupBox groupBox_JB1; private System.Windows.Forms.GroupBox groupBox11; private System.Windows.Forms.Button btnDO2; private System.Windows.Forms.Button btnDO1; public System.Windows.Forms.TextBox txtDONum; private System.Windows.Forms.Label label61; public System.Windows.Forms.TextBox txtaddr; private System.Windows.Forms.Label label60; private System.Windows.Forms.Button btnopen; private System.Windows.Forms.Label lblIP; private System.Windows.Forms.Label lblPort; private System.Windows.Forms.TextBox tbIP; private System.Windows.Forms.TextBox tbPort; private System.Windows.Forms.Button btnStart; private System.Windows.Forms.Button btnClose; private System.Windows.Forms.Button btnDisconnect; private System.Windows.Forms.GroupBox groupBox12; private System.Windows.Forms.Button button7; private System.Windows.Forms.Button button8; private System.Windows.Forms.Label label50; private System.Windows.Forms.Button btnSwitch; private System.Windows.Forms.Label label53; private System.Windows.Forms.ComboBox cbSerial; private System.Windows.Forms.RichTextBox txtRecv; private System.IO.Ports.SerialPort serialPort1; private System.IO.Ports.SerialPort serialPort2; private System.Windows.Forms.ComboBox comboBox1; private System.Windows.Forms.Button button5; private System.Windows.Forms.ComboBox comboBox2; private System.Windows.Forms.ImageList imglistDO; private System.Windows.Forms.Label label14; private System.Windows.Forms.Label label15; private System.Windows.Forms.Label label16; private System.Windows.Forms.Button button9; private System.Windows.Forms.Label label18; private System.Windows.Forms.Label label9; private System.Windows.Forms.Label label8; private System.Windows.Forms.Button button10; private System.Windows.Forms.Panel panel3; private System.Windows.Forms.Label label10; private System.Windows.Forms.Button button11; private System.Windows.Forms.Button button12; private System.Windows.Forms.Timer timer1; private System.Windows.Forms.Button button6; private System.Windows.Forms.Button button13; private System.Windows.Forms.Timer timer2; private System.Windows.Forms.Timer timer3; private System.Windows.Forms.Timer timer4; private System.Windows.Forms.Button button14; private System.Windows.Forms.Label label5; private System.Windows.Forms.Label label4; private System.Windows.Forms.Label label12; private System.Windows.Forms.Label label11; private System.Windows.Forms.Label label19; private System.Windows.Forms.Label label20; private System.Windows.Forms.Timer timer5; private System.Windows.Forms.Timer timer6; private System.Windows.Forms.Timer timer7; private System.Windows.Forms.Timer timer8; private System.Windows.Forms.Timer timer9; private System.Windows.Forms.Timer timer10; private System.Windows.Forms.TextBox textBox1; } }