This commit is contained in:
kong 2023-04-27 22:20:59 +07:00
parent 5e91f42848
commit 4abbb1bb4e
25 changed files with 873 additions and 58 deletions

View file

@ -99,11 +99,6 @@
EndIf
09:59:35 [X]Var IDCardState=PRESENT
09:59:35 [X]Var Timeout=112
09:59:35 [X]Var LivenessResult=
09:59:36 [X]Var IDCardStatus=ERROR
If IDCardStatus = "OK" Then
If IDCardReady = "OK" Then
If IDCardData = "ERROR" Then
@ -245,7 +240,7 @@
EndIf
EndIf
If IDCardState = "PRESENT" Then
If IDCardStatus = "ERROR" Then
Var load_gif_stage = "Invisible"
@ -311,6 +306,7 @@
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
SAVELOG "Liveness Result - Cancel"
Open "ROOT/taobin_project/xml/page_catalog2.xml"
</EventClick>
</Button>
@ -407,7 +403,10 @@
<EventLivenessResult>
DEBUGVAR LivenessResult
If LivenessResult = "pass" Then
SAVELOG "Liveness Result - pass"
Var strlog_liveness = "Liveness Result - pass " + FailTrickCount
SAVELOG strlog_liveness
Else
Var FailTrickCount = FailTrickCount + 1
Var strlog_liveness = "Liveness Result - fail " + FailTrickCount