sleep with video
BIN
image/sleepmode/btnlite.png
Normal file
|
After Width: | Height: | Size: 5.1 KiB |
BIN
image/sleepmode/btnlitebg.png
Normal file
|
After Width: | Height: | Size: 5.7 KiB |
BIN
image/sleepmode/sleepmodestaticbg.png
Normal file
|
After Width: | Height: | Size: 350 KiB |
BIN
image/sleepmode/waitingbtnlite.png
Normal file
|
After Width: | Height: | Size: 3.3 KiB |
14
inc/button_remove_cup.inc
Normal file
|
|
@ -0,0 +1,14 @@
|
||||||
|
<Button>
|
||||||
|
<X> btnRemoveCupX </X>
|
||||||
|
<Y> btnRemoveCupYNotPageBoard </Y>
|
||||||
|
<State> buttonRemoveCup </State>
|
||||||
|
;<Color> "0x00BDFF" </Color>
|
||||||
|
<Interval> 500 </Interval>
|
||||||
|
<Filename> bnRemoveCup </Filename>
|
||||||
|
<Filename> bpRemoveCup </Filename>
|
||||||
|
<EventClick>
|
||||||
|
Machine RemoveCup
|
||||||
|
Machine DoorLidOpen
|
||||||
|
Var buttonRemoveCup = "Invisible"
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
@ -107,8 +107,8 @@
|
||||||
If ProReducedPriceEnable = 1 Then
|
If ProReducedPriceEnable = 1 Then
|
||||||
Var DisplayAds = "/mnt/sdcard/coffeevending/taobin_project/inter/mys/adv/taobin_adv_menu_23.mp4"
|
Var DisplayAds = "/mnt/sdcard/coffeevending/taobin_project/inter/mys/adv/taobin_adv_menu_23.mp4"
|
||||||
EndIf
|
EndIf
|
||||||
If IgnoreProfileFromRunEV = 1 Then
|
If ProMelonEnable = 1 Then
|
||||||
Var DisplayAds = "/mnt/sdcard/coffeevending/taobin_project/inter/mys/adv/taobin_adv_menu_24.mp4"
|
Var DisplayAds = "/mnt/sdcard/coffeevending/taobin_project/inter/mys/adv/taobin_adv_menu_26.mp4"
|
||||||
EndIf
|
EndIf
|
||||||
If UseSlideShowVideo = 1 Then
|
If UseSlideShowVideo = 1 Then
|
||||||
Var DisplayAds = "/mnt/sdcard/coffeevending/taobin_project/inter/mys/adv/taobin_adv_menu_22.mp4"
|
Var DisplayAds = "/mnt/sdcard/coffeevending/taobin_project/inter/mys/adv/taobin_adv_menu_22.mp4"
|
||||||
|
|
@ -205,8 +205,8 @@
|
||||||
If ProReducedPriceEnable = 1 Then
|
If ProReducedPriceEnable = 1 Then
|
||||||
Var DisplayAds = "/mnt/sdcard/coffeevending/taobin_project/inter/mys/adv/taobin_adv_menu_23.mp4"
|
Var DisplayAds = "/mnt/sdcard/coffeevending/taobin_project/inter/mys/adv/taobin_adv_menu_23.mp4"
|
||||||
EndIf
|
EndIf
|
||||||
If IgnoreProfileFromRunEV = 1 Then
|
If ProMelonEnable = 1 Then
|
||||||
Var DisplayAds = "/mnt/sdcard/coffeevending/taobin_project/inter/mys/adv/taobin_adv_menu_24.mp4"
|
Var DisplayAds = "/mnt/sdcard/coffeevending/taobin_project/inter/mys/adv/taobin_adv_menu_26.mp4"
|
||||||
EndIf
|
EndIf
|
||||||
If UseSlideShowVideo = 1 Then
|
If UseSlideShowVideo = 1 Then
|
||||||
Var DisplayAds = "/mnt/sdcard/coffeevending/taobin_project/inter/mys/adv/taobin_adv_menu_22.mp4"
|
Var DisplayAds = "/mnt/sdcard/coffeevending/taobin_project/inter/mys/adv/taobin_adv_menu_22.mp4"
|
||||||
|
|
@ -311,8 +311,8 @@
|
||||||
If ProReducedPriceEnable = 1 Then
|
If ProReducedPriceEnable = 1 Then
|
||||||
Var DisplayAds = "/mnt/sdcard/coffeevending/taobin_project/inter/mys/adv/taobin_adv_menu_23.mp4"
|
Var DisplayAds = "/mnt/sdcard/coffeevending/taobin_project/inter/mys/adv/taobin_adv_menu_23.mp4"
|
||||||
EndIf
|
EndIf
|
||||||
If IgnoreProfileFromRunEV = 1 Then
|
If ProMelonEnable = 1 Then
|
||||||
Var DisplayAds = "/mnt/sdcard/coffeevending/taobin_project/inter/mys/adv/taobin_adv_menu_24.mp4"
|
Var DisplayAds = "/mnt/sdcard/coffeevending/taobin_project/inter/mys/adv/taobin_adv_menu_26.mp4"
|
||||||
EndIf
|
EndIf
|
||||||
If UseSlideShowVideo = 1 Then
|
If UseSlideShowVideo = 1 Then
|
||||||
Var DisplayAds = "/mnt/sdcard/coffeevending/taobin_project/inter/mys/adv/taobin_adv_menu_22.mp4"
|
Var DisplayAds = "/mnt/sdcard/coffeevending/taobin_project/inter/mys/adv/taobin_adv_menu_22.mp4"
|
||||||
|
|
@ -374,6 +374,10 @@
|
||||||
Var DisplayAds = "/mnt/sdcard/coffeevending/taobin_project/inter/mys/adv/taobin_adv_menu_24.mp4"
|
Var DisplayAds = "/mnt/sdcard/coffeevending/taobin_project/inter/mys/adv/taobin_adv_menu_24.mp4"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
If ProMelonEnable = 1 Then
|
||||||
|
Var DisplayAds = "/mnt/sdcard/coffeevending/taobin_project/inter/mys/adv/taobin_adv_menu_26.mp4"
|
||||||
|
EndIf
|
||||||
|
|
||||||
If UseSlideShowVideo = 1 Then
|
If UseSlideShowVideo = 1 Then
|
||||||
Var DisplayAds = "/mnt/sdcard/coffeevending/taobin_project/inter/mys/adv/taobin_adv_menu_22.mp4"
|
Var DisplayAds = "/mnt/sdcard/coffeevending/taobin_project/inter/mys/adv/taobin_adv_menu_22.mp4"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
|
||||||
BIN
inter/aus/image/catalog/bn_diy_FLYING_TURTLE.png
Normal file
|
After Width: | Height: | Size: 7.9 KiB |
BIN
inter/aus/image/catalog/bp_diy_FLYING_TURTLE.png
Normal file
|
After Width: | Height: | Size: 8.8 KiB |
BIN
inter/aus/image/main_page/bn_remove_cup.png
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
inter/aus/image/main_page/bp_remove_cup.png
Normal file
|
After Width: | Height: | Size: 20 KiB |
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 21 KiB |
|
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 20 KiB |
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
|
|
@ -12217,20 +12217,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<Button>
|
;include="ROOT/taobin_project/inc/button_remove_cup.inc"
|
||||||
<X> 780 </X>
|
|
||||||
<Y> 500 </Y>
|
|
||||||
<State> buttonRemoveCup </State>
|
|
||||||
;<Color> "0x00BDFF" </Color>
|
|
||||||
<Interval> 500 </Interval>
|
|
||||||
<Filename> "ROOT/taobin_project/image/main_page_inter/bn_remove_cup.png" </Filename>
|
|
||||||
<Filename> "ROOT/taobin_project/image/main_page_inter/bp_remove_cup.png" </Filename>
|
|
||||||
<EventClick>
|
|
||||||
Machine RemoveCup
|
|
||||||
Machine DoorLidOpen
|
|
||||||
Var buttonRemoveCup = "Invisible"
|
|
||||||
</EventClick>
|
|
||||||
</Button>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -12217,20 +12217,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<Button>
|
;include="ROOT/taobin_project/inc/button_remove_cup.inc"
|
||||||
<X> 780 </X>
|
|
||||||
<Y> 500 </Y>
|
|
||||||
<State> buttonRemoveCup </State>
|
|
||||||
;<Color> "0x00BDFF" </Color>
|
|
||||||
<Interval> 500 </Interval>
|
|
||||||
<Filename> "ROOT/taobin_project/image/main_page_inter/bn_remove_cup.png" </Filename>
|
|
||||||
<Filename> "ROOT/taobin_project/image/main_page_inter/bp_remove_cup.png" </Filename>
|
|
||||||
<EventClick>
|
|
||||||
Machine RemoveCup
|
|
||||||
Machine DoorLidOpen
|
|
||||||
Var buttonRemoveCup = "Invisible"
|
|
||||||
</EventClick>
|
|
||||||
</Button>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -12118,20 +12118,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<Button>
|
;include="ROOT/taobin_project/inc/button_remove_cup.inc"
|
||||||
<X> 780 </X>
|
|
||||||
<Y> 500 </Y>
|
|
||||||
<State> buttonRemoveCup </State>
|
|
||||||
;<Color> "0x00BDFF" </Color>
|
|
||||||
<Interval> 500 </Interval>
|
|
||||||
<Filename> "ROOT/taobin_project/image/main_page_inter/bn_remove_cup.png" </Filename>
|
|
||||||
<Filename> "ROOT/taobin_project/image/main_page_inter/bp_remove_cup.png" </Filename>
|
|
||||||
<EventClick>
|
|
||||||
Machine RemoveCup
|
|
||||||
Machine DoorLidOpen
|
|
||||||
Var buttonRemoveCup = "Invisible"
|
|
||||||
</EventClick>
|
|
||||||
</Button>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -13063,20 +13063,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<Button>
|
;include="ROOT/taobin_project/inc/button_remove_cup.inc"
|
||||||
<X> 780 </X>
|
|
||||||
<Y> 500 </Y>
|
|
||||||
<State> buttonRemoveCup </State>
|
|
||||||
;<Color> "0x00BDFF" </Color>
|
|
||||||
<Interval> 500 </Interval>
|
|
||||||
<Filename> "ROOT/taobin_project/image/main_page_inter/bn_remove_cup.png" </Filename>
|
|
||||||
<Filename> "ROOT/taobin_project/image/main_page_inter/bp_remove_cup.png" </Filename>
|
|
||||||
<EventClick>
|
|
||||||
Machine RemoveCup
|
|
||||||
Machine DoorLidOpen
|
|
||||||
Var buttonRemoveCup = "Invisible"
|
|
||||||
</EventClick>
|
|
||||||
</Button>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -12217,20 +12217,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<Button>
|
;include="ROOT/taobin_project/inc/button_remove_cup.inc"
|
||||||
<X> 780 </X>
|
|
||||||
<Y> 500 </Y>
|
|
||||||
<State> buttonRemoveCup </State>
|
|
||||||
;<Color> "0x00BDFF" </Color>
|
|
||||||
<Interval> 500 </Interval>
|
|
||||||
<Filename> Var(RootPath + "image/main_page_inter/bn_remove_cup.png") </Filename>
|
|
||||||
<Filename> Var(RootPath + "image/main_page_inter/bp_remove_cup.png") </Filename>
|
|
||||||
<EventClick>
|
|
||||||
Machine RemoveCup
|
|
||||||
Machine DoorLidOpen
|
|
||||||
Var buttonRemoveCup = "Invisible"
|
|
||||||
</EventClick>
|
|
||||||
</Button>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -5515,20 +5515,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<Button>
|
;include="ROOT/taobin_project/inc/button_remove_cup.inc"
|
||||||
<X> 780 </X>
|
|
||||||
<Y> 500 </Y>
|
|
||||||
<State> buttonRemoveCup </State>
|
|
||||||
;<Color> "0x00BDFF" </Color>
|
|
||||||
<Interval> 500 </Interval>
|
|
||||||
<Filename> "ROOT/taobin_project/image/main_page_inter/bn_remove_cup.png" </Filename>
|
|
||||||
<Filename> "ROOT/taobin_project/image/main_page_inter/bp_remove_cup.png" </Filename>
|
|
||||||
<EventClick>
|
|
||||||
Machine RemoveCup
|
|
||||||
Machine DoorLidOpen
|
|
||||||
Var buttonRemoveCup = "Invisible"
|
|
||||||
</EventClick>
|
|
||||||
</Button>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -5515,20 +5515,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<Button>
|
;include="ROOT/taobin_project/inc/button_remove_cup.inc"
|
||||||
<X> 780 </X>
|
|
||||||
<Y> 500 </Y>
|
|
||||||
<State> buttonRemoveCup </State>
|
|
||||||
;<Color> "0x00BDFF" </Color>
|
|
||||||
<Interval> 500 </Interval>
|
|
||||||
<Filename> "ROOT/taobin_project/image/main_page_inter/bn_remove_cup.png" </Filename>
|
|
||||||
<Filename> "ROOT/taobin_project/image/main_page_inter/bp_remove_cup.png" </Filename>
|
|
||||||
<EventClick>
|
|
||||||
Machine RemoveCup
|
|
||||||
Machine DoorLidOpen
|
|
||||||
Var buttonRemoveCup = "Invisible"
|
|
||||||
</EventClick>
|
|
||||||
</Button>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -12118,20 +12118,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<Button>
|
;include="ROOT/taobin_project/inc/button_remove_cup.inc"
|
||||||
<X> 780 </X>
|
|
||||||
<Y> 500 </Y>
|
|
||||||
<State> buttonRemoveCup </State>
|
|
||||||
;<Color> "0x00BDFF" </Color>
|
|
||||||
<Interval> 500 </Interval>
|
|
||||||
<Filename> "ROOT/taobin_project/image/main_page_inter/bn_remove_cup.png" </Filename>
|
|
||||||
<Filename> "ROOT/taobin_project/image/main_page_inter/bp_remove_cup.png" </Filename>
|
|
||||||
<EventClick>
|
|
||||||
Machine RemoveCup
|
|
||||||
Machine DoorLidOpen
|
|
||||||
Var buttonRemoveCup = "Invisible"
|
|
||||||
</EventClick>
|
|
||||||
</Button>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -12118,20 +12118,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<Button>
|
;include="ROOT/taobin_project/inc/button_remove_cup.inc"
|
||||||
<X> 780 </X>
|
|
||||||
<Y> 500 </Y>
|
|
||||||
<State> buttonRemoveCup </State>
|
|
||||||
;<Color> "0x00BDFF" </Color>
|
|
||||||
<Interval> 500 </Interval>
|
|
||||||
<Filename> "ROOT/taobin_project/image/main_page_inter/bn_remove_cup.png" </Filename>
|
|
||||||
<Filename> "ROOT/taobin_project/image/main_page_inter/bp_remove_cup.png" </Filename>
|
|
||||||
<EventClick>
|
|
||||||
Machine RemoveCup
|
|
||||||
Machine DoorLidOpen
|
|
||||||
Var buttonRemoveCup = "Invisible"
|
|
||||||
</EventClick>
|
|
||||||
</Button>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -45,20 +45,7 @@
|
||||||
;include="ROOT/taobin_project/inter/aus/xml/menu_catalog_new.lxml"
|
;include="ROOT/taobin_project/inter/aus/xml/menu_catalog_new.lxml"
|
||||||
|
|
||||||
|
|
||||||
<Button>
|
;include="ROOT/taobin_project/inc/button_remove_cup.inc"
|
||||||
<X> 780 </X>
|
|
||||||
<Y> 500 </Y>
|
|
||||||
<State> buttonRemoveCup </State>
|
|
||||||
;<Color> "0x00BDFF" </Color>
|
|
||||||
<Interval> 500 </Interval>
|
|
||||||
<Filename> "ROOT/taobin_project/image/main_page/bn_remove_cup.png" </Filename>
|
|
||||||
<Filename> "ROOT/taobin_project/image/main_page/bp_remove_cup.png" </Filename>
|
|
||||||
<EventClick>
|
|
||||||
Machine RemoveCup
|
|
||||||
Machine DoorLidOpen
|
|
||||||
Var buttonRemoveCup = "Invisible"
|
|
||||||
</EventClick>
|
|
||||||
</Button>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -49,20 +49,7 @@
|
||||||
<?hurr
|
<?hurr
|
||||||
#include=menu_new_layout_gen_v2.py
|
#include=menu_new_layout_gen_v2.py
|
||||||
?>
|
?>
|
||||||
<Button>
|
;include="ROOT/taobin_project/inc/button_remove_cup.inc"
|
||||||
<X> 780 </X>
|
|
||||||
<Y> 500 </Y>
|
|
||||||
<State> buttonRemoveCup </State>
|
|
||||||
;<Color> "0x00BDFF" </Color>
|
|
||||||
<Interval> 500 </Interval>
|
|
||||||
<Filename> "ROOT/taobin_project/image/main_page/bn_remove_cup.png" </Filename>
|
|
||||||
<Filename> "ROOT/taobin_project/image/main_page/bp_remove_cup.png" </Filename>
|
|
||||||
<EventClick>
|
|
||||||
Machine RemoveCup
|
|
||||||
Machine DoorLidOpen
|
|
||||||
Var buttonRemoveCup = "Invisible"
|
|
||||||
</EventClick>
|
|
||||||
</Button>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -26,6 +26,7 @@
|
||||||
Var web_telnumOK = ""
|
Var web_telnumOK = ""
|
||||||
|
|
||||||
Var PicturePath = "/mnt/sdcard/coffeevending/taobin_project/image/page_doing/"
|
Var PicturePath = "/mnt/sdcard/coffeevending/taobin_project/image/page_doing/"
|
||||||
|
Var PicturePathAUS = "/mnt/sdcard/coffeevending/taobin_project/inter/aus/image/catalog/"
|
||||||
|
|
||||||
If CocktailShow = "true" Then
|
If CocktailShow = "true" Then
|
||||||
Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog_cocktail.xml"
|
Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog_cocktail.xml"
|
||||||
|
|
@ -337,8 +338,8 @@
|
||||||
<Button>
|
<Button>
|
||||||
<X> 220 </X>
|
<X> 220 </X>
|
||||||
<Y> 844 </Y>
|
<Y> 844 </Y>
|
||||||
<Filename> Var(DirImage + "/bn_diy.png") </Filename>
|
<Filename> Var(PicturePathAUS + "/bn_diy_FLYING_TURTLE.png") </Filename>
|
||||||
<FilenamePress> Var(DirImage + "/bp_diy.png") </FilenamePress>
|
<FilenamePress> Var(PicturePathAUS + "/bp_diy_FLYING_TURTLE.png") </FilenamePress>
|
||||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
<Volume> SoundVolume </Volume>
|
<Volume> SoundVolume </Volume>
|
||||||
<EventClick>
|
<EventClick>
|
||||||
|
|
@ -679,23 +680,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<Button>
|
;include="ROOT/taobin_project/inc/button_remove_cup.inc"
|
||||||
<X> 780 </X>
|
|
||||||
<Y> 500 </Y>
|
|
||||||
<State> buttonRemoveCup </State>
|
|
||||||
;<Color> "0x00BDFF" </Color>
|
|
||||||
<Interval> 500 </Interval>
|
|
||||||
<Filename> Var(RootPath + "image/main_page_inter/bn_remove_cup.png") </Filename>
|
|
||||||
<Filename> Var(RootPath + "image/main_page_inter/bp_remove_cup.png") </Filename>
|
|
||||||
<EventClick>
|
|
||||||
Machine RemoveCup
|
|
||||||
Machine DoorLidOpen
|
|
||||||
|
|
||||||
Var CheckCupStateDoorCupClose = "reset"
|
|
||||||
Var buttonRemoveCup = "Invisible"
|
|
||||||
|
|
||||||
</EventClick>
|
|
||||||
</Button>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -702,23 +702,7 @@
|
||||||
</Image>
|
</Image>
|
||||||
|
|
||||||
|
|
||||||
<Button>
|
;include="ROOT/taobin_project/inc/button_remove_cup.inc"
|
||||||
<X> 780 </X>
|
|
||||||
<Y> 500 </Y>
|
|
||||||
<State> buttonRemoveCup </State>
|
|
||||||
;<Color> "0x00BDFF" </Color>
|
|
||||||
<Interval> 500 </Interval>
|
|
||||||
<Filename> Var(RootPath + "image/main_page_inter/bn_remove_cup.png") </Filename>
|
|
||||||
<Filename> Var(RootPath + "image/main_page_inter/bp_remove_cup.png") </Filename>
|
|
||||||
<EventClick>
|
|
||||||
Machine RemoveCup
|
|
||||||
Machine DoorLidOpen
|
|
||||||
|
|
||||||
Var CheckCupStateDoorCupClose = "reset"
|
|
||||||
Var buttonRemoveCup = "Invisible"
|
|
||||||
|
|
||||||
</EventClick>
|
|
||||||
</Button>
|
|
||||||
|
|
||||||
<EventUnitTest1>
|
<EventUnitTest1>
|
||||||
Var StrawGetMoreState = "Invisible"
|
Var StrawGetMoreState = "Invisible"
|
||||||
|
|
|
||||||
|
|
@ -1,49 +1,49 @@
|
||||||
|
|
||||||
|
|
||||||
<Popup>
|
<Popup>
|
||||||
<Cache> "Enable" </Cache>
|
<Cache> "Enable" </Cache>
|
||||||
<Width> 1080 </Width>
|
<Width> 1080 </Width>
|
||||||
<Height> 1920 </Height>
|
<Height> 1920 </Height>
|
||||||
;<Background> "0xeae6e1" </Background>
|
;<Background> "0xeae6e1" </Background>
|
||||||
<Volume> SoundVolume </Volume>
|
<Volume> SoundVolume </Volume>
|
||||||
<EventOpen>
|
<EventOpen>
|
||||||
; On open
|
; On open
|
||||||
;include="ROOT/taobin_project/inter/aus/xml/menu_catalog_default_init.lxml"
|
;include="ROOT/taobin_project/inter/aus/xml/menu_catalog_default_init.lxml"
|
||||||
|
|
||||||
Var Menu1Selected = "PressForever"
|
Var Menu1Selected = "PressForever"
|
||||||
|
|
||||||
Var OreoBigButtonEnable = "Enable"
|
Var OreoBigButtonEnable = "Enable"
|
||||||
|
|
||||||
If $12-01-01-0001.Button = "Invisible" Then
|
If $12-01-01-0001.Button = "Invisible" Then
|
||||||
Var esp102101001Enable = "Invisible"
|
Var esp102101001Enable = "Invisible"
|
||||||
Var esp122101001Enable = "Enable"
|
Var esp122101001Enable = "Enable"
|
||||||
|
|
||||||
Else
|
Else
|
||||||
Var esp102101001Enable = "Enable"
|
Var esp102101001Enable = "Enable"
|
||||||
Var esp122101001Enable = "Invisible"
|
Var esp122101001Enable = "Invisible"
|
||||||
|
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
SAVELOG PreviseXMLFileName2
|
SAVELOG PreviseXMLFileName2
|
||||||
|
|
||||||
Var Timeout = 0
|
Var Timeout = 0
|
||||||
|
|
||||||
If show_eng = "true" Then
|
If show_eng = "true" Then
|
||||||
|
|
||||||
Var text_unavailable = "UNAVAILABLE###size=16"
|
Var text_unavailable = "UNAVAILABLE###size=16"
|
||||||
Else
|
Else
|
||||||
Var text_unavailable = "หมด###size=32"
|
Var text_unavailable = "หมด###size=32"
|
||||||
|
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
;include="ROOT/taobin_project/inter/aus/xml/menu_catalog_new_menu.lxml"
|
;include="ROOT/taobin_project/inter/aus/xml/menu_catalog_new_menu.lxml"
|
||||||
|
|
||||||
|
|
||||||
</EventOpen>
|
</EventOpen>
|
||||||
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/inter/aus/xml/menu_catalog_new.lxml"
|
;include="ROOT/taobin_project/inter/aus/xml/menu_catalog_new.lxml"
|
||||||
|
|
||||||
<FrameScroll>
|
<FrameScroll>
|
||||||
<Max> 16 </Max>
|
<Max> 16 </Max>
|
||||||
<X> 10 </X>
|
<X> 10 </X>
|
||||||
|
|
@ -5505,28 +5505,28 @@
|
||||||
Open "ROOT/taobin_project/xml/page_payment_multi.xml"
|
Open "ROOT/taobin_project/xml/page_payment_multi.xml"
|
||||||
</EventClick>
|
</EventClick>
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<Button>
|
<Button>
|
||||||
<X> 780 </X>
|
<X> btnRemoveCupX </X>
|
||||||
<Y> 500 </Y>
|
<Y> btnRemoveCupYNotPageBoard </Y>
|
||||||
<State> buttonRemoveCup </State>
|
<State> buttonRemoveCup </State>
|
||||||
;<Color> "0x00BDFF" </Color>
|
;<Color> "0x00BDFF" </Color>
|
||||||
<Interval> 500 </Interval>
|
<Interval> 500 </Interval>
|
||||||
<Filename> "ROOT/taobin_project/image/main_page_inter/bn_remove_cup.png" </Filename>
|
<Filename> bnRemoveCup </Filename>
|
||||||
<Filename> "ROOT/taobin_project/image/main_page_inter/bp_remove_cup.png" </Filename>
|
<Filename> bpRemoveCup </Filename>
|
||||||
<EventClick>
|
<EventClick>
|
||||||
Machine RemoveCup
|
Machine RemoveCup
|
||||||
Machine DoorLidOpen
|
Machine DoorLidOpen
|
||||||
Var buttonRemoveCup = "Invisible"
|
Var buttonRemoveCup = "Invisible"
|
||||||
</EventClick>
|
</EventClick>
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
;BigLogoLayout
|
;BigLogoLayout
|
||||||
|
|
||||||
</Popup>
|
</Popup>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -53,20 +53,7 @@
|
||||||
#include=menu_new_layout_gen.py
|
#include=menu_new_layout_gen.py
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<Button>
|
;include="ROOT/taobin_project/inc/button_remove_cup.inc"
|
||||||
<X> 780 </X>
|
|
||||||
<Y> 500 </Y>
|
|
||||||
<State> buttonRemoveCup </State>
|
|
||||||
;<Color> "0x00BDFF" </Color>
|
|
||||||
<Interval> 500 </Interval>
|
|
||||||
<Filename> "ROOT/taobin_project/image/main_page_inter/bn_remove_cup.png" </Filename>
|
|
||||||
<Filename> "ROOT/taobin_project/image/main_page_inter/bp_remove_cup.png" </Filename>
|
|
||||||
<EventClick>
|
|
||||||
Machine RemoveCup
|
|
||||||
Machine DoorLidOpen
|
|
||||||
Var buttonRemoveCup = "Invisible"
|
|
||||||
</EventClick>
|
|
||||||
</Button>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -697,23 +697,7 @@
|
||||||
</Image>
|
</Image>
|
||||||
|
|
||||||
|
|
||||||
<Button>
|
;include="ROOT/taobin_project/inc/button_remove_cup.inc"
|
||||||
<X> 780 </X>
|
|
||||||
<Y> 500 </Y>
|
|
||||||
<State> buttonRemoveCup </State>
|
|
||||||
;<Color> "0x00BDFF" </Color>
|
|
||||||
<Interval> 500 </Interval>
|
|
||||||
<Filename> Var(RootPath + "image/main_page_inter/bn_remove_cup.png") </Filename>
|
|
||||||
<Filename> Var(RootPath + "image/main_page_inter/bp_remove_cup.png") </Filename>
|
|
||||||
<EventClick>
|
|
||||||
Machine RemoveCup
|
|
||||||
Machine DoorLidOpen
|
|
||||||
|
|
||||||
Var CheckCupStateDoorCupClose = "reset"
|
|
||||||
Var buttonRemoveCup = "Invisible"
|
|
||||||
|
|
||||||
</EventClick>
|
|
||||||
</Button>
|
|
||||||
|
|
||||||
<EventUnitTest1>
|
<EventUnitTest1>
|
||||||
Var StrawGetMoreState = "Invisible"
|
Var StrawGetMoreState = "Invisible"
|
||||||
|
|
|
||||||
BIN
inter/common/image/main_page/bn_remove_cup_beeg_af.png
Normal file
|
After Width: | Height: | Size: 38 KiB |
BIN
inter/common/image/main_page/bp_remove_cup_beeg_af.png
Normal file
|
After Width: | Height: | Size: 53 KiB |
|
|
@ -12217,20 +12217,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<Button>
|
;include="ROOT/taobin_project/inc/button_remove_cup.inc"
|
||||||
<X> 780 </X>
|
|
||||||
<Y> 500 </Y>
|
|
||||||
<State> buttonRemoveCup </State>
|
|
||||||
;<Color> "0x00BDFF" </Color>
|
|
||||||
<Interval> 500 </Interval>
|
|
||||||
<Filename> "ROOT/taobin_project/image/main_page_inter/bn_remove_cup.png" </Filename>
|
|
||||||
<Filename> "ROOT/taobin_project/image/main_page_inter/bp_remove_cup.png" </Filename>
|
|
||||||
<EventClick>
|
|
||||||
Machine RemoveCup
|
|
||||||
Machine DoorLidOpen
|
|
||||||
Var buttonRemoveCup = "Invisible"
|
|
||||||
</EventClick>
|
|
||||||
</Button>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -12217,20 +12217,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<Button>
|
;include="ROOT/taobin_project/inc/button_remove_cup.inc"
|
||||||
<X> 780 </X>
|
|
||||||
<Y> 500 </Y>
|
|
||||||
<State> buttonRemoveCup </State>
|
|
||||||
;<Color> "0x00BDFF" </Color>
|
|
||||||
<Interval> 500 </Interval>
|
|
||||||
<Filename> "ROOT/taobin_project/image/main_page_inter/bn_remove_cup.png" </Filename>
|
|
||||||
<Filename> "ROOT/taobin_project/image/main_page_inter/bp_remove_cup.png" </Filename>
|
|
||||||
<EventClick>
|
|
||||||
Machine RemoveCup
|
|
||||||
Machine DoorLidOpen
|
|
||||||
Var buttonRemoveCup = "Invisible"
|
|
||||||
</EventClick>
|
|
||||||
</Button>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -12217,20 +12217,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<Button>
|
;include="ROOT/taobin_project/inc/button_remove_cup.inc"
|
||||||
<X> 780 </X>
|
|
||||||
<Y> 500 </Y>
|
|
||||||
<State> buttonRemoveCup </State>
|
|
||||||
;<Color> "0x00BDFF" </Color>
|
|
||||||
<Interval> 500 </Interval>
|
|
||||||
<Filename> Var(RootPath + "image/main_page_inter/bn_remove_cup.png") </Filename>
|
|
||||||
<Filename> Var(RootPath + "image/main_page_inter/bp_remove_cup.png") </Filename>
|
|
||||||
<EventClick>
|
|
||||||
Machine RemoveCup
|
|
||||||
Machine DoorLidOpen
|
|
||||||
Var buttonRemoveCup = "Invisible"
|
|
||||||
</EventClick>
|
|
||||||
</Button>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2487,20 +2487,7 @@ eval(
|
||||||
|
|
||||||
;BigLogoLayout
|
;BigLogoLayout
|
||||||
|
|
||||||
<Button>
|
;include="ROOT/taobin_project/inc/button_remove_cup.inc"
|
||||||
<X> 780 </X>
|
|
||||||
<Y> 500 </Y>
|
|
||||||
<State> buttonRemoveCup </State>
|
|
||||||
;<Color> "0x00BDFF" </Color>
|
|
||||||
<Interval> 500 </Interval>
|
|
||||||
<Filename> Var(RootPath + "image/main_page_inter/bn_remove_cup.png") </Filename>
|
|
||||||
<Filename> Var(RootPath + "image/main_page_inter/bp_remove_cup.png") </Filename>
|
|
||||||
<EventClick>
|
|
||||||
Machine RemoveCup
|
|
||||||
Machine DoorLidOpen
|
|
||||||
Var buttonRemoveCup = "Invisible"
|
|
||||||
</EventClick>
|
|
||||||
</Button>
|
|
||||||
|
|
||||||
</Popup>
|
</Popup>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2487,20 +2487,7 @@ eval(
|
||||||
|
|
||||||
;BigLogoLayout
|
;BigLogoLayout
|
||||||
|
|
||||||
<Button>
|
;include="ROOT/taobin_project/inc/button_remove_cup.inc"
|
||||||
<X> 780 </X>
|
|
||||||
<Y> 500 </Y>
|
|
||||||
<State> buttonRemoveCup </State>
|
|
||||||
;<Color> "0x00BDFF" </Color>
|
|
||||||
<Interval> 500 </Interval>
|
|
||||||
<Filename> Var(RootPath + "image/main_page_inter/bn_remove_cup.png") </Filename>
|
|
||||||
<Filename> Var(RootPath + "image/main_page_inter/bp_remove_cup.png") </Filename>
|
|
||||||
<EventClick>
|
|
||||||
Machine RemoveCup
|
|
||||||
Machine DoorLidOpen
|
|
||||||
Var buttonRemoveCup = "Invisible"
|
|
||||||
</EventClick>
|
|
||||||
</Button>
|
|
||||||
|
|
||||||
</Popup>
|
</Popup>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2462,20 +2462,7 @@ eval(
|
||||||
|
|
||||||
;BigLogoLayout
|
;BigLogoLayout
|
||||||
|
|
||||||
<Button>
|
;include="ROOT/taobin_project/inc/button_remove_cup.inc"
|
||||||
<X> 780 </X>
|
|
||||||
<Y> 500 </Y>
|
|
||||||
<State> buttonRemoveCup </State>
|
|
||||||
;<Color> "0x00BDFF" </Color>
|
|
||||||
<Interval> 500 </Interval>
|
|
||||||
<Filename> Var(RootPath + "image/main_page_inter/bn_remove_cup.png") </Filename>
|
|
||||||
<Filename> Var(RootPath + "image/main_page_inter/bp_remove_cup.png") </Filename>
|
|
||||||
<EventClick>
|
|
||||||
Machine RemoveCup
|
|
||||||
Machine DoorLidOpen
|
|
||||||
Var buttonRemoveCup = "Invisible"
|
|
||||||
</EventClick>
|
|
||||||
</Button>
|
|
||||||
|
|
||||||
</Popup>
|
</Popup>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -59,20 +59,7 @@
|
||||||
#include=menu_new_layout_gen.py
|
#include=menu_new_layout_gen.py
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<Button>
|
;include="ROOT/taobin_project/inc/button_remove_cup.inc"
|
||||||
<X> 780 </X>
|
|
||||||
<Y> 500 </Y>
|
|
||||||
<State> buttonRemoveCup </State>
|
|
||||||
;<Color> "0x00BDFF" </Color>
|
|
||||||
<Interval> 500 </Interval>
|
|
||||||
<Filename> Var(RootPath + "image/main_page_inter/bn_remove_cup.png") </Filename>
|
|
||||||
<Filename> Var(RootPath + "image/main_page_inter/bp_remove_cup.png") </Filename>
|
|
||||||
<EventClick>
|
|
||||||
Machine RemoveCup
|
|
||||||
Machine DoorLidOpen
|
|
||||||
Var buttonRemoveCup = "Invisible"
|
|
||||||
</EventClick>
|
|
||||||
</Button>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,212 +1,212 @@
|
||||||
|
|
||||||
|
|
||||||
<Popup>
|
<Popup>
|
||||||
<Cache> "Enable" </Cache>
|
<Cache> "Enable" </Cache>
|
||||||
<Width> 1080 </Width>
|
<Width> 1080 </Width>
|
||||||
<Height> 1920 </Height>
|
<Height> 1920 </Height>
|
||||||
;<Background> "0xeae6e1" </Background>
|
;<Background> "0xeae6e1" </Background>
|
||||||
<Volume> SoundVolume </Volume>
|
<Volume> SoundVolume </Volume>
|
||||||
<EventOpen>
|
<EventOpen>
|
||||||
; On open
|
; On open
|
||||||
Var NextPage = "-"
|
Var NextPage = "-"
|
||||||
|
|
||||||
DEBUGVAR ICE_PROCESS_STATUS
|
DEBUGVAR ICE_PROCESS_STATUS
|
||||||
DEBUGVAR ICE_PROCESS_TXT
|
DEBUGVAR ICE_PROCESS_TXT
|
||||||
|
|
||||||
|
|
||||||
DEBUGVAR LanguageShow
|
DEBUGVAR LanguageShow
|
||||||
DEBUGVAR CountryName
|
DEBUGVAR CountryName
|
||||||
|
|
||||||
If LanguageShow = "ENG" Then
|
If LanguageShow = "ENG" Then
|
||||||
Var DirImage2 = "ROOT/taobin_project/image/drink_option_en/"
|
Var DirImage2 = "ROOT/taobin_project/image/drink_option_en/"
|
||||||
Var DirImageAlter = "ROOT/taobin_project/image/page3_2_en/"
|
Var DirImageAlter = "ROOT/taobin_project/image/page3_2_en/"
|
||||||
Var DirImage = "ROOT/taobin_project/image/page3_en"
|
Var DirImage = "ROOT/taobin_project/image/page3_en"
|
||||||
Var ice_tab_text = "Ice will be ready at "
|
Var ice_tab_text = "Ice will be ready at "
|
||||||
|
|
||||||
EndIf
|
EndIf
|
||||||
If LanguageShow = "THAI" Then
|
If LanguageShow = "THAI" Then
|
||||||
Var DirImage2 = "ROOT/taobin_project/image/drink_option/"
|
Var DirImage2 = "ROOT/taobin_project/image/drink_option/"
|
||||||
Var DirImageAlter = "ROOT/taobin_project/image/page3_2/"
|
Var DirImageAlter = "ROOT/taobin_project/image/page3_2/"
|
||||||
Var ice_tab_text = "น้ำแข็งจะพร้อมเวลา "
|
Var ice_tab_text = "น้ำแข็งจะพร้อมเวลา "
|
||||||
Var DirImage = "ROOT/taobin_project/image/page3"
|
Var DirImage = "ROOT/taobin_project/image/page3"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
;inter-image
|
;inter-image
|
||||||
If CountryName = "Malaysia" Then
|
If CountryName = "Malaysia" Then
|
||||||
Var DirImage2 = "ROOT/taobin_project/image/drink_option_myr/"
|
Var DirImage2 = "ROOT/taobin_project/image/drink_option_myr/"
|
||||||
Var DirImageAlter = "ROOT/taobin_project/image/page3_2_en/"
|
Var DirImageAlter = "ROOT/taobin_project/image/page3_2_en/"
|
||||||
Var DirImage = "ROOT/taobin_project/image/page3_en"
|
Var DirImage = "ROOT/taobin_project/image/page3_en"
|
||||||
Var ice_tab_text = "Ice will be ready at "
|
Var ice_tab_text = "Ice will be ready at "
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
;inter-image
|
;inter-image
|
||||||
If CountryName = "Australia" Then
|
If CountryName = "Australia" Then
|
||||||
Var DirImage2 = "ROOT/taobin_project/image/drink_option_myr/"
|
Var DirImage2 = "ROOT/taobin_project/image/drink_option_myr/"
|
||||||
Var DirImageAlter = "ROOT/taobin_project/image/page3_2_en/"
|
Var DirImageAlter = "ROOT/taobin_project/image/page3_2_en/"
|
||||||
Var DirImage = "ROOT/taobin_project/image/page3_en"
|
Var DirImage = "ROOT/taobin_project/image/page3_en"
|
||||||
Var ice_tab_text = "Ice will be ready at "
|
Var ice_tab_text = "Ice will be ready at "
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
If UsePepsiTheme = 1 Then
|
If UsePepsiTheme = 1 Then
|
||||||
Var DirImage2 = "ROOT/taobin_project/inter/whatthecup/" + CountryShortName
|
Var DirImage2 = "ROOT/taobin_project/inter/whatthecup/" + CountryShortName
|
||||||
Var DirImage2 = DirImage2 + "/image/drink_option_en/"
|
Var DirImage2 = DirImage2 + "/image/drink_option_en/"
|
||||||
DEBUGVAR DirImage2
|
DEBUGVAR DirImage2
|
||||||
|
|
||||||
Var DirImageAlter = "ROOT/taobin_project/inter/whatthecup/" + CountryShortName
|
Var DirImageAlter = "ROOT/taobin_project/inter/whatthecup/" + CountryShortName
|
||||||
Var DirImageAlter = DirImageAlter + "/image/page3_2_en/"
|
Var DirImageAlter = DirImageAlter + "/image/page3_2_en/"
|
||||||
DEBUGVAR DirImageAlter
|
DEBUGVAR DirImageAlter
|
||||||
|
|
||||||
|
|
||||||
Var DirImage = "ROOT/taobin_project/inter/whatthecup/" + CountryShortName
|
Var DirImage = "ROOT/taobin_project/inter/whatthecup/" + CountryShortName
|
||||||
Var DirImage = DirImage + "/image/page3_en/"
|
Var DirImage = DirImage + "/image/page3_en/"
|
||||||
DEBUGVAR DirImage
|
DEBUGVAR DirImage
|
||||||
|
|
||||||
Var ice_tab_text = "Ice will be ready at "
|
Var ice_tab_text = "Ice will be ready at "
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
If ICE_PROCESS_STATUS = 2 Then
|
If ICE_PROCESS_STATUS = 2 Then
|
||||||
Var ice_tab_process_show = "Enable"
|
Var ice_tab_process_show = "Enable"
|
||||||
Var ice_show_open = ice_tab_text + ICE_PROCESS_TXT
|
Var ice_show_open = ice_tab_text + ICE_PROCESS_TXT
|
||||||
Else
|
Else
|
||||||
Var ice_tab_process_show = "Invisible"
|
Var ice_tab_process_show = "Invisible"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
; SpiralOnline
|
; SpiralOnline
|
||||||
|
|
||||||
Var MenuVSelected2 = "Invisible"
|
Var MenuVSelected2 = "Invisible"
|
||||||
|
|
||||||
Var Menu1Selected2 = "Invisible"
|
Var Menu1Selected2 = "Invisible"
|
||||||
Var Menu2Selected2 = "Invisible"
|
Var Menu2Selected2 = "Invisible"
|
||||||
Var Menu3Selected2 = "Invisible"
|
Var Menu3Selected2 = "Invisible"
|
||||||
Var Menu4Selected2 = "Invisible"
|
Var Menu4Selected2 = "Invisible"
|
||||||
|
|
||||||
Var Menu6Selected2 = "Invisible"
|
Var Menu6Selected2 = "Invisible"
|
||||||
Var Menu7Selected2 = "Invisible"
|
Var Menu7Selected2 = "Invisible"
|
||||||
Var MenuVSelected2 = "Invisible"
|
Var MenuVSelected2 = "Invisible"
|
||||||
Var Menu11Selected2 = "Invisible"
|
Var Menu11Selected2 = "Invisible"
|
||||||
|
|
||||||
Var Menu21Selected2 = "Invisible"
|
Var Menu21Selected2 = "Invisible"
|
||||||
|
|
||||||
Var MenuVSelected2 = "Invisible"
|
Var MenuVSelected2 = "Invisible"
|
||||||
If SpiralOnline = "true" Then
|
If SpiralOnline = "true" Then
|
||||||
If Seeker = "curr" Then
|
If Seeker = "curr" Then
|
||||||
Var MenuVSelected2 = "Enable"
|
Var MenuVSelected2 = "Enable"
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
; init default
|
; init default
|
||||||
Var Menu1Selected = "Enable"
|
Var Menu1Selected = "Enable"
|
||||||
Var Menu2Selected = "Enable"
|
Var Menu2Selected = "Enable"
|
||||||
Var Menu3Selected = "Enable"
|
Var Menu3Selected = "Enable"
|
||||||
Var Menu4Selected = "Enable"
|
Var Menu4Selected = "Enable"
|
||||||
; 5 fruit
|
; 5 fruit
|
||||||
Var Menu5Selected = "Invisible"
|
Var Menu5Selected = "Invisible"
|
||||||
Var Menu6Selected = "Enable"
|
Var Menu6Selected = "Enable"
|
||||||
Var Menu7Selected = "Enable"
|
Var Menu7Selected = "Enable"
|
||||||
; 8 cocktail
|
; 8 cocktail
|
||||||
Var Menu8Selected = "Invisible"
|
Var Menu8Selected = "Invisible"
|
||||||
|
|
||||||
If CocktailShow = "true" Then
|
If CocktailShow = "true" Then
|
||||||
Var Menu7Selected = "Invisible"
|
Var Menu7Selected = "Invisible"
|
||||||
Var Menu8Selected = "Enable"
|
Var Menu8Selected = "Enable"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
If AppFastEnable = "true" Then
|
If AppFastEnable = "true" Then
|
||||||
Var Menu11Selected = "Enable"
|
Var Menu11Selected = "Enable"
|
||||||
Var Menu21Selected = "Invisible"
|
Var Menu21Selected = "Invisible"
|
||||||
Var Menu7Selected = "Invisible"
|
Var Menu7Selected = "Invisible"
|
||||||
Else
|
Else
|
||||||
If MenuKidEnable = "true" Then
|
If MenuKidEnable = "true" Then
|
||||||
Var Menu11Selected = "Invisible"
|
Var Menu11Selected = "Invisible"
|
||||||
Var Menu21Selected = "Enable"
|
Var Menu21Selected = "Enable"
|
||||||
Var Menu7Selected = "Invisible"
|
Var Menu7Selected = "Invisible"
|
||||||
Else
|
Else
|
||||||
Var Menu11Selected = "Invisible"
|
Var Menu11Selected = "Invisible"
|
||||||
Var Menu21Selected = "Invisible"
|
Var Menu21Selected = "Invisible"
|
||||||
Var Menu7Selected = "Enable"
|
Var Menu7Selected = "Enable"
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
If CocktailShow = "true" Then
|
If CocktailShow = "true" Then
|
||||||
Var Menu7Selected = "Invisible"
|
Var Menu7Selected = "Invisible"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
If RecipeTag1 = "HealthTurnOn" Then
|
If RecipeTag1 = "HealthTurnOn" Then
|
||||||
Var Menu22Selected = "Enable"
|
Var Menu22Selected = "Enable"
|
||||||
Else
|
Else
|
||||||
Var Menu22Selected = "Invisible"
|
Var Menu22Selected = "Invisible"
|
||||||
EndIf
|
EndIf
|
||||||
;
|
;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Var Menu1Selected = "PressForever"
|
Var Menu1Selected = "PressForever"
|
||||||
|
|
||||||
Var OreoBigButtonEnable = "Enable"
|
Var OreoBigButtonEnable = "Enable"
|
||||||
|
|
||||||
If $52-01-01-0001.Button = "Invisible" Then
|
If $52-01-01-0001.Button = "Invisible" Then
|
||||||
Var esp102101001Enable = "Invisible"
|
Var esp102101001Enable = "Invisible"
|
||||||
Var esp122101001Enable = "Enable"
|
Var esp122101001Enable = "Enable"
|
||||||
|
|
||||||
Else
|
Else
|
||||||
Var esp102101001Enable = "Enable"
|
Var esp102101001Enable = "Enable"
|
||||||
Var esp122101001Enable = "Invisible"
|
Var esp122101001Enable = "Invisible"
|
||||||
|
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
SAVELOG PreviseXMLFileName2
|
SAVELOG PreviseXMLFileName2
|
||||||
|
|
||||||
Var Timeout = 0
|
Var Timeout = 0
|
||||||
|
|
||||||
If show_eng = "true" Then
|
If show_eng = "true" Then
|
||||||
|
|
||||||
Var text_unavailable = "UNAVAILABLE###size=16"
|
Var text_unavailable = "UNAVAILABLE###size=16"
|
||||||
Else
|
Else
|
||||||
Var text_unavailable = "หมด###size=32"
|
Var text_unavailable = "หมด###size=32"
|
||||||
|
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
If show_eng = "true" Then
|
If show_eng = "true" Then
|
||||||
Var DirImage2 = "ROOT/taobin_project/image/drink_option_en/"
|
Var DirImage2 = "ROOT/taobin_project/image/drink_option_en/"
|
||||||
Var DirImageAlter = "ROOT/taobin_project/image/page3_2_en/"
|
Var DirImageAlter = "ROOT/taobin_project/image/page3_2_en/"
|
||||||
|
|
||||||
If UsePepsiTheme = 1 Then
|
If UsePepsiTheme = 1 Then
|
||||||
Var DirImage2 = "ROOT/taobin_project/inter/whatthecup/" + CountryShortName
|
Var DirImage2 = "ROOT/taobin_project/inter/whatthecup/" + CountryShortName
|
||||||
Var DirImage2 = DirImage2 + "/image/drink_option_en/"
|
Var DirImage2 = DirImage2 + "/image/drink_option_en/"
|
||||||
|
|
||||||
|
|
||||||
Var DirImageAlter = "ROOT/taobin_project/inter/whatthecup/" + CountryShortName
|
Var DirImageAlter = "ROOT/taobin_project/inter/whatthecup/" + CountryShortName
|
||||||
Var DirImageAlter = DirImageAlter + "/image/page3_2_en/"
|
Var DirImageAlter = DirImageAlter + "/image/page3_2_en/"
|
||||||
|
|
||||||
|
|
||||||
Var DirImage = "ROOT/taobin_project/inter/whatthecup/" + CountryShortName
|
Var DirImage = "ROOT/taobin_project/inter/whatthecup/" + CountryShortName
|
||||||
Var DirImage = DirImage + "/image/page3_en/"
|
Var DirImage = DirImage + "/image/page3_en/"
|
||||||
|
|
||||||
Var ice_tab_text = "Ice will be ready at "
|
Var ice_tab_text = "Ice will be ready at "
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
Else
|
Else
|
||||||
Var DirImage2 = "ROOT/taobin_project/image/drink_option/"
|
Var DirImage2 = "ROOT/taobin_project/image/drink_option/"
|
||||||
Var DirImageAlter = "ROOT/taobin_project/image/page3_2/"
|
Var DirImageAlter = "ROOT/taobin_project/image/page3_2/"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
</EventOpen>
|
</EventOpen>
|
||||||
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/inter/sgp/xml/menu_catalog_new.lxml"
|
;include="ROOT/taobin_project/inter/sgp/xml/menu_catalog_new.lxml"
|
||||||
|
|
||||||
|
|
||||||
<FrameScroll>
|
<FrameScroll>
|
||||||
<X> 10 </X>
|
<X> 10 </X>
|
||||||
<Y> 497 </Y>
|
<Y> 497 </Y>
|
||||||
|
|
@ -11705,27 +11705,14 @@
|
||||||
Open "ROOT/taobin_project/xml/page_payment_multi.xml"
|
Open "ROOT/taobin_project/xml/page_payment_multi.xml"
|
||||||
</EventClick>
|
</EventClick>
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
;BigLogoLayout
|
;BigLogoLayout
|
||||||
|
|
||||||
<Button>
|
;include="ROOT/taobin_project/inc/button_remove_cup.inc"
|
||||||
<X> 780 </X>
|
|
||||||
<Y> 500 </Y>
|
</Popup>
|
||||||
<State> buttonRemoveCup </State>
|
|
||||||
;<Color> "0x00BDFF" </Color>
|
|
||||||
<Interval> 500 </Interval>
|
|
||||||
<Filename> Var(RootPath + "image/main_page_inter/bn_remove_cup.png") </Filename>
|
|
||||||
<Filename> Var(RootPath + "image/main_page_inter/bp_remove_cup.png") </Filename>
|
|
||||||
<EventClick>
|
|
||||||
Machine RemoveCup
|
|
||||||
Machine DoorLidOpen
|
|
||||||
Var buttonRemoveCup = "Invisible"
|
|
||||||
</EventClick>
|
|
||||||
</Button>
|
|
||||||
|
|
||||||
</Popup>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -60,20 +60,7 @@
|
||||||
|
|
||||||
;BigLogoLayout
|
;BigLogoLayout
|
||||||
|
|
||||||
<Button>
|
;include="ROOT/taobin_project/inc/button_remove_cup.inc"
|
||||||
<X> 780 </X>
|
|
||||||
<Y> 500 </Y>
|
|
||||||
<State> buttonRemoveCup </State>
|
|
||||||
;<Color> "0x00BDFF" </Color>
|
|
||||||
<Interval> 500 </Interval>
|
|
||||||
<Filename> Var(RootPath + "image/main_page_inter/bn_remove_cup.png") </Filename>
|
|
||||||
<Filename> Var(RootPath + "image/main_page_inter/bp_remove_cup.png") </Filename>
|
|
||||||
<EventClick>
|
|
||||||
Machine RemoveCup
|
|
||||||
Machine DoorLidOpen
|
|
||||||
Var buttonRemoveCup = "Invisible"
|
|
||||||
</EventClick>
|
|
||||||
</Button>
|
|
||||||
|
|
||||||
</Popup>
|
</Popup>
|
||||||
|
|
||||||
|
|
|
||||||
BIN
inter/mys/adv/taobin_adv_menu_26.mp4
Normal file
|
|
@ -1,6 +1,6 @@
|
||||||
normal_eng=ROOT/taobin_project/inter/mys/image/event/pro_yuzu_250/pro_yuzu_250.png
|
normal_eng=ROOT/taobin_project/inter/mys/image/event/pro_melonzy/pro_melonzy.png
|
||||||
normal_thai=ROOT/taobin_project/inter/mys/image/event/pro_yuzu_250/pro_yuzu_250.png
|
normal_thai=ROOT/taobin_project/inter/mys/image/event/pro_melonzy/pro_melonzy.png
|
||||||
press_eng=ROOT/taobin_project/inter/mys/image/event/pro_yuzu_250/pro_yuzu_250.png
|
press_eng=ROOT/taobin_project/inter/mys/image/event/pro_melonzy/pro_melonzy.png
|
||||||
press_thai=ROOT/taobin_project/inter/mys/image/event/pro_yuzu_250/pro_yuzu_250.png
|
press_thai=ROOT/taobin_project/inter/mys/image/event/pro_melonzy/pro_melonzy.png
|
||||||
disable_eng=ROOT/taobin_project/inter/mys/image/event/pro_yuzu_250/pro_yuzu_250.png
|
disable_eng=ROOT/taobin_project/inter/mys/image/event/pro_melonzy/pro_melonzy.png
|
||||||
disable_thai=ROOT/taobin_project/inter/mys/image/event/pro_yuzu_250/pro_yuzu_250.png
|
disable_thai=ROOT/taobin_project/inter/mys/image/event/pro_melonzy/pro_melonzy.png
|
||||||
|
|
|
||||||
BIN
inter/mys/image/event/pro_melonzy/pro_melonzy.png
Normal file
|
After Width: | Height: | Size: 455 KiB |
|
|
@ -727,7 +727,7 @@ TextID Note English Thai China Japan Malaysia
|
||||||
800660 Bucket กระบะ
|
800660 Bucket กระบะ
|
||||||
800661 Shutter ชัตเตอร์
|
800661 Shutter ชัตเตอร์
|
||||||
800662 Motor แกนมอเตอร์
|
800662 Motor แกนมอเตอร์
|
||||||
|
800663 Whipper clean water
|
||||||
|
|
||||||
Test (New UI)
|
Test (New UI)
|
||||||
800700 Active ทำงาน
|
800700 Active ทำงาน
|
||||||
|
|
@ -1289,3 +1289,12 @@ TextID Note English Thai China Japan Malaysia
|
||||||
|
|
||||||
Fan
|
Fan
|
||||||
2200000 Fan พัดลม
|
2200000 Fan พัดลม
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
EOF
|
||||||
|
9999999 Load language finish Load language finish Load language finish Load language finish Load language finish
|
||||||
|
|
|
||||||
|
Can't render this file because it has a wrong number of fields in line 21.
|
|
|
@ -12117,20 +12117,7 @@ LIMENADE SODA</LanguageSlot3>
|
||||||
|
|
||||||
;BigLogoLayout
|
;BigLogoLayout
|
||||||
|
|
||||||
<Button>
|
;include="ROOT/taobin_project/inc/button_remove_cup.inc"
|
||||||
<X> 780 </X>
|
|
||||||
<Y> 500 </Y>
|
|
||||||
<State> buttonRemoveCup </State>
|
|
||||||
;<Color> "0x00BDFF" </Color>
|
|
||||||
<Interval> 500 </Interval>
|
|
||||||
<Filename> Var(RootPath + "image/main_page_inter/bn_remove_cup.png") </Filename>
|
|
||||||
<Filename> Var(RootPath + "image/main_page_inter/bp_remove_cup.png") </Filename>
|
|
||||||
<EventClick>
|
|
||||||
Machine RemoveCup
|
|
||||||
Machine DoorLidOpen
|
|
||||||
Var buttonRemoveCup = "Invisible"
|
|
||||||
</EventClick>
|
|
||||||
</Button>
|
|
||||||
|
|
||||||
</Popup>
|
</Popup>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,8 @@ DEBUGVAR XMLProfile
|
||||||
STRCONTAIN "PromoYuzu250" XMLProfile HasProYuzu250Concat
|
STRCONTAIN "PromoYuzu250" XMLProfile HasProYuzu250Concat
|
||||||
STRCONTAIN "PromoReduced" XMLProfile IsProfileReduce
|
STRCONTAIN "PromoReduced" XMLProfile IsProfileReduce
|
||||||
|
|
||||||
|
STRCONTAIN "PromoMelon" XMLProfile HasProMelonConcat
|
||||||
|
|
||||||
Var refresh_str = "-RefreshProf"
|
Var refresh_str = "-RefreshProf"
|
||||||
STRCONTAIN refresh_str XMLProfile HasRefreshProf
|
STRCONTAIN refresh_str XMLProfile HasRefreshProf
|
||||||
|
|
||||||
|
|
@ -18,10 +20,10 @@ If NeedRefreshProfile = 1 Then
|
||||||
READ_FILE "/mnt/sdcard/coffeevending/profile/price/profile_MYS_slot_4.json" ProfileSlot4MYS
|
READ_FILE "/mnt/sdcard/coffeevending/profile/price/profile_MYS_slot_4.json" ProfileSlot4MYS
|
||||||
|
|
||||||
STRCONTAIN "Drop" ProfileSlot3MYS PromoYuzuDrop
|
STRCONTAIN "Drop" ProfileSlot3MYS PromoYuzuDrop
|
||||||
STRCONTAIN "Drop" ProfileSlot4MYS PromoYuzuDis50Drop
|
STRCONTAIN "Drop" ProfileSlot4MYS PromoMelonDrop
|
||||||
|
|
||||||
DEBUGVAR PromoYuzuDrop
|
DEBUGVAR PromoYuzuDrop
|
||||||
DEBUGVAR PromoYuzuDis50Drop
|
DEBUGVAR PromoMelonDrop
|
||||||
|
|
||||||
If HasRefreshProf = "true" Then
|
If HasRefreshProf = "true" Then
|
||||||
|
|
||||||
|
|
@ -33,16 +35,13 @@ If NeedRefreshProfile = 1 Then
|
||||||
Var NeedRefreshProfile = 0
|
Var NeedRefreshProfile = 0
|
||||||
Else
|
Else
|
||||||
; save-current-as-pre
|
; save-current-as-pre
|
||||||
CacheVarStr "put" XMLProfilePreEvent
|
CacheVarStr "get" XMLProfilePreEvent
|
||||||
|
|
||||||
If PromoYuzuDrop = "true" Then
|
Var XMLProfile = XMLProfilePreEvent
|
||||||
DEBUGVAR "case yuzu drop --> refresh"
|
|
||||||
|
If PromoMelonDrop = "true" Then
|
||||||
|
SAVELOG "case melon drop --> refresh"
|
||||||
Var XMLProfile = XMLProfile + refresh_str
|
Var XMLProfile = XMLProfile + refresh_str
|
||||||
Else
|
|
||||||
If PromoYuzuDis50Drop = "true" Then
|
|
||||||
DEBUGVAR "case yuzu drop discount 50% --> refresh"
|
|
||||||
Var XMLProfile = XMLProfile + refresh_str
|
|
||||||
EndIf
|
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
EndIf
|
EndIf
|
||||||
|
|
@ -50,6 +49,9 @@ Else
|
||||||
|
|
||||||
DEBUGVAR HasProYuzu250Concat
|
DEBUGVAR HasProYuzu250Concat
|
||||||
DEBUGVAR ProReducedPriceEnable
|
DEBUGVAR ProReducedPriceEnable
|
||||||
|
|
||||||
|
DEBUGVAR HasProMelonConcat
|
||||||
|
|
||||||
DEBUGVAR IgnoreProfileFromRunEV
|
DEBUGVAR IgnoreProfileFromRunEV
|
||||||
|
|
||||||
If ProReducedPriceEnable = 1 Then
|
If ProReducedPriceEnable = 1 Then
|
||||||
|
|
@ -58,10 +60,10 @@ Else
|
||||||
DEBUGVAR "Case pro reduce end"
|
DEBUGVAR "Case pro reduce end"
|
||||||
; case-pro-reduce-end
|
; case-pro-reduce-end
|
||||||
If IgnoreProfileFromRunEV = 1 Then
|
If IgnoreProfileFromRunEV = 1 Then
|
||||||
DEBUGVAR "Pro yuzu ongoing"
|
DEBUGVAR "Pro melon ongoing"
|
||||||
; concat-profile
|
; concat-profile
|
||||||
If HasProYuzu250Concat = "true" Then
|
If HasProMelonConcat = "true" Then
|
||||||
DEBUGVAR "Pro yuzu concat"
|
DEBUGVAR "Pro melon concat"
|
||||||
Else
|
Else
|
||||||
|
|
||||||
If IsProfileReduce = "true" Then
|
If IsProfileReduce = "true" Then
|
||||||
|
|
@ -71,25 +73,25 @@ Else
|
||||||
DEBUGVAR "Get PreEvent Empty"
|
DEBUGVAR "Get PreEvent Empty"
|
||||||
Var XMLProfile = "General"
|
Var XMLProfile = "General"
|
||||||
Else
|
Else
|
||||||
DEBUGVAR "Restore profile by pre-event, also concat Yuzu"
|
DEBUGVAR "Restore profile by pre-event, also concat Melon"
|
||||||
DEBUGVAR XMLProfilePreEvent
|
DEBUGVAR XMLProfilePreEvent
|
||||||
Var XMLProfile = XMLProfilePreEvent + "-"
|
Var XMLProfile = XMLProfilePreEvent + "-"
|
||||||
Var XMLProfile = XMLProfile + "PromoYuzu250"
|
Var XMLProfile = XMLProfile + "PromoMelon250"
|
||||||
|
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
Else
|
Else
|
||||||
DEBUGVAR "No pro reduce, concat pro yuzu"
|
DEBUGVAR "No pro reduce, concat pro melon"
|
||||||
CacheVarStr "put" XMLProfilePreEvent
|
CacheVarStr "put" XMLProfilePreEvent
|
||||||
|
|
||||||
Var XMLProfile = XMLProfile + "-"
|
Var XMLProfile = XMLProfile + "-"
|
||||||
Var XMLProfile = XMLProfile + "PromoYuzu250"
|
Var XMLProfile = XMLProfile + "PromoMelon250"
|
||||||
|
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
Else
|
Else
|
||||||
If IsProfileReduce = "true" Then
|
If IsProfileReduce = "true" Then
|
||||||
DEBUGVAR "No yuzu but set pro reduce"
|
DEBUGVAR "No melon but set pro reduce"
|
||||||
CacheVarStr "get" XMLProfilePreEvent
|
CacheVarStr "get" XMLProfilePreEvent
|
||||||
If XMLProfilePreEvent = "" Then
|
If XMLProfilePreEvent = "" Then
|
||||||
DEBUGVAR "PreEvent empty, set General"
|
DEBUGVAR "PreEvent empty, set General"
|
||||||
|
|
@ -101,7 +103,7 @@ Else
|
||||||
|
|
||||||
Else
|
Else
|
||||||
|
|
||||||
If HasProYuzu250Concat = "true" Then
|
If HasProMelonConcat = "true" Then
|
||||||
CacheVarStr "get" XMLProfilePreEvent
|
CacheVarStr "get" XMLProfilePreEvent
|
||||||
Var XMLProfile = XMLProfilePreEvent
|
Var XMLProfile = XMLProfilePreEvent
|
||||||
EndIf
|
EndIf
|
||||||
|
|
@ -119,6 +121,11 @@ Else
|
||||||
|
|
||||||
If IgnoreProfileFromRunEV = 1 Then
|
If IgnoreProfileFromRunEV = 1 Then
|
||||||
Var ToggleAfterEventProfileOff = 1
|
Var ToggleAfterEventProfileOff = 1
|
||||||
|
|
||||||
|
If ProMelonEnable = 1 Then
|
||||||
|
Var IgnoreProfileFromRunEV = 0
|
||||||
|
SAVELOG "Allow exec cmd brew from event_profile"
|
||||||
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,148 +0,0 @@
|
||||||
<Popup>
|
|
||||||
<Cache> "Enable" </Cache>
|
|
||||||
<Width> 1080 </Width>
|
|
||||||
<Height> 1920 </Height>
|
|
||||||
<Background> "0xeae6e1" </Background>
|
|
||||||
<Volume> SoundVolume </Volume>
|
|
||||||
|
|
||||||
<EventOpen>
|
|
||||||
|
|
||||||
Var Timeout = 0
|
|
||||||
DEBUGVAR TelephoneNumber
|
|
||||||
DEBUGVAR FromFruityRaya
|
|
||||||
DEBUGVAR Seeker.VendingCode
|
|
||||||
DEBUGVAR Seeker.FruityRaya
|
|
||||||
DEBUGVAR Seeker.UseFruityRayaCode
|
|
||||||
|
|
||||||
Var Cid = 43
|
|
||||||
Var param1 = ""
|
|
||||||
Var param2 = ""
|
|
||||||
Var param3 = ""
|
|
||||||
|
|
||||||
If FromFruityRaya = 1 Then
|
|
||||||
|
|
||||||
If TelephoneNumber = "" Then
|
|
||||||
|
|
||||||
Else
|
|
||||||
DEBUGVAR TelephoneNumber
|
|
||||||
; Telephone must not empty
|
|
||||||
If Seeker.CodeChannel = 1 Then
|
|
||||||
DEBUGVAR Seeker.CodeChannel
|
|
||||||
Var Seeker.UseFruityRayaCode = 1
|
|
||||||
Var Seeker.FruityRaya = 1
|
|
||||||
Else
|
|
||||||
Var Seeker.FruityRaya = 1
|
|
||||||
Var Seeker.UseFruityRayaCode = 0
|
|
||||||
DEBUGVAR Seeker.FruityRaya
|
|
||||||
DEBUGVAR Seeker.UseFruityRayaCode
|
|
||||||
AddData Cid TelephoneNumber param1 param2 param3
|
|
||||||
EndIf
|
|
||||||
EndIf
|
|
||||||
|
|
||||||
EndIf
|
|
||||||
|
|
||||||
; reset flag
|
|
||||||
Var FromFruityRaya = 0
|
|
||||||
|
|
||||||
; goto lid straw
|
|
||||||
Open "ROOT/taobin_project/xml/page_lid_straw.xml"
|
|
||||||
|
|
||||||
|
|
||||||
</EventOpen>
|
|
||||||
|
|
||||||
<Timeout> 1000 </Timeout>
|
|
||||||
<EventTimeout>
|
|
||||||
|
|
||||||
Var CountDownBrewing = BREW_CNT
|
|
||||||
|
|
||||||
Var ShowCountDownBrewing = CountDownBrewing
|
|
||||||
|
|
||||||
Var Timeout = Timeout + 1
|
|
||||||
If Timeout > 2 Then
|
|
||||||
Open "ROOT/taobin_project/xml/page_lid_straw.xml"
|
|
||||||
EndIf
|
|
||||||
|
|
||||||
TimerReset
|
|
||||||
Refresh
|
|
||||||
</EventTimeout>
|
|
||||||
|
|
||||||
|
|
||||||
<EventSecurity>
|
|
||||||
Open "/media/bt/xml/security_alarm.xml"
|
|
||||||
</EventSecurity>
|
|
||||||
|
|
||||||
<EventActionOk>
|
|
||||||
;
|
|
||||||
|
|
||||||
</EventActionOk>
|
|
||||||
|
|
||||||
|
|
||||||
<EventMachine>
|
|
||||||
If MachineStage = "drink-success" Then
|
|
||||||
Var MachineState_Result = 1
|
|
||||||
EndIf
|
|
||||||
|
|
||||||
If MachineStage = "drink-failed" Then
|
|
||||||
Var MachineState_Result = 2
|
|
||||||
EndIf
|
|
||||||
</EventMachine>
|
|
||||||
|
|
||||||
|
|
||||||
;<Image>
|
|
||||||
;<X> 0 </X>
|
|
||||||
;<Y> 0 </Y>
|
|
||||||
;<Filename> "ROOT/taobin_project/image/ad_medium_2.png" </Filename>
|
|
||||||
;</Image>
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/inc/video.inc"
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
;<Image>
|
|
||||||
;<X> 0 </X>
|
|
||||||
;<Y> 380 </Y>
|
|
||||||
;<Filename> "ROOT/taobin_project/image/display_get_free/alpha.png" </Filename>
|
|
||||||
;</Image>
|
|
||||||
|
|
||||||
<Image>
|
|
||||||
<X> 0 </X>
|
|
||||||
<Y> 560 </Y>
|
|
||||||
<State> "Enable" </State>
|
|
||||||
<Filename> Var( DirImage + img_popup6 )</Filename>
|
|
||||||
</Image>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<Image>
|
|
||||||
<X> 751 </X>
|
|
||||||
<Y> 413 </Y>
|
|
||||||
<Filename> IMG_CNT </Filename>
|
|
||||||
</Image>
|
|
||||||
;
|
|
||||||
<Text>
|
|
||||||
<X> XPosiShowCountDownBrew </X>
|
|
||||||
<Y> 470 </Y>
|
|
||||||
<Align> End </Align>
|
|
||||||
<Width> 153 </Width>
|
|
||||||
<Size> 88 </Size>
|
|
||||||
<Font> RobotoBold </Font>
|
|
||||||
<Color> 0x513C2F </Color>
|
|
||||||
<Value> ShowCountDownBrewing </Value>
|
|
||||||
</Text>
|
|
||||||
|
|
||||||
<Text>
|
|
||||||
<X> 99 </X>
|
|
||||||
<Y> 1300 </Y>
|
|
||||||
<Align> center </Align>
|
|
||||||
<Size> 48 </Size>
|
|
||||||
<Color> 0x513C2F </Color>
|
|
||||||
<Value> "Please wait for coupon from SMS ... "
|
|
||||||
</Text>
|
|
||||||
|
|
||||||
</Popup>
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
/event/promotion_yuzu_250.lxml
|
/event/promotion_melonzy.lxml
|
||||||
|
|
|
||||||
|
|
@ -12356,20 +12356,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<Button>
|
;include="ROOT/taobin_project/inc/button_remove_cup.inc"
|
||||||
<X> 780 </X>
|
|
||||||
<Y> 500 </Y>
|
|
||||||
<State> buttonRemoveCup </State>
|
|
||||||
;<Color> "0x00BDFF" </Color>
|
|
||||||
<Interval> 500 </Interval>
|
|
||||||
<Filename> Var(RootPath + "image/main_page_inter/bn_remove_cup.png") </Filename>
|
|
||||||
<Filename> Var(RootPath + "image/main_page_inter/bp_remove_cup.png") </Filename>
|
|
||||||
<EventClick>
|
|
||||||
Machine RemoveCup
|
|
||||||
Machine DoorLidOpen
|
|
||||||
Var buttonRemoveCup = "Invisible"
|
|
||||||
</EventClick>
|
|
||||||
</Button>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -12356,20 +12356,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<Button>
|
;include="ROOT/taobin_project/inc/button_remove_cup.inc"
|
||||||
<X> 780 </X>
|
|
||||||
<Y> 500 </Y>
|
|
||||||
<State> buttonRemoveCup </State>
|
|
||||||
;<Color> "0x00BDFF" </Color>
|
|
||||||
<Interval> 500 </Interval>
|
|
||||||
<Filename> Var(RootPath + "image/main_page_inter/bn_remove_cup.png") </Filename>
|
|
||||||
<Filename> Var(RootPath + "image/main_page_inter/bp_remove_cup.png") </Filename>
|
|
||||||
<EventClick>
|
|
||||||
Machine RemoveCup
|
|
||||||
Machine DoorLidOpen
|
|
||||||
Var buttonRemoveCup = "Invisible"
|
|
||||||
</EventClick>
|
|
||||||
</Button>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -12056,20 +12056,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<Button>
|
;include="ROOT/taobin_project/inc/button_remove_cup.inc"
|
||||||
<X> 780 </X>
|
|
||||||
<Y> 500 </Y>
|
|
||||||
<State> buttonRemoveCup </State>
|
|
||||||
;<Color> "0x00BDFF" </Color>
|
|
||||||
<Interval> 500 </Interval>
|
|
||||||
<Filename> Var(RootPath + "image/main_page_inter/bn_remove_cup.png") </Filename>
|
|
||||||
<Filename> Var(RootPath + "image/main_page_inter/bp_remove_cup.png") </Filename>
|
|
||||||
<EventClick>
|
|
||||||
Machine RemoveCup
|
|
||||||
Machine DoorLidOpen
|
|
||||||
Var buttonRemoveCup = "Invisible"
|
|
||||||
</EventClick>
|
|
||||||
</Button>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
14041
inter/mys/xml/event/promotion_melonzy.lxml
Normal file
|
|
@ -1 +1 @@
|
||||||
Open "ROOT/taobin_project/inter/mys/xml/page_catalog_group_pro_yuzu_250.lxml"
|
Open "ROOT/taobin_project/inter/mys/xml/page_catalog_group_pro_melon.lxml"
|
||||||
|
|
|
||||||
|
|
@ -12356,20 +12356,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<Button>
|
;include="ROOT/taobin_project/inc/button_remove_cup.inc"
|
||||||
<X> 780 </X>
|
|
||||||
<Y> 500 </Y>
|
|
||||||
<State> buttonRemoveCup </State>
|
|
||||||
;<Color> "0x00BDFF" </Color>
|
|
||||||
<Interval> 500 </Interval>
|
|
||||||
<Filename> Var(RootPath + "image/main_page_inter/bn_remove_cup.png") </Filename>
|
|
||||||
<Filename> Var(RootPath + "image/main_page_inter/bp_remove_cup.png") </Filename>
|
|
||||||
<EventClick>
|
|
||||||
Machine RemoveCup
|
|
||||||
Machine DoorLidOpen
|
|
||||||
Var buttonRemoveCup = "Invisible"
|
|
||||||
</EventClick>
|
|
||||||
</Button>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -12370,20 +12370,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<Button>
|
;include="ROOT/taobin_project/inc/button_remove_cup.inc"
|
||||||
<X> 780 </X>
|
|
||||||
<Y> 500 </Y>
|
|
||||||
<State> buttonRemoveCup </State>
|
|
||||||
;<Color> "0x00BDFF" </Color>
|
|
||||||
<Interval> 500 </Interval>
|
|
||||||
<Filename> Var(RootPath + "image/main_page_inter/bn_remove_cup.png") </Filename>
|
|
||||||
<Filename> Var(RootPath + "image/main_page_inter/bp_remove_cup.png") </Filename>
|
|
||||||
<EventClick>
|
|
||||||
Machine RemoveCup
|
|
||||||
Machine DoorLidOpen
|
|
||||||
Var buttonRemoveCup = "Invisible"
|
|
||||||
</EventClick>
|
|
||||||
</Button>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -12358,20 +12358,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<Button>
|
;include="ROOT/taobin_project/inc/button_remove_cup.inc"
|
||||||
<X> 780 </X>
|
|
||||||
<Y> 500 </Y>
|
|
||||||
<State> buttonRemoveCup </State>
|
|
||||||
;<Color> "0x00BDFF" </Color>
|
|
||||||
<Interval> 500 </Interval>
|
|
||||||
<Filename> Var(RootPath + "image/main_page_inter/bn_remove_cup.png") </Filename>
|
|
||||||
<Filename> Var(RootPath + "image/main_page_inter/bp_remove_cup.png") </Filename>
|
|
||||||
<EventClick>
|
|
||||||
Machine RemoveCup
|
|
||||||
Machine DoorLidOpen
|
|
||||||
Var buttonRemoveCup = "Invisible"
|
|
||||||
</EventClick>
|
|
||||||
</Button>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2,16 +2,18 @@
|
||||||
|
|
||||||
|
|
||||||
; zone promote
|
; zone promote
|
||||||
DEBUGVAR FruityRayaEnable
|
; 10/02/25_remove_fruity_raya
|
||||||
DEBUGVAR ProThaiTeaEnable
|
DEBUGVAR ProThaiTeaEnable
|
||||||
DEBUGVAR ProYuzuEnable
|
DEBUGVAR ProYuzuEnable
|
||||||
|
DEBUGVAR ProMelonEnable
|
||||||
|
|
||||||
DEBUGVAR IgnoreProfileFromRunEV
|
DEBUGVAR IgnoreProfileFromRunEV
|
||||||
|
|
||||||
If OpenFromPageBoard = 1 Then
|
If OpenFromPageBoard = 1 Then
|
||||||
|
|
||||||
; has-ongoing-pro
|
; has-ongoing-pro
|
||||||
If IgnoreProfileFromRunEV = 1 Then
|
If ProMelonEnable = 1 Then
|
||||||
OpenInst 2 "ROOT/taobin_project/inter/mys/xml/event/promotion_yuzu_250.lxml"
|
OpenInst 2 "ROOT/taobin_project/inter/mys/xml/event/promotion_melonzy.lxml"
|
||||||
|
|
||||||
Var OpenFromPageBoard = 0
|
Var OpenFromPageBoard = 0
|
||||||
Else
|
Else
|
||||||
|
|
@ -20,8 +22,8 @@ If OpenFromPageBoard = 1 Then
|
||||||
Else
|
Else
|
||||||
|
|
||||||
; has-ongoing-pro
|
; has-ongoing-pro
|
||||||
If IgnoreProfileFromRunEV = 1 Then
|
If ProMelonEnable = 1 Then
|
||||||
OpenInst 2 "ROOT/taobin_project/inter/mys/xml/event/promotion_yuzu_250.lxml"
|
OpenInst 2 "ROOT/taobin_project/inter/mys/xml/event/promotion_melonzy.lxml"
|
||||||
|
|
||||||
Var OpenFromPageBoard = 0
|
Var OpenFromPageBoard = 0
|
||||||
Else
|
Else
|
||||||
|
|
|
||||||
|
|
@ -24,6 +24,11 @@ Var FromProYuzu = 0
|
||||||
Var IgnoreProfileFromRunEV = 0
|
Var IgnoreProfileFromRunEV = 0
|
||||||
Var FromProYuzu250 = 0
|
Var FromProYuzu250 = 0
|
||||||
|
|
||||||
|
; Melon Promo
|
||||||
|
Var ProMelonEnable = 0
|
||||||
|
Var FromProMelon = 0
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
; Pro free oreo topping
|
; Pro free oreo topping
|
||||||
Var PromotionOreoToppingFreeEnable = 0
|
Var PromotionOreoToppingFreeEnable = 0
|
||||||
|
|
@ -46,57 +51,54 @@ Var UseSlideShowVideo = 0
|
||||||
|
|
||||||
Var NoTrickPriceProfile = 0
|
Var NoTrickPriceProfile = 0
|
||||||
|
|
||||||
|
If SystemDateMonthInt = 3 Then
|
||||||
If SystemDateMonthInt = 9 Then
|
If SystemDateDayInt >= 10 Then
|
||||||
If SystemDateDayInt < 16 Then
|
Var ProMelonEnable = 1
|
||||||
Var PromotionOreoToppingFreeEnable = 1
|
Else
|
||||||
If SetProReduceByBO = 1 Then
|
Var ProMelonEnable = 0
|
||||||
Var ProReducedPriceEnable = 1
|
|
||||||
EndIf
|
|
||||||
Else
|
|
||||||
Var PromotionOreoToppingFreeEnable = 0
|
|
||||||
EndIf
|
|
||||||
EndIf
|
|
||||||
|
|
||||||
If SystemDateMonthInt = 10 Then
|
|
||||||
|
|
||||||
Var IgnoreProfileFromRunEV = 0
|
|
||||||
|
|
||||||
EndIf
|
|
||||||
|
|
||||||
If SystemDateMonthInt = 11 Then
|
|
||||||
|
|
||||||
Var IgnoreProfileFromRunEV = 0
|
|
||||||
EndIf
|
|
||||||
|
|
||||||
If SystemDateMonthInt = 12 Then
|
|
||||||
Var IgnoreProfileFromRunEV = 0
|
|
||||||
|
|
||||||
EndIf
|
|
||||||
|
|
||||||
If SystemDateMonthInt < 10 Then
|
|
||||||
Var ProReducedPriceEnable = 0
|
|
||||||
Var IgnoreProfileFromRunEV = 0
|
|
||||||
EndIf
|
|
||||||
|
|
||||||
If ProReducedPriceEnable = 0 Then
|
|
||||||
If XMLProfile = "PromoReduced" Then
|
|
||||||
Var NoTrickPriceProfile = 1
|
|
||||||
|
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
If SystemDateMonthInt = 4 Then
|
||||||
|
If SystemDateDayInt <= 20 Then
|
||||||
|
Var ProMelonEnable = 1
|
||||||
|
Else
|
||||||
|
Var ProMelonEnable = 0
|
||||||
|
|
||||||
|
READ_FILE "/mnt/sdcard/coffeevending/profile/price/profile_MYS_slot_4.json" ProfileSlot4MYS
|
||||||
|
STRCONTAIN "Drop" ProfileSlot4MYS PromoMelonDrop
|
||||||
|
|
||||||
|
If PromoMelonDrop = "true" Then
|
||||||
|
SAVELOG "Promotion <Melon> already dropped !!!"
|
||||||
|
|
||||||
|
Else
|
||||||
|
|
||||||
|
; zone-self-refresh
|
||||||
|
SAVELOG "Promotion <Melon> End, Self Refresh !!!"
|
||||||
|
WRITE_FILE "/mnt/sdcard/coffeevending/profile/price/profile_MYS_slot_4.json" "Drop"
|
||||||
|
WRITE_FILE "/mnt/sdcard/coffeevending/profile/profile_MYS_5.json" "Drop"
|
||||||
|
WRITE_FILE "/mnt/sdcard/coffeevending/profile/profile_MYS_new_5.json" "Drop"
|
||||||
|
WRITE_FILE "/mnt/sdcard/coffeevending/need_refresh_file" "1"
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
; zone-refresh-once
|
; zone-refresh-once
|
||||||
|
|
||||||
READ_FILE "/mnt/sdcard/coffeevending/need_refresh_file" NeedRefreshStr
|
READ_FILE "/mnt/sdcard/coffeevending/need_refresh_file" NeedRefreshStr
|
||||||
STRCONTAIN "1" NeedRefreshStr need_refresh
|
STRCONTAIN "1" NeedRefreshStr need_refresh
|
||||||
|
|
||||||
|
DEBUGVAR need_refresh
|
||||||
|
|
||||||
If need_refresh = "true" Then
|
If need_refresh = "true" Then
|
||||||
|
|
||||||
Var NeedRefreshProfile = 1
|
Var NeedRefreshProfile = 1
|
||||||
WRITE_FILE "/mnt/sdcard/coffeevending/need_refresh_file" "0"
|
WRITE_FILE "/mnt/sdcard/coffeevending/need_refresh_file" "0"
|
||||||
|
|
||||||
|
SAVELOG "Set SelfRefresh := True"
|
||||||
|
|
||||||
Else
|
Else
|
||||||
Var NeedRefreshProfile = 0
|
Var NeedRefreshProfile = 0
|
||||||
EndIf
|
EndIf
|
||||||
|
|
@ -104,10 +106,12 @@ EndIf
|
||||||
|
|
||||||
|
|
||||||
If BoxID = 177746 Then
|
If BoxID = 177746 Then
|
||||||
Var ProThaiTeaEnable = 1
|
Var ProThaiTeaEnable = 0
|
||||||
Var ProYuzuEnable = 1
|
Var ProYuzuEnable = 0
|
||||||
Var PromotionOreoToppingFreeEnable = 0
|
Var PromotionOreoToppingFreeEnable = 0
|
||||||
|
|
||||||
|
;Var ProMelonEnable = 0
|
||||||
|
|
||||||
Var EnablePayLaterMode = 1
|
Var EnablePayLaterMode = 1
|
||||||
|
|
||||||
;Var AdvertiseProfile = "00/00/00/00/00/00/00/00/00/00/00/00/00/00/00/00/00/00/00/00/00/00"
|
;Var AdvertiseProfile = "00/00/00/00/00/00/00/00/00/00/00/00/00/00/00/00/00/00/00/00/00/00"
|
||||||
|
|
@ -118,6 +122,10 @@ If BoxID = 177746 Then
|
||||||
;Var IgnoreProfileFromRunEV = 1
|
;Var IgnoreProfileFromRunEV = 1
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
If ProMelonEnable = 1 Then
|
||||||
|
Var IgnoreProfileFromRunEV = 1
|
||||||
|
EndIf
|
||||||
|
|
||||||
If BoxID = 210037 Then
|
If BoxID = 210037 Then
|
||||||
Var UseSlideShowVideo = 1
|
Var UseSlideShowVideo = 1
|
||||||
EndIf
|
EndIf
|
||||||
|
|
|
||||||
|
|
@ -1,157 +0,0 @@
|
||||||
<Popup>
|
|
||||||
<Cache> "Enable" </Cache>
|
|
||||||
<Width> 1080 </Width>
|
|
||||||
<Height> 1920 </Height>
|
|
||||||
<Background> "0xeae6e1" </Background>
|
|
||||||
<Volume> SoundVolume </Volume>
|
|
||||||
|
|
||||||
<EventOpen>
|
|
||||||
|
|
||||||
Var Timeout = 0
|
|
||||||
DEBUGVAR TelephoneNumber
|
|
||||||
DEBUGVAR FromProYuzu
|
|
||||||
DEBUGVAR Seeker.VendingCode
|
|
||||||
DEBUGVAR Seeker.ProYuzu
|
|
||||||
DEBUGVAR Seeker.UseProYuzuCode
|
|
||||||
|
|
||||||
Var Cid = 43
|
|
||||||
Var param1 = ""
|
|
||||||
Var param2 = ""
|
|
||||||
Var param3 = ""
|
|
||||||
|
|
||||||
If FromProYuzu = 1 Then
|
|
||||||
|
|
||||||
If TelephoneNumber = "" Then
|
|
||||||
|
|
||||||
Else
|
|
||||||
DEBUGVAR Seeker.TNumberTaobinMember
|
|
||||||
; Telephone must not empty
|
|
||||||
If Seeker.CodeChannel = 1 Then
|
|
||||||
DEBUGVAR Seeker.CodeChannel
|
|
||||||
Var Seeker.UseProYuzuCode = 1
|
|
||||||
Var Seeker.ProYuzu = 1
|
|
||||||
Else
|
|
||||||
DEBUGVAR Seeker.TNumberTaobinMember
|
|
||||||
DEBUGVAR TelephoneNumber
|
|
||||||
Var Seeker.TNumberTaobinMember = TelephoneNumber
|
|
||||||
DEBUGVAR Seeker.TNumberTaobinMember
|
|
||||||
|
|
||||||
Var Seeker.ProYuzu = 1
|
|
||||||
Var Seeker.UseProYuzuCode = 0
|
|
||||||
DEBUGVAR Seeker.ProYuzu
|
|
||||||
DEBUGVAR Seeker.UseProYuzuCode
|
|
||||||
|
|
||||||
; support-for-multi-pro-with-same-cid
|
|
||||||
Var param1 = "703"
|
|
||||||
|
|
||||||
AddData Cid TelephoneNumber param1 param2 param3
|
|
||||||
EndIf
|
|
||||||
EndIf
|
|
||||||
|
|
||||||
EndIf
|
|
||||||
|
|
||||||
; reset flag
|
|
||||||
Var FromProYuzu = 0
|
|
||||||
|
|
||||||
; goto lid straw
|
|
||||||
Open "ROOT/taobin_project/xml/page_lid_straw.xml"
|
|
||||||
|
|
||||||
|
|
||||||
</EventOpen>
|
|
||||||
|
|
||||||
<Timeout> 1000 </Timeout>
|
|
||||||
<EventTimeout>
|
|
||||||
|
|
||||||
Var CountDownBrewing = BREW_CNT
|
|
||||||
|
|
||||||
Var ShowCountDownBrewing = CountDownBrewing
|
|
||||||
|
|
||||||
Var Timeout = Timeout + 1
|
|
||||||
If Timeout > 2 Then
|
|
||||||
Open "ROOT/taobin_project/xml/page_lid_straw.xml"
|
|
||||||
EndIf
|
|
||||||
|
|
||||||
TimerReset
|
|
||||||
Refresh
|
|
||||||
</EventTimeout>
|
|
||||||
|
|
||||||
|
|
||||||
<EventSecurity>
|
|
||||||
Open "/media/bt/xml/security_alarm.xml"
|
|
||||||
</EventSecurity>
|
|
||||||
|
|
||||||
<EventActionOk>
|
|
||||||
;
|
|
||||||
|
|
||||||
</EventActionOk>
|
|
||||||
|
|
||||||
|
|
||||||
<EventMachine>
|
|
||||||
If MachineStage = "drink-success" Then
|
|
||||||
Var MachineState_Result = 1
|
|
||||||
EndIf
|
|
||||||
|
|
||||||
If MachineStage = "drink-failed" Then
|
|
||||||
Var MachineState_Result = 2
|
|
||||||
EndIf
|
|
||||||
</EventMachine>
|
|
||||||
|
|
||||||
|
|
||||||
;<Image>
|
|
||||||
;<X> 0 </X>
|
|
||||||
;<Y> 0 </Y>
|
|
||||||
;<Filename> "ROOT/taobin_project/image/ad_medium_2.png" </Filename>
|
|
||||||
;</Image>
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/inc/video.inc"
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
;<Image>
|
|
||||||
;<X> 0 </X>
|
|
||||||
;<Y> 380 </Y>
|
|
||||||
;<Filename> "ROOT/taobin_project/image/display_get_free/alpha.png" </Filename>
|
|
||||||
;</Image>
|
|
||||||
|
|
||||||
<Image>
|
|
||||||
<X> 0 </X>
|
|
||||||
<Y> 560 </Y>
|
|
||||||
<State> "Enable" </State>
|
|
||||||
<Filename> Var( DirImage + img_popup6 )</Filename>
|
|
||||||
</Image>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<Image>
|
|
||||||
<X> 751 </X>
|
|
||||||
<Y> 413 </Y>
|
|
||||||
<Filename> IMG_CNT </Filename>
|
|
||||||
</Image>
|
|
||||||
;
|
|
||||||
<Text>
|
|
||||||
<X> XPosiShowCountDownBrew </X>
|
|
||||||
<Y> 470 </Y>
|
|
||||||
<Align> End </Align>
|
|
||||||
<Width> 153 </Width>
|
|
||||||
<Size> 88 </Size>
|
|
||||||
<Font> RobotoBold </Font>
|
|
||||||
<Color> 0x513C2F </Color>
|
|
||||||
<Value> ShowCountDownBrewing </Value>
|
|
||||||
</Text>
|
|
||||||
|
|
||||||
<Text>
|
|
||||||
<X> 99 </X>
|
|
||||||
<Y> 1300 </Y>
|
|
||||||
<Align> center </Align>
|
|
||||||
<Size> 48 </Size>
|
|
||||||
<Color> 0x513C2F </Color>
|
|
||||||
<Value> "Please wait for coupon from SMS ... "
|
|
||||||
</Text>
|
|
||||||
|
|
||||||
</Popup>
|
|
||||||
|
|
@ -195,6 +195,9 @@
|
||||||
if "yuzu_250" in current_file_name:
|
if "yuzu_250" in current_file_name:
|
||||||
out_xml( '\t\tVar FromProYuzu250 = 1 \r\n')
|
out_xml( '\t\tVar FromProYuzu250 = 1 \r\n')
|
||||||
|
|
||||||
|
if "melonzy" in current_file_name:
|
||||||
|
out_xml('\t\tVar FromProMelon = 1\r\n')
|
||||||
|
|
||||||
|
|
||||||
out_xml( '\t\t\r\n')
|
out_xml( '\t\t\r\n')
|
||||||
out_xml( '\t\t\r\n')
|
out_xml( '\t\t\r\n')
|
||||||
|
|
|
||||||
|
|
@ -1551,6 +1551,7 @@
|
||||||
DEBUGVAR PD_STAGE_3
|
DEBUGVAR PD_STAGE_3
|
||||||
Var SelectDrinkType = 0
|
Var SelectDrinkType = 0
|
||||||
|
|
||||||
|
Var FromProMelon = 1
|
||||||
|
|
||||||
Open "ROOT/taobin_project/xml/page_topping_select6.lxml"
|
Open "ROOT/taobin_project/xml/page_topping_select6.lxml"
|
||||||
|
|
||||||
|
|
@ -6306,15 +6307,15 @@
|
||||||
</Text>
|
</Text>
|
||||||
</Block>
|
</Block>
|
||||||
; ==================> Len = 3
|
; ==================> Len = 3
|
||||||
; - 12-05-02-0075 12-05-03-0075
|
; - 12-05-02-0075 -
|
||||||
<Block>
|
<Block>
|
||||||
<MarginLeft> 33 </MarginLeft>
|
<MarginLeft> 33 </MarginLeft>
|
||||||
<MarginTop> 22 </MarginTop>
|
<MarginTop> 22 </MarginTop>
|
||||||
<Width> 225 </Width>
|
<Width> 225 </Width>
|
||||||
<Height> 296 </Height>
|
<Height> 296 </Height>
|
||||||
<State> Flag( 12-05-02-0075.Button,12-05-03-0075.Button,$Sum12050200751205030075) </State>
|
<State> Flag( 12-05-02-0075.Button,$Sum1205020075) </State>
|
||||||
<Button>
|
<Button>
|
||||||
<State> $Sum12050200751205030075 </State>
|
<State> $Sum1205020075 </State>
|
||||||
<Filename> "ROOT/taobin_project/inter/mys/image/page_drink_n//bn_iced_pepsi_Melon.png" </Filename>
|
<Filename> "ROOT/taobin_project/inter/mys/image/page_drink_n//bn_iced_pepsi_Melon.png" </Filename>
|
||||||
<FilenamePress> "ROOT/taobin_project/inter/mys/image/page_drink_press_n//bn_iced_pepsi_Melon.png" </FilenamePress>
|
<FilenamePress> "ROOT/taobin_project/inter/mys/image/page_drink_press_n//bn_iced_pepsi_Melon.png" </FilenamePress>
|
||||||
<FilenameDisable> "ROOT/taobin_project/inter/mys/image/page_drink_disable_n2//bn_iced_pepsi_Melon.png" </FilenameDisable>
|
<FilenameDisable> "ROOT/taobin_project/inter/mys/image/page_drink_disable_n2//bn_iced_pepsi_Melon.png" </FilenameDisable>
|
||||||
|
|
@ -6325,10 +6326,10 @@
|
||||||
Var OpenFromXML = CurrentXMLFileName2
|
Var OpenFromXML = CurrentXMLFileName2
|
||||||
Var PriceD1 = $-.Price
|
Var PriceD1 = $-.Price
|
||||||
Var PriceD2 = $12-05-02-0075.Price
|
Var PriceD2 = $12-05-02-0075.Price
|
||||||
Var PriceD3 = $12-05-03-0075.Price
|
Var PriceD3 = $-.Price
|
||||||
Var PD_CODE1 = "##-##-##-####"
|
Var PD_CODE1 = "##-##-##-####"
|
||||||
Var PD_CODE2 = "12-05-02-0075"
|
Var PD_CODE2 = "12-05-02-0075"
|
||||||
Var PD_CODE3 = "12-05-03-0075"
|
Var PD_CODE3 = "##-##-##-####"
|
||||||
; begin lang
|
; begin lang
|
||||||
Var aliasName[0] = "PEPSI Black MELON"
|
Var aliasName[0] = "PEPSI Black MELON"
|
||||||
Var aliasDesc[0] = "Pepsi Black, Melon Syrup& Ice"
|
Var aliasDesc[0] = "Pepsi Black, Melon Syrup& Ice"
|
||||||
|
|
@ -6366,22 +6367,22 @@
|
||||||
Var DescLang[1][3] = "-"
|
Var DescLang[1][3] = "-"
|
||||||
Var DescLang[1][4] = "Pepsi Black, Sirap Melon, Ais"
|
Var DescLang[1][4] = "Pepsi Black, Sirap Melon, Ais"
|
||||||
Var DescLang[1][5] = ""
|
Var DescLang[1][5] = ""
|
||||||
Var NameLang[2][0] = "PEPSI Black MELON Smoothie"
|
Var NameLang[2][0] = ""
|
||||||
Var NameLang[2][1] = "เป๊ปซี่เมล่อน"
|
Var NameLang[2][1] = ""
|
||||||
Var NameLang[2][2] = "-"
|
Var NameLang[2][2] = ""
|
||||||
Var NameLang[2][3] = "-"
|
Var NameLang[2][3] = ""
|
||||||
Var NameLang[2][4] = "PEPSI Black MELON Smoothie"
|
Var NameLang[2][4] = ""
|
||||||
Var NameLang[2][5] = ""
|
Var NameLang[2][5] = ""
|
||||||
Var DescLang[2][0] = "Pepsi Black, Melon Syrup& Ice"
|
Var DescLang[2][0] = ""
|
||||||
Var DescLang[2][1] = "เป๊ปซี่ น้ำเชื่อมเมล่อน โซดา"
|
Var DescLang[2][1] = ""
|
||||||
Var DescLang[2][2] = "-"
|
Var DescLang[2][2] = ""
|
||||||
Var DescLang[2][3] = "-"
|
Var DescLang[2][3] = ""
|
||||||
Var DescLang[2][4] = "Pepsi Black, Sirap Melon, Ais"
|
Var DescLang[2][4] = ""
|
||||||
Var DescLang[2][5] = ""
|
Var DescLang[2][5] = ""
|
||||||
; end lang
|
; end lang
|
||||||
Var PD_STAGE_1 = "Disable2"
|
Var PD_STAGE_1 = "Disable2"
|
||||||
Var PD_STAGE_2 = $12-05-02-0075.Button
|
Var PD_STAGE_2 = $12-05-02-0075.Button
|
||||||
Var PD_STAGE_3 = $12-05-03-0075.Button
|
Var PD_STAGE_3 = "Disable2"
|
||||||
Var SelectCountDrinkType = 0
|
Var SelectCountDrinkType = 0
|
||||||
Var DefaultDrinkType = 0
|
Var DefaultDrinkType = 0
|
||||||
If PD_STAGE_1 = "Enable" Then
|
If PD_STAGE_1 = "Enable" Then
|
||||||
|
|
@ -6402,7 +6403,7 @@
|
||||||
If PD_STAGE_1 = "Enable" Then
|
If PD_STAGE_1 = "Enable" Then
|
||||||
Topping "Load" "-"
|
Topping "Load" "-"
|
||||||
Else
|
Else
|
||||||
Topping "Load" "12-05-03-0075"
|
Topping "Load" "-"
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
@ -6411,6 +6412,8 @@
|
||||||
DEBUGVAR PD_STAGE_3
|
DEBUGVAR PD_STAGE_3
|
||||||
Var SelectDrinkType = 0
|
Var SelectDrinkType = 0
|
||||||
|
|
||||||
|
Var FromProMelon = 1
|
||||||
|
|
||||||
|
|
||||||
Open "ROOT/taobin_project/xml/page_topping_select6.lxml"
|
Open "ROOT/taobin_project/xml/page_topping_select6.lxml"
|
||||||
|
|
||||||
|
|
@ -6495,7 +6498,7 @@
|
||||||
<Y> 264 </Y>
|
<Y> 264 </Y>
|
||||||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||||||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||||||
<State> $12-05-03-0075.Button </State>
|
<State> "Invisible" </State>
|
||||||
</Image>
|
</Image>
|
||||||
<Text>
|
<Text>
|
||||||
<X> TextPriceMenuBlendX </X>
|
<X> TextPriceMenuBlendX </X>
|
||||||
|
|
@ -6505,8 +6508,8 @@
|
||||||
<Font> KanitRegularTTF </Font>
|
<Font> KanitRegularTTF </Font>
|
||||||
<Color> 0x6F5F51 </Color>
|
<Color> 0x6F5F51 </Color>
|
||||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||||
<State> $12-05-03-0075.Button </State>
|
<State> "Invisible" </State>
|
||||||
<Value> StringFmt( $12-05-03-0075.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||||
</Text>
|
</Text>
|
||||||
<Image>
|
<Image>
|
||||||
<X> 81 </X>
|
<X> 81 </X>
|
||||||
|
|
@ -6531,10 +6534,10 @@
|
||||||
<Y> 117 </Y>
|
<Y> 117 </Y>
|
||||||
<State>
|
<State>
|
||||||
eval(
|
eval(
|
||||||
If $Sum12050200751205030075 = "Disable" Then
|
If $Sum1205020075 = "Disable" Then
|
||||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||||||
STRCONTAIN "ERR" $12-05-02-0075.TAG tag2_is_disable
|
STRCONTAIN "ERR" $12-05-02-0075.TAG tag2_is_disable
|
||||||
STRCONTAIN "ERR" $12-05-03-0075.TAG tag3_is_disable
|
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||||||
Var return = "Invisible"
|
Var return = "Invisible"
|
||||||
If tag1_is_disable = "true" Then
|
If tag1_is_disable = "true" Then
|
||||||
Var return = "Enable"
|
Var return = "Enable"
|
||||||
|
|
@ -6568,7 +6571,7 @@
|
||||||
<Width>128</Width>
|
<Width>128</Width>
|
||||||
<Height>64</Height>
|
<Height>64</Height>
|
||||||
<Mode> "disable-show" </Mode>
|
<Mode> "disable-show" </Mode>
|
||||||
<State> $Sum12050200751205030075 </State>
|
<State> $Sum1205020075 </State>
|
||||||
<Language>
|
<Language>
|
||||||
<ID> 000013 </ID>
|
<ID> 000013 </ID>
|
||||||
</Language>
|
</Language>
|
||||||
|
|
|
||||||
1462
inter/mys/xml/page_catalog_group_pro_melon.lxml
Normal file
46
inter/mys/xml/page_catalog_group_pro_melon.skt
Normal file
|
|
@ -0,0 +1,46 @@
|
||||||
|
<?hurr
|
||||||
|
#include=menu_head.py
|
||||||
|
?>
|
||||||
|
|
||||||
|
<Popup>
|
||||||
|
<Cache> "Enable" </Cache>
|
||||||
|
<Width> 1080 </Width>
|
||||||
|
<Height> 1920 </Height>
|
||||||
|
;<Background> "0xeae6e1" </Background>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventOpen>
|
||||||
|
; On open
|
||||||
|
<?hurr
|
||||||
|
#include=menu_catalog_default_init.xml
|
||||||
|
?>
|
||||||
|
|
||||||
|
Var FromProYuzu = 0
|
||||||
|
Var Timeout = 0
|
||||||
|
|
||||||
|
|
||||||
|
<?hurr
|
||||||
|
#include=menu_catalog_new_menu.xml
|
||||||
|
?>
|
||||||
|
|
||||||
|
</EventOpen>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<?hurr
|
||||||
|
#include=menu_catalog_new.py
|
||||||
|
?>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<?hurr
|
||||||
|
#include=menu_new_layout_gen_v2.py
|
||||||
|
?>
|
||||||
|
<?hurr
|
||||||
|
#include=menu_new_layout_gen.py
|
||||||
|
?>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</Popup>
|
||||||
|
|
@ -115,8 +115,8 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Var FromProYuzu = 0
|
Var FromProMelon = 0
|
||||||
Var Timeout = 0
|
Var Timeout = 0
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<?hurr
|
<?hurr
|
||||||
#include=menu_head.py
|
#include=menu_head.py
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<Popup>
|
<Popup>
|
||||||
|
|
@ -13,12 +13,12 @@
|
||||||
<?hurr
|
<?hurr
|
||||||
#include=menu_catalog_default_init.xml
|
#include=menu_catalog_default_init.xml
|
||||||
?>
|
?>
|
||||||
|
|
||||||
Var FromProYuzu = 0
|
Var FromProMelon = 0
|
||||||
Var Timeout = 0
|
Var Timeout = 0
|
||||||
|
|
||||||
|
|
||||||
<?hurr
|
<?hurr
|
||||||
#include=menu_catalog_new_menu.xml
|
#include=menu_catalog_new_menu.xml
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|
@ -26,7 +26,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<?hurr
|
<?hurr
|
||||||
#include=menu_catalog_new.py
|
#include=menu_catalog_new.py
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|
@ -34,10 +34,10 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<?hurr
|
<?hurr
|
||||||
#include=menu_new_layout_gen_v2.py
|
#include=menu_new_layout_gen_v2.py
|
||||||
?>
|
?>
|
||||||
<?hurr
|
<?hurr
|
||||||
#include=menu_new_layout_gen.py
|
#include=menu_new_layout_gen.py
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -13759,13 +13759,13 @@
|
||||||
|
|
||||||
|
|
||||||
<Button>
|
<Button>
|
||||||
<X> 780 </X>
|
<X> btnRemoveCupX </X>
|
||||||
<Y> 500 </Y>
|
<Y> btnRemoveCupYNotPageBoard </Y>
|
||||||
<State> buttonRemoveCup </State>
|
<State> buttonRemoveCup </State>
|
||||||
;<Color> "0x00BDFF" </Color>
|
;<Color> "0x00BDFF" </Color>
|
||||||
<Interval> 500 </Interval>
|
<Interval> 500 </Interval>
|
||||||
<Filename> Var(RootPath + "image/main_page_inter/bn_remove_cup.png") </Filename>
|
<Filename> bnRemoveCup </Filename>
|
||||||
<Filename> Var(RootPath + "image/main_page_inter/bp_remove_cup.png") </Filename>
|
<Filename> bpRemoveCup </Filename>
|
||||||
<EventClick>
|
<EventClick>
|
||||||
Machine RemoveCup
|
Machine RemoveCup
|
||||||
Machine DoorLidOpen
|
Machine DoorLidOpen
|
||||||
|
|
|
||||||
|
|
@ -59,20 +59,7 @@
|
||||||
#include=menu_new_layout_gen.py
|
#include=menu_new_layout_gen.py
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<Button>
|
;include="ROOT/taobin_project/inc/button_remove_cup.inc"
|
||||||
<X> 780 </X>
|
|
||||||
<Y> 500 </Y>
|
|
||||||
<State> buttonRemoveCup </State>
|
|
||||||
;<Color> "0x00BDFF" </Color>
|
|
||||||
<Interval> 500 </Interval>
|
|
||||||
<Filename> Var(RootPath + "image/main_page_inter/bn_remove_cup.png") </Filename>
|
|
||||||
<Filename> Var(RootPath + "image/main_page_inter/bp_remove_cup.png") </Filename>
|
|
||||||
<EventClick>
|
|
||||||
Machine RemoveCup
|
|
||||||
Machine DoorLidOpen
|
|
||||||
Var buttonRemoveCup = "Invisible"
|
|
||||||
</EventClick>
|
|
||||||
</Button>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,174 +1,174 @@
|
||||||
|
|
||||||
|
|
||||||
<Popup>
|
<Popup>
|
||||||
<Cache> "Enable" </Cache>
|
<Cache> "Enable" </Cache>
|
||||||
<Width> 1080 </Width>
|
<Width> 1080 </Width>
|
||||||
<Height> 1920 </Height>
|
<Height> 1920 </Height>
|
||||||
;<Background> "0xeae6e1" </Background>
|
;<Background> "0xeae6e1" </Background>
|
||||||
<Volume> SoundVolume </Volume>
|
<Volume> SoundVolume </Volume>
|
||||||
<EventOpen>
|
<EventOpen>
|
||||||
; On open
|
; On open
|
||||||
Var NextPage = "-"
|
Var NextPage = "-"
|
||||||
|
|
||||||
DEBUGVAR ICE_PROCESS_STATUS
|
DEBUGVAR ICE_PROCESS_STATUS
|
||||||
DEBUGVAR ICE_PROCESS_TXT
|
DEBUGVAR ICE_PROCESS_TXT
|
||||||
|
|
||||||
|
|
||||||
DEBUGVAR LanguageShow
|
DEBUGVAR LanguageShow
|
||||||
DEBUGVAR CountryName
|
DEBUGVAR CountryName
|
||||||
|
|
||||||
If LanguageShow = "ENG" Then
|
If LanguageShow = "ENG" Then
|
||||||
Var DirImage2 = "ROOT/taobin_project/image/drink_option_en/"
|
Var DirImage2 = "ROOT/taobin_project/image/drink_option_en/"
|
||||||
Var DirImageAlter = "ROOT/taobin_project/image/page3_2_en/"
|
Var DirImageAlter = "ROOT/taobin_project/image/page3_2_en/"
|
||||||
Var DirImage = "ROOT/taobin_project/image/page3_en"
|
Var DirImage = "ROOT/taobin_project/image/page3_en"
|
||||||
Var ice_tab_text = "Ice will be ready at "
|
Var ice_tab_text = "Ice will be ready at "
|
||||||
|
|
||||||
EndIf
|
EndIf
|
||||||
If LanguageShow = "THAI" Then
|
If LanguageShow = "THAI" Then
|
||||||
Var DirImage2 = "ROOT/taobin_project/image/drink_option/"
|
Var DirImage2 = "ROOT/taobin_project/image/drink_option/"
|
||||||
Var DirImageAlter = "ROOT/taobin_project/image/page3_2/"
|
Var DirImageAlter = "ROOT/taobin_project/image/page3_2/"
|
||||||
Var ice_tab_text = "น้ำแข็งจะพร้อมเวลา "
|
Var ice_tab_text = "น้ำแข็งจะพร้อมเวลา "
|
||||||
Var DirImage = "ROOT/taobin_project/image/page3"
|
Var DirImage = "ROOT/taobin_project/image/page3"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
;inter-image
|
;inter-image
|
||||||
If CountryName = "Malaysia" Then
|
If CountryName = "Malaysia" Then
|
||||||
Var DirImage2 = "ROOT/taobin_project/image/drink_option_myr/"
|
Var DirImage2 = "ROOT/taobin_project/image/drink_option_myr/"
|
||||||
Var DirImageAlter = "ROOT/taobin_project/image/page3_2_en/"
|
Var DirImageAlter = "ROOT/taobin_project/image/page3_2_en/"
|
||||||
Var DirImage = "ROOT/taobin_project/image/page3_en"
|
Var DirImage = "ROOT/taobin_project/image/page3_en"
|
||||||
Var ice_tab_text = "Ice will be ready at "
|
Var ice_tab_text = "Ice will be ready at "
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
;inter-image
|
;inter-image
|
||||||
If CountryName = "Australia" Then
|
If CountryName = "Australia" Then
|
||||||
Var DirImage2 = "ROOT/taobin_project/image/drink_option_myr/"
|
Var DirImage2 = "ROOT/taobin_project/image/drink_option_myr/"
|
||||||
Var DirImageAlter = "ROOT/taobin_project/image/page3_2_en/"
|
Var DirImageAlter = "ROOT/taobin_project/image/page3_2_en/"
|
||||||
Var DirImage = "ROOT/taobin_project/image/page3_en"
|
Var DirImage = "ROOT/taobin_project/image/page3_en"
|
||||||
Var ice_tab_text = "Ice will be ready at "
|
Var ice_tab_text = "Ice will be ready at "
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
If ICE_PROCESS_STATUS = 2 Then
|
If ICE_PROCESS_STATUS = 2 Then
|
||||||
Var ice_tab_process_show = "Enable"
|
Var ice_tab_process_show = "Enable"
|
||||||
Var ice_show_open = ice_tab_text + ICE_PROCESS_TXT
|
Var ice_show_open = ice_tab_text + ICE_PROCESS_TXT
|
||||||
Else
|
Else
|
||||||
Var ice_tab_process_show = "Invisible"
|
Var ice_tab_process_show = "Invisible"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
; SpiralOnline
|
; SpiralOnline
|
||||||
|
|
||||||
Var MenuVSelected2 = "Invisible"
|
Var MenuVSelected2 = "Invisible"
|
||||||
|
|
||||||
Var Menu1Selected2 = "Invisible"
|
Var Menu1Selected2 = "Invisible"
|
||||||
Var Menu2Selected2 = "Invisible"
|
Var Menu2Selected2 = "Invisible"
|
||||||
Var Menu3Selected2 = "Invisible"
|
Var Menu3Selected2 = "Invisible"
|
||||||
Var Menu4Selected2 = "Invisible"
|
Var Menu4Selected2 = "Invisible"
|
||||||
|
|
||||||
Var Menu6Selected2 = "Invisible"
|
Var Menu6Selected2 = "Invisible"
|
||||||
Var Menu7Selected2 = "Invisible"
|
Var Menu7Selected2 = "Invisible"
|
||||||
Var MenuVSelected2 = "Invisible"
|
Var MenuVSelected2 = "Invisible"
|
||||||
Var Menu11Selected2 = "Invisible"
|
Var Menu11Selected2 = "Invisible"
|
||||||
|
|
||||||
Var Menu21Selected2 = "Invisible"
|
Var Menu21Selected2 = "Invisible"
|
||||||
|
|
||||||
Var MenuVSelected2 = "Invisible"
|
Var MenuVSelected2 = "Invisible"
|
||||||
If SpiralOnline = "true" Then
|
If SpiralOnline = "true" Then
|
||||||
If Seeker = "curr" Then
|
If Seeker = "curr" Then
|
||||||
Var MenuVSelected2 = "Enable"
|
Var MenuVSelected2 = "Enable"
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
; init default
|
; init default
|
||||||
Var Menu1Selected = "Enable"
|
Var Menu1Selected = "Enable"
|
||||||
Var Menu2Selected = "Enable"
|
Var Menu2Selected = "Enable"
|
||||||
Var Menu3Selected = "Enable"
|
Var Menu3Selected = "Enable"
|
||||||
Var Menu4Selected = "Enable"
|
Var Menu4Selected = "Enable"
|
||||||
; 5 fruit
|
; 5 fruit
|
||||||
Var Menu5Selected = "Invisible"
|
Var Menu5Selected = "Invisible"
|
||||||
Var Menu6Selected = "Enable"
|
Var Menu6Selected = "Enable"
|
||||||
Var Menu7Selected = "Enable"
|
Var Menu7Selected = "Enable"
|
||||||
; 8 cocktail
|
; 8 cocktail
|
||||||
Var Menu8Selected = "Invisible"
|
Var Menu8Selected = "Invisible"
|
||||||
|
|
||||||
If CocktailShow = "true" Then
|
If CocktailShow = "true" Then
|
||||||
Var Menu7Selected = "Invisible"
|
Var Menu7Selected = "Invisible"
|
||||||
Var Menu8Selected = "Enable"
|
Var Menu8Selected = "Enable"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
If AppFastEnable = "true" Then
|
If AppFastEnable = "true" Then
|
||||||
Var Menu11Selected = "Enable"
|
Var Menu11Selected = "Enable"
|
||||||
Var Menu21Selected = "Invisible"
|
Var Menu21Selected = "Invisible"
|
||||||
Var Menu7Selected = "Invisible"
|
Var Menu7Selected = "Invisible"
|
||||||
Else
|
Else
|
||||||
If MenuKidEnable = "true" Then
|
If MenuKidEnable = "true" Then
|
||||||
Var Menu11Selected = "Invisible"
|
Var Menu11Selected = "Invisible"
|
||||||
Var Menu21Selected = "Enable"
|
Var Menu21Selected = "Enable"
|
||||||
Var Menu7Selected = "Invisible"
|
Var Menu7Selected = "Invisible"
|
||||||
Else
|
Else
|
||||||
Var Menu11Selected = "Invisible"
|
Var Menu11Selected = "Invisible"
|
||||||
Var Menu21Selected = "Invisible"
|
Var Menu21Selected = "Invisible"
|
||||||
Var Menu7Selected = "Enable"
|
Var Menu7Selected = "Enable"
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
If CocktailShow = "true" Then
|
If CocktailShow = "true" Then
|
||||||
Var Menu7Selected = "Invisible"
|
Var Menu7Selected = "Invisible"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
If RecipeTag1 = "HealthTurnOn" Then
|
If RecipeTag1 = "HealthTurnOn" Then
|
||||||
Var Menu22Selected = "Enable"
|
Var Menu22Selected = "Enable"
|
||||||
Else
|
Else
|
||||||
Var Menu22Selected = "Invisible"
|
Var Menu22Selected = "Invisible"
|
||||||
EndIf
|
EndIf
|
||||||
;
|
;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Var Menu1Selected = "PressForever"
|
Var Menu1Selected = "PressForever"
|
||||||
|
|
||||||
Var OreoBigButtonEnable = "Enable"
|
Var OreoBigButtonEnable = "Enable"
|
||||||
|
|
||||||
If $12-01-01-0001.Button = "Invisible" Then
|
If $12-01-01-0001.Button = "Invisible" Then
|
||||||
Var esp102101001Enable = "Invisible"
|
Var esp102101001Enable = "Invisible"
|
||||||
Var esp122101001Enable = "Enable"
|
Var esp122101001Enable = "Enable"
|
||||||
|
|
||||||
Else
|
Else
|
||||||
Var esp102101001Enable = "Enable"
|
Var esp102101001Enable = "Enable"
|
||||||
Var esp122101001Enable = "Invisible"
|
Var esp122101001Enable = "Invisible"
|
||||||
|
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
SAVELOG PreviseXMLFileName2
|
SAVELOG PreviseXMLFileName2
|
||||||
|
|
||||||
Var Timeout = 0
|
Var Timeout = 0
|
||||||
|
|
||||||
If show_eng = "true" Then
|
If show_eng = "true" Then
|
||||||
|
|
||||||
Var text_unavailable = "UNAVAILABLE###size=16"
|
Var text_unavailable = "UNAVAILABLE###size=16"
|
||||||
Else
|
Else
|
||||||
Var text_unavailable = "หมด###size=32"
|
Var text_unavailable = "หมด###size=32"
|
||||||
|
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
If show_eng = "true" Then
|
If show_eng = "true" Then
|
||||||
Var DirImage2 = "ROOT/taobin_project/image/drink_option_en/"
|
Var DirImage2 = "ROOT/taobin_project/image/drink_option_en/"
|
||||||
Var DirImageAlter = "ROOT/taobin_project/image/page3_2_en/"
|
Var DirImageAlter = "ROOT/taobin_project/image/page3_2_en/"
|
||||||
|
|
||||||
Else
|
Else
|
||||||
Var DirImage2 = "ROOT/taobin_project/image/drink_option/"
|
Var DirImage2 = "ROOT/taobin_project/image/drink_option/"
|
||||||
Var DirImageAlter = "ROOT/taobin_project/image/page3_2/"
|
Var DirImageAlter = "ROOT/taobin_project/image/page3_2/"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
</EventOpen>
|
</EventOpen>
|
||||||
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/inter/mys/xml/menu_catalog_new.lxml"
|
;include="ROOT/taobin_project/inter/mys/xml/menu_catalog_new.lxml"
|
||||||
|
|
||||||
|
|
||||||
<FrameScroll>
|
<FrameScroll>
|
||||||
<Max> 4 </Max>
|
<Max> 4 </Max>
|
||||||
<X> 10 </X>
|
<X> 10 </X>
|
||||||
|
|
@ -52640,27 +52640,27 @@
|
||||||
Open "ROOT/taobin_project/xml/page_payment_multi.xml"
|
Open "ROOT/taobin_project/xml/page_payment_multi.xml"
|
||||||
</EventClick>
|
</EventClick>
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
;BigLogoLayout
|
;BigLogoLayout
|
||||||
|
|
||||||
<Button>
|
<Button>
|
||||||
<X> 780 </X>
|
<X> btnRemoveCupX </X>
|
||||||
<Y> 500 </Y>
|
<Y> btnRemoveCupYNotPageBoard </Y>
|
||||||
<State> buttonRemoveCup </State>
|
<State> buttonRemoveCup </State>
|
||||||
;<Color> "0x00BDFF" </Color>
|
;<Color> "0x00BDFF" </Color>
|
||||||
<Interval> 500 </Interval>
|
<Interval> 500 </Interval>
|
||||||
<Filename> Var(RootPath + "image/main_page_inter/bn_remove_cup.png") </Filename>
|
<Filename> bnRemoveCup </Filename>
|
||||||
<Filename> Var(RootPath + "image/main_page_inter/bp_remove_cup.png") </Filename>
|
<Filename> bpRemoveCup </Filename>
|
||||||
<EventClick>
|
<EventClick>
|
||||||
Machine RemoveCup
|
Machine RemoveCup
|
||||||
Machine DoorLidOpen
|
Machine DoorLidOpen
|
||||||
Var buttonRemoveCup = "Invisible"
|
Var buttonRemoveCup = "Invisible"
|
||||||
</EventClick>
|
</EventClick>
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
</Popup>
|
</Popup>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -60,20 +60,7 @@
|
||||||
|
|
||||||
;BigLogoLayout
|
;BigLogoLayout
|
||||||
|
|
||||||
<Button>
|
;include="ROOT/taobin_project/inc/button_remove_cup.inc"
|
||||||
<X> 780 </X>
|
|
||||||
<Y> 500 </Y>
|
|
||||||
<State> buttonRemoveCup </State>
|
|
||||||
;<Color> "0x00BDFF" </Color>
|
|
||||||
<Interval> 500 </Interval>
|
|
||||||
<Filename> Var(RootPath + "image/main_page_inter/bn_remove_cup.png") </Filename>
|
|
||||||
<Filename> Var(RootPath + "image/main_page_inter/bp_remove_cup.png") </Filename>
|
|
||||||
<EventClick>
|
|
||||||
Machine RemoveCup
|
|
||||||
Machine DoorLidOpen
|
|
||||||
Var buttonRemoveCup = "Invisible"
|
|
||||||
</EventClick>
|
|
||||||
</Button>
|
|
||||||
|
|
||||||
</Popup>
|
</Popup>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -11,8 +11,8 @@
|
||||||
; jump
|
; jump
|
||||||
If IgnoreCollectPointByMe = 1 Then
|
If IgnoreCollectPointByMe = 1 Then
|
||||||
Var IgnoreCollectPointByMe = 0
|
Var IgnoreCollectPointByMe = 0
|
||||||
Open "ROOT/taobin_project/xml/page_lid_straw.xml"
|
Open "ROOT/taobin_project/xml/page_lid_straw.xml"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
If Seeker.CodeChannel = 1 Then
|
If Seeker.CodeChannel = 1 Then
|
||||||
If Seeker.CollectPointMain = 0 Then
|
If Seeker.CollectPointMain = 0 Then
|
||||||
|
|
@ -20,10 +20,10 @@
|
||||||
Open "ROOT/taobin_project/xml/page_lid_straw.xml"
|
Open "ROOT/taobin_project/xml/page_lid_straw.xml"
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
If SettingIgnoreCollectPoint = 1 Then
|
If SettingIgnoreCollectPoint = 1 Then
|
||||||
Open "ROOT/taobin_project/xml/page_lid_straw.xml"
|
Open "ROOT/taobin_project/xml/page_lid_straw.xml"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
Var ShowErrorText = "Invisible"
|
Var ShowErrorText = "Invisible"
|
||||||
|
|
||||||
|
|
@ -35,7 +35,7 @@
|
||||||
|
|
||||||
Var TimeOutPlay = 0
|
Var TimeOutPlay = 0
|
||||||
|
|
||||||
If show_eng = "true" Then
|
If show_eng = "true" Then
|
||||||
Var DirImage = "ROOT/taobin_project/image/collect_point1_en"
|
Var DirImage = "ROOT/taobin_project/image/collect_point1_en"
|
||||||
;Play "ROOT/taobin_project/sound_eng/Reward_final.mp3"
|
;Play "ROOT/taobin_project/sound_eng/Reward_final.mp3"
|
||||||
|
|
||||||
|
|
@ -74,7 +74,7 @@
|
||||||
|
|
||||||
Var CampaingRef1 = ""
|
Var CampaingRef1 = ""
|
||||||
Var CampaingRef2 = ""
|
Var CampaingRef2 = ""
|
||||||
|
|
||||||
|
|
||||||
SUBSTRING CampaingRef 0 6 CampaingRef1
|
SUBSTRING CampaingRef 0 6 CampaingRef1
|
||||||
SUBSTRING CampaingRef 12 18 CampaingRef2
|
SUBSTRING CampaingRef 12 18 CampaingRef2
|
||||||
|
|
@ -124,22 +124,20 @@
|
||||||
Var PepweenCollectPoint = 0
|
Var PepweenCollectPoint = 0
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
DEBUGVAR PepweenCollectPoint
|
DEBUGVAR PepweenCollectPoint
|
||||||
|
|
||||||
DEBUGVAR FruityRayaEnable
|
|
||||||
DEBUGVAR FromFruityRaya
|
|
||||||
DEBUGVAR ProThaiTeaEnable
|
DEBUGVAR ProThaiTeaEnable
|
||||||
DEBUGVAR FromProThaiTea
|
DEBUGVAR FromProThaiTea
|
||||||
DEBUGVAR FromProYuzu
|
DEBUGVAR FromProYuzu
|
||||||
DEBUGVAR FromProYuzu250
|
DEBUGVAR FromProYuzu250
|
||||||
|
|
||||||
If Seeker.TNumberTaobinCredit = "" Then
|
If Seeker.TNumberTaobinCredit = "" Then
|
||||||
|
|
||||||
|
|
||||||
If web_telnumOK = "" Then
|
If web_telnumOK = "" Then
|
||||||
|
|
||||||
If show_eng = "true" Then
|
If show_eng = "true" Then
|
||||||
Play "ROOT/taobin_project/sound_eng/Reward_final.mp3"
|
Play "ROOT/taobin_project/sound_eng/Reward_final.mp3"
|
||||||
Else
|
Else
|
||||||
Play "ROOT/taobin_project/sound_thai/dontforget_number.mp3"
|
Play "ROOT/taobin_project/sound_thai/dontforget_number.mp3"
|
||||||
|
|
@ -150,7 +148,7 @@
|
||||||
Var StepGetPoint = 1
|
Var StepGetPoint = 1
|
||||||
|
|
||||||
Var PdpaAsk = 0
|
Var PdpaAsk = 0
|
||||||
|
|
||||||
Var OperatorTemp = ""
|
Var OperatorTemp = ""
|
||||||
Var CreditAmount = 0
|
Var CreditAmount = 0
|
||||||
Var OperatorStatus = ""
|
Var OperatorStatus = ""
|
||||||
|
|
@ -170,28 +168,12 @@
|
||||||
AddData 45 TelPhoneNum drink_price param2 param3
|
AddData 45 TelPhoneNum drink_price param2 param3
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
;GetAccInfo TelephoneNumber OperatorTemp CreditAmount OperatorStatus AccountType GetScore tc
|
;GetAccInfo TelephoneNumber OperatorTemp CreditAmount OperatorStatus AccountType GetScore tc
|
||||||
Var Param1 = TelephoneNumber + "/"
|
Var Param1 = TelephoneNumber + "/"
|
||||||
Var Param1 = Param1 + ParamCP
|
Var Param1 = Param1 + ParamCP
|
||||||
|
|
||||||
If MyMintEnable = 1 Then
|
|
||||||
If FromMyMintPro = 1 Then
|
|
||||||
GETACCEXT TelephoneNumber 32
|
|
||||||
Open "ROOT/taobin_project/xml/event/my_mint_my_moment/page_collect_point_pro_mymint_2.xml"
|
|
||||||
EndIf
|
|
||||||
EndIf
|
|
||||||
|
|
||||||
DEBUGVAR FruityRayaEnable
|
|
||||||
DEBUGVAR FromFruityRaya
|
|
||||||
If FruityRayaEnable = 1 Then
|
|
||||||
If FromFruityRaya = 1 Then
|
|
||||||
Open "ROOT/taobin_project/inter/mys/xml/event/fruit_raya/page_get_free_1_fruit_raya.lxml"
|
|
||||||
EndIf
|
|
||||||
|
|
||||||
EndIf
|
|
||||||
|
|
||||||
DEBUGVAR ProThaiTeaEnable
|
DEBUGVAR ProThaiTeaEnable
|
||||||
DEBUGVAR FromProThaiTea
|
DEBUGVAR FromProThaiTea
|
||||||
If ProThaiTeaEnable = 1 Then
|
If ProThaiTeaEnable = 1 Then
|
||||||
|
|
@ -208,75 +190,8 @@
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
If PepweenEnable = 1 Then
|
|
||||||
If PepweenCollectPoint = 0 Then
|
|
||||||
GETACCEXT TelephoneNumber 31
|
|
||||||
Open "ROOT/taobin_project/xml/event/pepween/page_collect_point_pro_pepween_2.xml"
|
|
||||||
EndIf
|
|
||||||
EndIf
|
|
||||||
|
|
||||||
If ProBadValentineEnable = 1 Then
|
|
||||||
If FromBadValentinePro = 1 Then
|
|
||||||
GETACCEXT TelephoneNumber 32
|
|
||||||
Open "ROOT/taobin_project/xml/event/bad_valentine/page_collect_point_pro_bad_valentine_2.xml"
|
|
||||||
EndIf
|
|
||||||
EndIf
|
|
||||||
|
|
||||||
If LipitPro = 1 Then
|
|
||||||
If FromLipitPro = 1 Then
|
|
||||||
If Seeker.CodeChannel = 1 Then
|
|
||||||
If Seeker.CollectPointPromotion = 1 Then
|
|
||||||
If LipitRewardOutOfStock = 0 Then
|
|
||||||
GETACCEXT TelephoneNumber 32
|
|
||||||
Open "ROOT/taobin_project/xml/event/lipit/page_collect_point_pro_lipit_2.xml"
|
|
||||||
EndIf
|
|
||||||
EndIf
|
|
||||||
Else
|
|
||||||
If LipitRewardOutOfStock = 0 Then
|
|
||||||
GETACCEXT TelephoneNumber 32
|
|
||||||
Open "ROOT/taobin_project/xml/event/lipit/page_collect_point_pro_lipit_2.xml"
|
|
||||||
EndIf
|
|
||||||
EndIf
|
|
||||||
EndIf
|
|
||||||
EndIf
|
|
||||||
|
|
||||||
DEBUGVAR NamHomCoconutPro
|
|
||||||
DEBUGVAR FromNamHomCoconutPro
|
|
||||||
DEBUGVAR Seeker.CodeChannel
|
|
||||||
If NamHomCoconutPro = 1 Then
|
|
||||||
If FromNamHomCoconutPro = 1 Then
|
|
||||||
If Seeker.CodeChannel = 1 Then
|
|
||||||
If Seeker.CollectPointPromotion = 1 Then
|
|
||||||
If NamHomCoconutRewardOutOfStock = 0 Then
|
|
||||||
GETACCEXT TelephoneNumber 32
|
|
||||||
Open "ROOT/taobin_project/xml/event/nam_hom_coconut/page_collect_point_nam_hom_coconut_2.xml"
|
|
||||||
EndIf
|
|
||||||
EndIf
|
|
||||||
Else
|
|
||||||
If NamHomCoconutRewardOutOfStock = 0 Then
|
|
||||||
GETACCEXT TelephoneNumber 32
|
|
||||||
Open "ROOT/taobin_project/xml/event/nam_hom_coconut/page_collect_point_nam_hom_coconut_2.xml"
|
|
||||||
EndIf
|
|
||||||
EndIf
|
|
||||||
EndIf
|
|
||||||
EndIf
|
|
||||||
|
|
||||||
If RobinsonBeautyPro = 1 Then
|
|
||||||
If FromRobinsonBeautyPro = 1 Then
|
|
||||||
If Seeker.CodeChannel = 1 Then
|
|
||||||
If Seeker.CollectPointPromotion = 1 Then
|
|
||||||
GETACCEXT TelephoneNumber 32
|
|
||||||
Open "ROOT/taobin_project/xml/event/robinson_beauty/page_collect_point_robinson_beauty_2.xml"
|
|
||||||
EndIf
|
|
||||||
Else
|
|
||||||
GETACCEXT TelephoneNumber 32
|
|
||||||
Open "ROOT/taobin_project/xml/event/robinson_beauty/page_collect_point_robinson_beauty_2.xml"
|
|
||||||
EndIf
|
|
||||||
EndIf
|
|
||||||
EndIf
|
|
||||||
|
|
||||||
GETACCEXT Param1 23
|
GETACCEXT Param1 23
|
||||||
Open "ROOT/taobin_project/inter/mys/xml/page_collect_point_2.lxml"
|
Open "ROOT/taobin_project/inter/mys/xml/page_collect_point_2.lxml"
|
||||||
|
|
||||||
EndIf
|
EndIf
|
||||||
Else
|
Else
|
||||||
|
|
@ -294,7 +209,7 @@
|
||||||
Var StepGetPoint = 1
|
Var StepGetPoint = 1
|
||||||
|
|
||||||
Var PdpaAsk = 0
|
Var PdpaAsk = 0
|
||||||
|
|
||||||
Var OperatorTemp = ""
|
Var OperatorTemp = ""
|
||||||
Var CreditAmount = 0
|
Var CreditAmount = 0
|
||||||
Var OperatorStatus = ""
|
Var OperatorStatus = ""
|
||||||
|
|
@ -304,40 +219,20 @@
|
||||||
Var TelephoneNumberX = TelephoneNumber
|
Var TelephoneNumberX = TelephoneNumber
|
||||||
DEBUGVAR TelephoneNumber
|
DEBUGVAR TelephoneNumber
|
||||||
DEBUGVAR PepweenCollectPoint
|
DEBUGVAR PepweenCollectPoint
|
||||||
|
|
||||||
|
|
||||||
;GetAccInfo TelephoneNumber OperatorTemp CreditAmount OperatorStatus AccountType GetScore tc
|
;GetAccInfo TelephoneNumber OperatorTemp CreditAmount OperatorStatus AccountType GetScore tc
|
||||||
Var Param1 = TelephoneNumber + "/"
|
Var Param1 = TelephoneNumber + "/"
|
||||||
Var Param1 = Param1 + ParamCP
|
Var Param1 = Param1 + ParamCP
|
||||||
|
|
||||||
DEBUGVAR MyMintEnable
|
|
||||||
DEBUGVAR FromMyMintPro
|
|
||||||
DEBUGVAR LipitPro
|
|
||||||
DEBUGVAR FromLipitPro
|
|
||||||
If MyMintEnable = 1 Then
|
|
||||||
If FromMyMintPro = 1 Then
|
|
||||||
GETACCEXT TelephoneNumber 32
|
|
||||||
Open "ROOT/taobin_project/xml/event/my_mint_my_moment/page_collect_point_pro_mymint_2.xml"
|
|
||||||
EndIf
|
|
||||||
EndIf
|
|
||||||
|
|
||||||
DEBUGVAR FruityRayaEnable
|
|
||||||
DEBUGVAR FromFruityRaya
|
|
||||||
If FruityRayaEnable = 1 Then
|
|
||||||
If FromFruityRaya = 1 Then
|
|
||||||
Open "ROOT/taobin_project/inter/mys/xml/event/fruit_raya/page_get_free_1_fruit_raya.lxml"
|
|
||||||
EndIf
|
|
||||||
|
|
||||||
EndIf
|
|
||||||
|
|
||||||
DEBUGVAR ProThaiTeaEnable
|
DEBUGVAR ProThaiTeaEnable
|
||||||
DEBUGVAR FromProThaiTea
|
DEBUGVAR FromProThaiTea
|
||||||
If ProThaiTeaEnable = 1 Then
|
If ProThaiTeaEnable = 1 Then
|
||||||
If FromProThaiTea = 1 Then
|
If FromProThaiTea = 1 Then
|
||||||
Open "ROOT/taobin_project/inter/mys/xml/event/thai_tea/page_get_free_1_thai_tea.lxml"
|
Open "ROOT/taobin_project/inter/mys/xml/event/thai_tea/page_get_free_1_thai_tea.lxml"
|
||||||
EndIf
|
|
||||||
EndIf
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
DEBUGVAR ProYuzuEnable
|
DEBUGVAR ProYuzuEnable
|
||||||
DEBUGVAR FromProYuzu
|
DEBUGVAR FromProYuzu
|
||||||
If ProYuzuEnable = 1 Then
|
If ProYuzuEnable = 1 Then
|
||||||
|
|
@ -346,69 +241,8 @@
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
If ProBadValentineEnable = 1 Then
|
|
||||||
If FromBadValentinePro = 1 Then
|
|
||||||
GETACCEXT TelephoneNumber 32
|
|
||||||
Open "ROOT/taobin_project/xml/event/bad_valentine/page_collect_point_pro_bad_valentine_2.xml"
|
|
||||||
EndIf
|
|
||||||
EndIf
|
|
||||||
|
|
||||||
If LipitPro = 1 Then
|
|
||||||
If FromLipitPro = 1 Then
|
|
||||||
If Seeker.CodeChannel = 1 Then
|
|
||||||
If Seeker.CollectPointPromotion = 1 Then
|
|
||||||
If LipitRewardOutOfStock = 0 Then
|
|
||||||
GETACCEXT TelephoneNumber 32
|
|
||||||
Open "ROOT/taobin_project/xml/event/lipit/page_collect_point_pro_lipit_2.xml"
|
|
||||||
EndIf
|
|
||||||
EndIf
|
|
||||||
Else
|
|
||||||
If LipitRewardOutOfStock = 0 Then
|
|
||||||
GETACCEXT TelephoneNumber 32
|
|
||||||
Open "ROOT/taobin_project/xml/event/lipit/page_collect_point_pro_lipit_2.xml"
|
|
||||||
EndIf
|
|
||||||
EndIf
|
|
||||||
EndIf
|
|
||||||
EndIf
|
|
||||||
|
|
||||||
DEBUGVAR NamHomCoconutPro
|
|
||||||
DEBUGVAR FromNamHomCoconutPro
|
|
||||||
DEBUGVAR Seeker.CodeChannel
|
|
||||||
If NamHomCoconutPro = 1 Then
|
|
||||||
If FromNamHomCoconutPro = 1 Then
|
|
||||||
If Seeker.CodeChannel = 1 Then
|
|
||||||
If Seeker.CollectPointPromotion = 1 Then
|
|
||||||
If NamHomCoconutRewardOutOfStock = 0 Then
|
|
||||||
GETACCEXT TelephoneNumber 32
|
|
||||||
Open "ROOT/taobin_project/xml/event/nam_hom_coconut/page_collect_point_nam_hom_coconut_2.xml"
|
|
||||||
EndIf
|
|
||||||
EndIf
|
|
||||||
Else
|
|
||||||
If NamHomCoconutRewardOutOfStock = 0 Then
|
|
||||||
GETACCEXT TelephoneNumber 32
|
|
||||||
Open "ROOT/taobin_project/xml/event/nam_hom_coconut/page_collect_point_nam_hom_coconut_2.xml"
|
|
||||||
EndIf
|
|
||||||
EndIf
|
|
||||||
EndIf
|
|
||||||
EndIf
|
|
||||||
|
|
||||||
If RobinsonBeautyPro = 1 Then
|
|
||||||
If FromRobinsonBeautyPro = 1 Then
|
|
||||||
If Seeker.CodeChannel = 1 Then
|
|
||||||
If Seeker.CollectPointPromotion = 1 Then
|
|
||||||
GETACCEXT TelephoneNumber 32
|
|
||||||
Open "ROOT/taobin_project/xml/event/robinson_beauty/page_collect_point_robinson_beauty_2.xml"
|
|
||||||
EndIf
|
|
||||||
Else
|
|
||||||
GETACCEXT TelephoneNumber 32
|
|
||||||
Open "ROOT/taobin_project/xml/event/robinson_beauty/page_collect_point_robinson_beauty_2.xml"
|
|
||||||
EndIf
|
|
||||||
EndIf
|
|
||||||
EndIf
|
|
||||||
|
|
||||||
|
|
||||||
GETACCEXT Param1 23
|
GETACCEXT Param1 23
|
||||||
Open "ROOT/taobin_project/inter/mys/xml/page_collect_point_2.lxml"
|
Open "ROOT/taobin_project/inter/mys/xml/page_collect_point_2.lxml"
|
||||||
|
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
@ -416,24 +250,24 @@
|
||||||
|
|
||||||
</EventOpen>
|
</EventOpen>
|
||||||
<Timeout> 1000 </Timeout>
|
<Timeout> 1000 </Timeout>
|
||||||
<EventTimeout>
|
<EventTimeout>
|
||||||
|
|
||||||
Var CountDownBrewing = BREW_CNT
|
Var CountDownBrewing = BREW_CNT
|
||||||
|
|
||||||
|
|
||||||
Var ShowCountDownBrewing = CountDownBrewing
|
Var ShowCountDownBrewing = CountDownBrewing
|
||||||
|
|
||||||
|
|
||||||
StrLen TelephoneNumber TelNumLen
|
StrLen TelephoneNumber TelNumLen
|
||||||
If TelNumLen > 0 Then
|
If TelNumLen > 0 Then
|
||||||
Var ShowTextNumber = "Invisible"
|
Var ShowTextNumber = "Invisible"
|
||||||
|
|
||||||
Else
|
Else
|
||||||
; Add
|
; Add
|
||||||
Var TimeOutPlay = TimeOutPlay + 1
|
Var TimeOutPlay = TimeOutPlay + 1
|
||||||
If TimeOutPlay > 10 Then
|
If TimeOutPlay > 10 Then
|
||||||
Var TimeOutPlay = 0
|
Var TimeOutPlay = 0
|
||||||
If show_eng = "true" Then
|
If show_eng = "true" Then
|
||||||
Play "ROOT/taobin_project/sound_eng/Reward_final.mp3"
|
Play "ROOT/taobin_project/sound_eng/Reward_final.mp3"
|
||||||
Else
|
Else
|
||||||
Play "ROOT/taobin_project/sound_thai/dontforget_number.mp3"
|
Play "ROOT/taobin_project/sound_thai/dontforget_number.mp3"
|
||||||
|
|
@ -442,17 +276,17 @@
|
||||||
;
|
;
|
||||||
|
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
DEBUGVAR Timeout
|
DEBUGVAR Timeout
|
||||||
|
|
||||||
Var Timeout = Timeout + 1
|
Var Timeout = Timeout + 1
|
||||||
If Timeout > 30 Then
|
If Timeout > 30 Then
|
||||||
|
|
||||||
SAVELOG "collect_point1-p107."
|
SAVELOG "collect_point1-p107."
|
||||||
;Open "ROOT/taobin_project/xml/page_catalog.xml"
|
;Open "ROOT/taobin_project/xml/page_catalog.xml"
|
||||||
|
|
||||||
|
|
||||||
Open "ROOT/taobin_project/xml/page_lid_straw.xml"
|
Open "ROOT/taobin_project/xml/page_lid_straw.xml"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
If Timeout = 18 Then
|
If Timeout = 18 Then
|
||||||
|
|
@ -470,7 +304,7 @@
|
||||||
|
|
||||||
Refresh
|
Refresh
|
||||||
TimerReset
|
TimerReset
|
||||||
</EventTimeout>
|
</EventTimeout>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -496,13 +330,13 @@
|
||||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_1.png" </FilenamePress>
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_1.png" </FilenamePress>
|
||||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
<Volume> SoundVolume </Volume>
|
<Volume> SoundVolume </Volume>
|
||||||
<EventClick>
|
<EventClick>
|
||||||
Var Timeout = 0
|
Var Timeout = 0
|
||||||
Var TelephoneNumber = TelephoneNumber + "1"
|
Var TelephoneNumber = TelephoneNumber + "1"
|
||||||
Trim TelephoneNumber MaxPhoneNumber
|
Trim TelephoneNumber MaxPhoneNumber
|
||||||
StrLen TelephoneNumber TelNumLen
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
|
||||||
If TelNumLen >= MinPhoneNumber Then
|
If TelNumLen >= MinPhoneNumber Then
|
||||||
Var Tel_Confirm_State = "Enable"
|
Var Tel_Confirm_State = "Enable"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
@ -512,9 +346,9 @@
|
||||||
TimerReset
|
TimerReset
|
||||||
Refresh
|
Refresh
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</EventClick>
|
</EventClick>
|
||||||
</Button>
|
</Button>
|
||||||
|
|
@ -526,13 +360,13 @@
|
||||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_2.png" </FilenamePress>
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_2.png" </FilenamePress>
|
||||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
<Volume> SoundVolume </Volume>
|
<Volume> SoundVolume </Volume>
|
||||||
<EventClick>
|
<EventClick>
|
||||||
Var Timeout = 0
|
Var Timeout = 0
|
||||||
Var TelephoneNumber = TelephoneNumber + "2"
|
Var TelephoneNumber = TelephoneNumber + "2"
|
||||||
Trim TelephoneNumber MaxPhoneNumber
|
Trim TelephoneNumber MaxPhoneNumber
|
||||||
StrLen TelephoneNumber TelNumLen
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
|
||||||
If TelNumLen >= MinPhoneNumber Then
|
If TelNumLen >= MinPhoneNumber Then
|
||||||
Var Tel_Confirm_State = "Enable"
|
Var Tel_Confirm_State = "Enable"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
@ -551,13 +385,13 @@
|
||||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_3.png" </FilenamePress>
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_3.png" </FilenamePress>
|
||||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
<Volume> SoundVolume </Volume>
|
<Volume> SoundVolume </Volume>
|
||||||
<EventClick>
|
<EventClick>
|
||||||
Var Timeout = 0
|
Var Timeout = 0
|
||||||
Var TelephoneNumber = TelephoneNumber + "3"
|
Var TelephoneNumber = TelephoneNumber + "3"
|
||||||
Trim TelephoneNumber MaxPhoneNumber
|
Trim TelephoneNumber MaxPhoneNumber
|
||||||
StrLen TelephoneNumber TelNumLen
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
|
||||||
If TelNumLen >= MinPhoneNumber Then
|
If TelNumLen >= MinPhoneNumber Then
|
||||||
Var Tel_Confirm_State = "Enable"
|
Var Tel_Confirm_State = "Enable"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
@ -576,13 +410,13 @@
|
||||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_4.png" </FilenamePress>
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_4.png" </FilenamePress>
|
||||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
<Volume> SoundVolume </Volume>
|
<Volume> SoundVolume </Volume>
|
||||||
<EventClick>
|
<EventClick>
|
||||||
Var Timeout = 0
|
Var Timeout = 0
|
||||||
Var TelephoneNumber = TelephoneNumber + "4"
|
Var TelephoneNumber = TelephoneNumber + "4"
|
||||||
Trim TelephoneNumber MaxPhoneNumber
|
Trim TelephoneNumber MaxPhoneNumber
|
||||||
StrLen TelephoneNumber TelNumLen
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
|
||||||
If TelNumLen >= MinPhoneNumber Then
|
If TelNumLen >= MinPhoneNumber Then
|
||||||
Var Tel_Confirm_State = "Enable"
|
Var Tel_Confirm_State = "Enable"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
@ -601,13 +435,13 @@
|
||||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_5.png" </FilenamePress>
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_5.png" </FilenamePress>
|
||||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
<Volume> SoundVolume </Volume>
|
<Volume> SoundVolume </Volume>
|
||||||
<EventClick>
|
<EventClick>
|
||||||
Var Timeout = 0
|
Var Timeout = 0
|
||||||
Var TelephoneNumber = TelephoneNumber + "5"
|
Var TelephoneNumber = TelephoneNumber + "5"
|
||||||
Trim TelephoneNumber MaxPhoneNumber
|
Trim TelephoneNumber MaxPhoneNumber
|
||||||
StrLen TelephoneNumber TelNumLen
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
|
||||||
If TelNumLen >= MinPhoneNumber Then
|
If TelNumLen >= MinPhoneNumber Then
|
||||||
Var Tel_Confirm_State = "Enable"
|
Var Tel_Confirm_State = "Enable"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
@ -626,13 +460,13 @@
|
||||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_6.png" </FilenamePress>
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_6.png" </FilenamePress>
|
||||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
<Volume> SoundVolume </Volume>
|
<Volume> SoundVolume </Volume>
|
||||||
<EventClick>
|
<EventClick>
|
||||||
Var Timeout = 0
|
Var Timeout = 0
|
||||||
Var TelephoneNumber = TelephoneNumber + "6"
|
Var TelephoneNumber = TelephoneNumber + "6"
|
||||||
Trim TelephoneNumber MaxPhoneNumber
|
Trim TelephoneNumber MaxPhoneNumber
|
||||||
StrLen TelephoneNumber TelNumLen
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
|
||||||
If TelNumLen >= MinPhoneNumber Then
|
If TelNumLen >= MinPhoneNumber Then
|
||||||
Var Tel_Confirm_State = "Enable"
|
Var Tel_Confirm_State = "Enable"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
@ -651,13 +485,13 @@
|
||||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_7.png" </FilenamePress>
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_7.png" </FilenamePress>
|
||||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
<Volume> SoundVolume </Volume>
|
<Volume> SoundVolume </Volume>
|
||||||
<EventClick>
|
<EventClick>
|
||||||
Var Timeout = 0
|
Var Timeout = 0
|
||||||
Var TelephoneNumber = TelephoneNumber + "7"
|
Var TelephoneNumber = TelephoneNumber + "7"
|
||||||
Trim TelephoneNumber MaxPhoneNumber
|
Trim TelephoneNumber MaxPhoneNumber
|
||||||
StrLen TelephoneNumber TelNumLen
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
|
||||||
If TelNumLen >= MinPhoneNumber Then
|
If TelNumLen >= MinPhoneNumber Then
|
||||||
Var Tel_Confirm_State = "Enable"
|
Var Tel_Confirm_State = "Enable"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
@ -676,13 +510,13 @@
|
||||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_8.png" </FilenamePress>
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_8.png" </FilenamePress>
|
||||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
<Volume> SoundVolume </Volume>
|
<Volume> SoundVolume </Volume>
|
||||||
<EventClick>
|
<EventClick>
|
||||||
Var Timeout = 0
|
Var Timeout = 0
|
||||||
Var TelephoneNumber = TelephoneNumber + "8"
|
Var TelephoneNumber = TelephoneNumber + "8"
|
||||||
Trim TelephoneNumber MaxPhoneNumber
|
Trim TelephoneNumber MaxPhoneNumber
|
||||||
StrLen TelephoneNumber TelNumLen
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
|
||||||
If TelNumLen >= MinPhoneNumber Then
|
If TelNumLen >= MinPhoneNumber Then
|
||||||
Var Tel_Confirm_State = "Enable"
|
Var Tel_Confirm_State = "Enable"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
@ -701,13 +535,13 @@
|
||||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_9.png" </FilenamePress>
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_9.png" </FilenamePress>
|
||||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
<Volume> SoundVolume </Volume>
|
<Volume> SoundVolume </Volume>
|
||||||
<EventClick>
|
<EventClick>
|
||||||
Var Timeout = 0
|
Var Timeout = 0
|
||||||
Var TelephoneNumber = TelephoneNumber + "9"
|
Var TelephoneNumber = TelephoneNumber + "9"
|
||||||
Trim TelephoneNumber MaxPhoneNumber
|
Trim TelephoneNumber MaxPhoneNumber
|
||||||
StrLen TelephoneNumber TelNumLen
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
|
||||||
If TelNumLen >= MinPhoneNumber Then
|
If TelNumLen >= MinPhoneNumber Then
|
||||||
Var Tel_Confirm_State = "Enable"
|
Var Tel_Confirm_State = "Enable"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
@ -716,7 +550,7 @@
|
||||||
|
|
||||||
TimerReset
|
TimerReset
|
||||||
Refresh
|
Refresh
|
||||||
|
|
||||||
</EventClick>
|
</EventClick>
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
|
|
@ -727,13 +561,13 @@
|
||||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_0.png" </FilenamePress>
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_0.png" </FilenamePress>
|
||||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
<Volume> SoundVolume </Volume>
|
<Volume> SoundVolume </Volume>
|
||||||
<EventClick>
|
<EventClick>
|
||||||
Var Timeout = 0
|
Var Timeout = 0
|
||||||
Var TelephoneNumber = TelephoneNumber + "0"
|
Var TelephoneNumber = TelephoneNumber + "0"
|
||||||
Trim TelephoneNumber MaxPhoneNumber
|
Trim TelephoneNumber MaxPhoneNumber
|
||||||
StrLen TelephoneNumber TelNumLen
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
|
||||||
If TelNumLen >= MinPhoneNumber Then
|
If TelNumLen >= MinPhoneNumber Then
|
||||||
Var Tel_Confirm_State = "Enable"
|
Var Tel_Confirm_State = "Enable"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
@ -752,24 +586,24 @@
|
||||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_back-1.png" </FilenamePress>
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_back-1.png" </FilenamePress>
|
||||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
<Volume> SoundVolume </Volume>
|
<Volume> SoundVolume </Volume>
|
||||||
<EventClick>
|
<EventClick>
|
||||||
Var Timeout = 0
|
Var Timeout = 0
|
||||||
Trim TelephoneNumber -1
|
Trim TelephoneNumber -1
|
||||||
|
|
||||||
StrLen TelephoneNumber TelNumLen
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
|
||||||
If TelNumLen < 10 Then
|
If TelNumLen < 10 Then
|
||||||
Var Tel_Confirm_State = "Invisible"
|
Var Tel_Confirm_State = "Invisible"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
If TelNumLen = 0 Then
|
If TelNumLen = 0 Then
|
||||||
Var ShowTextNumber = "Enable"
|
Var ShowTextNumber = "Enable"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
TimerReset
|
TimerReset
|
||||||
Refresh
|
Refresh
|
||||||
|
|
||||||
</EventClick>
|
</EventClick>
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
|
|
@ -793,11 +627,11 @@
|
||||||
<FilenamePress> Var( DirImage + "/bp_negative.png") </FilenamePress>
|
<FilenamePress> Var( DirImage + "/bp_negative.png") </FilenamePress>
|
||||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
<Volume> SoundVolume </Volume>
|
<Volume> SoundVolume </Volume>
|
||||||
<EventClick>
|
<EventClick>
|
||||||
; goto lid straw
|
; goto lid straw
|
||||||
;Open "ROOT/taobin_project/xml/page_catalog.xml"
|
;Open "ROOT/taobin_project/xml/page_catalog.xml"
|
||||||
SAVELOG "collect_point1-p589."
|
SAVELOG "collect_point1-p589."
|
||||||
|
|
||||||
If LuckyDrawCampaign = 1 Then
|
If LuckyDrawCampaign = 1 Then
|
||||||
Open "ROOT/taobin_project/xml/sometime/page_campaign_ads_lucky_draw.xml"
|
Open "ROOT/taobin_project/xml/sometime/page_campaign_ads_lucky_draw.xml"
|
||||||
Else
|
Else
|
||||||
|
|
@ -816,9 +650,9 @@
|
||||||
<FilenameDisable> Var( DirImage + "/bn_positive.png") </FilenameDisable>
|
<FilenameDisable> Var( DirImage + "/bn_positive.png") </FilenameDisable>
|
||||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
<Volume> SoundVolume </Volume>
|
<Volume> SoundVolume </Volume>
|
||||||
<EventClick>
|
<EventClick>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
If Tel_Confirm_Flag = 1 Then
|
If Tel_Confirm_Flag = 1 Then
|
||||||
|
|
||||||
|
|
@ -833,7 +667,7 @@
|
||||||
Var StepGetPoint = 1
|
Var StepGetPoint = 1
|
||||||
|
|
||||||
Var PdpaAsk = 0
|
Var PdpaAsk = 0
|
||||||
|
|
||||||
Var OperatorTemp = ""
|
Var OperatorTemp = ""
|
||||||
Var CreditAmount = 0
|
Var CreditAmount = 0
|
||||||
Var OperatorStatus = ""
|
Var OperatorStatus = ""
|
||||||
|
|
@ -852,28 +686,19 @@
|
||||||
AddData 45 TelPhoneNum drink_price param2 param3
|
AddData 45 TelPhoneNum drink_price param2 param3
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
If ChildrenFree = 1 Then
|
If ChildrenFree = 1 Then
|
||||||
Var Seeker.TNumberTaobinMember = TelephoneNumber
|
Var Seeker.TNumberTaobinMember = TelephoneNumber
|
||||||
Open "ROOT/taobin_project/xml/page_lid_straw.xml"
|
Open "ROOT/taobin_project/xml/page_lid_straw.xml"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Var Param1 = TelephoneNumber + "/"
|
|
||||||
|
Var Param1 = TelephoneNumber + "/"
|
||||||
Var Param1 = Param1 + ParamCP
|
Var Param1 = Param1 + ParamCP
|
||||||
|
|
||||||
DEBUGVAR FruityRayaEnable
|
|
||||||
DEBUGVAR FromFruityRaya
|
|
||||||
If FruityRayaEnable = 1 Then
|
|
||||||
If FromFruityRaya = 1 Then
|
|
||||||
Open "ROOT/taobin_project/inter/mys/xml/event/fruit_raya/page_get_free_1_fruit_raya.lxml"
|
|
||||||
EndIf
|
|
||||||
|
|
||||||
EndIf
|
|
||||||
|
|
||||||
DEBUGVAR ProThaiTeaEnable
|
DEBUGVAR ProThaiTeaEnable
|
||||||
DEBUGVAR FromProThaiTea
|
DEBUGVAR FromProThaiTea
|
||||||
If ProThaiTeaEnable = 1 Then
|
If ProThaiTeaEnable = 1 Then
|
||||||
|
|
@ -893,7 +718,7 @@
|
||||||
If MyMintEnable = 1 Then
|
If MyMintEnable = 1 Then
|
||||||
If FromMyMintPro = 1 Then
|
If FromMyMintPro = 1 Then
|
||||||
GETACCEXT TelephoneNumber 32
|
GETACCEXT TelephoneNumber 32
|
||||||
Open "ROOT/taobin_project/xml/event/my_mint_my_moment/page_collect_point_pro_mymint_2.xml"
|
Open "ROOT/taobin_project/xml/event/my_mint_my_moment/page_collect_point_pro_mymint_2.xml"
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
@ -958,12 +783,12 @@
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
GETACCEXT Param1 23
|
GETACCEXT Param1 23
|
||||||
;Open "ROOT/taobin_project/xml/page_catalog.xml"
|
;Open "ROOT/taobin_project/xml/page_catalog.xml"
|
||||||
Open "ROOT/taobin_project/inter/mys/xml/page_collect_point_2.lxml"
|
Open "ROOT/taobin_project/inter/mys/xml/page_collect_point_2.lxml"
|
||||||
|
|
||||||
Else
|
Else
|
||||||
|
|
||||||
If show_eng = "true" Then
|
If show_eng = "true" Then
|
||||||
Var DirImage2 = "ROOT/taobin_project/image/collectiing_en"
|
Var DirImage2 = "ROOT/taobin_project/image/collectiing_en"
|
||||||
Else
|
Else
|
||||||
Var DirImage2 = "ROOT/taobin_project/image/collectiing"
|
Var DirImage2 = "ROOT/taobin_project/image/collectiing"
|
||||||
|
|
@ -976,7 +801,7 @@
|
||||||
Var Tel_Confirm_State = "Invisible"
|
Var Tel_Confirm_State = "Invisible"
|
||||||
Refresh
|
Refresh
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
@ -1067,11 +892,11 @@
|
||||||
<State> ShowErrorText </State>
|
<State> ShowErrorText </State>
|
||||||
<Filename> text_show_error </Filename>
|
<Filename> text_show_error </Filename>
|
||||||
</Image>
|
</Image>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<EventSecurity>
|
|
||||||
Open "/media/bt/xml/security_alarm.xml"
|
<EventSecurity>
|
||||||
|
Open "/media/bt/xml/security_alarm.xml"
|
||||||
</EventSecurity>
|
</EventSecurity>
|
||||||
<EventMachine>
|
<EventMachine>
|
||||||
If MachineStage = "drink-success" Then
|
If MachineStage = "drink-success" Then
|
||||||
|
|
@ -1086,4 +911,4 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</Popup>
|
</Popup>
|
||||||
|
|
|
||||||
|
|
@ -11,6 +11,13 @@
|
||||||
|
|
||||||
SAVELOG "Event Open Select 6 MYS"
|
SAVELOG "Event Open Select 6 MYS"
|
||||||
|
|
||||||
|
If NoWaitMachineEnable = 1 Then
|
||||||
|
Var ConfirmDrinkButtonState = "Enable"
|
||||||
|
Else
|
||||||
|
|
||||||
|
Var ConfirmDrinkButtonState = "Invisible"
|
||||||
|
EndIf
|
||||||
|
|
||||||
Var y_topping_bg = 912
|
Var y_topping_bg = 912
|
||||||
|
|
||||||
Var CHECK_EventOpen_Double = CHECK_EventOpen_Double + 1
|
Var CHECK_EventOpen_Double = CHECK_EventOpen_Double + 1
|
||||||
|
|
@ -341,6 +348,9 @@
|
||||||
Var toppingScriptDir = CountryRootPath + "/xml/topping_scripts"
|
Var toppingScriptDir = CountryRootPath + "/xml/topping_scripts"
|
||||||
Var chg_price_ev = toppingScriptDir + "/chg_price_event.ev"
|
Var chg_price_ev = toppingScriptDir + "/chg_price_event.ev"
|
||||||
|
|
||||||
|
Var MenuReason = ""
|
||||||
|
Var MenuReasonStage = "Invisible"
|
||||||
|
|
||||||
|
|
||||||
</EventOpen>
|
</EventOpen>
|
||||||
<Timeout> 1000 </Timeout>
|
<Timeout> 1000 </Timeout>
|
||||||
|
|
@ -348,6 +358,38 @@
|
||||||
DEBUGVAR Timeout
|
DEBUGVAR Timeout
|
||||||
|
|
||||||
|
|
||||||
|
If CLOSE_ORDER_NOW = "true" Then
|
||||||
|
;include="ROOT/taobin_project/inc/return_condition.ev"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
If NoWaitMachineEnable = 1 Then
|
||||||
|
DEBUGVAR MachineStage
|
||||||
|
DEBUGVAR ConfirmDrinkButtonState
|
||||||
|
If MachineStage = "close-maintenance" Then
|
||||||
|
Var ConfirmDrinkButtonState = "Enable"
|
||||||
|
|
||||||
|
If stop_now = "true" Then
|
||||||
|
SAVELOG "stop_now is true mys/page_topping_select6.lxml"
|
||||||
|
;include="ROOT/taobin_project/inc/return_condition.ev"
|
||||||
|
EndIf
|
||||||
|
Else
|
||||||
|
Var ConfirmDrinkButtonState = "Invisible"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If CLOSE_ORDER_NOW = "true" Then
|
||||||
|
SAVELOG "DEACTIVE in mys/page_topping_select6.lxml"
|
||||||
|
;include="ROOT/taobin_project/inc/return_condition.ev"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If SELLSTATUS = "DEACTIVE" Then
|
||||||
|
SAVELOG "DEACTIVE in mys/page_topping_select6.lxml"
|
||||||
|
;include="ROOT/taobin_project/inc/return_condition.ev"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
Var Timeout = Timeout + 1
|
Var Timeout = Timeout + 1
|
||||||
|
|
||||||
If Timeout > 40 Then
|
If Timeout > 40 Then
|
||||||
|
|
@ -381,6 +423,70 @@
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
DEBUGVAR MenuReason
|
||||||
|
; arm-not-ready
|
||||||
|
; brew-stg
|
||||||
|
; door-cup-alert
|
||||||
|
; stop-now-set
|
||||||
|
|
||||||
|
If show_eng = "true" Then
|
||||||
|
If MACHINE_SELF_TEST_COUNT_DOWN > 0 Then
|
||||||
|
Var ShowTextSelfTestCountDown = "Please wait a moment (" + MACHINE_SELF_TEST_COUNT_DOWN
|
||||||
|
Var ShowTextSelfTestCountDown = ShowTextSelfTestCountDown + ")"
|
||||||
|
Else
|
||||||
|
Var ShowTextSelfTestCountDown = "Please wait a moment"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Else
|
||||||
|
If MACHINE_SELF_TEST_COUNT_DOWN > 0 Then
|
||||||
|
Var ShowTextSelfTestCountDown ="กรุณารอสักครู่ (" + MACHINE_SELF_TEST_COUNT_DOWN
|
||||||
|
Var ShowTextSelfTestCountDown = ShowTextSelfTestCountDown + ")"
|
||||||
|
Else
|
||||||
|
Var ShowTextSelfTestCountDown ="กรุณารอสักครู่"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If Seeker = "curr" Then
|
||||||
|
If MenuReason = "arm-not-ready" Then
|
||||||
|
|
||||||
|
SAVELOG "goto mode arm-not-ready"
|
||||||
|
DEBUGVAR DoorCupPosition
|
||||||
|
|
||||||
|
If DoorCupPosition = "bottom" Then
|
||||||
|
Machine RemoveCup
|
||||||
|
Machine DoorLidOpen
|
||||||
|
Else
|
||||||
|
Var TextSelfTestCntColor = "0x513C2F"
|
||||||
|
Var ConfirmDrinkButtonState = "Enable"
|
||||||
|
|
||||||
|
If show_eng = "true" Then
|
||||||
|
Var ShowTextSelfTestCountDown = "Please take out the glass."
|
||||||
|
Else
|
||||||
|
Var ShowTextSelfTestCountDown = "กรุณานําแก้วออก"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If MenuReason = "brew-stg" Then
|
||||||
|
Var ConfirmDrinkButtonState = "Enable"
|
||||||
|
If Timeout > 15 Then
|
||||||
|
Var MenuReason = "-"
|
||||||
|
Var Timeout = 0
|
||||||
|
Var ConfirmDrinkButtonState = "Invisible"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
If MenuReason = "-" Then
|
||||||
|
|
||||||
|
Else
|
||||||
|
Var MenuReasonString = MenuReason
|
||||||
|
Var MenuReasonStage = "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
Refresh
|
Refresh
|
||||||
TimerReset
|
TimerReset
|
||||||
</EventTimeout>
|
</EventTimeout>
|
||||||
|
|
@ -573,10 +679,12 @@
|
||||||
DEBUGVAR FromFruityRaya
|
DEBUGVAR FromFruityRaya
|
||||||
DEBUGVAR FromProThaiTea
|
DEBUGVAR FromProThaiTea
|
||||||
DEBUGVAR FromProYuzu
|
DEBUGVAR FromProYuzu
|
||||||
|
DEBUGVAR FromProMelon
|
||||||
|
|
||||||
Var FromFruityRaya = 0
|
Var FromFruityRaya = 0
|
||||||
Var FromProThaiTea = 0
|
Var FromProThaiTea = 0
|
||||||
Var FromProYuzu = 0
|
Var FromProYuzu = 0
|
||||||
|
Var FromProMelon = 0
|
||||||
|
|
||||||
;Open PreviseXMLFileName2
|
;Open PreviseXMLFileName2
|
||||||
DEBUGVAR OpenFromXML
|
DEBUGVAR OpenFromXML
|
||||||
|
|
@ -3476,10 +3584,12 @@
|
||||||
DEBUGVAR FromFruityRaya
|
DEBUGVAR FromFruityRaya
|
||||||
DEBUGVAR FromProThaiTea
|
DEBUGVAR FromProThaiTea
|
||||||
DEBUGVAR FromProYuzu
|
DEBUGVAR FromProYuzu
|
||||||
|
DEBUGVAR FromProMelon
|
||||||
|
|
||||||
Var FromFruityRaya = 0
|
Var FromFruityRaya = 0
|
||||||
Var FromProThaiTea = 0
|
Var FromProThaiTea = 0
|
||||||
Var FromProYuzu = 0
|
Var FromProYuzu = 0
|
||||||
|
Var FromProMelon = 0
|
||||||
|
|
||||||
If Seeker = "next" Then
|
If Seeker = "next" Then
|
||||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_blank.xml"
|
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_blank.xml"
|
||||||
|
|
@ -4150,6 +4260,44 @@
|
||||||
<Value> PriceDrinkTmpShow </Value>
|
<Value> PriceDrinkTmpShow </Value>
|
||||||
</Text>
|
</Text>
|
||||||
|
|
||||||
|
|
||||||
|
; next2 button Protect
|
||||||
|
<Button>
|
||||||
|
<State> ConfirmDrinkButtonState </State>
|
||||||
|
<X> 548 </X>
|
||||||
|
<Y> 1785 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/topping/topping2/bd_next2.png"</Filename>
|
||||||
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
|
||||||
|
<Text>
|
||||||
|
<State> ConfirmDrinkButtonState </State>
|
||||||
|
<X> 0 </X>
|
||||||
|
<Y> 18 </Y>
|
||||||
|
<Align> Center </Align>
|
||||||
|
<Width> 512 </Width>
|
||||||
|
<Font> KanitTTF </Font>
|
||||||
|
<Size> 36 </Size>
|
||||||
|
<Color> TextSelfTestCntColor </Color>
|
||||||
|
<Value> ShowTextSelfTestCountDown </Value>
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
<EventClick>
|
||||||
|
|
||||||
|
If Seeker = "curr" Then
|
||||||
|
If MenuReason = "arm-not-ready" Then
|
||||||
|
Machine RemoveCup
|
||||||
|
Machine DoorLidOpen
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<Image>
|
<Image>
|
||||||
<X> 0 </X>
|
<X> 0 </X>
|
||||||
<Y> 380 </Y>
|
<Y> 380 </Y>
|
||||||
|
|
@ -4277,6 +4425,29 @@
|
||||||
</Language>
|
</Language>
|
||||||
</Text>
|
</Text>
|
||||||
|
|
||||||
|
<Text>
|
||||||
|
<X> 1 </X>
|
||||||
|
<Y> 1 </Y>
|
||||||
|
<Font> KanitTTF </Font>
|
||||||
|
<Size> 22 </Size>
|
||||||
|
<Width> 1080 </Width>
|
||||||
|
<Align> end </Align>
|
||||||
|
<Color> 0xFF0000 </Color>
|
||||||
|
<Value> "#71"</Value>
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
<Text>
|
||||||
|
<X> 0 </X>
|
||||||
|
<Y> 1888 </Y>
|
||||||
|
<State> MenuReasonStage </State>
|
||||||
|
<Font> KanitTTF </Font>
|
||||||
|
<Size> 22 </Size>
|
||||||
|
<Width> 1078 </Width>
|
||||||
|
<Align> end </Align>
|
||||||
|
<Color> 0xFF0000 </Color>
|
||||||
|
<Value> MenuReasonString</Value>
|
||||||
|
</Text>
|
||||||
|
|
||||||
;
|
;
|
||||||
|
|
||||||
</Page>
|
</Page>
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
SAVELOG "Process::discount_from_promotion"
|
||||||
|
|
||||||
; fruit_raya
|
; fruit_raya
|
||||||
If FromFruityRaya = 1 Then
|
If FromFruityRaya = 1 Then
|
||||||
Var Seeker.VendingCode = "RAYA"
|
Var Seeker.VendingCode = "RAYA"
|
||||||
|
|
@ -37,3 +39,12 @@ EndIf
|
||||||
If FromProYuzu250 = 1 Then
|
If FromProYuzu250 = 1 Then
|
||||||
Var Seeker.VendingCode = "YUZU25"
|
Var Seeker.VendingCode = "YUZU25"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
; promotion melonzy
|
||||||
|
If FromProMelon = 1 Then
|
||||||
|
Var Seeker.VendingCode = "MELN25"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
DEBUGVAR Seeker.VendingCode
|
||||||
|
|
|
||||||
|
|
@ -12217,20 +12217,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<Button>
|
;include="ROOT/taobin_project/inc/button_remove_cup.inc"
|
||||||
<X> 780 </X>
|
|
||||||
<Y> 500 </Y>
|
|
||||||
<State> buttonRemoveCup </State>
|
|
||||||
;<Color> "0x00BDFF" </Color>
|
|
||||||
<Interval> 500 </Interval>
|
|
||||||
<Filename> "ROOT/taobin_project/image/main_page_inter/bn_remove_cup.png" </Filename>
|
|
||||||
<Filename> "ROOT/taobin_project/image/main_page_inter/bp_remove_cup.png" </Filename>
|
|
||||||
<EventClick>
|
|
||||||
Machine RemoveCup
|
|
||||||
Machine DoorLidOpen
|
|
||||||
Var buttonRemoveCup = "Invisible"
|
|
||||||
</EventClick>
|
|
||||||
</Button>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -12217,20 +12217,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<Button>
|
;include="ROOT/taobin_project/inc/button_remove_cup.inc"
|
||||||
<X> 780 </X>
|
|
||||||
<Y> 500 </Y>
|
|
||||||
<State> buttonRemoveCup </State>
|
|
||||||
;<Color> "0x00BDFF" </Color>
|
|
||||||
<Interval> 500 </Interval>
|
|
||||||
<Filename> "ROOT/taobin_project/image/main_page_inter/bn_remove_cup.png" </Filename>
|
|
||||||
<Filename> "ROOT/taobin_project/image/main_page_inter/bp_remove_cup.png" </Filename>
|
|
||||||
<EventClick>
|
|
||||||
Machine RemoveCup
|
|
||||||
Machine DoorLidOpen
|
|
||||||
Var buttonRemoveCup = "Invisible"
|
|
||||||
</EventClick>
|
|
||||||
</Button>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -12217,20 +12217,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<Button>
|
;include="ROOT/taobin_project/inc/button_remove_cup.inc"
|
||||||
<X> 780 </X>
|
|
||||||
<Y> 500 </Y>
|
|
||||||
<State> buttonRemoveCup </State>
|
|
||||||
;<Color> "0x00BDFF" </Color>
|
|
||||||
<Interval> 500 </Interval>
|
|
||||||
<Filename> Var(RootPath + "image/main_page_inter/bn_remove_cup.png") </Filename>
|
|
||||||
<Filename> Var(RootPath + "image/main_page_inter/bp_remove_cup.png") </Filename>
|
|
||||||
<EventClick>
|
|
||||||
Machine RemoveCup
|
|
||||||
Machine DoorLidOpen
|
|
||||||
Var buttonRemoveCup = "Invisible"
|
|
||||||
</EventClick>
|
|
||||||
</Button>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2487,20 +2487,7 @@ eval(
|
||||||
|
|
||||||
;BigLogoLayout
|
;BigLogoLayout
|
||||||
|
|
||||||
<Button>
|
;include="ROOT/taobin_project/inc/button_remove_cup.inc"
|
||||||
<X> 780 </X>
|
|
||||||
<Y> 500 </Y>
|
|
||||||
<State> buttonRemoveCup </State>
|
|
||||||
;<Color> "0x00BDFF" </Color>
|
|
||||||
<Interval> 500 </Interval>
|
|
||||||
<Filename> Var(RootPath + "image/main_page_inter/bn_remove_cup.png") </Filename>
|
|
||||||
<Filename> Var(RootPath + "image/main_page_inter/bp_remove_cup.png") </Filename>
|
|
||||||
<EventClick>
|
|
||||||
Machine RemoveCup
|
|
||||||
Machine DoorLidOpen
|
|
||||||
Var buttonRemoveCup = "Invisible"
|
|
||||||
</EventClick>
|
|
||||||
</Button>
|
|
||||||
|
|
||||||
</Popup>
|
</Popup>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2487,20 +2487,7 @@ eval(
|
||||||
|
|
||||||
;BigLogoLayout
|
;BigLogoLayout
|
||||||
|
|
||||||
<Button>
|
;include="ROOT/taobin_project/inc/button_remove_cup.inc"
|
||||||
<X> 780 </X>
|
|
||||||
<Y> 500 </Y>
|
|
||||||
<State> buttonRemoveCup </State>
|
|
||||||
;<Color> "0x00BDFF" </Color>
|
|
||||||
<Interval> 500 </Interval>
|
|
||||||
<Filename> Var(RootPath + "image/main_page_inter/bn_remove_cup.png") </Filename>
|
|
||||||
<Filename> Var(RootPath + "image/main_page_inter/bp_remove_cup.png") </Filename>
|
|
||||||
<EventClick>
|
|
||||||
Machine RemoveCup
|
|
||||||
Machine DoorLidOpen
|
|
||||||
Var buttonRemoveCup = "Invisible"
|
|
||||||
</EventClick>
|
|
||||||
</Button>
|
|
||||||
|
|
||||||
</Popup>
|
</Popup>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2462,20 +2462,7 @@ eval(
|
||||||
|
|
||||||
;BigLogoLayout
|
;BigLogoLayout
|
||||||
|
|
||||||
<Button>
|
;include="ROOT/taobin_project/inc/button_remove_cup.inc"
|
||||||
<X> 780 </X>
|
|
||||||
<Y> 500 </Y>
|
|
||||||
<State> buttonRemoveCup </State>
|
|
||||||
;<Color> "0x00BDFF" </Color>
|
|
||||||
<Interval> 500 </Interval>
|
|
||||||
<Filename> Var(RootPath + "image/main_page_inter/bn_remove_cup.png") </Filename>
|
|
||||||
<Filename> Var(RootPath + "image/main_page_inter/bp_remove_cup.png") </Filename>
|
|
||||||
<EventClick>
|
|
||||||
Machine RemoveCup
|
|
||||||
Machine DoorLidOpen
|
|
||||||
Var buttonRemoveCup = "Invisible"
|
|
||||||
</EventClick>
|
|
||||||
</Button>
|
|
||||||
|
|
||||||
</Popup>
|
</Popup>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -59,20 +59,7 @@
|
||||||
#include=menu_new_layout_gen.py
|
#include=menu_new_layout_gen.py
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<Button>
|
;include="ROOT/taobin_project/inc/button_remove_cup.inc"
|
||||||
<X> 780 </X>
|
|
||||||
<Y> 500 </Y>
|
|
||||||
<State> buttonRemoveCup </State>
|
|
||||||
;<Color> "0x00BDFF" </Color>
|
|
||||||
<Interval> 500 </Interval>
|
|
||||||
<Filename> Var(RootPath + "image/main_page_inter/bn_remove_cup.png") </Filename>
|
|
||||||
<Filename> Var(RootPath + "image/main_page_inter/bp_remove_cup.png") </Filename>
|
|
||||||
<EventClick>
|
|
||||||
Machine RemoveCup
|
|
||||||
Machine DoorLidOpen
|
|
||||||
Var buttonRemoveCup = "Invisible"
|
|
||||||
</EventClick>
|
|
||||||
</Button>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -60,20 +60,7 @@
|
||||||
|
|
||||||
;BigLogoLayout
|
;BigLogoLayout
|
||||||
|
|
||||||
<Button>
|
;include="ROOT/taobin_project/inc/button_remove_cup.inc"
|
||||||
<X> 780 </X>
|
|
||||||
<Y> 500 </Y>
|
|
||||||
<State> buttonRemoveCup </State>
|
|
||||||
;<Color> "0x00BDFF" </Color>
|
|
||||||
<Interval> 500 </Interval>
|
|
||||||
<Filename> Var(RootPath + "image/main_page_inter/bn_remove_cup.png") </Filename>
|
|
||||||
<Filename> Var(RootPath + "image/main_page_inter/bp_remove_cup.png") </Filename>
|
|
||||||
<EventClick>
|
|
||||||
Machine RemoveCup
|
|
||||||
Machine DoorLidOpen
|
|
||||||
Var buttonRemoveCup = "Invisible"
|
|
||||||
</EventClick>
|
|
||||||
</Button>
|
|
||||||
|
|
||||||
</Popup>
|
</Popup>
|
||||||
|
|
||||||
|
|
|
||||||
904
inter/sgp/xml/page_collect_point_3_gauge.lxml
Normal file
|
|
@ -0,0 +1,904 @@
|
||||||
|
<Popup>
|
||||||
|
<Cache> "Enable" </Cache>
|
||||||
|
<Width> 1080 </Width>
|
||||||
|
<Height> 1920 </Height>
|
||||||
|
<Background> BackgroundColor </Background>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
|
||||||
|
<EventOpen>
|
||||||
|
; On open
|
||||||
|
|
||||||
|
Var Timeout = 0
|
||||||
|
;CoffeePoint
|
||||||
|
;Var CoffeePoint = 30
|
||||||
|
Var BmiYear = "0/0/0/0/0/0/0/0/0/1"
|
||||||
|
Var PointCrm = "pdpa1"
|
||||||
|
Var GetScore = ""
|
||||||
|
Var TelephoneNumber = TelephoneNumberX
|
||||||
|
Var Seeker.TNumberTaobinMember = TelephoneNumber
|
||||||
|
;AddData 4 TelephoneNumber BmiYear PointCrm GetScore
|
||||||
|
;Add after pay
|
||||||
|
|
||||||
|
Var PointMaskState = "Invisible"
|
||||||
|
|
||||||
|
Var CoffeePointStr = CoffeePoint
|
||||||
|
|
||||||
|
DEBUGVAR TelephoneNumber
|
||||||
|
DEBUGVAR TelephoneNumberX
|
||||||
|
|
||||||
|
If show_eng = "true" Then
|
||||||
|
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
|
||||||
|
|
||||||
|
If CoffeePoint > 54 Then
|
||||||
|
Var Timeout = 18
|
||||||
|
Var CoffeePointTmp = 55
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Var pImage = CoffeePointTmp * 20
|
||||||
|
Var pImage = pImage / 55
|
||||||
|
Var pImageStr = "/taobinPoint55.png"
|
||||||
|
|
||||||
|
Var UsePointGauge = 0
|
||||||
|
Var GaugeEV = CountryWTCRootPath
|
||||||
|
|
||||||
|
; new-ui-collect-pt
|
||||||
|
Var template = CountryWTCRootPath + "/image/page_member/base_template.png"
|
||||||
|
|
||||||
|
If UsePepsiTheme = 1 Then
|
||||||
|
Var pImageStr = "ROOT/taobin_project/inter/whatthecup/sgp/image/page_member" + pImageStr
|
||||||
|
Var UsePointGauge = 1
|
||||||
|
Var GaugeEV = GaugeEV + "/xml/collect_point_gauge.ev"
|
||||||
|
Else
|
||||||
|
Var pImageStr = "ROOT/taobin_project/inter/sgp/image/page_member" + pImageStr
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Var pointStr = ""
|
||||||
|
Var pointStr = pointStr + CoffeePointTmp
|
||||||
|
Var pointStr = pointStr + "/"
|
||||||
|
Var pointStr = pointStr + "55"
|
||||||
|
|
||||||
|
|
||||||
|
;Var PointDiff = 150 - CoffeePointRank
|
||||||
|
Var PointDiff = 0
|
||||||
|
|
||||||
|
|
||||||
|
TRY GaugeEV
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Var TaobinExpireDay = ""
|
||||||
|
Var TaobinExpireMonth = ""
|
||||||
|
Var TaobinExpireMonthX = ""
|
||||||
|
Var TaobinExpireYear = ""
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
SPLIT TaobinExpire "/" 1 TaobinExpireDay
|
||||||
|
SPLIT TaobinExpire "/" 2 TaobinExpireMonth
|
||||||
|
SPLIT TaobinExpire "/" 3 TaobinExpireYear
|
||||||
|
|
||||||
|
|
||||||
|
If show_eng = "true" Then
|
||||||
|
|
||||||
|
If TaobinExpireMonth = "01" Then
|
||||||
|
Var TaobinExpireMonth = "Jan"
|
||||||
|
Var TaobinExpireMonthX = "January"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TaobinExpireMonth = "02" Then
|
||||||
|
Var TaobinExpireMonth = "Feb"
|
||||||
|
Var TaobinExpireMonthX = "February"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TaobinExpireMonth = "03" Then
|
||||||
|
Var TaobinExpireMonth = "Mar"
|
||||||
|
Var TaobinExpireMonthX = "March"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TaobinExpireMonth = "04" Then
|
||||||
|
Var TaobinExpireMonth = "Apr"
|
||||||
|
Var TaobinExpireMonthX = "April"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TaobinExpireMonth = "05" Then
|
||||||
|
Var TaobinExpireMonth = "May"
|
||||||
|
Var TaobinExpireMonthX = "May"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TaobinExpireMonth = "06" Then
|
||||||
|
Var TaobinExpireMonth = "Jun"
|
||||||
|
Var TaobinExpireMonthX = "June"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TaobinExpireMonth = "07" Then
|
||||||
|
Var TaobinExpireMonth = "Jul"
|
||||||
|
Var TaobinExpireMonthX = "July"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TaobinExpireMonth = "08" Then
|
||||||
|
Var TaobinExpireMonth = "Aug"
|
||||||
|
Var TaobinExpireMonthX = "August"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TaobinExpireMonth = "09" Then
|
||||||
|
Var TaobinExpireMonth = "Sep"
|
||||||
|
Var TaobinExpireMonthX = "September"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TaobinExpireMonth = "10" Then
|
||||||
|
Var TaobinExpireMonth = "Oct"
|
||||||
|
Var TaobinExpireMonthX = "October"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TaobinExpireMonth = "11" Then
|
||||||
|
Var TaobinExpireMonth = "Nov"
|
||||||
|
Var TaobinExpireMonthX = "November"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TaobinExpireMonth = "12" Then
|
||||||
|
Var TaobinExpireMonth = "Dec"
|
||||||
|
Var TaobinExpireMonthX = "December"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
INT TaobinExpireYear
|
||||||
|
INT TaobinExpireDay
|
||||||
|
|
||||||
|
Var TaobinExpireYear = TaobinExpireYear + 0
|
||||||
|
|
||||||
|
Else
|
||||||
|
|
||||||
|
If TaobinExpireMonth = "01" Then
|
||||||
|
Var TaobinExpireMonth = "ม.ค."
|
||||||
|
Var TaobinExpireMonthX = "มกราคม"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TaobinExpireMonth = "02" Then
|
||||||
|
Var TaobinExpireMonth = "ก.พ."
|
||||||
|
Var TaobinExpireMonthX = "กุมภาพันธ์"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TaobinExpireMonth = "03" Then
|
||||||
|
Var TaobinExpireMonth = "มี.ค."
|
||||||
|
Var TaobinExpireMonthX = "มีนาคม"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TaobinExpireMonth = "04" Then
|
||||||
|
Var TaobinExpireMonth = "เม.ย."
|
||||||
|
Var TaobinExpireMonthX = "เมษายน"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TaobinExpireMonth = "05" Then
|
||||||
|
Var TaobinExpireMonth = "พ.ค."
|
||||||
|
Var TaobinExpireMonthX = "พฤษภาคม"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TaobinExpireMonth = "06" Then
|
||||||
|
Var TaobinExpireMonth = "มิ.ย."
|
||||||
|
Var TaobinExpireMonthX = "มิถุนายน"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TaobinExpireMonth = "07" Then
|
||||||
|
Var TaobinExpireMonth = "ก.ค."
|
||||||
|
Var TaobinExpireMonthX = "กรกฎาคม"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TaobinExpireMonth = "08" Then
|
||||||
|
Var TaobinExpireMonth = "ส.ค."
|
||||||
|
Var TaobinExpireMonthX = "สิงหาคม"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TaobinExpireMonth = "09" Then
|
||||||
|
Var TaobinExpireMonth = "ก.ย."
|
||||||
|
Var TaobinExpireMonthX = "กันยายน"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TaobinExpireMonth = "10" Then
|
||||||
|
Var TaobinExpireMonth = "ต.ค."
|
||||||
|
Var TaobinExpireMonthX = "ตุลาคม"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TaobinExpireMonth = "11" Then
|
||||||
|
Var TaobinExpireMonth = "พ.ย."
|
||||||
|
Var TaobinExpireMonthX = "พฤศจิกายน"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TaobinExpireMonth = "12" Then
|
||||||
|
Var TaobinExpireMonth = "ธ.ค."
|
||||||
|
Var TaobinExpireMonthX = "ธันวาคม"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
INT TaobinExpireYear
|
||||||
|
INT TaobinExpireDay
|
||||||
|
|
||||||
|
Var TaobinExpireYear = TaobinExpireYear + 543
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
Var ExpireStrTmp = ""
|
||||||
|
Var ExpireStrTmp = ExpireStrTmp + TaobinExpireDay
|
||||||
|
Var ExpireStrTmp = ExpireStrTmp + " "
|
||||||
|
Var ExpireStrTmp = ExpireStrTmp + TaobinExpireMonth
|
||||||
|
Var ExpireStrTmp = ExpireStrTmp + " "
|
||||||
|
Var ExpireStrTmp = ExpireStrTmp + TaobinExpireYear
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
If TaobinLevel = "1" Then
|
||||||
|
Var PointMaskState = "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
If show_eng = "true" Then
|
||||||
|
|
||||||
|
Var TaobinLevelDesc3 = "You have coupons "
|
||||||
|
Var TaobinLevelDesc3 = TaobinLevelDesc3 + TaobinCoupons
|
||||||
|
Var TaobinLevelDesc3 = TaobinLevelDesc3 + " numbers"
|
||||||
|
|
||||||
|
;If TaobinLevel = "1" Then
|
||||||
|
; Var TaobinLevelDesc1 = "Shy turtle level"
|
||||||
|
; Var TaobinLevelDesc2 = ""
|
||||||
|
|
||||||
|
; Var TaobinLeveImg = "/taoLevel1.png"
|
||||||
|
;EndIf
|
||||||
|
|
||||||
|
If TaobinLevel = "2" Then
|
||||||
|
Var TaobinLevelDesc1 = "Walking turtle level"
|
||||||
|
Var PointDiff = 150 - CoffeePointRank
|
||||||
|
Var TaobinLevelDesc2 = "Earn " + PointDiff
|
||||||
|
Var TaobinLevelDesc2 = TaobinLevelDesc2 + " shells "
|
||||||
|
Var TaobinLevelDesc2 = TaobinLevelDesc2 + "to move to Flying turtle level"
|
||||||
|
|
||||||
|
Var TaobinLeveImg = "/taoLevel2.png"
|
||||||
|
|
||||||
|
If CoffeePointRank > 149 Then
|
||||||
|
;Var TaobinLeveImg = "/taoLevel3.png"
|
||||||
|
|
||||||
|
;Var TaobinLevelDesc1 = "Flying turtle level "
|
||||||
|
Var TaobinLevelDesc2 = ""
|
||||||
|
;Var CoffeePointRank = CoffeePointRank - 150
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TaobinLevel = "3" Then
|
||||||
|
Var TaobinLevelDesc1 = "Flying turtle level until " + ExpireStrTmp
|
||||||
|
|
||||||
|
Var PointDiff = 350 - CoffeePointRank
|
||||||
|
Var TaobinLevelDesc2 = "Earn " + PointDiff
|
||||||
|
Var TaobinLevelDesc2 = TaobinLevelDesc2 + " shells "
|
||||||
|
Var TaobinLevelDesc2 = TaobinLevelDesc2 + "to move to Master turtle level"
|
||||||
|
|
||||||
|
Var TaobinLeveImg = "/taoLevel3.png"
|
||||||
|
|
||||||
|
If CoffeePointRank > 349 Then
|
||||||
|
;Var TaobinLeveImg = "/taoLevel4.png"
|
||||||
|
|
||||||
|
;Var TaobinLevelDesc1 = "Master turtle level "
|
||||||
|
Var TaobinLevelDesc2 = ""
|
||||||
|
;Var CoffeePointRank = CoffeePointRank - 350
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TaobinLevel = "4" Then
|
||||||
|
Var TaobinLevelDesc1 = "Master turtle level until " + ExpireStrTmp
|
||||||
|
|
||||||
|
Var TaobinLevelDesc2 = ""
|
||||||
|
|
||||||
|
Var TaobinLeveImg = "/taoLevel4.png"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Else
|
||||||
|
|
||||||
|
Var TaobinLevelDesc3 = "ตอนนี้คุณมีคูปองแลกเครื่องดื่มฟรีเหลืออยู่ "
|
||||||
|
Var TaobinLevelDesc3 = TaobinLevelDesc3 + TaobinCoupons
|
||||||
|
Var TaobinLevelDesc3 = TaobinLevelDesc3 + " ใบ"
|
||||||
|
|
||||||
|
;If TaobinLevel = "1" Then
|
||||||
|
; Var TaobinLevelDesc1 = "ระดับสมาชิก เต่าขี้อาย"
|
||||||
|
; Var TaobinLevelDesc2 = ""
|
||||||
|
|
||||||
|
; Var TaobinLeveImg = "/taoLevel1.png"
|
||||||
|
;EndIf
|
||||||
|
|
||||||
|
If TaobinLevel = "2" Then
|
||||||
|
Var TaobinLevelDesc1 = "ระดับสมาชิก เต่าเตาะแตะ"
|
||||||
|
Var PointDiff = 150 - CoffeePointRank
|
||||||
|
Var TaobinLevelDesc2 = "สะสมกระดองอีก " + PointDiff
|
||||||
|
Var TaobinLevelDesc2 = TaobinLevelDesc2 + " กระดอง "
|
||||||
|
Var TaobinLevelDesc2 = TaobinLevelDesc2 + "เพื่อเลื่อนขั้นเป็นเต่าติดปีก"
|
||||||
|
|
||||||
|
Var TaobinLeveImg = "/taoLevel2.png"
|
||||||
|
|
||||||
|
If CoffeePointRank > 149 Then
|
||||||
|
;Var TaobinLeveImg = "/taoLevel3.png"
|
||||||
|
|
||||||
|
;Var TaobinLevelDesc1 = "ระดับสมาชิก เต่าติดปีก "
|
||||||
|
Var TaobinLevelDesc2 = ""
|
||||||
|
;Var CoffeePointRank = CoffeePointRank - 150
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TaobinLevel = "3" Then
|
||||||
|
Var TaobinLevelDesc1 = "ระดับสมาชิก เต่าติดปีก จนถึง " + ExpireStrTmp
|
||||||
|
|
||||||
|
Var PointDiff = 350 - CoffeePointRank
|
||||||
|
Var TaobinLevelDesc2 = "สะสมกระดองอีก " + PointDiff
|
||||||
|
Var TaobinLevelDesc2 = TaobinLevelDesc2 + " กระดอง "
|
||||||
|
Var TaobinLevelDesc2 = TaobinLevelDesc2 + "เพื่อเลื่อนขั้นเป็นผู้เฒ่าเต่า"
|
||||||
|
|
||||||
|
Var TaobinLeveImg = "/taoLevel3.png"
|
||||||
|
|
||||||
|
If CoffeePointRank > 349 Then
|
||||||
|
;Var TaobinLeveImg = "/taoLevel4.png"
|
||||||
|
|
||||||
|
;Var TaobinLevelDesc1 = "ระดับสมาชิก ผู้เฒ่าเต่า "
|
||||||
|
Var TaobinLevelDesc2 = ""
|
||||||
|
;Var CoffeePointRank = CoffeePointRank - 350
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TaobinLevel = "4" Then
|
||||||
|
Var TaobinLevelDesc1 = "ระดับสมาชิก ผู้เฒ่าเต่า จนถึง " + ExpireStrTmp
|
||||||
|
|
||||||
|
Var TaobinLevelDesc2 = ""
|
||||||
|
|
||||||
|
Var TaobinLeveImg = "/taoLevel4.png"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Var CheckCoupons = 0
|
||||||
|
Var MakeDrinkState = 0
|
||||||
|
|
||||||
|
If Seeker = "curr" Then
|
||||||
|
Var CheckCouponState = "Enable"
|
||||||
|
Else
|
||||||
|
Var CheckCouponState = "Disable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
Var PointEndDate = ""
|
||||||
|
GetDateEndOfMonth PointEndDate
|
||||||
|
DEBUGVAR PointEndDate
|
||||||
|
Var xPointEndDate = 570
|
||||||
|
|
||||||
|
If show_eng = "true" Then
|
||||||
|
Var xPointEndDate = 618
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Var Point2XState = "Invisible"
|
||||||
|
Var Point2XImage = ""
|
||||||
|
If Point2X = 1 Then
|
||||||
|
Var Point2XState = "Enable"
|
||||||
|
If Seeker.CampaignPayChanel = "kbank" Then
|
||||||
|
Var Point2XImage = "/text9.png"
|
||||||
|
EndIf
|
||||||
|
If Seeker.CampaignPayChanel = "true" Then
|
||||||
|
Var Point2XImage = "/text10.png"
|
||||||
|
EndIf
|
||||||
|
If Seeker.CampaignPayChanel = "dolfin" Then
|
||||||
|
Var Point2XImage = "/text11.png"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
;inter-from-consent
|
||||||
|
If CountryName = "Malaysia" Then
|
||||||
|
Var Seeker.FromConsent = 0
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
;inter-from-consent
|
||||||
|
If CountryName = "Indonesia" Then
|
||||||
|
Var Seeker.FromConsent = 0
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
;inter-from-consent
|
||||||
|
If CountryName = "Australia" Then
|
||||||
|
Var Seeker.FromConsent = 0
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
;inter-from-consent
|
||||||
|
If CountryName = "Singapore" Then
|
||||||
|
Var Seeker.FromConsent = 0
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Var AlphaBg = "ROOT/taobin_project/image/display_point/alpha.png"
|
||||||
|
|
||||||
|
Var InitCNT = BREW_CNT
|
||||||
|
|
||||||
|
Var ShowPercent = "Invisible"
|
||||||
|
Var ShowCountdown = "Enable"
|
||||||
|
|
||||||
|
If ShowCountDownAsPercent = 1 Then
|
||||||
|
Var ShowPercent = "Enable"
|
||||||
|
Var ShowCountdown = "Invisible"
|
||||||
|
|
||||||
|
Var IMG_CNT = "ROOT/taobin_project/inter/sgp/image/page_doing/img2_percent_eng.png"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Var MemberPtCard = Var MemberPtCard = "ROOT/taobin_project/inter/sgp/image/page_member/member_point_card.png"
|
||||||
|
Var MemberProfileFilename = "ROOT/taobin_project/inter/sgp/image/page_member/member_profile.png"
|
||||||
|
|
||||||
|
Var CloseFilename = "ROOT/taobin_project/inter/sgp/image/page_member/bn_close.png"
|
||||||
|
Var ClosePressFilename = "ROOT/taobin_project/inter/sgp/image/page_member/bp_close.png"
|
||||||
|
|
||||||
|
Var PointAlert = "ROOT/taobin_project/inter/sgp/image/page_member/points_alert.png"
|
||||||
|
Var Free1 = "ROOT/taobin_project/inter/sgp/image/page_member/free1.png"
|
||||||
|
|
||||||
|
If UsePepsiTheme = 1 Then
|
||||||
|
Var AlphaBg = "ROOT/taobin_project/inter/whatthecup/sgp/image/collectiing_en/alpha.png"
|
||||||
|
Var IMG_CNT = "ROOT/taobin_project/inter/whatthecup/sgp/image/page_doing/img2_percent_eng.png"
|
||||||
|
|
||||||
|
Var MemberPtCard = "ROOT/taobin_project/inter/whatthecup/sgp/image/page_member/member-point-card.png"
|
||||||
|
Var MemberProfileFilename = "ROOT/taobin_project/inter/whatthecup/sgp/image/page_member/member-profile.png"
|
||||||
|
|
||||||
|
Var DirImage = "ROOT/taobin_project/inter/whatthecup/sgp/image/display_point_en/"
|
||||||
|
|
||||||
|
Var CloseFilename = "ROOT/taobin_project/inter/whatthecup/sgp/image/page_member/bn_close.png"
|
||||||
|
Var ClosePressFilename = "ROOT/taobin_project/inter/whatthecup/sgp/image/page_member/bp_close.png"
|
||||||
|
|
||||||
|
Var PointAlert = "ROOT/taobin_project/inter/whatthecup/sgp/image/page_member/points_alert.png"
|
||||||
|
Var Free1 = "ROOT/taobin_project/inter/whatthecup/sgp/image/page_member/free1.png"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
</EventOpen>
|
||||||
|
<Timeout> 1000 </Timeout>
|
||||||
|
<EventTimeout>
|
||||||
|
|
||||||
|
Var CountDownBrewing = BREW_CNT
|
||||||
|
|
||||||
|
Var ShowCountDownBrewing = CountDownBrewing
|
||||||
|
|
||||||
|
;percent
|
||||||
|
If ShowCountDownAsPercent = 1 Then
|
||||||
|
Var XPercent = InitCNT - ShowCountDownBrewing
|
||||||
|
If ShowCountDownBrewing <= 5 Then
|
||||||
|
Var XPercent = 95
|
||||||
|
Else
|
||||||
|
Var XPercent = XPercent * 100
|
||||||
|
DEBUGVAR XPercent
|
||||||
|
Var XPercent = XPercent / InitCNT
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
DEBUGVAR XPercent
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Var Timeout = Timeout + 1
|
||||||
|
|
||||||
|
If DebugStayInPage = 1 Then
|
||||||
|
Var Timeout = 0
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If Timeout > 5 Then
|
||||||
|
|
||||||
|
; goto lid straw
|
||||||
|
If CoffeePoint > 54 Then
|
||||||
|
Open "ROOT/taobin_project/xml/page_display_get_free.xml"
|
||||||
|
Else
|
||||||
|
If Seeker.FromConsent = 1 Then
|
||||||
|
Open "ROOT/taobin_project/xml/page_display_get_free.xml"
|
||||||
|
Else
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Open "ROOT/taobin_project/xml/page_lid_straw.xml"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
</EventTimeout>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<EventSecurity>
|
||||||
|
Open "/media/bt/xml/security_alarm.xml"
|
||||||
|
</EventSecurity>
|
||||||
|
|
||||||
|
<EventActionOk>
|
||||||
|
If CheckCoupons = 1 Then
|
||||||
|
Var MakeDrinkState = 1
|
||||||
|
Var CouponPage = 1
|
||||||
|
Var CouponInfo1 = Ext1a
|
||||||
|
Var CouponInfo2 = Ext1b
|
||||||
|
Var CouponInfo3 = Ext1c
|
||||||
|
Var CouponInfo4 = Ext1d
|
||||||
|
Var CouponInfo5 = Ext1e
|
||||||
|
Var CouponInfo6 = Ext1f
|
||||||
|
Var CouponInfo7 = Ext1g
|
||||||
|
Var CouponInfo8 = Ext1h
|
||||||
|
Var CouponInfo9 = Ext1i
|
||||||
|
Var CouponInfo10 = Ext1j
|
||||||
|
|
||||||
|
Var TelephoneNumber = TelephoneNumberX
|
||||||
|
GETACCEXT TelephoneNumber 13
|
||||||
|
Var CheckCoupons = 2
|
||||||
|
|
||||||
|
Else
|
||||||
|
|
||||||
|
If CheckCoupons = 2 Then
|
||||||
|
|
||||||
|
Var TaobinCredit = Ext1b
|
||||||
|
|
||||||
|
If InternationalEnable = 1 Then
|
||||||
|
Var ChackMemberPage = CountryRootPath + "xml/page_check_member2.lxml"
|
||||||
|
Open ChackMemberPage
|
||||||
|
Else
|
||||||
|
Open "ROOT/taobin_project/xml/page_check_member2.xml"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
</EventActionOk>
|
||||||
|
|
||||||
|
|
||||||
|
<EventMachine>
|
||||||
|
If MachineStage = "drink-success" Then
|
||||||
|
Var MachineState_Result = 1
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If MachineStage = "drink-failed" Then
|
||||||
|
Var MachineState_Result = 2
|
||||||
|
EndIf
|
||||||
|
</EventMachine>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
;include="ROOT/taobin_project/inc/video.inc"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 0 </X>
|
||||||
|
<Y> 380 </Y>
|
||||||
|
<Filename> AlphaBg </Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
|
||||||
|
;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 108 </X>
|
||||||
|
<Y> 665 </Y>
|
||||||
|
<Filename> MemberPtCard </Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 108 </X>
|
||||||
|
<Y> 665 </Y>
|
||||||
|
<Filename> MemberProfileFilename </Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 243 </X>
|
||||||
|
<Y> 722 </Y>
|
||||||
|
<Filename> Var( DirImage + "/text7.png" )</Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 243 </X>
|
||||||
|
<Y> 860 </Y>
|
||||||
|
<Filename> Var( DirImage + "/text4.png" )</Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 625 </X>
|
||||||
|
<Y> 734 </Y>
|
||||||
|
<Filename> Var( DirImage + TaobinLeveImg )</Filename>
|
||||||
|
</Image>
|
||||||
|
;
|
||||||
|
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 170 </X>
|
||||||
|
<Y> 1036 </Y>
|
||||||
|
<Filename> pImageStr </Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
; free
|
||||||
|
<Button>
|
||||||
|
<X> 747 </X>
|
||||||
|
<Y> 1528 </Y>
|
||||||
|
<Filename> Free1 </Filename>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> ShellXCol7 </X>
|
||||||
|
<Y> ShellYRow7 </Y>
|
||||||
|
<State> taobinP55 </State>
|
||||||
|
<Filename> Var( DirImage + taobinImgP55 )</Filename>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Text>
|
||||||
|
<X> 250 </X>
|
||||||
|
<Y> 790 </Y>
|
||||||
|
<Size> 20 </Size>
|
||||||
|
<Width> 1000 </Width>
|
||||||
|
<Font> KanitRegularTTF </Font>
|
||||||
|
<Color> 0x746253 </Color>
|
||||||
|
<Value> TNumberTaobinMemberXXX </Value>
|
||||||
|
<Format> Telnum-mask-3 </Format>
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
<Text>
|
||||||
|
<X> 250 </X>
|
||||||
|
<Y> 890 </Y>
|
||||||
|
<Size> 50 </Size>
|
||||||
|
<Width> 120 </Width>
|
||||||
|
<Font> KanitRegularTTF </Font>
|
||||||
|
<Color> 0xDE794E </Color>
|
||||||
|
<Value> CoffeePointRank </Value>
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 230 </X>
|
||||||
|
<Y> 903 </Y>
|
||||||
|
<State> PointMaskState </State>
|
||||||
|
<Filename> Var( DirImage + "/pointMask.png" )</Filename>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
;<Text>
|
||||||
|
;<X> 250 </X>
|
||||||
|
;<Y> 990 </Y>
|
||||||
|
;<Size> 25 </Size>
|
||||||
|
;<Width> 1000 </Width>
|
||||||
|
;<Font> KanitRegularTTF </Font>
|
||||||
|
;<Color> 0xDE794E </Color>
|
||||||
|
;<Value> TaobinLevelDesc1 </Value>
|
||||||
|
;</Text>
|
||||||
|
|
||||||
|
;<Text>
|
||||||
|
;<X> 250 </X>
|
||||||
|
;<Y> 1020 </Y>
|
||||||
|
;<Size> 20 </Size>
|
||||||
|
;<Width> 1000 </Width>
|
||||||
|
;<Font> KanitRegularTTF </Font>
|
||||||
|
;<Color> 0x746253 </Color>
|
||||||
|
;<Value> TaobinLevelDesc2 </Value>
|
||||||
|
;</Text>
|
||||||
|
|
||||||
|
; expire
|
||||||
|
<Image>
|
||||||
|
<X> 172 </X>
|
||||||
|
<Y> 1650 </Y>
|
||||||
|
<Filename> PointAlert </Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
;<Text>
|
||||||
|
;<X> xPointEndDate </X>
|
||||||
|
;<Y> 1576 </Y>
|
||||||
|
;<Size> 25 </Size>
|
||||||
|
;<Width> 500 </Width>
|
||||||
|
;<Font> KanitRegularTTF </Font>
|
||||||
|
;<Color> 0xDE794E </Color>
|
||||||
|
;<Value> PointEndDate </Value>
|
||||||
|
;</Text>
|
||||||
|
|
||||||
|
;<Text>
|
||||||
|
;<X> 310 </X>
|
||||||
|
;<Y> 1621 </Y>
|
||||||
|
;<Size> 25 </Size>
|
||||||
|
;<Width> 1000 </Width>
|
||||||
|
;<Font> KanitRegularTTF </Font>
|
||||||
|
;<Color> 0x746253 </Color>
|
||||||
|
;<Value> TaobinLevelDesc3 </Value>
|
||||||
|
;</Text>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 172 </X>
|
||||||
|
<Y> 1093 </Y>
|
||||||
|
<State> Point2XState </State>
|
||||||
|
<Filename> Var( DirImage + Point2XImage )</Filename>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
; new-ui-collect-pt
|
||||||
|
<Image>
|
||||||
|
<X> 0 </X>
|
||||||
|
<Y> 380 </Y>
|
||||||
|
<Filename> template </Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
;
|
||||||
|
<Image>
|
||||||
|
<X> 751 </X>
|
||||||
|
<Y> 413 </Y>
|
||||||
|
<Filename> IMG_CNT </Filename>
|
||||||
|
</Image>
|
||||||
|
;
|
||||||
|
<Text>
|
||||||
|
<X> XPosiShowCountDownBrew </X>
|
||||||
|
<Y> 470 </Y>
|
||||||
|
<State> ShowCountdown </State>
|
||||||
|
<Align> End </Align>
|
||||||
|
<Width> 153 </Width>
|
||||||
|
<Size> 88 </Size>
|
||||||
|
<Font> RobotoBold </Font>
|
||||||
|
<Color> 0x513C2F </Color>
|
||||||
|
<Value> ShowCountDownBrewing </Value>
|
||||||
|
</Text>
|
||||||
|
;
|
||||||
|
<Text>
|
||||||
|
<X> XPosiShowCountDownBrew </X>
|
||||||
|
<Y> 470 </Y>
|
||||||
|
<State> ShowPercent </State>
|
||||||
|
<Align> End </Align>
|
||||||
|
<Width> 153 </Width>
|
||||||
|
<Size> 88 </Size>
|
||||||
|
<Font> RobotoBold </Font>
|
||||||
|
<Color> HeadlineColor </Color>
|
||||||
|
<Value> XPercent </Value>
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
<Text>
|
||||||
|
<X> 805 </X>
|
||||||
|
<Y> 1000 </Y>
|
||||||
|
<Size> 84 </Size>
|
||||||
|
<Font> PepsiExtend </Font>
|
||||||
|
<Color> WTCWhiteColor </Color>
|
||||||
|
<Value> CoffeePointRank </Value>
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
|
||||||
|
<Text>
|
||||||
|
<X> 135 </X>
|
||||||
|
<Y> 1150 </Y>
|
||||||
|
<Size> 84 </Size>
|
||||||
|
<Font> PepsiExtend </Font>
|
||||||
|
<Color> 0x0025FF </Color>
|
||||||
|
<Value> shellText55 </Value>
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
|
||||||
|
; shell-left
|
||||||
|
<Text>
|
||||||
|
<X> 145 </X>
|
||||||
|
<Y> 1300 </Y>
|
||||||
|
<Size> 40 </Size>
|
||||||
|
<Font> InterRegular </Font>
|
||||||
|
<Color> 0x0025FF </Color>
|
||||||
|
<Value> ptForFreeCoupon </Value>
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 79 </X>
|
||||||
|
<Y> 1470 </Y>
|
||||||
|
<Filename> gauge_display </Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> cup_pin_x </X>
|
||||||
|
<Y> 1410 </Y>
|
||||||
|
<Filename> CupPinImg </Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 396 </X>
|
||||||
|
<Y> 1820 </Y>
|
||||||
|
<Filename> CloseFilename </Filename>
|
||||||
|
<FilenamePress> ClosePressFilename </FilenamePress>
|
||||||
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
; goto lid straw
|
||||||
|
;Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
||||||
|
|
||||||
|
If DebugStayInPage = 1 Then
|
||||||
|
Var DebugStayInPage = 0
|
||||||
|
Open "ROOT/taobin_project/inter/sgp/xml/page_check_member.lxml"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If Seeker.FromConsent = 1 Then
|
||||||
|
Open "ROOT/taobin_project/xml/page_display_get_free.xml"
|
||||||
|
Else
|
||||||
|
If CoffeePoint > 54 Then
|
||||||
|
Open "ROOT/taobin_project/xml/page_display_get_free.xml"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Open "ROOT/taobin_project/xml/page_lid_straw.xml"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<EventUnitTest1>
|
||||||
|
Var taobinP1 = "Enable"
|
||||||
|
Var taobinP2 = "Enable"
|
||||||
|
Var taobinP3 = "Enable"
|
||||||
|
Var taobinP4 = "Enable"
|
||||||
|
Var taobinP5 = "Enable"
|
||||||
|
Var taobinP6 = "Enable"
|
||||||
|
Var taobinP7 = "Enable"
|
||||||
|
Var taobinP8 = "Enable"
|
||||||
|
|
||||||
|
Var taobinP10 = "Enable"
|
||||||
|
|
||||||
|
Var taobinP18 = "Enable"
|
||||||
|
|
||||||
|
Var taobinP26 = "Enable"
|
||||||
|
|
||||||
|
Var taobinP34 = "Enable"
|
||||||
|
|
||||||
|
Var taobinP42 = "Enable"
|
||||||
|
|
||||||
|
Var taobinP50 = "Enable"
|
||||||
|
</EventUnitTest1>
|
||||||
|
<EventUnitTest2>
|
||||||
|
|
||||||
|
Var TaobinLevel = "2"
|
||||||
|
|
||||||
|
|
||||||
|
</EventUnitTest2>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</Popup>
|
||||||
|
|
@ -255,7 +255,8 @@
|
||||||
Font=Kanit,Type=Medium,Size=36,Color=0xEE8C62,LineHeight=46 Font=Kanit,Type=Medium,Size=36,Color=0xEE8C62,LineHeight=46
|
Font=Kanit,Type=Medium,Size=36,Color=0xEE8C62,LineHeight=46 Font=Kanit,Type=Medium,Size=36,Color=0xEE8C62,LineHeight=46
|
||||||
002020 Adjust Recipe ปรับสูตร
|
002020 Adjust Recipe ปรับสูตร
|
||||||
002021 Add up an extra yummy topping [(max 2)###Font=KanitLight,Size=13] เพิ่มส่วนผสมพิเศษ [(เลือกสูงสุด 2 ข้อ)###Font=KanitLight,Size=13]
|
002021 Add up an extra yummy topping [(max 2)###Font=KanitLight,Size=13] เพิ่มส่วนผสมพิเศษ [(เลือกสูงสุด 2 ข้อ)###Font=KanitLight,Size=13]
|
||||||
D.I.Y. your cup, your style [(max 1)###Font=KanitLight,Size=13] เพิ่่มไซรัปฉ่ำๆ D.I.Y ความอร่อยได้เลย [(เลือกสูงสุด 1 ข้อ)###Font=KanitLight,Size=13]
|
002022 D.I.Y. your cup, your style [(max 1)###Font=KanitLight,Size=13] เพิ่่มไซรัปฉ่ำๆ D.I.Y ความอร่อยได้เลย [(เลือกสูงสุด 1 ข้อ)###Font=KanitLight,Size=13]
|
||||||
|
|
||||||
Font=Kanit,Type=Regular,Size=36,Color=0x513C2F,LineHeight=46 Font=Kanit,Type=Regular,Size=36,Color=0x513C2F,LineHeight=46
|
Font=Kanit,Type=Regular,Size=36,Color=0x513C2F,LineHeight=46 Font=Kanit,Type=Regular,Size=36,Color=0x513C2F,LineHeight=46
|
||||||
002030 Sweetness ความหวาน
|
002030 Sweetness ความหวาน
|
||||||
002031 Espresso Shot เอสเพรสโซ่ช็อต
|
002031 Espresso Shot เอสเพรสโซ่ช็อต
|
||||||
|
|
@ -1170,7 +1171,7 @@
|
||||||
1300016 Brew time:sec เวลาชง: วินาที
|
1300016 Brew time:sec เวลาชง: วินาที
|
||||||
1300017 Test grind sizes ทดสอบขนาดบด
|
1300017 Test grind sizes ทดสอบขนาดบด
|
||||||
1300018 Coffee module type : ประเภทชุดกาแฟ :
|
1300018 Coffee module type : ประเภทชุดกาแฟ :
|
||||||
1300019 1. Select grind sizes 1. เลือกขนาดบด
|
1300019 1. Select grind sizes 1. เลือกขนาดการบด
|
||||||
1300020 More coarse หยาบขึ้น
|
1300020 More coarse หยาบขึ้น
|
||||||
1300021 More fine ละเอียดขึ้น
|
1300021 More fine ละเอียดขึ้น
|
||||||
1300022 2. Test grinding 2. ทดสอบการบด
|
1300022 2. Test grinding 2. ทดสอบการบด
|
||||||
|
|
|
||||||
|
Can't render this file because it has a wrong number of fields in line 21.
|
|
|
@ -12217,20 +12217,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<Button>
|
;include="ROOT/taobin_project/inc/button_remove_cup.inc"
|
||||||
<X> 780 </X>
|
|
||||||
<Y> 500 </Y>
|
|
||||||
<State> buttonRemoveCup </State>
|
|
||||||
;<Color> "0x00BDFF" </Color>
|
|
||||||
<Interval> 500 </Interval>
|
|
||||||
<Filename> "ROOT/taobin_project/image/main_page_inter/bn_remove_cup.png" </Filename>
|
|
||||||
<Filename> "ROOT/taobin_project/image/main_page_inter/bp_remove_cup.png" </Filename>
|
|
||||||
<EventClick>
|
|
||||||
Machine RemoveCup
|
|
||||||
Machine DoorLidOpen
|
|
||||||
Var buttonRemoveCup = "Invisible"
|
|
||||||
</EventClick>
|
|
||||||
</Button>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -12217,20 +12217,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<Button>
|
;include="ROOT/taobin_project/inc/button_remove_cup.inc"
|
||||||
<X> 780 </X>
|
|
||||||
<Y> 500 </Y>
|
|
||||||
<State> buttonRemoveCup </State>
|
|
||||||
;<Color> "0x00BDFF" </Color>
|
|
||||||
<Interval> 500 </Interval>
|
|
||||||
<Filename> "ROOT/taobin_project/image/main_page_inter/bn_remove_cup.png" </Filename>
|
|
||||||
<Filename> "ROOT/taobin_project/image/main_page_inter/bp_remove_cup.png" </Filename>
|
|
||||||
<EventClick>
|
|
||||||
Machine RemoveCup
|
|
||||||
Machine DoorLidOpen
|
|
||||||
Var buttonRemoveCup = "Invisible"
|
|
||||||
</EventClick>
|
|
||||||
</Button>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -12118,20 +12118,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<Button>
|
;include="ROOT/taobin_project/inc/button_remove_cup.inc"
|
||||||
<X> 780 </X>
|
|
||||||
<Y> 500 </Y>
|
|
||||||
<State> buttonRemoveCup </State>
|
|
||||||
;<Color> "0x00BDFF" </Color>
|
|
||||||
<Interval> 500 </Interval>
|
|
||||||
<Filename> "ROOT/taobin_project/image/main_page_inter/bn_remove_cup.png" </Filename>
|
|
||||||
<Filename> "ROOT/taobin_project/image/main_page_inter/bp_remove_cup.png" </Filename>
|
|
||||||
<EventClick>
|
|
||||||
Machine RemoveCup
|
|
||||||
Machine DoorLidOpen
|
|
||||||
Var buttonRemoveCup = "Invisible"
|
|
||||||
</EventClick>
|
|
||||||
</Button>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -12217,20 +12217,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<Button>
|
;include="ROOT/taobin_project/inc/button_remove_cup.inc"
|
||||||
<X> 780 </X>
|
|
||||||
<Y> 500 </Y>
|
|
||||||
<State> buttonRemoveCup </State>
|
|
||||||
;<Color> "0x00BDFF" </Color>
|
|
||||||
<Interval> 500 </Interval>
|
|
||||||
<Filename> Var(RootPath + "image/main_page_inter/bn_remove_cup.png") </Filename>
|
|
||||||
<Filename> Var(RootPath + "image/main_page_inter/bp_remove_cup.png") </Filename>
|
|
||||||
<EventClick>
|
|
||||||
Machine RemoveCup
|
|
||||||
Machine DoorLidOpen
|
|
||||||
Var buttonRemoveCup = "Invisible"
|
|
||||||
</EventClick>
|
|
||||||
</Button>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -12118,20 +12118,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<Button>
|
;include="ROOT/taobin_project/inc/button_remove_cup.inc"
|
||||||
<X> 780 </X>
|
|
||||||
<Y> 500 </Y>
|
|
||||||
<State> buttonRemoveCup </State>
|
|
||||||
;<Color> "0x00BDFF" </Color>
|
|
||||||
<Interval> 500 </Interval>
|
|
||||||
<Filename> "ROOT/taobin_project/image/main_page_inter/bn_remove_cup.png" </Filename>
|
|
||||||
<Filename> "ROOT/taobin_project/image/main_page_inter/bp_remove_cup.png" </Filename>
|
|
||||||
<EventClick>
|
|
||||||
Machine RemoveCup
|
|
||||||
Machine DoorLidOpen
|
|
||||||
Var buttonRemoveCup = "Invisible"
|
|
||||||
</EventClick>
|
|
||||||
</Button>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -12118,20 +12118,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<Button>
|
;include="ROOT/taobin_project/inc/button_remove_cup.inc"
|
||||||
<X> 780 </X>
|
|
||||||
<Y> 500 </Y>
|
|
||||||
<State> buttonRemoveCup </State>
|
|
||||||
;<Color> "0x00BDFF" </Color>
|
|
||||||
<Interval> 500 </Interval>
|
|
||||||
<Filename> "ROOT/taobin_project/image/main_page_inter/bn_remove_cup.png" </Filename>
|
|
||||||
<Filename> "ROOT/taobin_project/image/main_page_inter/bp_remove_cup.png" </Filename>
|
|
||||||
<EventClick>
|
|
||||||
Machine RemoveCup
|
|
||||||
Machine DoorLidOpen
|
|
||||||
Var buttonRemoveCup = "Invisible"
|
|
||||||
</EventClick>
|
|
||||||
</Button>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,43 +1,59 @@
|
||||||
|
Var layoutVersion = ""
|
||||||
|
|
||||||
|
If CatalogLayoutV3 = 1 Then
|
||||||
|
Var layoutVersion = "v3/"
|
||||||
|
EndIf
|
||||||
|
|
||||||
OpenRedirect "/taobin_project/inter/tha/xml/page_catalog_group_coffee.lxml" "/mnt/sdcard/coffeevending/taobin_project/inter/tha/xml/multi/coffee.ev"
|
OpenRedirect "/taobin_project/inter/tha/xml/page_catalog_group_coffee.lxml" "/mnt/sdcard/coffeevending/taobin_project/inter/tha/xml/multi/coffee.ev"
|
||||||
Var InstanceTabOpenFile2 = "ROOT/taobin_project/inter/tha/xml/multi/page_catalog_group_coffee.lxml"
|
Var InstanceTabOpenFile2 = "ROOT/taobin_project/inter/tha/xml/multi/" + layoutVersion
|
||||||
|
Var InstanceTabOpenFile2 = InstanceTabOpenFile2 + "/page_catalog_group_coffee.lxml"
|
||||||
|
|
||||||
|
|
||||||
OpenRedirect "/taobin_project/inter/tha/xml/page_catalog_group_tea.lxml" "/mnt/sdcard/coffeevending/taobin_project/inter/tha/xml/multi/tea.ev"
|
OpenRedirect "/taobin_project/inter/tha/xml/page_catalog_group_tea.lxml" "/mnt/sdcard/coffeevending/taobin_project/inter/tha/xml/multi/tea.ev"
|
||||||
Var InstanceTabOpenFile3 = "ROOT/taobin_project/inter/tha/xml/multi/page_catalog_group_tea.lxml"
|
Var InstanceTabOpenFile3 = "ROOT/taobin_project/inter/tha/xml/multi/" + layoutVersion
|
||||||
|
Var InstanceTabOpenFile3 = InstanceTabOpenFile3 + "/page_catalog_group_tea.lxml"
|
||||||
|
|
||||||
OpenRedirect "/taobin_project/inter/tha/xml/page_catalog_group_milk.lxml" "/mnt/sdcard/coffeevending/taobin_project/inter/tha/xml/multi/milk.ev"
|
OpenRedirect "/taobin_project/inter/tha/xml/page_catalog_group_milk.lxml" "/mnt/sdcard/coffeevending/taobin_project/inter/tha/xml/multi/milk.ev"
|
||||||
Var InstanceTabOpenFile4 = "ROOT/taobin_project/inter/tha/xml/multi/page_catalog_group_milk.lxml"
|
Var InstanceTabOpenFile4 = "ROOT/taobin_project/inter/tha/xml/multi/" + layoutVersion
|
||||||
|
Var InstanceTabOpenFile4 = InstanceTabOpenFile4 + "/page_catalog_group_milk.lxml"
|
||||||
|
|
||||||
|
|
||||||
OpenRedirect "/taobin_project/inter/tha/xml/page_catalog_group_other_other.lxml" "/mnt/sdcard/coffeevending/taobin_project/inter/tha/xml/multi/otherOther.ev"
|
OpenRedirect "/taobin_project/inter/tha/xml/page_catalog_group_other_other.lxml" "/mnt/sdcard/coffeevending/taobin_project/inter/tha/xml/multi/otherOther.ev"
|
||||||
Var InstanceTabOpenFile7 = "ROOT/taobin_project/inter/tha/xml/multi/page_catalog_group_other_other.lxml"
|
Var InstanceTabOpenFile7 = "ROOT/taobin_project/inter/tha/xml/multi/" + layoutVersion
|
||||||
|
Var InstanceTabOpenFile7 = InstanceTabOpenFile7 + "/page_catalog_group_other_other.lxml"
|
||||||
|
|
||||||
If AppFastButtonState = "Enable" Then
|
If AppFastButtonState = "Enable" Then
|
||||||
Var InstanceTabOpenFile5 = "ROOT/taobin_project/inter/tha/xml/multi/page_catalog_group_appfast.lxml"
|
Var InstanceTabOpenFile5 = "ROOT/taobin_project/inter/tha/xml/multi/" + layoutVersion
|
||||||
|
Var InstanceTabOpenFile5 = InstanceTabOpenFile5 + "/page_catalog_group_appfast.lxml"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
If WheyButtonState = "Enable" Then
|
If WheyButtonState = "Enable" Then
|
||||||
OpenRedirect "/taobin_project/inter/tha/xml/page_catalog_group_whey.lxml" "/mnt/sdcard/coffeevending/taobin_project/inter/tha/xml/multi/kidandwhey.ev"
|
OpenRedirect "/taobin_project/inter/tha/xml/page_catalog_group_whey.lxml" "/mnt/sdcard/coffeevending/taobin_project/inter/tha/xml/multi/kidandwhey.ev"
|
||||||
Var InstanceTabOpenFile5 = "ROOT/taobin_project/inter/tha/xml/multi/page_catalog_group_whey.lxml"
|
Var InstanceTabOpenFile5 = "ROOT/taobin_project/inter/tha/xml/multi/" + layoutVersion
|
||||||
|
Var InstanceTabOpenFile5 = InstanceTabOpenFile5 + "/page_catalog_group_whey.lxml"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
If MenuKidButtonState = "Enable" Then
|
If MenuKidButtonState = "Enable" Then
|
||||||
OpenRedirect "/taobin_project/inter/tha/xml/page_catalog_group_forkid.lxml" "/mnt/sdcard/coffeevending/taobin_project/inter/tha/xml/multi/kidandwhey.ev"
|
OpenRedirect "/taobin_project/inter/tha/xml/page_catalog_group_forkid.lxml" "/mnt/sdcard/coffeevending/taobin_project/inter/tha/xml/multi/kidandwhey.ev"
|
||||||
Var InstanceTabOpenFile5 = "ROOT/taobin_project/inter/tha/xml/multi/page_catalog_group_forkid.lxml"
|
Var InstanceTabOpenFile5 = "ROOT/taobin_project/inter/tha/xml/multi/" + layoutVersion
|
||||||
|
Var InstanceTabOpenFile5 = InstanceTabOpenFile5 + "/page_catalog_group_forkid.lxml"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
If CocktailShow = "true" Then
|
If CocktailShow = "true" Then
|
||||||
OpenRedirect "/taobin_project/inter/tha/xml/page_catalog_group_cocktail.lxml" "/mnt/sdcard/coffeevending/taobin_project/inter/tha/xml/multi/health.ev"
|
OpenRedirect "/taobin_project/inter/tha/xml/page_catalog_group_cocktail.lxml" "/mnt/sdcard/coffeevending/taobin_project/inter/tha/xml/multi/health.ev"
|
||||||
Var InstanceTabOpenFile6 = "ROOT/taobin_project/inter/tha/xml/multi/page_catalog_group_cocktail.lxml"
|
Var InstanceTabOpenFile6 = "ROOT/taobin_project/inter/tha/xml/multi/" + layoutVersion
|
||||||
|
Var InstanceTabOpenFile6 = InstanceTabOpenFile6 + "/page_catalog_group_cocktail.lxml"
|
||||||
Else
|
Else
|
||||||
OpenRedirect "/taobin_project/inter/tha/xml/page_catalog_group_health.lxml" "/mnt/sdcard/coffeevending/taobin_project/inter/tha/xml/multi/health.ev"
|
OpenRedirect "/taobin_project/inter/tha/xml/page_catalog_group_health.lxml" "/mnt/sdcard/coffeevending/taobin_project/inter/tha/xml/multi/health.ev"
|
||||||
Var InstanceTabOpenFile6 = "ROOT/taobin_project/inter/tha/xml/multi/page_catalog_group_health.lxml"
|
Var InstanceTabOpenFile6 = "ROOT/taobin_project/inter/tha/xml/multi/" + layoutVersion
|
||||||
|
Var InstanceTabOpenFile6 = InstanceTabOpenFile6 + "/page_catalog_group_health.lxml"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
OpenRedirect "/taobin_project/inter/tha/xml/page_catalog_group_pepsi_7up.lxml" "/mnt/sdcard/coffeevending/taobin_project/inter/tha/xml/multi/pepsi7up.ev"
|
OpenRedirect "/taobin_project/inter/tha/xml/page_catalog_group_pepsi_7up.lxml" "/mnt/sdcard/coffeevending/taobin_project/inter/tha/xml/multi/pepsi7up.ev"
|
||||||
Var InstanceTabOpenFile8 = "ROOT/taobin_project/inter/tha/xml/multi/page_catalog_group_pepsi_7up.lxml"
|
Var InstanceTabOpenFile8 = "ROOT/taobin_project/inter/tha/xml/multi/" + layoutVersion
|
||||||
|
Var InstanceTabOpenFile8 = InstanceTabOpenFile8 + "/page_catalog_group_pepsi_7up.lxml"
|
||||||
|
|
||||||
Var InstanceTabOpenFile9 = "ROOT/taobin_project/inter/tha/xml/multi/start_up_inst_dummy.lxml"
|
Var InstanceTabOpenFile9 = "ROOT/taobin_project/inter/tha/xml/multi/start_up_inst_dummy.lxml"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -224,7 +224,7 @@
|
||||||
; setvar SpiralOnline true
|
; setvar SpiralOnline true
|
||||||
Var ButtonSpiralStage = "Invisible"
|
Var ButtonSpiralStage = "Invisible"
|
||||||
If SpiralOnline = "true" Then
|
If SpiralOnline = "true" Then
|
||||||
Var ButtonSpiralStage = "Enable
|
Var ButtonSpiralStage = "Enable"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
DEBUGVAR SpiralOnline
|
DEBUGVAR SpiralOnline
|
||||||
|
|
@ -1002,23 +1002,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<Button>
|
;include="ROOT/taobin_project/inc/button_remove_cup.inc"
|
||||||
<X> 780 </X>
|
|
||||||
<Y> 500 </Y>
|
|
||||||
<State> buttonRemoveCup </State>
|
|
||||||
;<Color> "0x00BDFF" </Color>
|
|
||||||
<Interval> 500 </Interval>
|
|
||||||
<Filename> Var(RootPath + "image/main_page_inter/bn_remove_cup.png") </Filename>
|
|
||||||
<Filename> Var(RootPath + "image/main_page_inter/bp_remove_cup.png") </Filename>
|
|
||||||
<EventClick>
|
|
||||||
Machine RemoveCup
|
|
||||||
Machine DoorLidOpen
|
|
||||||
|
|
||||||
Var CheckCupStateDoorCupClose = "reset"
|
|
||||||
Var buttonRemoveCup = "Invisible"
|
|
||||||
|
|
||||||
</EventClick>
|
|
||||||
</Button>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@
|
||||||
<Volume> SoundVolume </Volume>
|
<Volume> SoundVolume </Volume>
|
||||||
<EventOpen>
|
<EventOpen>
|
||||||
; On open
|
; On open
|
||||||
|
|
||||||
|
|
||||||
If SlientRefreshIndex = 2 Then
|
If SlientRefreshIndex = 2 Then
|
||||||
Var SlientRefreshIndex = 3
|
Var SlientRefreshIndex = 3
|
||||||
|
|
@ -24,7 +24,7 @@
|
||||||
<EventOnShow>
|
<EventOnShow>
|
||||||
|
|
||||||
SAVELOG "Onshow 1"
|
SAVELOG "Onshow 1"
|
||||||
;include="ROOT/taobin_project/inter/tha/xml/multi/menu_catalog_default_init.lxml"
|
;include="ROOT/taobin_project/inter/tha/xml/multi/menu_catalog_default_init.lxml"
|
||||||
Var Menu2Selected = "PressForever"
|
Var Menu2Selected = "PressForever"
|
||||||
|
|
||||||
SAVELOG "Onshow 2"
|
SAVELOG "Onshow 2"
|
||||||
|
|
@ -37,7 +37,7 @@
|
||||||
|
|
||||||
SetInstanceIgnoreTouch
|
SetInstanceIgnoreTouch
|
||||||
|
|
||||||
|
|
||||||
DEBUGVAR SlientRefreshIndex
|
DEBUGVAR SlientRefreshIndex
|
||||||
</EventOnShow>
|
</EventOnShow>
|
||||||
|
|
||||||
|
|
@ -52,7 +52,7 @@
|
||||||
Var ice_tab_process_show = "Invisible"
|
Var ice_tab_process_show = "Invisible"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
GetVisible inst_show2
|
GetVisible inst_show2
|
||||||
;DEBUGVAR inst_show2
|
;DEBUGVAR inst_show2
|
||||||
|
|
||||||
|
|
@ -65,7 +65,7 @@
|
||||||
GetXMLFileNameCurrentRunning CurrentOpenFile
|
GetXMLFileNameCurrentRunning CurrentOpenFile
|
||||||
Open CurrentOpenFile
|
Open CurrentOpenFile
|
||||||
|
|
||||||
If show_eng = "true" Then
|
If show_eng = "true" Then
|
||||||
InstanceSetString "ShowEng"
|
InstanceSetString "ShowEng"
|
||||||
Else
|
Else
|
||||||
InstanceSetString "ShowThai"
|
InstanceSetString "ShowThai"
|
||||||
|
|
@ -82,12 +82,12 @@
|
||||||
GetXMLFileNameCurrentRunning CurrentOpenFile
|
GetXMLFileNameCurrentRunning CurrentOpenFile
|
||||||
Open CurrentOpenFile
|
Open CurrentOpenFile
|
||||||
|
|
||||||
If show_eng = "true" Then
|
If show_eng = "true" Then
|
||||||
InstanceSetString "ShowEng"
|
InstanceSetString "ShowEng"
|
||||||
Else
|
Else
|
||||||
InstanceSetString "ShowThai"
|
InstanceSetString "ShowThai"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
@ -96,7 +96,7 @@
|
||||||
SAVELOG "OPEN slient 1"
|
SAVELOG "OPEN slient 1"
|
||||||
GetXMLFileNameCurrentRunning CurrentOpenFile2
|
GetXMLFileNameCurrentRunning CurrentOpenFile2
|
||||||
Open CurrentOpenFile2
|
Open CurrentOpenFile2
|
||||||
|
|
||||||
Else
|
Else
|
||||||
Var SlientRefreshIndex = 3
|
Var SlientRefreshIndex = 3
|
||||||
EndIf
|
EndIf
|
||||||
|
|
@ -113,7 +113,7 @@
|
||||||
|
|
||||||
InstanceGetString SaveStringInst
|
InstanceGetString SaveStringInst
|
||||||
If SaveStringInst = "RefreshNow" Then
|
If SaveStringInst = "RefreshNow" Then
|
||||||
|
|
||||||
Else
|
Else
|
||||||
If LanguageShow = "ENG" Then
|
If LanguageShow = "ENG" Then
|
||||||
Var SaveStringInst = "ShowEng"
|
Var SaveStringInst = "ShowEng"
|
||||||
|
|
@ -130,7 +130,7 @@
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -138,7 +138,7 @@
|
||||||
Var Inst5CountCurrentMenuEnable = 0
|
Var Inst5CountCurrentMenuEnable = 0
|
||||||
GetFrameScrollBlockCount Inst5CountCurrentMenuEnable
|
GetFrameScrollBlockCount Inst5CountCurrentMenuEnable
|
||||||
GetCurrentEnableBlockCount Inst5CountMenuEnable
|
GetCurrentEnableBlockCount Inst5CountMenuEnable
|
||||||
|
|
||||||
;DEBUGVAR Inst5CountMenuEnable
|
;DEBUGVAR Inst5CountMenuEnable
|
||||||
;DEBUGVAR Inst5CountMenuEnablePrev
|
;DEBUGVAR Inst5CountMenuEnablePrev
|
||||||
;DEBUGVAR Inst5CountCurrentMenuEnable
|
;DEBUGVAR Inst5CountCurrentMenuEnable
|
||||||
|
|
@ -167,7 +167,7 @@
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
If Inst5CountCurrentMenuEnable = 0 Then
|
If Inst5CountCurrentMenuEnable = 0 Then
|
||||||
|
|
||||||
DEBUGVAR Inst5CountDownOpenXMLFromMenuZero
|
DEBUGVAR Inst5CountDownOpenXMLFromMenuZero
|
||||||
|
|
||||||
If Inst5CountDownOpenXMLFromMenuZero > 0 Then
|
If Inst5CountDownOpenXMLFromMenuZero > 0 Then
|
||||||
|
|
@ -182,7 +182,7 @@
|
||||||
|
|
||||||
If Inst5CountMenuEnable = Inst5CountCurrentMenuEnable Then
|
If Inst5CountMenuEnable = Inst5CountCurrentMenuEnable Then
|
||||||
If Inst5CountCurrentMenuEnable > 0 Then
|
If Inst5CountCurrentMenuEnable > 0 Then
|
||||||
Var Inst5MenuLoaded = "done"
|
Var Inst5MenuLoaded = "done"
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
@ -195,7 +195,7 @@
|
||||||
EndIf
|
EndIf
|
||||||
InstanceGetString SaveStringInst
|
InstanceGetString SaveStringInst
|
||||||
If SaveStringInst = "RefreshNow" Then
|
If SaveStringInst = "RefreshNow" Then
|
||||||
|
|
||||||
Else
|
Else
|
||||||
If LanguageShow = "ENG" Then
|
If LanguageShow = "ENG" Then
|
||||||
Var SaveStringInst = "ShowEng"
|
Var SaveStringInst = "ShowEng"
|
||||||
|
|
@ -225,7 +225,7 @@
|
||||||
Var ScriptCoffeeMenu = 0
|
Var ScriptCoffeeMenu = 0
|
||||||
SAVELOG "Runscript 3"
|
SAVELOG "Runscript 3"
|
||||||
Script "-" "-"
|
Script "-" "-"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
If CoffeeRefreshTimeOut > 15 Then
|
If CoffeeRefreshTimeOut > 15 Then
|
||||||
Var CoffeeRefreshTimeOut = 0
|
Var CoffeeRefreshTimeOut = 0
|
||||||
|
|
@ -233,7 +233,7 @@
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
Var CoffeeRefreshTimeOut = CoffeeRefreshTimeOut + 1
|
Var CoffeeRefreshTimeOut = CoffeeRefreshTimeOut + 1
|
||||||
|
|
||||||
|
|
||||||
TimerReset
|
TimerReset
|
||||||
</EventTimeout>
|
</EventTimeout>
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<?hurr
|
<?hurr
|
||||||
#include=menu_head.py
|
#include=menu_head.py
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<Popup>
|
<Popup>
|
||||||
|
|
@ -10,7 +10,7 @@
|
||||||
<Volume> SoundVolume </Volume>
|
<Volume> SoundVolume </Volume>
|
||||||
<EventOpen>
|
<EventOpen>
|
||||||
; On open
|
; On open
|
||||||
|
|
||||||
|
|
||||||
If SlientRefreshIndex = 2 Then
|
If SlientRefreshIndex = 2 Then
|
||||||
Var SlientRefreshIndex = 3
|
Var SlientRefreshIndex = 3
|
||||||
|
|
@ -26,7 +26,7 @@
|
||||||
<EventOnShow>
|
<EventOnShow>
|
||||||
|
|
||||||
SAVELOG "Onshow 1"
|
SAVELOG "Onshow 1"
|
||||||
;include="ROOT/taobin_project/inter/tha/xml/multi/menu_catalog_default_init.lxml"
|
;include="ROOT/taobin_project/inter/tha/xml/multi/menu_catalog_default_init.lxml"
|
||||||
Var Menu2Selected = "PressForever"
|
Var Menu2Selected = "PressForever"
|
||||||
|
|
||||||
SAVELOG "Onshow 2"
|
SAVELOG "Onshow 2"
|
||||||
|
|
@ -39,7 +39,7 @@
|
||||||
|
|
||||||
SetInstanceIgnoreTouch
|
SetInstanceIgnoreTouch
|
||||||
|
|
||||||
|
|
||||||
DEBUGVAR SlientRefreshIndex
|
DEBUGVAR SlientRefreshIndex
|
||||||
</EventOnShow>
|
</EventOnShow>
|
||||||
|
|
||||||
|
|
@ -54,7 +54,7 @@
|
||||||
Var ice_tab_process_show = "Invisible"
|
Var ice_tab_process_show = "Invisible"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
GetVisible inst_show2
|
GetVisible inst_show2
|
||||||
;DEBUGVAR inst_show2
|
;DEBUGVAR inst_show2
|
||||||
|
|
||||||
|
|
@ -67,7 +67,7 @@
|
||||||
GetXMLFileNameCurrentRunning CurrentOpenFile
|
GetXMLFileNameCurrentRunning CurrentOpenFile
|
||||||
Open CurrentOpenFile
|
Open CurrentOpenFile
|
||||||
|
|
||||||
If show_eng = "true" Then
|
If show_eng = "true" Then
|
||||||
InstanceSetString "ShowEng"
|
InstanceSetString "ShowEng"
|
||||||
Else
|
Else
|
||||||
InstanceSetString "ShowThai"
|
InstanceSetString "ShowThai"
|
||||||
|
|
@ -84,12 +84,12 @@
|
||||||
GetXMLFileNameCurrentRunning CurrentOpenFile
|
GetXMLFileNameCurrentRunning CurrentOpenFile
|
||||||
Open CurrentOpenFile
|
Open CurrentOpenFile
|
||||||
|
|
||||||
If show_eng = "true" Then
|
If show_eng = "true" Then
|
||||||
InstanceSetString "ShowEng"
|
InstanceSetString "ShowEng"
|
||||||
Else
|
Else
|
||||||
InstanceSetString "ShowThai"
|
InstanceSetString "ShowThai"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
@ -98,7 +98,7 @@
|
||||||
SAVELOG "OPEN slient 1"
|
SAVELOG "OPEN slient 1"
|
||||||
GetXMLFileNameCurrentRunning CurrentOpenFile2
|
GetXMLFileNameCurrentRunning CurrentOpenFile2
|
||||||
Open CurrentOpenFile2
|
Open CurrentOpenFile2
|
||||||
|
|
||||||
Else
|
Else
|
||||||
Var SlientRefreshIndex = 3
|
Var SlientRefreshIndex = 3
|
||||||
EndIf
|
EndIf
|
||||||
|
|
@ -115,7 +115,7 @@
|
||||||
|
|
||||||
InstanceGetString SaveStringInst
|
InstanceGetString SaveStringInst
|
||||||
If SaveStringInst = "RefreshNow" Then
|
If SaveStringInst = "RefreshNow" Then
|
||||||
|
|
||||||
Else
|
Else
|
||||||
If LanguageShow = "ENG" Then
|
If LanguageShow = "ENG" Then
|
||||||
Var SaveStringInst = "ShowEng"
|
Var SaveStringInst = "ShowEng"
|
||||||
|
|
@ -132,7 +132,7 @@
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -140,7 +140,7 @@
|
||||||
Var Inst5CountCurrentMenuEnable = 0
|
Var Inst5CountCurrentMenuEnable = 0
|
||||||
GetFrameScrollBlockCount Inst5CountCurrentMenuEnable
|
GetFrameScrollBlockCount Inst5CountCurrentMenuEnable
|
||||||
GetCurrentEnableBlockCount Inst5CountMenuEnable
|
GetCurrentEnableBlockCount Inst5CountMenuEnable
|
||||||
|
|
||||||
;DEBUGVAR Inst5CountMenuEnable
|
;DEBUGVAR Inst5CountMenuEnable
|
||||||
;DEBUGVAR Inst5CountMenuEnablePrev
|
;DEBUGVAR Inst5CountMenuEnablePrev
|
||||||
;DEBUGVAR Inst5CountCurrentMenuEnable
|
;DEBUGVAR Inst5CountCurrentMenuEnable
|
||||||
|
|
@ -169,7 +169,7 @@
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
If Inst5CountCurrentMenuEnable = 0 Then
|
If Inst5CountCurrentMenuEnable = 0 Then
|
||||||
|
|
||||||
DEBUGVAR Inst5CountDownOpenXMLFromMenuZero
|
DEBUGVAR Inst5CountDownOpenXMLFromMenuZero
|
||||||
|
|
||||||
If Inst5CountDownOpenXMLFromMenuZero > 0 Then
|
If Inst5CountDownOpenXMLFromMenuZero > 0 Then
|
||||||
|
|
@ -184,7 +184,7 @@
|
||||||
|
|
||||||
If Inst5CountMenuEnable = Inst5CountCurrentMenuEnable Then
|
If Inst5CountMenuEnable = Inst5CountCurrentMenuEnable Then
|
||||||
If Inst5CountCurrentMenuEnable > 0 Then
|
If Inst5CountCurrentMenuEnable > 0 Then
|
||||||
Var Inst5MenuLoaded = "done"
|
Var Inst5MenuLoaded = "done"
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
@ -197,7 +197,7 @@
|
||||||
EndIf
|
EndIf
|
||||||
InstanceGetString SaveStringInst
|
InstanceGetString SaveStringInst
|
||||||
If SaveStringInst = "RefreshNow" Then
|
If SaveStringInst = "RefreshNow" Then
|
||||||
|
|
||||||
Else
|
Else
|
||||||
If LanguageShow = "ENG" Then
|
If LanguageShow = "ENG" Then
|
||||||
Var SaveStringInst = "ShowEng"
|
Var SaveStringInst = "ShowEng"
|
||||||
|
|
@ -227,7 +227,7 @@
|
||||||
Var ScriptCoffeeMenu = 0
|
Var ScriptCoffeeMenu = 0
|
||||||
SAVELOG "Runscript 3"
|
SAVELOG "Runscript 3"
|
||||||
Script "-" "-"
|
Script "-" "-"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
If CoffeeRefreshTimeOut > 15 Then
|
If CoffeeRefreshTimeOut > 15 Then
|
||||||
Var CoffeeRefreshTimeOut = 0
|
Var CoffeeRefreshTimeOut = 0
|
||||||
|
|
@ -235,7 +235,7 @@
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
Var CoffeeRefreshTimeOut = CoffeeRefreshTimeOut + 1
|
Var CoffeeRefreshTimeOut = CoffeeRefreshTimeOut + 1
|
||||||
|
|
||||||
|
|
||||||
TimerReset
|
TimerReset
|
||||||
</EventTimeout>
|
</EventTimeout>
|
||||||
|
|
@ -245,10 +245,10 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<?hurr
|
<?hurr
|
||||||
#include=menu_new_layout_gen_v2.py
|
#include=menu_new_layout_gen_v2.py
|
||||||
?>
|
?>
|
||||||
<?hurr
|
<?hurr
|
||||||
#include=menu_new_layout_gen.py
|
#include=menu_new_layout_gen.py
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@
|
||||||
<Volume> SoundVolume </Volume>
|
<Volume> SoundVolume </Volume>
|
||||||
<EventOpen>
|
<EventOpen>
|
||||||
; On open
|
; On open
|
||||||
|
|
||||||
SetInstanceIgnoreTouch
|
SetInstanceIgnoreTouch
|
||||||
|
|
||||||
DEBUGVAR SlientRefreshIndex
|
DEBUGVAR SlientRefreshIndex
|
||||||
|
|
@ -20,14 +20,14 @@
|
||||||
</EventOpen>
|
</EventOpen>
|
||||||
|
|
||||||
<EventOnShow>
|
<EventOnShow>
|
||||||
;include="ROOT/taobin_project/inter/tha/xml/multi/menu_catalog_default_init.lxml"
|
;include="ROOT/taobin_project/inter/tha/xml/multi/menu_catalog_default_init.lxml"
|
||||||
; protein
|
; protein
|
||||||
If AppFastEnable = "true" Then
|
If AppFastEnable = "true" Then
|
||||||
Var Menu11Selected = "PressForever"
|
Var Menu11Selected = "PressForever"
|
||||||
Var Menu7Selected = "Invisible"
|
Var Menu7Selected = "Invisible"
|
||||||
Var Menu21Selected = "Invisible"
|
Var Menu21Selected = "Invisible"
|
||||||
Else
|
Else
|
||||||
Var Menu11Selected = "Invisible"
|
Var Menu11Selected = "Invisible"
|
||||||
Var Menu7Selected = "Invisible"
|
Var Menu7Selected = "Invisible"
|
||||||
Var Menu21Selected = "PressForever"
|
Var Menu21Selected = "PressForever"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
@ -57,8 +57,8 @@
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
GetVisible inst_show5
|
GetVisible inst_show5
|
||||||
;DEBUGVAR inst_show5
|
;DEBUGVAR inst_show5
|
||||||
|
|
||||||
|
|
@ -70,7 +70,7 @@
|
||||||
GetXMLFileNameCurrentRunning CurrentOpenFile
|
GetXMLFileNameCurrentRunning CurrentOpenFile
|
||||||
Open CurrentOpenFile
|
Open CurrentOpenFile
|
||||||
|
|
||||||
If show_eng = "true" Then
|
If show_eng = "true" Then
|
||||||
InstanceSetString "ShowEng"
|
InstanceSetString "ShowEng"
|
||||||
Else
|
Else
|
||||||
InstanceSetString "ShowThai"
|
InstanceSetString "ShowThai"
|
||||||
|
|
@ -86,12 +86,12 @@
|
||||||
GetXMLFileNameCurrentRunning CurrentOpenFile
|
GetXMLFileNameCurrentRunning CurrentOpenFile
|
||||||
Open CurrentOpenFile
|
Open CurrentOpenFile
|
||||||
|
|
||||||
If show_eng = "true" Then
|
If show_eng = "true" Then
|
||||||
InstanceSetString "ShowEng"
|
InstanceSetString "ShowEng"
|
||||||
Else
|
Else
|
||||||
InstanceSetString "ShowThai"
|
InstanceSetString "ShowThai"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
@ -116,7 +116,7 @@
|
||||||
|
|
||||||
InstanceGetString SaveStringInst
|
InstanceGetString SaveStringInst
|
||||||
If SaveStringInst = "RefreshNow" Then
|
If SaveStringInst = "RefreshNow" Then
|
||||||
|
|
||||||
Else
|
Else
|
||||||
If LanguageShow = "ENG" Then
|
If LanguageShow = "ENG" Then
|
||||||
Var SaveStringInst = "ShowEng"
|
Var SaveStringInst = "ShowEng"
|
||||||
|
|
@ -139,7 +139,7 @@
|
||||||
Var Inst8CountCurrentMenuEnable = 0
|
Var Inst8CountCurrentMenuEnable = 0
|
||||||
GetFrameScrollBlockCount Inst8CountCurrentMenuEnable
|
GetFrameScrollBlockCount Inst8CountCurrentMenuEnable
|
||||||
GetCurrentEnableBlockCount Inst8CountMenuEnable
|
GetCurrentEnableBlockCount Inst8CountMenuEnable
|
||||||
|
|
||||||
;DEBUGVAR Inst8CountMenuEnable
|
;DEBUGVAR Inst8CountMenuEnable
|
||||||
;DEBUGVAR Inst8CountMenuEnablePrev
|
;DEBUGVAR Inst8CountMenuEnablePrev
|
||||||
;DEBUGVAR Inst8CountCurrentMenuEnable
|
;DEBUGVAR Inst8CountCurrentMenuEnable
|
||||||
|
|
@ -166,10 +166,10 @@
|
||||||
Var Inst8CountDownForOpenXML = 10
|
Var Inst8CountDownForOpenXML = 10
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
If Inst8CountCurrentMenuEnable = 0 Then
|
If Inst8CountCurrentMenuEnable = 0 Then
|
||||||
|
|
||||||
DEBUGVAR Inst8CountDownOpenXMLFromMenuZero
|
DEBUGVAR Inst8CountDownOpenXMLFromMenuZero
|
||||||
|
|
||||||
If Inst8CountDownOpenXMLFromMenuZero > 0 Then
|
If Inst8CountDownOpenXMLFromMenuZero > 0 Then
|
||||||
|
|
@ -183,7 +183,7 @@
|
||||||
|
|
||||||
If Inst8CountMenuEnable = Inst8CountCurrentMenuEnable Then
|
If Inst8CountMenuEnable = Inst8CountCurrentMenuEnable Then
|
||||||
If Inst8CountCurrentMenuEnable > 0 Then
|
If Inst8CountCurrentMenuEnable > 0 Then
|
||||||
Var Inst8MenuLoaded = "done"
|
Var Inst8MenuLoaded = "done"
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
@ -194,7 +194,7 @@
|
||||||
Open "ROOT/taobin_project/inter/tha/xml/multi/page_catalog_group_forkid.lxml"
|
Open "ROOT/taobin_project/inter/tha/xml/multi/page_catalog_group_forkid.lxml"
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
TimerReset
|
TimerReset
|
||||||
</EventTimeout>
|
</EventTimeout>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<?hurr
|
<?hurr
|
||||||
#include=menu_head.py
|
#include=menu_head.py
|
||||||
touch_less_gen = False
|
touch_less_gen = False
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|
@ -11,7 +11,7 @@
|
||||||
<Volume> SoundVolume </Volume>
|
<Volume> SoundVolume </Volume>
|
||||||
<EventOpen>
|
<EventOpen>
|
||||||
; On open
|
; On open
|
||||||
|
|
||||||
SetInstanceIgnoreTouch
|
SetInstanceIgnoreTouch
|
||||||
|
|
||||||
DEBUGVAR SlientRefreshIndex
|
DEBUGVAR SlientRefreshIndex
|
||||||
|
|
@ -23,14 +23,14 @@
|
||||||
</EventOpen>
|
</EventOpen>
|
||||||
|
|
||||||
<EventOnShow>
|
<EventOnShow>
|
||||||
;include="ROOT/taobin_project/inter/tha/xml/multi/menu_catalog_default_init.lxml"
|
;include="ROOT/taobin_project/inter/tha/xml/multi/menu_catalog_default_init.lxml"
|
||||||
; protein
|
; protein
|
||||||
If AppFastEnable = "true" Then
|
If AppFastEnable = "true" Then
|
||||||
Var Menu11Selected = "PressForever"
|
Var Menu11Selected = "PressForever"
|
||||||
Var Menu7Selected = "Invisible"
|
Var Menu7Selected = "Invisible"
|
||||||
Var Menu21Selected = "Invisible"
|
Var Menu21Selected = "Invisible"
|
||||||
Else
|
Else
|
||||||
Var Menu11Selected = "Invisible"
|
Var Menu11Selected = "Invisible"
|
||||||
Var Menu7Selected = "Invisible"
|
Var Menu7Selected = "Invisible"
|
||||||
Var Menu21Selected = "PressForever"
|
Var Menu21Selected = "PressForever"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
@ -60,8 +60,8 @@
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
GetVisible inst_show5
|
GetVisible inst_show5
|
||||||
;DEBUGVAR inst_show5
|
;DEBUGVAR inst_show5
|
||||||
|
|
||||||
|
|
@ -73,7 +73,7 @@
|
||||||
GetXMLFileNameCurrentRunning CurrentOpenFile
|
GetXMLFileNameCurrentRunning CurrentOpenFile
|
||||||
Open CurrentOpenFile
|
Open CurrentOpenFile
|
||||||
|
|
||||||
If show_eng = "true" Then
|
If show_eng = "true" Then
|
||||||
InstanceSetString "ShowEng"
|
InstanceSetString "ShowEng"
|
||||||
Else
|
Else
|
||||||
InstanceSetString "ShowThai"
|
InstanceSetString "ShowThai"
|
||||||
|
|
@ -89,12 +89,12 @@
|
||||||
GetXMLFileNameCurrentRunning CurrentOpenFile
|
GetXMLFileNameCurrentRunning CurrentOpenFile
|
||||||
Open CurrentOpenFile
|
Open CurrentOpenFile
|
||||||
|
|
||||||
If show_eng = "true" Then
|
If show_eng = "true" Then
|
||||||
InstanceSetString "ShowEng"
|
InstanceSetString "ShowEng"
|
||||||
Else
|
Else
|
||||||
InstanceSetString "ShowThai"
|
InstanceSetString "ShowThai"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
@ -119,7 +119,7 @@
|
||||||
|
|
||||||
InstanceGetString SaveStringInst
|
InstanceGetString SaveStringInst
|
||||||
If SaveStringInst = "RefreshNow" Then
|
If SaveStringInst = "RefreshNow" Then
|
||||||
|
|
||||||
Else
|
Else
|
||||||
If LanguageShow = "ENG" Then
|
If LanguageShow = "ENG" Then
|
||||||
Var SaveStringInst = "ShowEng"
|
Var SaveStringInst = "ShowEng"
|
||||||
|
|
@ -142,7 +142,7 @@
|
||||||
Var Inst8CountCurrentMenuEnable = 0
|
Var Inst8CountCurrentMenuEnable = 0
|
||||||
GetFrameScrollBlockCount Inst8CountCurrentMenuEnable
|
GetFrameScrollBlockCount Inst8CountCurrentMenuEnable
|
||||||
GetCurrentEnableBlockCount Inst8CountMenuEnable
|
GetCurrentEnableBlockCount Inst8CountMenuEnable
|
||||||
|
|
||||||
;DEBUGVAR Inst8CountMenuEnable
|
;DEBUGVAR Inst8CountMenuEnable
|
||||||
;DEBUGVAR Inst8CountMenuEnablePrev
|
;DEBUGVAR Inst8CountMenuEnablePrev
|
||||||
;DEBUGVAR Inst8CountCurrentMenuEnable
|
;DEBUGVAR Inst8CountCurrentMenuEnable
|
||||||
|
|
@ -169,10 +169,10 @@
|
||||||
Var Inst8CountDownForOpenXML = 10
|
Var Inst8CountDownForOpenXML = 10
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
If Inst8CountCurrentMenuEnable = 0 Then
|
If Inst8CountCurrentMenuEnable = 0 Then
|
||||||
|
|
||||||
DEBUGVAR Inst8CountDownOpenXMLFromMenuZero
|
DEBUGVAR Inst8CountDownOpenXMLFromMenuZero
|
||||||
|
|
||||||
If Inst8CountDownOpenXMLFromMenuZero > 0 Then
|
If Inst8CountDownOpenXMLFromMenuZero > 0 Then
|
||||||
|
|
@ -186,7 +186,7 @@
|
||||||
|
|
||||||
If Inst8CountMenuEnable = Inst8CountCurrentMenuEnable Then
|
If Inst8CountMenuEnable = Inst8CountCurrentMenuEnable Then
|
||||||
If Inst8CountCurrentMenuEnable > 0 Then
|
If Inst8CountCurrentMenuEnable > 0 Then
|
||||||
Var Inst8MenuLoaded = "done"
|
Var Inst8MenuLoaded = "done"
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
@ -197,7 +197,7 @@
|
||||||
Open "ROOT/taobin_project/inter/tha/xml/multi/page_catalog_group_forkid.lxml"
|
Open "ROOT/taobin_project/inter/tha/xml/multi/page_catalog_group_forkid.lxml"
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
TimerReset
|
TimerReset
|
||||||
</EventTimeout>
|
</EventTimeout>
|
||||||
|
|
||||||
|
|
@ -206,10 +206,10 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<?hurr
|
<?hurr
|
||||||
#include=menu_new_layout_gen_v2.py
|
#include=menu_new_layout_gen_v2.py
|
||||||
?>
|
?>
|
||||||
<?hurr
|
<?hurr
|
||||||
#include=menu_new_layout_gen.py
|
#include=menu_new_layout_gen.py
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@
|
||||||
</EventOpen>
|
</EventOpen>
|
||||||
|
|
||||||
<EventOnShow>
|
<EventOnShow>
|
||||||
;include="ROOT/taobin_project/inter/tha/xml/multi/menu_catalog_default_init.lxml"
|
;include="ROOT/taobin_project/inter/tha/xml/multi/menu_catalog_default_init.lxml"
|
||||||
Var Menu61Selected = "PressForever"
|
Var Menu61Selected = "PressForever"
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -26,7 +26,7 @@
|
||||||
|
|
||||||
;include="ROOT/taobin_project/inter/tha/xml/multi/tab_menu_show_and_refresh.lxml"
|
;include="ROOT/taobin_project/inter/tha/xml/multi/tab_menu_show_and_refresh.lxml"
|
||||||
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/inter/tha/xml/multi/menu_catalog_new_menu.lxml"
|
;include="ROOT/taobin_project/inter/tha/xml/multi/menu_catalog_new_menu.lxml"
|
||||||
|
|
||||||
SetInstanceIgnoreTouch
|
SetInstanceIgnoreTouch
|
||||||
|
|
@ -47,12 +47,12 @@
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
GetVisible inst_show9
|
GetVisible inst_show9
|
||||||
;DEBUGVAR inst_show9
|
;DEBUGVAR inst_show9
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
If inst_show9 = 1 Then
|
If inst_show9 = 1 Then
|
||||||
InstanceGetString SaveStringInst
|
InstanceGetString SaveStringInst
|
||||||
|
|
@ -61,12 +61,12 @@
|
||||||
GetXMLFileNameCurrentRunning CurrentOpenFile
|
GetXMLFileNameCurrentRunning CurrentOpenFile
|
||||||
Open CurrentOpenFile
|
Open CurrentOpenFile
|
||||||
|
|
||||||
If show_eng = "true" Then
|
If show_eng = "true" Then
|
||||||
InstanceSetString "ShowEng"
|
InstanceSetString "ShowEng"
|
||||||
Else
|
Else
|
||||||
InstanceSetString "ShowThai"
|
InstanceSetString "ShowThai"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
@ -78,12 +78,12 @@
|
||||||
GetXMLFileNameCurrentRunning CurrentOpenFile
|
GetXMLFileNameCurrentRunning CurrentOpenFile
|
||||||
Open CurrentOpenFile
|
Open CurrentOpenFile
|
||||||
|
|
||||||
If show_eng = "true" Then
|
If show_eng = "true" Then
|
||||||
InstanceSetString "ShowEng"
|
InstanceSetString "ShowEng"
|
||||||
Else
|
Else
|
||||||
InstanceSetString "ShowThai"
|
InstanceSetString "ShowThai"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
@ -106,7 +106,7 @@
|
||||||
|
|
||||||
InstanceGetString SaveStringInst
|
InstanceGetString SaveStringInst
|
||||||
If SaveStringInst = "RefreshNow" Then
|
If SaveStringInst = "RefreshNow" Then
|
||||||
|
|
||||||
Else
|
Else
|
||||||
If LanguageShow = "ENG" Then
|
If LanguageShow = "ENG" Then
|
||||||
Var SaveStringInst = "ShowEng"
|
Var SaveStringInst = "ShowEng"
|
||||||
|
|
@ -127,7 +127,7 @@
|
||||||
Var Inst10CountCurrentMenuEnable = 0
|
Var Inst10CountCurrentMenuEnable = 0
|
||||||
GetFrameScrollBlockCount Inst10CountCurrentMenuEnable
|
GetFrameScrollBlockCount Inst10CountCurrentMenuEnable
|
||||||
GetCurrentEnableBlockCount Inst10CountMenuEnable
|
GetCurrentEnableBlockCount Inst10CountMenuEnable
|
||||||
|
|
||||||
;DEBUGVAR Inst10CountMenuEnable
|
;DEBUGVAR Inst10CountMenuEnable
|
||||||
;DEBUGVAR Inst10CountMenuEnablePrev
|
;DEBUGVAR Inst10CountMenuEnablePrev
|
||||||
;DEBUGVAR Inst10CountCurrentMenuEnable
|
;DEBUGVAR Inst10CountCurrentMenuEnable
|
||||||
|
|
@ -145,7 +145,7 @@
|
||||||
Var Inst10CountDownForOpenXML = 10
|
Var Inst10CountDownForOpenXML = 10
|
||||||
Var Inst10CountMenuEnablePrev = CountMenuEnable
|
Var Inst10CountMenuEnablePrev = CountMenuEnable
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
If Inst10CountMenuEnable = Inst10CountCurrentMenuEnable Then
|
If Inst10CountMenuEnable = Inst10CountCurrentMenuEnable Then
|
||||||
|
|
||||||
Else
|
Else
|
||||||
|
|
@ -156,7 +156,7 @@
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
If Inst10CountCurrentMenuEnable = 0 Then
|
If Inst10CountCurrentMenuEnable = 0 Then
|
||||||
|
|
||||||
DEBUGVAR Inst10CountDownOpenXMLFromMenuZero
|
DEBUGVAR Inst10CountDownOpenXMLFromMenuZero
|
||||||
|
|
||||||
If Inst10CountDownOpenXMLFromMenuZero > 0 Then
|
If Inst10CountDownOpenXMLFromMenuZero > 0 Then
|
||||||
|
|
@ -170,7 +170,7 @@
|
||||||
|
|
||||||
If Inst10CountMenuEnable = Inst10CountCurrentMenuEnable Then
|
If Inst10CountMenuEnable = Inst10CountCurrentMenuEnable Then
|
||||||
If Inst10CountCurrentMenuEnable > 0 Then
|
If Inst10CountCurrentMenuEnable > 0 Then
|
||||||
Var Inst10MenuLoaded = "done"
|
Var Inst10MenuLoaded = "done"
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
@ -181,7 +181,7 @@
|
||||||
Open "ROOT/taobin_project/inter/tha/xml/multi/page_catalog_group_pepsi_7up.lxml"
|
Open "ROOT/taobin_project/inter/tha/xml/multi/page_catalog_group_pepsi_7up.lxml"
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
TimerReset
|
TimerReset
|
||||||
</EventTimeout>
|
</EventTimeout>
|
||||||
|
|
|
||||||