📄 frmmain.frm
字号:
Begin VB.Frame fraPort
Caption = "通信端口 B 当前关闭"
Height = 9420
Index = 1
Left = 6960
TabIndex = 129
Top = 25
Width = 6735
Begin VB.Frame fraSettings
Caption = "端口 5 设置 57600, Even, 8, 2, 字符, XOn/XOff"
Height = 1815
Index = 1
Left = 120
TabIndex = 225
Top = 360
Width = 6495
Begin VB.Frame fraSend
Caption = "数据发送"
Height = 1455
Index = 1
Left = 120
TabIndex = 226
Top = 240
Visible = 0 'False
Width = 6255
Begin VB.TextBox txtSendTime
Alignment = 2 'Center
Enabled = 0 'False
Height = 285
Index = 1
Left = 2520
MaxLength = 5
TabIndex = 257
Text = "0"
Top = 1035
Width = 615
End
Begin VB.CommandButton cmdSettings
Caption = "设置"
Height = 375
Index = 1
Left = 5400
TabIndex = 234
Top = 960
Width = 735
End
Begin VB.TextBox txtMultiple
Alignment = 2 'Center
Enabled = 0 'False
Height = 285
Index = 1
Left = 1680
MaxLength = 6
TabIndex = 233
Text = "0"
Top = 1035
Width = 735
End
Begin VB.CommandButton cmdMultiSend
Caption = "开始"
Enabled = 0 'False
Height = 375
Index = 1
Left = 4560
TabIndex = 232
Top = 960
Width = 735
End
Begin VB.ComboBox cmbMultiSend
Height = 315
Index = 1
ItemData = "frmMain.frx":059A
Left = 3240
List = "frmMain.frx":05A7
TabIndex = 231
Text = "单次"
Top = 1005
Width = 1215
End
Begin VB.TextBox txtAscii
Alignment = 2 'Center
BeginProperty Font
Name = "MS Sans Serif"
Size = 9.6
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Index = 1
Left = 1080
MaxLength = 3
TabIndex = 230
Top = 960
Width = 495
End
Begin VB.CommandButton cmdAscii
Caption = "字符码"
Enabled = 0 'False
Height = 375
Index = 1
Left = 120
TabIndex = 229
Top = 960
Width = 975
End
Begin VB.CommandButton cmdSend
Caption = "发送"
Height = 375
Index = 1
Left = 5400
TabIndex = 228
Top = 360
Width = 735
End
Begin VB.TextBox txtSend
Height = 375
Index = 1
Left = 120
TabIndex = 227
Top = 360
Width = 5175
End
Begin VB.Label lblSendInterval
AutoSize = -1 'True
Caption = "延时"
Height = 180
Index = 1
Left = 2565
TabIndex = 236
Top = 840
Width = 360
End
Begin VB.Label lblTimes
AutoSize = -1 'True
Caption = "重发"
Height = 180
Index = 1
Left = 1725
TabIndex = 235
Top = 840
Width = 360
End
End
Begin VB.ComboBox cmbHandShake
Height = 315
Index = 1
ItemData = "frmMain.frx":05BD
Left = 4920
List = "frmMain.frx":05CD
TabIndex = 249
Top = 600
Width = 1335
End
Begin VB.ComboBox cmbBaudRate
Height = 315
Index = 1
ItemData = "frmMain.frx":05EE
Left = 1200
List = "frmMain.frx":061F
TabIndex = 248
Top = 600
Width = 975
End
Begin VB.ComboBox cmbStopBits
Height = 315
Index = 1
ItemData = "frmMain.frx":0685
Left = 4080
List = "frmMain.frx":068F
TabIndex = 247
Top = 600
Width = 735
End
Begin VB.ComboBox cmbDataBits
Height = 315
Index = 1
ItemData = "frmMain.frx":0699
Left = 3240
List = "frmMain.frx":06AC
TabIndex = 246
Top = 600
Width = 735
End
Begin VB.ComboBox cmbParity
Height = 315
Index = 1
ItemData = "frmMain.frx":06BF
Left = 2280
List = "frmMain.frx":06D2
TabIndex = 245
Top = 600
Width = 855
End
Begin VB.ComboBox cmbPort
Height = 315
Index = 1
ItemData = "frmMain.frx":06EE
Left = 240
List = "frmMain.frx":06F0
TabIndex = 244
Top = 600
Width = 855
End
Begin VB.Frame fraInputMode
Caption = "接收模式"
Height = 615
Index = 1
Left = 240
TabIndex = 241
Top = 960
Width = 1815
Begin VB.OptionButton optString
Caption = "字符串"
Height = 255
Index = 1
Left = 45
TabIndex = 243
Top = 255
Width = 855
End
Begin VB.OptionButton optBinary
Caption = "二进制"
Height = 255
Index = 1
Left = 900
TabIndex = 242
Top = 255
Width = 855
End
End
Begin VB.CommandButton cmdOpen
Caption = "打开"
Height = 495
Index = 1
Left = 3480
TabIndex = 240
Top = 1080
Width = 855
End
Begin VB.CommandButton cmdClose
Caption = "关闭"
Enabled = 0 'False
Height = 495
Index = 1
Left = 4440
TabIndex = 239
Top = 1080
Width = 855
End
Begin VB.CommandButton cmdShowSend
Caption = "发送数据"
Enabled = 0 'False
Height = 495
Index = 1
Left = 5400
TabIndex = 238
Top = 1080
Width = 855
End
Begin VB.ComboBox cmbParityReplace
BeginProperty Font
Name = "Courier New"
Size = 12
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 390
Index = 1
Left = 2160
TabIndex = 237
Top = 1192
Width = 1215
End
Begin VB.Label lblHandShake
Alignment = 2 'Center
AutoSize = -1 'True
Caption = "握手协议"
Height = 195
Index = 1
Left = 5077
TabIndex = 256
Top = 360
Width = 1020
End
Begin VB.Label lblBaudRate
Alignment = 2 'Center
AutoSize = -1 'True
Caption = "波特率"
Height = 195
Index = 1
Left = 1305
TabIndex = 255
Top = 360
Width = 765
End
Begin VB.Label lblStopBits
Alignment = 2 'Center
AutoSize = -1 'True
Caption = "停止位"
Height = 195
Index = 1
Left = 4125
TabIndex = 254
Top = 360
Width = 630
End
Begin VB.Label lblDataBits
Alignment = 2 'Center
AutoSize = -1 'True
Caption = "数据位"
Height = 195
Index = 1
Left = 3285
TabIndex = 253
Top = 360
Width = 645
End
Begin VB.Label lblParity
Alignment = 2 'Center
AutoSize = -1 'True
Caption = "校验"
Height = 195
Index = 1
Left = 2505
TabIndex = 252
Top = 360
Width = 390
End
Begin VB.Label lblPort
Alignment = 2 'Center
AutoSize = -1 'True
Caption = "端口"
Height = 195
Index = 1
Left = 450
TabIndex = 251
Top = 360
Width = 315
End
Begin VB.Label lblParityReplace
AutoSize = -1 'True
Caption = "Parity Replace"
Height = 195
Index = 1
Left = 2250
TabIndex = 250
Top = 975
Width = 1035
End
End
Begin VB.CommandButton cmdReceive
Caption = "接收"
Height = 495
Index = 1
Left = 1320
TabIndex = 175
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -