📄 frmtest.frm
字号:
VERSION 5.00
Object = "{648A5603-2C6E-101B-82B6-000000000014}#1.1#0"; "MSCOMM32.OCX"
Begin VB.Form frmTest
AutoRedraw = -1 'True
BorderStyle = 3 'Fixed Dialog
Caption = "仪器测试"
ClientHeight = 5880
ClientLeft = 45
ClientTop = 435
ClientWidth = 9600
Icon = "frmTest.frx":0000
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 5880
ScaleWidth = 9600
ShowInTaskbar = 0 'False
StartUpPosition = 2 '屏幕中心
Begin VB.Timer T_tp
Enabled = 0 'False
Interval = 1000
Left = 240
Top = 840
End
Begin MSCommLib.MSComm MSC_tp
Left = 120
Top = 120
_ExtentX = 1005
_ExtentY = 1005
_Version = 393216
CommPort = 4
DTREnable = -1 'True
End
Begin VB.Timer T_Wd
Enabled = 0 'False
Interval = 1000
Left = 9240
Top = 600
End
Begin MSCommLib.MSComm MSC_Wd
Left = 9120
Top = 0
_ExtentX = 1005
_ExtentY = 1005
_Version = 393216
CommPort = 5
DTREnable = -1 'True
End
Begin VB.Frame Frame7
Caption = "温度采集"
Height = 2655
Left = 7800
TabIndex = 31
Top = 240
Width = 1575
Begin VB.CommandButton Cmd_Wd
Caption = "开始采集"
Height = 495
Left = 240
TabIndex = 33
Top = 1680
Width = 1095
End
Begin VB.Label Lab_Wd
Alignment = 2 'Center
BackColor = &H00000000&
BorderStyle = 1 'Fixed Single
Caption = "0"
BeginProperty Font
Name = "宋体"
Size = 14.25
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H0000FF00&
Height = 495
Left = 240
TabIndex = 32
Top = 720
Width = 1095
End
End
Begin VB.Timer T_Yl
Enabled = 0 'False
Interval = 1000
Left = 0
Top = 2160
End
Begin VB.Timer T_Qtb
Enabled = 0 'False
Interval = 1000
Left = 0
Top = 4080
End
Begin VB.Frame Frame6
Caption = "环压泵测试"
Height = 1575
Left = 4680
TabIndex = 23
Top = 3000
Width = 4695
Begin VB.CommandButton Command3
Caption = "停止"
Height = 495
Left = 2640
TabIndex = 28
Top = 600
Width = 855
End
Begin VB.CommandButton Command2
Caption = "退泵"
Height = 495
Left = 3600
TabIndex = 27
Top = 600
Width = 855
End
Begin VB.CommandButton Command1
Caption = "进泵"
Height = 495
Left = 1680
TabIndex = 26
Top = 600
Width = 855
End
Begin VB.TextBox Text2
Alignment = 2 'Center
Height = 375
Left = 360
TabIndex = 25
Text = "0"
Top = 600
Width = 855
End
Begin VB.Label Label3
Alignment = 2 'Center
Caption = "(7~2000)"
Height = 255
Left = 360
TabIndex = 34
Top = 1080
Width = 855
End
Begin VB.Label Label2
Caption = "设定转速(/min):"
Height = 255
Left = 120
TabIndex = 24
Top = 360
Width = 1455
End
End
Begin MSCommLib.MSComm MSC_Qtb
Left = 0
Top = 3480
_ExtentX = 1005
_ExtentY = 1005
_Version = 393216
CommPort = 5
DTREnable = -1 'True
End
Begin VB.CommandButton Cmd_End
Caption = "测试结束"
Height = 615
Left = 3480
TabIndex = 22
Top = 4920
Width = 3255
End
Begin VB.Frame Frame5
Caption = "电磁阀测试"
Height = 2655
Left = 5880
TabIndex = 17
Top = 240
Width = 1695
Begin VB.CommandButton Cmd_Dcf4
Caption = "4号阀关"
Height = 375
Left = 360
TabIndex = 21
Top = 2040
Width = 1095
End
Begin VB.CommandButton Cmd_Dcf3
Caption = "3号阀关"
Height = 375
Left = 360
TabIndex = 20
Top = 1440
Width = 1095
End
Begin VB.CommandButton Cmd_Dcf2
Caption = "2号阀关"
Height = 375
Left = 360
TabIndex = 19
Top = 960
Width = 1095
End
Begin VB.CommandButton Cmd_Dcf1
Caption = "1号阀关"
Height = 375
Left = 360
TabIndex = 18
Top = 360
Width = 1095
End
End
Begin VB.Frame Frame3
Caption = "驱替泵测试"
Height = 1575
Left = 480
TabIndex = 8
Top = 3000
Width = 4095
Begin VB.CommandButton Cmd_B
Caption = "采集"
Height = 495
Left = 2280
TabIndex = 16
Top = 840
Width = 1215
End
Begin VB.Frame Frame4
Height = 1095
Left = 1200
TabIndex = 13
Top = 1800
Visible = 0 'False
Width = 1095
Begin VB.OptionButton Option9
Caption = "恒流"
Height = 255
Left = 120
TabIndex = 15
Top = 720
Width = 855
End
Begin VB.OptionButton Option8
Caption = "恒压"
Height = 255
Left = 120
TabIndex = 14
Top = 240
Value = -1 'True
Width = 855
End
End
Begin VB.TextBox Text1
Alignment = 2 'Center
BackColor = &H00000000&
BeginProperty Font
Name = "宋体"
Size = 14.25
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H0000C000&
Height = 465
Left = 2160
TabIndex = 12
Text = "0"
Top = 240
Width = 1455
End
Begin VB.OptionButton Option7
Caption = "回压泵"
Height = 180
Left = 480
TabIndex = 11
Top = 1080
Width = 975
End
Begin VB.OptionButton Option6
Caption = "2号双缸泵"
Height = 180
Left = 480
TabIndex = 10
Top = 720
Width = 1215
End
Begin VB.OptionButton Option5
Caption = "1号双缸泵"
Height = 180
Left = 480
TabIndex = 9
Top = 360
Value = -1 'True
Width = 1335
End
End
Begin VB.Frame Frame2
Caption = "压力测试"
Height = 1455
Left = 480
TabIndex = 4
Top = 1440
Width = 5295
Begin VB.OptionButton Option2
Caption = "差压小"
Height = 255
Left = 3000
TabIndex = 35
Top = 360
Width = 855
End
Begin VB.OptionButton Option10
Caption = "环压"
Height = 225
Left = 4200
TabIndex = 29
Top = 360
Width = 735
End
Begin VB.CommandButton Cmd_Yl
Caption = "开始采集"
Height = 495
Left = 120
TabIndex = 6
Top = 600
Width = 1335
End
Begin VB.OptionButton Option4
Caption = "差压大"
Height = 180
Left = 1800
TabIndex = 5
Top = 360
Width = 975
End
Begin VB.Label Lab_Cyx
Alignment = 2 'Center
BackColor = &H00000000&
BorderStyle = 1 'Fixed Single
Caption = "0"
BeginProperty Font
Name = "宋体"
Size = 14.25
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H0000FF00&
Height = 495
Left = 2880
TabIndex = 36
Top = 720
Width = 1095
End
Begin VB.Label Lab_Hy
Alignment = 2 'Center
BackColor = &H00000000&
BorderStyle = 1 'Fixed Single
Caption = "0"
BeginProperty Font
Name = "宋体"
Size = 14.25
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H0000FF00&
Height = 495
Left = 4080
TabIndex = 30
Top = 720
Width = 1095
End
Begin VB.Label Lab_CYl
Alignment = 2 'Center
BackColor = &H00000000&
BorderStyle = 1 'Fixed Single
Caption = "0"
BeginProperty Font
Name = "宋体"
Size = 14.25
Charset = 134
Weight = 400
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -