?? frmcontrolcode.frm
字號:
VERSION 5.00
Begin VB.Form frmControlCode
Caption = "修改控制碼"
ClientHeight = 4845
ClientLeft = 60
ClientTop = 450
ClientWidth = 6285
LinkTopic = "Form1"
ScaleHeight = 4845
ScaleWidth = 6285
StartUpPosition = 3 'Windows Default
Begin VB.Frame Frame2
Caption = "電機控制命令"
Height = 1695
Left = 360
TabIndex = 1
Top = 600
Width = 2775
Begin VB.TextBox TextShutDown
Height = 285
Left = 1080
TabIndex = 7
Top = 1200
Width = 1215
End
Begin VB.TextBox TextNV
Height = 285
Left = 1080
TabIndex = 6
Top = 720
Width = 1215
End
Begin VB.TextBox TextPV
Height = 285
Left = 1080
TabIndex = 5
Top = 240
Width = 1215
End
Begin VB.Label Label3
AutoSize = -1 'True
Caption = "停機"
Height = 195
Left = 480
TabIndex = 4
Top = 1200
Width = 360
End
Begin VB.Label Label2
AutoSize = -1 'True
Caption = "反轉(zhuǎn)"
Height = 195
Left = 480
TabIndex = 3
Top = 720
Width = 360
End
Begin VB.Label Label1
AutoSize = -1 'True
Caption = "正轉(zhuǎn)"
Height = 195
Left = 480
TabIndex = 2
Top = 360
Width = 360
End
End
Begin VB.Frame Frame1
Caption = "請輸入16進制數(shù)據(jù)"
Height = 4455
Left = 120
TabIndex = 0
Top = 240
Width = 6015
Begin VB.Frame Frame5
Caption = "其它調(diào)試命令"
Height = 1335
Left = 3240
TabIndex = 12
Top = 2280
Width = 2535
Begin VB.TextBox TextSensor
Height = 285
Left = 1320
TabIndex = 32
Top = 960
Width = 975
End
Begin VB.TextBox TextSingle
Height = 285
Left = 1080
TabIndex = 31
Top = 600
Width = 1215
End
Begin VB.TextBox TextStep
Height = 285
Left = 1080
TabIndex = 30
Top = 240
Width = 1215
End
Begin VB.Label Label13
AutoSize = -1 'True
Caption = "開始轉(zhuǎn)矩傳感"
Height = 195
Left = 120
TabIndex = 29
Top = 960
Width = 1080
End
Begin VB.Label Label12
AutoSize = -1 'True
Caption = "單字節(jié)發(fā)送"
Height = 195
Left = 120
TabIndex = 28
Top = 600
Width = 900
End
Begin VB.Label Label11
AutoSize = -1 'True
Caption = "同步命令碼"
Height = 195
Left = 120
TabIndex = 27
Top = 240
Width = 900
End
End
Begin VB.Frame Frame4
Caption = "系統(tǒng)參數(shù)設(shè)定"
Height = 1695
Left = 3240
TabIndex = 11
Top = 360
Width = 2535
Begin VB.TextBox TextLr
Height = 285
Left = 1080
TabIndex = 26
Top = 1320
Width = 1215
End
Begin VB.TextBox TextLs
Height = 285
Left = 1080
TabIndex = 25
Top = 960
Width = 1215
End
Begin VB.TextBox TextRr
Height = 285
Left = 1080
TabIndex = 24
Top = 600
Width = 1215
End
Begin VB.TextBox TextRs
Height = 285
Left = 1080
TabIndex = 23
Top = 240
Width = 1215
End
Begin VB.Label Label10
AutoSize = -1 'True
Caption = "轉(zhuǎn)子電感"
Height = 195
Left = 240
TabIndex = 22
Top = 1320
Width = 720
End
Begin VB.Label Label9
AutoSize = -1 'True
Caption = "定子電感"
Height = 195
Left = 240
TabIndex = 21
Top = 960
Width = 720
End
Begin VB.Label Label8
AutoSize = -1 'True
Caption = "轉(zhuǎn)子電阻"
Height = 195
Left = 240
TabIndex = 20
Top = 600
Width = 720
End
Begin VB.Label Label7
AutoSize = -1 'True
Caption = "定子電阻"
Height = 195
Left = 240
TabIndex = 19
Top = 240
Width = 720
End
End
Begin VB.Frame Frame3
Caption = "查詢系統(tǒng)運行情況"
Height = 1335
Left = 240
TabIndex = 10
Top = 2280
Width = 2775
Begin VB.TextBox TextReqT
Height = 285
Left = 1080
TabIndex = 18
Top = 960
Width = 1215
End
Begin VB.TextBox TextReqI
Height = 285
Left = 1080
TabIndex = 17
Top = 600
Width = 1215
End
Begin VB.TextBox TextReqU
Height = 285
Left = 1080
TabIndex = 16
Top = 240
Width = 1215
End
Begin VB.Label Label6
AutoSize = -1 'True
Caption = "查詢轉(zhuǎn)矩"
Height = 195
Left = 120
TabIndex = 15
Top = 960
Width = 720
End
Begin VB.Label Label5
AutoSize = -1 'True
Caption = "查詢電流"
Height = 195
Left = 120
TabIndex = 14
Top = 600
Width = 720
End
Begin VB.Label Label4
AutoSize = -1 'True
Caption = "查詢電壓"
Height = 195
Left = 120
TabIndex = 13
Top = 240
Width = 720
End
End
Begin VB.CommandButton CommandCancel
Caption = "取消"
Height = 375
Left = 3840
TabIndex = 9
Top = 3720
Width = 1095
End
Begin VB.CommandButton CommandOK
Caption = "確定"
Height = 375
Left = 1200
TabIndex = 8
Top = 3720
Width = 1095
End
End
End
Attribute VB_Name = "frmControlCode"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub CommandCancel_Click()
Unload frmControlCode
End Sub
Private Sub CommandOK_Click()
'獲取各項控制碼
CodePV = TextPV.Text
CodeNV = TextNV.Text
CodeShutDown = TextShutDown.Text
CodeRs = TextRs.Text
CodeRr = TextRr.Text
CodeLs = TextLs.Text
CodeLr = TextLr.Text
CodeReU = TextReqU.Text
CodeReqI = TextReqI.Text
CodeReqT = TextReqT.Text
CodeStep = TextStep.Text
CodeSingle = TextSingle.Text
CodeSensor = TextSensor.Text
InitialCodeMap '刷新控制碼
frmControlCode.Hide
End Sub
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -