diff --git a/image/collectiing/bd_pay_with_codeLH.png b/image/collectiing/bd_pay_with_codeLH.png
new file mode 100644
index 00000000..4cb3d211
Binary files /dev/null and b/image/collectiing/bd_pay_with_codeLH.png differ
diff --git a/image/collectiing/bd_pay_with_dolfin.png b/image/collectiing/bd_pay_with_dolfin.png
new file mode 100644
index 00000000..a5511d3b
Binary files /dev/null and b/image/collectiing/bd_pay_with_dolfin.png differ
diff --git a/image/collectiing/bn_pay_with_codeLH.png b/image/collectiing/bn_pay_with_codeLH.png
new file mode 100644
index 00000000..89d09827
Binary files /dev/null and b/image/collectiing/bn_pay_with_codeLH.png differ
diff --git a/image/collectiing/bn_pay_with_dolfin.png b/image/collectiing/bn_pay_with_dolfin.png
new file mode 100644
index 00000000..dbcd3d55
Binary files /dev/null and b/image/collectiing/bn_pay_with_dolfin.png differ
diff --git a/image/collectiing/bn_pay_with_shoppy.png b/image/collectiing/bn_pay_with_shoppy.png
new file mode 100644
index 00000000..336b402a
Binary files /dev/null and b/image/collectiing/bn_pay_with_shoppy.png differ
diff --git a/image/collectiing/bn_pay_with_true.png b/image/collectiing/bn_pay_with_true.png
new file mode 100644
index 00000000..8a1c0890
Binary files /dev/null and b/image/collectiing/bn_pay_with_true.png differ
diff --git a/image/collectiing/bp_pay_with_codeLH.png b/image/collectiing/bp_pay_with_codeLH.png
new file mode 100644
index 00000000..f80d05a7
Binary files /dev/null and b/image/collectiing/bp_pay_with_codeLH.png differ
diff --git a/image/collectiing/bp_pay_with_dolfin.png b/image/collectiing/bp_pay_with_dolfin.png
new file mode 100644
index 00000000..426e726b
Binary files /dev/null and b/image/collectiing/bp_pay_with_dolfin.png differ
diff --git a/image/collectiing/bp_pay_with_shoppy.png b/image/collectiing/bp_pay_with_shoppy.png
new file mode 100644
index 00000000..d57e4b12
Binary files /dev/null and b/image/collectiing/bp_pay_with_shoppy.png differ
diff --git a/image/collectiing/bp_pay_with_true.png b/image/collectiing/bp_pay_with_true.png
new file mode 100644
index 00000000..c3282d59
Binary files /dev/null and b/image/collectiing/bp_pay_with_true.png differ
diff --git a/image/collectiing/img_popup16.png b/image/collectiing/img_popup16.png
index 46d8eb84..bccdf180 100644
Binary files a/image/collectiing/img_popup16.png and b/image/collectiing/img_popup16.png differ
diff --git a/image/collectiing/img_popup17.png b/image/collectiing/img_popup17.png
new file mode 100644
index 00000000..5b317f8d
Binary files /dev/null and b/image/collectiing/img_popup17.png differ
diff --git a/image/collectiing/img_popupLH.png b/image/collectiing/img_popupLH.png
new file mode 100644
index 00000000..78242eb8
Binary files /dev/null and b/image/collectiing/img_popupLH.png differ
diff --git a/image/collectiing/text_38.png b/image/collectiing/text_38.png
new file mode 100644
index 00000000..b524515e
Binary files /dev/null and b/image/collectiing/text_38.png differ
diff --git a/image/collectiing_en/bd_pay_with_codeLH.png b/image/collectiing_en/bd_pay_with_codeLH.png
new file mode 100644
index 00000000..4cb3d211
Binary files /dev/null and b/image/collectiing_en/bd_pay_with_codeLH.png differ
diff --git a/image/collectiing_en/bd_pay_with_dolfin.png b/image/collectiing_en/bd_pay_with_dolfin.png
new file mode 100644
index 00000000..a5511d3b
Binary files /dev/null and b/image/collectiing_en/bd_pay_with_dolfin.png differ
diff --git a/image/collectiing_en/bn_pay_with_codeLH.png b/image/collectiing_en/bn_pay_with_codeLH.png
new file mode 100644
index 00000000..89d09827
Binary files /dev/null and b/image/collectiing_en/bn_pay_with_codeLH.png differ
diff --git a/image/collectiing_en/bn_pay_with_dolfin.png b/image/collectiing_en/bn_pay_with_dolfin.png
new file mode 100644
index 00000000..dbcd3d55
Binary files /dev/null and b/image/collectiing_en/bn_pay_with_dolfin.png differ
diff --git a/image/collectiing_en/bn_pay_with_shoppy.png b/image/collectiing_en/bn_pay_with_shoppy.png
new file mode 100644
index 00000000..336b402a
Binary files /dev/null and b/image/collectiing_en/bn_pay_with_shoppy.png differ
diff --git a/image/collectiing_en/bn_pay_with_true.png b/image/collectiing_en/bn_pay_with_true.png
new file mode 100644
index 00000000..8a1c0890
Binary files /dev/null and b/image/collectiing_en/bn_pay_with_true.png differ
diff --git a/image/collectiing_en/bp_pay_with_codeLH.png b/image/collectiing_en/bp_pay_with_codeLH.png
new file mode 100644
index 00000000..f80d05a7
Binary files /dev/null and b/image/collectiing_en/bp_pay_with_codeLH.png differ
diff --git a/image/collectiing_en/bp_pay_with_dolfin.png b/image/collectiing_en/bp_pay_with_dolfin.png
new file mode 100644
index 00000000..426e726b
Binary files /dev/null and b/image/collectiing_en/bp_pay_with_dolfin.png differ
diff --git a/image/collectiing_en/bp_pay_with_shoppy.png b/image/collectiing_en/bp_pay_with_shoppy.png
new file mode 100644
index 00000000..d57e4b12
Binary files /dev/null and b/image/collectiing_en/bp_pay_with_shoppy.png differ
diff --git a/image/collectiing_en/bp_pay_with_true.png b/image/collectiing_en/bp_pay_with_true.png
new file mode 100644
index 00000000..c3282d59
Binary files /dev/null and b/image/collectiing_en/bp_pay_with_true.png differ
diff --git a/image/collectiing_en/img_popup16.png b/image/collectiing_en/img_popup16.png
index 6db443ff..5b07b38f 100644
Binary files a/image/collectiing_en/img_popup16.png and b/image/collectiing_en/img_popup16.png differ
diff --git a/image/collectiing_en/img_popup17.png b/image/collectiing_en/img_popup17.png
new file mode 100644
index 00000000..2085dc24
Binary files /dev/null and b/image/collectiing_en/img_popup17.png differ
diff --git a/image/collectiing_en/img_popupLH.png b/image/collectiing_en/img_popupLH.png
new file mode 100644
index 00000000..78242eb8
Binary files /dev/null and b/image/collectiing_en/img_popupLH.png differ
diff --git a/image/collectiing_en/text_38.png b/image/collectiing_en/text_38.png
new file mode 100644
index 00000000..3e6f4ded
Binary files /dev/null and b/image/collectiing_en/text_38.png differ
diff --git a/image/page_payment/bd_pay_with_ewallet.png b/image/page_payment/bd_pay_with_ewallet.png
new file mode 100644
index 00000000..41f004b9
Binary files /dev/null and b/image/page_payment/bd_pay_with_ewallet.png differ
diff --git a/image/page_payment/bn_pay_with_ewallet.png b/image/page_payment/bn_pay_with_ewallet.png
new file mode 100644
index 00000000..5dbfbf30
Binary files /dev/null and b/image/page_payment/bn_pay_with_ewallet.png differ
diff --git a/image/page_payment/bp_pay_with_ewallet.png b/image/page_payment/bp_pay_with_ewallet.png
new file mode 100644
index 00000000..d457a269
Binary files /dev/null and b/image/page_payment/bp_pay_with_ewallet.png differ
diff --git a/image/page_payment/img_popup5.png b/image/page_payment/img_popup5.png
new file mode 100644
index 00000000..cfc4b6f4
Binary files /dev/null and b/image/page_payment/img_popup5.png differ
diff --git a/image/page_payment/img_popup6.png b/image/page_payment/img_popup6.png
new file mode 100644
index 00000000..ca04d2c0
Binary files /dev/null and b/image/page_payment/img_popup6.png differ
diff --git a/image/page_payment/unauthorized.png b/image/page_payment/unauthorized.png
new file mode 100644
index 00000000..3838e940
Binary files /dev/null and b/image/page_payment/unauthorized.png differ
diff --git a/image/page_payment_en/page_payment/bd_pay_with_ewallet.png b/image/page_payment_en/page_payment/bd_pay_with_ewallet.png
new file mode 100644
index 00000000..41f004b9
Binary files /dev/null and b/image/page_payment_en/page_payment/bd_pay_with_ewallet.png differ
diff --git a/image/page_payment_en/page_payment/bn_pay_with_ewallet.png b/image/page_payment_en/page_payment/bn_pay_with_ewallet.png
new file mode 100644
index 00000000..5dbfbf30
Binary files /dev/null and b/image/page_payment_en/page_payment/bn_pay_with_ewallet.png differ
diff --git a/image/page_payment_en/page_payment/bp_pay_with_ewallet.png b/image/page_payment_en/page_payment/bp_pay_with_ewallet.png
new file mode 100644
index 00000000..d457a269
Binary files /dev/null and b/image/page_payment_en/page_payment/bp_pay_with_ewallet.png differ
diff --git a/image/page_payment_en/page_payment/img_popup5.png b/image/page_payment_en/page_payment/img_popup5.png
new file mode 100644
index 00000000..e876a9f9
Binary files /dev/null and b/image/page_payment_en/page_payment/img_popup5.png differ
diff --git a/image/page_payment_en/page_payment/img_popup6.png b/image/page_payment_en/page_payment/img_popup6.png
new file mode 100644
index 00000000..a2a86183
Binary files /dev/null and b/image/page_payment_en/page_payment/img_popup6.png differ
diff --git a/image/page_payment_en/page_payment/unauthorized.png b/image/page_payment_en/page_payment/unauthorized.png
new file mode 100644
index 00000000..bc36cd3b
Binary files /dev/null and b/image/page_payment_en/page_payment/unauthorized.png differ
diff --git a/xml/page_collect_point_1.xml b/xml/page_collect_point_1.xml
index 9b21fd84..775a13a2 100644
--- a/xml/page_collect_point_1.xml
+++ b/xml/page_collect_point_1.xml
@@ -19,9 +19,13 @@
If show_eng = "true" Then
Var DirImage = "ROOT/taobin_project/image/collect_point1_en"
Play "ROOT/taobin_project/sound_eng/Reward_final.mp3"
+
+ Var IMG_CNT = "ROOT/taobin_project/image/page_doing/img2_eng.png"
Else
Var DirImage = "ROOT/taobin_project/image/collect_point1"
Play "ROOT/taobin_project/sound_thai/dontforget_number.mp3"
+
+ Var IMG_CNT = "ROOT/taobin_project/image/page_doing/img2.png"
EndIf
SAVELOG "collect_point1"
@@ -706,7 +710,7 @@
751
413
- page_doing_show_time_image
+ IMG_CNT
;
diff --git a/xml/page_collect_point_2.xml b/xml/page_collect_point_2.xml
index 6cc7af13..5c7a427c 100644
--- a/xml/page_collect_point_2.xml
+++ b/xml/page_collect_point_2.xml
@@ -21,6 +21,18 @@
Var Seeker.TaobinErrorNetwork = 0
+ If show_eng = "true" Then
+
+
+ Var IMG_CNT = "ROOT/taobin_project/image/page_doing/img2_eng.png"
+
+
+ Else
+
+
+ Var IMG_CNT = "ROOT/taobin_project/image/page_doing/img2.png"
+ EndIf
+
If PayOfflineMode = 1 Then
Var Seeker.TaobinErrorNetwork = 1
;Var Seeker.PointTaobinStr = "" + PayAmount
@@ -264,7 +276,7 @@
751
413
- "ROOT/taobin_project/image/page_doing/img2.png"
+ IMG_CNT
;
diff --git a/xml/page_collect_point_3.xml b/xml/page_collect_point_3.xml
index 1561191c..510c4358 100644
--- a/xml/page_collect_point_3.xml
+++ b/xml/page_collect_point_3.xml
@@ -29,9 +29,13 @@
Var DirImage = "ROOT/taobin_project/image/display_point_en"
Var page_doing_show_time_image = "ROOT/taobin_project/image/page_doing/img2.png"
+ Var IMG_CNT = "ROOT/taobin_project/image/page_doing/img2_eng.png"
+
Else
Var DirImage = "ROOT/taobin_project/image/display_point"
Var page_doing_show_time_image = "ROOT/taobin_project/image/page_doing/img2.png"
+
+ Var IMG_CNT = "ROOT/taobin_project/image/page_doing/img2.png"
EndIf
Var CoffeePointTmp = CoffeePoint
@@ -1182,7 +1186,7 @@
751
413
- "ROOT/taobin_project/image/page_doing/img2.png"
+ IMG_CNT
;
diff --git a/xml/page_payment.xml b/xml/page_payment.xml
index 28d8658b..a2a3257d 100644
--- a/xml/page_payment.xml
+++ b/xml/page_payment.xml
@@ -52,6 +52,10 @@
DEBUGVAR CustomerFilterType
EndIf
+ ;Var AdultFlag = 1
+
+
+
Var QRCODE1 = "A000000677010112"
Var QRCODE2 = "010755600066301"
Var QRCODE3 = "VDGN"
@@ -65,6 +69,7 @@
Var CountStepForCupFlagDelay = 1
Var VendingBank = "other"
+ Var ReqPayInfoFromCashOther = 0
@@ -112,14 +117,27 @@
If show_eng = "true" Then
Var DirImage = "ROOT/taobin_project/image/page_payment_en/page_payment"
Var PlaySoundLag = "ROOT/taobin_project/sound_eng/How_would_you_like_to_pay.mp3"
+ Var PlaySoundCodeLang = "ROOT/sounds_eng/Code8digit.m4a"
+
Else
Var DirImage = "ROOT/taobin_project/image/page_payment"
Var PlaySoundLag = "ROOT/taobin_project/sound_thai/payment.mp3"
+ Var PlaySoundCodeLang = "ROOT/sounds/Code8digit.m4a"
EndIf
SAVELOG MachineStage
+
+ If AdultFlag = 1 Then
+ If CameraCount = 1 Then
+ CameraSetting "usbfront" "default" "Rotate=270,Resolution=1280x720,scaleX=1.0,scaleY=1.0"
+ EndIf
+
+ Var PlaySoundLag = ""
+
+ EndIf
+
READ_FILE "/mnt/sdcard/can_sell" ReadyForBrew
diff --git a/xml/page_payment_camera.xml b/xml/page_payment_camera.xml
new file mode 100644
index 00000000..b50ac8a7
--- /dev/null
+++ b/xml/page_payment_camera.xml
@@ -0,0 +1,263 @@
+
+ "Enable"
+ 1080
+ 1920
+ "0xeae6e1"
+ SoundVolume
+
+
+ Var CamFlag = 0
+ Var CamCount = 0
+ Var Timeout = 0
+ Var ShutterResult = "-"
+
+
+
+
+
+
+
+
+
+
+
+ 1000
+
+
+ Var Timeout = Timeout + 1
+
+ If Timeout > 30 Then
+ Open "ROOT/taobin_project/xml/page_payment_cameraFailed.xml"
+ EndIf
+
+ If ShutterResult = "ok" Then
+ Open "ROOT/taobin_project/xml/page_payment_cameraWait.xml"
+ EndIf
+
+ Refresh
+ TimerReset
+
+
+
+
+
+
+ 144
+ 413
+ pay_with_chanel_text
+
+
+
+; back
+
+
+
+ 375
+ 623
+ 331
+ 435
+ PictureDrink
+
+
+
+
+ 375
+ 623
+ eval(
+ If IsSmoRet = "true" Then
+ Var return = "Enable"
+ Else
+ Var return = "Invisible"
+ EndIf
+)
+
+ "ROOT/taobin_project/image/topping2/blender_icon.png"
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 0
+ 1065
+ 1080
+ Center
+ 72
+ KanitMediumTTF
+ 0xB78F24
+ showRemaining
+
+
+
+
+
+ 0
+ 938
+ 1080
+ Center
+ 72
+ KanitMediumTTF
+ 0x513C2F
+ showname
+
+
+
+ 0
+ 1022
+ 1080
+ Center
+ 24
+ KanitLightTTF
+ 0x6F5F51
+ showdesc
+
+
+
+
+ 0
+ 380
+ "Enable"
+ "ROOT/taobin_project/image/page_payment/alpha.png"
+
+
+
+
+
+ 735
+ 1374
+"usbfront"
+ 326
+ 235
+
+
+
+
+
+
+
+
diff --git a/xml/page_payment_cameraFailed.xml b/xml/page_payment_cameraFailed.xml
new file mode 100644
index 00000000..44bd9098
--- /dev/null
+++ b/xml/page_payment_cameraFailed.xml
@@ -0,0 +1,264 @@
+
+ "Enable"
+ 1080
+ 1920
+ "0xeae6e1"
+ SoundVolume
+
+
+ Var CamFlag = 0
+ Var CamCount = 0
+ Var Timeout = 0
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 1000
+
+
+ Var Timeout = Timeout + 1
+
+ If Timeout > 15 Then
+ Open "ROOT/taobin_project/xml/page_catalog.xml"
+ EndIf
+
+ Refresh
+ TimerReset
+
+
+
+
+
+
+ 144
+ 413
+ pay_with_chanel_text
+
+
+
+; back
+
+
+
+ 375
+ 623
+ 331
+ 435
+ PictureDrink
+
+
+
+
+ 375
+ 623
+ eval(
+ If IsSmoRet = "true" Then
+ Var return = "Enable"
+ Else
+ Var return = "Invisible"
+ EndIf
+)
+
+ "ROOT/taobin_project/image/topping2/blender_icon.png"
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 0
+ 1065
+ 1080
+ Center
+ 72
+ KanitMediumTTF
+ 0xB78F24
+ showRemaining
+
+
+
+
+
+ 0
+ 938
+ 1080
+ Center
+ 72
+ KanitMediumTTF
+ 0x513C2F
+ showname
+
+
+
+ 0
+ 1022
+ 1080
+ Center
+ 24
+ KanitLightTTF
+ 0x6F5F51
+ showdesc
+
+
+
+
+ 0
+ 380
+ "Enable"
+ "ROOT/taobin_project/image/page_payment/alpha.png"
+
+
+
+
+ 249
+ 751
+ "Enable"
+ Var( DirImage + "/img_popup4-3.png" )
+
+
+
+
+
+
+
diff --git a/xml/page_payment_cameraWait.xml b/xml/page_payment_cameraWait.xml
new file mode 100644
index 00000000..b2214139
--- /dev/null
+++ b/xml/page_payment_cameraWait.xml
@@ -0,0 +1,263 @@
+
+ "Enable"
+ 1080
+ 1920
+ "0xeae6e1"
+ SoundVolume
+
+
+ Var CamFlag = 0
+ Var CamCount = 0
+ Var Timeout = 0
+
+ Var LOADING_STATE = "Enable"
+
+
+
+
+
+
+ Var AdultFlag = 0
+ CoinVending XBILL
+ Open "ROOT/taobin_project/xml/page_payment_cash.xml"
+
+
+
+
+
+ Open "ROOT/taobin_project/xml/page_payment_cameraFailed.xml"
+
+
+
+
+ 1000
+
+
+ Var Timeout = Timeout + 1
+
+ If Timeout = 1 Then
+ facecompare 30
+ EndIf
+
+ If Timeout > 31 Then
+ Open "ROOT/taobin_project/xml/page_payment_cameraFailed.xml"
+ EndIf
+
+ Refresh
+ TimerReset
+
+
+
+
+
+
+ 144
+ 413
+ pay_with_chanel_text
+
+
+
+; back
+
+
+
+ 375
+ 623
+ 331
+ 435
+ PictureDrink
+
+
+
+
+ 375
+ 623
+ eval(
+ If IsSmoRet = "true" Then
+ Var return = "Enable"
+ Else
+ Var return = "Invisible"
+ EndIf
+)
+
+ "ROOT/taobin_project/image/topping2/blender_icon.png"
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 0
+ 1065
+ 1080
+ Center
+ 72
+ KanitMediumTTF
+ 0xB78F24
+ showRemaining
+
+
+
+
+
+ 0
+ 938
+ 1080
+ Center
+ 72
+ KanitMediumTTF
+ 0x513C2F
+ showname
+
+
+
+ 0
+ 1022
+ 1080
+ Center
+ 24
+ KanitLightTTF
+ 0x6F5F51
+ showdesc
+
+
+
+
+ 0
+ 380
+ "Enable"
+ "ROOT/taobin_project/image/page_payment/alpha.png"
+
+
+
+
+
+ 837
+ 1403
+ 94
+ 94
+ LOADING_STATE
+ Var( DirImage + "/loading.gif" )
+
+
+
+
diff --git a/xml/page_payment_cash.xml b/xml/page_payment_cash.xml
index 7cab1b46..99f630c2 100644
--- a/xml/page_payment_cash.xml
+++ b/xml/page_payment_cash.xml
@@ -11,6 +11,10 @@
READ_FILE "/mnt/sdcard/coffeevending/cash_disable" cash_disable
DEBUGVAR cash_disable
+ ;If AdultFlag = 1 Then
+ ; Open "ROOT/taobin_project/xml/page_payment_camera.xml"
+ ;EndIf
+
@@ -47,7 +51,6 @@
Var AdultFlag2 = 1
EndIf
-
Var ReqPayInfoFlag2 = 0
@@ -226,7 +229,7 @@
EndIf
- Var X_CASH = 60
+ Var X_CASH = 184
If RoadShow = "true" Then
Var X_CASH = 287
@@ -523,6 +526,19 @@
__CMD "prepar-cup-from-order" 0 "-" "-"
+ If ReqPayInfoFromCashOther = 1 Then
+ Var LOADING_STATE = "Enable"
+
+ Var FlagQROpened = 1
+ Var alphaState = "Enable"
+
+ VendingQR ON
+
+ Var ReqPayInfoFromCashOther = 0
+ EndIf
+
+ ;Open "ROOT/taobin_project/xml/page_page_camera.xml"
+
@@ -562,6 +578,9 @@
If ReqPayInfoFlag2 = 3 Then
Var Seeker.CampaignPayChanel = "true"
EndIf
+ If ReqPayInfoFlag2 = 4 Then
+ Var Seeker.CampaignPayChanel = "dolfin"
+ EndIf
@@ -641,6 +660,25 @@
EndIf
EndIf
+ If ReqPayInfoFlag = 4 Then
+ If VendingQRTypeResult = "DOL:2" Then
+ Var CashTextWarning = ""
+ Var QRErrorState = "Invisible"
+ Var QRCODE99Shoppy = SessionID
+ Var QRCODE99Shoppy = QRCODE99Shoppy + Ext1a
+ SAVELOG Ext1a
+ SAVELOG QRCODE99Shoppy
+ Var QRCODE99Shoppy = QRCODE99Shoppy + Ext21
+ Var ReqPayInfoFlag = 0
+ Var ReqPayInfoFlag2 = 4
+ SAVELOG QRCODE99Shoppy
+ SAVELOG Ext21
+
+ Var QRCODE99 = QRCODE99Shoppy
+ Var LOADING_STATE = "Invisible"
+ EndIf
+ EndIf
+
Else
Var PayInfoCFlag = 1
EndIf
@@ -671,6 +709,13 @@
Var LOADING_STATE = "Invisible"
EndIf
EndIf
+ If ReqPayInfoFlag = 4 Then
+ Var QRErrorFlag = 1
+ If alphaState = "Enable" Then
+ Var QRErrorState = "Enable"
+ Var LOADING_STATE = "Invisible"
+ EndIf
+ EndIf
Else
Var PayInfoCFlag = 1
EndIf
@@ -689,6 +734,16 @@
EndIf
+ If CamFlag = 1 Then
+ Var CamCount = CamCount + 1
+ If CamCount > 2 Then
+ facecompare 10
+ Var CamFlag = 0
+ Var CamCount = 0
+ EndIf
+ EndIf
+
+
If AdultState2 = "Enable" Then
Var countAdultS2 = countAdultS2 + 1
@@ -967,113 +1022,119 @@
DEBUGVAR IDCardData
DEBUGVAR IDBirthdate
- If AdultFlag2 = 1 Then
+ If CancelFlag = 0 Then
- If IDCardStatus = "OK" Then
- If IDCardReady = "OK" Then
- If IDCardData = "START" Then
+ If AdultFlag2 = 1 Then
- Var AdultState2 = "Enable"
- Var AdultState1 = "Invisible"
-
- Refresh
+ If IDCardStatus = "OK" Then
+ If IDCardReady = "OK" Then
+ If IDCardData = "START" Then
+
+ Var AdultState2 = "Enable"
+ Var AdultState1 = "Invisible"
+ Var AdultState3 = "Invisible"
+
+ Refresh
+ EndIf
EndIf
EndIf
- EndIf
- If IDCardStatus = "OK" Then
- If IDCardReady = "OK" Then
- If IDCardData = "ERROR" Then
- Var AdultState2 = "Invisible"
- Var AdultState3 = "Enable"
-
- Refresh
+ If IDCardStatus = "OK" Then
+ If IDCardReady = "OK" Then
+ If IDCardData = "ERROR" Then
+ Var AdultState2 = "Invisible"
+ Var AdultState3 = "Enable"
+
+ Refresh
+ EndIf
EndIf
EndIf
- EndIf
- If IDCardStatus = "ERROR" Then
- Var AdultState2 = "Invisible"
- Var AdultState3 = "Enable"
-
- Refresh
- EndIf
+ If IDCardStatus = "ERROR" Then
+ Var AdultState2 = "Invisible"
+ Var AdultState3 = "Enable"
+
+ Refresh
+ EndIf
- If IDCardStatus = "OK" Then
- If IDCardReady = "OK" Then
- If IDCardData = "DONE" Then
+ If IDCardStatus = "OK" Then
+ If IDCardReady = "OK" Then
+ If IDCardData = "DONE" Then
- ;Var birthDate = IDBirthdate
- Var StrYear = ""
- Var StrMon = ""
- Var StrDay = ""
+ ;Var birthDate = IDBirthdate
+ Var StrYear = ""
+ Var StrMon = ""
+ Var StrDay = ""
- SUBSTRING IDBirthdate 0 4 StrYear
- SUBSTRING IDBirthdate 4 6 StrMon
- SUBSTRING IDBirthdate 6 8 StrDay
+ SUBSTRING IDBirthdate 0 4 StrYear
+ SUBSTRING IDBirthdate 4 6 StrMon
+ SUBSTRING IDBirthdate 6 8 StrDay
- INT StrYear
- INT StrMon
- INT StrDay
+ INT StrYear
+ INT StrMon
+ INT StrDay
- Var Adult20 = 0
+ Var Adult20 = 0
- DEBUGVAR StrYear
- DEBUGVAR StrMon
- DEBUGVAR StrDay
+ DEBUGVAR StrYear
+ DEBUGVAR StrMon
+ DEBUGVAR StrDay
- DEBUGVAR sdatemonth
- DEBUGVAR sdateday
+ DEBUGVAR sdatemonth
+ DEBUGVAR sdateday
- Var sdateyear = sdateyear + 543
- Var AgeNumber = sdateyear - StrYear
- DEBUGVAR AgeNumber
+ Var sdateyear = sdateyear + 543
+ Var AgeNumber = sdateyear - StrYear
+ DEBUGVAR AgeNumber
- If AgeNumber >= 20 Then
+ If AgeNumber >= 20 Then
- If AgeNumber = 20 Then
- If sdatemonth > StrMon Then
- Var Adult20 = 1
- Else
- If sdatemonth = StrMon Then
- If sdateday >= StrDay Then
- Var Adult20 = 1
+ If AgeNumber = 20 Then
+ If sdatemonth > StrMon Then
+ Var Adult20 = 1
+ Else
+ If sdatemonth = StrMon Then
+ If sdateday >= StrDay Then
+ Var Adult20 = 1
+ EndIf
EndIf
EndIf
+ Else
+ Var Adult20 = 1
EndIf
+
+ If Adult20 = 1 Then
+ Var AdultState3 = "Invisible"
+ Var AdultState2 = "Invisible"
+ Var AdultState1 = "Invisible"
+ Var AdultState = "Invisible"
+ ;CoinVending XBILL
+ Open "ROOT/taobin_project/xml/page_payment_camera.xml"
+ Refresh
+
+ Else
+ Var AdultState2 = "Invisible"
+ Var AdultState3 = "Enable"
+ Refresh
+ EndIf
+
Else
- Var Adult20 = 1
+ Var AdultState2 = "Invisible"
+ Var AdultState3 = "Enable"
+ Refresh
EndIf
- If Adult20 = 1 Then
- Var AdultState3 = "Invisible"
- Var AdultState2 = "Invisible"
- Var AdultState1 = "Invisible"
- Var AdultState = "Invisible"
- CoinVending XBILL
- Refresh
-
- Else
- Var AdultState2 = "Invisible"
- Var AdultState3 = "Enable"
- Refresh
- EndIf
- Else
- Var AdultState2 = "Invisible"
- Var AdultState3 = "Enable"
- Refresh
+ Var AdultFlag2 = 1
+
EndIf
-
-
- Var AdultFlag2 = 1
-
EndIf
EndIf
- EndIf
+ EndIf
+
EndIf
@@ -1325,8 +1386,8 @@
+
+
+