📄 frmmain.frm
字号:
VERSION 5.00
Object = "{648A5603-2C6E-101B-82B6-000000000014}#1.1#0"; "MSCOMM32.OCX"
Begin VB.Form frmMain
Caption = "串口单片机温度控制系统 ---------- WWW.RICHMCU.COM"
ClientHeight = 9090
ClientLeft = 60
ClientTop = 345
ClientWidth = 9450
Icon = "frmMain.frx":0000
LinkTopic = "Form1"
ScaleHeight = 9090
ScaleWidth = 9450
StartUpPosition = 2 '屏幕中心
Begin zhinengwenkong.ucHistogram ucHistogram1
Height = 5085
Left = 120
TabIndex = 25
Top = 3930
Width = 9270
_ExtentX = 16351
_ExtentY = 8969
GridTickHorizontal= 5
GridTickVertical= 10
Max = 99
End
Begin VB.TextBox Text2
Height = 330
Left = 6870
TabIndex = 22
Top = 1605
Width = 1275
End
Begin VB.TextBox Text1
Height = 225
Left = 1305
TabIndex = 21
Top = 435
Visible = 0 'False
Width = 135
End
Begin VB.Frame Frame1
Caption = "操作项"
Height = 990
Left = 210
TabIndex = 16
Top = 2730
Width = 4200
Begin VB.CommandButton Command8
Caption = "退出设定"
Height = 375
Left = 3000
TabIndex = 20
Top = 330
Width = 870
End
Begin VB.CommandButton Command3
Caption = "增加"
Height = 375
Left = 2040
TabIndex = 19
Top = 330
Width = 870
End
Begin VB.CommandButton Command2
Caption = "减少"
Height = 375
Left = 120
TabIndex = 18
Top = 330
Width = 870
End
Begin VB.CommandButton Command4
Caption = "设定温度"
Height = 375
Left = 1080
TabIndex = 17
Top = 330
Width = 870
End
End
Begin VB.Frame Frame2
Caption = "状态显示窗口"
Height = 1680
Left = 4530
TabIndex = 13
Top = 2130
Width = 4905
Begin VB.Label Label4
Caption = "设置"
Height = 300
Left = 1935
TabIndex = 23
Top = 1320
Width = 615
End
Begin VB.Shape Shape3
FillColor = &H00FFFFFF&
FillStyle = 0 'Solid
Height = 555
Left = 1575
Shape = 3 'Circle
Top = 465
Width = 1155
End
Begin VB.Label Label3
Caption = "超温"
Height = 285
Left = 3090
TabIndex = 15
Top = 1320
Width = 480
End
Begin VB.Label Label2
Caption = "正常"
Height = 255
Left = 810
TabIndex = 14
Top = 1320
Width = 495
End
Begin VB.Shape Shape2
BackStyle = 1 'Opaque
FillColor = &H00FFFFFF&
FillStyle = 0 'Solid
Height = 570
Left = 2850
Shape = 3 'Circle
Top = 450
Width = 810
End
Begin VB.Shape Shape1
BackColor = &H00FFFFFF&
FillColor = &H00FFFFFF&
FillStyle = 0 'Solid
Height = 555
Left = 705
Shape = 3 'Circle
Top = 420
Width = 675
End
End
Begin zhinengwenkong.MorphDisplay Mo
Height = 1155
Left = 6870
TabIndex = 12
Top = 375
Width = 1410
_ExtentX = 2487
_ExtentY = 2037
BurnInColor = 96
BurnInColorNeg = 96
InterDigitGapExp= 5
InterSegmentGap = 5
NumDigits = 2
SegmentHeight = 20
SegmentHeightExp= 10
SegmentLitColor = 65535
SegmentLitColorNeg= 255
SegmentStyle = 0
SegmentWidth = 8
SegmentWidthExp = 8
Theme = 2
Value = "000"
XOffsetExp = 490
End
Begin VB.Frame fraFrames
Caption = "串口连接选项"
Height = 3705
Index = 2
Left = 120
TabIndex = 2
Top = 120
Width = 4350
Begin VB.Timer Timer2
Interval = 300
Left = 1170
Top = 1875
End
Begin VB.Timer Timer1
Interval = 1000
Left = 1440
Top = 975
End
Begin MSCommLib.MSComm ComPort
Left = 4920
Top = 120
_ExtentX = 1005
_ExtentY = 1005
_Version = 393216
DTREnable = -1 'True
End
Begin VB.OptionButton optComPort
Caption = "COM4"
Height = 255
Index = 3
Left = 480
TabIndex = 10
Top = 1320
Width = 1335
End
Begin VB.OptionButton optComPort
Caption = "COM3"
Height = 255
Index = 2
Left = 480
TabIndex = 9
Top = 1080
Width = 1335
End
Begin VB.OptionButton optComPort
Caption = "COM2"
Height = 255
Index = 1
Left = 480
TabIndex = 8
Top = 840
Width = 1335
End
Begin VB.OptionButton optComPort
Caption = "COM1"
Height = 255
Index = 0
Left = 480
TabIndex = 7
Top = 600
Value = -1 'True
Width = 1335
End
Begin VB.CommandButton cmdDisconnect
Caption = "断开"
Enabled = 0 'False
Height = 375
Left = 2280
TabIndex = 5
Top = 1065
Width = 1845
End
Begin VB.CommandButton cmdConnect
Caption = "连接"
Height = 375
Left = 2280
TabIndex = 4
Top = 600
Width = 1845
End
Begin VB.CommandButton cmdExit
Caption = "退出"
Height = 375
Left = 2280
TabIndex = 3
Top = 1590
Width = 1845
End
Begin VB.Label lblStatus
Alignment = 2 'Center
Caption = "空闲"
Height = 255
Left = 330
TabIndex = 6
Top = 2205
Width = 3570
End
End
Begin VB.Frame fraFrames
Caption = "温度显示窗口"
Height = 1905
Index = 1
Left = 4545
TabIndex = 0
Top = 195
Width = 4860
Begin VB.TextBox txtBarcode
Alignment = 2 'Center
Height = 300
Left = 3105
Locked = -1 'True
TabIndex = 1
Top = 465
Visible = 0 'False
Width = 705
End
Begin VB.Label Label5
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -