_ Partial Class Form1 Inherits System.Windows.Forms.Form 'Form 重写 Dispose,以清理组件列表。 _ Protected Overrides Sub Dispose(ByVal disposing As Boolean) Try If disposing AndAlso components IsNot Nothing Then components.Dispose() End If Finally MyBase.Dispose(disposing) End Try End Sub 'Windows 窗体设计器所必需的 Private components As System.ComponentModel.IContainer '注意: 以下过程是 Windows 窗体设计器所必需的 '可以使用 Windows 窗体设计器修改它。 '不要使用代码编辑器修改它。 _ Private Sub InitializeComponent() Me.components = New System.ComponentModel.Container() Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(Form1)) Me.SplitContainer1 = New System.Windows.Forms.SplitContainer() Me.SplitContainer2 = New System.Windows.Forms.SplitContainer() Me.TextBox8 = New System.Windows.Forms.TextBox() Me.Label8 = New System.Windows.Forms.Label() Me.TextBox7 = New System.Windows.Forms.TextBox() Me.Label7 = New System.Windows.Forms.Label() Me.CheckBox1 = New System.Windows.Forms.CheckBox() Me.Btn_OpenPort = New System.Windows.Forms.Button() Me.Label1 = New System.Windows.Forms.Label() Me.Label2 = New System.Windows.Forms.Label() Me.Cbo_Baud = New System.Windows.Forms.ComboBox() Me.Cbo_Port = New System.Windows.Forms.ComboBox() Me.GroupBox8 = New System.Windows.Forms.GroupBox() Me.Button16 = New System.Windows.Forms.Button() Me.Label4 = New System.Windows.Forms.Label() Me.Label3 = New System.Windows.Forms.Label() Me.TextBox6 = New System.Windows.Forms.TextBox() Me.Button15 = New System.Windows.Forms.Button() Me.TextBox5 = New System.Windows.Forms.TextBox() Me.GroupBox6 = New System.Windows.Forms.GroupBox() Me.ComboBox2 = New System.Windows.Forms.ComboBox() Me.Button11 = New System.Windows.Forms.Button() Me.Button12 = New System.Windows.Forms.Button() Me.GroupBox7 = New System.Windows.Forms.GroupBox() Me.Button14 = New System.Windows.Forms.Button() Me.TextBox4 = New System.Windows.Forms.TextBox() Me.GroupBox5 = New System.Windows.Forms.GroupBox() Me.Button13 = New System.Windows.Forms.Button() Me.TextBox3 = New System.Windows.Forms.TextBox() Me.GroupBox4 = New System.Windows.Forms.GroupBox() Me.Button10 = New System.Windows.Forms.Button() Me.TextBox2 = New System.Windows.Forms.TextBox() Me.GroupBox3 = New System.Windows.Forms.GroupBox() Me.ComboBox3 = New System.Windows.Forms.ComboBox() Me.ComboBox1 = New System.Windows.Forms.ComboBox() Me.Label6 = New System.Windows.Forms.Label() Me.Label5 = New System.Windows.Forms.Label() Me.Button8 = New System.Windows.Forms.Button() Me.Button9 = New System.Windows.Forms.Button() Me.GroupBox2 = New System.Windows.Forms.GroupBox() Me.Button7 = New System.Windows.Forms.Button() Me.Button6 = New System.Windows.Forms.Button() Me.Button4 = New System.Windows.Forms.Button() Me.Button5 = New System.Windows.Forms.Button() Me.Button3 = New System.Windows.Forms.Button() Me.Button2 = New System.Windows.Forms.Button() Me.GroupBox1 = New System.Windows.Forms.GroupBox() Me.TextBox9 = New System.Windows.Forms.TextBox() Me.CheckBox2 = New System.Windows.Forms.CheckBox() Me.Button1 = New System.Windows.Forms.Button() Me.TextBox1 = New System.Windows.Forms.TextBox() Me.RichTextBox1 = New System.Windows.Forms.RichTextBox() Me.ToolStrip1 = New System.Windows.Forms.ToolStrip() Me.ToolStripButton1 = New System.Windows.Forms.ToolStripButton() Me.SerialPort1 = New System.IO.Ports.SerialPort(Me.components) Me.Timer1 = New System.Windows.Forms.Timer(Me.components) Me.Timer2 = New System.Windows.Forms.Timer(Me.components) CType(Me.SplitContainer1, System.ComponentModel.ISupportInitialize).BeginInit() Me.SplitContainer1.Panel1.SuspendLayout() Me.SplitContainer1.Panel2.SuspendLayout() Me.SplitContainer1.SuspendLayout() CType(Me.SplitContainer2, System.ComponentModel.ISupportInitialize).BeginInit() Me.SplitContainer2.Panel1.SuspendLayout() Me.SplitContainer2.Panel2.SuspendLayout() Me.SplitContainer2.SuspendLayout() Me.GroupBox8.SuspendLayout() Me.GroupBox6.SuspendLayout() Me.GroupBox7.SuspendLayout() Me.GroupBox5.SuspendLayout() Me.GroupBox4.SuspendLayout() Me.GroupBox3.SuspendLayout() Me.GroupBox2.SuspendLayout() Me.GroupBox1.SuspendLayout() Me.ToolStrip1.SuspendLayout() Me.SuspendLayout() ' 'SplitContainer1 ' Me.SplitContainer1.Dock = System.Windows.Forms.DockStyle.Fill Me.SplitContainer1.IsSplitterFixed = True Me.SplitContainer1.Location = New System.Drawing.Point(0, 0) Me.SplitContainer1.Name = "SplitContainer1" ' 'SplitContainer1.Panel1 ' Me.SplitContainer1.Panel1.Controls.Add(Me.SplitContainer2) ' 'SplitContainer1.Panel2 ' Me.SplitContainer1.Panel2.Controls.Add(Me.RichTextBox1) Me.SplitContainer1.Panel2.Controls.Add(Me.ToolStrip1) Me.SplitContainer1.Size = New System.Drawing.Size(1195, 788) Me.SplitContainer1.SplitterDistance = 573 Me.SplitContainer1.SplitterWidth = 1 Me.SplitContainer1.TabIndex = 0 ' 'SplitContainer2 ' Me.SplitContainer2.Dock = System.Windows.Forms.DockStyle.Fill Me.SplitContainer2.Location = New System.Drawing.Point(0, 0) Me.SplitContainer2.Name = "SplitContainer2" Me.SplitContainer2.Orientation = System.Windows.Forms.Orientation.Horizontal ' 'SplitContainer2.Panel1 ' Me.SplitContainer2.Panel1.Controls.Add(Me.TextBox8) Me.SplitContainer2.Panel1.Controls.Add(Me.Label8) Me.SplitContainer2.Panel1.Controls.Add(Me.TextBox7) Me.SplitContainer2.Panel1.Controls.Add(Me.Label7) Me.SplitContainer2.Panel1.Controls.Add(Me.CheckBox1) Me.SplitContainer2.Panel1.Controls.Add(Me.Btn_OpenPort) Me.SplitContainer2.Panel1.Controls.Add(Me.Label1) Me.SplitContainer2.Panel1.Controls.Add(Me.Label2) Me.SplitContainer2.Panel1.Controls.Add(Me.Cbo_Baud) Me.SplitContainer2.Panel1.Controls.Add(Me.Cbo_Port) ' 'SplitContainer2.Panel2 ' Me.SplitContainer2.Panel2.Controls.Add(Me.GroupBox8) Me.SplitContainer2.Panel2.Controls.Add(Me.GroupBox6) Me.SplitContainer2.Panel2.Controls.Add(Me.GroupBox7) Me.SplitContainer2.Panel2.Controls.Add(Me.GroupBox5) Me.SplitContainer2.Panel2.Controls.Add(Me.GroupBox4) Me.SplitContainer2.Panel2.Controls.Add(Me.GroupBox3) Me.SplitContainer2.Panel2.Controls.Add(Me.GroupBox2) Me.SplitContainer2.Panel2.Controls.Add(Me.GroupBox1) Me.SplitContainer2.Panel2.Font = New System.Drawing.Font("宋体", 15.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134, Byte)) Me.SplitContainer2.Size = New System.Drawing.Size(573, 788) Me.SplitContainer2.SplitterDistance = 104 Me.SplitContainer2.TabIndex = 2 ' 'TextBox8 ' Me.TextBox8.Font = New System.Drawing.Font("宋体", 14.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134, Byte)) Me.TextBox8.Location = New System.Drawing.Point(330, 67) Me.TextBox8.MaxLength = 128 Me.TextBox8.Name = "TextBox8" Me.TextBox8.Size = New System.Drawing.Size(236, 29) Me.TextBox8.TabIndex = 43 Me.TextBox8.Text = "6B 65 65 70" ' 'Label8 ' Me.Label8.AutoSize = True Me.Label8.Font = New System.Drawing.Font("宋体", 14.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134, Byte)) Me.Label8.Location = New System.Drawing.Point(213, 72) Me.Label8.Name = "Label8" Me.Label8.Size = New System.Drawing.Size(114, 19) Me.Label8.TabIndex = 42 Me.Label8.Text = "保活包内容:" ' 'TextBox7 ' Me.TextBox7.Font = New System.Drawing.Font("宋体", 14.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134, Byte)) Me.TextBox7.Location = New System.Drawing.Point(142, 67) Me.TextBox7.MaxLength = 128 Me.TextBox7.Name = "TextBox7" Me.TextBox7.Size = New System.Drawing.Size(68, 29) Me.TextBox7.TabIndex = 41 Me.TextBox7.Text = "30" ' 'Label7 ' Me.Label7.AutoSize = True Me.Label7.Font = New System.Drawing.Font("宋体", 14.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134, Byte)) Me.Label7.Location = New System.Drawing.Point(14, 72) Me.Label7.Name = "Label7" Me.Label7.Size = New System.Drawing.Size(125, 19) Me.Label7.TabIndex = 40 Me.Label7.Text = "时间间隔(S):" ' 'CheckBox1 ' Me.CheckBox1.AutoSize = True Me.CheckBox1.Font = New System.Drawing.Font("宋体", 14.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134, Byte)) Me.CheckBox1.Location = New System.Drawing.Point(17, 40) Me.CheckBox1.Name = "CheckBox1" Me.CheckBox1.Size = New System.Drawing.Size(199, 23) Me.CheckBox1.TabIndex = 39 Me.CheckBox1.Text = "是否定期发送保活包" Me.CheckBox1.UseVisualStyleBackColor = True ' 'Btn_OpenPort ' Me.Btn_OpenPort.Font = New System.Drawing.Font("宋体", 21.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) Me.Btn_OpenPort.ImeMode = System.Windows.Forms.ImeMode.NoControl Me.Btn_OpenPort.Location = New System.Drawing.Point(419, 5) Me.Btn_OpenPort.Margin = New System.Windows.Forms.Padding(4, 5, 4, 5) Me.Btn_OpenPort.Name = "Btn_OpenPort" Me.Btn_OpenPort.Size = New System.Drawing.Size(148, 54) Me.Btn_OpenPort.TabIndex = 38 Me.Btn_OpenPort.Text = "打开" Me.Btn_OpenPort.UseVisualStyleBackColor = True ' 'Label1 ' Me.Label1.Font = New System.Drawing.Font("Consolas", 12.0!) Me.Label1.ImeMode = System.Windows.Forms.ImeMode.NoControl Me.Label1.Location = New System.Drawing.Point(6, 1) Me.Label1.Margin = New System.Windows.Forms.Padding(4, 0, 4, 0) Me.Label1.Name = "Label1" Me.Label1.Size = New System.Drawing.Size(63, 30) Me.Label1.TabIndex = 6 Me.Label1.Text = "端口:" Me.Label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight ' 'Label2 ' Me.Label2.Font = New System.Drawing.Font("Consolas", 12.0!) Me.Label2.ImeMode = System.Windows.Forms.ImeMode.NoControl Me.Label2.Location = New System.Drawing.Point(205, 1) Me.Label2.Margin = New System.Windows.Forms.Padding(4, 0, 4, 0) Me.Label2.Name = "Label2" Me.Label2.Size = New System.Drawing.Size(78, 30) Me.Label2.TabIndex = 8 Me.Label2.Text = "波特率:" Me.Label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight ' 'Cbo_Baud ' Me.Cbo_Baud.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList Me.Cbo_Baud.Font = New System.Drawing.Font("Consolas", 9.75!) Me.Cbo_Baud.FormattingEnabled = True Me.Cbo_Baud.Items.AddRange(New Object() {"1200", "2400", "4800", "9600", "19200", "38400", "57600", "115200", "256000", "512000", "9216000", "1000000"}) Me.Cbo_Baud.Location = New System.Drawing.Point(288, 5) Me.Cbo_Baud.Margin = New System.Windows.Forms.Padding(4, 5, 4, 5) Me.Cbo_Baud.Name = "Cbo_Baud" Me.Cbo_Baud.Size = New System.Drawing.Size(126, 23) Me.Cbo_Baud.TabIndex = 9 ' 'Cbo_Port ' Me.Cbo_Port.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList Me.Cbo_Port.Font = New System.Drawing.Font("Consolas", 9.75!) Me.Cbo_Port.FormattingEnabled = True Me.Cbo_Port.Location = New System.Drawing.Point(74, 5) Me.Cbo_Port.Margin = New System.Windows.Forms.Padding(4, 5, 4, 5) Me.Cbo_Port.Name = "Cbo_Port" Me.Cbo_Port.Size = New System.Drawing.Size(126, 23) Me.Cbo_Port.TabIndex = 7 ' 'GroupBox8 ' Me.GroupBox8.Controls.Add(Me.Button16) Me.GroupBox8.Controls.Add(Me.Label4) Me.GroupBox8.Controls.Add(Me.Label3) Me.GroupBox8.Controls.Add(Me.TextBox6) Me.GroupBox8.Controls.Add(Me.Button15) Me.GroupBox8.Controls.Add(Me.TextBox5) Me.GroupBox8.Dock = System.Windows.Forms.DockStyle.Top Me.GroupBox8.Font = New System.Drawing.Font("宋体", 15.75!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(134, Byte)) Me.GroupBox8.Location = New System.Drawing.Point(0, 367) Me.GroupBox8.Name = "GroupBox8" Me.GroupBox8.Size = New System.Drawing.Size(573, 171) Me.GroupBox8.TabIndex = 10 Me.GroupBox8.TabStop = False Me.GroupBox8.Text = "TCP透传" ' 'Button16 ' Me.Button16.Font = New System.Drawing.Font("宋体", 15.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134, Byte)) Me.Button16.Location = New System.Drawing.Point(443, 59) Me.Button16.Name = "Button16" Me.Button16.Size = New System.Drawing.Size(131, 29) Me.Button16.TabIndex = 13 Me.Button16.Text = "查询网络状态" Me.Button16.UseVisualStyleBackColor = True ' 'Label4 ' Me.Label4.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle Me.Label4.Location = New System.Drawing.Point(3, 28) Me.Label4.Name = "Label4" Me.Label4.Size = New System.Drawing.Size(98, 140) Me.Label4.TabIndex = 12 Me.Label4.Text = "TCP连接状态" Me.Label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter ' 'Label3 ' Me.Label3.Font = New System.Drawing.Font("宋体", 15.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134, Byte)) Me.Label3.Location = New System.Drawing.Point(103, 60) Me.Label3.Name = "Label3" Me.Label3.Size = New System.Drawing.Size(114, 26) Me.Label3.TabIndex = 11 Me.Label3.Text = "下行接收:" Me.Label3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter ' 'TextBox6 ' Me.TextBox6.Font = New System.Drawing.Font("宋体", 14.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134, Byte)) Me.TextBox6.Location = New System.Drawing.Point(103, 89) Me.TextBox6.MaxLength = 256 Me.TextBox6.Multiline = True Me.TextBox6.Name = "TextBox6" Me.TextBox6.Size = New System.Drawing.Size(467, 82) Me.TextBox6.TabIndex = 4 ' 'Button15 ' Me.Button15.Font = New System.Drawing.Font("宋体", 15.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134, Byte)) Me.Button15.Location = New System.Drawing.Point(473, 28) Me.Button15.Name = "Button15" Me.Button15.Size = New System.Drawing.Size(101, 29) Me.Button15.TabIndex = 3 Me.Button15.Text = "上行发送" Me.Button15.UseVisualStyleBackColor = True ' 'TextBox5 ' Me.TextBox5.Font = New System.Drawing.Font("宋体", 14.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134, Byte)) Me.TextBox5.Location = New System.Drawing.Point(103, 28) Me.TextBox5.MaxLength = 256 Me.TextBox5.Name = "TextBox5" Me.TextBox5.Size = New System.Drawing.Size(364, 29) Me.TextBox5.TabIndex = 2 ' 'GroupBox6 ' Me.GroupBox6.Controls.Add(Me.ComboBox2) Me.GroupBox6.Controls.Add(Me.Button11) Me.GroupBox6.Controls.Add(Me.Button12) Me.GroupBox6.Dock = System.Windows.Forms.DockStyle.Bottom Me.GroupBox6.Font = New System.Drawing.Font("宋体", 15.75!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(134, Byte)) Me.GroupBox6.Location = New System.Drawing.Point(0, 568) Me.GroupBox6.Name = "GroupBox6" Me.GroupBox6.Size = New System.Drawing.Size(573, 54) Me.GroupBox6.TabIndex = 9 Me.GroupBox6.TabStop = False Me.GroupBox6.Text = "IPC请求回复" Me.GroupBox6.Visible = False ' 'ComboBox2 ' Me.ComboBox2.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList Me.ComboBox2.Font = New System.Drawing.Font("宋体", 14.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134, Byte)) Me.ComboBox2.FormattingEnabled = True Me.ComboBox2.Items.AddRange(New Object() {"B0", "B1", "B2"}) Me.ComboBox2.Location = New System.Drawing.Point(17, 25) Me.ComboBox2.Name = "ComboBox2" Me.ComboBox2.Size = New System.Drawing.Size(181, 27) Me.ComboBox2.TabIndex = 12 ' 'Button11 ' Me.Button11.Font = New System.Drawing.Font("宋体", 14.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134, Byte)) Me.Button11.Location = New System.Drawing.Point(383, 23) Me.Button11.Name = "Button11" Me.Button11.Size = New System.Drawing.Size(181, 29) Me.Button11.TabIndex = 11 Me.Button11.Tag = "0" Me.Button11.Text = "成功" Me.Button11.UseVisualStyleBackColor = True ' 'Button12 ' Me.Button12.Font = New System.Drawing.Font("宋体", 14.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134, Byte)) Me.Button12.Location = New System.Drawing.Point(200, 23) Me.Button12.Name = "Button12" Me.Button12.Size = New System.Drawing.Size(181, 29) Me.Button12.TabIndex = 10 Me.Button12.Tag = "1" Me.Button12.Text = "失败" Me.Button12.UseVisualStyleBackColor = True ' 'GroupBox7 ' Me.GroupBox7.Controls.Add(Me.Button14) Me.GroupBox7.Controls.Add(Me.TextBox4) Me.GroupBox7.Dock = System.Windows.Forms.DockStyle.Top Me.GroupBox7.Font = New System.Drawing.Font("宋体", 15.75!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(134, Byte)) Me.GroupBox7.Location = New System.Drawing.Point(0, 307) Me.GroupBox7.Name = "GroupBox7" Me.GroupBox7.Size = New System.Drawing.Size(573, 60) Me.GroupBox7.TabIndex = 8 Me.GroupBox7.TabStop = False Me.GroupBox7.Text = "TCP域名端口上报" ' 'Button14 ' Me.Button14.Font = New System.Drawing.Font("宋体", 14.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134, Byte)) Me.Button14.Location = New System.Drawing.Point(489, 26) Me.Button14.Name = "Button14" Me.Button14.Size = New System.Drawing.Size(75, 29) Me.Button14.TabIndex = 3 Me.Button14.Text = "发送" Me.Button14.UseVisualStyleBackColor = True ' 'TextBox4 ' Me.TextBox4.Font = New System.Drawing.Font("宋体", 14.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134, Byte)) Me.TextBox4.Location = New System.Drawing.Point(17, 26) Me.TextBox4.MaxLength = 256 Me.TextBox4.Name = "TextBox4" Me.TextBox4.Size = New System.Drawing.Size(464, 29) Me.TextBox4.TabIndex = 2 ' 'GroupBox5 ' Me.GroupBox5.Controls.Add(Me.Button13) Me.GroupBox5.Controls.Add(Me.TextBox3) Me.GroupBox5.Dock = System.Windows.Forms.DockStyle.Top Me.GroupBox5.Font = New System.Drawing.Font("宋体", 15.75!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(134, Byte)) Me.GroupBox5.Location = New System.Drawing.Point(0, 249) Me.GroupBox5.Name = "GroupBox5" Me.GroupBox5.Size = New System.Drawing.Size(573, 58) Me.GroupBox5.TabIndex = 6 Me.GroupBox5.TabStop = False Me.GroupBox5.Text = "查询 MCU 名称和 PID" ' 'Button13 ' Me.Button13.Font = New System.Drawing.Font("宋体", 14.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134, Byte)) Me.Button13.Location = New System.Drawing.Point(489, 26) Me.Button13.Name = "Button13" Me.Button13.Size = New System.Drawing.Size(75, 29) Me.Button13.TabIndex = 3 Me.Button13.Text = "发送" Me.Button13.UseVisualStyleBackColor = True ' 'TextBox3 ' Me.TextBox3.Font = New System.Drawing.Font("宋体", 14.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134, Byte)) Me.TextBox3.Location = New System.Drawing.Point(17, 26) Me.TextBox3.MaxLength = 256 Me.TextBox3.Name = "TextBox3" Me.TextBox3.Size = New System.Drawing.Size(464, 29) Me.TextBox3.TabIndex = 2 ' 'GroupBox4 ' Me.GroupBox4.Controls.Add(Me.Button10) Me.GroupBox4.Controls.Add(Me.TextBox2) Me.GroupBox4.Dock = System.Windows.Forms.DockStyle.Bottom Me.GroupBox4.Font = New System.Drawing.Font("宋体", 15.75!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(134, Byte)) Me.GroupBox4.Location = New System.Drawing.Point(0, 622) Me.GroupBox4.Name = "GroupBox4" Me.GroupBox4.Size = New System.Drawing.Size(573, 58) Me.GroupBox4.TabIndex = 3 Me.GroupBox4.TabStop = False Me.GroupBox4.Text = "查询MCU名称和PID" Me.GroupBox4.Visible = False ' 'Button10 ' Me.Button10.Font = New System.Drawing.Font("宋体", 14.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134, Byte)) Me.Button10.Location = New System.Drawing.Point(489, 26) Me.Button10.Name = "Button10" Me.Button10.Size = New System.Drawing.Size(75, 29) Me.Button10.TabIndex = 3 Me.Button10.Text = "发送" Me.Button10.UseVisualStyleBackColor = True ' 'TextBox2 ' Me.TextBox2.Font = New System.Drawing.Font("宋体", 14.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134, Byte)) Me.TextBox2.Location = New System.Drawing.Point(17, 26) Me.TextBox2.MaxLength = 256 Me.TextBox2.Name = "TextBox2" Me.TextBox2.Size = New System.Drawing.Size(464, 29) Me.TextBox2.TabIndex = 2 ' 'GroupBox3 ' Me.GroupBox3.Controls.Add(Me.ComboBox3) Me.GroupBox3.Controls.Add(Me.ComboBox1) Me.GroupBox3.Controls.Add(Me.Label6) Me.GroupBox3.Controls.Add(Me.Label5) Me.GroupBox3.Controls.Add(Me.Button8) Me.GroupBox3.Controls.Add(Me.Button9) Me.GroupBox3.Dock = System.Windows.Forms.DockStyle.Top Me.GroupBox3.Font = New System.Drawing.Font("宋体", 15.75!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(134, Byte)) Me.GroupBox3.Location = New System.Drawing.Point(0, 186) Me.GroupBox3.Name = "GroupBox3" Me.GroupBox3.Size = New System.Drawing.Size(573, 63) Me.GroupBox3.TabIndex = 2 Me.GroupBox3.TabStop = False Me.GroupBox3.Text = "播放语音" ' 'ComboBox3 ' Me.ComboBox3.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList Me.ComboBox3.Font = New System.Drawing.Font("宋体", 14.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134, Byte)) Me.ComboBox3.FormattingEnabled = True Me.ComboBox3.Location = New System.Drawing.Point(116, 26) Me.ComboBox3.Name = "ComboBox3" Me.ComboBox3.Size = New System.Drawing.Size(87, 27) Me.ComboBox3.TabIndex = 10 ' 'ComboBox1 ' Me.ComboBox1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList Me.ComboBox1.Font = New System.Drawing.Font("宋体", 14.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134, Byte)) Me.ComboBox1.FormattingEnabled = True Me.ComboBox1.Location = New System.Drawing.Point(313, 26) Me.ComboBox1.Name = "ComboBox1" Me.ComboBox1.Size = New System.Drawing.Size(87, 27) Me.ComboBox1.TabIndex = 0 ' 'Label6 ' Me.Label6.AutoSize = True Me.Label6.Location = New System.Drawing.Point(209, 29) Me.Label6.Name = "Label6" Me.Label6.Size = New System.Drawing.Size(110, 21) Me.Label6.TabIndex = 12 Me.Label6.Text = "音频序号:" ' 'Label5 ' Me.Label5.AutoSize = True Me.Label5.Location = New System.Drawing.Point(12, 29) Me.Label5.Name = "Label5" Me.Label5.Size = New System.Drawing.Size(110, 21) Me.Label5.TabIndex = 11 Me.Label5.Text = "播放次数:" ' 'Button8 ' Me.Button8.Font = New System.Drawing.Font("宋体", 14.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134, Byte)) Me.Button8.Location = New System.Drawing.Point(406, 25) Me.Button8.Name = "Button8" Me.Button8.Size = New System.Drawing.Size(104, 29) Me.Button8.TabIndex = 9 Me.Button8.Tag = "1" Me.Button8.Text = "播放语音" Me.Button8.UseVisualStyleBackColor = True ' 'Button9 ' Me.Button9.Font = New System.Drawing.Font("宋体", 14.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134, Byte)) Me.Button9.Location = New System.Drawing.Point(516, 25) Me.Button9.Name = "Button9" Me.Button9.Size = New System.Drawing.Size(51, 29) Me.Button9.TabIndex = 8 Me.Button9.Tag = "0" Me.Button9.Text = "停止播放" Me.Button9.UseVisualStyleBackColor = True Me.Button9.Visible = False ' 'GroupBox2 ' Me.GroupBox2.Controls.Add(Me.Button7) Me.GroupBox2.Controls.Add(Me.Button6) Me.GroupBox2.Controls.Add(Me.Button4) Me.GroupBox2.Controls.Add(Me.Button5) Me.GroupBox2.Controls.Add(Me.Button3) Me.GroupBox2.Controls.Add(Me.Button2) Me.GroupBox2.Dock = System.Windows.Forms.DockStyle.Top Me.GroupBox2.Font = New System.Drawing.Font("宋体", 15.75!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(134, Byte)) Me.GroupBox2.Location = New System.Drawing.Point(0, 90) Me.GroupBox2.Name = "GroupBox2" Me.GroupBox2.Size = New System.Drawing.Size(573, 96) Me.GroupBox2.TabIndex = 1 Me.GroupBox2.TabStop = False Me.GroupBox2.Text = "设置报警状态" ' 'Button7 ' Me.Button7.Font = New System.Drawing.Font("宋体", 14.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134, Byte)) Me.Button7.Location = New System.Drawing.Point(383, 62) Me.Button7.Name = "Button7" Me.Button7.Size = New System.Drawing.Size(181, 29) Me.Button7.TabIndex = 7 Me.Button7.Tag = "6" Me.Button7.Text = "动火离人事件结束" Me.Button7.UseVisualStyleBackColor = True ' 'Button6 ' Me.Button6.Font = New System.Drawing.Font("宋体", 14.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134, Byte)) Me.Button6.Location = New System.Drawing.Point(200, 62) Me.Button6.Name = "Button6" Me.Button6.Size = New System.Drawing.Size(181, 29) Me.Button6.TabIndex = 6 Me.Button6.Tag = "5" Me.Button6.Text = "动火离人事件产生" Me.Button6.UseVisualStyleBackColor = True ' 'Button4 ' Me.Button4.Font = New System.Drawing.Font("宋体", 14.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134, Byte)) Me.Button4.Location = New System.Drawing.Point(17, 62) Me.Button4.Name = "Button4" Me.Button4.Size = New System.Drawing.Size(181, 29) Me.Button4.TabIndex = 5 Me.Button4.Tag = "2" Me.Button4.Text = "燃气泄漏恢复正常" Me.Button4.UseVisualStyleBackColor = True ' 'Button5 ' Me.Button5.Font = New System.Drawing.Font("宋体", 14.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134, Byte)) Me.Button5.Location = New System.Drawing.Point(17, 27) Me.Button5.Name = "Button5" Me.Button5.Size = New System.Drawing.Size(181, 29) Me.Button5.TabIndex = 4 Me.Button5.Tag = "1" Me.Button5.Text = "燃气泄漏" Me.Button5.UseVisualStyleBackColor = True ' 'Button3 ' Me.Button3.Font = New System.Drawing.Font("宋体", 14.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134, Byte)) Me.Button3.Location = New System.Drawing.Point(383, 27) Me.Button3.Name = "Button3" Me.Button3.Size = New System.Drawing.Size(181, 29) Me.Button3.TabIndex = 3 Me.Button3.Tag = "4" Me.Button3.Text = "人员离开监控范围" Me.Button3.UseVisualStyleBackColor = True ' 'Button2 ' Me.Button2.Font = New System.Drawing.Font("宋体", 14.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134, Byte)) Me.Button2.Location = New System.Drawing.Point(200, 27) Me.Button2.Name = "Button2" Me.Button2.Size = New System.Drawing.Size(181, 29) Me.Button2.TabIndex = 2 Me.Button2.Tag = "3" Me.Button2.Text = "人员进入监控范围" Me.Button2.UseVisualStyleBackColor = True ' 'GroupBox1 ' Me.GroupBox1.Controls.Add(Me.TextBox9) Me.GroupBox1.Controls.Add(Me.CheckBox2) Me.GroupBox1.Controls.Add(Me.Button1) Me.GroupBox1.Controls.Add(Me.TextBox1) Me.GroupBox1.Dock = System.Windows.Forms.DockStyle.Top Me.GroupBox1.Font = New System.Drawing.Font("宋体", 15.75!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(134, Byte)) Me.GroupBox1.Location = New System.Drawing.Point(0, 0) Me.GroupBox1.Name = "GroupBox1" Me.GroupBox1.Size = New System.Drawing.Size(573, 90) Me.GroupBox1.TabIndex = 0 Me.GroupBox1.TabStop = False Me.GroupBox1.Text = "设置 OSD 内容" ' 'TextBox9 ' Me.TextBox9.Location = New System.Drawing.Point(234, 21) Me.TextBox9.Name = "TextBox9" Me.TextBox9.Size = New System.Drawing.Size(165, 31) Me.TextBox9.TabIndex = 3 Me.TextBox9.Text = "500" ' 'CheckBox2 ' Me.CheckBox2.AutoSize = True Me.CheckBox2.Location = New System.Drawing.Point(19, 24) Me.CheckBox2.Name = "CheckBox2" Me.CheckBox2.Size = New System.Drawing.Size(209, 25) Me.CheckBox2.TabIndex = 2 Me.CheckBox2.Text = "定时发送间隔(ms)" Me.CheckBox2.UseVisualStyleBackColor = True ' 'Button1 ' Me.Button1.Font = New System.Drawing.Font("宋体", 14.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134, Byte)) Me.Button1.Location = New System.Drawing.Point(489, 55) Me.Button1.Name = "Button1" Me.Button1.Size = New System.Drawing.Size(75, 29) Me.Button1.TabIndex = 1 Me.Button1.Text = "发送" Me.Button1.UseVisualStyleBackColor = True ' 'TextBox1 ' Me.TextBox1.Font = New System.Drawing.Font("宋体", 14.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134, Byte)) Me.TextBox1.Location = New System.Drawing.Point(17, 55) Me.TextBox1.MaxLength = 128 Me.TextBox1.Name = "TextBox1" Me.TextBox1.Size = New System.Drawing.Size(464, 29) Me.TextBox1.TabIndex = 0 ' 'RichTextBox1 ' Me.RichTextBox1.Dock = System.Windows.Forms.DockStyle.Fill Me.RichTextBox1.Location = New System.Drawing.Point(0, 25) Me.RichTextBox1.Name = "RichTextBox1" Me.RichTextBox1.Size = New System.Drawing.Size(621, 763) Me.RichTextBox1.TabIndex = 1 Me.RichTextBox1.Text = "" ' 'ToolStrip1 ' Me.ToolStrip1.Items.AddRange(New System.Windows.Forms.ToolStripItem() {Me.ToolStripButton1}) Me.ToolStrip1.Location = New System.Drawing.Point(0, 0) Me.ToolStrip1.Name = "ToolStrip1" Me.ToolStrip1.Size = New System.Drawing.Size(621, 25) Me.ToolStrip1.TabIndex = 0 Me.ToolStrip1.Text = "ToolStrip1" ' 'ToolStripButton1 ' Me.ToolStripButton1.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text Me.ToolStripButton1.Image = CType(resources.GetObject("ToolStripButton1.Image"), System.Drawing.Image) Me.ToolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta Me.ToolStripButton1.Name = "ToolStripButton1" Me.ToolStripButton1.Size = New System.Drawing.Size(60, 22) Me.ToolStripButton1.Text = "清空数据" ' 'SerialPort1 ' ' 'Timer1 ' Me.Timer1.Interval = 1000 ' 'Timer2 ' Me.Timer2.Interval = 1000 ' 'Form1 ' Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 12.0!) Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font Me.ClientSize = New System.Drawing.Size(1195, 788) Me.Controls.Add(Me.SplitContainer1) Me.Name = "Form1" Me.Text = "Form1" Me.SplitContainer1.Panel1.ResumeLayout(False) Me.SplitContainer1.Panel2.ResumeLayout(False) Me.SplitContainer1.Panel2.PerformLayout() CType(Me.SplitContainer1, System.ComponentModel.ISupportInitialize).EndInit() Me.SplitContainer1.ResumeLayout(False) Me.SplitContainer2.Panel1.ResumeLayout(False) Me.SplitContainer2.Panel1.PerformLayout() Me.SplitContainer2.Panel2.ResumeLayout(False) CType(Me.SplitContainer2, System.ComponentModel.ISupportInitialize).EndInit() Me.SplitContainer2.ResumeLayout(False) Me.GroupBox8.ResumeLayout(False) Me.GroupBox8.PerformLayout() Me.GroupBox6.ResumeLayout(False) Me.GroupBox7.ResumeLayout(False) Me.GroupBox7.PerformLayout() Me.GroupBox5.ResumeLayout(False) Me.GroupBox5.PerformLayout() Me.GroupBox4.ResumeLayout(False) Me.GroupBox4.PerformLayout() Me.GroupBox3.ResumeLayout(False) Me.GroupBox3.PerformLayout() Me.GroupBox2.ResumeLayout(False) Me.GroupBox1.ResumeLayout(False) Me.GroupBox1.PerformLayout() Me.ToolStrip1.ResumeLayout(False) Me.ToolStrip1.PerformLayout() Me.ResumeLayout(False) End Sub Friend WithEvents SplitContainer1 As SplitContainer Friend WithEvents SplitContainer2 As SplitContainer Friend WithEvents Btn_OpenPort As Button Friend WithEvents Label1 As Label Friend WithEvents Label2 As Label Friend WithEvents Cbo_Baud As ComboBox Friend WithEvents Cbo_Port As ComboBox Friend WithEvents RichTextBox1 As RichTextBox Friend WithEvents ToolStrip1 As ToolStrip Friend WithEvents SerialPort1 As IO.Ports.SerialPort Friend WithEvents GroupBox4 As GroupBox Friend WithEvents GroupBox3 As GroupBox Friend WithEvents GroupBox2 As GroupBox Friend WithEvents TextBox1 As TextBox Friend WithEvents GroupBox1 As GroupBox Friend WithEvents Button10 As Button Friend WithEvents TextBox2 As TextBox Friend WithEvents Button8 As Button Friend WithEvents Button9 As Button Friend WithEvents ComboBox1 As ComboBox Friend WithEvents Button7 As Button Friend WithEvents Button6 As Button Friend WithEvents Button4 As Button Friend WithEvents Button5 As Button Friend WithEvents Button3 As Button Friend WithEvents Button2 As Button Friend WithEvents Button1 As Button Friend WithEvents ToolStripButton1 As ToolStripButton Friend WithEvents GroupBox5 As GroupBox Friend WithEvents Button13 As Button Friend WithEvents TextBox3 As TextBox Friend WithEvents GroupBox7 As GroupBox Friend WithEvents Button14 As Button Friend WithEvents TextBox4 As TextBox Friend WithEvents GroupBox8 As GroupBox Friend WithEvents Button15 As Button Friend WithEvents TextBox5 As TextBox Friend WithEvents GroupBox6 As GroupBox Friend WithEvents ComboBox2 As ComboBox Friend WithEvents Button11 As Button Friend WithEvents Button12 As Button Friend WithEvents Label3 As Label Friend WithEvents TextBox6 As TextBox Friend WithEvents Label4 As Label Friend WithEvents ComboBox3 As ComboBox Friend WithEvents Label6 As Label Friend WithEvents Label5 As Label Friend WithEvents TextBox7 As TextBox Friend WithEvents Label7 As Label Friend WithEvents CheckBox1 As CheckBox Friend WithEvents TextBox8 As TextBox Friend WithEvents Label8 As Label Friend WithEvents Timer1 As Timer Friend WithEvents Button16 As Button Friend WithEvents TextBox9 As TextBox Friend WithEvents CheckBox2 As CheckBox Friend WithEvents Timer2 As Timer End Class