📄 frmdemo.frm
字号:
VERSION 5.00
Object = "{6B7E6392-850A-101B-AFC0-4210102A8DA7}#1.3#0"; "COMCTL32.OCX"
Object = "{648A5603-2C6E-101B-82B6-000000000014}#1.1#0"; "MSCOMM32.OCX"
Begin VB.Form frmMain
BorderStyle = 3 'Fixed Dialog
Caption = "HD6k系统VB例程-CAN通讯"
ClientHeight = 7815
ClientLeft = 45
ClientTop = 330
ClientWidth = 10785
Icon = "frmDemo.frx":0000
LinkTopic = "Form1"
LockControls = -1 'True
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 7815
ScaleWidth = 10785
ShowInTaskbar = 0 'False
StartUpPosition = 2 '屏幕中心
Begin VB.CommandButton Command2
Caption = "Command2"
Height = 375
Left = 5280
TabIndex = 41
Top = 4080
Width = 1615
End
Begin VB.CommandButton Command1
Caption = "Command1"
Height = 495
Left = 8520
TabIndex = 40
Top = 3600
Width = 1095
End
Begin VB.TextBox TextCardNo
Height = 315
Left = 8160
TabIndex = 36
Top = 1920
Width = 1365
End
Begin VB.TextBox TextDateTime
Height = 315
Left = 8160
TabIndex = 35
Top = 2415
Width = 1365
End
Begin VB.TextBox TextID
Height = 315
Left = 8160
TabIndex = 34
Top = 2895
Width = 1365
End
Begin VB.CheckBox chkOfflineMode
Caption = "脱机模式"
Height = 375
Left = 5280
TabIndex = 32
Top = 3480
Width = 1335
End
Begin VB.CheckBox CKBlistMode
Caption = "黑名单版本模式"
Height = 375
Left = 5280
TabIndex = 31
Top = 3120
Width = 1575
End
Begin VB.CommandButton CmdWriteText
Caption = "写文件参照"
Height = 375
Left = 8520
TabIndex = 30
Top = 360
Width = 1335
End
Begin VB.CommandButton CmdConfigPara
Caption = "配置参数"
Height = 375
Left = 120
TabIndex = 29
Top = 3000
Width = 1400
End
Begin VB.TextBox Textblist
Height = 375
Left = 5280
TabIndex = 27
Text = "0"
Top = 2160
Width = 1335
End
Begin VB.TextBox TextTermilID
Height = 375
Left = 5280
TabIndex = 25
Text = "0"
Top = 2640
Width = 1335
End
Begin VB.CommandButton btnClearUpBList
Caption = "未调试IC清空黑名单"
Height = 375
Left = 1800
TabIndex = 24
Top = 2400
Width = 1755
End
Begin VB.CommandButton btnUpdateBCList
Caption = "未调试IC更新黑名单"
Height = 375
Left = 1800
TabIndex = 23
Top = 3000
Width = 1755
End
Begin VB.CommandButton btnUpdateIDWCList
Caption = "ID更新白名单"
Height = 375
Left = 1800
TabIndex = 22
Top = 3480
Width = 1755
End
Begin VB.CommandButton IDSETBL
Caption = "ID更新黑名单"
Height = 375
Left = 1800
TabIndex = 21
Top = 3960
Width = 1755
End
Begin VB.CommandButton btnGetUserID
Caption = "获取自定义编号"
Height = 375
Left = 120
TabIndex = 20
Top = 3960
Width = 1400
End
Begin VB.CommandButton btnCollectRec
Caption = "采集记录"
Height = 375
Left = 1800
TabIndex = 19
Top = 1800
Width = 1755
End
Begin VB.CommandButton btnGetPara
Caption = "取终端参数"
Height = 375
Left = 120
TabIndex = 18
Top = 3480
Width = 1400
End
Begin VB.CommandButton btnInitPara
Caption = "初始化参数"
Height = 375
Left = 120
TabIndex = 17
Top = 2400
Width = 1400
End
Begin VB.CommandButton btnAllotAddr
Caption = "分配地址"
Height = 375
Left = 1800
TabIndex = 16
Top = 1320
Width = 1755
End
Begin VB.ListBox ListResult
Height = 2400
Left = 0
TabIndex = 15
Top = 4680
Width = 10695
End
Begin VB.TextBox txtPortSet
Height = 375
Left = 2640
TabIndex = 13
Text = "57600,n,8,1"
Top = 120
Width = 1575
End
Begin MSCommLib.MSComm MSComm
Left = 9840
Top = 120
_ExtentX = 1005
_ExtentY = 1005
_Version = 393216
DTREnable = -1 'True
InBufferSize = 2048
OutBufferSize = 2048
RThreshold = 1
RTSEnable = -1 'True
InputMode = 1
End
Begin VB.Timer Timer2
Enabled = 0 'False
Left = 1200
Top = 7320
End
Begin VB.TextBox txtTerSN
Alignment = 1 'Right Justify
Height = 330
Left = 2640
MaxLength = 10
TabIndex = 3
Text = "0000000000"
Top = 600
Width = 1575
End
Begin VB.CheckBox chkBroadcast
Caption = "广播通讯"
Height = 375
Left = 5280
TabIndex = 4
Top = 1200
Value = 1 'Checked
Width = 1335
End
Begin VB.ComboBox cmbSysID
Height = 315
ItemData = "frmDemo.frx":0BC2
Left = 840
List = "frmDemo.frx":0BD2
Style = 2 'Dropdown List
TabIndex = 1
Top = 600
Width = 855
End
Begin VB.TextBox txtAddress
Alignment = 1 'Right Justify
Height = 330
Left = 5280
MaxLength = 3
TabIndex = 2
Text = "0"
Top = 1680
Width = 1335
End
Begin VB.CommandButton cmdNotice
Caption = "终端在线通知"
Height = 375
Left = 120
TabIndex = 7
Top = 1800
Width = 1400
End
Begin VB.Timer Timer1
Interval = 1000
Left = 840
Top = 7320
End
Begin VB.ComboBox cmbPort
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 330
ItemData = "frmDemo.frx":0BEE
Left = 840
List = "frmDemo.frx":0BF0
TabIndex = 0
Text = "cmbPort"
Top = 120
Width = 855
End
Begin VB.CommandButton cmdConnect
Caption = "连接串口"
Height = 375
Left = 4500
TabIndex = 5
Top = 540
Width = 1335
End
Begin VB.CommandButton cmdReecho
Caption = "回响测试"
Height = 375
Left = 120
TabIndex = 6
Top = 1320
Width = 1400
End
Begin ComctlLib.StatusBar sbStatus
Align = 2 'Align Bottom
DragMode = 1 'Automatic
Height = 375
Left = 0
TabIndex = 9
Top = 7440
Width = 10785
_ExtentX = 19024
_ExtentY = 661
SimpleText = ""
_Version = 327682
BeginProperty Panels {0713E89E-850A-101B-AFC0-4210102A8DA7}
NumPanels = 3
BeginProperty Panel1 {0713E89F-850A-101B-AFC0-4210102A8DA7}
Alignment = 1
Object.Width = 1058
MinWidth = 1058
Text = "结果"
TextSave = "结果"
Key = ""
Object.Tag = ""
EndProperty
BeginProperty Panel2 {0713E89F-850A-101B-AFC0-4210102A8DA7}
Object.Width = 8114
MinWidth = 8114
Text = "2"
TextSave = "2"
Key = ""
Object.Tag = ""
EndProperty
BeginProperty Panel3 {0713E89F-850A-101B-AFC0-4210102A8DA7}
Alignment = 1
Object.Width = 5821
MinWidth = 5821
Text = "3"
TextSave = "3"
Key = ""
Object.Tag = ""
EndProperty
EndProperty
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "MS Sans Serif"
Size = 9.75
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -