SNAP 7.13
This commit is contained in:
parent
3552147575
commit
89cedc2d88
7 changed files with 45 additions and 236 deletions
Binary file not shown.
|
Before Width: | Height: | Size: 5.5 KiB After Width: | Height: | Size: 3.7 KiB |
|
|
@ -672,130 +672,7 @@
|
|||
|
||||
|
||||
|
||||
Var PromotionOreoVolcanoEnable = 0
|
||||
|
||||
If SystemDateMonthInt = 2 Then
|
||||
If SystemDateDayInt = 20 Then
|
||||
Var PromotionOreoVolcanoEnable = 1
|
||||
EndIf
|
||||
If SystemDateDayInt = 24 Then
|
||||
Var PromotionOreoVolcanoEnable = 1
|
||||
EndIf
|
||||
|
||||
If SystemDateDayInt = 27 Then
|
||||
Var PromotionOreoVolcanoEnable = 1
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If SystemDateMonthInt = 3 Then
|
||||
If SystemDateDayInt = 6 Then
|
||||
Var PromotionOreoVolcanoEnable = 1
|
||||
EndIf
|
||||
If SystemDateDayInt = 13 Then
|
||||
Var PromotionOreoVolcanoEnable = 1
|
||||
EndIf
|
||||
If SystemDateDayInt = 20 Then
|
||||
Var PromotionOreoVolcanoEnable = 1
|
||||
EndIf
|
||||
If SystemDateDayInt = 27 Then
|
||||
Var PromotionOreoVolcanoEnable = 1
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
Var PromotionOreoToppingFreeEnable = 0
|
||||
|
||||
If SystemDateMonthInt = 2 Then
|
||||
If SystemDateDayInt = 21 Then
|
||||
Var PromotionOreoToppingFreeEnable = 1
|
||||
EndIf
|
||||
If SystemDateDayInt = 24 Then
|
||||
Var PromotionOreoToppingFreeEnable = 1
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If SystemDateMonthInt = 3 Then
|
||||
If SystemDateDayInt = 1 Then
|
||||
Var PromotionOreoToppingFreeEnable = 1
|
||||
EndIf
|
||||
If SystemDateDayInt = 8 Then
|
||||
Var PromotionOreoToppingFreeEnable = 1
|
||||
EndIf
|
||||
If SystemDateDayInt = 15 Then
|
||||
Var PromotionOreoToppingFreeEnable = 1
|
||||
EndIf
|
||||
If SystemDateDayInt = 22 Then
|
||||
Var PromotionOreoToppingFreeEnable = 1
|
||||
EndIf
|
||||
If SystemDateDayInt = 29 Then
|
||||
Var PromotionOreoToppingFreeEnable = 1
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
Var ShowPromoitonOreo = 1
|
||||
|
||||
If SystemDateMonthInt = 3 Then
|
||||
If SystemDateDayInt = 30 Then
|
||||
Var ShowPromoitonOreo = 0
|
||||
EndIf
|
||||
If SystemDateDayInt = 31 Then
|
||||
Var ShowPromoitonOreo = 0
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If SystemDateMonthInt = 4 Then
|
||||
Var ShowPromoitonOreo = 0
|
||||
|
||||
EndIf
|
||||
If SystemDateMonthInt = 5 Then
|
||||
Var ShowPromoitonOreo = 0
|
||||
EndIf
|
||||
|
||||
;Var ShowPromoitonOreo = 0
|
||||
|
||||
If ShowPromoitonOreo = 0 Then
|
||||
Var PromotionOreoVolcanoEnable = 0
|
||||
Var PromotionOreoToppingFreeEnable = 0
|
||||
EndIf
|
||||
|
||||
|
||||
DEBUGVAR $12-03-03-0009.Button
|
||||
|
||||
If PromotionOreoVolcanoEnable = 1 Then
|
||||
Var bn_oreo_vo_get1_full_path = "ROOT/taobin_project/image/page_drink_picture2_n//bn_oreo_vo_get1_final.png"
|
||||
Var smoothie_oreo_resting = "ROOT/taobin_project/image/page_drink_n//bn_oreo_vo_get1_final.png"
|
||||
Var smoothie_oreo_press = "ROOT/taobin_project/image/page_drink_press_n//bn_oreo_vo_get1_final.png"
|
||||
Var smoothie_oreo_disable = "ROOT/taobin_project/image/page_drink_disable_n2//bn_oreo_vo_get1_final.png"
|
||||
|
||||
Else
|
||||
|
||||
Var smoothie_oreo_resting = "ROOT/taobin_project/image/page_drink_n//bn_smoothie_oreo.png"
|
||||
Var smoothie_oreo_press = "ROOT/taobin_project/image/page_drink_press_n//bn_smoothie_oreo.png"
|
||||
Var smoothie_oreo_disable = "ROOT/taobin_project/image/page_drink_disable_n2//bn_smoothie_oreo.png"
|
||||
Var bn_oreo_vo_get1_full_path = "ROOT/taobin_project/image/page_drink_picture2_n//bn_smoothie_oreo.png"
|
||||
EndIf
|
||||
|
||||
|
||||
Var PromotionIDCurrentOrder = 0
|
||||
If OreoEnable = "true" Then
|
||||
|
||||
Else
|
||||
Var PromotionOreoVolcanoEnable = 0
|
||||
Var PromotionOreoToppingFreeEnable = 0
|
||||
Var ShowPromoitonOreo = 0
|
||||
EndIf
|
||||
|
||||
Var SongkranEnable = 0
|
||||
If BoxID = 173149 Then
|
||||
Var SongkranEnable = 1
|
||||
Var PromotionOreoVolcanoEnable = 0
|
||||
Var PromotionOreoToppingFreeEnable = 0
|
||||
Var ShowPromoitonOreo = 0
|
||||
EndIf
|
||||
|
||||
If BoxID = 200001 Then
|
||||
Var SongkranEnable = 1
|
||||
EndIf
|
||||
|
||||
If SystemDateMonthInt = 4 Then
|
||||
If SystemDateDayInt > 7 Then
|
||||
|
|
@ -827,6 +704,7 @@
|
|||
Var CountDownCheckCamera = 0
|
||||
|
||||
DEBUGVAR EnableLiveness
|
||||
DEBUGVAR LivenessControlVersion
|
||||
|
||||
RootLayoutVisible 3 "hide"
|
||||
</EventOpen>
|
||||
|
|
|
|||
|
|
@ -8,100 +8,6 @@
|
|||
|
||||
Var PromotionOreoVolcanoEnable = 0
|
||||
|
||||
If SystemDateMonthInt = 2 Then
|
||||
If SystemDateDayInt = 20 Then
|
||||
Var PromotionOreoVolcanoEnable = 1
|
||||
EndIf
|
||||
If SystemDateDayInt = 24 Then
|
||||
Var PromotionOreoVolcanoEnable = 1
|
||||
EndIf
|
||||
|
||||
If SystemDateDayInt = 27 Then
|
||||
Var PromotionOreoVolcanoEnable = 1
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If SystemDateMonthInt = 3 Then
|
||||
If SystemDateDayInt = 6 Then
|
||||
Var PromotionOreoVolcanoEnable = 1
|
||||
EndIf
|
||||
If SystemDateDayInt = 13 Then
|
||||
Var PromotionOreoVolcanoEnable = 1
|
||||
EndIf
|
||||
If SystemDateDayInt = 20 Then
|
||||
Var PromotionOreoVolcanoEnable = 1
|
||||
EndIf
|
||||
If SystemDateDayInt = 27 Then
|
||||
Var PromotionOreoVolcanoEnable = 1
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
Var PromotionOreoToppingFreeEnable = 0
|
||||
|
||||
If SystemDateMonthInt = 2 Then
|
||||
If SystemDateDayInt = 21 Then
|
||||
Var PromotionOreoToppingFreeEnable = 1
|
||||
EndIf
|
||||
If SystemDateDayInt = 24 Then
|
||||
Var PromotionOreoToppingFreeEnable = 1
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If SystemDateMonthInt = 3 Then
|
||||
If SystemDateDayInt = 1 Then
|
||||
Var PromotionOreoToppingFreeEnable = 1
|
||||
EndIf
|
||||
If SystemDateDayInt = 8 Then
|
||||
Var PromotionOreoToppingFreeEnable = 1
|
||||
EndIf
|
||||
If SystemDateDayInt = 15 Then
|
||||
Var PromotionOreoToppingFreeEnable = 1
|
||||
EndIf
|
||||
If SystemDateDayInt = 22 Then
|
||||
Var PromotionOreoToppingFreeEnable = 1
|
||||
EndIf
|
||||
If SystemDateDayInt = 29 Then
|
||||
Var PromotionOreoToppingFreeEnable = 1
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
DEBUGVAR $12-03-03-0009.Button
|
||||
|
||||
If PromotionOreoVolcanoEnable = 1 Then
|
||||
Var bn_oreo_vo_get1_full_path = "ROOT/taobin_project/image/page_drink_picture2_n//bn_oreo_vo_get1_final.png"
|
||||
Var smoothie_oreo_resting = "ROOT/taobin_project/image/page_drink_n//bn_oreo_vo_get1_final.png"
|
||||
Var smoothie_oreo_press = "ROOT/taobin_project/image/page_drink_press_n//bn_oreo_vo_get1_final.png"
|
||||
Var smoothie_oreo_disable = "ROOT/taobin_project/image/page_drink_disable_n2//bn_oreo_vo_get1_final.png"
|
||||
|
||||
Else
|
||||
|
||||
Var smoothie_oreo_resting = "ROOT/taobin_project/image/page_drink_n//bn_smoothie_oreo.png"
|
||||
Var smoothie_oreo_press = "ROOT/taobin_project/image/page_drink_press_n//bn_smoothie_oreo.png"
|
||||
Var smoothie_oreo_disable = "ROOT/taobin_project/image/page_drink_disable_n2//bn_smoothie_oreo.png"
|
||||
Var bn_oreo_vo_get1_full_path = "ROOT/taobin_project/image/page_drink_picture2_n//bn_smoothie_oreo.png"
|
||||
EndIf
|
||||
|
||||
|
||||
Var PromotionIDCurrentOrder = 0
|
||||
|
||||
If SystemDateMonthInt = 3 Then
|
||||
If SystemDateDayInt = 30 Then
|
||||
Var ShowPromoitonOreo = 0
|
||||
EndIf
|
||||
If SystemDateDayInt = 31 Then
|
||||
Var ShowPromoitonOreo = 0
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If SystemDateMonthInt = 4 Then
|
||||
Var ShowPromoitonOreo = 0
|
||||
EndIf
|
||||
If SystemDateMonthInt = 5 Then
|
||||
Var ShowPromoitonOreo = 0
|
||||
EndIf
|
||||
|
||||
|
||||
If SpiralOnline = "true" Then
|
||||
If Seeker = "next" Then
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
<Background> "0xeae6e1" </Background>
|
||||
|
|
@ -9,7 +8,7 @@
|
|||
Var Timeout = 0
|
||||
|
||||
|
||||
Var IDcardTextStatus = "กรุณารอสักครู"
|
||||
Var IDcardTextStatus = "กำลังตรวจสอบ"
|
||||
Var FaceCompareStatus = ""
|
||||
Var load_gif_stage = "Enable"
|
||||
Var IDcardTextState = "Invisible"
|
||||
|
|
@ -32,7 +31,17 @@
|
|||
EndIf
|
||||
|
||||
|
||||
CameraCmd "usbfront" "--delete-file" "/mnt/sdcard/camera1.jpg"
|
||||
Var save_file_name = "pass_face_" + SystemDateMonth
|
||||
Var save_file_name = save_file_name + SystemDateDay
|
||||
Var save_file_name = save_file_name + SystemTimeHour
|
||||
Var save_file_name = save_file_name + SystemTimeMinute
|
||||
Var save_file_name = "/mnt/sdcard/" + save_file_name
|
||||
Var save_file_name = save_file_name + ".jpg"
|
||||
|
||||
Var save_file_name = "/mnt/sdcard/camera1.jpg," + save_file_name
|
||||
|
||||
|
||||
CameraCmd "usbfront" "--copy-file" save_file_name
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_payment.xml"
|
||||
|
||||
|
|
@ -53,7 +62,7 @@
|
|||
|
||||
Var save_file_name = "face_" + SystemDateMonth
|
||||
Var save_file_name = save_file_name + SystemDateDay
|
||||
Var save_file_name = save_file_name + SystemTimeMinute
|
||||
Var save_file_name = save_file_name + SystemTimeHour
|
||||
Var save_file_name = save_file_name + SystemTimeMinute
|
||||
Var save_file_name = "/mnt/sdcard/" + save_file_name
|
||||
Var save_file_name = save_file_name + ".jpg"
|
||||
|
|
@ -114,16 +123,25 @@
|
|||
</Image>
|
||||
|
||||
<Image>
|
||||
<X> 249 </X>
|
||||
<X> 123 </X>
|
||||
<Y> 598 </Y>
|
||||
<State> "Enable" </State>
|
||||
<Filename> "ROOT/taobin_project/image/liveness/bg2.png" </Filename>
|
||||
</Image>
|
||||
|
||||
|
||||
|
||||
<Image>
|
||||
<X> 350 </X>
|
||||
<Y> 751 </Y>
|
||||
<State> "Enable" </State>
|
||||
<Filename> "ROOT/taobin_project/image/liveness/bg1.png" </Filename>
|
||||
<Filename> "/mnt/sdcard/camera1.jpg" </Filename>
|
||||
</Image>
|
||||
|
||||
<Text>
|
||||
<X> 0 </X>
|
||||
<Y> 1050 </Y>
|
||||
<State> IDcardTextState </State>
|
||||
<Y> 602 </Y>
|
||||
<State> "Enable" </State>
|
||||
<Width> 1080</Width>
|
||||
<Align> Center </Align>
|
||||
<Size> 56 </Size>
|
||||
|
|
@ -164,12 +182,12 @@
|
|||
|
||||
|
||||
|
||||
<GIF>
|
||||
<X> 440 </X>
|
||||
<Y> 988 </Y>
|
||||
<State> load_gif_stage </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_payment/loading.gif"</Filename>
|
||||
</GIF>
|
||||
;<GIF>
|
||||
;<X> 440 </X>
|
||||
;<Y> 988 </Y>
|
||||
;<State> load_gif_stage </State>
|
||||
;<Filename> "ROOT/taobin_project/image/page_payment/loading.gif"</Filename>
|
||||
;</GIF>
|
||||
|
||||
<EventUnitTest1>
|
||||
EventEvaluate "EventActionOk"
|
||||
|
|
@ -177,5 +195,8 @@
|
|||
<EventUnitTest2>
|
||||
EventEvaluate "EventActionError"
|
||||
</EventUnitTest2>
|
||||
<EventUnitTest4>
|
||||
Open "ROOT/taobin_project/xml/page_catalog2.xml"
|
||||
</EventUnitTest4>
|
||||
|
||||
</Popup>
|
||||
|
|
|
|||
|
|
@ -223,6 +223,9 @@
|
|||
If LivenessResult = "pass" Then
|
||||
Var LivenessShowString = "Pass "
|
||||
Var load_gif_stage = "Enable"
|
||||
|
||||
CROP_IMAGE "/mnt/sdcard/camera1_alter.jpg" 170 230 380 500 "/mnt/sdcard/camera1.jpg"
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_face_compare.xml"
|
||||
EndIff
|
||||
|
||||
|
|
@ -309,14 +312,14 @@
|
|||
<Name>"usbfront"</Name>
|
||||
<Width> 800 </Width>
|
||||
<Height> 800 </Height>
|
||||
<LivenessParameterWhenOK> "FileName=/mnt/sdcard/camera1.jpg" </LivenessParameterWhenOK>
|
||||
<LivenessParameterWhenOK> "FileName=/mnt/sdcard/camera1_alter.jpg" </LivenessParameterWhenOK>
|
||||
</CameraX>
|
||||
|
||||
|
||||
|
||||
<Image>
|
||||
<X> 351 </X>
|
||||
<Y> 880 </Y>
|
||||
<X> 423 </X>
|
||||
<Y> 909 </Y>
|
||||
<State> CameraStage </State>
|
||||
<Filename> "ROOT/taobin_project/image/liveness/bg3.png" </Filename>
|
||||
</Image>
|
||||
|
|
|
|||
|
|
@ -113,6 +113,7 @@
|
|||
|
||||
DEBUGVAR AndroidBoardTemp10
|
||||
|
||||
|
||||
</EventOpen>
|
||||
<Timeout> 1000 </Timeout>
|
||||
<EventTimeout>
|
||||
|
|
|
|||
|
|
@ -108,8 +108,8 @@
|
|||
Var RandomPromotionMyworld = 0
|
||||
Var RandomSalePackage = 0
|
||||
|
||||
Var XMLPageVersion = "7.12"
|
||||
Var XMLPageVersionInt = 712
|
||||
Var XMLPageVersion = "7.13"
|
||||
Var XMLPageVersionInt = 713
|
||||
</EventOpen>
|
||||
|
||||
<Text>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue