Namespace SiWiComMSI Partial Class SiWiComDevTool_Main ''' ''' Required designer variable. ''' Private components As System.ComponentModel.IContainer = Nothing ''' ''' Clean up any resources being used. ''' ''' true if managed resources should be disposed; otherwise, false. Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean) If disposing AndAlso (components IsNot Nothing) Then components.Dispose() End If MyBase.Dispose(disposing) End Sub #Region "Windows Form Designer generated code" ''' ''' Required method for Designer support - do not modify ''' the contents of this method with the code editor. ''' Private Sub InitializeComponent() Me.components = New System.ComponentModel.Container() Dim resources As New System.ComponentModel.ComponentResourceManager(GetType(SiWiComDevTool_Main)) Me.rtfTerminal = New System.Windows.Forms.RichTextBox() Me.comport = New System.IO.Ports.SerialPort(Me.components) Me.lstComPort = New System.Windows.Forms.ListBox() Me.lblSelectPort = New System.Windows.Forms.Label() Me.imgConnect = New System.Windows.Forms.ImageList(Me.components) Me.imgClose = New System.Windows.Forms.ImageList(Me.components) Me.btnClose = New System.Windows.Forms.Button() Me.btnConnect = New System.Windows.Forms.Button() Me.btnIDLE = New System.Windows.Forms.Button() Me.btnMASTER = New System.Windows.Forms.Button() Me.btnSLAVE = New System.Windows.Forms.Button() Me.btnNOICEMAKER = New System.Windows.Forms.Button() Me.listLocalMasterAddr = New System.Windows.Forms.ListBox() Me.listLocalDeviceAddr = New System.Windows.Forms.ListBox() Me.listRemoteOldDeviceAddr = New System.Windows.Forms.ListBox() Me.listRemoteNewDeviceAddr = New System.Windows.Forms.ListBox() Me.listRemoteMasterAddr = New System.Windows.Forms.ListBox() Me.lblLocalDeviceAddr = New System.Windows.Forms.Label() Me.lblLocalMasterAddr = New System.Windows.Forms.Label() Me.lblRemoteOldDeviceAddr = New System.Windows.Forms.Label() Me.lblRemoteNewDeviceAddr = New System.Windows.Forms.Label() Me.lblRemoteMasterAddr = New System.Windows.Forms.Label() Me.txtLocalWakeUpTime = New System.Windows.Forms.TextBox() Me.txtRemoteWakeUpTime = New System.Windows.Forms.TextBox() Me.btnSendLocal = New System.Windows.Forms.Button() Me.btnSendRemote = New System.Windows.Forms.Button() Me.lblTemp = New System.Windows.Forms.Label() Me.lblBat = New System.Windows.Forms.Label() Me.lblRSSI = New System.Windows.Forms.Label() Me.lblAddr = New System.Windows.Forms.Label() Me.btnGetLocalData = New System.Windows.Forms.Button() Me.serialPort1 = New System.IO.Ports.SerialPort(Me.components) Me.SuspendLayout() ' ' rtfTerminal ' Me.rtfTerminal.BackColor = System.Drawing.Color.White Me.rtfTerminal.BorderStyle = System.Windows.Forms.BorderStyle.None Me.rtfTerminal.Font = New System.Drawing.Font("Courier New", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CByte((0))) Me.rtfTerminal.Location = New System.Drawing.Point(37, 163) Me.rtfTerminal.MaxLength = 100 Me.rtfTerminal.Name = "rtfTerminal" Me.rtfTerminal.Size = New System.Drawing.Size(368, 241) Me.rtfTerminal.TabIndex = 1 Me.rtfTerminal.Text = "" ' ' comport ' AddHandler Me.comport.DataReceived, AddressOf Me.comport_DataReceived ' ' lstComPort ' Me.lstComPort.BackColor = System.Drawing.Color.LightGray Me.lstComPort.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle Me.lstComPort.Cursor = System.Windows.Forms.Cursors.Hand Me.lstComPort.Font = New System.Drawing.Font("Verdana", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CByte((0))) Me.lstComPort.ForeColor = System.Drawing.Color.Black Me.lstComPort.FormattingEnabled = True Me.lstComPort.ItemHeight = 12 Me.lstComPort.Location = New System.Drawing.Point(670, 133) Me.lstComPort.Name = "lstComPort" Me.lstComPort.Size = New System.Drawing.Size(70, 14) Me.lstComPort.TabIndex = 62 Me.lstComPort.Visible = False AddHandler Me.lstComPort.SelectedIndexChanged, AddressOf Me.lstComPort_SelectedIndexChanged ' ' lblSelectPort ' Me.lblSelectPort.BackColor = System.Drawing.Color.LightGray Me.lblSelectPort.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle Me.lblSelectPort.Font = New System.Drawing.Font("Verdana", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CByte((0))) Me.lblSelectPort.Location = New System.Drawing.Point(670, 120) Me.lblSelectPort.Name = "lblSelectPort" Me.lblSelectPort.Size = New System.Drawing.Size(70, 14) Me.lblSelectPort.TabIndex = 63 Me.lblSelectPort.Text = "Select port:" Me.lblSelectPort.Visible = False ' ' imgConnect ' Me.imgConnect.ImageStream = DirectCast((resources.GetObject("imgConnect.ImageStream")), System.Windows.Forms.ImageListStreamer) Me.imgConnect.TransparentColor = System.Drawing.Color.Transparent Me.imgConnect.Images.SetKeyName(0, "btnConnect_U.jpg") Me.imgConnect.Images.SetKeyName(1, "btnConnect_D.jpg") ' ' imgClose ' Me.imgClose.ImageStream = DirectCast((resources.GetObject("imgClose.ImageStream")), System.Windows.Forms.ImageListStreamer) Me.imgClose.TransparentColor = System.Drawing.Color.Transparent Me.imgClose.Images.SetKeyName(0, "btnClose_U.jpg") Me.imgClose.Images.SetKeyName(1, "btnClose_D.jpg") ' ' btnClose ' Me.btnClose.BackColor = System.Drawing.Color.White Me.btnClose.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center Me.btnClose.Cursor = System.Windows.Forms.Cursors.Hand Me.btnClose.FlatAppearance.BorderSize = 0 Me.btnClose.FlatAppearance.MouseDownBackColor = System.Drawing.Color.White Me.btnClose.FlatAppearance.MouseOverBackColor = System.Drawing.Color.White Me.btnClose.FlatStyle = System.Windows.Forms.FlatStyle.Flat Me.btnClose.ImageIndex = 0 Me.btnClose.ImageList = Me.imgClose Me.btnClose.Location = New System.Drawing.Point(685, 119) Me.btnClose.Name = "btnClose" Me.btnClose.Size = New System.Drawing.Size(46, 15) Me.btnClose.TabIndex = 65 Me.btnClose.UseVisualStyleBackColor = False AddHandler Me.btnClose.MouseLeave, AddressOf Me.btnClose_MouseLeave AddHandler Me.btnClose.Click, AddressOf Me.btnClose_Click AddHandler Me.btnClose.MouseEnter, AddressOf Me.btnClose_MouseEnter ' ' btnConnect ' Me.btnConnect.Anchor = DirectCast(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right)), System.Windows.Forms.AnchorStyles) Me.btnConnect.BackColor = System.Drawing.Color.White Me.btnConnect.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center Me.btnConnect.Cursor = System.Windows.Forms.Cursors.Hand Me.btnConnect.FlatAppearance.BorderSize = 0 Me.btnConnect.FlatAppearance.MouseDownBackColor = System.Drawing.Color.White Me.btnConnect.FlatAppearance.MouseOverBackColor = System.Drawing.Color.White Me.btnConnect.FlatStyle = System.Windows.Forms.FlatStyle.Flat Me.btnConnect.ImageIndex = 0 Me.btnConnect.ImageList = Me.imgConnect Me.btnConnect.Location = New System.Drawing.Point(606, 119) Me.btnConnect.Name = "btnConnect" Me.btnConnect.Size = New System.Drawing.Size(59, 15) Me.btnConnect.TabIndex = 66 Me.btnConnect.UseVisualStyleBackColor = False AddHandler Me.btnConnect.Click, AddressOf Me.btnConnect_Click_1 ' ' btnIDLE ' Me.btnIDLE.Anchor = DirectCast(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right)), System.Windows.Forms.AnchorStyles) Me.btnIDLE.BackColor = System.Drawing.Color.Transparent Me.btnIDLE.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center Me.btnIDLE.Cursor = System.Windows.Forms.Cursors.Hand Me.btnIDLE.FlatAppearance.BorderSize = 0 Me.btnIDLE.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent Me.btnIDLE.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent Me.btnIDLE.FlatStyle = System.Windows.Forms.FlatStyle.Flat Me.btnIDLE.ImageIndex = 0 Me.btnIDLE.Location = New System.Drawing.Point(453, 142) Me.btnIDLE.Name = "btnIDLE" Me.btnIDLE.Size = New System.Drawing.Size(33, 12) Me.btnIDLE.TabIndex = 67 Me.btnIDLE.UseVisualStyleBackColor = False AddHandler Me.btnIDLE.Click, AddressOf Me.btnIDLE_Click ' ' btnMASTER ' Me.btnMASTER.Anchor = DirectCast(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right)), System.Windows.Forms.AnchorStyles) Me.btnMASTER.BackColor = System.Drawing.Color.Transparent Me.btnMASTER.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center Me.btnMASTER.Cursor = System.Windows.Forms.Cursors.Hand Me.btnMASTER.FlatAppearance.BorderSize = 0 Me.btnMASTER.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent Me.btnMASTER.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent Me.btnMASTER.FlatStyle = System.Windows.Forms.FlatStyle.Flat Me.btnMASTER.ImageIndex = 0 Me.btnMASTER.Location = New System.Drawing.Point(497, 142) Me.btnMASTER.Name = "btnMASTER" Me.btnMASTER.Size = New System.Drawing.Size(52, 12) Me.btnMASTER.TabIndex = 68 Me.btnMASTER.UseVisualStyleBackColor = False AddHandler Me.btnMASTER.Click, AddressOf Me.btnMASTER_Click ' ' btnSLAVE ' Me.btnSLAVE.Anchor = DirectCast(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right)), System.Windows.Forms.AnchorStyles) Me.btnSLAVE.BackColor = System.Drawing.Color.Transparent Me.btnSLAVE.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center Me.btnSLAVE.Cursor = System.Windows.Forms.Cursors.Hand Me.btnSLAVE.FlatAppearance.BorderSize = 0 Me.btnSLAVE.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent Me.btnSLAVE.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent Me.btnSLAVE.FlatStyle = System.Windows.Forms.FlatStyle.Flat Me.btnSLAVE.ImageIndex = 0 Me.btnSLAVE.Location = New System.Drawing.Point(561, 142) Me.btnSLAVE.Name = "btnSLAVE" Me.btnSLAVE.Size = New System.Drawing.Size(40, 12) Me.btnSLAVE.TabIndex = 69 Me.btnSLAVE.UseVisualStyleBackColor = False AddHandler Me.btnSLAVE.Click, AddressOf Me.btnSLAVE_Click ' ' btnNOICEMAKER ' Me.btnNOICEMAKER.Anchor = DirectCast(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right)), System.Windows.Forms.AnchorStyles) Me.btnNOICEMAKER.BackColor = System.Drawing.Color.Transparent Me.btnNOICEMAKER.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center Me.btnNOICEMAKER.Cursor = System.Windows.Forms.Cursors.Hand Me.btnNOICEMAKER.FlatAppearance.BorderSize = 0 Me.btnNOICEMAKER.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent Me.btnNOICEMAKER.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent Me.btnNOICEMAKER.FlatStyle = System.Windows.Forms.FlatStyle.Flat Me.btnNOICEMAKER.ImageIndex = 0 Me.btnNOICEMAKER.Location = New System.Drawing.Point(615, 142) Me.btnNOICEMAKER.Name = "btnNOICEMAKER" Me.btnNOICEMAKER.Size = New System.Drawing.Size(86, 12) Me.btnNOICEMAKER.TabIndex = 70 Me.btnNOICEMAKER.UseVisualStyleBackColor = False AddHandler Me.btnNOICEMAKER.Click, AddressOf Me.btnNOICEMAKER_Click ' ' listLocalMasterAddr ' Me.listLocalMasterAddr.BackColor = System.Drawing.Color.LightGray Me.listLocalMasterAddr.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle Me.listLocalMasterAddr.Cursor = System.Windows.Forms.Cursors.Hand Me.listLocalMasterAddr.Font = New System.Drawing.Font("Courier New", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CByte((0))) Me.listLocalMasterAddr.FormattingEnabled = True Me.listLocalMasterAddr.ItemHeight = 14 Me.listLocalMasterAddr.Items.AddRange(New Object() {"0", "1", "2", "3", "4", "5", _ "6", "7", "8", "9", "10", "11", _ "12", "13", "14", "15", "16"}) Me.listLocalMasterAddr.Location = New System.Drawing.Point(515, 210) Me.listLocalMasterAddr.Name = "listLocalMasterAddr" Me.listLocalMasterAddr.Size = New System.Drawing.Size(34, 156) Me.listLocalMasterAddr.TabIndex = 71 Me.listLocalMasterAddr.Visible = False AddHandler Me.listLocalMasterAddr.SelectedIndexChanged, AddressOf Me.listLocalMasterAddr_SelectedIndexChanged ' ' listLocalDeviceAddr ' Me.listLocalDeviceAddr.BackColor = System.Drawing.Color.LightGray Me.listLocalDeviceAddr.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle Me.listLocalDeviceAddr.Cursor = System.Windows.Forms.Cursors.Hand Me.listLocalDeviceAddr.Font = New System.Drawing.Font("Courier New", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CByte((0))) Me.listLocalDeviceAddr.FormattingEnabled = True Me.listLocalDeviceAddr.ItemHeight = 14 Me.listLocalDeviceAddr.Items.AddRange(New Object() {"0", "1", "2", "3", "4", "5", _ "6", "7", "8", "9", "10", "11", _ "12", "13", "14", "15", "16"}) Me.listLocalDeviceAddr.Location = New System.Drawing.Point(515, 194) Me.listLocalDeviceAddr.Name = "listLocalDeviceAddr" Me.listLocalDeviceAddr.Size = New System.Drawing.Size(34, 156) Me.listLocalDeviceAddr.TabIndex = 72 Me.listLocalDeviceAddr.Visible = False AddHandler Me.listLocalDeviceAddr.SelectedIndexChanged, AddressOf Me.listLocalDeviceAddr_SelectedIndexChanged ' ' listRemoteOldDeviceAddr ' Me.listRemoteOldDeviceAddr.BackColor = System.Drawing.Color.LightGray Me.listRemoteOldDeviceAddr.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle Me.listRemoteOldDeviceAddr.Cursor = System.Windows.Forms.Cursors.Hand Me.listRemoteOldDeviceAddr.Font = New System.Drawing.Font("Courier New", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CByte((0))) Me.listRemoteOldDeviceAddr.FormattingEnabled = True Me.listRemoteOldDeviceAddr.ItemHeight = 14 Me.listRemoteOldDeviceAddr.Items.AddRange(New Object() {"0", "1", "2", "3", "4", "5", _ "6", "7", "8", "9", "10", "11", _ "12", "13", "14", "15", "16"}) Me.listRemoteOldDeviceAddr.Location = New System.Drawing.Point(658, 194) Me.listRemoteOldDeviceAddr.Name = "listRemoteOldDeviceAddr" Me.listRemoteOldDeviceAddr.Size = New System.Drawing.Size(34, 156) Me.listRemoteOldDeviceAddr.TabIndex = 73 Me.listRemoteOldDeviceAddr.Visible = False AddHandler Me.listRemoteOldDeviceAddr.SelectedIndexChanged, AddressOf Me.listRemoteOldDeviceAddr_SelectedIndexChanged ' ' listRemoteNewDeviceAddr ' Me.listRemoteNewDeviceAddr.BackColor = System.Drawing.Color.LightGray Me.listRemoteNewDeviceAddr.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle Me.listRemoteNewDeviceAddr.Cursor = System.Windows.Forms.Cursors.Hand Me.listRemoteNewDeviceAddr.Font = New System.Drawing.Font("Courier New", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CByte((0))) Me.listRemoteNewDeviceAddr.FormattingEnabled = True Me.listRemoteNewDeviceAddr.ItemHeight = 14 Me.listRemoteNewDeviceAddr.Items.AddRange(New Object() {"0", "1", "2", "3", "4", "5", _ "6", "7", "8", "9", "10", "11", _ "12", "13", "14", "15", "16"}) Me.listRemoteNewDeviceAddr.Location = New System.Drawing.Point(658, 210) Me.listRemoteNewDeviceAddr.Name = "listRemoteNewDeviceAddr" Me.listRemoteNewDeviceAddr.Size = New System.Drawing.Size(34, 156) Me.listRemoteNewDeviceAddr.TabIndex = 74 Me.listRemoteNewDeviceAddr.Visible = False AddHandler Me.listRemoteNewDeviceAddr.SelectedIndexChanged, AddressOf Me.listRemoteNewDeviceAddr_SelectedIndexChanged ' ' listRemoteMasterAddr ' Me.listRemoteMasterAddr.BackColor = System.Drawing.Color.LightGray Me.listRemoteMasterAddr.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle Me.listRemoteMasterAddr.Cursor = System.Windows.Forms.Cursors.Hand Me.listRemoteMasterAddr.Font = New System.Drawing.Font("Courier New", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CByte((0))) Me.listRemoteMasterAddr.FormattingEnabled = True Me.listRemoteMasterAddr.ItemHeight = 14 Me.listRemoteMasterAddr.Items.AddRange(New Object() {"0", "1", "2", "3", "4", "5", _ "6", "7", "8", "9", "10", "11", _ "12", "13", "14", "15", "16"}) Me.listRemoteMasterAddr.Location = New System.Drawing.Point(658, 226) Me.listRemoteMasterAddr.Name = "listRemoteMasterAddr" Me.listRemoteMasterAddr.Size = New System.Drawing.Size(34, 156) Me.listRemoteMasterAddr.TabIndex = 75 Me.listRemoteMasterAddr.Visible = False AddHandler Me.listRemoteMasterAddr.SelectedIndexChanged, AddressOf Me.listRemoteMasterAddr_SelectedIndexChanged ' ' lblLocalDeviceAddr ' Me.lblLocalDeviceAddr.BackColor = System.Drawing.Color.LightGray Me.lblLocalDeviceAddr.Cursor = System.Windows.Forms.Cursors.Hand Me.lblLocalDeviceAddr.Font = New System.Drawing.Font("Courier New", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CByte((0))) Me.lblLocalDeviceAddr.Location = New System.Drawing.Point(515, 194) Me.lblLocalDeviceAddr.Name = "lblLocalDeviceAddr" Me.lblLocalDeviceAddr.Size = New System.Drawing.Size(34, 16) Me.lblLocalDeviceAddr.TabIndex = 76 Me.lblLocalDeviceAddr.Text = "0" Me.lblLocalDeviceAddr.TextAlign = System.Drawing.ContentAlignment.MiddleCenter AddHandler Me.lblLocalDeviceAddr.Click, AddressOf Me.lblLocalDeviceAddr_Click ' ' lblLocalMasterAddr ' Me.lblLocalMasterAddr.BackColor = System.Drawing.Color.LightGray Me.lblLocalMasterAddr.Cursor = System.Windows.Forms.Cursors.Hand Me.lblLocalMasterAddr.Font = New System.Drawing.Font("Courier New", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CByte((0))) Me.lblLocalMasterAddr.Location = New System.Drawing.Point(515, 210) Me.lblLocalMasterAddr.Name = "lblLocalMasterAddr" Me.lblLocalMasterAddr.Size = New System.Drawing.Size(34, 16) Me.lblLocalMasterAddr.TabIndex = 77 Me.lblLocalMasterAddr.Text = "0" Me.lblLocalMasterAddr.TextAlign = System.Drawing.ContentAlignment.MiddleCenter AddHandler Me.lblLocalMasterAddr.Click, AddressOf Me.lblLocalMasterAddr_Click ' ' lblRemoteOldDeviceAddr ' Me.lblRemoteOldDeviceAddr.BackColor = System.Drawing.Color.LightGray Me.lblRemoteOldDeviceAddr.Cursor = System.Windows.Forms.Cursors.Hand Me.lblRemoteOldDeviceAddr.Font = New System.Drawing.Font("Courier New", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CByte((0))) Me.lblRemoteOldDeviceAddr.Location = New System.Drawing.Point(658, 194) Me.lblRemoteOldDeviceAddr.Name = "lblRemoteOldDeviceAddr" Me.lblRemoteOldDeviceAddr.Size = New System.Drawing.Size(34, 16) Me.lblRemoteOldDeviceAddr.TabIndex = 78 Me.lblRemoteOldDeviceAddr.Text = "0" Me.lblRemoteOldDeviceAddr.TextAlign = System.Drawing.ContentAlignment.MiddleCenter AddHandler Me.lblRemoteOldDeviceAddr.Click, AddressOf Me.lblRemoteOldDeviceAddr_Click ' ' lblRemoteNewDeviceAddr ' Me.lblRemoteNewDeviceAddr.BackColor = System.Drawing.Color.LightGray Me.lblRemoteNewDeviceAddr.Cursor = System.Windows.Forms.Cursors.Hand Me.lblRemoteNewDeviceAddr.Font = New System.Drawing.Font("Courier New", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CByte((0))) Me.lblRemoteNewDeviceAddr.Location = New System.Drawing.Point(658, 210) Me.lblRemoteNewDeviceAddr.Name = "lblRemoteNewDeviceAddr" Me.lblRemoteNewDeviceAddr.Size = New System.Drawing.Size(34, 16) Me.lblRemoteNewDeviceAddr.TabIndex = 79 Me.lblRemoteNewDeviceAddr.Text = "0" Me.lblRemoteNewDeviceAddr.TextAlign = System.Drawing.ContentAlignment.MiddleCenter AddHandler Me.lblRemoteNewDeviceAddr.Click, AddressOf Me.lblRemoteNewDeviceAddr_Click ' ' lblRemoteMasterAddr ' Me.lblRemoteMasterAddr.BackColor = System.Drawing.Color.LightGray Me.lblRemoteMasterAddr.Cursor = System.Windows.Forms.Cursors.Hand Me.lblRemoteMasterAddr.Font = New System.Drawing.Font("Courier New", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CByte((0))) Me.lblRemoteMasterAddr.Location = New System.Drawing.Point(658, 226) Me.lblRemoteMasterAddr.Name = "lblRemoteMasterAddr" Me.lblRemoteMasterAddr.Size = New System.Drawing.Size(34, 16) Me.lblRemoteMasterAddr.TabIndex = 80 Me.lblRemoteMasterAddr.Text = "0" Me.lblRemoteMasterAddr.TextAlign = System.Drawing.ContentAlignment.MiddleCenter AddHandler Me.lblRemoteMasterAddr.Click, AddressOf Me.lblRemoteMasterAddr_Click ' ' txtLocalWakeUpTime ' Me.txtLocalWakeUpTime.BackColor = System.Drawing.Color.LightGray Me.txtLocalWakeUpTime.BorderStyle = System.Windows.Forms.BorderStyle.None Me.txtLocalWakeUpTime.Font = New System.Drawing.Font("Courier New", 8.25F, System.Drawing.FontStyle.Bold) Me.txtLocalWakeUpTime.Location = New System.Drawing.Point(515, 226) Me.txtLocalWakeUpTime.MaxLength = 3 Me.txtLocalWakeUpTime.Name = "txtLocalWakeUpTime" Me.txtLocalWakeUpTime.Size = New System.Drawing.Size(34, 13) Me.txtLocalWakeUpTime.TabIndex = 81 Me.txtLocalWakeUpTime.Text = "0" Me.txtLocalWakeUpTime.TextAlign = System.Windows.Forms.HorizontalAlignment.Center ' ' txtRemoteWakeUpTime ' Me.txtRemoteWakeUpTime.BackColor = System.Drawing.Color.LightGray Me.txtRemoteWakeUpTime.BorderStyle = System.Windows.Forms.BorderStyle.None Me.txtRemoteWakeUpTime.Font = New System.Drawing.Font("Courier New", 8.25F, System.Drawing.FontStyle.Bold) Me.txtRemoteWakeUpTime.Location = New System.Drawing.Point(658, 242) Me.txtRemoteWakeUpTime.MaxLength = 3 Me.txtRemoteWakeUpTime.Name = "txtRemoteWakeUpTime" Me.txtRemoteWakeUpTime.Size = New System.Drawing.Size(34, 13) Me.txtRemoteWakeUpTime.TabIndex = 82 Me.txtRemoteWakeUpTime.Text = "0" Me.txtRemoteWakeUpTime.TextAlign = System.Windows.Forms.HorizontalAlignment.Center ' ' btnSendLocal ' Me.btnSendLocal.Anchor = DirectCast(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right)), System.Windows.Forms.AnchorStyles) Me.btnSendLocal.BackColor = System.Drawing.Color.Transparent Me.btnSendLocal.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center Me.btnSendLocal.Cursor = System.Windows.Forms.Cursors.Hand Me.btnSendLocal.FlatAppearance.BorderSize = 0 Me.btnSendLocal.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent Me.btnSendLocal.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent Me.btnSendLocal.FlatStyle = System.Windows.Forms.FlatStyle.Flat Me.btnSendLocal.ImageIndex = 0 Me.btnSendLocal.Location = New System.Drawing.Point(490, 282) Me.btnSendLocal.Name = "btnSendLocal" Me.btnSendLocal.Size = New System.Drawing.Size(33, 12) Me.btnSendLocal.TabIndex = 83 Me.btnSendLocal.UseVisualStyleBackColor = False AddHandler Me.btnSendLocal.Click, AddressOf Me.btnSendLocal_Click ' ' btnSendRemote ' Me.btnSendRemote.Anchor = DirectCast(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right)), System.Windows.Forms.AnchorStyles) Me.btnSendRemote.BackColor = System.Drawing.Color.Transparent Me.btnSendRemote.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center Me.btnSendRemote.Cursor = System.Windows.Forms.Cursors.Hand Me.btnSendRemote.FlatAppearance.BorderSize = 0 Me.btnSendRemote.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent Me.btnSendRemote.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent Me.btnSendRemote.FlatStyle = System.Windows.Forms.FlatStyle.Flat Me.btnSendRemote.ImageIndex = 0 Me.btnSendRemote.Location = New System.Drawing.Point(598, 282) Me.btnSendRemote.Name = "btnSendRemote" Me.btnSendRemote.Size = New System.Drawing.Size(33, 12) Me.btnSendRemote.TabIndex = 84 Me.btnSendRemote.UseVisualStyleBackColor = False AddHandler Me.btnSendRemote.Click, AddressOf Me.btnSendRemote_Click ' ' lblTemp ' Me.lblTemp.AutoSize = True Me.lblTemp.BackColor = System.Drawing.Color.Transparent Me.lblTemp.Font = New System.Drawing.Font("Verdana", 21.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CByte((0))) Me.lblTemp.Location = New System.Drawing.Point(254, 52) Me.lblTemp.Name = "lblTemp" Me.lblTemp.Size = New System.Drawing.Size(95, 35) Me.lblTemp.TabIndex = 85 Me.lblTemp.Text = "--,- C" ' ' lblBat ' Me.lblBat.AutoSize = True Me.lblBat.BackColor = System.Drawing.Color.Transparent Me.lblBat.Font = New System.Drawing.Font("Verdana", 21.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CByte((0))) Me.lblBat.Location = New System.Drawing.Point(383, 52) Me.lblBat.Name = "lblBat" Me.lblBat.Size = New System.Drawing.Size(92, 35) Me.lblBat.TabIndex = 86 Me.lblBat.Text = "-,- V " ' ' lblRSSI ' Me.lblRSSI.AutoSize = True Me.lblRSSI.BackColor = System.Drawing.Color.Transparent Me.lblRSSI.Font = New System.Drawing.Font("Verdana", 21.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CByte((0))) Me.lblRSSI.Location = New System.Drawing.Point(492, 52) Me.lblRSSI.Name = "lblRSSI" Me.lblRSSI.Size = New System.Drawing.Size(126, 35) Me.lblRSSI.TabIndex = 87 Me.lblRSSI.Text = "---,- dB" ' ' lblAddr ' Me.lblAddr.AutoSize = True Me.lblAddr.BackColor = System.Drawing.Color.Transparent Me.lblAddr.Font = New System.Drawing.Font("Verdana", 21.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CByte((0))) Me.lblAddr.Location = New System.Drawing.Point(647, 52) Me.lblAddr.Name = "lblAddr" Me.lblAddr.Size = New System.Drawing.Size(41, 35) Me.lblAddr.TabIndex = 88 Me.lblAddr.Text = "--" ' ' btnGetLocalData ' Me.btnGetLocalData.Anchor = DirectCast(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right)), System.Windows.Forms.AnchorStyles) Me.btnGetLocalData.BackColor = System.Drawing.Color.Transparent Me.btnGetLocalData.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center Me.btnGetLocalData.Cursor = System.Windows.Forms.Cursors.Hand Me.btnGetLocalData.FlatAppearance.BorderSize = 0 Me.btnGetLocalData.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent Me.btnGetLocalData.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent Me.btnGetLocalData.FlatStyle = System.Windows.Forms.FlatStyle.Flat Me.btnGetLocalData.ImageIndex = 0 Me.btnGetLocalData.Location = New System.Drawing.Point(453, 281) Me.btnGetLocalData.Name = "btnGetLocalData" Me.btnGetLocalData.Size = New System.Drawing.Size(26, 12) Me.btnGetLocalData.TabIndex = 89 Me.btnGetLocalData.UseVisualStyleBackColor = False AddHandler Me.btnGetLocalData.Click, AddressOf Me.btnGetLocalData_Click ' ' SiWiComDevTool_Main ' Me.AutoScaleDimensions = New System.Drawing.SizeF(6F, 13F) Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font Me.BackgroundImage = DirectCast((resources.GetObject("$this.BackgroundImage")), System.Drawing.Image) Me.ClientSize = New System.Drawing.Size(743, 430) Me.ControlBox = False Me.Controls.Add(Me.btnGetLocalData) Me.Controls.Add(Me.lblAddr) Me.Controls.Add(Me.lblRSSI) Me.Controls.Add(Me.lblBat) Me.Controls.Add(Me.lblTemp) Me.Controls.Add(Me.listRemoteMasterAddr) Me.Controls.Add(Me.listLocalMasterAddr) Me.Controls.Add(Me.listLocalDeviceAddr) Me.Controls.Add(Me.txtLocalWakeUpTime) Me.Controls.Add(Me.btnSLAVE) Me.Controls.Add(Me.btnMASTER) Me.Controls.Add(Me.btnIDLE) Me.Controls.Add(Me.btnConnect) Me.Controls.Add(Me.lstComPort) Me.Controls.Add(Me.lblSelectPort) Me.Controls.Add(Me.rtfTerminal) Me.Controls.Add(Me.btnClose) Me.Controls.Add(Me.lblLocalDeviceAddr) Me.Controls.Add(Me.lblLocalMasterAddr) Me.Controls.Add(Me.listRemoteOldDeviceAddr) Me.Controls.Add(Me.listRemoteNewDeviceAddr) Me.Controls.Add(Me.lblRemoteNewDeviceAddr) Me.Controls.Add(Me.lblRemoteOldDeviceAddr) Me.Controls.Add(Me.btnSendRemote) Me.Controls.Add(Me.btnSendLocal) Me.Controls.Add(Me.lblRemoteMasterAddr) Me.Controls.Add(Me.txtRemoteWakeUpTime) Me.Controls.Add(Me.btnNOICEMAKER) Me.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None Me.Name = "SiWiComDevTool_Main" Me.Text = "[SiWiCom devTool]" AddHandler Me.FormClosing, AddressOf Me.SiWiComMSI_Main_FormClosing AddHandler Me.Load, AddressOf Me.Form1_Load Me.ResumeLayout(False) Me.PerformLayout() End Sub Private serialPort1 As System.IO.Ports.SerialPort #End Region Private rtfTerminal As System.Windows.Forms.RichTextBox Private comport As System.IO.Ports.SerialPort Friend lstComPort As System.Windows.Forms.ListBox Friend lblSelectPort As System.Windows.Forms.Label Friend imgConnect As System.Windows.Forms.ImageList Friend imgClose As System.Windows.Forms.ImageList Friend btnClose As System.Windows.Forms.Button Friend btnConnect As System.Windows.Forms.Button Friend btnIDLE As System.Windows.Forms.Button Friend btnMASTER As System.Windows.Forms.Button Friend btnSLAVE As System.Windows.Forms.Button Friend btnNOICEMAKER As System.Windows.Forms.Button Friend listLocalMasterAddr As System.Windows.Forms.ListBox Friend listLocalDeviceAddr As System.Windows.Forms.ListBox Friend listRemoteOldDeviceAddr As System.Windows.Forms.ListBox Friend listRemoteNewDeviceAddr As System.Windows.Forms.ListBox Friend listRemoteMasterAddr As System.Windows.Forms.ListBox Friend lblLocalDeviceAddr As System.Windows.Forms.Label Friend lblLocalMasterAddr As System.Windows.Forms.Label Friend lblRemoteOldDeviceAddr As System.Windows.Forms.Label Friend lblRemoteNewDeviceAddr As System.Windows.Forms.Label Friend lblRemoteMasterAddr As System.Windows.Forms.Label Private txtLocalWakeUpTime As System.Windows.Forms.TextBox Private txtRemoteWakeUpTime As System.Windows.Forms.TextBox Friend btnSendLocal As System.Windows.Forms.Button Friend btnSendRemote As System.Windows.Forms.Button Private lblTemp As System.Windows.Forms.Label Private lblBat As System.Windows.Forms.Label Private lblRSSI As System.Windows.Forms.Label Private lblAddr As System.Windows.Forms.Label Friend btnGetLocalData As System.Windows.Forms.Button End Class End Namespace