📄 frmmain.frm
字号:
VERSION 5.00
Object = "{F9043C88-F6F2-101A-A3C9-08002B2F49FB}#1.2#0"; "COMDLG32.ocx"
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCTL.OCX"
Object = "{648A5603-2C6E-101B-82B6-000000000014}#1.1#0"; "MSCOMM32.ocx"
Begin VB.MDIForm frmMain
BackColor = &H8000000C&
Caption = "FLPS平台串口通信规约测试系统"
ClientHeight = 6420
ClientLeft = 165
ClientTop = 735
ClientWidth = 10650
Icon = "frmMain.frx":0000
LinkTopic = "MDIForm1"
StartUpPosition = 3 '窗口缺省
WindowState = 2 'Maximized
Begin VB.Timer Timer5
Enabled = 0 'False
Interval = 1000
Left = 6240
Top = 2280
End
Begin VB.Timer Timer4
Interval = 10000
Left = 5220
Top = 2280
End
Begin VB.Timer Timer3
Enabled = 0 'False
Left = 4680
Top = 2280
End
Begin VB.Timer Timer2
Enabled = 0 'False
Interval = 5000
Left = 3960
Top = 2280
End
Begin VB.Timer Timer1
Enabled = 0 'False
Interval = 200
Left = 3240
Top = 2280
End
Begin MSCommLib.MSComm Comm
Left = 3720
Top = 1320
_ExtentX = 1005
_ExtentY = 1005
_Version = 393216
DTREnable = -1 'True
End
Begin MSComctlLib.Toolbar tbToolBar
Align = 1 'Align Top
Height = 870
Left = 0
TabIndex = 1
Top = 0
Width = 10650
_ExtentX = 18785
_ExtentY = 1535
ButtonWidth = 1032
ButtonHeight = 1376
Appearance = 1
ImageList = "imlToolbarIcons"
_Version = 393216
BeginProperty Buttons {66833FE8-8583-11D1-B16A-00C0F0283628}
NumButtons = 6
BeginProperty Button1 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "新建"
Key = "New"
Object.ToolTipText = "新建工程"
ImageIndex = 1
EndProperty
BeginProperty Button2 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "打开"
Key = "Open"
Object.ToolTipText = "打开工程"
ImageIndex = 2
EndProperty
BeginProperty Button3 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "保存"
Key = "Save"
Object.ToolTipText = "保存工程"
ImageIndex = 3
EndProperty
BeginProperty Button4 {66833FEA-8583-11D1-B16A-00C0F0283628}
ImageIndex = 5
Style = 3
EndProperty
BeginProperty Button5 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "设置"
Key = "SetComm"
Object.ToolTipText = "设置串口"
ImageIndex = 6
EndProperty
BeginProperty Button6 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "退出"
Key = "Cancel"
Object.ToolTipText = "退出"
ImageIndex = 7
EndProperty
EndProperty
End
Begin MSComctlLib.StatusBar sbStatusBar
Align = 2 'Align Bottom
Height = 270
Left = 0
TabIndex = 0
Top = 6150
Width = 10650
_ExtentX = 18785
_ExtentY = 476
_Version = 393216
BeginProperty Panels {8E3867A5-8586-11D1-B16A-00C0F0283628}
NumPanels = 3
BeginProperty Panel1 {8E3867AB-8586-11D1-B16A-00C0F0283628}
AutoSize = 1
Object.Width = 13150
Text = "Status"
TextSave = "Status"
EndProperty
BeginProperty Panel2 {8E3867AB-8586-11D1-B16A-00C0F0283628}
Style = 6
AutoSize = 2
TextSave = "2008-3-7"
EndProperty
BeginProperty Panel3 {8E3867AB-8586-11D1-B16A-00C0F0283628}
Style = 5
AutoSize = 2
TextSave = "15:03"
EndProperty
EndProperty
End
Begin MSComDlg.CommonDialog dlgCommonDialog
Left = 2160
Top = 1440
_ExtentX = 847
_ExtentY = 847
_Version = 393216
DefaultExt = "*.ini"
Filter = "*.ini"
InitDir = "app"
End
Begin MSComctlLib.ImageList imlToolbarIcons
Left = 2880
Top = 1320
_ExtentX = 1005
_ExtentY = 1005
BackColor = -2147483643
ImageWidth = 32
ImageHeight = 32
MaskColor = 12632256
_Version = 393216
BeginProperty Images {2C247F25-8591-11D1-B16A-00C0F0283628}
NumListImages = 8
BeginProperty ListImage1 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmMain.frx":1042
Key = ""
EndProperty
BeginProperty ListImage2 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmMain.frx":191C
Key = ""
EndProperty
BeginProperty ListImage3 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmMain.frx":21F6
Key = ""
EndProperty
BeginProperty ListImage4 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmMain.frx":2AD0
Key = ""
EndProperty
BeginProperty ListImage5 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmMain.frx":33AA
Key = ""
EndProperty
BeginProperty ListImage6 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmMain.frx":3C84
Key = ""
EndProperty
BeginProperty ListImage7 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmMain.frx":455E
Key = ""
EndProperty
BeginProperty ListImage8 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmMain.frx":4E38
Key = ""
EndProperty
EndProperty
End
Begin VB.Menu mnusystem
Caption = "系统(&S)"
Begin VB.Menu MenuNew
Caption = "新建工程(&N)"
Shortcut = ^N
End
Begin VB.Menu MenuOpen
Caption = "打开工程(&O)"
Shortcut = ^O
End
Begin VB.Menu MenuSave
Caption = "保存工程(&S)"
Enabled = 0 'False
Shortcut = ^S
End
Begin VB.Menu MenuSp
Caption = "-"
End
Begin VB.Menu MenuCancal
Caption = "退出(&C)"
Shortcut = ^X
End
End
Begin VB.Menu MenuDevice
Caption = "设备(&D)"
Begin VB.Menu MenuLinkFile
Caption = "连接到文件"
End
Begin VB.Menu MenuLinkDev
Caption = "连接到设备"
End
End
Begin VB.Menu MenuGuiye
Caption = "规约(&G)"
Begin VB.Menu MenuSComm
Caption = "一对一通信"
End
Begin VB.Menu MenuMComm
Caption = "一对多通信"
End
Begin VB.Menu MenuGuiyeSperate1
Caption = "-"
End
Begin VB.Menu MenuGuiyeMup
Caption = "主动传输"
Checked = -1 'True
End
Begin VB.Menu MenuGuiyeSup
Caption = "问答方式"
End
Begin VB.Menu MenuGuiyeSperate2
Caption = "-"
End
Begin VB.Menu MenuGuiyeBaowenNoOrder
Caption = "无序报文显示"
End
Begin VB.Menu MenuGuiyeBaowenOrder
Caption = "按规约显示"
Checked = -1 'True
End
Begin VB.Menu MenuGuiyeSperate3
Caption = "-"
End
Begin VB.Menu MenuGuiyeFLPS
Caption = "FLPS"
End
Begin VB.Menu MenuGuiyeCDT
Caption = "CDT"
End
Begin VB.Menu MenuGuiyeLFP
Caption = "LFP900"
End
Begin VB.Menu MenuGuiye101
Caption = "101"
End
Begin VB.Menu MenuGuiye103
Caption = "103"
End
Begin VB.Menu MenuGuiyeDNP
Caption = "DNP3.0"
End
Begin VB.Menu MenuGuiye61850
Caption = "61850"
End
End
Begin VB.Menu MenuComm
Caption = "串口(&C)"
End
Begin VB.Menu MenuRdWr
Caption = "数据读写"
Begin VB.Menu MenuRdSOE
Caption = "读取SOE"
End
Begin VB.Menu MenuClrSOE
Caption = "清除SOE"
End
Begin VB.Menu MenuSp1
Caption = "-"
End
Begin VB.Menu MenuRdEvent
Caption = "读取保护事件"
End
Begin VB.Menu MenuClrEvent
Caption = "清除保护事件"
End
Begin VB.Menu MenuSp2
Caption = "-"
End
Begin VB.Menu MenuRdStat
Caption = "读取统计数据"
End
Begin VB.Menu MenuClrStat
Caption = "清除统计数据"
End
Begin VB.Menu MenuSp3
Caption = "-"
End
Begin VB.Menu MenuRdYKrecord
Caption = "读取遥控记录"
End
Begin VB.Menu MenuClrYKrecord
Caption = "清除遥控记录"
End
Begin VB.Menu MenuSp4
Caption = "-"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -