📄 mdb.frm
字号:
Top = 1320
Width = 255
End
Begin VB.Label lal_type
Alignment = 1 'Right Justify
Caption = "12"
Height = 255
Index = 11
Left = 3240
TabIndex = 53
Top = 1080
Width = 255
End
Begin VB.Label lal_type
Alignment = 1 'Right Justify
Caption = "11"
Height = 255
Index = 10
Left = 3240
TabIndex = 52
Top = 840
Width = 255
End
Begin VB.Label lal_type
Alignment = 1 'Right Justify
Caption = "10"
Height = 255
Index = 9
Left = 3240
TabIndex = 51
Top = 600
Width = 255
End
Begin VB.Label lal_type
Alignment = 1 'Right Justify
Caption = "9"
Height = 255
Index = 8
Left = 3240
TabIndex = 50
Top = 360
Width = 255
End
Begin VB.Label lal_type
Alignment = 1 'Right Justify
Caption = "8"
Height = 255
Index = 7
Left = 360
TabIndex = 49
Top = 2040
Width = 255
End
Begin VB.Label lal_type
Alignment = 1 'Right Justify
Caption = "7"
Height = 255
Index = 6
Left = 360
TabIndex = 48
Top = 1800
Width = 255
End
Begin VB.Label lal_type
Alignment = 1 'Right Justify
Caption = "6"
Height = 255
Index = 5
Left = 360
TabIndex = 47
Top = 1560
Width = 255
End
Begin VB.Label lal_type
Alignment = 1 'Right Justify
Caption = "5"
Height = 255
Index = 4
Left = 360
TabIndex = 46
Top = 1320
Width = 255
End
Begin VB.Label lal_type
Alignment = 1 'Right Justify
Caption = "4"
Height = 255
Index = 3
Left = 360
TabIndex = 45
Top = 1080
Width = 255
End
Begin VB.Label lal_type
Alignment = 1 'Right Justify
Caption = "3"
Height = 255
Index = 2
Left = 360
TabIndex = 44
Top = 840
Width = 255
End
Begin VB.Label lal_type
Alignment = 1 'Right Justify
Caption = "2"
Height = 255
Index = 1
Left = 360
TabIndex = 43
Top = 600
Width = 255
End
Begin VB.Label lal_type
Alignment = 1 'Right Justify
Caption = "1"
Height = 255
Index = 0
Left = 360
TabIndex = 42
Top = 360
Width = 255
End
Begin VB.Label lbl_expansion
Appearance = 0 'Flat
BackColor = &H80000005&
Caption = "Expansion"
ForeColor = &H80000008&
Height = 495
Left = 120
TabIndex = 41
Top = 5160
Width = 5175
End
Begin VB.Label lbl_status
Appearance = 0 'Flat
BackColor = &H80000005&
Caption = "Status"
ForeColor = &H80000008&
Height = 495
Left = 120
TabIndex = 40
Top = 4560
Width = 5175
End
Begin VB.Line Line1
X1 = -2640
X2 = 9240
Y1 = 0
Y2 = 0
End
Begin VB.Label Label2
Caption = "GBA Answer:"
Height = 255
Left = 3480
TabIndex = 39
Top = 2400
Width = 1095
End
Begin VB.Label Label1
Caption = "Host ASK:"
Height = 255
Left = 1080
TabIndex = 38
Top = 2400
Width = 1215
End
Begin VB.Label lbl_cnt2
Alignment = 2 'Center
Appearance = 0 'Flat
BackColor = &H80000005&
Caption = "Count"
ForeColor = &H80000008&
Height = 255
Left = 4320
TabIndex = 36
Top = 120
Width = 735
End
Begin VB.Label lbl_vend2
Alignment = 2 'Center
Appearance = 0 'Flat
BackColor = &H80000005&
Caption = "Vend"
ForeColor = &H80000008&
Height = 255
Left = 3600
TabIndex = 35
Top = 120
Width = 735
End
Begin VB.Label lbl_cnt1
Alignment = 2 'Center
Appearance = 0 'Flat
BackColor = &H80000005&
Caption = "Count"
ForeColor = &H80000008&
Height = 255
Left = 1440
TabIndex = 34
Top = 120
Width = 735
End
Begin VB.Label lbl_vend1
Alignment = 2 'Center
Appearance = 0 'Flat
BackColor = &H80000005&
Caption = "Vend"
ForeColor = &H80000008&
Height = 255
Left = 720
TabIndex = 33
Top = 120
Width = 735
End
Begin VB.Menu mnuComm
Caption = "Comm"
Begin VB.Menu mnucom1
Caption = "comm1"
Checked = -1 'True
End
Begin VB.Menu mnucom2
Caption = "comm2"
End
End
Begin VB.Menu mnuPoll
Caption = "&Poll"
Begin VB.Menu mnuOn
Caption = "Poll &on"
Checked = -1 'True
End
Begin VB.Menu mnuoff
Caption = "Poll o&ff"
End
Begin VB.Menu mnupollrate
Caption = "Poll rate"
Enabled = 0 'False
Begin VB.Menu mnu200ms
Caption = "200ms"
Checked = -1 'True
End
Begin VB.Menu mnu400ms
Caption = "400ms"
Index = 1
End
Begin VB.Menu mnu400ms
Caption = "500ms"
Index = 2
End
End
End
Begin VB.Menu mnuSend
Caption = "Send"
Begin VB.Menu mnureset
Caption = "Reset"
End
Begin VB.Menu mnustatus
Caption = "Status"
End
Begin VB.Menu MnuBillType
Caption = "Bill type"
End
Begin VB.Menu mnuExpansion
Caption = "expansion"
End
End
Begin VB.Menu nubill7
Caption = "Bill"
Begin VB.Menu mnuclear
Caption = "Clear count"
End
Begin VB.Menu mnuenall
Caption = "enable all"
End
Begin VB.Menu mnuDisall
Caption = "Disable all"
End
Begin VB.Menu mnubill
Caption = "bill1"
Checked = -1 'True
Index = 0
End
Begin VB.Menu mnubill
Caption = "bill2"
Checked = -1 'True
Index = 1
End
Begin VB.Menu mnubill
Caption = "bill3"
Checked = -1 'True
Index = 2
End
Begin VB.Menu mnubill
Caption = "bill4"
Checked = -1 'True
Index = 3
End
Begin VB.Menu mnubill
Caption = "bill5"
Checked = -1 'True
Index = 4
End
Begin VB.Menu mnubill
Caption = "bill6"
Checked = -1 'True
Index = 5
End
Begin VB.Menu mnubill
Caption = "bill7"
Checked = -1 'True
Index = 6
End
Begin VB.Menu mnubill
Caption = "bill8"
Checked = -1 'True
Index = 7
End
Begin VB.Menu mnubill
Caption = "bill9"
Checked = -1 'True
Index = 8
End
Begin VB.Menu mnubill
Caption = "bill10"
Checked = -1 'True
Index = 9
End
Begin VB.Menu mnubill
Caption = "bill11"
Checked = -1 'True
Index = 10
End
Begin VB.Menu mnubill
Caption = "bill12"
Checked = -1 'True
Index = 11
End
Begin VB.Menu mnubill
Caption = "bill13"
Checked = -1 'True
Index = 12
End
Begin VB.Menu mnubill
Caption = "bill14"
Checked = -1 'True
Index = 13
End
Begin VB.Menu mnubill
Caption = "bill15"
Checked = -1 'True
Index = 14
End
Begin VB.Menu mnubill
Caption = "bill16"
Checked = -1 'True
Index = 15
End
End
Begin VB.Menu mnuOption
Caption = "Option"
Enabled = 0 'False
End
End
Attribute VB_Name = "MDB"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Private tmr2 As Integer
Private bytin(30) As Byte
Private bytBuffer(0) As Byte
Private blnPortBusy As Boolean
Private change_set As Boolean
Private NAK_cnt As Integer
Private billEnable(16) As Boolean
Private billCnt(16) As Integer
Private timerCnt As Integer
Private timeOver1 As Integer
Private timeOver2 As Integer
Private comport As Integer
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -