?? frmsysgl.frm
字號:
VERSION 5.00
Object = "{648A5603-2C6E-101B-82B6-000000000014}#1.1#0"; "MSCOMM32.OCX"
Begin VB.Form frmsysgl
Caption = "焦作中州炭素有限公司自動配料系統管理"
ClientHeight = 3450
ClientLeft = 165
ClientTop = 615
ClientWidth = 5070
ControlBox = 0 'False
Icon = "frmsysgl.frx":0000
LinkTopic = "Form1"
LockControls = -1 'True
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 3450
ScaleWidth = 5070
StartUpPosition = 2 '屏幕中心
Begin VB.Frame framdel
Caption = "數據刪除"
Height = 1575
Left = 20
TabIndex = 3
Top = 0
Width = 5055
Begin VB.ComboBox cbtype
BackColor = &H00F4FFF2&
BeginProperty Font
Name = "宋體"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00800000&
Height = 360
Left = 450
Style = 2 'Dropdown List
TabIndex = 17
Top = 240
Width = 2000
End
Begin VB.CommandButton cmdgb
BackColor = &H0080C0FF&
Caption = "關閉返回(&G)"
Height = 420
Left = 3360
Style = 1 'Graphical
TabIndex = 7
Top = 880
Width = 1215
End
Begin VB.CommandButton cmddel
BackColor = &H0080C0FF&
Caption = "數據刪除(&D)"
Height = 420
Left = 3360
Style = 1 'Graphical
TabIndex = 6
Top = 460
Width = 1215
End
Begin VB.ComboBox cmbd
BackColor = &H00F4FFF2&
BeginProperty Font
Name = "宋體"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00800000&
Height = 360
Left = 840
Style = 2 'Dropdown List
TabIndex = 5
Top = 1125
Width = 1600
End
Begin VB.ComboBox cmbc
BackColor = &H00F4FFF2&
BeginProperty Font
Name = "宋體"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00800000&
Height = 360
Left = 840
Style = 2 'Dropdown List
TabIndex = 4
Top = 645
Width = 1600
End
Begin VB.Label lbld
BackStyle = 0 'Transparent
Caption = "到"
BeginProperty Font
Name = "宋體"
Size = 14.25
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00800000&
Height = 375
Left = 480
TabIndex = 9
Top = 1155
Width = 375
End
Begin VB.Label lblc
BackStyle = 0 'Transparent
Caption = "從"
BeginProperty Font
Name = "宋體"
Size = 14.25
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00800000&
Height = 375
Left = 480
TabIndex = 8
Top = 720
Width = 375
End
End
Begin VB.Frame frmbk
Caption = "通訊參數設置"
Height = 1790
Left = 20
TabIndex = 0
Top = 1650
Width = 5055
Begin VB.CheckBox chktx
ForeColor = &H00000000&
Height = 255
Left = 3840
TabIndex = 13
Top = 580
Width = 255
End
Begin VB.CommandButton cmdtx
BackColor = &H0080C0FF&
Caption = "通訊設置(&T)"
Height = 495
Left = 480
Style = 1 'Graphical
TabIndex = 12
Top = 1080
Width = 1215
End
Begin VB.TextBox txttx
Alignment = 2 'Center
BackColor = &H00F4FFF2&
BeginProperty Font
Name = "宋體"
Size = 14.25
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00800000&
Height = 405
Left = 1560
TabIndex = 11
Top = 500
Width = 1815
End
Begin VB.ComboBox cmdport
BackColor = &H00F4FFF2&
BeginProperty Font
Name = "宋體"
Size = 14.25
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00800000&
Height = 405
Left = 240
Style = 2 'Dropdown List
TabIndex = 10
Top = 500
Width = 1215
End
Begin VB.CommandButton cmdreset
BackColor = &H0080C0FF&
Caption = "PLC復位(&F)"
Height = 495
Left = 1695
Style = 1 'Graphical
TabIndex = 2
Top = 1080
Width = 1215
End
Begin VB.CommandButton cmdexit
BackColor = &H0080C0FF&
Caption = "關閉返回(&R)"
Height = 495
Left = 2925
Style = 1 'Graphical
TabIndex = 1
Top = 1080
Width = 1215
End
Begin VB.Label lbldefault
Alignment = 2 'Center
BackStyle = 0 'Transparent
Caption = "設為默認"
BeginProperty Font
Name = "宋體"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00800000&
Height = 255
Left = 3360
TabIndex = 16
Top = 240
Width = 1215
End
Begin VB.Label lblbtl
Alignment = 2 'Center
BackStyle = 0 'Transparent
Caption = "波特率"
BeginProperty Font
Name = "宋體"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00800000&
Height = 255
Left = 2040
TabIndex = 15
Top = 240
Width = 855
End
Begin VB.Label lbldkh
Alignment = 2 'Center
BackStyle = 0 'Transparent
Caption = "端口號"
BeginProperty Font
Name = "宋體"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00800000&
Height = 255
Left = 480
TabIndex = 14
Top = 240
Width = 855
End
End
Begin MSCommLib.MSComm comm
Left = 0
Top = 0
_ExtentX = 1005
_ExtentY = 1005
_Version = 393216
DTREnable = -1 'True
End
Begin VB.Timer Timersend
Left = 0
Top = 840
End
End
Attribute VB_Name = "frmsysgl"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Dim ret As Integer, reset As String, pl As String
Dim time_on As Boolean
Dim stopflat As Boolean
Dim sendflat As Boolean
Dim exitflat As Boolean
Dim rtn As Double
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -