IDCard
This commit is contained in:
parent
0f22c109fe
commit
1cae0470ab
3 changed files with 27 additions and 2 deletions
|
|
@ -314,7 +314,12 @@
|
|||
If ChangeFlag2 = 1 Then
|
||||
Var ChangeOK = 2
|
||||
Else
|
||||
Var ChangeOK = 4
|
||||
If CodeChannel = 1 Then
|
||||
Var ChangeOK = 4
|
||||
Else
|
||||
Var ChangeOK = 3
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
|
|
|||
|
|
@ -58,7 +58,7 @@
|
|||
|
||||
If IDCardStatus = "OK" Then
|
||||
If IDCardReady = "OK" Then
|
||||
If IDCardData = "DONE" Then
|
||||
If IDCardData = "START" Then
|
||||
CoinVending OFF
|
||||
Open "ROOT/taobin_project/xml/page_show_consent2.xml"
|
||||
EndIf
|
||||
|
|
|
|||
|
|
@ -24,6 +24,7 @@
|
|||
EndIf
|
||||
|
||||
Var AcceptFlag = 0
|
||||
Var AcceptState = "Disable"
|
||||
</EventOpen>
|
||||
<Timeout> 1000 </Timeout>
|
||||
<EventTimeout>
|
||||
|
|
@ -69,6 +70,24 @@
|
|||
Refresh
|
||||
</EventActionOk>
|
||||
|
||||
<EventIDCard>
|
||||
|
||||
|
||||
If IDCardStatus = "OK" Then
|
||||
If IDCardReady = "OK" Then
|
||||
If IDCardData = "DONE" Then
|
||||
Var AcceptState = "Enable"
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</EventIDCard>
|
||||
|
||||
|
||||
|
||||
<Image>
|
||||
|
|
@ -90,6 +109,7 @@
|
|||
<Button>
|
||||
<X> 577 </X>
|
||||
<Y> 1679 </Y>
|
||||
<State> AcceptState</State>
|
||||
<Filename> Var( DirImage + "/bn_accept.png" )</Filename>
|
||||
<FilenamePress> Var( DirImage + "/bp_accept.png" ) </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue