IDCard
This commit is contained in:
parent
0f22c109fe
commit
1cae0470ab
3 changed files with 27 additions and 2 deletions
|
|
@ -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