📄 frmmain.frm
字号:
VERSION 5.00
Object = "{648A5603-2C6E-101B-82B6-000000000014}#1.1#0"; "MSCOMM32.OCX"
Begin VB.Form Form1
Caption = "7060数字输入检测及数字输出控制"
ClientHeight = 5490
ClientLeft = 45
ClientTop = 210
ClientWidth = 6600
LinkTopic = "Form1"
ScaleHeight = 5490
ScaleWidth = 6600
StartUpPosition = 2 '屏幕中心
Begin VB.Frame Frame1
Caption = "数字输出状态"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 1770
Index = 1
Left = 630
TabIndex = 13
Top = 3015
Width = 4020
Begin VB.Label Label1
AutoSize = -1 'True
Caption = "OUT4"
BeginProperty Font
Name = "Tahoma"
Size = 12
Charset = 136
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 240
Index = 10
Left = 3060
TabIndex = 17
Top = 585
Width = 660
End
Begin VB.Label Label1
AutoSize = -1 'True
Caption = "OUT3"
BeginProperty Font
Name = "Tahoma"
Size = 12
Charset = 136
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 240
Index = 9
Left = 2070
TabIndex = 16
Top = 585
Width = 660
End
Begin VB.Label Label1
AutoSize = -1 'True
Caption = "OUT2"
BeginProperty Font
Name = "Tahoma"
Size = 12
Charset = 136
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 240
Index = 8
Left = 1215
TabIndex = 15
Top = 585
Width = 660
End
Begin VB.Label Label1
AutoSize = -1 'True
Caption = "OUT1"
BeginProperty Font
Name = "Tahoma"
Size = 12
Charset = 136
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 240
Index = 7
Left = 225
TabIndex = 14
Top = 585
Width = 660
End
Begin VB.Image imgOut
Height = 735
Index = 3
Left = 3015
Stretch = -1 'True
Top = 900
Width = 690
End
Begin VB.Image imgOut
Height = 735
Index = 2
Left = 2085
Stretch = -1 'True
Top = 900
Width = 690
End
Begin VB.Image imgOut
Height = 735
Index = 1
Left = 1155
Stretch = -1 'True
Top = 900
Width = 690
End
Begin VB.Image imgOut
Height = 735
Index = 0
Left = 225
Stretch = -1 'True
Top = 900
Width = 690
End
End
Begin VB.Frame Frame1
Caption = "数字输入状态"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 1545
Index = 0
Left = 630
TabIndex = 8
Top = 1125
Width = 4020
Begin VB.Image imgIN
Height = 735
Index = 0
Left = 180
Stretch = -1 'True
Top = 630
Width = 690
End
Begin VB.Image imgIN
Height = 735
Index = 1
Left = 1110
Stretch = -1 'True
Top = 630
Width = 690
End
Begin VB.Image imgIN
Height = 735
Index = 2
Left = 2040
Stretch = -1 'True
Top = 630
Width = 690
End
Begin VB.Image imgIN
Height = 735
Index = 3
Left = 2970
Stretch = -1 'True
Top = 630
Width = 690
End
Begin VB.Label Label1
AutoSize = -1 'True
Caption = "IN1"
BeginProperty Font
Name = "Tahoma"
Size = 12
Charset = 136
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 240
Index = 2
Left = 360
TabIndex = 12
Top = 360
Width = 420
End
Begin VB.Label Label1
AutoSize = -1 'True
Caption = "IN2"
BeginProperty Font
Name = "Tahoma"
Size = 12
Charset = 136
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 240
Index = 3
Left = 1260
TabIndex = 11
Top = 360
Width = 420
End
Begin VB.Label Label1
AutoSize = -1 'True
Caption = "IN3"
BeginProperty Font
Name = "Tahoma"
Size = 12
Charset = 136
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 240
Index = 4
Left = 2160
TabIndex = 10
Top = 360
Width = 420
End
Begin VB.Label Label1
AutoSize = -1 'True
Caption = "IN4"
BeginProperty Font
Name = "Tahoma"
Size = 12
Charset = 136
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 240
Index = 5
Left = 3060
TabIndex = 9
Top = 360
Width = 420
End
End
Begin VB.ComboBox cmbNO
BeginProperty Font
Name = "Times New Roman"
Size = 12
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 405
Left = 1980
TabIndex = 6
Text = "Combo1"
Top = 405
Width = 1140
End
Begin VB.CommandButton cmdStart
Caption = "开始检测"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 600
Left = 4860
TabIndex = 4
Top = 1170
Width = 1590
End
Begin VB.CommandButton cmdOpenCOM
Caption = "打开通信端口"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 600
Left = 4860
TabIndex = 3
Top = 450
Width = 1590
End
Begin VB.ComboBox cmbCOM
BeginProperty Font
Name = "Times New Roman"
Size = 12
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 405
Left = 450
TabIndex = 2
Text = "Combo1"
Top = 405
Width = 1140
End
Begin VB.CommandButton cmdEnd
Caption = "结束"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 600
Left = 4860
TabIndex = 0
Top = 2340
Width = 1590
End
Begin MSCommLib.MSComm MSComm1
Left = 45
Top = 945
_ExtentX = 1005
_ExtentY = 1005
_Version = 393216
DTREnable = -1 'True
End
Begin VB.Image imgDisable
Height = 735
Left = 3420
Picture = "frmMain.frx":0000
Stretch = -1 'True
Top = 360
Visible = 0 'False
Width = 780
End
Begin VB.Label lblMsg
BackColor = &H00C0FFFF&
BorderStyle = 1 'Fixed Single
Caption = "Label2"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 420
Left = 315
TabIndex = 7
Top = 4995
Width = 5595
End
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -