📄 frmmbrtu.frm
字号:
VERSION 5.00
Object = "{648A5603-2C6E-101B-82B6-000000000014}#1.1#0"; "mscomm32.ocx"
Begin VB.Form frmMBRTU
BackColor = &H00C0E0FF&
BorderStyle = 1 'Fixed Single
ClientHeight = 7770
ClientLeft = 45
ClientTop = 330
ClientWidth = 9330
Icon = "frmMBRTU.frx":0000
LinkTopic = "Form1"
MaxButton = 0 'False
ScaleHeight = 7770
ScaleWidth = 9330
StartUpPosition = 2 'CenterScreen
Begin VB.CheckBox chkWithCRC
BackColor = &H00C0E0FF&
Caption = "With CRC"
Height = 300
Left = 2205
TabIndex = 62
Top = 5399
Value = 1 'Checked
Width = 1590
End
Begin VB.Frame fmeExplanation
BackColor = &H00C0E0FF&
Caption = "Protocol Description"
BeginProperty Font
Name = "MS Sans Serif"
Size = 9.75
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 2055
Left = 2460
TabIndex = 26
Top = 120
Width = 6795
Begin VB.ComboBox cboFunction
BackColor = &H00FFFFC0&
Height = 315
Left = 120
TabIndex = 28
Text = "Modbus Function"
Top = 270
Width = 6555
End
Begin VB.TextBox txtExplanation
BackColor = &H00FFFFC0&
BeginProperty Font
Name = "Arial"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 1380
Left = 120
MultiLine = -1 'True
ScrollBars = 2 'Vertical
TabIndex = 27
Top = 600
Width = 6555
End
End
Begin VB.Frame Frame5
BackColor = &H00C0E0FF&
Caption = "Statistics"
Height = 2535
Left = 2460
TabIndex = 22
Top = 2280
Width = 6795
Begin VB.Frame Frame8
BackColor = &H00C0E0FF&
Caption = "Polling or Timer mode (Date/Time)"
Height = 915
Left = 120
TabIndex = 57
Top = 1560
Width = 3435
Begin VB.TextBox txtTimeStop
Alignment = 2 'Center
Height = 285
Left = 780
TabIndex = 59
Text = "Time Stop"
Top = 540
Width = 2535
End
Begin VB.TextBox txtTimeStart
Alignment = 2 'Center
Height = 285
Left = 780
TabIndex = 58
Text = "Time Start"
Top = 240
Width = 2535
End
Begin VB.Label Label13
BackStyle = 0 'Transparent
Caption = "Start time"
Height = 255
Left = 60
TabIndex = 61
Top = 240
Width = 735
End
Begin VB.Label Label14
BackStyle = 0 'Transparent
Caption = "Stop time"
Height = 255
Left = 60
TabIndex = 60
Top = 540
Width = 735
End
End
Begin VB.Frame Frame7
BackColor = &H00C0E0FF&
Caption = "Polling Mode Timing (ms)"
Height = 915
Left = 3960
TabIndex = 50
Top = 1560
Width = 2715
Begin VB.TextBox txtTimeMax
Alignment = 2 'Center
Height = 285
Left = 540
TabIndex = 53
Text = "000"
Top = 240
Width = 675
End
Begin VB.TextBox txtTimeMin
Alignment = 2 'Center
Height = 285
Left = 540
TabIndex = 52
Text = "100"
Top = 540
Width = 675
End
Begin VB.TextBox txtTimeAverage
Alignment = 2 'Center
Height = 285
Left = 1620
TabIndex = 51
Text = "000"
Top = 540
Width = 975
End
Begin VB.Label Label15
BackStyle = 0 'Transparent
Caption = "Min"
Height = 255
Left = 180
TabIndex = 56
Top = 540
Width = 375
End
Begin VB.Label Label16
BackStyle = 0 'Transparent
Caption = "Max"
Height = 255
Left = 180
TabIndex = 55
Top = 240
Width = 375
End
Begin VB.Label Label17
BackStyle = 0 'Transparent
Caption = "Average"
Height = 255
Left = 1620
TabIndex = 54
Top = 300
Width = 735
End
End
Begin VB.Frame Frame6
BackColor = &H00C0E0FF&
Caption = "Responses"
Height = 1215
Left = 3720
TabIndex = 42
Top = 300
Width = 2955
Begin VB.TextBox txtReceivePacket
Alignment = 2 'Center
Height = 285
Left = 1920
TabIndex = 48
Text = "0"
Top = 840
Width = 915
End
Begin VB.TextBox txtReceiveByte
Alignment = 2 'Center
Height = 285
Left = 1920
TabIndex = 47
Text = "0"
Top = 540
Width = 915
End
Begin VB.TextBox txtReceivePacketByte
Alignment = 2 'Center
Height = 285
Left = 2340
TabIndex = 46
Text = "7"
Top = 240
Width = 495
End
Begin VB.Label Label21
BackColor = &H00C0E0FF&
BackStyle = 0 'Transparent
Caption = "Packet Quantity received"
Height = 255
Left = 60
TabIndex = 45
Top = 840
Width = 1875
End
Begin VB.Label Label20
BackColor = &H00C0E0FF&
BackStyle = 0 'Transparent
Caption = "Current Packet Size (bytes)"
Height = 255
Left = 60
TabIndex = 44
Top = 240
Width = 1935
End
Begin VB.Label Label8
BackStyle = 0 'Transparent
Caption = "Total Packet bytes"
Height = 285
Left = 60
TabIndex = 43
Top = 540
Width = 1485
End
End
Begin VB.Frame Frame1
BackColor = &H00C0E0FF&
Caption = "Commands"
Height = 1215
Left = 120
TabIndex = 35
Top = 300
Width = 2655
Begin VB.TextBox txtSendPacketByte
Alignment = 2 'Center
Height = 285
Left = 2040
TabIndex = 38
Text = "8"
Top = 240
Width = 555
End
Begin VB.TextBox txtSendPacket
Alignment = 2 'Center
Height = 285
Left = 1620
TabIndex = 37
Text = "0"
Top = 840
Width = 975
End
Begin VB.TextBox txtSendByte
Alignment = 2 'Center
Height = 285
Left = 1620
TabIndex = 36
Text = "0"
Top = 540
Width = 975
End
Begin VB.Label Label2
BackStyle = 0 'Transparent
Caption = "Total Packet bytes"
Height = 285
Left = 60
TabIndex = 41
Top = 540
Width = 1485
End
Begin VB.Label Label19
BackColor = &H00C0E0FF&
BackStyle = 0 'Transparent
Caption = "Current Packet Size (bytes)"
Height = 255
Left = 60
TabIndex = 40
Top = 240
Width = 1935
End
Begin VB.Label Label23
BackColor = &H00C0E0FF&
BackStyle = 0 'Transparent
Caption = "Packet Quantity sent"
Height = 255
Left = 60
TabIndex = 39
Top = 840
Width = 1515
End
End
Begin VB.CommandButton cmdClearReceiveByte
BackColor = &H00FFC0C0&
Caption = "Clear Statistics"
Height = 315
Left = 4920
Style = 1 'Graphical
TabIndex = 25
Top = 0
Width = 1395
End
Begin VB.TextBox txtDiffPacket
Alignment = 2 'Center
Height = 285
Left = 2880
TabIndex = 23
Text = "0"
Top = 1080
Width = 735
End
Begin VB.Label Label24
BackColor = &H00C0E0FF&
BackStyle = 0 'Transparent
Caption = "Difference"
Height = 255
Left = 2880
TabIndex = 34
Top = 840
Width = 855
End
Begin VB.Label Label7
BackColor = &H00C0E0FF&
BackStyle = 0 'Transparent
Caption = "Packet"
Height = 255
Left = 2880
TabIndex = 33
Top = 420
Width = 855
End
Begin VB.Label Label10
BackColor = &H00C0E0FF&
BackStyle = 0 'Transparent
Caption = "Quantity"
Height = 255
Left = 2880
TabIndex = 24
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -