This commit is contained in:
kong 2023-04-05 17:02:34 +07:00
parent dc71922dc7
commit 542ba1a3e4

View file

@ -29,8 +29,6 @@
INT sdateday
INT sdatemonth
INT sdateyear
READCARDID
Var AdultState = "Enable"
Var AdultState1 = "Enable"
@ -54,9 +52,14 @@
EndIf
Var IDBirthdate = ""
Var CountDownDelayReadCardID = 5
DEBUGVAR CameraCount
STOPCARDID
</EventOpen>
<EventActionOk>
@ -72,6 +75,7 @@
DEBUGVAR IDCardReady
DEBUGVAR IDCardData
DEBUGVAR IDBirthdate
DEBUGVAR IDFullNameEng
If AdultFlag2 = 1 Then
@ -201,14 +205,14 @@
Var CountDownDelayReadCardID = CountDownDelayReadCardID - 1
If CountDownDelayReadCardID = 0 Then
READCARDID
Var CountDownDelayReadCardID = 10
Var CountDownDelayReadCardID = 600
EndIf
EndIf
DEBUGVAR Timeout
Var Timeout = Timeout + 1
If Timeout > 30 Then
If Timeout > 120 Then
Open "ROOT/taobin_project/xml/page_catalog2.xml"
EndIf
@ -320,7 +324,7 @@
</EventCamera>
<EventIDCard>
SAVELOG "EventIDCard"
DEBUGVAR IDCardStatus
DEBUGVAR IDCardReady
DEBUGVAR IDCardData