📄 frmmbtcp.frm
字号:
VERSION 5.00
Object = "{248DD890-BB45-11CF-9ABC-0080C7E7B78D}#1.0#0"; "MSWINSCK.OCX"
Begin VB.Form frmMBTCP
AutoRedraw = -1 'True
BackColor = &H00C0E0FF&
BorderStyle = 1 'Fixed Single
Caption = "Internet Embedded System"
ClientHeight = 7770
ClientLeft = 3075
ClientTop = 1650
ClientWidth = 10335
FillColor = &H00FF0000&
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 7770
ScaleWidth = 10335
StartUpPosition = 2 'CenterScreen
Begin VB.CommandButton cmdExit
BackColor = &H00FFC0C0&
Caption = "EXIT Program"
Height = 375
Left = 6960
Style = 1 'Graphical
TabIndex = 77
Top = 7260
Width = 3255
End
Begin VB.CommandButton cmdClear
BackColor = &H00FFC0C0&
Caption = "Clear Lists"
Height = 375
Left = 120
Style = 1 'Graphical
TabIndex = 76
Top = 7260
Width = 6495
End
Begin VB.CommandButton cmdSend
BackColor = &H00FFC0C0&
Caption = "Send Command"
Height = 315
Left = 8520
Style = 1 'Graphical
TabIndex = 75
Top = 5180
Width = 1695
End
Begin VB.Frame Frame4
BackColor = &H00C0E0FF&
Caption = "Statistic"
Height = 2475
Left = 3420
TabIndex = 46
Top = 2340
Width = 6795
Begin VB.Frame Frame8
BackColor = &H00C0E0FF&
Caption = "Polling or Timer mode (Date/Time)"
Height = 915
Left = 120
TabIndex = 70
Top = 1440
Width = 3435
Begin VB.TextBox txtStartTime
Alignment = 2 'Center
Height = 285
Left = 1080
TabIndex = 74
Text = "Start Time"
Top = 240
Width = 2235
End
Begin VB.TextBox txtStopTime
Alignment = 2 'Center
Height = 285
Left = 1080
TabIndex = 73
Text = "Stop Time"
Top = 600
Width = 2235
End
Begin VB.Label Label14
BackStyle = 0 'Transparent
Caption = "Stop time"
Height = 255
Left = 60
TabIndex = 72
Top = 540
Width = 735
End
Begin VB.Label Label13
BackStyle = 0 'Transparent
Caption = "Start time"
Height = 255
Left = 60
TabIndex = 71
Top = 240
Width = 735
End
End
Begin VB.Frame Frame7
BackColor = &H00C0E0FF&
Caption = "Polling Mode Timing (ms)"
Height = 915
Left = 3660
TabIndex = 63
Top = 1440
Width = 3015
Begin VB.TextBox txtTimeAverage
Alignment = 2 'Center
Height = 285
Left = 1740
TabIndex = 69
Text = "000"
Top = 540
Width = 1095
End
Begin VB.TextBox txtTimeMin
Alignment = 2 'Center
Height = 285
Left = 600
TabIndex = 68
Text = "000"
Top = 540
Width = 735
End
Begin VB.TextBox txtTimeMax
Alignment = 2 'Center
Height = 285
Left = 600
TabIndex = 67
Text = "000"
Top = 240
Width = 735
End
Begin VB.Label Label17
BackStyle = 0 'Transparent
Caption = "Average"
Height = 255
Left = 1920
TabIndex = 66
Top = 300
Width = 735
End
Begin VB.Label Label16
BackStyle = 0 'Transparent
Caption = "Max"
Height = 255
Left = 180
TabIndex = 65
Top = 240
Width = 375
End
Begin VB.Label Label15
BackStyle = 0 'Transparent
Caption = "Min"
Height = 255
Left = 180
TabIndex = 64
Top = 540
Width = 375
End
End
Begin VB.Frame Frame6
BackColor = &H00C0E0FF&
Caption = "Response"
Height = 1035
Left = 3720
TabIndex = 55
Top = 360
Width = 2955
Begin VB.TextBox txtReceiveByte
Alignment = 2 'Center
Height = 285
Left = 1920
TabIndex = 57
Text = "0"
Top = 300
Width = 975
End
Begin VB.TextBox txtReceivePacket
Alignment = 2 'Center
Height = 285
Left = 1920
TabIndex = 56
Text = "0"
Top = 600
Width = 975
End
Begin VB.Label Label8
BackStyle = 0 'Transparent
Caption = "Total Packet bytes"
Height = 285
Left = 60
TabIndex = 59
Top = 300
Width = 1485
End
Begin VB.Label Label21
BackColor = &H00C0E0FF&
BackStyle = 0 'Transparent
Caption = "Packet Quantity received"
Height = 255
Left = 60
TabIndex = 58
Top = 600
Width = 1875
End
End
Begin VB.Frame Frame5
BackColor = &H00C0E0FF&
Caption = "Command"
Height = 1035
Left = 120
TabIndex = 50
Top = 360
Width = 2655
Begin VB.TextBox txtSendByte
Alignment = 2 'Center
Height = 285
Left = 1620
TabIndex = 52
Text = "0"
Top = 300
Width = 975
End
Begin VB.TextBox txtSendPacket
Alignment = 2 'Center
Height = 285
Left = 1620
TabIndex = 51
Text = "0"
Top = 600
Width = 975
End
Begin VB.Label Label23
BackColor = &H00C0E0FF&
BackStyle = 0 'Transparent
Caption = "Packet Quantity sent"
Height = 255
Left = 60
TabIndex = 54
Top = 600
Width = 1515
End
Begin VB.Label Label2
BackStyle = 0 'Transparent
Caption = "Total Packet bytes"
Height = 285
Left = 60
TabIndex = 53
Top = 300
Width = 1485
End
End
Begin VB.TextBox txtDiffPacket
Alignment = 2 'Center
Height = 285
Left = 2820
TabIndex = 49
Text = "0"
Top = 1080
Width = 855
End
Begin VB.TextBox txtDiffPercent
Alignment = 2 'Center
Height = 285
Left = 2820
TabIndex = 48
Text = "0.00 %"
Top = 780
Width = 855
End
Begin VB.CommandButton cmdClearStatistic
BackColor = &H00FFC0C0&
Caption = "Clear Statistic"
Height = 315
Left = 5520
Style = 1 'Graphical
TabIndex = 47
Top = 0
Width = 1155
End
Begin VB.Label Label3
BackColor = &H00C0E0FF&
BackStyle = 0 'Transparent
Caption = "Quantity"
Height = 255
Left = 2820
TabIndex = 62
Top = 360
Width = 855
End
Begin VB.Label Label7
BackColor = &H00C0E0FF&
BackStyle = 0 'Transparent
Caption = "Packet"
Height = 255
Left = 2820
TabIndex = 61
Top = 180
Width = 855
End
Begin VB.Label Label24
BackColor = &H00C0E0FF&
BackStyle = 0 'Transparent
Caption = "Difference"
Height = 255
Left = 2820
TabIndex = 60
Top = 540
Width = 855
End
End
Begin VB.Frame Frame2
BackColor = &H00C0E0FF&
Caption = "Timer mode (fixed period)"
Height = 1335
Left = 120
TabIndex = 39
Top = 3480
Width = 3195
Begin VB.TextBox txtInterval
Alignment = 2 'Center
Height = 285
Left = 900
TabIndex = 43
Text = "100"
Top = 480
Width = 735
End
Begin VB.CommandButton cmdSetInterval
BackColor = &H00FFC0C0&
Caption = "Set"
Height = 300
Left = 2100
Style = 1 'Graphical
TabIndex = 42
Top = 480
Width = 975
End
Begin VB.CommandButton cmdStartTimer
BackColor = &H00FFC0C0&
Caption = "Start"
Enabled = 0 'False
Height = 350
Left = 180
Style = 1 'Graphical
TabIndex = 41
Top = 840
Width = 1335
End
Begin VB.CommandButton cmdStopTimer
BackColor = &H00FFC0C0&
Caption = "Stop"
Enabled = 0 'False
Height = 350
Left = 1740
Style = 1 'Graphical
TabIndex = 40
Top = 840
Width = 1335
End
Begin VB.Timer Timer1
Enabled = 0 'False
Interval = 100
Left = 2820
Top = 0
End
Begin VB.Label Label4
BackStyle = 0 'Transparent
Caption = "Interval"
BeginProperty Font
Name = "MS Sans Serif"
Size = 9.75
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Left = 180
TabIndex = 45
Top = 480
Width = 735
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -