Dlete
This commit is contained in:
parent
00bd412393
commit
0e087f5925
121 changed files with 123 additions and 134283 deletions
|
|
@ -1215,7 +1215,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.
|
|
|
@ -24,7 +24,7 @@
|
||||||
|
|
||||||
|
|
||||||
Var ProcessCupDebugText = ""
|
Var ProcessCupDebugText = ""
|
||||||
Var TimeOutSmoothiesProcess = 2
|
Var TimeOutSmoothiesProcess = 1
|
||||||
|
|
||||||
|
|
||||||
</EventOpen>
|
</EventOpen>
|
||||||
|
|
@ -39,17 +39,23 @@
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
If TimeOutSmoothiesProcess = 0 Then
|
If TimeOutSmoothiesProcess = 0 Then
|
||||||
|
Var OverrideVideoThankyou = 1
|
||||||
|
Var IgnoreLidStrawAll = 1
|
||||||
|
|
||||||
Var ModeFreeEnable = 2
|
Var ModeFreeEnable = 2
|
||||||
Var PriceDrink = 0
|
Var PriceDrink = 30
|
||||||
|
Var DiscountDrink = PriceDrink
|
||||||
Var StrawState = "Enable"
|
Var StrawState = "Enable"
|
||||||
Var LidState = "Enable"
|
Var LidState = "Enable"
|
||||||
Var Seeker.get_a_straw = StrawState
|
Var Seeker.get_a_straw = StrawState
|
||||||
Var Seeker.get_a_lid = LidState
|
Var Seeker.get_a_lid = LidState
|
||||||
|
|
||||||
|
Var Seeker.showname = " Smoothie "
|
||||||
|
Var Seeker.PictureDrink = ""
|
||||||
Var Seeker.CollectPointMain = 1
|
Var Seeker.CollectPointMain = 1
|
||||||
|
|
||||||
Open "ROOT/taobin_project/xml/page_payment.xml"
|
Open "ROOT/taobin_project/xml/page_payment.xml"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
EndIf
|
EndIf
|
||||||
|
|
@ -61,4 +67,53 @@
|
||||||
</EventTimeout>
|
</EventTimeout>
|
||||||
|
|
||||||
|
|
||||||
|
<Video>
|
||||||
|
<X> 0 </X>
|
||||||
|
<Y> 380 </Y>
|
||||||
|
<Refresh> "Reload" </Refresh>
|
||||||
|
<Loop> "true" </Loop>
|
||||||
|
<Filename> "ROOT/taobin_project/animation01/TaoBin2_draft02_art41.mp4" </Filename>
|
||||||
|
</Video>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<Text>
|
||||||
|
<X> 0 </X>
|
||||||
|
<Y> 1337 </Y>
|
||||||
|
<Width> 1080 </Width>
|
||||||
|
<Height> 85 </Height>
|
||||||
|
<Align> Center </Align>
|
||||||
|
<Language>
|
||||||
|
<ID> 1201 </ID>
|
||||||
|
</Language>
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 77 </X>
|
||||||
|
<Y> 1531 </Y>
|
||||||
|
<Filename> Var(DirImage + "/bn_main_button.png") </Filename>
|
||||||
|
<FilenamePress> Var(DirImage + "/bp_main_button.png") </FilenamePress>
|
||||||
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var SmoothieProcessState = "press"
|
||||||
|
__CMD "UseArm" "2" "-" "-"
|
||||||
|
Machine InsertCupAndOpen
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Text>
|
||||||
|
<X> 0 </X>
|
||||||
|
<Y> 1571 </Y>
|
||||||
|
<Width> 1080 </Width>
|
||||||
|
<Height> 85 </Height>
|
||||||
|
<Align> Center </Align>
|
||||||
|
<Language>
|
||||||
|
<ID> TextDoorButtonID </ID>
|
||||||
|
</Language>
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1215,7 +1215,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.
|
|
|
@ -315,6 +315,9 @@ Else
|
||||||
Var CountDownShowButton = 35
|
Var CountDownShowButton = 35
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
; Fix part
|
||||||
|
DEBUGVAR taobin_nopro
|
||||||
If taobin_nopro = "true" Then
|
If taobin_nopro = "true" Then
|
||||||
Var MemberButtonFileNameRest = ""
|
Var MemberButtonFileNameRest = ""
|
||||||
Var img_rest_main_page = ""
|
Var img_rest_main_page = ""
|
||||||
|
|
@ -327,9 +330,7 @@ If taobin_nopro = "true" Then
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
; Fix part
|
||||||
|
|
||||||
|
|
||||||
If taobin_notopup = "true" Then
|
If taobin_notopup = "true" Then
|
||||||
GetFileSizeK "taobin_project/video/_main_page_notopup.mp4" MainfileSize
|
GetFileSizeK "taobin_project/video/_main_page_notopup.mp4" MainfileSize
|
||||||
DEBUGVAR MainfileSize
|
DEBUGVAR MainfileSize
|
||||||
|
|
@ -337,3 +338,6 @@ If taobin_notopup = "true" Then
|
||||||
Var VideoMainPage = "ROOT/taobin_project/video/_main_page_notopup.mp4"
|
Var VideoMainPage = "ROOT/taobin_project/video/_main_page_notopup.mp4"
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
DEBUGVAR VideoMainPage
|
||||||
|
|
|
||||||
|
|
@ -1,27 +1,39 @@
|
||||||
|
|
||||||
SAVELOG "None."
|
SAVELOG "None."
|
||||||
|
|
||||||
If SaveTheWorldCount = 2 Then
|
DEBUGVAR OverrideVideoThankyou
|
||||||
Var video_id_to_ran = 3
|
|
||||||
Random2 1 3 video_id_to_ran
|
|
||||||
|
|
||||||
Var video_file_name = "ROOT/taobin_project/video/taobin_save_world" + video_id_to_ran
|
If OverrideVideoThankyou = 1 Then
|
||||||
Var video_file_name = video_file_name + ".mp4"
|
Var OverrideVideoThankyou = 0
|
||||||
Else
|
|
||||||
Var video_id_to_ran = 2
|
Var video_id_to_ran = 2
|
||||||
Random2 1 2 video_id_to_ran
|
Random2 1 2 video_id_to_ran
|
||||||
|
|
||||||
Var video_file_name = "ROOT/taobin_project/video/taobin_thank" + video_id_to_ran
|
Var video_file_name = "ROOT/taobin_project/video/taobin_thank" + video_id_to_ran
|
||||||
Var video_file_name = video_file_name + ".mp4"
|
Var video_file_name = video_file_name + ".mp4"
|
||||||
|
|
||||||
If EventTurnOn = 1 Then
|
Else
|
||||||
GetFileSizeK "taobin_project/video/taobin_thank1_event.mp4" MainfileSize
|
If SaveTheWorldCount = 2 Then
|
||||||
DEBUGVAR MainfileSize
|
Var video_id_to_ran = 3
|
||||||
|
Random2 1 3 video_id_to_ran
|
||||||
|
|
||||||
If MainfileSize = 22 Then
|
Var video_file_name = "ROOT/taobin_project/video/taobin_save_world" + video_id_to_ran
|
||||||
|
Var video_file_name = video_file_name + ".mp4"
|
||||||
|
Else
|
||||||
|
Var video_id_to_ran = 2
|
||||||
|
Random2 1 2 video_id_to_ran
|
||||||
|
|
||||||
Var video_file_name = "ROOT/taobin_project/video/taobin_thank1_event.mp4"
|
Var video_file_name = "ROOT/taobin_project/video/taobin_thank" + video_id_to_ran
|
||||||
|
Var video_file_name = video_file_name + ".mp4"
|
||||||
|
|
||||||
|
If EventTurnOn = 1 Then
|
||||||
|
GetFileSizeK "taobin_project/video/taobin_thank1_event.mp4" MainfileSize
|
||||||
|
DEBUGVAR MainfileSize
|
||||||
|
|
||||||
|
If MainfileSize = 22 Then
|
||||||
|
|
||||||
|
Var video_file_name = "ROOT/taobin_project/video/taobin_thank1_event.mp4"
|
||||||
|
|
||||||
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
total 292416
|
total 292436
|
||||||
-rw-rw---- 1 root sdcard_rw 31311320 2025-03-07 11:32 Taobin_Sleep_Screen.mp4
|
-rw-rw---- 1 root sdcard_rw 31311320 2025-03-07 11:32 Taobin_Sleep_Screen.mp4
|
||||||
-rw-rw---- 1 root sdcard_rw 9461309 2025-03-06 09:35 brewing_adv11.mp4
|
-rw-rw---- 1 root sdcard_rw 9461309 2025-03-06 09:35 brewing_adv11.mp4
|
||||||
-rw-rw---- 1 root sdcard_rw 9461309 2025-03-06 09:35 brewing_adv11_long.mp4
|
-rw-rw---- 1 root sdcard_rw 9461309 2025-03-06 09:35 brewing_adv11_long.mp4
|
||||||
|
|
@ -42,10 +42,10 @@ total 292416
|
||||||
-rw-rw---- 1 root sdcard_rw 10634530 2024-10-29 11:51 main_page_event.mp4
|
-rw-rw---- 1 root sdcard_rw 10634530 2024-10-29 11:51 main_page_event.mp4
|
||||||
-rw-rw---- 1 root sdcard_rw 10065192 2025-02-21 16:58 remove_cup_how_to.mp4
|
-rw-rw---- 1 root sdcard_rw 10065192 2025-02-21 16:58 remove_cup_how_to.mp4
|
||||||
-rw-rw---- 1 root sdcard_rw 7918 2025-04-10 13:07 script1.ev
|
-rw-rw---- 1 root sdcard_rw 7918 2025-04-10 13:07 script1.ev
|
||||||
-rw-rw---- 1 root sdcard_rw 708 2025-03-21 17:56 script2.ev
|
-rw-rw---- 1 root sdcard_rw 1020 2025-04-10 18:50 script2.ev
|
||||||
-rw-rw---- 1 root sdcard_rw 210 2024-11-10 09:20 script3_brew.ev
|
-rw-rw---- 1 root sdcard_rw 210 2024-11-10 09:20 script3_brew.ev
|
||||||
-rw-rw---- 1 root sdcard_rw 11039 2025-03-27 15:59 script3_first_brewing.ev
|
-rw-rw---- 1 root sdcard_rw 11039 2025-03-27 15:59 script3_first_brewing.ev
|
||||||
-rw-rw---- 1 root sdcard_rw 0 2025-04-10 13:07 sync_1.file
|
-rw-rw---- 1 root sdcard_rw 0 2025-04-10 18:50 sync_1.file
|
||||||
-rw-rw---- 1 root sdcard_rw 4806758 2023-09-18 18:44 taobin_save_world1.mp4
|
-rw-rw---- 1 root sdcard_rw 4806758 2023-09-18 18:44 taobin_save_world1.mp4
|
||||||
-rw-rw---- 1 root sdcard_rw 6428830 2023-09-18 18:44 taobin_save_world2.mp4
|
-rw-rw---- 1 root sdcard_rw 6428830 2023-09-18 18:44 taobin_save_world2.mp4
|
||||||
-rw-rw---- 1 root sdcard_rw 4634942 2023-09-18 18:44 taobin_save_world3.mp4
|
-rw-rw---- 1 root sdcard_rw 4634942 2023-09-18 18:44 taobin_save_world3.mp4
|
||||||
|
|
|
||||||
|
|
@ -48,11 +48,15 @@ Else
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
If KingdomThaiTeaPro = 1 Then
|
If KingdomThaiTeaPro = 1 Then
|
||||||
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/promotion_kingdom_thai_tea.xml"
|
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/promotion_kingdom_thai_tea.xml"
|
||||||
Var PromotionState1 = "Enable"
|
Var PromotionState1 = "Enable"
|
||||||
|
|
||||||
|
If PepsiXTaobinPro = 1 Then
|
||||||
|
Var PromotionState2 = "Enable"
|
||||||
|
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/double_promotion_kingdom_thai_tea_and_pepsi_x_taobin.xml"
|
||||||
|
EndIf
|
||||||
|
|
||||||
If MatchaEveryDayPro = 1 Then
|
If MatchaEveryDayPro = 1 Then
|
||||||
Var PromotionState2 = "Enable"
|
Var PromotionState2 = "Enable"
|
||||||
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/double_promotion_kingdom_thai_tea_and_matcha_every_day.xml"
|
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/double_promotion_kingdom_thai_tea_and_matcha_every_day.xml"
|
||||||
|
|
|
||||||
|
|
@ -604,6 +604,17 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If IgnoreLidStrawAll = 1 Then
|
||||||
|
Var IgnoreLidStrawAll = 0
|
||||||
|
Var bg_lidProblem_ST = "Invisible"
|
||||||
|
Var GetLidButtonState = "Invisible"
|
||||||
|
|
||||||
|
Var bg_strawProblem_ST = "Invisible"
|
||||||
|
Var EnableGetMoreStrawFileName = "Invisible"
|
||||||
|
Var EnableTopupCreditBetweenBrew = "Invisible"
|
||||||
|
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
__CMD "SetErrorCodeHandleByXML" 1028 "-" "-"
|
__CMD "SetErrorCodeHandleByXML" 1028 "-" "-"
|
||||||
|
|
|
||||||
|
|
@ -343,7 +343,8 @@
|
||||||
|
|
||||||
Var RoadShowMarketCode = ""
|
Var RoadShowMarketCode = ""
|
||||||
Var Seeker.VendingCode = RoadShowMarketCode
|
Var Seeker.VendingCode = RoadShowMarketCode
|
||||||
DEBUGVAR RoadShowMarketCode
|
|
||||||
|
DEBUGVAR PriceDrink
|
||||||
|
|
||||||
Var Seeker.IntVendingCampaign = PriceDrink
|
Var Seeker.IntVendingCampaign = PriceDrink
|
||||||
Var Seeker.FreeVendingCampaign = 1
|
Var Seeker.FreeVendingCampaign = 1
|
||||||
|
|
|
||||||
|
|
@ -13,6 +13,8 @@
|
||||||
EndIf
|
EndIf
|
||||||
Machine WakeUp
|
Machine WakeUp
|
||||||
|
|
||||||
|
Var Seeker.orderFromNewTopping = 1
|
||||||
|
|
||||||
Var TextSelfTestCntColor = "0x746253"
|
Var TextSelfTestCntColor = "0x746253"
|
||||||
Var UserSeletedSugar = 0
|
Var UserSeletedSugar = 0
|
||||||
|
|
||||||
|
|
@ -2036,8 +2038,11 @@
|
||||||
Var text_price_6 = ""
|
Var text_price_6 = ""
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
If SpecialMix = "Enable" Then
|
||||||
Var SpecialMix = "Enable"
|
|
||||||
|
Else
|
||||||
|
Var SpecialMix = "Invisible"
|
||||||
|
EndIf
|
||||||
|
|
||||||
If showOreoAddEnable = "Enable" Then
|
If showOreoAddEnable = "Enable" Then
|
||||||
Var showOreoAddEnable = "Disable"
|
Var showOreoAddEnable = "Disable"
|
||||||
|
|
|
||||||
|
|
@ -1,48 +0,0 @@
|
||||||
<?hurr
|
|
||||||
#include=menu_head.py
|
|
||||||
echo param
|
|
||||||
?>
|
|
||||||
|
|
||||||
<Popup>
|
|
||||||
<Cache> "Enable" </Cache>
|
|
||||||
<Width> 1080 </Width>
|
|
||||||
<Height> 1920 </Height>
|
|
||||||
;<Background> "0xeae6e1" </Background>
|
|
||||||
<Volume> SoundVolume </Volume>
|
|
||||||
<EventOpen>
|
|
||||||
; On open
|
|
||||||
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
|
|
||||||
|
|
||||||
If AppFastEnable = "true" Then
|
|
||||||
Var Menu11Selected = "PressForever"
|
|
||||||
Var Menu7Selected = "Invisible"
|
|
||||||
Else
|
|
||||||
Var Menu11Selected = "Invisible"
|
|
||||||
Var Menu7Selected = "PressForever"
|
|
||||||
EndIf
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
SAVELOG PreviseXMLFileName2
|
|
||||||
|
|
||||||
Var Timeout = 0
|
|
||||||
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
|
|
||||||
</EventOpen>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/xml/v3/menu_catalog_new.xml"
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<?hurr
|
|
||||||
#include=menu_new_layout_gen_v3.py
|
|
||||||
?>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</Popup>
|
|
||||||
|
|
@ -1,660 +0,0 @@
|
||||||
|
|
||||||
|
|
||||||
<Popup>
|
|
||||||
<Cache> "Enable" </Cache>
|
|
||||||
<Width> 1080 </Width>
|
|
||||||
<Height> 1920 </Height>
|
|
||||||
;<Background> "0xeae6e1" </Background>
|
|
||||||
<Volume> SoundVolume </Volume>
|
|
||||||
<EventOpen>
|
|
||||||
; On open
|
|
||||||
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
|
|
||||||
|
|
||||||
If AppFastEnable = "true" Then
|
|
||||||
Var Menu11Selected = "PressForever"
|
|
||||||
Var Menu7Selected = "Invisible"
|
|
||||||
Else
|
|
||||||
Var Menu11Selected = "Invisible"
|
|
||||||
Var Menu7Selected = "PressForever"
|
|
||||||
EndIf
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
SAVELOG PreviseXMLFileName2
|
|
||||||
|
|
||||||
Var Timeout = 0
|
|
||||||
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
|
|
||||||
</EventOpen>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/xml/v3/menu_catalog_new.xml"
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<ScrollableCatalog>
|
|
||||||
<X> 0 </X>
|
|
||||||
<Y> 497 </Y>
|
|
||||||
<Width> 1080 </Width>
|
|
||||||
<Height> 1423 </Height>
|
|
||||||
<Configuration>
|
|
||||||
<MenuNameTextConfiguration>
|
|
||||||
<Font> KanitMediumTTF </Font>
|
|
||||||
<Color> 0x322B26 </Color>
|
|
||||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
|
||||||
<AutoResizeConfiguration>
|
|
||||||
<Min> 16 </Min>
|
|
||||||
<Max> 22 </Max>
|
|
||||||
<AdjustStep> 1 </AdjustStep>
|
|
||||||
</AutoResizeConfiguration>
|
|
||||||
</MenuNameTextConfiguration>
|
|
||||||
<MenuDescriptionTextConfiguration>
|
|
||||||
<Font> KanitMediumTTF </Font>
|
|
||||||
<Color> 0x322B26 </Color>
|
|
||||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
|
||||||
<AutoResizeConfiguration>
|
|
||||||
<Min> 10 </Min>
|
|
||||||
<Max> 14 </Max>
|
|
||||||
<AdjustStep> 1 </AdjustStep>
|
|
||||||
</AutoResizeConfiguration>
|
|
||||||
</MenuDescriptionTextConfiguration>
|
|
||||||
<MenuPriceTextConfiguration>
|
|
||||||
<Font> KanitRegularTTF </Font>
|
|
||||||
<Color> 0x6F5F51 </Color>
|
|
||||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
|
||||||
<AutoResizeConfiguration>
|
|
||||||
<Min> 4 </Min>
|
|
||||||
<Max> 20 </Max>
|
|
||||||
<AdjustStep> 1 </AdjustStep>
|
|
||||||
</AutoResizeConfiguration>
|
|
||||||
</MenuPriceTextConfiguration>
|
|
||||||
<MenuHotPriceLabel>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "Hot"
|
|
||||||
Else
|
|
||||||
Var return = "ร้อน"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</MenuHotPriceLabel>
|
|
||||||
<MenuIcePriceLabel>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "Ice"
|
|
||||||
Else
|
|
||||||
Var return = "เย็น"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</MenuIcePriceLabel>
|
|
||||||
<MenuBlendPriceLabel>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return ="Blend"
|
|
||||||
Else
|
|
||||||
Var return = "ปั่น"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</MenuBlendPriceLabel>
|
|
||||||
<MenuUnavailableLabel>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return ="UNAVAILABLE"
|
|
||||||
Else
|
|
||||||
Var return = "หมด"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</MenuUnavailableLabel>
|
|
||||||
</Configuration>
|
|
||||||
<Menus>
|
|
||||||
;banners
|
|
||||||
; menu_new_list 5
|
|
||||||
; ==================> Len = 20
|
|
||||||
; - 12-04-02-1018 -
|
|
||||||
<Menu>
|
|
||||||
<State> Flag( 12-04-02-1018.Button,$Sum1204021018) </State>
|
|
||||||
<IdleImage> "ROOT/taobin_project/image/page_drink_n//bn_protein_original_BDMS.png" </IdleImage>
|
|
||||||
<PressImage> "ROOT/taobin_project/image/page_drink_press_n//bn_protein_original_BDMS.png" </PressImage>
|
|
||||||
<DisableImage> "ROOT/taobin_project/image/page_drink_disable_n2//bn_protein_original_BDMS.png" </DisableImage>
|
|
||||||
<Name>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "App Fast Original"
|
|
||||||
Else
|
|
||||||
Var return = "แอพ ฟาสท์ \nวานิลลา (Original)"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</Name>
|
|
||||||
<Description>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "Plant-Based Protein with \nEssential nutrients"
|
|
||||||
Else
|
|
||||||
Var return = "โปรตีนจากพืชคุณภาพสูง \nพร้อมสารอาหารที่มีประโยชน์"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</Description>
|
|
||||||
<HotState> "Disable2" </HotState>
|
|
||||||
<IceState> $12-04-02-1018.Button </IceState>
|
|
||||||
<BlendState> "Disable2" </BlendState>
|
|
||||||
<HotPrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </HotPrice>
|
|
||||||
<IcePrice> StringFmt( $12-04-02-1018.Price , DisplayFormat, PreScaleConvertShow) </IcePrice>
|
|
||||||
<BlendPrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </BlendPrice>
|
|
||||||
<IceProcessingState>
|
|
||||||
eval(
|
|
||||||
If ICE_PROCESS_STATUS = 2 Then
|
|
||||||
If $Sum510201003951020200395102030039 = "Disable" Then
|
|
||||||
Var ice_tab_process_show = "Disable"
|
|
||||||
Else
|
|
||||||
Var ice_tab_process_show = "Enable"
|
|
||||||
EndIf
|
|
||||||
Else
|
|
||||||
Var ice_tab_process_show = "Invisible"
|
|
||||||
EndIf
|
|
||||||
Var return = ice_tab_process_show
|
|
||||||
)
|
|
||||||
</IceProcessingState>
|
|
||||||
<IceProcessingImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </IceProcessingImage>
|
|
||||||
<IceProcessingDisableImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </IceProcessingDisableImage>
|
|
||||||
<EventOnClick>
|
|
||||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_protein_original_BDMS.png"
|
|
||||||
Var OpenFromXML = CurrentXMLFileName2
|
|
||||||
Var PriceD1 = $##-##-##-####.Price
|
|
||||||
Var PriceD2 = $12-04-02-1018.Price
|
|
||||||
Var PriceD3 = $##-##-##-####.Price
|
|
||||||
Var PD_CODE1 = "##-##-##-####"
|
|
||||||
Var PD_CODE2 = "12-04-02-1018"
|
|
||||||
Var PD_CODE3 = "##-##-##-####"
|
|
||||||
Var PD_STAGE_1 = "Disable2"
|
|
||||||
Var PD_STAGE_2 = $12-04-02-1018.Button
|
|
||||||
Var PD_STAGE_3 = "Disable2"
|
|
||||||
Var OverlayMenuFilter !assigned xmlpro( 12-04-02-1018, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
|
||||||
DEBUGVAR OverlayMenuFilter
|
|
||||||
Var SelectCountDrinkType = 0
|
|
||||||
Var DefaultDrinkType = 0
|
|
||||||
If PD_STAGE_1 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 1
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_2 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 2
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_3 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 3
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_2 = "Enable" Then
|
|
||||||
Topping "Load" "12-04-02-1018"
|
|
||||||
Else
|
|
||||||
If PD_STAGE_1 = "Enable" Then
|
|
||||||
Topping "Load" "-"
|
|
||||||
Else
|
|
||||||
Topping "Load" "-"
|
|
||||||
EndIf
|
|
||||||
EndIf
|
|
||||||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
|
||||||
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
|
||||||
Var menu_name_thai_hot = $##-##-##-####.Name
|
|
||||||
Var menu_desc_thai_hot = $##-##-##-####.description
|
|
||||||
|
|
||||||
Var menu_name_eng_cold = $12-04-02-1018.NameE
|
|
||||||
Var menu_desc_eng_cold = $12-04-02-1018.descriptionE
|
|
||||||
Var menu_name_thai_cold = $12-04-02-1018.Name
|
|
||||||
Var menu_desc_thai_cold = $12-04-02-1018.description
|
|
||||||
|
|
||||||
Var menu_name_eng_blender = $##-##-##-####.NameE
|
|
||||||
Var menu_desc_eng_blender = $##-##-##-####.descriptionE
|
|
||||||
Var menu_name_thai_blender = $##-##-##-####.Name
|
|
||||||
Var menu_desc_thai_blender = $##-##-##-####.description
|
|
||||||
|
|
||||||
DEBUGVAR PD_STAGE_1
|
|
||||||
DEBUGVAR PD_STAGE_2
|
|
||||||
DEBUGVAR PD_STAGE_3
|
|
||||||
Var SelectDrinkType = 0
|
|
||||||
|
|
||||||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
|
||||||
</EventOnClick>
|
|
||||||
</Menu>
|
|
||||||
|
|
||||||
; ==================> Len = 20
|
|
||||||
; - 12-04-02-1019 -
|
|
||||||
<Menu>
|
|
||||||
<State> Flag( 12-04-02-1019.Button,$Sum1204021019) </State>
|
|
||||||
<IdleImage> "ROOT/taobin_project/image/page_drink_n//bn_protein_espresso_BDMS.png" </IdleImage>
|
|
||||||
<PressImage> "ROOT/taobin_project/image/page_drink_press_n//bn_protein_espresso_BDMS.png" </PressImage>
|
|
||||||
<DisableImage> "ROOT/taobin_project/image/page_drink_disable_n2//bn_protein_espresso_BDMS.png" </DisableImage>
|
|
||||||
<Name>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "App Fast Espresso"
|
|
||||||
Else
|
|
||||||
Var return = "แอพ ฟาสท์ กาแฟ"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</Name>
|
|
||||||
<Description>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "Plant-Based Protein with \nEssential nutrients"
|
|
||||||
Else
|
|
||||||
Var return = "โปรตีนจากพืชคุณภาพสูง \nพร้อมสารอาหารที่มีประโยชน์"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</Description>
|
|
||||||
<HotState> "Disable2" </HotState>
|
|
||||||
<IceState> $12-04-02-1019.Button </IceState>
|
|
||||||
<BlendState> "Disable2" </BlendState>
|
|
||||||
<HotPrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </HotPrice>
|
|
||||||
<IcePrice> StringFmt( $12-04-02-1019.Price , DisplayFormat, PreScaleConvertShow) </IcePrice>
|
|
||||||
<BlendPrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </BlendPrice>
|
|
||||||
<IceProcessingState>
|
|
||||||
eval(
|
|
||||||
If ICE_PROCESS_STATUS = 2 Then
|
|
||||||
If $Sum510201003951020200395102030039 = "Disable" Then
|
|
||||||
Var ice_tab_process_show = "Disable"
|
|
||||||
Else
|
|
||||||
Var ice_tab_process_show = "Enable"
|
|
||||||
EndIf
|
|
||||||
Else
|
|
||||||
Var ice_tab_process_show = "Invisible"
|
|
||||||
EndIf
|
|
||||||
Var return = ice_tab_process_show
|
|
||||||
)
|
|
||||||
</IceProcessingState>
|
|
||||||
<IceProcessingImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </IceProcessingImage>
|
|
||||||
<IceProcessingDisableImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </IceProcessingDisableImage>
|
|
||||||
<EventOnClick>
|
|
||||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_protein_espresso_BDMS.png"
|
|
||||||
Var OpenFromXML = CurrentXMLFileName2
|
|
||||||
Var PriceD1 = $##-##-##-####.Price
|
|
||||||
Var PriceD2 = $12-04-02-1019.Price
|
|
||||||
Var PriceD3 = $##-##-##-####.Price
|
|
||||||
Var PD_CODE1 = "##-##-##-####"
|
|
||||||
Var PD_CODE2 = "12-04-02-1019"
|
|
||||||
Var PD_CODE3 = "##-##-##-####"
|
|
||||||
Var PD_STAGE_1 = "Disable2"
|
|
||||||
Var PD_STAGE_2 = $12-04-02-1019.Button
|
|
||||||
Var PD_STAGE_3 = "Disable2"
|
|
||||||
Var OverlayMenuFilter !assigned xmlpro( 12-04-02-1019, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
|
||||||
DEBUGVAR OverlayMenuFilter
|
|
||||||
Var SelectCountDrinkType = 0
|
|
||||||
Var DefaultDrinkType = 0
|
|
||||||
If PD_STAGE_1 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 1
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_2 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 2
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_3 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 3
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_2 = "Enable" Then
|
|
||||||
Topping "Load" "12-04-02-1019"
|
|
||||||
Else
|
|
||||||
If PD_STAGE_1 = "Enable" Then
|
|
||||||
Topping "Load" "-"
|
|
||||||
Else
|
|
||||||
Topping "Load" "-"
|
|
||||||
EndIf
|
|
||||||
EndIf
|
|
||||||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
|
||||||
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
|
||||||
Var menu_name_thai_hot = $##-##-##-####.Name
|
|
||||||
Var menu_desc_thai_hot = $##-##-##-####.description
|
|
||||||
|
|
||||||
Var menu_name_eng_cold = $12-04-02-1019.NameE
|
|
||||||
Var menu_desc_eng_cold = $12-04-02-1019.descriptionE
|
|
||||||
Var menu_name_thai_cold = $12-04-02-1019.Name
|
|
||||||
Var menu_desc_thai_cold = $12-04-02-1019.description
|
|
||||||
|
|
||||||
Var menu_name_eng_blender = $##-##-##-####.NameE
|
|
||||||
Var menu_desc_eng_blender = $##-##-##-####.descriptionE
|
|
||||||
Var menu_name_thai_blender = $##-##-##-####.Name
|
|
||||||
Var menu_desc_thai_blender = $##-##-##-####.description
|
|
||||||
|
|
||||||
DEBUGVAR PD_STAGE_1
|
|
||||||
DEBUGVAR PD_STAGE_2
|
|
||||||
DEBUGVAR PD_STAGE_3
|
|
||||||
Var SelectDrinkType = 0
|
|
||||||
|
|
||||||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
|
||||||
</EventOnClick>
|
|
||||||
</Menu>
|
|
||||||
|
|
||||||
; ==================> Len = 20
|
|
||||||
; - 12-04-02-1020 -
|
|
||||||
<Menu>
|
|
||||||
<State> Flag( 12-04-02-1020.Button,$Sum1204021020) </State>
|
|
||||||
<IdleImage> "ROOT/taobin_project/image/page_drink_n//bn_protein_Chocolate_BDMS.png" </IdleImage>
|
|
||||||
<PressImage> "ROOT/taobin_project/image/page_drink_press_n//bn_protein_Chocolate_BDMS.png" </PressImage>
|
|
||||||
<DisableImage> "ROOT/taobin_project/image/page_drink_disable_n2//bn_protein_Chocolate_BDMS.png" </DisableImage>
|
|
||||||
<Name>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "App Fast \nChocolate"
|
|
||||||
Else
|
|
||||||
Var return = "แอพ ฟาสท์ ช็อกโก"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</Name>
|
|
||||||
<Description>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "Plant-Based Protein with \nEssential nutrients"
|
|
||||||
Else
|
|
||||||
Var return = "โปรตีนจากพืชคุณภาพสูง \nพร้อมสารอาหารที่มีประโยชน์"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</Description>
|
|
||||||
<HotState> "Disable2" </HotState>
|
|
||||||
<IceState> $12-04-02-1020.Button </IceState>
|
|
||||||
<BlendState> "Disable2" </BlendState>
|
|
||||||
<HotPrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </HotPrice>
|
|
||||||
<IcePrice> StringFmt( $12-04-02-1020.Price , DisplayFormat, PreScaleConvertShow) </IcePrice>
|
|
||||||
<BlendPrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </BlendPrice>
|
|
||||||
<IceProcessingState>
|
|
||||||
eval(
|
|
||||||
If ICE_PROCESS_STATUS = 2 Then
|
|
||||||
If $Sum510201003951020200395102030039 = "Disable" Then
|
|
||||||
Var ice_tab_process_show = "Disable"
|
|
||||||
Else
|
|
||||||
Var ice_tab_process_show = "Enable"
|
|
||||||
EndIf
|
|
||||||
Else
|
|
||||||
Var ice_tab_process_show = "Invisible"
|
|
||||||
EndIf
|
|
||||||
Var return = ice_tab_process_show
|
|
||||||
)
|
|
||||||
</IceProcessingState>
|
|
||||||
<IceProcessingImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </IceProcessingImage>
|
|
||||||
<IceProcessingDisableImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </IceProcessingDisableImage>
|
|
||||||
<EventOnClick>
|
|
||||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_protein_Chocolate_BDMS.png"
|
|
||||||
Var OpenFromXML = CurrentXMLFileName2
|
|
||||||
Var PriceD1 = $##-##-##-####.Price
|
|
||||||
Var PriceD2 = $12-04-02-1020.Price
|
|
||||||
Var PriceD3 = $##-##-##-####.Price
|
|
||||||
Var PD_CODE1 = "##-##-##-####"
|
|
||||||
Var PD_CODE2 = "12-04-02-1020"
|
|
||||||
Var PD_CODE3 = "##-##-##-####"
|
|
||||||
Var PD_STAGE_1 = "Disable2"
|
|
||||||
Var PD_STAGE_2 = $12-04-02-1020.Button
|
|
||||||
Var PD_STAGE_3 = "Disable2"
|
|
||||||
Var OverlayMenuFilter !assigned xmlpro( 12-04-02-1020, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
|
||||||
DEBUGVAR OverlayMenuFilter
|
|
||||||
Var SelectCountDrinkType = 0
|
|
||||||
Var DefaultDrinkType = 0
|
|
||||||
If PD_STAGE_1 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 1
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_2 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 2
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_3 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 3
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_2 = "Enable" Then
|
|
||||||
Topping "Load" "12-04-02-1020"
|
|
||||||
Else
|
|
||||||
If PD_STAGE_1 = "Enable" Then
|
|
||||||
Topping "Load" "-"
|
|
||||||
Else
|
|
||||||
Topping "Load" "-"
|
|
||||||
EndIf
|
|
||||||
EndIf
|
|
||||||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
|
||||||
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
|
||||||
Var menu_name_thai_hot = $##-##-##-####.Name
|
|
||||||
Var menu_desc_thai_hot = $##-##-##-####.description
|
|
||||||
|
|
||||||
Var menu_name_eng_cold = $12-04-02-1020.NameE
|
|
||||||
Var menu_desc_eng_cold = $12-04-02-1020.descriptionE
|
|
||||||
Var menu_name_thai_cold = $12-04-02-1020.Name
|
|
||||||
Var menu_desc_thai_cold = $12-04-02-1020.description
|
|
||||||
|
|
||||||
Var menu_name_eng_blender = $##-##-##-####.NameE
|
|
||||||
Var menu_desc_eng_blender = $##-##-##-####.descriptionE
|
|
||||||
Var menu_name_thai_blender = $##-##-##-####.Name
|
|
||||||
Var menu_desc_thai_blender = $##-##-##-####.description
|
|
||||||
|
|
||||||
DEBUGVAR PD_STAGE_1
|
|
||||||
DEBUGVAR PD_STAGE_2
|
|
||||||
DEBUGVAR PD_STAGE_3
|
|
||||||
Var SelectDrinkType = 0
|
|
||||||
|
|
||||||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
|
||||||
</EventOnClick>
|
|
||||||
</Menu>
|
|
||||||
|
|
||||||
; ==================> Len = 20
|
|
||||||
; - 12-04-02-1021 -
|
|
||||||
<Menu>
|
|
||||||
<State> Flag( 12-04-02-1021.Button,$Sum1204021021) </State>
|
|
||||||
<IdleImage> "ROOT/taobin_project/image/page_drink_n//bn_protein_Thaitea_BDMS.png" </IdleImage>
|
|
||||||
<PressImage> "ROOT/taobin_project/image/page_drink_press_n//bn_protein_Thaitea_BDMS.png" </PressImage>
|
|
||||||
<DisableImage> "ROOT/taobin_project/image/page_drink_disable_n2//bn_protein_Thaitea_BDMS.png" </DisableImage>
|
|
||||||
<Name>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "App Fast \nThai Tea"
|
|
||||||
Else
|
|
||||||
Var return = "แอพ ฟาสท์ ชาไทย"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</Name>
|
|
||||||
<Description>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "Plant-Based Protein with \nEssential nutrients"
|
|
||||||
Else
|
|
||||||
Var return = "โปรตีนจากพืชคุณภาพสูง \nพร้อมสารอาหารที่มีประโยชน์"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</Description>
|
|
||||||
<HotState> "Disable2" </HotState>
|
|
||||||
<IceState> $12-04-02-1021.Button </IceState>
|
|
||||||
<BlendState> "Disable2" </BlendState>
|
|
||||||
<HotPrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </HotPrice>
|
|
||||||
<IcePrice> StringFmt( $12-04-02-1021.Price , DisplayFormat, PreScaleConvertShow) </IcePrice>
|
|
||||||
<BlendPrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </BlendPrice>
|
|
||||||
<IceProcessingState>
|
|
||||||
eval(
|
|
||||||
If ICE_PROCESS_STATUS = 2 Then
|
|
||||||
If $Sum510201003951020200395102030039 = "Disable" Then
|
|
||||||
Var ice_tab_process_show = "Disable"
|
|
||||||
Else
|
|
||||||
Var ice_tab_process_show = "Enable"
|
|
||||||
EndIf
|
|
||||||
Else
|
|
||||||
Var ice_tab_process_show = "Invisible"
|
|
||||||
EndIf
|
|
||||||
Var return = ice_tab_process_show
|
|
||||||
)
|
|
||||||
</IceProcessingState>
|
|
||||||
<IceProcessingImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </IceProcessingImage>
|
|
||||||
<IceProcessingDisableImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </IceProcessingDisableImage>
|
|
||||||
<EventOnClick>
|
|
||||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_protein_Thaitea_BDMS.png"
|
|
||||||
Var OpenFromXML = CurrentXMLFileName2
|
|
||||||
Var PriceD1 = $##-##-##-####.Price
|
|
||||||
Var PriceD2 = $12-04-02-1021.Price
|
|
||||||
Var PriceD3 = $##-##-##-####.Price
|
|
||||||
Var PD_CODE1 = "##-##-##-####"
|
|
||||||
Var PD_CODE2 = "12-04-02-1021"
|
|
||||||
Var PD_CODE3 = "##-##-##-####"
|
|
||||||
Var PD_STAGE_1 = "Disable2"
|
|
||||||
Var PD_STAGE_2 = $12-04-02-1021.Button
|
|
||||||
Var PD_STAGE_3 = "Disable2"
|
|
||||||
Var OverlayMenuFilter !assigned xmlpro( 12-04-02-1021, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
|
||||||
DEBUGVAR OverlayMenuFilter
|
|
||||||
Var SelectCountDrinkType = 0
|
|
||||||
Var DefaultDrinkType = 0
|
|
||||||
If PD_STAGE_1 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 1
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_2 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 2
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_3 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 3
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_2 = "Enable" Then
|
|
||||||
Topping "Load" "12-04-02-1021"
|
|
||||||
Else
|
|
||||||
If PD_STAGE_1 = "Enable" Then
|
|
||||||
Topping "Load" "-"
|
|
||||||
Else
|
|
||||||
Topping "Load" "-"
|
|
||||||
EndIf
|
|
||||||
EndIf
|
|
||||||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
|
||||||
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
|
||||||
Var menu_name_thai_hot = $##-##-##-####.Name
|
|
||||||
Var menu_desc_thai_hot = $##-##-##-####.description
|
|
||||||
|
|
||||||
Var menu_name_eng_cold = $12-04-02-1021.NameE
|
|
||||||
Var menu_desc_eng_cold = $12-04-02-1021.descriptionE
|
|
||||||
Var menu_name_thai_cold = $12-04-02-1021.Name
|
|
||||||
Var menu_desc_thai_cold = $12-04-02-1021.description
|
|
||||||
|
|
||||||
Var menu_name_eng_blender = $##-##-##-####.NameE
|
|
||||||
Var menu_desc_eng_blender = $##-##-##-####.descriptionE
|
|
||||||
Var menu_name_thai_blender = $##-##-##-####.Name
|
|
||||||
Var menu_desc_thai_blender = $##-##-##-####.description
|
|
||||||
|
|
||||||
DEBUGVAR PD_STAGE_1
|
|
||||||
DEBUGVAR PD_STAGE_2
|
|
||||||
DEBUGVAR PD_STAGE_3
|
|
||||||
Var SelectDrinkType = 0
|
|
||||||
|
|
||||||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
|
||||||
</EventOnClick>
|
|
||||||
</Menu>
|
|
||||||
|
|
||||||
; ==================> Len = 20
|
|
||||||
; - 12-04-02-1022 -
|
|
||||||
<Menu>
|
|
||||||
<State> Flag( 12-04-02-1022.Button,$Sum1204021022) </State>
|
|
||||||
<IdleImage> "ROOT/taobin_project/image/page_drink_n//bn_protein_Matcha_BDMS.png" </IdleImage>
|
|
||||||
<PressImage> "ROOT/taobin_project/image/page_drink_press_n//bn_protein_Matcha_BDMS.png" </PressImage>
|
|
||||||
<DisableImage> "ROOT/taobin_project/image/page_drink_disable_n2//bn_protein_Matcha_BDMS.png" </DisableImage>
|
|
||||||
<Name>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "App Fast \nMatcha"
|
|
||||||
Else
|
|
||||||
Var return = "แอพ ฟาสท์ ชาเขียว"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</Name>
|
|
||||||
<Description>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "Plant-Based Protein with \nEssential nutrients"
|
|
||||||
Else
|
|
||||||
Var return = "โปรตีนจากพืชคุณภาพสูง \nพร้อมสารอาหารที่มีประโยชน์"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</Description>
|
|
||||||
<HotState> "Disable2" </HotState>
|
|
||||||
<IceState> $12-04-02-1022.Button </IceState>
|
|
||||||
<BlendState> "Disable2" </BlendState>
|
|
||||||
<HotPrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </HotPrice>
|
|
||||||
<IcePrice> StringFmt( $12-04-02-1022.Price , DisplayFormat, PreScaleConvertShow) </IcePrice>
|
|
||||||
<BlendPrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </BlendPrice>
|
|
||||||
<IceProcessingState>
|
|
||||||
eval(
|
|
||||||
If ICE_PROCESS_STATUS = 2 Then
|
|
||||||
If $Sum510201003951020200395102030039 = "Disable" Then
|
|
||||||
Var ice_tab_process_show = "Disable"
|
|
||||||
Else
|
|
||||||
Var ice_tab_process_show = "Enable"
|
|
||||||
EndIf
|
|
||||||
Else
|
|
||||||
Var ice_tab_process_show = "Invisible"
|
|
||||||
EndIf
|
|
||||||
Var return = ice_tab_process_show
|
|
||||||
)
|
|
||||||
</IceProcessingState>
|
|
||||||
<IceProcessingImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </IceProcessingImage>
|
|
||||||
<IceProcessingDisableImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </IceProcessingDisableImage>
|
|
||||||
<EventOnClick>
|
|
||||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_protein_Matcha_BDMS.png"
|
|
||||||
Var OpenFromXML = CurrentXMLFileName2
|
|
||||||
Var PriceD1 = $##-##-##-####.Price
|
|
||||||
Var PriceD2 = $12-04-02-1022.Price
|
|
||||||
Var PriceD3 = $##-##-##-####.Price
|
|
||||||
Var PD_CODE1 = "##-##-##-####"
|
|
||||||
Var PD_CODE2 = "12-04-02-1022"
|
|
||||||
Var PD_CODE3 = "##-##-##-####"
|
|
||||||
Var PD_STAGE_1 = "Disable2"
|
|
||||||
Var PD_STAGE_2 = $12-04-02-1022.Button
|
|
||||||
Var PD_STAGE_3 = "Disable2"
|
|
||||||
Var OverlayMenuFilter !assigned xmlpro( 12-04-02-1022, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
|
||||||
DEBUGVAR OverlayMenuFilter
|
|
||||||
Var SelectCountDrinkType = 0
|
|
||||||
Var DefaultDrinkType = 0
|
|
||||||
If PD_STAGE_1 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 1
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_2 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 2
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_3 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 3
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_2 = "Enable" Then
|
|
||||||
Topping "Load" "12-04-02-1022"
|
|
||||||
Else
|
|
||||||
If PD_STAGE_1 = "Enable" Then
|
|
||||||
Topping "Load" "-"
|
|
||||||
Else
|
|
||||||
Topping "Load" "-"
|
|
||||||
EndIf
|
|
||||||
EndIf
|
|
||||||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
|
||||||
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
|
||||||
Var menu_name_thai_hot = $##-##-##-####.Name
|
|
||||||
Var menu_desc_thai_hot = $##-##-##-####.description
|
|
||||||
|
|
||||||
Var menu_name_eng_cold = $12-04-02-1022.NameE
|
|
||||||
Var menu_desc_eng_cold = $12-04-02-1022.descriptionE
|
|
||||||
Var menu_name_thai_cold = $12-04-02-1022.Name
|
|
||||||
Var menu_desc_thai_cold = $12-04-02-1022.description
|
|
||||||
|
|
||||||
Var menu_name_eng_blender = $##-##-##-####.NameE
|
|
||||||
Var menu_desc_eng_blender = $##-##-##-####.descriptionE
|
|
||||||
Var menu_name_thai_blender = $##-##-##-####.Name
|
|
||||||
Var menu_desc_thai_blender = $##-##-##-####.description
|
|
||||||
|
|
||||||
DEBUGVAR PD_STAGE_1
|
|
||||||
DEBUGVAR PD_STAGE_2
|
|
||||||
DEBUGVAR PD_STAGE_3
|
|
||||||
Var SelectDrinkType = 0
|
|
||||||
|
|
||||||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
|
||||||
</EventOnClick>
|
|
||||||
</Menu>
|
|
||||||
|
|
||||||
</ScrollableCatalog>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</Popup>
|
|
||||||
|
|
@ -1,38 +0,0 @@
|
||||||
<?hurr
|
|
||||||
#include=menu_head.py
|
|
||||||
?>
|
|
||||||
|
|
||||||
<Popup>
|
|
||||||
<Cache> "Enable" </Cache>
|
|
||||||
<Width> 1080 </Width>
|
|
||||||
<Height> 1920 </Height>
|
|
||||||
;<Background> "0xeae6e1" </Background>
|
|
||||||
<Volume> SoundVolume </Volume>
|
|
||||||
<EventOpen>
|
|
||||||
; On open
|
|
||||||
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
|
|
||||||
Var Menu8Selected = "PressForever"
|
|
||||||
|
|
||||||
|
|
||||||
SAVELOG PreviseXMLFileName2
|
|
||||||
|
|
||||||
Var Timeout = 0
|
|
||||||
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
|
|
||||||
</EventOpen>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/xml/v3/menu_catalog_new.xml"
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<?hurr
|
|
||||||
#include=menu_new_layout_gen_v3.py
|
|
||||||
?>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</Popup>
|
|
||||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,39 +0,0 @@
|
||||||
<?hurr
|
|
||||||
#include=menu_head.py
|
|
||||||
?>
|
|
||||||
|
|
||||||
<Popup>
|
|
||||||
<Cache> "Enable" </Cache>
|
|
||||||
<Width> 1080 </Width>
|
|
||||||
<Height> 1920 </Height>
|
|
||||||
;<Background> "0xeae6e1" </Background>
|
|
||||||
<Volume> SoundVolume </Volume>
|
|
||||||
<EventOpen>
|
|
||||||
; On open
|
|
||||||
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
|
|
||||||
Var Menu2Selected = "PressForever"
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
SAVELOG PreviseXMLFileName2
|
|
||||||
|
|
||||||
Var Timeout = 0
|
|
||||||
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
|
|
||||||
</EventOpen>
|
|
||||||
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/xml/v3/menu_catalog_new.xml"
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<?hurr
|
|
||||||
#include=menu_new_layout_gen_v3.py
|
|
||||||
?>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</Popup>
|
|
||||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,33 +0,0 @@
|
||||||
<?hurr
|
|
||||||
#include=menu_head.py
|
|
||||||
?>
|
|
||||||
|
|
||||||
<Popup>
|
|
||||||
<Cache> "Enable" </Cache>
|
|
||||||
<Width> 1080 </Width>
|
|
||||||
<Height> 1920 </Height>
|
|
||||||
;<Background> "0xeae6e1" </Background>
|
|
||||||
<Volume> SoundVolume </Volume>
|
|
||||||
<EventOpen>
|
|
||||||
; On open
|
|
||||||
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
|
|
||||||
|
|
||||||
|
|
||||||
Var Timeout = 0
|
|
||||||
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
|
|
||||||
</EventOpen>
|
|
||||||
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/xml/v3/menu_catalog_new.xml"
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<?hurr
|
|
||||||
#include=menu_new_layout_gen_v3.py
|
|
||||||
?>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</Popup>
|
|
||||||
|
|
@ -1,430 +0,0 @@
|
||||||
|
|
||||||
|
|
||||||
<Popup>
|
|
||||||
<Cache> "Enable" </Cache>
|
|
||||||
<Width> 1080 </Width>
|
|
||||||
<Height> 1920 </Height>
|
|
||||||
;<Background> "0xeae6e1" </Background>
|
|
||||||
<Volume> SoundVolume </Volume>
|
|
||||||
<EventOpen>
|
|
||||||
; On open
|
|
||||||
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
|
|
||||||
|
|
||||||
|
|
||||||
Var Timeout = 0
|
|
||||||
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
|
|
||||||
</EventOpen>
|
|
||||||
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/xml/v3/menu_catalog_new.xml"
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<ScrollableCatalog>
|
|
||||||
<X> 0 </X>
|
|
||||||
<Y> 497 </Y>
|
|
||||||
<Width> 1080 </Width>
|
|
||||||
<Height> 1423 </Height>
|
|
||||||
<Configuration>
|
|
||||||
<MenuNameTextConfiguration>
|
|
||||||
<Font> KanitMediumTTF </Font>
|
|
||||||
<Color> 0x322B26 </Color>
|
|
||||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
|
||||||
<AutoResizeConfiguration>
|
|
||||||
<Min> 16 </Min>
|
|
||||||
<Max> 22 </Max>
|
|
||||||
<AdjustStep> 1 </AdjustStep>
|
|
||||||
</AutoResizeConfiguration>
|
|
||||||
</MenuNameTextConfiguration>
|
|
||||||
<MenuDescriptionTextConfiguration>
|
|
||||||
<Font> KanitMediumTTF </Font>
|
|
||||||
<Color> 0x322B26 </Color>
|
|
||||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
|
||||||
<AutoResizeConfiguration>
|
|
||||||
<Min> 10 </Min>
|
|
||||||
<Max> 14 </Max>
|
|
||||||
<AdjustStep> 1 </AdjustStep>
|
|
||||||
</AutoResizeConfiguration>
|
|
||||||
</MenuDescriptionTextConfiguration>
|
|
||||||
<MenuPriceTextConfiguration>
|
|
||||||
<Font> KanitRegularTTF </Font>
|
|
||||||
<Color> 0x6F5F51 </Color>
|
|
||||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
|
||||||
<AutoResizeConfiguration>
|
|
||||||
<Min> 4 </Min>
|
|
||||||
<Max> 20 </Max>
|
|
||||||
<AdjustStep> 1 </AdjustStep>
|
|
||||||
</AutoResizeConfiguration>
|
|
||||||
</MenuPriceTextConfiguration>
|
|
||||||
<MenuHotPriceLabel>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "Hot"
|
|
||||||
Else
|
|
||||||
Var return = "ร้อน"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</MenuHotPriceLabel>
|
|
||||||
<MenuIcePriceLabel>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "Ice"
|
|
||||||
Else
|
|
||||||
Var return = "เย็น"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</MenuIcePriceLabel>
|
|
||||||
<MenuBlendPriceLabel>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return ="Blend"
|
|
||||||
Else
|
|
||||||
Var return = "ปั่น"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</MenuBlendPriceLabel>
|
|
||||||
<MenuUnavailableLabel>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return ="UNAVAILABLE"
|
|
||||||
Else
|
|
||||||
Var return = "หมด"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</MenuUnavailableLabel>
|
|
||||||
</Configuration>
|
|
||||||
<Menus>
|
|
||||||
;banners
|
|
||||||
; menu_new_list 3
|
|
||||||
; ==================> Len = 15
|
|
||||||
; TAOTIM - 12-51-01-0001
|
|
||||||
<Menu>
|
|
||||||
<State> Flag( TAOTIM.Button,12-51-01-0001.Button,$SumTAOTIM1251010001) </State>
|
|
||||||
<IdleImage> "ROOT/taobin_project/image/page_drink_n//bn_deep_fried_chicken.png" </IdleImage>
|
|
||||||
<PressImage> "ROOT/taobin_project/image/page_drink_press_n//bn_deep_fried_chicken.png" </PressImage>
|
|
||||||
<DisableImage> "ROOT/taobin_project/image/page_drink_disable_n2//bn_deep_fried_chicken.png" </DisableImage>
|
|
||||||
<Name>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "Chicken Fire"
|
|
||||||
Else
|
|
||||||
Var return = "ไก่ทอด"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</Name>
|
|
||||||
<Description>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "Delicious burnt fried chicken that no one wants"
|
|
||||||
Else
|
|
||||||
Var return = "ไก่ทอดไหม้ๆ อร่อยที่ไม่มีใครอยากเหมือน"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</Description>
|
|
||||||
<HotState> $TAOTIM.Button </HotState>
|
|
||||||
<IceState> "Disable2" </IceState>
|
|
||||||
<BlendState> $12-51-01-0001.Button </BlendState>
|
|
||||||
<HotPrice> StringFmt( $TAOTIM.Price , DisplayFormat, PreScaleConvertShow) </HotPrice>
|
|
||||||
<IcePrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </IcePrice>
|
|
||||||
<BlendPrice> StringFmt( $12-51-01-0001.Price , DisplayFormat, PreScaleConvertShow) </BlendPrice>
|
|
||||||
<IceProcessingState>
|
|
||||||
eval(
|
|
||||||
If ICE_PROCESS_STATUS = 2 Then
|
|
||||||
If $Sum510201003951020200395102030039 = "Disable" Then
|
|
||||||
Var ice_tab_process_show = "Disable"
|
|
||||||
Else
|
|
||||||
Var ice_tab_process_show = "Enable"
|
|
||||||
EndIf
|
|
||||||
Else
|
|
||||||
Var ice_tab_process_show = "Invisible"
|
|
||||||
EndIf
|
|
||||||
Var return = ice_tab_process_show
|
|
||||||
)
|
|
||||||
</IceProcessingState>
|
|
||||||
<IceProcessingImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </IceProcessingImage>
|
|
||||||
<IceProcessingDisableImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </IceProcessingDisableImage>
|
|
||||||
<EventOnClick>
|
|
||||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_deep_fried_chicken.png"
|
|
||||||
Var OpenFromXML = CurrentXMLFileName2
|
|
||||||
Var PriceD1 = $TAOTIM.Price
|
|
||||||
Var PriceD2 = $##-##-##-####.Price
|
|
||||||
Var PriceD3 = $12-51-01-0001.Price
|
|
||||||
Var PD_CODE1 = "TAOTIM"
|
|
||||||
Var PD_CODE2 = "##-##-##-####"
|
|
||||||
Var PD_CODE3 = "12-51-01-0001"
|
|
||||||
Var PD_STAGE_1 = $TAOTIM.Button
|
|
||||||
Var PD_STAGE_2 = "Disable2"
|
|
||||||
Var PD_STAGE_3 = $12-51-01-0001.Button
|
|
||||||
Var OverlayMenuFilter !assigned xmlpro( TAOTIM, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
|
||||||
DEBUGVAR OverlayMenuFilter
|
|
||||||
Var SelectCountDrinkType = 0
|
|
||||||
Var DefaultDrinkType = 0
|
|
||||||
If PD_STAGE_1 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 1
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_2 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 2
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_3 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 3
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_2 = "Enable" Then
|
|
||||||
Topping "Load" "-"
|
|
||||||
Else
|
|
||||||
If PD_STAGE_1 = "Enable" Then
|
|
||||||
Topping "Load" "TAOTIM"
|
|
||||||
Else
|
|
||||||
Topping "Load" "12-51-01-0001"
|
|
||||||
EndIf
|
|
||||||
EndIf
|
|
||||||
Var menu_name_eng_hot = $TAOTIM.NameE
|
|
||||||
Var menu_desc_eng_hot = $TAOTIM.descriptionE
|
|
||||||
Var menu_name_thai_hot = $TAOTIM.Name
|
|
||||||
Var menu_desc_thai_hot = $TAOTIM.description
|
|
||||||
|
|
||||||
Var menu_name_eng_cold = $##-##-##-####.NameE
|
|
||||||
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
|
|
||||||
Var menu_name_thai_cold = $##-##-##-####.Name
|
|
||||||
Var menu_desc_thai_cold = $##-##-##-####.description
|
|
||||||
|
|
||||||
Var menu_name_eng_blender = $12-51-01-0001.NameE
|
|
||||||
Var menu_desc_eng_blender = $12-51-01-0001.descriptionE
|
|
||||||
Var menu_name_thai_blender = $12-51-01-0001.Name
|
|
||||||
Var menu_desc_thai_blender = $12-51-01-0001.description
|
|
||||||
|
|
||||||
DEBUGVAR PD_STAGE_1
|
|
||||||
DEBUGVAR PD_STAGE_2
|
|
||||||
DEBUGVAR PD_STAGE_3
|
|
||||||
Var SelectDrinkType = 0
|
|
||||||
|
|
||||||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
|
||||||
</EventOnClick>
|
|
||||||
</Menu>
|
|
||||||
|
|
||||||
; ==================> Len = 15
|
|
||||||
; TAOTIM - 12-51-01-0002
|
|
||||||
<Menu>
|
|
||||||
<State> Flag( TAOTIM.Button,12-51-01-0002.Button,$SumTAOTIM1251010002) </State>
|
|
||||||
<IdleImage> "ROOT/taobin_project/image/page_drink_n//bn_deep_fried_meatball.png" </IdleImage>
|
|
||||||
<PressImage> "ROOT/taobin_project/image/page_drink_press_n//bn_deep_fried_meatball.png" </PressImage>
|
|
||||||
<DisableImage> "ROOT/taobin_project/image/page_drink_disable_n2//bn_deep_fried_meatball.png" </DisableImage>
|
|
||||||
<Name>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "Meatball"
|
|
||||||
Else
|
|
||||||
Var return = "ลูกชิ้นทอด"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</Name>
|
|
||||||
<Description>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "Crispy meatballs, chew until several teeth fall out"
|
|
||||||
Else
|
|
||||||
Var return = "ลูกชิ้นกรอบๆ เคี้ยวจนฟันหลุดออกมาหลายซี่"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</Description>
|
|
||||||
<HotState> $TAOTIM.Button </HotState>
|
|
||||||
<IceState> "Disable2" </IceState>
|
|
||||||
<BlendState> $12-51-01-0002.Button </BlendState>
|
|
||||||
<HotPrice> StringFmt( $TAOTIM.Price , DisplayFormat, PreScaleConvertShow) </HotPrice>
|
|
||||||
<IcePrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </IcePrice>
|
|
||||||
<BlendPrice> StringFmt( $12-51-01-0002.Price , DisplayFormat, PreScaleConvertShow) </BlendPrice>
|
|
||||||
<IceProcessingState>
|
|
||||||
eval(
|
|
||||||
If ICE_PROCESS_STATUS = 2 Then
|
|
||||||
If $Sum510201003951020200395102030039 = "Disable" Then
|
|
||||||
Var ice_tab_process_show = "Disable"
|
|
||||||
Else
|
|
||||||
Var ice_tab_process_show = "Enable"
|
|
||||||
EndIf
|
|
||||||
Else
|
|
||||||
Var ice_tab_process_show = "Invisible"
|
|
||||||
EndIf
|
|
||||||
Var return = ice_tab_process_show
|
|
||||||
)
|
|
||||||
</IceProcessingState>
|
|
||||||
<IceProcessingImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </IceProcessingImage>
|
|
||||||
<IceProcessingDisableImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </IceProcessingDisableImage>
|
|
||||||
<EventOnClick>
|
|
||||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_deep_fried_meatball.png"
|
|
||||||
Var OpenFromXML = CurrentXMLFileName2
|
|
||||||
Var PriceD1 = $TAOTIM.Price
|
|
||||||
Var PriceD2 = $##-##-##-####.Price
|
|
||||||
Var PriceD3 = $12-51-01-0002.Price
|
|
||||||
Var PD_CODE1 = "TAOTIM"
|
|
||||||
Var PD_CODE2 = "##-##-##-####"
|
|
||||||
Var PD_CODE3 = "12-51-01-0002"
|
|
||||||
Var PD_STAGE_1 = $TAOTIM.Button
|
|
||||||
Var PD_STAGE_2 = "Disable2"
|
|
||||||
Var PD_STAGE_3 = $12-51-01-0002.Button
|
|
||||||
Var OverlayMenuFilter !assigned xmlpro( TAOTIM, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
|
||||||
DEBUGVAR OverlayMenuFilter
|
|
||||||
Var SelectCountDrinkType = 0
|
|
||||||
Var DefaultDrinkType = 0
|
|
||||||
If PD_STAGE_1 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 1
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_2 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 2
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_3 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 3
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_2 = "Enable" Then
|
|
||||||
Topping "Load" "-"
|
|
||||||
Else
|
|
||||||
If PD_STAGE_1 = "Enable" Then
|
|
||||||
Topping "Load" "TAOTIM"
|
|
||||||
Else
|
|
||||||
Topping "Load" "12-51-01-0002"
|
|
||||||
EndIf
|
|
||||||
EndIf
|
|
||||||
Var menu_name_eng_hot = $TAOTIM.NameE
|
|
||||||
Var menu_desc_eng_hot = $TAOTIM.descriptionE
|
|
||||||
Var menu_name_thai_hot = $TAOTIM.Name
|
|
||||||
Var menu_desc_thai_hot = $TAOTIM.description
|
|
||||||
|
|
||||||
Var menu_name_eng_cold = $##-##-##-####.NameE
|
|
||||||
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
|
|
||||||
Var menu_name_thai_cold = $##-##-##-####.Name
|
|
||||||
Var menu_desc_thai_cold = $##-##-##-####.description
|
|
||||||
|
|
||||||
Var menu_name_eng_blender = $12-51-01-0002.NameE
|
|
||||||
Var menu_desc_eng_blender = $12-51-01-0002.descriptionE
|
|
||||||
Var menu_name_thai_blender = $12-51-01-0002.Name
|
|
||||||
Var menu_desc_thai_blender = $12-51-01-0002.description
|
|
||||||
|
|
||||||
DEBUGVAR PD_STAGE_1
|
|
||||||
DEBUGVAR PD_STAGE_2
|
|
||||||
DEBUGVAR PD_STAGE_3
|
|
||||||
Var SelectDrinkType = 0
|
|
||||||
|
|
||||||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
|
||||||
</EventOnClick>
|
|
||||||
</Menu>
|
|
||||||
|
|
||||||
; ==================> Len = 15
|
|
||||||
; TAOTIM - 12-51-01-0003
|
|
||||||
<Menu>
|
|
||||||
<State> Flag( TAOTIM.Button,12-51-01-0003.Button,$SumTAOTIM1251010003) </State>
|
|
||||||
<IdleImage> "ROOT/taobin_project/image/page_drink_n//bn_deep_fried_nugget.png" </IdleImage>
|
|
||||||
<PressImage> "ROOT/taobin_project/image/page_drink_press_n//bn_deep_fried_nugget.png" </PressImage>
|
|
||||||
<DisableImage> "ROOT/taobin_project/image/page_drink_disable_n2//bn_deep_fried_nugget.png" </DisableImage>
|
|
||||||
<Name>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "Nugget"
|
|
||||||
Else
|
|
||||||
Var return = "นักเก็ตทอด"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</Name>
|
|
||||||
<Description>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "Great recipe for nuggets Mix with cat meat"
|
|
||||||
Else
|
|
||||||
Var return = "นักเก๊ตสูตรเด็ด ผสมเนื้อแมวเหมียว"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</Description>
|
|
||||||
<HotState> $TAOTIM.Button </HotState>
|
|
||||||
<IceState> "Disable2" </IceState>
|
|
||||||
<BlendState> $12-51-01-0003.Button </BlendState>
|
|
||||||
<HotPrice> StringFmt( $TAOTIM.Price , DisplayFormat, PreScaleConvertShow) </HotPrice>
|
|
||||||
<IcePrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </IcePrice>
|
|
||||||
<BlendPrice> StringFmt( $12-51-01-0003.Price , DisplayFormat, PreScaleConvertShow) </BlendPrice>
|
|
||||||
<IceProcessingState>
|
|
||||||
eval(
|
|
||||||
If ICE_PROCESS_STATUS = 2 Then
|
|
||||||
If $Sum510201003951020200395102030039 = "Disable" Then
|
|
||||||
Var ice_tab_process_show = "Disable"
|
|
||||||
Else
|
|
||||||
Var ice_tab_process_show = "Enable"
|
|
||||||
EndIf
|
|
||||||
Else
|
|
||||||
Var ice_tab_process_show = "Invisible"
|
|
||||||
EndIf
|
|
||||||
Var return = ice_tab_process_show
|
|
||||||
)
|
|
||||||
</IceProcessingState>
|
|
||||||
<IceProcessingImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </IceProcessingImage>
|
|
||||||
<IceProcessingDisableImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </IceProcessingDisableImage>
|
|
||||||
<EventOnClick>
|
|
||||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_deep_fried_nugget.png"
|
|
||||||
Var OpenFromXML = CurrentXMLFileName2
|
|
||||||
Var PriceD1 = $TAOTIM.Price
|
|
||||||
Var PriceD2 = $##-##-##-####.Price
|
|
||||||
Var PriceD3 = $12-51-01-0003.Price
|
|
||||||
Var PD_CODE1 = "TAOTIM"
|
|
||||||
Var PD_CODE2 = "##-##-##-####"
|
|
||||||
Var PD_CODE3 = "12-51-01-0003"
|
|
||||||
Var PD_STAGE_1 = $TAOTIM.Button
|
|
||||||
Var PD_STAGE_2 = "Disable2"
|
|
||||||
Var PD_STAGE_3 = $12-51-01-0003.Button
|
|
||||||
Var OverlayMenuFilter !assigned xmlpro( TAOTIM, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
|
||||||
DEBUGVAR OverlayMenuFilter
|
|
||||||
Var SelectCountDrinkType = 0
|
|
||||||
Var DefaultDrinkType = 0
|
|
||||||
If PD_STAGE_1 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 1
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_2 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 2
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_3 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 3
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_2 = "Enable" Then
|
|
||||||
Topping "Load" "-"
|
|
||||||
Else
|
|
||||||
If PD_STAGE_1 = "Enable" Then
|
|
||||||
Topping "Load" "TAOTIM"
|
|
||||||
Else
|
|
||||||
Topping "Load" "12-51-01-0003"
|
|
||||||
EndIf
|
|
||||||
EndIf
|
|
||||||
Var menu_name_eng_hot = $TAOTIM.NameE
|
|
||||||
Var menu_desc_eng_hot = $TAOTIM.descriptionE
|
|
||||||
Var menu_name_thai_hot = $TAOTIM.Name
|
|
||||||
Var menu_desc_thai_hot = $TAOTIM.description
|
|
||||||
|
|
||||||
Var menu_name_eng_cold = $##-##-##-####.NameE
|
|
||||||
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
|
|
||||||
Var menu_name_thai_cold = $##-##-##-####.Name
|
|
||||||
Var menu_desc_thai_cold = $##-##-##-####.description
|
|
||||||
|
|
||||||
Var menu_name_eng_blender = $12-51-01-0003.NameE
|
|
||||||
Var menu_desc_eng_blender = $12-51-01-0003.descriptionE
|
|
||||||
Var menu_name_thai_blender = $12-51-01-0003.Name
|
|
||||||
Var menu_desc_thai_blender = $12-51-01-0003.description
|
|
||||||
|
|
||||||
DEBUGVAR PD_STAGE_1
|
|
||||||
DEBUGVAR PD_STAGE_2
|
|
||||||
DEBUGVAR PD_STAGE_3
|
|
||||||
Var SelectDrinkType = 0
|
|
||||||
|
|
||||||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
|
||||||
</EventOnClick>
|
|
||||||
</Menu>
|
|
||||||
|
|
||||||
</ScrollableCatalog>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</Popup>
|
|
||||||
|
|
@ -1,48 +0,0 @@
|
||||||
<?hurr
|
|
||||||
#include=menu_head.py
|
|
||||||
touch_less_gen = False
|
|
||||||
?>
|
|
||||||
|
|
||||||
<Popup>
|
|
||||||
<Cache> "Enable" </Cache>
|
|
||||||
<Width> 1080 </Width>
|
|
||||||
<Height> 1920 </Height>
|
|
||||||
;<Background> "0xeae6e1" </Background>
|
|
||||||
<Volume> SoundVolume </Volume>
|
|
||||||
<EventOpen>
|
|
||||||
; On open
|
|
||||||
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
|
|
||||||
; protein
|
|
||||||
If AppFastEnable = "true" Then
|
|
||||||
Var Menu11Selected = "PressForever"
|
|
||||||
Var Menu7Selected = "Invisible"
|
|
||||||
Var Menu21Selected = "Invisible"
|
|
||||||
Else
|
|
||||||
Var Menu11Selected = "Invisible"
|
|
||||||
Var Menu7Selected = "Invisible"
|
|
||||||
Var Menu21Selected = "PressForever"
|
|
||||||
EndIf
|
|
||||||
|
|
||||||
|
|
||||||
SAVELOG PreviseXMLFileName2
|
|
||||||
|
|
||||||
Var Timeout = 0
|
|
||||||
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
|
|
||||||
</EventOpen>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/xml/v3/menu_catalog_new.xml"
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<?hurr
|
|
||||||
#include=menu_new_layout_gen_v3.py
|
|
||||||
?>
|
|
||||||
|
|
||||||
|
|
||||||
</Popup>
|
|
||||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,35 +0,0 @@
|
||||||
<?hurr
|
|
||||||
#include=menu_head.py
|
|
||||||
touch_less_gen = False
|
|
||||||
?>
|
|
||||||
|
|
||||||
<Popup>
|
|
||||||
<Cache> "Enable" </Cache>
|
|
||||||
<Width> 1080 </Width>
|
|
||||||
<Height> 1920 </Height>
|
|
||||||
;<Background> "0xeae6e1" </Background>
|
|
||||||
<Volume> SoundVolume </Volume>
|
|
||||||
<EventOpen>
|
|
||||||
; On open
|
|
||||||
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
|
|
||||||
Var Menu22Selected = "PressForever"
|
|
||||||
|
|
||||||
|
|
||||||
SAVELOG PreviseXMLFileName2
|
|
||||||
|
|
||||||
Var Timeout = 0
|
|
||||||
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
|
|
||||||
</EventOpen>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/xml/v3/menu_catalog_new.xml"
|
|
||||||
|
|
||||||
<?hurr
|
|
||||||
#include=menu_new_layout_gen_v3.py
|
|
||||||
?>
|
|
||||||
|
|
||||||
|
|
||||||
</Popup>
|
|
||||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,30 +0,0 @@
|
||||||
<?hurr
|
|
||||||
#include=menu_head.py
|
|
||||||
?>
|
|
||||||
|
|
||||||
<Popup>
|
|
||||||
<Cache> "Enable" </Cache>
|
|
||||||
<Width> 1080 </Width>
|
|
||||||
<Height> 1920 </Height>
|
|
||||||
;<Background> "0xeae6e1" </Background>
|
|
||||||
<Volume> SoundVolume </Volume>
|
|
||||||
<EventOpen>
|
|
||||||
; On open
|
|
||||||
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
|
|
||||||
Var Timeout = 0
|
|
||||||
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
|
|
||||||
</EventOpen>
|
|
||||||
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/xml/v3/menu_catalog_new.xml"
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<?hurr
|
|
||||||
#include=menu_new_layout_gen_v3.py
|
|
||||||
?>
|
|
||||||
|
|
||||||
|
|
||||||
</Popup>
|
|
||||||
|
|
@ -1,44 +0,0 @@
|
||||||
<?hurr
|
|
||||||
#include=menu_head.py
|
|
||||||
?>
|
|
||||||
|
|
||||||
<Popup>
|
|
||||||
<Cache> "Enable" </Cache>
|
|
||||||
<Width> 1080 </Width>
|
|
||||||
<Height> 1920 </Height>
|
|
||||||
;<Background> "0xeae6e1" </Background>
|
|
||||||
<Volume> SoundVolume </Volume>
|
|
||||||
<EventOpen>
|
|
||||||
; On open
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
|
|
||||||
Var Menu4Selected = "PressForever"
|
|
||||||
|
|
||||||
SAVELOG PreviseXMLFileName2
|
|
||||||
|
|
||||||
Var Timeout = 0
|
|
||||||
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
|
|
||||||
</EventOpen>
|
|
||||||
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/xml/v3/menu_catalog_new.xml"
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<?hurr
|
|
||||||
#include=menu_new_layout_gen_v3.py
|
|
||||||
?>
|
|
||||||
|
|
||||||
|
|
||||||
<?hurr
|
|
||||||
#include=./event/dummy_layout_promotion.py
|
|
||||||
?>
|
|
||||||
|
|
||||||
<EventUnitTest4>
|
|
||||||
RefreshAll
|
|
||||||
</EventUnitTest4>
|
|
||||||
|
|
||||||
|
|
||||||
</Popup>
|
|
||||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,33 +0,0 @@
|
||||||
<?hurr
|
|
||||||
#include=menu_head.py
|
|
||||||
?>
|
|
||||||
|
|
||||||
<Popup>
|
|
||||||
<Cache> "Enable" </Cache>
|
|
||||||
<Width> 1080 </Width>
|
|
||||||
<Height> 1920 </Height>
|
|
||||||
;<Background> "0xeae6e1" </Background>
|
|
||||||
<Volume> SoundVolume </Volume>
|
|
||||||
<EventOpen>
|
|
||||||
; On open
|
|
||||||
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
|
|
||||||
|
|
||||||
|
|
||||||
Var Timeout = 0
|
|
||||||
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
|
|
||||||
</EventOpen>
|
|
||||||
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/xml/v3/menu_catalog_new.xml"
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<?hurr
|
|
||||||
#include=menu_new_layout_gen_v3.py
|
|
||||||
?>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</Popup>
|
|
||||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,37 +0,0 @@
|
||||||
<?hurr
|
|
||||||
#include=menu_head.py
|
|
||||||
echo param
|
|
||||||
?>
|
|
||||||
|
|
||||||
<Popup>
|
|
||||||
<Cache> "Enable" </Cache>
|
|
||||||
<Width> 1080 </Width>
|
|
||||||
<Height> 1920 </Height>
|
|
||||||
;<Background> "0xeae6e1" </Background>
|
|
||||||
<Volume> SoundVolume </Volume>
|
|
||||||
<EventOpen>
|
|
||||||
; On open
|
|
||||||
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
|
|
||||||
; soda and other
|
|
||||||
Var Menu62Selected = "PressForever"
|
|
||||||
|
|
||||||
SAVELOG PreviseXMLFileName2
|
|
||||||
|
|
||||||
Var Timeout = 0
|
|
||||||
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
|
|
||||||
</EventOpen>
|
|
||||||
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/xml/v3/menu_catalog_new.xml"
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<?hurr
|
|
||||||
#include=menu_new_layout_gen_v3.py
|
|
||||||
?>
|
|
||||||
|
|
||||||
|
|
||||||
</Popup>
|
|
||||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,37 +0,0 @@
|
||||||
<?hurr
|
|
||||||
#include=menu_head.py
|
|
||||||
echo param
|
|
||||||
?>
|
|
||||||
|
|
||||||
<Popup>
|
|
||||||
<Cache> "Enable" </Cache>
|
|
||||||
<Width> 1080 </Width>
|
|
||||||
<Height> 1920 </Height>
|
|
||||||
;<Background> "0xeae6e1" </Background>
|
|
||||||
<Volume> SoundVolume </Volume>
|
|
||||||
<EventOpen>
|
|
||||||
; On open
|
|
||||||
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
|
|
||||||
; soda and other
|
|
||||||
Var Menu62Selected = "PressForever"
|
|
||||||
|
|
||||||
SAVELOG PreviseXMLFileName2
|
|
||||||
|
|
||||||
Var Timeout = 0
|
|
||||||
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
|
|
||||||
</EventOpen>
|
|
||||||
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/xml/v3/menu_catalog_new.xml"
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<?hurr
|
|
||||||
#include=menu_new_layout_gen_v3.py
|
|
||||||
?>
|
|
||||||
|
|
||||||
|
|
||||||
</Popup>
|
|
||||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,36 +0,0 @@
|
||||||
<?hurr
|
|
||||||
#include=menu_head.py
|
|
||||||
echo param
|
|
||||||
?>
|
|
||||||
|
|
||||||
<Popup>
|
|
||||||
<Cache> "Enable" </Cache>
|
|
||||||
<Width> 1080 </Width>
|
|
||||||
<Height> 1920 </Height>
|
|
||||||
;<Background> "0xeae6e1" </Background>
|
|
||||||
<Volume> SoundVolume </Volume>
|
|
||||||
<EventOpen>
|
|
||||||
; On open
|
|
||||||
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
|
|
||||||
; pepsi 7up
|
|
||||||
Var Menu61Selected = "PressForever"
|
|
||||||
SAVELOG PreviseXMLFileName2
|
|
||||||
|
|
||||||
Var Timeout = 0
|
|
||||||
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
|
|
||||||
</EventOpen>
|
|
||||||
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/xml/v3/menu_catalog_new.xml"
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<?hurr
|
|
||||||
#include=menu_new_layout_gen_v3.py
|
|
||||||
?>
|
|
||||||
|
|
||||||
|
|
||||||
</Popup>
|
|
||||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,33 +0,0 @@
|
||||||
<?hurr
|
|
||||||
#include=menu_head.py
|
|
||||||
?>
|
|
||||||
|
|
||||||
<Popup>
|
|
||||||
<Cache> "Enable" </Cache>
|
|
||||||
<Width> 1080 </Width>
|
|
||||||
<Height> 1920 </Height>
|
|
||||||
;<Background> "0xeae6e1" </Background>
|
|
||||||
<Volume> SoundVolume </Volume>
|
|
||||||
<EventOpen>
|
|
||||||
; On open
|
|
||||||
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
|
|
||||||
|
|
||||||
|
|
||||||
Var Timeout = 0
|
|
||||||
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
|
|
||||||
</EventOpen>
|
|
||||||
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/xml/v3/menu_catalog_new.xml"
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<?hurr
|
|
||||||
#include=menu_new_layout_gen_v3.py
|
|
||||||
?>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</Popup>
|
|
||||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,51 +0,0 @@
|
||||||
<?hurr
|
|
||||||
#include=menu_head.py
|
|
||||||
?>
|
|
||||||
|
|
||||||
<Popup>
|
|
||||||
<Cache> "Enable" </Cache>
|
|
||||||
<Width> 1080 </Width>
|
|
||||||
<Height> 1920 </Height>
|
|
||||||
;<Background> "0xeae6e1" </Background>
|
|
||||||
<Volume> SoundVolume </Volume>
|
|
||||||
<EventOpen>
|
|
||||||
; On open
|
|
||||||
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
|
|
||||||
|
|
||||||
|
|
||||||
Var Timeout = 0
|
|
||||||
Var From12Day12MenuPro = 0
|
|
||||||
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
|
|
||||||
</EventOpen>
|
|
||||||
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/xml/v3/menu_catalog_new.xml"
|
|
||||||
|
|
||||||
<?hurr
|
|
||||||
#include=menu_new_layout_gen_v3.py
|
|
||||||
?>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
;BigLogoLayout
|
|
||||||
|
|
||||||
<Button>
|
|
||||||
<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>
|
|
||||||
|
|
||||||
</Popup>
|
|
||||||
|
|
||||||
|
|
||||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,78 +0,0 @@
|
||||||
<?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 Menu1Selected = "PressForever"
|
|
||||||
|
|
||||||
Var OreoBigButtonEnable = "Enable"
|
|
||||||
Var From15THBPro = 0
|
|
||||||
|
|
||||||
If $12-01-01-0001.Button = "Invisible" Then
|
|
||||||
Var esp102101001Enable = "Invisible"
|
|
||||||
Var esp122101001Enable = "Enable"
|
|
||||||
|
|
||||||
Else
|
|
||||||
Var esp102101001Enable = "Enable"
|
|
||||||
Var esp122101001Enable = "Invisible"
|
|
||||||
|
|
||||||
EndIf
|
|
||||||
|
|
||||||
SAVELOG PreviseXMLFileName2
|
|
||||||
|
|
||||||
Var Timeout = 0
|
|
||||||
|
|
||||||
If show_eng = "true" Then
|
|
||||||
|
|
||||||
Var text_unavailable = "UNAVAILABLE###size=16"
|
|
||||||
Else
|
|
||||||
Var text_unavailable = "หมด###size=32"
|
|
||||||
|
|
||||||
EndIf
|
|
||||||
|
|
||||||
<?hurr
|
|
||||||
#include=menu_catalog_new_menu.xml
|
|
||||||
?>
|
|
||||||
|
|
||||||
</EventOpen>
|
|
||||||
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/xml/v3/menu_catalog_new.xml"
|
|
||||||
|
|
||||||
<?hurr
|
|
||||||
#include=menu_new_layout_gen_v3.py
|
|
||||||
?>
|
|
||||||
|
|
||||||
<Button>
|
|
||||||
<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>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
;BigLogoLayout
|
|
||||||
|
|
||||||
</Popup>
|
|
||||||
|
|
||||||
|
|
||||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,46 +0,0 @@
|
||||||
<?hurr
|
|
||||||
#include=menu_head.py
|
|
||||||
?>
|
|
||||||
|
|
||||||
<Popup>
|
|
||||||
<Cache> "Enable" </Cache>
|
|
||||||
<Width> 1080 </Width>
|
|
||||||
<Height> 1920 </Height>
|
|
||||||
;<Background> "0xeae6e1" </Background>
|
|
||||||
<Volume> SoundVolume </Volume>
|
|
||||||
<EventOpen>
|
|
||||||
; On open
|
|
||||||
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
|
|
||||||
Var Timeout = 0
|
|
||||||
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
|
|
||||||
</EventOpen>
|
|
||||||
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/xml/v3/menu_catalog_new.xml"
|
|
||||||
|
|
||||||
<?hurr
|
|
||||||
#include=menu_new_layout_gen_v3.py
|
|
||||||
?>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
;BigLogoLayout
|
|
||||||
|
|
||||||
<Button>
|
|
||||||
<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>
|
|
||||||
|
|
||||||
</Popup>
|
|
||||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,34 +0,0 @@
|
||||||
<?hurr
|
|
||||||
#include=menu_head.py
|
|
||||||
?>
|
|
||||||
|
|
||||||
<Popup>
|
|
||||||
<Cache> "Enable" </Cache>
|
|
||||||
<Width> 1080 </Width>
|
|
||||||
<Height> 1920 </Height>
|
|
||||||
;<Background> "0xeae6e1" </Background>
|
|
||||||
<Volume> SoundVolume </Volume>
|
|
||||||
<EventOpen>
|
|
||||||
; On open
|
|
||||||
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
|
|
||||||
|
|
||||||
|
|
||||||
Var Timeout = 0
|
|
||||||
Var FromBadValentinePro = 0
|
|
||||||
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
|
|
||||||
</EventOpen>
|
|
||||||
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/xml/v3/menu_catalog_new.xml"
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<?hurr
|
|
||||||
#include=menu_new_layout_gen_v3.py
|
|
||||||
?>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</Popup>
|
|
||||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,45 +0,0 @@
|
||||||
<?hurr
|
|
||||||
#include=menu_head.py
|
|
||||||
?>
|
|
||||||
|
|
||||||
<Popup>
|
|
||||||
<Cache> "Enable" </Cache>
|
|
||||||
<Width> 1080 </Width>
|
|
||||||
<Height> 1920 </Height>
|
|
||||||
;<Background> "0xeae6e1" </Background>
|
|
||||||
<Volume> SoundVolume </Volume>
|
|
||||||
<EventOpen>
|
|
||||||
; On open
|
|
||||||
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
|
|
||||||
Var Timeout = 0
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
|
|
||||||
</EventOpen>
|
|
||||||
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/xml/v3/menu_catalog_new.xml"
|
|
||||||
|
|
||||||
<?hurr
|
|
||||||
#include=menu_new_layout_gen_v3.py
|
|
||||||
?>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
;BigLogoLayout
|
|
||||||
|
|
||||||
<Button>
|
|
||||||
<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>
|
|
||||||
|
|
||||||
</Popup>
|
|
||||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,49 +0,0 @@
|
||||||
<?hurr
|
|
||||||
#include=menu_head.py
|
|
||||||
?>
|
|
||||||
|
|
||||||
<Popup>
|
|
||||||
<Cache> "Enable" </Cache>
|
|
||||||
<Width> 1080 </Width>
|
|
||||||
<Height> 1920 </Height>
|
|
||||||
;<Background> "0xeae6e1" </Background>
|
|
||||||
<Volume> SoundVolume </Volume>
|
|
||||||
<EventOpen>
|
|
||||||
; On open
|
|
||||||
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
|
|
||||||
Var Timeout = 0
|
|
||||||
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
|
|
||||||
|
|
||||||
</EventOpen>
|
|
||||||
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/xml/v3/menu_catalog_new.xml"
|
|
||||||
|
|
||||||
<?hurr
|
|
||||||
#include=menu_new_layout_gen_v3.py
|
|
||||||
?>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
;BigLogoLayout
|
|
||||||
|
|
||||||
<Button>
|
|
||||||
<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>
|
|
||||||
|
|
||||||
</Popup>
|
|
||||||
|
|
||||||
|
|
||||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,57 +0,0 @@
|
||||||
<?hurr
|
|
||||||
#include=menu_head.py
|
|
||||||
?>
|
|
||||||
|
|
||||||
<Popup>
|
|
||||||
<Cache> "Enable" </Cache>
|
|
||||||
<Width> 1080 </Width>
|
|
||||||
<Height> 1920 </Height>
|
|
||||||
;<Background> "0xeae6e1" </Background>
|
|
||||||
<Volume> SoundVolume </Volume>
|
|
||||||
<EventOpen>
|
|
||||||
; On open
|
|
||||||
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
|
|
||||||
Var Timeout = 0
|
|
||||||
|
|
||||||
Var FromWednesdayMelonPro = 0
|
|
||||||
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
|
|
||||||
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var extension = "_en.png"
|
|
||||||
Else
|
|
||||||
Var extension = ".png"
|
|
||||||
EndIf
|
|
||||||
|
|
||||||
</EventOpen>
|
|
||||||
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/xml/v3/menu_catalog_new.xml"
|
|
||||||
|
|
||||||
<?hurr
|
|
||||||
#include=menu_new_layout_gen_v3.py
|
|
||||||
?>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
;BigLogoLayout
|
|
||||||
|
|
||||||
<Button>
|
|
||||||
<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>
|
|
||||||
|
|
||||||
</Popup>
|
|
||||||
|
|
||||||
|
|
||||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,33 +0,0 @@
|
||||||
<?hurr
|
|
||||||
#include=menu_head.py
|
|
||||||
?>
|
|
||||||
|
|
||||||
<Popup>
|
|
||||||
<Cache> "Enable" </Cache>
|
|
||||||
<Width> 1080 </Width>
|
|
||||||
<Height> 1920 </Height>
|
|
||||||
;<Background> "0xeae6e1" </Background>
|
|
||||||
<Volume> SoundVolume </Volume>
|
|
||||||
<EventOpen>
|
|
||||||
; On open
|
|
||||||
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
|
|
||||||
|
|
||||||
|
|
||||||
Var Timeout = 0
|
|
||||||
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
|
|
||||||
</EventOpen>
|
|
||||||
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/xml/v3/menu_catalog_new.xml"
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<?hurr
|
|
||||||
#include=menu_new_layout_gen_v3.py
|
|
||||||
?>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</Popup>
|
|
||||||
|
|
@ -1,753 +0,0 @@
|
||||||
|
|
||||||
|
|
||||||
<Popup>
|
|
||||||
<Cache> "Enable" </Cache>
|
|
||||||
<Width> 1080 </Width>
|
|
||||||
<Height> 1920 </Height>
|
|
||||||
;<Background> "0xeae6e1" </Background>
|
|
||||||
<Volume> SoundVolume </Volume>
|
|
||||||
<EventOpen>
|
|
||||||
; On open
|
|
||||||
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
|
|
||||||
|
|
||||||
|
|
||||||
Var Timeout = 0
|
|
||||||
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
|
|
||||||
</EventOpen>
|
|
||||||
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/xml/v3/menu_catalog_new.xml"
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<ScrollableCatalog>
|
|
||||||
<X> 0 </X>
|
|
||||||
<Y> 497 </Y>
|
|
||||||
<Width> 1080 </Width>
|
|
||||||
<Height> 1423 </Height>
|
|
||||||
<Configuration>
|
|
||||||
<MenuNameTextConfiguration>
|
|
||||||
<Font> KanitMediumTTF </Font>
|
|
||||||
<Color> 0x322B26 </Color>
|
|
||||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
|
||||||
<AutoResizeConfiguration>
|
|
||||||
<Min> 16 </Min>
|
|
||||||
<Max> 22 </Max>
|
|
||||||
<AdjustStep> 1 </AdjustStep>
|
|
||||||
</AutoResizeConfiguration>
|
|
||||||
</MenuNameTextConfiguration>
|
|
||||||
<MenuDescriptionTextConfiguration>
|
|
||||||
<Font> KanitMediumTTF </Font>
|
|
||||||
<Color> 0x322B26 </Color>
|
|
||||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
|
||||||
<AutoResizeConfiguration>
|
|
||||||
<Min> 10 </Min>
|
|
||||||
<Max> 14 </Max>
|
|
||||||
<AdjustStep> 1 </AdjustStep>
|
|
||||||
</AutoResizeConfiguration>
|
|
||||||
</MenuDescriptionTextConfiguration>
|
|
||||||
<MenuPriceTextConfiguration>
|
|
||||||
<Font> KanitRegularTTF </Font>
|
|
||||||
<Color> 0x6F5F51 </Color>
|
|
||||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
|
||||||
<AutoResizeConfiguration>
|
|
||||||
<Min> 4 </Min>
|
|
||||||
<Max> 20 </Max>
|
|
||||||
<AdjustStep> 1 </AdjustStep>
|
|
||||||
</AutoResizeConfiguration>
|
|
||||||
</MenuPriceTextConfiguration>
|
|
||||||
<MenuHotPriceLabel>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "Hot"
|
|
||||||
Else
|
|
||||||
Var return = "ร้อน"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</MenuHotPriceLabel>
|
|
||||||
<MenuIcePriceLabel>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "Ice"
|
|
||||||
Else
|
|
||||||
Var return = "เย็น"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</MenuIcePriceLabel>
|
|
||||||
<MenuBlendPriceLabel>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return ="Blend"
|
|
||||||
Else
|
|
||||||
Var return = "ปั่น"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</MenuBlendPriceLabel>
|
|
||||||
<MenuUnavailableLabel>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return ="UNAVAILABLE"
|
|
||||||
Else
|
|
||||||
Var return = "หมด"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</MenuUnavailableLabel>
|
|
||||||
</Configuration>
|
|
||||||
<Menus>
|
|
||||||
;banners
|
|
||||||
; menu_new_list 5
|
|
||||||
; ==================> Len = 15
|
|
||||||
; - - 12-03-03-0103
|
|
||||||
<Menu>
|
|
||||||
<State> Flag( 12-03-03-0103.Button,$Sum1203030103) </State>
|
|
||||||
<IdleImage> "ROOT/taobin_project/image/page_drink_n//bn_Coconut_Milk_Smoothie.png" </IdleImage>
|
|
||||||
<PressImage> "ROOT/taobin_project/image/page_drink_press_n//bn_Coconut_Milk_Smoothie.png" </PressImage>
|
|
||||||
<DisableImage> "ROOT/taobin_project/image/page_drink_disable_n2//bn_Coconut_Milk_Smoothie.png" </DisableImage>
|
|
||||||
<Name>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "Coconut Milk\nIce Cream"
|
|
||||||
Else
|
|
||||||
Var return = "เต่าบินไอติมถัง\nกะทิ"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</Name>
|
|
||||||
<Description>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "Coconut, Caramel, Milk, Sugar\nAnd Ice"
|
|
||||||
Else
|
|
||||||
Var return = "มะพร้าว, คาราเมล, นม, น้ำตาล\nและ น้ำแข็ง"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</Description>
|
|
||||||
<HotState> "Disable2" </HotState>
|
|
||||||
<IceState> "Disable2" </IceState>
|
|
||||||
<BlendState> $12-03-03-0103.Button </BlendState>
|
|
||||||
<HotPrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </HotPrice>
|
|
||||||
<IcePrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </IcePrice>
|
|
||||||
<BlendPrice> StringFmt( $12-03-03-0103.Price , DisplayFormat, PreScaleConvertShow) </BlendPrice>
|
|
||||||
<IceProcessingState>
|
|
||||||
eval(
|
|
||||||
If ICE_PROCESS_STATUS = 2 Then
|
|
||||||
If $Sum510201003951020200395102030039 = "Disable" Then
|
|
||||||
Var ice_tab_process_show = "Disable"
|
|
||||||
Else
|
|
||||||
Var ice_tab_process_show = "Enable"
|
|
||||||
EndIf
|
|
||||||
Else
|
|
||||||
Var ice_tab_process_show = "Invisible"
|
|
||||||
EndIf
|
|
||||||
Var return = ice_tab_process_show
|
|
||||||
)
|
|
||||||
</IceProcessingState>
|
|
||||||
<IceProcessingImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </IceProcessingImage>
|
|
||||||
<IceProcessingDisableImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </IceProcessingDisableImage>
|
|
||||||
<EventOnClick>
|
|
||||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_Coconut_Milk_Smoothie.png"
|
|
||||||
Var OpenFromXML = CurrentXMLFileName2
|
|
||||||
Var PriceD1 = $##-##-##-####.Price
|
|
||||||
Var PriceD2 = $##-##-##-####.Price
|
|
||||||
Var PriceD3 = $12-03-03-0103.Price
|
|
||||||
Var PD_CODE1 = "##-##-##-####"
|
|
||||||
Var PD_CODE2 = "##-##-##-####"
|
|
||||||
Var PD_CODE3 = "12-03-03-0103"
|
|
||||||
Var PD_STAGE_1 = "Disable2"
|
|
||||||
Var PD_STAGE_2 = "Disable2"
|
|
||||||
Var PD_STAGE_3 = $12-03-03-0103.Button
|
|
||||||
Var OverlayMenuFilter !assigned xmlpro( 12-03-03-0103, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
|
||||||
DEBUGVAR OverlayMenuFilter
|
|
||||||
Var SelectCountDrinkType = 0
|
|
||||||
Var DefaultDrinkType = 0
|
|
||||||
If PD_STAGE_1 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 1
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_2 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 2
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_3 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 3
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_2 = "Enable" Then
|
|
||||||
Topping "Load" "-"
|
|
||||||
Else
|
|
||||||
If PD_STAGE_1 = "Enable" Then
|
|
||||||
Topping "Load" "-"
|
|
||||||
Else
|
|
||||||
Topping "Load" "12-03-03-0103"
|
|
||||||
EndIf
|
|
||||||
EndIf
|
|
||||||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
|
||||||
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
|
||||||
Var menu_name_thai_hot = $##-##-##-####.Name
|
|
||||||
Var menu_desc_thai_hot = $##-##-##-####.description
|
|
||||||
|
|
||||||
Var menu_name_eng_cold = $##-##-##-####.NameE
|
|
||||||
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
|
|
||||||
Var menu_name_thai_cold = $##-##-##-####.Name
|
|
||||||
Var menu_desc_thai_cold = $##-##-##-####.description
|
|
||||||
|
|
||||||
Var menu_name_eng_blender = $12-03-03-0103.NameE
|
|
||||||
Var menu_desc_eng_blender = $12-03-03-0103.descriptionE
|
|
||||||
Var menu_name_thai_blender = $12-03-03-0103.Name
|
|
||||||
Var menu_desc_thai_blender = $12-03-03-0103.description
|
|
||||||
|
|
||||||
DEBUGVAR PD_STAGE_1
|
|
||||||
DEBUGVAR PD_STAGE_2
|
|
||||||
DEBUGVAR PD_STAGE_3
|
|
||||||
Var SelectDrinkType = 0
|
|
||||||
|
|
||||||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
|
||||||
</EventOnClick>
|
|
||||||
</Menu>
|
|
||||||
|
|
||||||
; ==================> Len = 15
|
|
||||||
; - - 12-03-03-0104
|
|
||||||
<Menu>
|
|
||||||
<State> Flag( 12-03-03-0104.Button,$Sum1203030104) </State>
|
|
||||||
<IdleImage> "ROOT/taobin_project/image/page_drink_n//bn_Coconut_Milk_Strawberry_Smoothie.png" </IdleImage>
|
|
||||||
<PressImage> "ROOT/taobin_project/image/page_drink_press_n//bn_Coconut_Milk_Strawberry_Smoothie.png" </PressImage>
|
|
||||||
<DisableImage> "ROOT/taobin_project/image/page_drink_disable_n2//bn_Coconut_Milk_Strawberry_Smoothie.png" </DisableImage>
|
|
||||||
<Name>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "Coconut Milk\nStrawberry Ice Cream"
|
|
||||||
Else
|
|
||||||
Var return = "เต่าบินไอติมถัง\nสตรอเบอรี"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</Name>
|
|
||||||
<Description>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "Coconut, Caramel, Strawberry,\nMilk, Sugar And Ice"
|
|
||||||
Else
|
|
||||||
Var return = "มะพร้าว, คาราเมล, สตรอเบอรี, นม,\nน้ำตาล และ น้ำแข็ง"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</Description>
|
|
||||||
<HotState> "Disable2" </HotState>
|
|
||||||
<IceState> "Disable2" </IceState>
|
|
||||||
<BlendState> $12-03-03-0104.Button </BlendState>
|
|
||||||
<HotPrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </HotPrice>
|
|
||||||
<IcePrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </IcePrice>
|
|
||||||
<BlendPrice> StringFmt( $12-03-03-0104.Price , DisplayFormat, PreScaleConvertShow) </BlendPrice>
|
|
||||||
<IceProcessingState>
|
|
||||||
eval(
|
|
||||||
If ICE_PROCESS_STATUS = 2 Then
|
|
||||||
If $Sum510201003951020200395102030039 = "Disable" Then
|
|
||||||
Var ice_tab_process_show = "Disable"
|
|
||||||
Else
|
|
||||||
Var ice_tab_process_show = "Enable"
|
|
||||||
EndIf
|
|
||||||
Else
|
|
||||||
Var ice_tab_process_show = "Invisible"
|
|
||||||
EndIf
|
|
||||||
Var return = ice_tab_process_show
|
|
||||||
)
|
|
||||||
</IceProcessingState>
|
|
||||||
<IceProcessingImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </IceProcessingImage>
|
|
||||||
<IceProcessingDisableImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </IceProcessingDisableImage>
|
|
||||||
<EventOnClick>
|
|
||||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_Coconut_Milk_Strawberry_Smoothie.png"
|
|
||||||
Var OpenFromXML = CurrentXMLFileName2
|
|
||||||
Var PriceD1 = $##-##-##-####.Price
|
|
||||||
Var PriceD2 = $##-##-##-####.Price
|
|
||||||
Var PriceD3 = $12-03-03-0104.Price
|
|
||||||
Var PD_CODE1 = "##-##-##-####"
|
|
||||||
Var PD_CODE2 = "##-##-##-####"
|
|
||||||
Var PD_CODE3 = "12-03-03-0104"
|
|
||||||
Var PD_STAGE_1 = "Disable2"
|
|
||||||
Var PD_STAGE_2 = "Disable2"
|
|
||||||
Var PD_STAGE_3 = $12-03-03-0104.Button
|
|
||||||
Var OverlayMenuFilter !assigned xmlpro( 12-03-03-0104, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
|
||||||
DEBUGVAR OverlayMenuFilter
|
|
||||||
Var SelectCountDrinkType = 0
|
|
||||||
Var DefaultDrinkType = 0
|
|
||||||
If PD_STAGE_1 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 1
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_2 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 2
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_3 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 3
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_2 = "Enable" Then
|
|
||||||
Topping "Load" "-"
|
|
||||||
Else
|
|
||||||
If PD_STAGE_1 = "Enable" Then
|
|
||||||
Topping "Load" "-"
|
|
||||||
Else
|
|
||||||
Topping "Load" "12-03-03-0104"
|
|
||||||
EndIf
|
|
||||||
EndIf
|
|
||||||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
|
||||||
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
|
||||||
Var menu_name_thai_hot = $##-##-##-####.Name
|
|
||||||
Var menu_desc_thai_hot = $##-##-##-####.description
|
|
||||||
|
|
||||||
Var menu_name_eng_cold = $##-##-##-####.NameE
|
|
||||||
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
|
|
||||||
Var menu_name_thai_cold = $##-##-##-####.Name
|
|
||||||
Var menu_desc_thai_cold = $##-##-##-####.description
|
|
||||||
|
|
||||||
Var menu_name_eng_blender = $12-03-03-0104.NameE
|
|
||||||
Var menu_desc_eng_blender = $12-03-03-0104.descriptionE
|
|
||||||
Var menu_name_thai_blender = $12-03-03-0104.Name
|
|
||||||
Var menu_desc_thai_blender = $12-03-03-0104.description
|
|
||||||
|
|
||||||
DEBUGVAR PD_STAGE_1
|
|
||||||
DEBUGVAR PD_STAGE_2
|
|
||||||
DEBUGVAR PD_STAGE_3
|
|
||||||
Var SelectDrinkType = 0
|
|
||||||
|
|
||||||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
|
||||||
</EventOnClick>
|
|
||||||
</Menu>
|
|
||||||
|
|
||||||
; ==================> Len = 15
|
|
||||||
; - - 12-03-03-0105
|
|
||||||
<Menu>
|
|
||||||
<State> Flag( 12-03-03-0105.Button,$Sum1203030105) </State>
|
|
||||||
<IdleImage> "ROOT/taobin_project/image/page_drink_n//bn_Coconut_Milk_Cocoa_Smoothie.png" </IdleImage>
|
|
||||||
<PressImage> "ROOT/taobin_project/image/page_drink_press_n//bn_Coconut_Milk_Cocoa_Smoothie.png" </PressImage>
|
|
||||||
<DisableImage> "ROOT/taobin_project/image/page_drink_disable_n2//bn_Coconut_Milk_Cocoa_Smoothie.png" </DisableImage>
|
|
||||||
<Name>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "Coconut Milk\nCocoa Ice Cream"
|
|
||||||
Else
|
|
||||||
Var return = "เต่าบินไอติมถัง\nโกโก้"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</Name>
|
|
||||||
<Description>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "Coconut, Caramel, Cocoa, Milk,\nSugar And Ice"
|
|
||||||
Else
|
|
||||||
Var return = "มะพร้าว, คาราเมล, โกโก้, นม, น้ำตาล\nและ น้ำแข็ง"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</Description>
|
|
||||||
<HotState> "Disable2" </HotState>
|
|
||||||
<IceState> "Disable2" </IceState>
|
|
||||||
<BlendState> $12-03-03-0105.Button </BlendState>
|
|
||||||
<HotPrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </HotPrice>
|
|
||||||
<IcePrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </IcePrice>
|
|
||||||
<BlendPrice> StringFmt( $12-03-03-0105.Price , DisplayFormat, PreScaleConvertShow) </BlendPrice>
|
|
||||||
<IceProcessingState>
|
|
||||||
eval(
|
|
||||||
If ICE_PROCESS_STATUS = 2 Then
|
|
||||||
If $Sum510201003951020200395102030039 = "Disable" Then
|
|
||||||
Var ice_tab_process_show = "Disable"
|
|
||||||
Else
|
|
||||||
Var ice_tab_process_show = "Enable"
|
|
||||||
EndIf
|
|
||||||
Else
|
|
||||||
Var ice_tab_process_show = "Invisible"
|
|
||||||
EndIf
|
|
||||||
Var return = ice_tab_process_show
|
|
||||||
)
|
|
||||||
</IceProcessingState>
|
|
||||||
<IceProcessingImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </IceProcessingImage>
|
|
||||||
<IceProcessingDisableImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </IceProcessingDisableImage>
|
|
||||||
<EventOnClick>
|
|
||||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_Coconut_Milk_Cocoa_Smoothie.png"
|
|
||||||
Var OpenFromXML = CurrentXMLFileName2
|
|
||||||
Var PriceD1 = $##-##-##-####.Price
|
|
||||||
Var PriceD2 = $##-##-##-####.Price
|
|
||||||
Var PriceD3 = $12-03-03-0105.Price
|
|
||||||
Var PD_CODE1 = "##-##-##-####"
|
|
||||||
Var PD_CODE2 = "##-##-##-####"
|
|
||||||
Var PD_CODE3 = "12-03-03-0105"
|
|
||||||
Var PD_STAGE_1 = "Disable2"
|
|
||||||
Var PD_STAGE_2 = "Disable2"
|
|
||||||
Var PD_STAGE_3 = $12-03-03-0105.Button
|
|
||||||
Var OverlayMenuFilter !assigned xmlpro( 12-03-03-0105, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
|
||||||
DEBUGVAR OverlayMenuFilter
|
|
||||||
Var SelectCountDrinkType = 0
|
|
||||||
Var DefaultDrinkType = 0
|
|
||||||
If PD_STAGE_1 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 1
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_2 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 2
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_3 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 3
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_2 = "Enable" Then
|
|
||||||
Topping "Load" "-"
|
|
||||||
Else
|
|
||||||
If PD_STAGE_1 = "Enable" Then
|
|
||||||
Topping "Load" "-"
|
|
||||||
Else
|
|
||||||
Topping "Load" "12-03-03-0105"
|
|
||||||
EndIf
|
|
||||||
EndIf
|
|
||||||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
|
||||||
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
|
||||||
Var menu_name_thai_hot = $##-##-##-####.Name
|
|
||||||
Var menu_desc_thai_hot = $##-##-##-####.description
|
|
||||||
|
|
||||||
Var menu_name_eng_cold = $##-##-##-####.NameE
|
|
||||||
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
|
|
||||||
Var menu_name_thai_cold = $##-##-##-####.Name
|
|
||||||
Var menu_desc_thai_cold = $##-##-##-####.description
|
|
||||||
|
|
||||||
Var menu_name_eng_blender = $12-03-03-0105.NameE
|
|
||||||
Var menu_desc_eng_blender = $12-03-03-0105.descriptionE
|
|
||||||
Var menu_name_thai_blender = $12-03-03-0105.Name
|
|
||||||
Var menu_desc_thai_blender = $12-03-03-0105.description
|
|
||||||
|
|
||||||
DEBUGVAR PD_STAGE_1
|
|
||||||
DEBUGVAR PD_STAGE_2
|
|
||||||
DEBUGVAR PD_STAGE_3
|
|
||||||
Var SelectDrinkType = 0
|
|
||||||
|
|
||||||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
|
||||||
</EventOnClick>
|
|
||||||
</Menu>
|
|
||||||
|
|
||||||
; ==================> Len = 15
|
|
||||||
; - - 12-03-03-0106
|
|
||||||
<Menu>
|
|
||||||
<State> Flag( 12-03-03-0106.Button,$Sum1203030106) </State>
|
|
||||||
<IdleImage> "ROOT/taobin_project/image/page_drink_n//bn_Coconut_Milk_Matcha_Smoothie.png" </IdleImage>
|
|
||||||
<PressImage> "ROOT/taobin_project/image/page_drink_press_n//bn_Coconut_Milk_Matcha_Smoothie.png" </PressImage>
|
|
||||||
<DisableImage> "ROOT/taobin_project/image/page_drink_disable_n2//bn_Coconut_Milk_Matcha_Smoothie.png" </DisableImage>
|
|
||||||
<Name>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "Coconut Milk\nMatcha Ice Cream"
|
|
||||||
Else
|
|
||||||
Var return = "เต่าบินไอติมถัง\nมัทฉะญี่ปุ่น"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</Name>
|
|
||||||
<Description>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "Coconut, Caramel, Matcha, Milk,\nSugar And Ice"
|
|
||||||
Else
|
|
||||||
Var return = "มะพร้าว, คาราเมล, มัทฉะ, นม, น้ำตาล\nและ น้ำแข็ง"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</Description>
|
|
||||||
<HotState> "Disable2" </HotState>
|
|
||||||
<IceState> "Disable2" </IceState>
|
|
||||||
<BlendState> $12-03-03-0106.Button </BlendState>
|
|
||||||
<HotPrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </HotPrice>
|
|
||||||
<IcePrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </IcePrice>
|
|
||||||
<BlendPrice> StringFmt( $12-03-03-0106.Price , DisplayFormat, PreScaleConvertShow) </BlendPrice>
|
|
||||||
<IceProcessingState>
|
|
||||||
eval(
|
|
||||||
If ICE_PROCESS_STATUS = 2 Then
|
|
||||||
If $Sum510201003951020200395102030039 = "Disable" Then
|
|
||||||
Var ice_tab_process_show = "Disable"
|
|
||||||
Else
|
|
||||||
Var ice_tab_process_show = "Enable"
|
|
||||||
EndIf
|
|
||||||
Else
|
|
||||||
Var ice_tab_process_show = "Invisible"
|
|
||||||
EndIf
|
|
||||||
Var return = ice_tab_process_show
|
|
||||||
)
|
|
||||||
</IceProcessingState>
|
|
||||||
<IceProcessingImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </IceProcessingImage>
|
|
||||||
<IceProcessingDisableImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </IceProcessingDisableImage>
|
|
||||||
<EventOnClick>
|
|
||||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_Coconut_Milk_Matcha_Smoothie.png"
|
|
||||||
Var OpenFromXML = CurrentXMLFileName2
|
|
||||||
Var PriceD1 = $##-##-##-####.Price
|
|
||||||
Var PriceD2 = $##-##-##-####.Price
|
|
||||||
Var PriceD3 = $12-03-03-0106.Price
|
|
||||||
Var PD_CODE1 = "##-##-##-####"
|
|
||||||
Var PD_CODE2 = "##-##-##-####"
|
|
||||||
Var PD_CODE3 = "12-03-03-0106"
|
|
||||||
Var PD_STAGE_1 = "Disable2"
|
|
||||||
Var PD_STAGE_2 = "Disable2"
|
|
||||||
Var PD_STAGE_3 = $12-03-03-0106.Button
|
|
||||||
Var OverlayMenuFilter !assigned xmlpro( 12-03-03-0106, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
|
||||||
DEBUGVAR OverlayMenuFilter
|
|
||||||
Var SelectCountDrinkType = 0
|
|
||||||
Var DefaultDrinkType = 0
|
|
||||||
If PD_STAGE_1 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 1
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_2 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 2
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_3 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 3
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_2 = "Enable" Then
|
|
||||||
Topping "Load" "-"
|
|
||||||
Else
|
|
||||||
If PD_STAGE_1 = "Enable" Then
|
|
||||||
Topping "Load" "-"
|
|
||||||
Else
|
|
||||||
Topping "Load" "12-03-03-0106"
|
|
||||||
EndIf
|
|
||||||
EndIf
|
|
||||||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
|
||||||
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
|
||||||
Var menu_name_thai_hot = $##-##-##-####.Name
|
|
||||||
Var menu_desc_thai_hot = $##-##-##-####.description
|
|
||||||
|
|
||||||
Var menu_name_eng_cold = $##-##-##-####.NameE
|
|
||||||
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
|
|
||||||
Var menu_name_thai_cold = $##-##-##-####.Name
|
|
||||||
Var menu_desc_thai_cold = $##-##-##-####.description
|
|
||||||
|
|
||||||
Var menu_name_eng_blender = $12-03-03-0106.NameE
|
|
||||||
Var menu_desc_eng_blender = $12-03-03-0106.descriptionE
|
|
||||||
Var menu_name_thai_blender = $12-03-03-0106.Name
|
|
||||||
Var menu_desc_thai_blender = $12-03-03-0106.description
|
|
||||||
|
|
||||||
DEBUGVAR PD_STAGE_1
|
|
||||||
DEBUGVAR PD_STAGE_2
|
|
||||||
DEBUGVAR PD_STAGE_3
|
|
||||||
Var SelectDrinkType = 0
|
|
||||||
|
|
||||||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
|
||||||
</EventOnClick>
|
|
||||||
</Menu>
|
|
||||||
|
|
||||||
; ==================> Len = 15
|
|
||||||
; - - 12-01-03-0090
|
|
||||||
<Menu>
|
|
||||||
<State> Flag( 12-01-03-0090.Button,$Sum1201030090) </State>
|
|
||||||
<IdleImage> "ROOT/taobin_project/image/page_drink_n//bn_Coconut_Milk_Coffee_Smoothie.png" </IdleImage>
|
|
||||||
<PressImage> "ROOT/taobin_project/image/page_drink_press_n//bn_Coconut_Milk_Coffee_Smoothie.png" </PressImage>
|
|
||||||
<DisableImage> "ROOT/taobin_project/image/page_drink_disable_n2//bn_Coconut_Milk_Coffee_Smoothie.png" </DisableImage>
|
|
||||||
<Name>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "Coconut Milk\nCoffee Ice Cream"
|
|
||||||
Else
|
|
||||||
Var return = "เต่าบินไอติมถัง\nกาแฟ"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</Name>
|
|
||||||
<Description>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "Coconut, Caramel, Coffee, Milk,\nSugar And Ice"
|
|
||||||
Else
|
|
||||||
Var return = "มะพร้าว, คาราเมล, กาแฟ, นม, น้ำตาล\nและ น้ำแข็ง"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</Description>
|
|
||||||
<HotState> "Disable2" </HotState>
|
|
||||||
<IceState> "Disable2" </IceState>
|
|
||||||
<BlendState> $12-01-03-0090.Button </BlendState>
|
|
||||||
<HotPrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </HotPrice>
|
|
||||||
<IcePrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </IcePrice>
|
|
||||||
<BlendPrice> StringFmt( $12-01-03-0090.Price , DisplayFormat, PreScaleConvertShow) </BlendPrice>
|
|
||||||
<IceProcessingState>
|
|
||||||
eval(
|
|
||||||
If ICE_PROCESS_STATUS = 2 Then
|
|
||||||
If $Sum510201003951020200395102030039 = "Disable" Then
|
|
||||||
Var ice_tab_process_show = "Disable"
|
|
||||||
Else
|
|
||||||
Var ice_tab_process_show = "Enable"
|
|
||||||
EndIf
|
|
||||||
Else
|
|
||||||
Var ice_tab_process_show = "Invisible"
|
|
||||||
EndIf
|
|
||||||
Var return = ice_tab_process_show
|
|
||||||
)
|
|
||||||
</IceProcessingState>
|
|
||||||
<IceProcessingImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </IceProcessingImage>
|
|
||||||
<IceProcessingDisableImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </IceProcessingDisableImage>
|
|
||||||
<EventOnClick>
|
|
||||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_Coconut_Milk_Coffee_Smoothie.png"
|
|
||||||
Var OpenFromXML = CurrentXMLFileName2
|
|
||||||
Var PriceD1 = $##-##-##-####.Price
|
|
||||||
Var PriceD2 = $##-##-##-####.Price
|
|
||||||
Var PriceD3 = $12-01-03-0090.Price
|
|
||||||
Var PD_CODE1 = "##-##-##-####"
|
|
||||||
Var PD_CODE2 = "##-##-##-####"
|
|
||||||
Var PD_CODE3 = "12-01-03-0090"
|
|
||||||
Var PD_STAGE_1 = "Disable2"
|
|
||||||
Var PD_STAGE_2 = "Disable2"
|
|
||||||
Var PD_STAGE_3 = $12-01-03-0090.Button
|
|
||||||
Var OverlayMenuFilter !assigned xmlpro( 12-01-03-0090, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
|
||||||
DEBUGVAR OverlayMenuFilter
|
|
||||||
Var SelectCountDrinkType = 0
|
|
||||||
Var DefaultDrinkType = 0
|
|
||||||
If PD_STAGE_1 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 1
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_2 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 2
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_3 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 3
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_2 = "Enable" Then
|
|
||||||
Topping "Load" "-"
|
|
||||||
Else
|
|
||||||
If PD_STAGE_1 = "Enable" Then
|
|
||||||
Topping "Load" "-"
|
|
||||||
Else
|
|
||||||
Topping "Load" "12-01-03-0090"
|
|
||||||
EndIf
|
|
||||||
EndIf
|
|
||||||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
|
||||||
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
|
||||||
Var menu_name_thai_hot = $##-##-##-####.Name
|
|
||||||
Var menu_desc_thai_hot = $##-##-##-####.description
|
|
||||||
|
|
||||||
Var menu_name_eng_cold = $##-##-##-####.NameE
|
|
||||||
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
|
|
||||||
Var menu_name_thai_cold = $##-##-##-####.Name
|
|
||||||
Var menu_desc_thai_cold = $##-##-##-####.description
|
|
||||||
|
|
||||||
Var menu_name_eng_blender = $12-01-03-0090.NameE
|
|
||||||
Var menu_desc_eng_blender = $12-01-03-0090.descriptionE
|
|
||||||
Var menu_name_thai_blender = $12-01-03-0090.Name
|
|
||||||
Var menu_desc_thai_blender = $12-01-03-0090.description
|
|
||||||
|
|
||||||
DEBUGVAR PD_STAGE_1
|
|
||||||
DEBUGVAR PD_STAGE_2
|
|
||||||
DEBUGVAR PD_STAGE_3
|
|
||||||
Var SelectDrinkType = 0
|
|
||||||
|
|
||||||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
|
||||||
</EventOnClick>
|
|
||||||
</Menu>
|
|
||||||
|
|
||||||
; - - 12-21-03-0090
|
|
||||||
<Menu>
|
|
||||||
<State> Flag( 12-21-03-0090.Button,$Sum1221030090) </State>
|
|
||||||
<IdleImage> "ROOT/taobin_project/image/page_drink_n//bn_Coconut_Milk_Coffee_Smoothie.png" </IdleImage>
|
|
||||||
<PressImage> "ROOT/taobin_project/image/page_drink_press_n//bn_Coconut_Milk_Coffee_Smoothie.png" </PressImage>
|
|
||||||
<DisableImage> "ROOT/taobin_project/image/page_drink_disable_n2//bn_Coconut_Milk_Coffee_Smoothie.png" </DisableImage>
|
|
||||||
<Name>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "Coconut Milk\nCoffee Ice Cream"
|
|
||||||
Else
|
|
||||||
Var return = "เต่าบินไอติมถัง\nกาแฟ"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</Name>
|
|
||||||
<Description>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "Coconut, Caramel, Coffee, Milk,\nSugar And Ice"
|
|
||||||
Else
|
|
||||||
Var return = "มะพร้าว, คาราเมล, กาแฟ, นม, น้ำตาล\nและ น้ำแข็ง"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</Description>
|
|
||||||
<HotState> "Disable2" </HotState>
|
|
||||||
<IceState> "Disable2" </IceState>
|
|
||||||
<BlendState> $12-21-03-0090.Button </BlendState>
|
|
||||||
<HotPrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </HotPrice>
|
|
||||||
<IcePrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </IcePrice>
|
|
||||||
<BlendPrice> StringFmt( $12-21-03-0090.Price , DisplayFormat, PreScaleConvertShow) </BlendPrice>
|
|
||||||
<IceProcessingState>
|
|
||||||
eval(
|
|
||||||
If ICE_PROCESS_STATUS = 2 Then
|
|
||||||
If $Sum510201003951020200395102030039 = "Disable" Then
|
|
||||||
Var ice_tab_process_show = "Disable"
|
|
||||||
Else
|
|
||||||
Var ice_tab_process_show = "Enable"
|
|
||||||
EndIf
|
|
||||||
Else
|
|
||||||
Var ice_tab_process_show = "Invisible"
|
|
||||||
EndIf
|
|
||||||
Var return = ice_tab_process_show
|
|
||||||
)
|
|
||||||
</IceProcessingState>
|
|
||||||
<IceProcessingImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </IceProcessingImage>
|
|
||||||
<IceProcessingDisableImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </IceProcessingDisableImage>
|
|
||||||
<EventOnClick>
|
|
||||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_Coconut_Milk_Coffee_Smoothie.png"
|
|
||||||
Var OpenFromXML = CurrentXMLFileName2
|
|
||||||
Var PriceD1 = $##-##-##-####.Price
|
|
||||||
Var PriceD2 = $##-##-##-####.Price
|
|
||||||
Var PriceD3 = $12-21-03-0090.Price
|
|
||||||
Var PD_CODE1 = "##-##-##-####"
|
|
||||||
Var PD_CODE2 = "##-##-##-####"
|
|
||||||
Var PD_CODE3 = "12-21-03-0090"
|
|
||||||
Var PD_STAGE_1 = "Disable2"
|
|
||||||
Var PD_STAGE_2 = "Disable2"
|
|
||||||
Var PD_STAGE_3 = $12-21-03-0090.Button
|
|
||||||
Var OverlayMenuFilter !assigned xmlpro( 12-21-03-0090, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
|
||||||
DEBUGVAR OverlayMenuFilter
|
|
||||||
Var SelectCountDrinkType = 0
|
|
||||||
Var DefaultDrinkType = 0
|
|
||||||
If PD_STAGE_1 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 1
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_2 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 2
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_3 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 3
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_2 = "Enable" Then
|
|
||||||
Topping "Load" "12-21-03-0090"
|
|
||||||
Else
|
|
||||||
If PD_STAGE_1 = "Enable" Then
|
|
||||||
Topping "Load" "-"
|
|
||||||
Else
|
|
||||||
Topping "Load" "-"
|
|
||||||
EndIf
|
|
||||||
EndIf
|
|
||||||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
|
||||||
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
|
||||||
Var menu_name_thai_hot = $##-##-##-####.Name
|
|
||||||
Var menu_desc_thai_hot = $##-##-##-####.description
|
|
||||||
|
|
||||||
Var menu_name_eng_cold = $##-##-##-####.NameE
|
|
||||||
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
|
|
||||||
Var menu_name_thai_cold = $##-##-##-####.Name
|
|
||||||
Var menu_desc_thai_cold = $##-##-##-####.description
|
|
||||||
|
|
||||||
Var menu_name_eng_blender = $12-21-03-0090.NameE
|
|
||||||
Var menu_desc_eng_blender = $12-21-03-0090.descriptionE
|
|
||||||
Var menu_name_thai_blender = $12-21-03-0090.Name
|
|
||||||
Var menu_desc_thai_blender = $12-21-03-0090.description
|
|
||||||
|
|
||||||
DEBUGVAR PD_STAGE_1
|
|
||||||
DEBUGVAR PD_STAGE_2
|
|
||||||
DEBUGVAR PD_STAGE_3
|
|
||||||
Var SelectDrinkType = 0
|
|
||||||
|
|
||||||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
|
||||||
</EventOnClick>
|
|
||||||
</Menu>
|
|
||||||
|
|
||||||
</ScrollableCatalog>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</Popup>
|
|
||||||
|
|
@ -1,51 +0,0 @@
|
||||||
<?hurr
|
|
||||||
#include=menu_head.py
|
|
||||||
?>
|
|
||||||
|
|
||||||
<Popup>
|
|
||||||
<Cache> "Enable" </Cache>
|
|
||||||
<Width> 1080 </Width>
|
|
||||||
<Height> 1920 </Height>
|
|
||||||
;<Background> "0xeae6e1" </Background>
|
|
||||||
<Volume> SoundVolume </Volume>
|
|
||||||
<EventOpen>
|
|
||||||
; On open
|
|
||||||
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
|
|
||||||
Var FromMyMintPro = 0
|
|
||||||
|
|
||||||
Var Timeout = 0
|
|
||||||
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
|
|
||||||
|
|
||||||
</EventOpen>
|
|
||||||
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/xml/v3/menu_catalog_new.xml"
|
|
||||||
|
|
||||||
<?hurr
|
|
||||||
#include=menu_new_layout_gen_v3.py
|
|
||||||
?>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
;BigLogoLayout
|
|
||||||
|
|
||||||
<Button>
|
|
||||||
<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>
|
|
||||||
|
|
||||||
</Popup>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -1,448 +0,0 @@
|
||||||
|
|
||||||
|
|
||||||
<Popup>
|
|
||||||
<Cache> "Enable" </Cache>
|
|
||||||
<Width> 1080 </Width>
|
|
||||||
<Height> 1920 </Height>
|
|
||||||
;<Background> "0xeae6e1" </Background>
|
|
||||||
<Volume> SoundVolume </Volume>
|
|
||||||
<EventOpen>
|
|
||||||
; On open
|
|
||||||
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
|
|
||||||
Var FromMyMintPro = 0
|
|
||||||
|
|
||||||
Var Timeout = 0
|
|
||||||
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
|
|
||||||
|
|
||||||
</EventOpen>
|
|
||||||
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/xml/v3/menu_catalog_new.xml"
|
|
||||||
|
|
||||||
<ScrollableCatalog>
|
|
||||||
<X> 0 </X>
|
|
||||||
<Y> 497 </Y>
|
|
||||||
<Width> 1080 </Width>
|
|
||||||
<Height> 1423 </Height>
|
|
||||||
<Configuration>
|
|
||||||
<MenuNameTextConfiguration>
|
|
||||||
<Font> KanitMediumTTF </Font>
|
|
||||||
<Color> 0x322B26 </Color>
|
|
||||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
|
||||||
<AutoResizeConfiguration>
|
|
||||||
<Min> 16 </Min>
|
|
||||||
<Max> 22 </Max>
|
|
||||||
<AdjustStep> 1 </AdjustStep>
|
|
||||||
</AutoResizeConfiguration>
|
|
||||||
</MenuNameTextConfiguration>
|
|
||||||
<MenuDescriptionTextConfiguration>
|
|
||||||
<Font> KanitMediumTTF </Font>
|
|
||||||
<Color> 0x322B26 </Color>
|
|
||||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
|
||||||
<AutoResizeConfiguration>
|
|
||||||
<Min> 10 </Min>
|
|
||||||
<Max> 14 </Max>
|
|
||||||
<AdjustStep> 1 </AdjustStep>
|
|
||||||
</AutoResizeConfiguration>
|
|
||||||
</MenuDescriptionTextConfiguration>
|
|
||||||
<MenuPriceTextConfiguration>
|
|
||||||
<Font> KanitRegularTTF </Font>
|
|
||||||
<Color> 0x6F5F51 </Color>
|
|
||||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
|
||||||
<AutoResizeConfiguration>
|
|
||||||
<Min> 4 </Min>
|
|
||||||
<Max> 20 </Max>
|
|
||||||
<AdjustStep> 1 </AdjustStep>
|
|
||||||
</AutoResizeConfiguration>
|
|
||||||
</MenuPriceTextConfiguration>
|
|
||||||
<MenuHotPriceLabel>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "Hot"
|
|
||||||
Else
|
|
||||||
Var return = "ร้อน"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</MenuHotPriceLabel>
|
|
||||||
<MenuIcePriceLabel>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "Ice"
|
|
||||||
Else
|
|
||||||
Var return = "เย็น"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</MenuIcePriceLabel>
|
|
||||||
<MenuBlendPriceLabel>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return ="Blend"
|
|
||||||
Else
|
|
||||||
Var return = "ปั่น"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</MenuBlendPriceLabel>
|
|
||||||
<MenuUnavailableLabel>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return ="UNAVAILABLE"
|
|
||||||
Else
|
|
||||||
Var return = "หมด"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</MenuUnavailableLabel>
|
|
||||||
</Configuration>
|
|
||||||
<Menus>
|
|
||||||
;banners
|
|
||||||
; menu_new_list 3
|
|
||||||
; ==================> Len = 15
|
|
||||||
; - - 12-99-03-0026
|
|
||||||
<Menu>
|
|
||||||
<State> Flag( 12-99-03-0026.Button,$Sum1299030026) </State>
|
|
||||||
<IdleImage> "ROOT/taobin_project/image/page_drink_n//bn_smoothie_oreo_freefire.png" </IdleImage>
|
|
||||||
<PressImage> "ROOT/taobin_project/image/page_drink_press_n//bn_smoothie_oreo_freefire.png" </PressImage>
|
|
||||||
<DisableImage> "ROOT/taobin_project/image/page_drink_disable_n2//bn_smoothie_oreo_freefire.png" </DisableImage>
|
|
||||||
<Name>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = ""
|
|
||||||
Else
|
|
||||||
Var return = "คาเพลล่าสวีทดริ๊งค์"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</Name>
|
|
||||||
<Description>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "Strawberry , Milk,\nSugar, Oreo"
|
|
||||||
Else
|
|
||||||
Var return = "สตรอเบอรี นม น้ำตาล \n Oreo"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</Description>
|
|
||||||
<HotState> "Disable2" </HotState>
|
|
||||||
<IceState> "Disable2" </IceState>
|
|
||||||
<BlendState> $12-99-03-0026.Button </BlendState>
|
|
||||||
<HotPrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </HotPrice>
|
|
||||||
<IcePrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </IcePrice>
|
|
||||||
<BlendPrice> StringFmt( $12-99-03-0026.Price , DisplayFormat, PreScaleConvertShow) </BlendPrice>
|
|
||||||
<IceProcessingState>
|
|
||||||
eval(
|
|
||||||
If ICE_PROCESS_STATUS = 2 Then
|
|
||||||
If $Sum510201003951020200395102030039 = "Disable" Then
|
|
||||||
Var ice_tab_process_show = "Disable"
|
|
||||||
Else
|
|
||||||
Var ice_tab_process_show = "Enable"
|
|
||||||
EndIf
|
|
||||||
Else
|
|
||||||
Var ice_tab_process_show = "Invisible"
|
|
||||||
EndIf
|
|
||||||
Var return = ice_tab_process_show
|
|
||||||
)
|
|
||||||
</IceProcessingState>
|
|
||||||
<IceProcessingImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </IceProcessingImage>
|
|
||||||
<IceProcessingDisableImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </IceProcessingDisableImage>
|
|
||||||
<EventOnClick>
|
|
||||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_smoothie_oreo_freefire.png"
|
|
||||||
Var OpenFromXML = CurrentXMLFileName2
|
|
||||||
Var PriceD1 = $##-##-##-####.Price
|
|
||||||
Var PriceD2 = $##-##-##-####.Price
|
|
||||||
Var PriceD3 = $12-99-03-0026.Price
|
|
||||||
Var PD_CODE1 = "##-##-##-####"
|
|
||||||
Var PD_CODE2 = "##-##-##-####"
|
|
||||||
Var PD_CODE3 = "12-99-03-0026"
|
|
||||||
Var PD_STAGE_1 = "Disable2"
|
|
||||||
Var PD_STAGE_2 = "Disable2"
|
|
||||||
Var PD_STAGE_3 = $12-99-03-0026.Button
|
|
||||||
Var OverlayMenuFilter !assigned xmlpro( 12-99-03-0026, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
|
||||||
DEBUGVAR OverlayMenuFilter
|
|
||||||
Var SelectCountDrinkType = 0
|
|
||||||
Var DefaultDrinkType = 0
|
|
||||||
If PD_STAGE_1 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 1
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_2 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 2
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_3 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 3
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_2 = "Enable" Then
|
|
||||||
Topping "Load" "-"
|
|
||||||
Else
|
|
||||||
If PD_STAGE_1 = "Enable" Then
|
|
||||||
Topping "Load" "-"
|
|
||||||
Else
|
|
||||||
Topping "Load" "12-99-03-0026"
|
|
||||||
EndIf
|
|
||||||
EndIf
|
|
||||||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
|
||||||
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
|
||||||
Var menu_name_thai_hot = $##-##-##-####.Name
|
|
||||||
Var menu_desc_thai_hot = $##-##-##-####.description
|
|
||||||
|
|
||||||
Var menu_name_eng_cold = $##-##-##-####.NameE
|
|
||||||
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
|
|
||||||
Var menu_name_thai_cold = $##-##-##-####.Name
|
|
||||||
Var menu_desc_thai_cold = $##-##-##-####.description
|
|
||||||
|
|
||||||
Var menu_name_eng_blender = $12-99-03-0026.NameE
|
|
||||||
Var menu_desc_eng_blender = $12-99-03-0026.descriptionE
|
|
||||||
Var menu_name_thai_blender = $12-99-03-0026.Name
|
|
||||||
Var menu_desc_thai_blender = $12-99-03-0026.description
|
|
||||||
|
|
||||||
DEBUGVAR PD_STAGE_1
|
|
||||||
DEBUGVAR PD_STAGE_2
|
|
||||||
DEBUGVAR PD_STAGE_3
|
|
||||||
Var SelectDrinkType = 0
|
|
||||||
|
|
||||||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
|
||||||
</EventOnClick>
|
|
||||||
</Menu>
|
|
||||||
|
|
||||||
; ==================> Len = 15
|
|
||||||
; - - 12-99-03-0067
|
|
||||||
<Menu>
|
|
||||||
<State> Flag( 12-99-03-0067.Button,$Sum1299030067) </State>
|
|
||||||
<IdleImage> "ROOT/taobin_project/image/page_drink_n//bn_smoothie_oreo_Chocolate_Milk_freefire.png" </IdleImage>
|
|
||||||
<PressImage> "ROOT/taobin_project/image/page_drink_press_n//bn_smoothie_oreo_Chocolate_Milk_freefire.png" </PressImage>
|
|
||||||
<DisableImage> "ROOT/taobin_project/image/page_drink_disable_n2//bn_smoothie_oreo_Chocolate_Milk_freefire.png" </DisableImage>
|
|
||||||
<Name>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "Maxim's Booster"
|
|
||||||
Else
|
|
||||||
Var return = "แม๊กซิมบูสเตอร์ "
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</Name>
|
|
||||||
<Description>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "Pepsi, Cocoa, Milk, Oreo and Ice"
|
|
||||||
Else
|
|
||||||
Var return = "เป๊ปซี่ โกโก้ นม และโอรีโอ"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</Description>
|
|
||||||
<HotState> "Disable2" </HotState>
|
|
||||||
<IceState> "Disable2" </IceState>
|
|
||||||
<BlendState> $12-99-03-0067.Button </BlendState>
|
|
||||||
<HotPrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </HotPrice>
|
|
||||||
<IcePrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </IcePrice>
|
|
||||||
<BlendPrice> StringFmt( $12-99-03-0067.Price , DisplayFormat, PreScaleConvertShow) </BlendPrice>
|
|
||||||
<IceProcessingState>
|
|
||||||
eval(
|
|
||||||
If ICE_PROCESS_STATUS = 2 Then
|
|
||||||
If $Sum510201003951020200395102030039 = "Disable" Then
|
|
||||||
Var ice_tab_process_show = "Disable"
|
|
||||||
Else
|
|
||||||
Var ice_tab_process_show = "Enable"
|
|
||||||
EndIf
|
|
||||||
Else
|
|
||||||
Var ice_tab_process_show = "Invisible"
|
|
||||||
EndIf
|
|
||||||
Var return = ice_tab_process_show
|
|
||||||
)
|
|
||||||
</IceProcessingState>
|
|
||||||
<IceProcessingImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </IceProcessingImage>
|
|
||||||
<IceProcessingDisableImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </IceProcessingDisableImage>
|
|
||||||
<EventOnClick>
|
|
||||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_smoothie_oreo_Chocolate_Milk_freefire.png"
|
|
||||||
Var OpenFromXML = CurrentXMLFileName2
|
|
||||||
Var PriceD1 = $##-##-##-####.Price
|
|
||||||
Var PriceD2 = $##-##-##-####.Price
|
|
||||||
Var PriceD3 = $12-99-03-0067.Price
|
|
||||||
Var PD_CODE1 = "##-##-##-####"
|
|
||||||
Var PD_CODE2 = "##-##-##-####"
|
|
||||||
Var PD_CODE3 = "12-99-03-0067"
|
|
||||||
Var PD_STAGE_1 = "Disable2"
|
|
||||||
Var PD_STAGE_2 = "Disable2"
|
|
||||||
Var PD_STAGE_3 = $12-99-03-0067.Button
|
|
||||||
Var OverlayMenuFilter !assigned xmlpro( 12-99-03-0067, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
|
||||||
DEBUGVAR OverlayMenuFilter
|
|
||||||
Var SelectCountDrinkType = 0
|
|
||||||
Var DefaultDrinkType = 0
|
|
||||||
If PD_STAGE_1 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 1
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_2 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 2
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_3 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 3
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_2 = "Enable" Then
|
|
||||||
Topping "Load" "-"
|
|
||||||
Else
|
|
||||||
If PD_STAGE_1 = "Enable" Then
|
|
||||||
Topping "Load" "-"
|
|
||||||
Else
|
|
||||||
Topping "Load" "12-99-03-0067"
|
|
||||||
EndIf
|
|
||||||
EndIf
|
|
||||||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
|
||||||
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
|
||||||
Var menu_name_thai_hot = $##-##-##-####.Name
|
|
||||||
Var menu_desc_thai_hot = $##-##-##-####.description
|
|
||||||
|
|
||||||
Var menu_name_eng_cold = $##-##-##-####.NameE
|
|
||||||
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
|
|
||||||
Var menu_name_thai_cold = $##-##-##-####.Name
|
|
||||||
Var menu_desc_thai_cold = $##-##-##-####.description
|
|
||||||
|
|
||||||
Var menu_name_eng_blender = $12-99-03-0067.NameE
|
|
||||||
Var menu_desc_eng_blender = $12-99-03-0067.descriptionE
|
|
||||||
Var menu_name_thai_blender = $12-99-03-0067.Name
|
|
||||||
Var menu_desc_thai_blender = $12-99-03-0067.description
|
|
||||||
|
|
||||||
DEBUGVAR PD_STAGE_1
|
|
||||||
DEBUGVAR PD_STAGE_2
|
|
||||||
DEBUGVAR PD_STAGE_3
|
|
||||||
Var SelectDrinkType = 0
|
|
||||||
|
|
||||||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
|
||||||
</EventOnClick>
|
|
||||||
</Menu>
|
|
||||||
|
|
||||||
; ==================> Len = 15
|
|
||||||
; - - 12-99-03-0066
|
|
||||||
<Menu>
|
|
||||||
<State> Flag( 12-99-03-0066.Button,$Sum1299030066) </State>
|
|
||||||
<IdleImage> "ROOT/taobin_project/image/page_drink_n//bn_smoothie_oreo_Pepsi_Milk_freefire.png" </IdleImage>
|
|
||||||
<PressImage> "ROOT/taobin_project/image/page_drink_press_n//bn_smoothie_oreo_Pepsi_Milk_freefire.png" </PressImage>
|
|
||||||
<DisableImage> "ROOT/taobin_project/image/page_drink_disable_n2//bn_smoothie_oreo_Pepsi_Milk_freefire.png" </DisableImage>
|
|
||||||
<Name>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "Kelly's Secret Recipe"
|
|
||||||
Else
|
|
||||||
Var return = "สูตรลับเคลลี่"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</Name>
|
|
||||||
<Description>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "pepsi, Milk,\nSugar, Oreo"
|
|
||||||
Else
|
|
||||||
Var return = "เป๊ปซี่ นม และโอรีโอ"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</Description>
|
|
||||||
<HotState> "Disable2" </HotState>
|
|
||||||
<IceState> "Disable2" </IceState>
|
|
||||||
<BlendState> $12-99-03-0066.Button </BlendState>
|
|
||||||
<HotPrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </HotPrice>
|
|
||||||
<IcePrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </IcePrice>
|
|
||||||
<BlendPrice> StringFmt( $12-99-03-0066.Price , DisplayFormat, PreScaleConvertShow) </BlendPrice>
|
|
||||||
<IceProcessingState>
|
|
||||||
eval(
|
|
||||||
If ICE_PROCESS_STATUS = 2 Then
|
|
||||||
If $Sum510201003951020200395102030039 = "Disable" Then
|
|
||||||
Var ice_tab_process_show = "Disable"
|
|
||||||
Else
|
|
||||||
Var ice_tab_process_show = "Enable"
|
|
||||||
EndIf
|
|
||||||
Else
|
|
||||||
Var ice_tab_process_show = "Invisible"
|
|
||||||
EndIf
|
|
||||||
Var return = ice_tab_process_show
|
|
||||||
)
|
|
||||||
</IceProcessingState>
|
|
||||||
<IceProcessingImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </IceProcessingImage>
|
|
||||||
<IceProcessingDisableImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </IceProcessingDisableImage>
|
|
||||||
<EventOnClick>
|
|
||||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_smoothie_oreo_Pepsi_Milk_freefire.png"
|
|
||||||
Var OpenFromXML = CurrentXMLFileName2
|
|
||||||
Var PriceD1 = $##-##-##-####.Price
|
|
||||||
Var PriceD2 = $##-##-##-####.Price
|
|
||||||
Var PriceD3 = $12-99-03-0066.Price
|
|
||||||
Var PD_CODE1 = "##-##-##-####"
|
|
||||||
Var PD_CODE2 = "##-##-##-####"
|
|
||||||
Var PD_CODE3 = "12-99-03-0066"
|
|
||||||
Var PD_STAGE_1 = "Disable2"
|
|
||||||
Var PD_STAGE_2 = "Disable2"
|
|
||||||
Var PD_STAGE_3 = $12-99-03-0066.Button
|
|
||||||
Var OverlayMenuFilter !assigned xmlpro( 12-99-03-0066, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
|
||||||
DEBUGVAR OverlayMenuFilter
|
|
||||||
Var SelectCountDrinkType = 0
|
|
||||||
Var DefaultDrinkType = 0
|
|
||||||
If PD_STAGE_1 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 1
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_2 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 2
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_3 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 3
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_2 = "Enable" Then
|
|
||||||
Topping "Load" "-"
|
|
||||||
Else
|
|
||||||
If PD_STAGE_1 = "Enable" Then
|
|
||||||
Topping "Load" "-"
|
|
||||||
Else
|
|
||||||
Topping "Load" "12-99-03-0066"
|
|
||||||
EndIf
|
|
||||||
EndIf
|
|
||||||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
|
||||||
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
|
||||||
Var menu_name_thai_hot = $##-##-##-####.Name
|
|
||||||
Var menu_desc_thai_hot = $##-##-##-####.description
|
|
||||||
|
|
||||||
Var menu_name_eng_cold = $##-##-##-####.NameE
|
|
||||||
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
|
|
||||||
Var menu_name_thai_cold = $##-##-##-####.Name
|
|
||||||
Var menu_desc_thai_cold = $##-##-##-####.description
|
|
||||||
|
|
||||||
Var menu_name_eng_blender = $12-99-03-0066.NameE
|
|
||||||
Var menu_desc_eng_blender = $12-99-03-0066.descriptionE
|
|
||||||
Var menu_name_thai_blender = $12-99-03-0066.Name
|
|
||||||
Var menu_desc_thai_blender = $12-99-03-0066.description
|
|
||||||
|
|
||||||
DEBUGVAR PD_STAGE_1
|
|
||||||
DEBUGVAR PD_STAGE_2
|
|
||||||
DEBUGVAR PD_STAGE_3
|
|
||||||
Var SelectDrinkType = 0
|
|
||||||
|
|
||||||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
|
||||||
</EventOnClick>
|
|
||||||
</Menu>
|
|
||||||
|
|
||||||
</ScrollableCatalog>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
;BigLogoLayout
|
|
||||||
|
|
||||||
<Button>
|
|
||||||
<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>
|
|
||||||
|
|
||||||
</Popup>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -1,51 +0,0 @@
|
||||||
<?hurr
|
|
||||||
#include=menu_head.py
|
|
||||||
?>
|
|
||||||
|
|
||||||
<Popup>
|
|
||||||
<Cache> "Enable" </Cache>
|
|
||||||
<Width> 1080 </Width>
|
|
||||||
<Height> 1920 </Height>
|
|
||||||
;<Background> "0xeae6e1" </Background>
|
|
||||||
<Volume> SoundVolume </Volume>
|
|
||||||
<EventOpen>
|
|
||||||
; On open
|
|
||||||
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
|
|
||||||
Var FromHalloweenPro = 0
|
|
||||||
|
|
||||||
Var Timeout = 0
|
|
||||||
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
|
|
||||||
|
|
||||||
</EventOpen>
|
|
||||||
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/xml/v3/menu_catalog_new.xml"
|
|
||||||
|
|
||||||
<?hurr
|
|
||||||
#include=menu_new_layout_gen_v3.py
|
|
||||||
?>
|
|
||||||
|
|
||||||
<Button>
|
|
||||||
<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>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
;BigLogoLayout
|
|
||||||
|
|
||||||
</Popup>
|
|
||||||
|
|
||||||
|
|
||||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,34 +0,0 @@
|
||||||
<?hurr
|
|
||||||
#include=menu_head.py
|
|
||||||
?>
|
|
||||||
|
|
||||||
<Popup>
|
|
||||||
<Cache> "Enable" </Cache>
|
|
||||||
<Width> 1080 </Width>
|
|
||||||
<Height> 1920 </Height>
|
|
||||||
;<Background> "0xeae6e1" </Background>
|
|
||||||
<Volume> SoundVolume </Volume>
|
|
||||||
<EventOpen>
|
|
||||||
; On open
|
|
||||||
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
|
|
||||||
|
|
||||||
|
|
||||||
Var Timeout = 0
|
|
||||||
Var FromHappyTriosPro = 0
|
|
||||||
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
|
|
||||||
</EventOpen>
|
|
||||||
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/xml/v3/menu_catalog_new.xml"
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<?hurr
|
|
||||||
#include=menu_new_layout_gen_v3.py
|
|
||||||
?>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</Popup>
|
|
||||||
|
|
@ -1,538 +0,0 @@
|
||||||
|
|
||||||
|
|
||||||
<Popup>
|
|
||||||
<Cache> "Enable" </Cache>
|
|
||||||
<Width> 1080 </Width>
|
|
||||||
<Height> 1920 </Height>
|
|
||||||
;<Background> "0xeae6e1" </Background>
|
|
||||||
<Volume> SoundVolume </Volume>
|
|
||||||
<EventOpen>
|
|
||||||
; On open
|
|
||||||
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
|
|
||||||
|
|
||||||
|
|
||||||
Var Timeout = 0
|
|
||||||
Var FromHappyTriosPro = 0
|
|
||||||
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
|
|
||||||
</EventOpen>
|
|
||||||
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/xml/v3/menu_catalog_new.xml"
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<ScrollableCatalog>
|
|
||||||
<X> 0 </X>
|
|
||||||
<Y> 497 </Y>
|
|
||||||
<Width> 1080 </Width>
|
|
||||||
<Height> 1423 </Height>
|
|
||||||
<Configuration>
|
|
||||||
<MenuNameTextConfiguration>
|
|
||||||
<Font> KanitMediumTTF </Font>
|
|
||||||
<Color> 0x322B26 </Color>
|
|
||||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
|
||||||
<AutoResizeConfiguration>
|
|
||||||
<Min> 16 </Min>
|
|
||||||
<Max> 22 </Max>
|
|
||||||
<AdjustStep> 1 </AdjustStep>
|
|
||||||
</AutoResizeConfiguration>
|
|
||||||
</MenuNameTextConfiguration>
|
|
||||||
<MenuDescriptionTextConfiguration>
|
|
||||||
<Font> KanitMediumTTF </Font>
|
|
||||||
<Color> 0x322B26 </Color>
|
|
||||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
|
||||||
<AutoResizeConfiguration>
|
|
||||||
<Min> 10 </Min>
|
|
||||||
<Max> 14 </Max>
|
|
||||||
<AdjustStep> 1 </AdjustStep>
|
|
||||||
</AutoResizeConfiguration>
|
|
||||||
</MenuDescriptionTextConfiguration>
|
|
||||||
<MenuPriceTextConfiguration>
|
|
||||||
<Font> KanitRegularTTF </Font>
|
|
||||||
<Color> 0x6F5F51 </Color>
|
|
||||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
|
||||||
<AutoResizeConfiguration>
|
|
||||||
<Min> 4 </Min>
|
|
||||||
<Max> 20 </Max>
|
|
||||||
<AdjustStep> 1 </AdjustStep>
|
|
||||||
</AutoResizeConfiguration>
|
|
||||||
</MenuPriceTextConfiguration>
|
|
||||||
<MenuHotPriceLabel>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "Hot"
|
|
||||||
Else
|
|
||||||
Var return = "ร้อน"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</MenuHotPriceLabel>
|
|
||||||
<MenuIcePriceLabel>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "Ice"
|
|
||||||
Else
|
|
||||||
Var return = "เย็น"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</MenuIcePriceLabel>
|
|
||||||
<MenuBlendPriceLabel>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return ="Blend"
|
|
||||||
Else
|
|
||||||
Var return = "ปั่น"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</MenuBlendPriceLabel>
|
|
||||||
<MenuUnavailableLabel>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return ="UNAVAILABLE"
|
|
||||||
Else
|
|
||||||
Var return = "หมด"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</MenuUnavailableLabel>
|
|
||||||
</Configuration>
|
|
||||||
<Menus>
|
|
||||||
;banners
|
|
||||||
; menu_new_list 3
|
|
||||||
; ==================> Len = 15
|
|
||||||
; - - 12-01-03-0078
|
|
||||||
<Menu>
|
|
||||||
<State> Flag( 12-01-03-0078.Button,$Sum1201030078) </State>
|
|
||||||
<IdleImage> "ROOT/taobin_project/image/page_drink_n//bn_super_oreo_volcano_Caramel_happy_trios.png" </IdleImage>
|
|
||||||
<PressImage> "ROOT/taobin_project/image/page_drink_press_n//bn_super_oreo_volcano_Caramel_happy_trios.png" </PressImage>
|
|
||||||
<DisableImage> "ROOT/taobin_project/image/page_drink_disable_n2//bn_super_oreo_volcano_Caramel_happy_trios.png" </DisableImage>
|
|
||||||
<Name>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "Premium Espresso\nCaramel Oreo"
|
|
||||||
Else
|
|
||||||
Var return = "พรีเมียมเอสเพรสโซ่\nคาราเมลโอรีโอ"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</Name>
|
|
||||||
<Description>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "Coffee, Milk, Caramel , Oreo"
|
|
||||||
Else
|
|
||||||
Var return = "กาแฟ นม คาราเมล และโอรีโอ"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</Description>
|
|
||||||
<HotState> "Disable2" </HotState>
|
|
||||||
<IceState> "Disable2" </IceState>
|
|
||||||
<BlendState> $12-01-03-0078.Button </BlendState>
|
|
||||||
<HotPrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </HotPrice>
|
|
||||||
<IcePrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </IcePrice>
|
|
||||||
<BlendPrice> StringFmt( $12-01-03-0078.Price , DisplayFormat, PreScaleConvertShow) </BlendPrice>
|
|
||||||
<IceProcessingState>
|
|
||||||
eval(
|
|
||||||
If ICE_PROCESS_STATUS = 2 Then
|
|
||||||
If $Sum510201003951020200395102030039 = "Disable" Then
|
|
||||||
Var ice_tab_process_show = "Disable"
|
|
||||||
Else
|
|
||||||
Var ice_tab_process_show = "Enable"
|
|
||||||
EndIf
|
|
||||||
Else
|
|
||||||
Var ice_tab_process_show = "Invisible"
|
|
||||||
EndIf
|
|
||||||
Var return = ice_tab_process_show
|
|
||||||
)
|
|
||||||
</IceProcessingState>
|
|
||||||
<IceProcessingImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </IceProcessingImage>
|
|
||||||
<IceProcessingDisableImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </IceProcessingDisableImage>
|
|
||||||
<EventOnClick>
|
|
||||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_super_oreo_volcano_Caramel_happy_trios.png"
|
|
||||||
Var OpenFromXML = CurrentXMLFileName2
|
|
||||||
Var PriceD1 = $##-##-##-####.Price
|
|
||||||
Var PriceD2 = $##-##-##-####.Price
|
|
||||||
Var PriceD3 = $12-01-03-0078.Price
|
|
||||||
Var PD_CODE1 = "##-##-##-####"
|
|
||||||
Var PD_CODE2 = "##-##-##-####"
|
|
||||||
Var PD_CODE3 = "12-01-03-0078"
|
|
||||||
Var PD_STAGE_1 = "Disable2"
|
|
||||||
Var PD_STAGE_2 = "Disable2"
|
|
||||||
Var PD_STAGE_3 = $12-01-03-0078.Button
|
|
||||||
Var OverlayMenuFilter !assigned xmlpro( 12-01-03-0078, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
|
||||||
DEBUGVAR OverlayMenuFilter
|
|
||||||
Var SelectCountDrinkType = 0
|
|
||||||
Var DefaultDrinkType = 0
|
|
||||||
If PD_STAGE_1 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 1
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_2 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 2
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_3 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 3
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_2 = "Enable" Then
|
|
||||||
Topping "Load" "-"
|
|
||||||
Else
|
|
||||||
If PD_STAGE_1 = "Enable" Then
|
|
||||||
Topping "Load" "-"
|
|
||||||
Else
|
|
||||||
Topping "Load" "12-01-03-0078"
|
|
||||||
EndIf
|
|
||||||
EndIf
|
|
||||||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
|
||||||
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
|
||||||
Var menu_name_thai_hot = $##-##-##-####.Name
|
|
||||||
Var menu_desc_thai_hot = $##-##-##-####.description
|
|
||||||
|
|
||||||
Var menu_name_eng_cold = $##-##-##-####.NameE
|
|
||||||
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
|
|
||||||
Var menu_name_thai_cold = $##-##-##-####.Name
|
|
||||||
Var menu_desc_thai_cold = $##-##-##-####.description
|
|
||||||
|
|
||||||
Var menu_name_eng_blender = $12-01-03-0078.NameE
|
|
||||||
Var menu_desc_eng_blender = $12-01-03-0078.descriptionE
|
|
||||||
Var menu_name_thai_blender = $12-01-03-0078.Name
|
|
||||||
Var menu_desc_thai_blender = $12-01-03-0078.description
|
|
||||||
|
|
||||||
DEBUGVAR PD_STAGE_1
|
|
||||||
DEBUGVAR PD_STAGE_2
|
|
||||||
DEBUGVAR PD_STAGE_3
|
|
||||||
Var SelectDrinkType = 0
|
|
||||||
|
|
||||||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
|
||||||
</EventOnClick>
|
|
||||||
</Menu>
|
|
||||||
|
|
||||||
; - - 12-21-03-0078
|
|
||||||
<Menu>
|
|
||||||
<State> Flag( 12-21-03-0078.Button,$Sum1221030078) </State>
|
|
||||||
<IdleImage> "ROOT/taobin_project/image/page_drink_n//bn_super_oreo_volcano_Caramel_happy_trios.png" </IdleImage>
|
|
||||||
<PressImage> "ROOT/taobin_project/image/page_drink_press_n//bn_super_oreo_volcano_Caramel_happy_trios.png" </PressImage>
|
|
||||||
<DisableImage> "ROOT/taobin_project/image/page_drink_disable_n2//bn_super_oreo_volcano_Caramel_happy_trios.png" </DisableImage>
|
|
||||||
<Name>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "Premium Espresso\nCaramel Oreo"
|
|
||||||
Else
|
|
||||||
Var return = "พรีเมียมเอสเพรสโซ่\nคาราเมลโอรีโอ"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</Name>
|
|
||||||
<Description>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "Coffee, Milk, Caramel , Oreo"
|
|
||||||
Else
|
|
||||||
Var return = "กาแฟ นม คาราเมล และโอรีโอ"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</Description>
|
|
||||||
<HotState> "Disable2" </HotState>
|
|
||||||
<IceState> "Disable2" </IceState>
|
|
||||||
<BlendState> $12-21-03-0078.Button </BlendState>
|
|
||||||
<HotPrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </HotPrice>
|
|
||||||
<IcePrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </IcePrice>
|
|
||||||
<BlendPrice> StringFmt( $12-21-03-0078.Price , DisplayFormat, PreScaleConvertShow) </BlendPrice>
|
|
||||||
<IceProcessingState>
|
|
||||||
eval(
|
|
||||||
If ICE_PROCESS_STATUS = 2 Then
|
|
||||||
If $Sum510201003951020200395102030039 = "Disable" Then
|
|
||||||
Var ice_tab_process_show = "Disable"
|
|
||||||
Else
|
|
||||||
Var ice_tab_process_show = "Enable"
|
|
||||||
EndIf
|
|
||||||
Else
|
|
||||||
Var ice_tab_process_show = "Invisible"
|
|
||||||
EndIf
|
|
||||||
Var return = ice_tab_process_show
|
|
||||||
)
|
|
||||||
</IceProcessingState>
|
|
||||||
<IceProcessingImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </IceProcessingImage>
|
|
||||||
<IceProcessingDisableImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </IceProcessingDisableImage>
|
|
||||||
<EventOnClick>
|
|
||||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_super_oreo_volcano_Caramel_happy_trios.png"
|
|
||||||
Var OpenFromXML = CurrentXMLFileName2
|
|
||||||
Var PriceD1 = $##-##-##-####.Price
|
|
||||||
Var PriceD2 = $##-##-##-####.Price
|
|
||||||
Var PriceD3 = $12-21-03-0078.Price
|
|
||||||
Var PD_CODE1 = "##-##-##-####"
|
|
||||||
Var PD_CODE2 = "##-##-##-####"
|
|
||||||
Var PD_CODE3 = "12-21-03-0078"
|
|
||||||
Var PD_STAGE_1 = "Disable2"
|
|
||||||
Var PD_STAGE_2 = "Disable2"
|
|
||||||
Var PD_STAGE_3 = $12-21-03-0078.Button
|
|
||||||
Var OverlayMenuFilter !assigned xmlpro( 12-21-03-0078, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
|
||||||
DEBUGVAR OverlayMenuFilter
|
|
||||||
Var SelectCountDrinkType = 0
|
|
||||||
Var DefaultDrinkType = 0
|
|
||||||
If PD_STAGE_1 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 1
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_2 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 2
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_3 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 3
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_2 = "Enable" Then
|
|
||||||
Topping "Load" "12-21-03-0078"
|
|
||||||
Else
|
|
||||||
If PD_STAGE_1 = "Enable" Then
|
|
||||||
Topping "Load" "-"
|
|
||||||
Else
|
|
||||||
Topping "Load" "-"
|
|
||||||
EndIf
|
|
||||||
EndIf
|
|
||||||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
|
||||||
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
|
||||||
Var menu_name_thai_hot = $##-##-##-####.Name
|
|
||||||
Var menu_desc_thai_hot = $##-##-##-####.description
|
|
||||||
|
|
||||||
Var menu_name_eng_cold = $##-##-##-####.NameE
|
|
||||||
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
|
|
||||||
Var menu_name_thai_cold = $##-##-##-####.Name
|
|
||||||
Var menu_desc_thai_cold = $##-##-##-####.description
|
|
||||||
|
|
||||||
Var menu_name_eng_blender = $12-21-03-0078.NameE
|
|
||||||
Var menu_desc_eng_blender = $12-21-03-0078.descriptionE
|
|
||||||
Var menu_name_thai_blender = $12-21-03-0078.Name
|
|
||||||
Var menu_desc_thai_blender = $12-21-03-0078.description
|
|
||||||
|
|
||||||
DEBUGVAR PD_STAGE_1
|
|
||||||
DEBUGVAR PD_STAGE_2
|
|
||||||
DEBUGVAR PD_STAGE_3
|
|
||||||
Var SelectDrinkType = 0
|
|
||||||
|
|
||||||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
|
||||||
</EventOnClick>
|
|
||||||
</Menu>
|
|
||||||
|
|
||||||
; ==================> Len = 15
|
|
||||||
; - - 12-02-03-0057
|
|
||||||
<Menu>
|
|
||||||
<State> Flag( 12-02-03-0057.Button,$Sum1202030057) </State>
|
|
||||||
<IdleImage> "ROOT/taobin_project/image/page_drink_n//bn_super_oreo_volcano_Matcha_happy_trios.png" </IdleImage>
|
|
||||||
<PressImage> "ROOT/taobin_project/image/page_drink_press_n//bn_super_oreo_volcano_Matcha_happy_trios.png" </PressImage>
|
|
||||||
<DisableImage> "ROOT/taobin_project/image/page_drink_disable_n2//bn_super_oreo_volcano_Matcha_happy_trios.png" </DisableImage>
|
|
||||||
<Name>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "Premium Matcha\nCaramel Oreo"
|
|
||||||
Else
|
|
||||||
Var return = "พรีเมียมมัทฉะ\nคาราเมลโอรีโอ"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</Name>
|
|
||||||
<Description>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "Matcha, Milk, Caramel , Oreo"
|
|
||||||
Else
|
|
||||||
Var return = "มัทฉะ นม คาราเมล และโอรีโอ"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</Description>
|
|
||||||
<HotState> "Disable2" </HotState>
|
|
||||||
<IceState> "Disable2" </IceState>
|
|
||||||
<BlendState> $12-02-03-0057.Button </BlendState>
|
|
||||||
<HotPrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </HotPrice>
|
|
||||||
<IcePrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </IcePrice>
|
|
||||||
<BlendPrice> StringFmt( $12-02-03-0057.Price , DisplayFormat, PreScaleConvertShow) </BlendPrice>
|
|
||||||
<IceProcessingState>
|
|
||||||
eval(
|
|
||||||
If ICE_PROCESS_STATUS = 2 Then
|
|
||||||
If $Sum510201003951020200395102030039 = "Disable" Then
|
|
||||||
Var ice_tab_process_show = "Disable"
|
|
||||||
Else
|
|
||||||
Var ice_tab_process_show = "Enable"
|
|
||||||
EndIf
|
|
||||||
Else
|
|
||||||
Var ice_tab_process_show = "Invisible"
|
|
||||||
EndIf
|
|
||||||
Var return = ice_tab_process_show
|
|
||||||
)
|
|
||||||
</IceProcessingState>
|
|
||||||
<IceProcessingImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </IceProcessingImage>
|
|
||||||
<IceProcessingDisableImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </IceProcessingDisableImage>
|
|
||||||
<EventOnClick>
|
|
||||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_super_oreo_volcano_Matcha_happy_trios.png"
|
|
||||||
Var OpenFromXML = CurrentXMLFileName2
|
|
||||||
Var PriceD1 = $##-##-##-####.Price
|
|
||||||
Var PriceD2 = $##-##-##-####.Price
|
|
||||||
Var PriceD3 = $12-02-03-0057.Price
|
|
||||||
Var PD_CODE1 = "##-##-##-####"
|
|
||||||
Var PD_CODE2 = "##-##-##-####"
|
|
||||||
Var PD_CODE3 = "12-02-03-0057"
|
|
||||||
Var PD_STAGE_1 = "Disable2"
|
|
||||||
Var PD_STAGE_2 = "Disable2"
|
|
||||||
Var PD_STAGE_3 = $12-02-03-0057.Button
|
|
||||||
Var OverlayMenuFilter !assigned xmlpro( 12-02-03-0057, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
|
||||||
DEBUGVAR OverlayMenuFilter
|
|
||||||
Var SelectCountDrinkType = 0
|
|
||||||
Var DefaultDrinkType = 0
|
|
||||||
If PD_STAGE_1 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 1
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_2 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 2
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_3 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 3
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_2 = "Enable" Then
|
|
||||||
Topping "Load" "-"
|
|
||||||
Else
|
|
||||||
If PD_STAGE_1 = "Enable" Then
|
|
||||||
Topping "Load" "-"
|
|
||||||
Else
|
|
||||||
Topping "Load" "12-02-03-0057"
|
|
||||||
EndIf
|
|
||||||
EndIf
|
|
||||||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
|
||||||
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
|
||||||
Var menu_name_thai_hot = $##-##-##-####.Name
|
|
||||||
Var menu_desc_thai_hot = $##-##-##-####.description
|
|
||||||
|
|
||||||
Var menu_name_eng_cold = $##-##-##-####.NameE
|
|
||||||
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
|
|
||||||
Var menu_name_thai_cold = $##-##-##-####.Name
|
|
||||||
Var menu_desc_thai_cold = $##-##-##-####.description
|
|
||||||
|
|
||||||
Var menu_name_eng_blender = $12-02-03-0057.NameE
|
|
||||||
Var menu_desc_eng_blender = $12-02-03-0057.descriptionE
|
|
||||||
Var menu_name_thai_blender = $12-02-03-0057.Name
|
|
||||||
Var menu_desc_thai_blender = $12-02-03-0057.description
|
|
||||||
|
|
||||||
DEBUGVAR PD_STAGE_1
|
|
||||||
DEBUGVAR PD_STAGE_2
|
|
||||||
DEBUGVAR PD_STAGE_3
|
|
||||||
Var SelectDrinkType = 0
|
|
||||||
|
|
||||||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
|
||||||
</EventOnClick>
|
|
||||||
</Menu>
|
|
||||||
|
|
||||||
; ==================> Len = 15
|
|
||||||
; - - 12-02-03-0058
|
|
||||||
<Menu>
|
|
||||||
<State> Flag( 12-02-03-0058.Button,$Sum1202030058) </State>
|
|
||||||
<IdleImage> "ROOT/taobin_project/image/page_drink_n//bn_super_oreo_volcano_ThaiTea_happy_trios.png" </IdleImage>
|
|
||||||
<PressImage> "ROOT/taobin_project/image/page_drink_press_n//bn_super_oreo_volcano_ThaiTea_happy_trios.png" </PressImage>
|
|
||||||
<DisableImage> "ROOT/taobin_project/image/page_drink_disable_n2//bn_super_oreo_volcano_ThaiTea_happy_trios.png" </DisableImage>
|
|
||||||
<Name>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "Premium Thai Tea\nCaramel Oreo"
|
|
||||||
Else
|
|
||||||
Var return = "พรีเมียมชาไทย\nคาราเมลโอรีโอ"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</Name>
|
|
||||||
<Description>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "Thai Tea, Milk, Caramel , Oreo"
|
|
||||||
Else
|
|
||||||
Var return = "ชาไทย นม คาราเมล และโอรีโอ"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</Description>
|
|
||||||
<HotState> "Disable2" </HotState>
|
|
||||||
<IceState> "Disable2" </IceState>
|
|
||||||
<BlendState> $12-02-03-0058.Button </BlendState>
|
|
||||||
<HotPrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </HotPrice>
|
|
||||||
<IcePrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </IcePrice>
|
|
||||||
<BlendPrice> StringFmt( $12-02-03-0058.Price , DisplayFormat, PreScaleConvertShow) </BlendPrice>
|
|
||||||
<IceProcessingState>
|
|
||||||
eval(
|
|
||||||
If ICE_PROCESS_STATUS = 2 Then
|
|
||||||
If $Sum510201003951020200395102030039 = "Disable" Then
|
|
||||||
Var ice_tab_process_show = "Disable"
|
|
||||||
Else
|
|
||||||
Var ice_tab_process_show = "Enable"
|
|
||||||
EndIf
|
|
||||||
Else
|
|
||||||
Var ice_tab_process_show = "Invisible"
|
|
||||||
EndIf
|
|
||||||
Var return = ice_tab_process_show
|
|
||||||
)
|
|
||||||
</IceProcessingState>
|
|
||||||
<IceProcessingImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </IceProcessingImage>
|
|
||||||
<IceProcessingDisableImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </IceProcessingDisableImage>
|
|
||||||
<EventOnClick>
|
|
||||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_super_oreo_volcano_ThaiTea_happy_trios.png"
|
|
||||||
Var OpenFromXML = CurrentXMLFileName2
|
|
||||||
Var PriceD1 = $##-##-##-####.Price
|
|
||||||
Var PriceD2 = $##-##-##-####.Price
|
|
||||||
Var PriceD3 = $12-02-03-0058.Price
|
|
||||||
Var PD_CODE1 = "##-##-##-####"
|
|
||||||
Var PD_CODE2 = "##-##-##-####"
|
|
||||||
Var PD_CODE3 = "12-02-03-0058"
|
|
||||||
Var PD_STAGE_1 = "Disable2"
|
|
||||||
Var PD_STAGE_2 = "Disable2"
|
|
||||||
Var PD_STAGE_3 = $12-02-03-0058.Button
|
|
||||||
Var OverlayMenuFilter !assigned xmlpro( 12-02-03-0058, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
|
||||||
DEBUGVAR OverlayMenuFilter
|
|
||||||
Var SelectCountDrinkType = 0
|
|
||||||
Var DefaultDrinkType = 0
|
|
||||||
If PD_STAGE_1 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 1
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_2 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 2
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_3 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 3
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_2 = "Enable" Then
|
|
||||||
Topping "Load" "-"
|
|
||||||
Else
|
|
||||||
If PD_STAGE_1 = "Enable" Then
|
|
||||||
Topping "Load" "-"
|
|
||||||
Else
|
|
||||||
Topping "Load" "12-02-03-0058"
|
|
||||||
EndIf
|
|
||||||
EndIf
|
|
||||||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
|
||||||
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
|
||||||
Var menu_name_thai_hot = $##-##-##-####.Name
|
|
||||||
Var menu_desc_thai_hot = $##-##-##-####.description
|
|
||||||
|
|
||||||
Var menu_name_eng_cold = $##-##-##-####.NameE
|
|
||||||
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
|
|
||||||
Var menu_name_thai_cold = $##-##-##-####.Name
|
|
||||||
Var menu_desc_thai_cold = $##-##-##-####.description
|
|
||||||
|
|
||||||
Var menu_name_eng_blender = $12-02-03-0058.NameE
|
|
||||||
Var menu_desc_eng_blender = $12-02-03-0058.descriptionE
|
|
||||||
Var menu_name_thai_blender = $12-02-03-0058.Name
|
|
||||||
Var menu_desc_thai_blender = $12-02-03-0058.description
|
|
||||||
|
|
||||||
DEBUGVAR PD_STAGE_1
|
|
||||||
DEBUGVAR PD_STAGE_2
|
|
||||||
DEBUGVAR PD_STAGE_3
|
|
||||||
Var SelectDrinkType = 0
|
|
||||||
|
|
||||||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
|
||||||
</EventOnClick>
|
|
||||||
</Menu>
|
|
||||||
|
|
||||||
</ScrollableCatalog>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</Popup>
|
|
||||||
|
|
@ -1,52 +0,0 @@
|
||||||
<?hurr
|
|
||||||
#include=menu_head.py
|
|
||||||
?>
|
|
||||||
|
|
||||||
<Popup>
|
|
||||||
<Cache> "Enable" </Cache>
|
|
||||||
<Width> 1080 </Width>
|
|
||||||
<Height> 1920 </Height>
|
|
||||||
;<Background> "0xeae6e1" </Background>
|
|
||||||
<Volume> SoundVolume </Volume>
|
|
||||||
<EventOpen>
|
|
||||||
; On open
|
|
||||||
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
|
|
||||||
Var FromMyMintPro = 0
|
|
||||||
|
|
||||||
Var Timeout = 0
|
|
||||||
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
|
|
||||||
|
|
||||||
</EventOpen>
|
|
||||||
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/xml/v3/menu_catalog_new.xml"
|
|
||||||
|
|
||||||
<?hurr
|
|
||||||
#include=menu_new_layout_gen_v3.py
|
|
||||||
?>
|
|
||||||
|
|
||||||
<Button>
|
|
||||||
<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"
|
|
||||||
Refresh
|
|
||||||
</EventClick>
|
|
||||||
</Button>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
;BigLogoLayout
|
|
||||||
|
|
||||||
</Popup>
|
|
||||||
|
|
||||||
|
|
||||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,33 +0,0 @@
|
||||||
<?hurr
|
|
||||||
#include=menu_head.py
|
|
||||||
?>
|
|
||||||
|
|
||||||
<Popup>
|
|
||||||
<Cache> "Enable" </Cache>
|
|
||||||
<Width> 1080 </Width>
|
|
||||||
<Height> 1920 </Height>
|
|
||||||
;<Background> "0xeae6e1" </Background>
|
|
||||||
<Volume> SoundVolume </Volume>
|
|
||||||
<EventOpen>
|
|
||||||
; On open
|
|
||||||
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
|
|
||||||
|
|
||||||
|
|
||||||
Var Timeout = 0
|
|
||||||
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
|
|
||||||
</EventOpen>
|
|
||||||
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/xml/v3/menu_catalog_new.xml"
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<?hurr
|
|
||||||
#include=menu_new_layout_gen_v3.py
|
|
||||||
?>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</Popup>
|
|
||||||
|
|
@ -1,862 +0,0 @@
|
||||||
|
|
||||||
|
|
||||||
<Popup>
|
|
||||||
<Cache> "Enable" </Cache>
|
|
||||||
<Width> 1080 </Width>
|
|
||||||
<Height> 1920 </Height>
|
|
||||||
;<Background> "0xeae6e1" </Background>
|
|
||||||
<Volume> SoundVolume </Volume>
|
|
||||||
<EventOpen>
|
|
||||||
; On open
|
|
||||||
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
|
|
||||||
|
|
||||||
|
|
||||||
Var Timeout = 0
|
|
||||||
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
|
|
||||||
</EventOpen>
|
|
||||||
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/xml/v3/menu_catalog_new.xml"
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<ScrollableCatalog>
|
|
||||||
<X> 0 </X>
|
|
||||||
<Y> 497 </Y>
|
|
||||||
<Width> 1080 </Width>
|
|
||||||
<Height> 1423 </Height>
|
|
||||||
<Configuration>
|
|
||||||
<MenuNameTextConfiguration>
|
|
||||||
<Font> KanitMediumTTF </Font>
|
|
||||||
<Color> 0x322B26 </Color>
|
|
||||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
|
||||||
<AutoResizeConfiguration>
|
|
||||||
<Min> 16 </Min>
|
|
||||||
<Max> 22 </Max>
|
|
||||||
<AdjustStep> 1 </AdjustStep>
|
|
||||||
</AutoResizeConfiguration>
|
|
||||||
</MenuNameTextConfiguration>
|
|
||||||
<MenuDescriptionTextConfiguration>
|
|
||||||
<Font> KanitMediumTTF </Font>
|
|
||||||
<Color> 0x322B26 </Color>
|
|
||||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
|
||||||
<AutoResizeConfiguration>
|
|
||||||
<Min> 10 </Min>
|
|
||||||
<Max> 14 </Max>
|
|
||||||
<AdjustStep> 1 </AdjustStep>
|
|
||||||
</AutoResizeConfiguration>
|
|
||||||
</MenuDescriptionTextConfiguration>
|
|
||||||
<MenuPriceTextConfiguration>
|
|
||||||
<Font> KanitRegularTTF </Font>
|
|
||||||
<Color> 0x6F5F51 </Color>
|
|
||||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
|
||||||
<AutoResizeConfiguration>
|
|
||||||
<Min> 4 </Min>
|
|
||||||
<Max> 20 </Max>
|
|
||||||
<AdjustStep> 1 </AdjustStep>
|
|
||||||
</AutoResizeConfiguration>
|
|
||||||
</MenuPriceTextConfiguration>
|
|
||||||
<MenuHotPriceLabel>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "Hot"
|
|
||||||
Else
|
|
||||||
Var return = "ร้อน"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</MenuHotPriceLabel>
|
|
||||||
<MenuIcePriceLabel>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "Ice"
|
|
||||||
Else
|
|
||||||
Var return = "เย็น"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</MenuIcePriceLabel>
|
|
||||||
<MenuBlendPriceLabel>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return ="Blend"
|
|
||||||
Else
|
|
||||||
Var return = "ปั่น"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</MenuBlendPriceLabel>
|
|
||||||
<MenuUnavailableLabel>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return ="UNAVAILABLE"
|
|
||||||
Else
|
|
||||||
Var return = "หมด"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</MenuUnavailableLabel>
|
|
||||||
</Configuration>
|
|
||||||
<Menus>
|
|
||||||
;banners
|
|
||||||
; menu_new_list 7
|
|
||||||
; ==================> Len = 15
|
|
||||||
; 12-02-01-0091 12-02-02-0091 12-02-03-0091
|
|
||||||
<Menu>
|
|
||||||
<State> Flag( 12-02-01-0091.Button,12-02-02-0091.Button,12-02-03-0091.Button,$Sum120201009112020200911202030091) </State>
|
|
||||||
<IdleImage> "ROOT/taobin_project/image/page_drink_n//bn_thai_milk_tea_SALAK.png" </IdleImage>
|
|
||||||
<PressImage> "ROOT/taobin_project/image/page_drink_press_n//bn_thai_milk_tea_SALAK.png" </PressImage>
|
|
||||||
<DisableImage> "ROOT/taobin_project/image/page_drink_disable_n2//bn_thai_milk_tea_SALAK.png" </DisableImage>
|
|
||||||
<Name>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "Central Thai Milk Tea"
|
|
||||||
Else
|
|
||||||
Var return = "ชาไทยละโว้"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</Name>
|
|
||||||
<Description>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "Thai Tea Milk Sugar Salak"
|
|
||||||
Else
|
|
||||||
Var return = "ชาไทย นม น้ำตาล สละ"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</Description>
|
|
||||||
<HotState> $12-02-01-0091.Button </HotState>
|
|
||||||
<IceState> $12-02-02-0091.Button </IceState>
|
|
||||||
<BlendState> $12-02-03-0091.Button </BlendState>
|
|
||||||
<HotPrice> StringFmt( $12-02-01-0091.Price , DisplayFormat, PreScaleConvertShow) </HotPrice>
|
|
||||||
<IcePrice> StringFmt( $12-02-02-0091.Price , DisplayFormat, PreScaleConvertShow) </IcePrice>
|
|
||||||
<BlendPrice> StringFmt( $12-02-03-0091.Price , DisplayFormat, PreScaleConvertShow) </BlendPrice>
|
|
||||||
<IceProcessingState>
|
|
||||||
eval(
|
|
||||||
If ICE_PROCESS_STATUS = 2 Then
|
|
||||||
If $Sum510201003951020200395102030039 = "Disable" Then
|
|
||||||
Var ice_tab_process_show = "Disable"
|
|
||||||
Else
|
|
||||||
Var ice_tab_process_show = "Enable"
|
|
||||||
EndIf
|
|
||||||
Else
|
|
||||||
Var ice_tab_process_show = "Invisible"
|
|
||||||
EndIf
|
|
||||||
Var return = ice_tab_process_show
|
|
||||||
)
|
|
||||||
</IceProcessingState>
|
|
||||||
<IceProcessingImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </IceProcessingImage>
|
|
||||||
<IceProcessingDisableImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </IceProcessingDisableImage>
|
|
||||||
<EventOnClick>
|
|
||||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_thai_milk_tea_SALAK.png"
|
|
||||||
Var OpenFromXML = CurrentXMLFileName2
|
|
||||||
Var PriceD1 = $12-02-01-0091.Price
|
|
||||||
Var PriceD2 = $12-02-02-0091.Price
|
|
||||||
Var PriceD3 = $12-02-03-0091.Price
|
|
||||||
Var PD_CODE1 = "12-02-01-0091"
|
|
||||||
Var PD_CODE2 = "12-02-02-0091"
|
|
||||||
Var PD_CODE3 = "12-02-03-0091"
|
|
||||||
Var PD_STAGE_1 = $12-02-01-0091.Button
|
|
||||||
Var PD_STAGE_2 = $12-02-02-0091.Button
|
|
||||||
Var PD_STAGE_3 = $12-02-03-0091.Button
|
|
||||||
Var OverlayMenuFilter !assigned xmlpro( 12-02-01-0091, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
|
||||||
DEBUGVAR OverlayMenuFilter
|
|
||||||
Var SelectCountDrinkType = 0
|
|
||||||
Var DefaultDrinkType = 0
|
|
||||||
If PD_STAGE_1 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 1
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_2 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 2
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_3 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 3
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_2 = "Enable" Then
|
|
||||||
Topping "Load" "12-02-02-0091"
|
|
||||||
Else
|
|
||||||
If PD_STAGE_1 = "Enable" Then
|
|
||||||
Topping "Load" "12-02-01-0091"
|
|
||||||
Else
|
|
||||||
Topping "Load" "12-02-03-0091"
|
|
||||||
EndIf
|
|
||||||
EndIf
|
|
||||||
Var menu_name_eng_hot = $12-02-01-0091.NameE
|
|
||||||
Var menu_desc_eng_hot = $12-02-01-0091.descriptionE
|
|
||||||
Var menu_name_thai_hot = $12-02-01-0091.Name
|
|
||||||
Var menu_desc_thai_hot = $12-02-01-0091.description
|
|
||||||
|
|
||||||
Var menu_name_eng_cold = $12-02-02-0091.NameE
|
|
||||||
Var menu_desc_eng_cold = $12-02-02-0091.descriptionE
|
|
||||||
Var menu_name_thai_cold = $12-02-02-0091.Name
|
|
||||||
Var menu_desc_thai_cold = $12-02-02-0091.description
|
|
||||||
|
|
||||||
Var menu_name_eng_blender = $12-02-03-0091.NameE
|
|
||||||
Var menu_desc_eng_blender = $12-02-03-0091.descriptionE
|
|
||||||
Var menu_name_thai_blender = $12-02-03-0091.Name
|
|
||||||
Var menu_desc_thai_blender = $12-02-03-0091.description
|
|
||||||
|
|
||||||
DEBUGVAR PD_STAGE_1
|
|
||||||
DEBUGVAR PD_STAGE_2
|
|
||||||
DEBUGVAR PD_STAGE_3
|
|
||||||
Var SelectDrinkType = 0
|
|
||||||
|
|
||||||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
|
||||||
</EventOnClick>
|
|
||||||
</Menu>
|
|
||||||
|
|
||||||
; ==================> Len = 15
|
|
||||||
; 12-02-01-0092 12-02-02-0092 12-02-03-0092
|
|
||||||
<Menu>
|
|
||||||
<State> Flag( 12-02-01-0092.Button,12-02-02-0092.Button,12-02-03-0092.Button,$Sum120201009212020200921202030092) </State>
|
|
||||||
<IdleImage> "ROOT/taobin_project/image/page_drink_n//bn_thai_milk_tea_COCOA.png" </IdleImage>
|
|
||||||
<PressImage> "ROOT/taobin_project/image/page_drink_press_n//bn_thai_milk_tea_COCOA.png" </PressImage>
|
|
||||||
<DisableImage> "ROOT/taobin_project/image/page_drink_disable_n2//bn_thai_milk_tea_COCOA.png" </DisableImage>
|
|
||||||
<Name>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "Western Cocoa \nThai Milk Tea"
|
|
||||||
Else
|
|
||||||
Var return = "โกโก้หริกุญชัย"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</Name>
|
|
||||||
<Description>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "Thai Tea Milk Sugar Cocoa Caramel"
|
|
||||||
Else
|
|
||||||
Var return = "ชาไทย นม น้ำตาล โกโก้ คาราเมล"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</Description>
|
|
||||||
<HotState> $12-02-01-0092.Button </HotState>
|
|
||||||
<IceState> $12-02-02-0092.Button </IceState>
|
|
||||||
<BlendState> $12-02-03-0092.Button </BlendState>
|
|
||||||
<HotPrice> StringFmt( $12-02-01-0092.Price , DisplayFormat, PreScaleConvertShow) </HotPrice>
|
|
||||||
<IcePrice> StringFmt( $12-02-02-0092.Price , DisplayFormat, PreScaleConvertShow) </IcePrice>
|
|
||||||
<BlendPrice> StringFmt( $12-02-03-0092.Price , DisplayFormat, PreScaleConvertShow) </BlendPrice>
|
|
||||||
<IceProcessingState>
|
|
||||||
eval(
|
|
||||||
If ICE_PROCESS_STATUS = 2 Then
|
|
||||||
If $Sum510201003951020200395102030039 = "Disable" Then
|
|
||||||
Var ice_tab_process_show = "Disable"
|
|
||||||
Else
|
|
||||||
Var ice_tab_process_show = "Enable"
|
|
||||||
EndIf
|
|
||||||
Else
|
|
||||||
Var ice_tab_process_show = "Invisible"
|
|
||||||
EndIf
|
|
||||||
Var return = ice_tab_process_show
|
|
||||||
)
|
|
||||||
</IceProcessingState>
|
|
||||||
<IceProcessingImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </IceProcessingImage>
|
|
||||||
<IceProcessingDisableImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </IceProcessingDisableImage>
|
|
||||||
<EventOnClick>
|
|
||||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_thai_milk_tea_COCOA.png"
|
|
||||||
Var OpenFromXML = CurrentXMLFileName2
|
|
||||||
Var PriceD1 = $12-02-01-0092.Price
|
|
||||||
Var PriceD2 = $12-02-02-0092.Price
|
|
||||||
Var PriceD3 = $12-02-03-0092.Price
|
|
||||||
Var PD_CODE1 = "12-02-01-0092"
|
|
||||||
Var PD_CODE2 = "12-02-02-0092"
|
|
||||||
Var PD_CODE3 = "12-02-03-0092"
|
|
||||||
Var PD_STAGE_1 = $12-02-01-0092.Button
|
|
||||||
Var PD_STAGE_2 = $12-02-02-0092.Button
|
|
||||||
Var PD_STAGE_3 = $12-02-03-0092.Button
|
|
||||||
Var OverlayMenuFilter !assigned xmlpro( 12-02-01-0092, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
|
||||||
DEBUGVAR OverlayMenuFilter
|
|
||||||
Var SelectCountDrinkType = 0
|
|
||||||
Var DefaultDrinkType = 0
|
|
||||||
If PD_STAGE_1 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 1
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_2 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 2
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_3 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 3
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_2 = "Enable" Then
|
|
||||||
Topping "Load" "12-02-02-0092"
|
|
||||||
Else
|
|
||||||
If PD_STAGE_1 = "Enable" Then
|
|
||||||
Topping "Load" "12-02-01-0092"
|
|
||||||
Else
|
|
||||||
Topping "Load" "12-02-03-0092"
|
|
||||||
EndIf
|
|
||||||
EndIf
|
|
||||||
Var menu_name_eng_hot = $12-02-01-0092.NameE
|
|
||||||
Var menu_desc_eng_hot = $12-02-01-0092.descriptionE
|
|
||||||
Var menu_name_thai_hot = $12-02-01-0092.Name
|
|
||||||
Var menu_desc_thai_hot = $12-02-01-0092.description
|
|
||||||
|
|
||||||
Var menu_name_eng_cold = $12-02-02-0092.NameE
|
|
||||||
Var menu_desc_eng_cold = $12-02-02-0092.descriptionE
|
|
||||||
Var menu_name_thai_cold = $12-02-02-0092.Name
|
|
||||||
Var menu_desc_thai_cold = $12-02-02-0092.description
|
|
||||||
|
|
||||||
Var menu_name_eng_blender = $12-02-03-0092.NameE
|
|
||||||
Var menu_desc_eng_blender = $12-02-03-0092.descriptionE
|
|
||||||
Var menu_name_thai_blender = $12-02-03-0092.Name
|
|
||||||
Var menu_desc_thai_blender = $12-02-03-0092.description
|
|
||||||
|
|
||||||
DEBUGVAR PD_STAGE_1
|
|
||||||
DEBUGVAR PD_STAGE_2
|
|
||||||
DEBUGVAR PD_STAGE_3
|
|
||||||
Var SelectDrinkType = 0
|
|
||||||
|
|
||||||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
|
||||||
</EventOnClick>
|
|
||||||
</Menu>
|
|
||||||
|
|
||||||
; ==================> Len = 15
|
|
||||||
; 12-02-01-0093 12-02-02-0093 12-02-03-0093
|
|
||||||
<Menu>
|
|
||||||
<State> Flag( 12-02-01-0093.Button,12-02-02-0093.Button,12-02-03-0093.Button,$Sum120201009312020200931202030093) </State>
|
|
||||||
<IdleImage> "ROOT/taobin_project/image/page_drink_n//bn_taiwanese_milk_tea_Strawberry.png" </IdleImage>
|
|
||||||
<PressImage> "ROOT/taobin_project/image/page_drink_press_n//bn_taiwanese_milk_tea_Strawberry.png" </PressImage>
|
|
||||||
<DisableImage> "ROOT/taobin_project/image/page_drink_disable_n2//bn_taiwanese_milk_tea_Strawberry.png" </DisableImage>
|
|
||||||
<Name>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "Northern Strawberry \nThai Milk Tea"
|
|
||||||
Else
|
|
||||||
Var return = "สตรอว์เบอร์รีล้านนา"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</Name>
|
|
||||||
<Description>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "Thai Tea Oolong Tea Milk Strawberry"
|
|
||||||
Else
|
|
||||||
Var return = "ชาไทย ชาไต้หวัน นม สตรอเบอรี"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</Description>
|
|
||||||
<HotState> $12-02-01-0093.Button </HotState>
|
|
||||||
<IceState> $12-02-02-0093.Button </IceState>
|
|
||||||
<BlendState> $12-02-03-0093.Button </BlendState>
|
|
||||||
<HotPrice> StringFmt( $12-02-01-0093.Price , DisplayFormat, PreScaleConvertShow) </HotPrice>
|
|
||||||
<IcePrice> StringFmt( $12-02-02-0093.Price , DisplayFormat, PreScaleConvertShow) </IcePrice>
|
|
||||||
<BlendPrice> StringFmt( $12-02-03-0093.Price , DisplayFormat, PreScaleConvertShow) </BlendPrice>
|
|
||||||
<IceProcessingState>
|
|
||||||
eval(
|
|
||||||
If ICE_PROCESS_STATUS = 2 Then
|
|
||||||
If $Sum510201003951020200395102030039 = "Disable" Then
|
|
||||||
Var ice_tab_process_show = "Disable"
|
|
||||||
Else
|
|
||||||
Var ice_tab_process_show = "Enable"
|
|
||||||
EndIf
|
|
||||||
Else
|
|
||||||
Var ice_tab_process_show = "Invisible"
|
|
||||||
EndIf
|
|
||||||
Var return = ice_tab_process_show
|
|
||||||
)
|
|
||||||
</IceProcessingState>
|
|
||||||
<IceProcessingImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </IceProcessingImage>
|
|
||||||
<IceProcessingDisableImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </IceProcessingDisableImage>
|
|
||||||
<EventOnClick>
|
|
||||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_taiwanese_milk_tea_Strawberry.png"
|
|
||||||
Var OpenFromXML = CurrentXMLFileName2
|
|
||||||
Var PriceD1 = $12-02-01-0093.Price
|
|
||||||
Var PriceD2 = $12-02-02-0093.Price
|
|
||||||
Var PriceD3 = $12-02-03-0093.Price
|
|
||||||
Var PD_CODE1 = "12-02-01-0093"
|
|
||||||
Var PD_CODE2 = "12-02-02-0093"
|
|
||||||
Var PD_CODE3 = "12-02-03-0093"
|
|
||||||
Var PD_STAGE_1 = $12-02-01-0093.Button
|
|
||||||
Var PD_STAGE_2 = $12-02-02-0093.Button
|
|
||||||
Var PD_STAGE_3 = $12-02-03-0093.Button
|
|
||||||
Var OverlayMenuFilter !assigned xmlpro( 12-02-01-0093, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
|
||||||
DEBUGVAR OverlayMenuFilter
|
|
||||||
Var SelectCountDrinkType = 0
|
|
||||||
Var DefaultDrinkType = 0
|
|
||||||
If PD_STAGE_1 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 1
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_2 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 2
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_3 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 3
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_2 = "Enable" Then
|
|
||||||
Topping "Load" "12-02-02-0093"
|
|
||||||
Else
|
|
||||||
If PD_STAGE_1 = "Enable" Then
|
|
||||||
Topping "Load" "12-02-01-0093"
|
|
||||||
Else
|
|
||||||
Topping "Load" "12-02-03-0093"
|
|
||||||
EndIf
|
|
||||||
EndIf
|
|
||||||
Var menu_name_eng_hot = $12-02-01-0093.NameE
|
|
||||||
Var menu_desc_eng_hot = $12-02-01-0093.descriptionE
|
|
||||||
Var menu_name_thai_hot = $12-02-01-0093.Name
|
|
||||||
Var menu_desc_thai_hot = $12-02-01-0093.description
|
|
||||||
|
|
||||||
Var menu_name_eng_cold = $12-02-02-0093.NameE
|
|
||||||
Var menu_desc_eng_cold = $12-02-02-0093.descriptionE
|
|
||||||
Var menu_name_thai_cold = $12-02-02-0093.Name
|
|
||||||
Var menu_desc_thai_cold = $12-02-02-0093.description
|
|
||||||
|
|
||||||
Var menu_name_eng_blender = $12-02-03-0093.NameE
|
|
||||||
Var menu_desc_eng_blender = $12-02-03-0093.descriptionE
|
|
||||||
Var menu_name_thai_blender = $12-02-03-0093.Name
|
|
||||||
Var menu_desc_thai_blender = $12-02-03-0093.description
|
|
||||||
|
|
||||||
DEBUGVAR PD_STAGE_1
|
|
||||||
DEBUGVAR PD_STAGE_2
|
|
||||||
DEBUGVAR PD_STAGE_3
|
|
||||||
Var SelectDrinkType = 0
|
|
||||||
|
|
||||||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
|
||||||
</EventOnClick>
|
|
||||||
</Menu>
|
|
||||||
|
|
||||||
; ==================> Len = 15
|
|
||||||
; 12-02-01-0094 12-02-02-0094 12-02-03-0094
|
|
||||||
<Menu>
|
|
||||||
<State> Flag( 12-02-01-0094.Button,12-02-02-0094.Button,12-02-03-0094.Button,$Sum120201009412020200941202030094) </State>
|
|
||||||
<IdleImage> "ROOT/taobin_project/image/page_drink_n//bn_thai_milk_tea_Cocoa_Coconut.png" </IdleImage>
|
|
||||||
<PressImage> "ROOT/taobin_project/image/page_drink_press_n//bn_thai_milk_tea_Cocoa_Coconut.png" </PressImage>
|
|
||||||
<DisableImage> "ROOT/taobin_project/image/page_drink_disable_n2//bn_thai_milk_tea_Cocoa_Coconut.png" </DisableImage>
|
|
||||||
<Name>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "Southern Coconut \nThai Milk Tea"
|
|
||||||
Else
|
|
||||||
Var return = "ชาไทยมะพร้าวศรีวิชัย"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</Name>
|
|
||||||
<Description>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "Thai Tea Oolong Tea Milk Sugar Cocoa Coconut"
|
|
||||||
Else
|
|
||||||
Var return = "ชาไทย ชาไต้หวัน นม โกโก้ มะพร้าว"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</Description>
|
|
||||||
<HotState> $12-02-01-0094.Button </HotState>
|
|
||||||
<IceState> $12-02-02-0094.Button </IceState>
|
|
||||||
<BlendState> $12-02-03-0094.Button </BlendState>
|
|
||||||
<HotPrice> StringFmt( $12-02-01-0094.Price , DisplayFormat, PreScaleConvertShow) </HotPrice>
|
|
||||||
<IcePrice> StringFmt( $12-02-02-0094.Price , DisplayFormat, PreScaleConvertShow) </IcePrice>
|
|
||||||
<BlendPrice> StringFmt( $12-02-03-0094.Price , DisplayFormat, PreScaleConvertShow) </BlendPrice>
|
|
||||||
<IceProcessingState>
|
|
||||||
eval(
|
|
||||||
If ICE_PROCESS_STATUS = 2 Then
|
|
||||||
If $Sum510201003951020200395102030039 = "Disable" Then
|
|
||||||
Var ice_tab_process_show = "Disable"
|
|
||||||
Else
|
|
||||||
Var ice_tab_process_show = "Enable"
|
|
||||||
EndIf
|
|
||||||
Else
|
|
||||||
Var ice_tab_process_show = "Invisible"
|
|
||||||
EndIf
|
|
||||||
Var return = ice_tab_process_show
|
|
||||||
)
|
|
||||||
</IceProcessingState>
|
|
||||||
<IceProcessingImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </IceProcessingImage>
|
|
||||||
<IceProcessingDisableImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </IceProcessingDisableImage>
|
|
||||||
<EventOnClick>
|
|
||||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_thai_milk_tea_Cocoa_Coconut.png"
|
|
||||||
Var OpenFromXML = CurrentXMLFileName2
|
|
||||||
Var PriceD1 = $12-02-01-0094.Price
|
|
||||||
Var PriceD2 = $12-02-02-0094.Price
|
|
||||||
Var PriceD3 = $12-02-03-0094.Price
|
|
||||||
Var PD_CODE1 = "12-02-01-0094"
|
|
||||||
Var PD_CODE2 = "12-02-02-0094"
|
|
||||||
Var PD_CODE3 = "12-02-03-0094"
|
|
||||||
Var PD_STAGE_1 = $12-02-01-0094.Button
|
|
||||||
Var PD_STAGE_2 = $12-02-02-0094.Button
|
|
||||||
Var PD_STAGE_3 = $12-02-03-0094.Button
|
|
||||||
Var OverlayMenuFilter !assigned xmlpro( 12-02-01-0094, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
|
||||||
DEBUGVAR OverlayMenuFilter
|
|
||||||
Var SelectCountDrinkType = 0
|
|
||||||
Var DefaultDrinkType = 0
|
|
||||||
If PD_STAGE_1 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 1
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_2 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 2
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_3 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 3
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_2 = "Enable" Then
|
|
||||||
Topping "Load" "12-02-02-0094"
|
|
||||||
Else
|
|
||||||
If PD_STAGE_1 = "Enable" Then
|
|
||||||
Topping "Load" "12-02-01-0094"
|
|
||||||
Else
|
|
||||||
Topping "Load" "12-02-03-0094"
|
|
||||||
EndIf
|
|
||||||
EndIf
|
|
||||||
Var menu_name_eng_hot = $12-02-01-0094.NameE
|
|
||||||
Var menu_desc_eng_hot = $12-02-01-0094.descriptionE
|
|
||||||
Var menu_name_thai_hot = $12-02-01-0094.Name
|
|
||||||
Var menu_desc_thai_hot = $12-02-01-0094.description
|
|
||||||
|
|
||||||
Var menu_name_eng_cold = $12-02-02-0094.NameE
|
|
||||||
Var menu_desc_eng_cold = $12-02-02-0094.descriptionE
|
|
||||||
Var menu_name_thai_cold = $12-02-02-0094.Name
|
|
||||||
Var menu_desc_thai_cold = $12-02-02-0094.description
|
|
||||||
|
|
||||||
Var menu_name_eng_blender = $12-02-03-0094.NameE
|
|
||||||
Var menu_desc_eng_blender = $12-02-03-0094.descriptionE
|
|
||||||
Var menu_name_thai_blender = $12-02-03-0094.Name
|
|
||||||
Var menu_desc_thai_blender = $12-02-03-0094.description
|
|
||||||
|
|
||||||
DEBUGVAR PD_STAGE_1
|
|
||||||
DEBUGVAR PD_STAGE_2
|
|
||||||
DEBUGVAR PD_STAGE_3
|
|
||||||
Var SelectDrinkType = 0
|
|
||||||
|
|
||||||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
|
||||||
</EventOnClick>
|
|
||||||
</Menu>
|
|
||||||
|
|
||||||
; ==================> Len = 15
|
|
||||||
; 12-02-01-0095 12-02-02-0095 12-02-03-0095
|
|
||||||
<Menu>
|
|
||||||
<State> Flag( 12-02-01-0095.Button,12-02-02-0095.Button,12-02-03-0095.Button,$Sum120201009512020200951202030095) </State>
|
|
||||||
<IdleImage> "ROOT/taobin_project/image/page_drink_n//bn_thai_milk_tea_Lychee.png" </IdleImage>
|
|
||||||
<PressImage> "ROOT/taobin_project/image/page_drink_press_n//bn_thai_milk_tea_Lychee.png" </PressImage>
|
|
||||||
<DisableImage> "ROOT/taobin_project/image/page_drink_disable_n2//bn_thai_milk_tea_Lychee.png" </DisableImage>
|
|
||||||
<Name>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "Northeastern Lychee \nThai Milk Tea"
|
|
||||||
Else
|
|
||||||
Var return = "ชาไทยลิ้นจี่\nศรีโคตรบูรณ์"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</Name>
|
|
||||||
<Description>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "Thai Tea Milk Sugar Lychee"
|
|
||||||
Else
|
|
||||||
Var return = "ชาไทย นม น้ำตาล ลิ้นจี่"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</Description>
|
|
||||||
<HotState> $12-02-01-0095.Button </HotState>
|
|
||||||
<IceState> $12-02-02-0095.Button </IceState>
|
|
||||||
<BlendState> $12-02-03-0095.Button </BlendState>
|
|
||||||
<HotPrice> StringFmt( $12-02-01-0095.Price , DisplayFormat, PreScaleConvertShow) </HotPrice>
|
|
||||||
<IcePrice> StringFmt( $12-02-02-0095.Price , DisplayFormat, PreScaleConvertShow) </IcePrice>
|
|
||||||
<BlendPrice> StringFmt( $12-02-03-0095.Price , DisplayFormat, PreScaleConvertShow) </BlendPrice>
|
|
||||||
<IceProcessingState>
|
|
||||||
eval(
|
|
||||||
If ICE_PROCESS_STATUS = 2 Then
|
|
||||||
If $Sum510201003951020200395102030039 = "Disable" Then
|
|
||||||
Var ice_tab_process_show = "Disable"
|
|
||||||
Else
|
|
||||||
Var ice_tab_process_show = "Enable"
|
|
||||||
EndIf
|
|
||||||
Else
|
|
||||||
Var ice_tab_process_show = "Invisible"
|
|
||||||
EndIf
|
|
||||||
Var return = ice_tab_process_show
|
|
||||||
)
|
|
||||||
</IceProcessingState>
|
|
||||||
<IceProcessingImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </IceProcessingImage>
|
|
||||||
<IceProcessingDisableImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </IceProcessingDisableImage>
|
|
||||||
<EventOnClick>
|
|
||||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_thai_milk_tea_Lychee.png"
|
|
||||||
Var OpenFromXML = CurrentXMLFileName2
|
|
||||||
Var PriceD1 = $12-02-01-0095.Price
|
|
||||||
Var PriceD2 = $12-02-02-0095.Price
|
|
||||||
Var PriceD3 = $12-02-03-0095.Price
|
|
||||||
Var PD_CODE1 = "12-02-01-0095"
|
|
||||||
Var PD_CODE2 = "12-02-02-0095"
|
|
||||||
Var PD_CODE3 = "12-02-03-0095"
|
|
||||||
Var PD_STAGE_1 = $12-02-01-0095.Button
|
|
||||||
Var PD_STAGE_2 = $12-02-02-0095.Button
|
|
||||||
Var PD_STAGE_3 = $12-02-03-0095.Button
|
|
||||||
Var OverlayMenuFilter !assigned xmlpro( 12-02-01-0095, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
|
||||||
DEBUGVAR OverlayMenuFilter
|
|
||||||
Var SelectCountDrinkType = 0
|
|
||||||
Var DefaultDrinkType = 0
|
|
||||||
If PD_STAGE_1 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 1
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_2 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 2
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_3 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 3
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_2 = "Enable" Then
|
|
||||||
Topping "Load" "12-02-02-0095"
|
|
||||||
Else
|
|
||||||
If PD_STAGE_1 = "Enable" Then
|
|
||||||
Topping "Load" "12-02-01-0095"
|
|
||||||
Else
|
|
||||||
Topping "Load" "12-02-03-0095"
|
|
||||||
EndIf
|
|
||||||
EndIf
|
|
||||||
Var menu_name_eng_hot = $12-02-01-0095.NameE
|
|
||||||
Var menu_desc_eng_hot = $12-02-01-0095.descriptionE
|
|
||||||
Var menu_name_thai_hot = $12-02-01-0095.Name
|
|
||||||
Var menu_desc_thai_hot = $12-02-01-0095.description
|
|
||||||
|
|
||||||
Var menu_name_eng_cold = $12-02-02-0095.NameE
|
|
||||||
Var menu_desc_eng_cold = $12-02-02-0095.descriptionE
|
|
||||||
Var menu_name_thai_cold = $12-02-02-0095.Name
|
|
||||||
Var menu_desc_thai_cold = $12-02-02-0095.description
|
|
||||||
|
|
||||||
Var menu_name_eng_blender = $12-02-03-0095.NameE
|
|
||||||
Var menu_desc_eng_blender = $12-02-03-0095.descriptionE
|
|
||||||
Var menu_name_thai_blender = $12-02-03-0095.Name
|
|
||||||
Var menu_desc_thai_blender = $12-02-03-0095.description
|
|
||||||
|
|
||||||
DEBUGVAR PD_STAGE_1
|
|
||||||
DEBUGVAR PD_STAGE_2
|
|
||||||
DEBUGVAR PD_STAGE_3
|
|
||||||
Var SelectDrinkType = 0
|
|
||||||
|
|
||||||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
|
||||||
</EventOnClick>
|
|
||||||
</Menu>
|
|
||||||
|
|
||||||
; ==================> Len = 15
|
|
||||||
; 12-02-01-0096 12-02-02-0096 12-02-03-0096
|
|
||||||
<Menu>
|
|
||||||
<State> Flag( 12-02-01-0096.Button,12-02-02-0096.Button,12-02-03-0096.Button,$Sum120201009612020200961202030096) </State>
|
|
||||||
<IdleImage> "ROOT/taobin_project/image/page_drink_n//bn_thai_milk_tea_Plum.png" </IdleImage>
|
|
||||||
<PressImage> "ROOT/taobin_project/image/page_drink_press_n//bn_thai_milk_tea_Plum.png" </PressImage>
|
|
||||||
<DisableImage> "ROOT/taobin_project/image/page_drink_disable_n2//bn_thai_milk_tea_Plum.png" </DisableImage>
|
|
||||||
<Name>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "Eastern Ume \nThai Milk Tea"
|
|
||||||
Else
|
|
||||||
Var return = "ชาบ๊วยทวารวดี"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</Name>
|
|
||||||
<Description>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "Thai Tea Milk Sugar Ume"
|
|
||||||
Else
|
|
||||||
Var return = "ชาไทย นม น้ำตาล บ๊วย"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</Description>
|
|
||||||
<HotState> $12-02-01-0096.Button </HotState>
|
|
||||||
<IceState> $12-02-02-0096.Button </IceState>
|
|
||||||
<BlendState> $12-02-03-0096.Button </BlendState>
|
|
||||||
<HotPrice> StringFmt( $12-02-01-0096.Price , DisplayFormat, PreScaleConvertShow) </HotPrice>
|
|
||||||
<IcePrice> StringFmt( $12-02-02-0096.Price , DisplayFormat, PreScaleConvertShow) </IcePrice>
|
|
||||||
<BlendPrice> StringFmt( $12-02-03-0096.Price , DisplayFormat, PreScaleConvertShow) </BlendPrice>
|
|
||||||
<IceProcessingState>
|
|
||||||
eval(
|
|
||||||
If ICE_PROCESS_STATUS = 2 Then
|
|
||||||
If $Sum510201003951020200395102030039 = "Disable" Then
|
|
||||||
Var ice_tab_process_show = "Disable"
|
|
||||||
Else
|
|
||||||
Var ice_tab_process_show = "Enable"
|
|
||||||
EndIf
|
|
||||||
Else
|
|
||||||
Var ice_tab_process_show = "Invisible"
|
|
||||||
EndIf
|
|
||||||
Var return = ice_tab_process_show
|
|
||||||
)
|
|
||||||
</IceProcessingState>
|
|
||||||
<IceProcessingImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </IceProcessingImage>
|
|
||||||
<IceProcessingDisableImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </IceProcessingDisableImage>
|
|
||||||
<EventOnClick>
|
|
||||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_thai_milk_tea_Plum.png"
|
|
||||||
Var OpenFromXML = CurrentXMLFileName2
|
|
||||||
Var PriceD1 = $12-02-01-0096.Price
|
|
||||||
Var PriceD2 = $12-02-02-0096.Price
|
|
||||||
Var PriceD3 = $12-02-03-0096.Price
|
|
||||||
Var PD_CODE1 = "12-02-01-0096"
|
|
||||||
Var PD_CODE2 = "12-02-02-0096"
|
|
||||||
Var PD_CODE3 = "12-02-03-0096"
|
|
||||||
Var PD_STAGE_1 = $12-02-01-0096.Button
|
|
||||||
Var PD_STAGE_2 = $12-02-02-0096.Button
|
|
||||||
Var PD_STAGE_3 = $12-02-03-0096.Button
|
|
||||||
Var OverlayMenuFilter !assigned xmlpro( 12-02-01-0096, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
|
||||||
DEBUGVAR OverlayMenuFilter
|
|
||||||
Var SelectCountDrinkType = 0
|
|
||||||
Var DefaultDrinkType = 0
|
|
||||||
If PD_STAGE_1 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 1
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_2 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 2
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_3 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 3
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_2 = "Enable" Then
|
|
||||||
Topping "Load" "12-02-02-0096"
|
|
||||||
Else
|
|
||||||
If PD_STAGE_1 = "Enable" Then
|
|
||||||
Topping "Load" "12-02-01-0096"
|
|
||||||
Else
|
|
||||||
Topping "Load" "12-02-03-0096"
|
|
||||||
EndIf
|
|
||||||
EndIf
|
|
||||||
Var menu_name_eng_hot = $12-02-01-0096.NameE
|
|
||||||
Var menu_desc_eng_hot = $12-02-01-0096.descriptionE
|
|
||||||
Var menu_name_thai_hot = $12-02-01-0096.Name
|
|
||||||
Var menu_desc_thai_hot = $12-02-01-0096.description
|
|
||||||
|
|
||||||
Var menu_name_eng_cold = $12-02-02-0096.NameE
|
|
||||||
Var menu_desc_eng_cold = $12-02-02-0096.descriptionE
|
|
||||||
Var menu_name_thai_cold = $12-02-02-0096.Name
|
|
||||||
Var menu_desc_thai_cold = $12-02-02-0096.description
|
|
||||||
|
|
||||||
Var menu_name_eng_blender = $12-02-03-0096.NameE
|
|
||||||
Var menu_desc_eng_blender = $12-02-03-0096.descriptionE
|
|
||||||
Var menu_name_thai_blender = $12-02-03-0096.Name
|
|
||||||
Var menu_desc_thai_blender = $12-02-03-0096.description
|
|
||||||
|
|
||||||
DEBUGVAR PD_STAGE_1
|
|
||||||
DEBUGVAR PD_STAGE_2
|
|
||||||
DEBUGVAR PD_STAGE_3
|
|
||||||
Var SelectDrinkType = 0
|
|
||||||
|
|
||||||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
|
||||||
</EventOnClick>
|
|
||||||
</Menu>
|
|
||||||
|
|
||||||
; ==================> Len = 15
|
|
||||||
; 12-02-01-0039 12-02-02-0039 12-02-03-0039
|
|
||||||
<Menu>
|
|
||||||
<State> Flag( 12-02-01-0039.Button,12-02-02-0039.Button,12-02-03-0039.Button,$Sum120201003912020200391202030039) </State>
|
|
||||||
<IdleImage> "ROOT/taobin_project/image/page_drink_n//bn_thai_milk_tea_Banner.png" </IdleImage>
|
|
||||||
<PressImage> "ROOT/taobin_project/image/page_drink_press_n//bn_thai_milk_tea_Banner.png" </PressImage>
|
|
||||||
<DisableImage> "ROOT/taobin_project/image/page_drink_disable_n2//bn_thai_milk_tea_Banner.png" </DisableImage>
|
|
||||||
<Name>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "Tao Bin Thai Tea\n(Thai Milk Tea)"
|
|
||||||
Else
|
|
||||||
Var return = "ชาไทยเต่าบิน\n(ชานมไทย)"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</Name>
|
|
||||||
<Description>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "Thai Tea, Sugar, Milk"
|
|
||||||
Else
|
|
||||||
Var return = "ชาไทย และ นม"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</Description>
|
|
||||||
<HotState> $12-02-01-0039.Button </HotState>
|
|
||||||
<IceState> $12-02-02-0039.Button </IceState>
|
|
||||||
<BlendState> $12-02-03-0039.Button </BlendState>
|
|
||||||
<HotPrice> StringFmt( $12-02-01-0039.Price , DisplayFormat, PreScaleConvertShow) </HotPrice>
|
|
||||||
<IcePrice> StringFmt( $12-02-02-0039.Price , DisplayFormat, PreScaleConvertShow) </IcePrice>
|
|
||||||
<BlendPrice> StringFmt( $12-02-03-0039.Price , DisplayFormat, PreScaleConvertShow) </BlendPrice>
|
|
||||||
<IceProcessingState>
|
|
||||||
eval(
|
|
||||||
If ICE_PROCESS_STATUS = 2 Then
|
|
||||||
If $Sum510201003951020200395102030039 = "Disable" Then
|
|
||||||
Var ice_tab_process_show = "Disable"
|
|
||||||
Else
|
|
||||||
Var ice_tab_process_show = "Enable"
|
|
||||||
EndIf
|
|
||||||
Else
|
|
||||||
Var ice_tab_process_show = "Invisible"
|
|
||||||
EndIf
|
|
||||||
Var return = ice_tab_process_show
|
|
||||||
)
|
|
||||||
</IceProcessingState>
|
|
||||||
<IceProcessingImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </IceProcessingImage>
|
|
||||||
<IceProcessingDisableImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </IceProcessingDisableImage>
|
|
||||||
<EventOnClick>
|
|
||||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_thai_milk_tea_Banner.png"
|
|
||||||
Var OpenFromXML = CurrentXMLFileName2
|
|
||||||
Var PriceD1 = $12-02-01-0039.Price
|
|
||||||
Var PriceD2 = $12-02-02-0039.Price
|
|
||||||
Var PriceD3 = $12-02-03-0039.Price
|
|
||||||
Var PD_CODE1 = "12-02-01-0039"
|
|
||||||
Var PD_CODE2 = "12-02-02-0039"
|
|
||||||
Var PD_CODE3 = "12-02-03-0039"
|
|
||||||
Var PD_STAGE_1 = $12-02-01-0039.Button
|
|
||||||
Var PD_STAGE_2 = $12-02-02-0039.Button
|
|
||||||
Var PD_STAGE_3 = $12-02-03-0039.Button
|
|
||||||
Var OverlayMenuFilter !assigned xmlpro( 12-02-01-0039, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
|
||||||
DEBUGVAR OverlayMenuFilter
|
|
||||||
Var SelectCountDrinkType = 0
|
|
||||||
Var DefaultDrinkType = 0
|
|
||||||
If PD_STAGE_1 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 1
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_2 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 2
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_3 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 3
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_2 = "Enable" Then
|
|
||||||
Topping "Load" "12-02-02-0039"
|
|
||||||
Else
|
|
||||||
If PD_STAGE_1 = "Enable" Then
|
|
||||||
Topping "Load" "12-02-01-0039"
|
|
||||||
Else
|
|
||||||
Topping "Load" "12-02-03-0039"
|
|
||||||
EndIf
|
|
||||||
EndIf
|
|
||||||
Var menu_name_eng_hot = $12-02-01-0039.NameE
|
|
||||||
Var menu_desc_eng_hot = $12-02-01-0039.descriptionE
|
|
||||||
Var menu_name_thai_hot = $12-02-01-0039.Name
|
|
||||||
Var menu_desc_thai_hot = $12-02-01-0039.description
|
|
||||||
|
|
||||||
Var menu_name_eng_cold = $12-02-02-0039.NameE
|
|
||||||
Var menu_desc_eng_cold = $12-02-02-0039.descriptionE
|
|
||||||
Var menu_name_thai_cold = $12-02-02-0039.Name
|
|
||||||
Var menu_desc_thai_cold = $12-02-02-0039.description
|
|
||||||
|
|
||||||
Var menu_name_eng_blender = $12-02-03-0039.NameE
|
|
||||||
Var menu_desc_eng_blender = $12-02-03-0039.descriptionE
|
|
||||||
Var menu_name_thai_blender = $12-02-03-0039.Name
|
|
||||||
Var menu_desc_thai_blender = $12-02-03-0039.description
|
|
||||||
|
|
||||||
DEBUGVAR PD_STAGE_1
|
|
||||||
DEBUGVAR PD_STAGE_2
|
|
||||||
DEBUGVAR PD_STAGE_3
|
|
||||||
Var SelectDrinkType = 0
|
|
||||||
|
|
||||||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
|
||||||
</EventOnClick>
|
|
||||||
</Menu>
|
|
||||||
|
|
||||||
</ScrollableCatalog>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</Popup>
|
|
||||||
|
|
@ -1,34 +0,0 @@
|
||||||
<?hurr
|
|
||||||
#include=menu_head.py
|
|
||||||
?>
|
|
||||||
|
|
||||||
<Popup>
|
|
||||||
<Cache> "Enable" </Cache>
|
|
||||||
<Width> 1080 </Width>
|
|
||||||
<Height> 1920 </Height>
|
|
||||||
;<Background> "0xeae6e1" </Background>
|
|
||||||
<Volume> SoundVolume </Volume>
|
|
||||||
<EventOpen>
|
|
||||||
; On open
|
|
||||||
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
|
|
||||||
|
|
||||||
|
|
||||||
Var Timeout = 0
|
|
||||||
Var FromLipitPro = 0
|
|
||||||
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
|
|
||||||
</EventOpen>
|
|
||||||
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/xml/v3/menu_catalog_new.xml"
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<?hurr
|
|
||||||
#include=menu_new_layout_gen_v3.py
|
|
||||||
?>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</Popup>
|
|
||||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,33 +0,0 @@
|
||||||
<?hurr
|
|
||||||
#include=menu_head.py
|
|
||||||
?>
|
|
||||||
|
|
||||||
<Popup>
|
|
||||||
<Cache> "Enable" </Cache>
|
|
||||||
<Width> 1080 </Width>
|
|
||||||
<Height> 1920 </Height>
|
|
||||||
;<Background> "0xeae6e1" </Background>
|
|
||||||
<Volume> SoundVolume </Volume>
|
|
||||||
<EventOpen>
|
|
||||||
; On open
|
|
||||||
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
|
|
||||||
|
|
||||||
|
|
||||||
Var Timeout = 0
|
|
||||||
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
|
|
||||||
</EventOpen>
|
|
||||||
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/xml/v3/menu_catalog_new.xml"
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<?hurr
|
|
||||||
#include=menu_new_layout_gen_v3.py
|
|
||||||
?>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</Popup>
|
|
||||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,30 +0,0 @@
|
||||||
<?hurr
|
|
||||||
#include=menu_head.py
|
|
||||||
?>
|
|
||||||
|
|
||||||
<Popup>
|
|
||||||
<Cache> "Enable" </Cache>
|
|
||||||
<Width> 1080 </Width>
|
|
||||||
<Height> 1920 </Height>
|
|
||||||
;<Background> "0xeae6e1" </Background>
|
|
||||||
<Volume> SoundVolume </Volume>
|
|
||||||
<EventOpen>
|
|
||||||
; On open
|
|
||||||
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
|
|
||||||
Var Timeout = 0
|
|
||||||
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
|
|
||||||
</EventOpen>
|
|
||||||
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/xml/v3/menu_catalog_new.xml"
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<?hurr
|
|
||||||
#include=menu_new_layout_gen_v3.py
|
|
||||||
?>
|
|
||||||
|
|
||||||
|
|
||||||
</Popup>
|
|
||||||
|
|
@ -1,45 +0,0 @@
|
||||||
<?hurr
|
|
||||||
#include=menu_head.py
|
|
||||||
?>
|
|
||||||
|
|
||||||
<Popup>
|
|
||||||
<Cache> "Enable" </Cache>
|
|
||||||
<Width> 1080 </Width>
|
|
||||||
<Height> 1920 </Height>
|
|
||||||
;<Background> "0xeae6e1" </Background>
|
|
||||||
<Volume> SoundVolume </Volume>
|
|
||||||
<EventOpen>
|
|
||||||
; On open
|
|
||||||
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
|
|
||||||
Var Timeout = 0
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
|
|
||||||
</EventOpen>
|
|
||||||
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/xml/v3/menu_catalog_new.xml"
|
|
||||||
|
|
||||||
<?hurr
|
|
||||||
#include=menu_new_layout_gen_v3.py
|
|
||||||
?>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
;BigLogoLayout
|
|
||||||
|
|
||||||
<Button>
|
|
||||||
<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>
|
|
||||||
|
|
||||||
</Popup>
|
|
||||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,34 +0,0 @@
|
||||||
<?hurr
|
|
||||||
#include=menu_head.py
|
|
||||||
?>
|
|
||||||
|
|
||||||
<Popup>
|
|
||||||
<Cache> "Enable" </Cache>
|
|
||||||
<Width> 1080 </Width>
|
|
||||||
<Height> 1920 </Height>
|
|
||||||
;<Background> "0xeae6e1" </Background>
|
|
||||||
<Volume> SoundVolume </Volume>
|
|
||||||
<EventOpen>
|
|
||||||
; On open
|
|
||||||
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
|
|
||||||
|
|
||||||
|
|
||||||
Var Timeout = 0
|
|
||||||
Var FromMondayBananaPro = 0
|
|
||||||
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
|
|
||||||
</EventOpen>
|
|
||||||
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/xml/v3/menu_catalog_new.xml"
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<?hurr
|
|
||||||
#include=menu_new_layout_gen_v3.py
|
|
||||||
?>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</Popup>
|
|
||||||
|
|
@ -1,431 +0,0 @@
|
||||||
|
|
||||||
|
|
||||||
<Popup>
|
|
||||||
<Cache> "Enable" </Cache>
|
|
||||||
<Width> 1080 </Width>
|
|
||||||
<Height> 1920 </Height>
|
|
||||||
;<Background> "0xeae6e1" </Background>
|
|
||||||
<Volume> SoundVolume </Volume>
|
|
||||||
<EventOpen>
|
|
||||||
; On open
|
|
||||||
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
|
|
||||||
|
|
||||||
|
|
||||||
Var Timeout = 0
|
|
||||||
Var FromMondayBananaPro = 0
|
|
||||||
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
|
|
||||||
</EventOpen>
|
|
||||||
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/xml/v3/menu_catalog_new.xml"
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<ScrollableCatalog>
|
|
||||||
<X> 0 </X>
|
|
||||||
<Y> 497 </Y>
|
|
||||||
<Width> 1080 </Width>
|
|
||||||
<Height> 1423 </Height>
|
|
||||||
<Configuration>
|
|
||||||
<MenuNameTextConfiguration>
|
|
||||||
<Font> KanitMediumTTF </Font>
|
|
||||||
<Color> 0x322B26 </Color>
|
|
||||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
|
||||||
<AutoResizeConfiguration>
|
|
||||||
<Min> 16 </Min>
|
|
||||||
<Max> 22 </Max>
|
|
||||||
<AdjustStep> 1 </AdjustStep>
|
|
||||||
</AutoResizeConfiguration>
|
|
||||||
</MenuNameTextConfiguration>
|
|
||||||
<MenuDescriptionTextConfiguration>
|
|
||||||
<Font> KanitMediumTTF </Font>
|
|
||||||
<Color> 0x322B26 </Color>
|
|
||||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
|
||||||
<AutoResizeConfiguration>
|
|
||||||
<Min> 10 </Min>
|
|
||||||
<Max> 14 </Max>
|
|
||||||
<AdjustStep> 1 </AdjustStep>
|
|
||||||
</AutoResizeConfiguration>
|
|
||||||
</MenuDescriptionTextConfiguration>
|
|
||||||
<MenuPriceTextConfiguration>
|
|
||||||
<Font> KanitRegularTTF </Font>
|
|
||||||
<Color> 0x6F5F51 </Color>
|
|
||||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
|
||||||
<AutoResizeConfiguration>
|
|
||||||
<Min> 4 </Min>
|
|
||||||
<Max> 20 </Max>
|
|
||||||
<AdjustStep> 1 </AdjustStep>
|
|
||||||
</AutoResizeConfiguration>
|
|
||||||
</MenuPriceTextConfiguration>
|
|
||||||
<MenuHotPriceLabel>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "Hot"
|
|
||||||
Else
|
|
||||||
Var return = "ร้อน"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</MenuHotPriceLabel>
|
|
||||||
<MenuIcePriceLabel>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "Ice"
|
|
||||||
Else
|
|
||||||
Var return = "เย็น"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</MenuIcePriceLabel>
|
|
||||||
<MenuBlendPriceLabel>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return ="Blend"
|
|
||||||
Else
|
|
||||||
Var return = "ปั่น"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</MenuBlendPriceLabel>
|
|
||||||
<MenuUnavailableLabel>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return ="UNAVAILABLE"
|
|
||||||
Else
|
|
||||||
Var return = "หมด"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</MenuUnavailableLabel>
|
|
||||||
</Configuration>
|
|
||||||
<Menus>
|
|
||||||
;banners
|
|
||||||
; menu_new_list 3
|
|
||||||
; ==================> Len = 15
|
|
||||||
; - 12-03-02-0024 12-03-03-0024
|
|
||||||
<Menu>
|
|
||||||
<State> Flag( 12-03-02-0024.Button,12-03-03-0024.Button,$Sum12030200241203030024) </State>
|
|
||||||
<IdleImage> "ROOT/taobin_project/image/page_drink_n//bn_ChocoBanana_milk_monday_banana.png" </IdleImage>
|
|
||||||
<PressImage> "ROOT/taobin_project/image/page_drink_press_n//bn_ChocoBanana_milk_monday_banana.png" </PressImage>
|
|
||||||
<DisableImage> "ROOT/taobin_project/image/page_drink_disable_n2//bn_ChocoBanana_milk_monday_banana.png" </DisableImage>
|
|
||||||
<Name>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "A Positive Leave\nIs Relieve"
|
|
||||||
Else
|
|
||||||
Var return = "ลาที่ดีคือลาออก"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</Name>
|
|
||||||
<Description>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "Tokyo Banana , Milk, Sugar"
|
|
||||||
Else
|
|
||||||
Var return = "โกโก้ โตเกียวบานาน่า นมและน้ำตาล"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</Description>
|
|
||||||
<HotState> "Disable2" </HotState>
|
|
||||||
<IceState> $12-03-02-0024.Button </IceState>
|
|
||||||
<BlendState> $12-03-03-0024.Button </BlendState>
|
|
||||||
<HotPrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </HotPrice>
|
|
||||||
<IcePrice> StringFmt( $12-03-02-0024.Price , DisplayFormat, PreScaleConvertShow) </IcePrice>
|
|
||||||
<BlendPrice> StringFmt( $12-03-03-0024.Price , DisplayFormat, PreScaleConvertShow) </BlendPrice>
|
|
||||||
<IceProcessingState>
|
|
||||||
eval(
|
|
||||||
If ICE_PROCESS_STATUS = 2 Then
|
|
||||||
If $Sum510201003951020200395102030039 = "Disable" Then
|
|
||||||
Var ice_tab_process_show = "Disable"
|
|
||||||
Else
|
|
||||||
Var ice_tab_process_show = "Enable"
|
|
||||||
EndIf
|
|
||||||
Else
|
|
||||||
Var ice_tab_process_show = "Invisible"
|
|
||||||
EndIf
|
|
||||||
Var return = ice_tab_process_show
|
|
||||||
)
|
|
||||||
</IceProcessingState>
|
|
||||||
<IceProcessingImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </IceProcessingImage>
|
|
||||||
<IceProcessingDisableImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </IceProcessingDisableImage>
|
|
||||||
<EventOnClick>
|
|
||||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_ChocoBanana_milk_monday_banana.png"
|
|
||||||
Var OpenFromXML = CurrentXMLFileName2
|
|
||||||
Var PriceD1 = $##-##-##-####.Price
|
|
||||||
Var PriceD2 = $12-03-02-0024.Price
|
|
||||||
Var PriceD3 = $12-03-03-0024.Price
|
|
||||||
Var PD_CODE1 = "##-##-##-####"
|
|
||||||
Var PD_CODE2 = "12-03-02-0024"
|
|
||||||
Var PD_CODE3 = "12-03-03-0024"
|
|
||||||
Var PD_STAGE_1 = "Disable2"
|
|
||||||
Var PD_STAGE_2 = $12-03-02-0024.Button
|
|
||||||
Var PD_STAGE_3 = $12-03-03-0024.Button
|
|
||||||
Var OverlayMenuFilter !assigned xmlpro( 12-03-03-0024, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
|
||||||
DEBUGVAR OverlayMenuFilter
|
|
||||||
Var SelectCountDrinkType = 0
|
|
||||||
Var DefaultDrinkType = 0
|
|
||||||
If PD_STAGE_1 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 1
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_2 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 2
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_3 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 3
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_2 = "Enable" Then
|
|
||||||
Topping "Load" "12-03-02-0024"
|
|
||||||
Else
|
|
||||||
If PD_STAGE_1 = "Enable" Then
|
|
||||||
Topping "Load" "-"
|
|
||||||
Else
|
|
||||||
Topping "Load" "12-03-03-0024"
|
|
||||||
EndIf
|
|
||||||
EndIf
|
|
||||||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
|
||||||
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
|
||||||
Var menu_name_thai_hot = $##-##-##-####.Name
|
|
||||||
Var menu_desc_thai_hot = $##-##-##-####.description
|
|
||||||
|
|
||||||
Var menu_name_eng_cold = $12-03-02-0024.NameE
|
|
||||||
Var menu_desc_eng_cold = $12-03-02-0024.descriptionE
|
|
||||||
Var menu_name_thai_cold = $12-03-02-0024.Name
|
|
||||||
Var menu_desc_thai_cold = $12-03-02-0024.description
|
|
||||||
|
|
||||||
Var menu_name_eng_blender = $12-03-03-0024.NameE
|
|
||||||
Var menu_desc_eng_blender = $12-03-03-0024.descriptionE
|
|
||||||
Var menu_name_thai_blender = $12-03-03-0024.Name
|
|
||||||
Var menu_desc_thai_blender = $12-03-03-0024.description
|
|
||||||
|
|
||||||
DEBUGVAR PD_STAGE_1
|
|
||||||
DEBUGVAR PD_STAGE_2
|
|
||||||
DEBUGVAR PD_STAGE_3
|
|
||||||
Var SelectDrinkType = 0
|
|
||||||
|
|
||||||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
|
||||||
</EventOnClick>
|
|
||||||
</Menu>
|
|
||||||
|
|
||||||
; ==================> Len = 15
|
|
||||||
; - - 12-03-03-0029
|
|
||||||
<Menu>
|
|
||||||
<State> Flag( 12-03-03-0029.Button,$Sum1203030029) </State>
|
|
||||||
<IdleImage> "ROOT/taobin_project/image/page_drink_n//bn_BananaOreo_smoothie_monday_banana.png" </IdleImage>
|
|
||||||
<PressImage> "ROOT/taobin_project/image/page_drink_press_n//bn_BananaOreo_smoothie_monday_banana.png" </PressImage>
|
|
||||||
<DisableImage> "ROOT/taobin_project/image/page_drink_disable_n2//bn_BananaOreo_smoothie_monday_banana.png" </DisableImage>
|
|
||||||
<Name>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "A Perfect App\nIs Approve"
|
|
||||||
Else
|
|
||||||
Var return = "แอพที่ดีคือแอพพรูฟ"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</Name>
|
|
||||||
<Description>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "Banana , Milk,\nSugar, Oreo"
|
|
||||||
Else
|
|
||||||
Var return = "กล้วย นม น้ำตาล Oreo"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</Description>
|
|
||||||
<HotState> "Disable2" </HotState>
|
|
||||||
<IceState> "Disable2" </IceState>
|
|
||||||
<BlendState> $12-03-03-0029.Button </BlendState>
|
|
||||||
<HotPrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </HotPrice>
|
|
||||||
<IcePrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </IcePrice>
|
|
||||||
<BlendPrice> StringFmt( $12-03-03-0029.Price , DisplayFormat, PreScaleConvertShow) </BlendPrice>
|
|
||||||
<IceProcessingState>
|
|
||||||
eval(
|
|
||||||
If ICE_PROCESS_STATUS = 2 Then
|
|
||||||
If $Sum510201003951020200395102030039 = "Disable" Then
|
|
||||||
Var ice_tab_process_show = "Disable"
|
|
||||||
Else
|
|
||||||
Var ice_tab_process_show = "Enable"
|
|
||||||
EndIf
|
|
||||||
Else
|
|
||||||
Var ice_tab_process_show = "Invisible"
|
|
||||||
EndIf
|
|
||||||
Var return = ice_tab_process_show
|
|
||||||
)
|
|
||||||
</IceProcessingState>
|
|
||||||
<IceProcessingImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </IceProcessingImage>
|
|
||||||
<IceProcessingDisableImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </IceProcessingDisableImage>
|
|
||||||
<EventOnClick>
|
|
||||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_BananaOreo_smoothie_monday_banana.png"
|
|
||||||
Var OpenFromXML = CurrentXMLFileName2
|
|
||||||
Var PriceD1 = $##-##-##-####.Price
|
|
||||||
Var PriceD2 = $##-##-##-####.Price
|
|
||||||
Var PriceD3 = $12-03-03-0029.Price
|
|
||||||
Var PD_CODE1 = "##-##-##-####"
|
|
||||||
Var PD_CODE2 = "##-##-##-####"
|
|
||||||
Var PD_CODE3 = "12-03-03-0029"
|
|
||||||
Var PD_STAGE_1 = "Disable2"
|
|
||||||
Var PD_STAGE_2 = "Disable2"
|
|
||||||
Var PD_STAGE_3 = $12-03-03-0029.Button
|
|
||||||
Var OverlayMenuFilter !assigned xmlpro( 12-03-03-0029, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
|
||||||
DEBUGVAR OverlayMenuFilter
|
|
||||||
Var SelectCountDrinkType = 0
|
|
||||||
Var DefaultDrinkType = 0
|
|
||||||
If PD_STAGE_1 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 1
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_2 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 2
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_3 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 3
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_2 = "Enable" Then
|
|
||||||
Topping "Load" "-"
|
|
||||||
Else
|
|
||||||
If PD_STAGE_1 = "Enable" Then
|
|
||||||
Topping "Load" "-"
|
|
||||||
Else
|
|
||||||
Topping "Load" "12-03-03-0029"
|
|
||||||
EndIf
|
|
||||||
EndIf
|
|
||||||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
|
||||||
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
|
||||||
Var menu_name_thai_hot = $##-##-##-####.Name
|
|
||||||
Var menu_desc_thai_hot = $##-##-##-####.description
|
|
||||||
|
|
||||||
Var menu_name_eng_cold = $##-##-##-####.NameE
|
|
||||||
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
|
|
||||||
Var menu_name_thai_cold = $##-##-##-####.Name
|
|
||||||
Var menu_desc_thai_cold = $##-##-##-####.description
|
|
||||||
|
|
||||||
Var menu_name_eng_blender = $12-03-03-0029.NameE
|
|
||||||
Var menu_desc_eng_blender = $12-03-03-0029.descriptionE
|
|
||||||
Var menu_name_thai_blender = $12-03-03-0029.Name
|
|
||||||
Var menu_desc_thai_blender = $12-03-03-0029.description
|
|
||||||
|
|
||||||
DEBUGVAR PD_STAGE_1
|
|
||||||
DEBUGVAR PD_STAGE_2
|
|
||||||
DEBUGVAR PD_STAGE_3
|
|
||||||
Var SelectDrinkType = 0
|
|
||||||
|
|
||||||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
|
||||||
</EventOnClick>
|
|
||||||
</Menu>
|
|
||||||
|
|
||||||
; ==================> Len = 15
|
|
||||||
; - 12-03-02-0023 12-03-03-0023
|
|
||||||
<Menu>
|
|
||||||
<State> Flag( 12-03-02-0023.Button,12-03-03-0023.Button,$Sum12030200231203030023) </State>
|
|
||||||
<IdleImage> "ROOT/taobin_project/image/page_drink_n//bn_Banana_milk_monday_banana.png" </IdleImage>
|
|
||||||
<PressImage> "ROOT/taobin_project/image/page_drink_press_n//bn_Banana_milk_monday_banana.png" </PressImage>
|
|
||||||
<DisableImage> "ROOT/taobin_project/image/page_drink_disable_n2//bn_Banana_milk_monday_banana.png" </DisableImage>
|
|
||||||
<Name>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "A Favorable Boost\nIs A Money Boost"
|
|
||||||
Else
|
|
||||||
Var return = "โบที่ดีคือโบนัส\nสิบสองเดือน"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</Name>
|
|
||||||
<Description>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "Banana , milk And Ice"
|
|
||||||
Else
|
|
||||||
Var return = "กล้วย นม และน้ำแข็ง"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</Description>
|
|
||||||
<HotState> "Disable2" </HotState>
|
|
||||||
<IceState> $12-03-02-0023.Button </IceState>
|
|
||||||
<BlendState> $12-03-03-0023.Button </BlendState>
|
|
||||||
<HotPrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </HotPrice>
|
|
||||||
<IcePrice> StringFmt( $12-03-02-0023.Price , DisplayFormat, PreScaleConvertShow) </IcePrice>
|
|
||||||
<BlendPrice> StringFmt( $12-03-03-0023.Price , DisplayFormat, PreScaleConvertShow) </BlendPrice>
|
|
||||||
<IceProcessingState>
|
|
||||||
eval(
|
|
||||||
If ICE_PROCESS_STATUS = 2 Then
|
|
||||||
If $Sum510201003951020200395102030039 = "Disable" Then
|
|
||||||
Var ice_tab_process_show = "Disable"
|
|
||||||
Else
|
|
||||||
Var ice_tab_process_show = "Enable"
|
|
||||||
EndIf
|
|
||||||
Else
|
|
||||||
Var ice_tab_process_show = "Invisible"
|
|
||||||
EndIf
|
|
||||||
Var return = ice_tab_process_show
|
|
||||||
)
|
|
||||||
</IceProcessingState>
|
|
||||||
<IceProcessingImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </IceProcessingImage>
|
|
||||||
<IceProcessingDisableImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </IceProcessingDisableImage>
|
|
||||||
<EventOnClick>
|
|
||||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_Banana_milk_monday_banana.png"
|
|
||||||
Var OpenFromXML = CurrentXMLFileName2
|
|
||||||
Var PriceD1 = $##-##-##-####.Price
|
|
||||||
Var PriceD2 = $12-03-02-0023.Price
|
|
||||||
Var PriceD3 = $12-03-03-0023.Price
|
|
||||||
Var PD_CODE1 = "##-##-##-####"
|
|
||||||
Var PD_CODE2 = "12-03-02-0023"
|
|
||||||
Var PD_CODE3 = "12-03-03-0023"
|
|
||||||
Var PD_STAGE_1 = "Disable2"
|
|
||||||
Var PD_STAGE_2 = $12-03-02-0023.Button
|
|
||||||
Var PD_STAGE_3 = $12-03-03-0023.Button
|
|
||||||
Var OverlayMenuFilter !assigned xmlpro( 12-03-03-0023, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
|
||||||
DEBUGVAR OverlayMenuFilter
|
|
||||||
Var SelectCountDrinkType = 0
|
|
||||||
Var DefaultDrinkType = 0
|
|
||||||
If PD_STAGE_1 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 1
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_2 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 2
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_3 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 3
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_2 = "Enable" Then
|
|
||||||
Topping "Load" "12-03-02-0023"
|
|
||||||
Else
|
|
||||||
If PD_STAGE_1 = "Enable" Then
|
|
||||||
Topping "Load" "-"
|
|
||||||
Else
|
|
||||||
Topping "Load" "12-03-03-0023"
|
|
||||||
EndIf
|
|
||||||
EndIf
|
|
||||||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
|
||||||
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
|
||||||
Var menu_name_thai_hot = $##-##-##-####.Name
|
|
||||||
Var menu_desc_thai_hot = $##-##-##-####.description
|
|
||||||
|
|
||||||
Var menu_name_eng_cold = $12-03-02-0023.NameE
|
|
||||||
Var menu_desc_eng_cold = $12-03-02-0023.descriptionE
|
|
||||||
Var menu_name_thai_cold = $12-03-02-0023.Name
|
|
||||||
Var menu_desc_thai_cold = $12-03-02-0023.description
|
|
||||||
|
|
||||||
Var menu_name_eng_blender = $12-03-03-0023.NameE
|
|
||||||
Var menu_desc_eng_blender = $12-03-03-0023.descriptionE
|
|
||||||
Var menu_name_thai_blender = $12-03-03-0023.Name
|
|
||||||
Var menu_desc_thai_blender = $12-03-03-0023.description
|
|
||||||
|
|
||||||
DEBUGVAR PD_STAGE_1
|
|
||||||
DEBUGVAR PD_STAGE_2
|
|
||||||
DEBUGVAR PD_STAGE_3
|
|
||||||
Var SelectDrinkType = 0
|
|
||||||
|
|
||||||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
|
||||||
</EventOnClick>
|
|
||||||
</Menu>
|
|
||||||
|
|
||||||
</ScrollableCatalog>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</Popup>
|
|
||||||
|
|
@ -1,51 +0,0 @@
|
||||||
<?hurr
|
|
||||||
#include=menu_head.py
|
|
||||||
?>
|
|
||||||
|
|
||||||
<Popup>
|
|
||||||
<Cache> "Enable" </Cache>
|
|
||||||
<Width> 1080 </Width>
|
|
||||||
<Height> 1920 </Height>
|
|
||||||
;<Background> "0xeae6e1" </Background>
|
|
||||||
<Volume> SoundVolume </Volume>
|
|
||||||
<EventOpen>
|
|
||||||
; On open
|
|
||||||
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
|
|
||||||
Var FromMyMintPro = 0
|
|
||||||
|
|
||||||
Var Timeout = 0
|
|
||||||
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
|
|
||||||
|
|
||||||
</EventOpen>
|
|
||||||
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/xml/v3/menu_catalog_new.xml"
|
|
||||||
|
|
||||||
<?hurr
|
|
||||||
#include=menu_new_layout_gen_v3.py
|
|
||||||
?>
|
|
||||||
|
|
||||||
<Button>
|
|
||||||
<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>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
;BigLogoLayout
|
|
||||||
|
|
||||||
</Popup>
|
|
||||||
|
|
||||||
|
|
||||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,49 +0,0 @@
|
||||||
<?hurr
|
|
||||||
#include=menu_head.py
|
|
||||||
?>
|
|
||||||
|
|
||||||
<Popup>
|
|
||||||
<Cache> "Enable" </Cache>
|
|
||||||
<Width> 1080 </Width>
|
|
||||||
<Height> 1920 </Height>
|
|
||||||
;<Background> "0xeae6e1" </Background>
|
|
||||||
<Volume> SoundVolume </Volume>
|
|
||||||
<EventOpen>
|
|
||||||
; On open
|
|
||||||
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
|
|
||||||
Var Timeout = 0
|
|
||||||
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
|
|
||||||
|
|
||||||
</EventOpen>
|
|
||||||
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/xml/v3/menu_catalog_new.xml"
|
|
||||||
|
|
||||||
<?hurr
|
|
||||||
#include=menu_new_layout_gen_v3.py
|
|
||||||
?>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
;BigLogoLayout
|
|
||||||
|
|
||||||
<Button>
|
|
||||||
<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>
|
|
||||||
|
|
||||||
</Popup>
|
|
||||||
|
|
||||||
|
|
||||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,51 +0,0 @@
|
||||||
<?hurr
|
|
||||||
#include=menu_head.py
|
|
||||||
?>
|
|
||||||
|
|
||||||
<Popup>
|
|
||||||
<Cache> "Enable" </Cache>
|
|
||||||
<Width> 1080 </Width>
|
|
||||||
<Height> 1920 </Height>
|
|
||||||
;<Background> "0xeae6e1" </Background>
|
|
||||||
<Volume> SoundVolume </Volume>
|
|
||||||
<EventOpen>
|
|
||||||
; On open
|
|
||||||
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
|
|
||||||
Var FromOreoDiscount11Pro = 0
|
|
||||||
|
|
||||||
Var Timeout = 0
|
|
||||||
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
|
|
||||||
|
|
||||||
</EventOpen>
|
|
||||||
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/xml/v3/menu_catalog_new.xml"
|
|
||||||
|
|
||||||
<?hurr
|
|
||||||
#include=menu_new_layout_gen_v3.py
|
|
||||||
?>
|
|
||||||
|
|
||||||
<Button>
|
|
||||||
<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>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
;BigLogoLayout
|
|
||||||
|
|
||||||
</Popup>
|
|
||||||
|
|
||||||
|
|
||||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,33 +0,0 @@
|
||||||
<?hurr
|
|
||||||
#include=menu_head.py
|
|
||||||
?>
|
|
||||||
|
|
||||||
<Popup>
|
|
||||||
<Cache> "Enable" </Cache>
|
|
||||||
<Width> 1080 </Width>
|
|
||||||
<Height> 1920 </Height>
|
|
||||||
;<Background> "0xeae6e1" </Background>
|
|
||||||
<Volume> SoundVolume </Volume>
|
|
||||||
<EventOpen>
|
|
||||||
; On open
|
|
||||||
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
|
|
||||||
|
|
||||||
|
|
||||||
Var Timeout = 0
|
|
||||||
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
|
|
||||||
</EventOpen>
|
|
||||||
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/xml/v3/menu_catalog_new.xml"
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<?hurr
|
|
||||||
#include=menu_new_layout_gen_v3.py
|
|
||||||
?>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</Popup>
|
|
||||||
|
|
@ -1,430 +0,0 @@
|
||||||
|
|
||||||
|
|
||||||
<Popup>
|
|
||||||
<Cache> "Enable" </Cache>
|
|
||||||
<Width> 1080 </Width>
|
|
||||||
<Height> 1920 </Height>
|
|
||||||
;<Background> "0xeae6e1" </Background>
|
|
||||||
<Volume> SoundVolume </Volume>
|
|
||||||
<EventOpen>
|
|
||||||
; On open
|
|
||||||
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
|
|
||||||
|
|
||||||
|
|
||||||
Var Timeout = 0
|
|
||||||
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
|
|
||||||
</EventOpen>
|
|
||||||
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/xml/v3/menu_catalog_new.xml"
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<ScrollableCatalog>
|
|
||||||
<X> 0 </X>
|
|
||||||
<Y> 497 </Y>
|
|
||||||
<Width> 1080 </Width>
|
|
||||||
<Height> 1423 </Height>
|
|
||||||
<Configuration>
|
|
||||||
<MenuNameTextConfiguration>
|
|
||||||
<Font> KanitMediumTTF </Font>
|
|
||||||
<Color> 0x322B26 </Color>
|
|
||||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
|
||||||
<AutoResizeConfiguration>
|
|
||||||
<Min> 16 </Min>
|
|
||||||
<Max> 22 </Max>
|
|
||||||
<AdjustStep> 1 </AdjustStep>
|
|
||||||
</AutoResizeConfiguration>
|
|
||||||
</MenuNameTextConfiguration>
|
|
||||||
<MenuDescriptionTextConfiguration>
|
|
||||||
<Font> KanitMediumTTF </Font>
|
|
||||||
<Color> 0x322B26 </Color>
|
|
||||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
|
||||||
<AutoResizeConfiguration>
|
|
||||||
<Min> 10 </Min>
|
|
||||||
<Max> 14 </Max>
|
|
||||||
<AdjustStep> 1 </AdjustStep>
|
|
||||||
</AutoResizeConfiguration>
|
|
||||||
</MenuDescriptionTextConfiguration>
|
|
||||||
<MenuPriceTextConfiguration>
|
|
||||||
<Font> KanitRegularTTF </Font>
|
|
||||||
<Color> 0x6F5F51 </Color>
|
|
||||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
|
||||||
<AutoResizeConfiguration>
|
|
||||||
<Min> 4 </Min>
|
|
||||||
<Max> 20 </Max>
|
|
||||||
<AdjustStep> 1 </AdjustStep>
|
|
||||||
</AutoResizeConfiguration>
|
|
||||||
</MenuPriceTextConfiguration>
|
|
||||||
<MenuHotPriceLabel>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "Hot"
|
|
||||||
Else
|
|
||||||
Var return = "ร้อน"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</MenuHotPriceLabel>
|
|
||||||
<MenuIcePriceLabel>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "Ice"
|
|
||||||
Else
|
|
||||||
Var return = "เย็น"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</MenuIcePriceLabel>
|
|
||||||
<MenuBlendPriceLabel>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return ="Blend"
|
|
||||||
Else
|
|
||||||
Var return = "ปั่น"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</MenuBlendPriceLabel>
|
|
||||||
<MenuUnavailableLabel>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return ="UNAVAILABLE"
|
|
||||||
Else
|
|
||||||
Var return = "หมด"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</MenuUnavailableLabel>
|
|
||||||
</Configuration>
|
|
||||||
<Menus>
|
|
||||||
;banners
|
|
||||||
; menu_new_list 3
|
|
||||||
; ==================> Len = 15
|
|
||||||
; 12-03-01-0019 12-03-02-0019 12-03-03-0019
|
|
||||||
<Menu>
|
|
||||||
<State> Flag( 12-03-01-0019.Button,12-03-02-0019.Button,12-03-03-0019.Button,$Sum120301001912030200191203030019) </State>
|
|
||||||
<IdleImage> "ROOT/taobin_project/image/page_drink_n//bn_iced_ovaltine.png" </IdleImage>
|
|
||||||
<PressImage> "ROOT/taobin_project/image/page_drink_press_n//bn_iced_ovaltine.png" </PressImage>
|
|
||||||
<DisableImage> "ROOT/taobin_project/image/page_drink_disable_n2//bn_iced_ovaltine.png" </DisableImage>
|
|
||||||
<Name>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "Ovaltine"
|
|
||||||
Else
|
|
||||||
Var return = "โอวัลติน"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</Name>
|
|
||||||
<Description>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "Ovaltine, Milk, Cocoa,\nand Sugar"
|
|
||||||
Else
|
|
||||||
Var return = "โอวัลติน นม โกโก้ และน้ำตาล "
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</Description>
|
|
||||||
<HotState> $12-03-01-0019.Button </HotState>
|
|
||||||
<IceState> $12-03-02-0019.Button </IceState>
|
|
||||||
<BlendState> $12-03-03-0019.Button </BlendState>
|
|
||||||
<HotPrice> StringFmt( $12-03-01-0019.Price , DisplayFormat, PreScaleConvertShow) </HotPrice>
|
|
||||||
<IcePrice> StringFmt( $12-03-02-0019.Price , DisplayFormat, PreScaleConvertShow) </IcePrice>
|
|
||||||
<BlendPrice> StringFmt( $12-03-03-0019.Price , DisplayFormat, PreScaleConvertShow) </BlendPrice>
|
|
||||||
<IceProcessingState>
|
|
||||||
eval(
|
|
||||||
If ICE_PROCESS_STATUS = 2 Then
|
|
||||||
If $Sum510201003951020200395102030039 = "Disable" Then
|
|
||||||
Var ice_tab_process_show = "Disable"
|
|
||||||
Else
|
|
||||||
Var ice_tab_process_show = "Enable"
|
|
||||||
EndIf
|
|
||||||
Else
|
|
||||||
Var ice_tab_process_show = "Invisible"
|
|
||||||
EndIf
|
|
||||||
Var return = ice_tab_process_show
|
|
||||||
)
|
|
||||||
</IceProcessingState>
|
|
||||||
<IceProcessingImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </IceProcessingImage>
|
|
||||||
<IceProcessingDisableImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </IceProcessingDisableImage>
|
|
||||||
<EventOnClick>
|
|
||||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_iced_ovaltine.png"
|
|
||||||
Var OpenFromXML = CurrentXMLFileName2
|
|
||||||
Var PriceD1 = $12-03-01-0019.Price
|
|
||||||
Var PriceD2 = $12-03-02-0019.Price
|
|
||||||
Var PriceD3 = $12-03-03-0019.Price
|
|
||||||
Var PD_CODE1 = "12-03-01-0019"
|
|
||||||
Var PD_CODE2 = "12-03-02-0019"
|
|
||||||
Var PD_CODE3 = "12-03-03-0019"
|
|
||||||
Var PD_STAGE_1 = $12-03-01-0019.Button
|
|
||||||
Var PD_STAGE_2 = $12-03-02-0019.Button
|
|
||||||
Var PD_STAGE_3 = $12-03-03-0019.Button
|
|
||||||
Var OverlayMenuFilter !assigned xmlpro( 12-03-01-0019, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
|
||||||
DEBUGVAR OverlayMenuFilter
|
|
||||||
Var SelectCountDrinkType = 0
|
|
||||||
Var DefaultDrinkType = 0
|
|
||||||
If PD_STAGE_1 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 1
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_2 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 2
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_3 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 3
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_2 = "Enable" Then
|
|
||||||
Topping "Load" "12-03-02-0019"
|
|
||||||
Else
|
|
||||||
If PD_STAGE_1 = "Enable" Then
|
|
||||||
Topping "Load" "12-03-01-0019"
|
|
||||||
Else
|
|
||||||
Topping "Load" "12-03-03-0019"
|
|
||||||
EndIf
|
|
||||||
EndIf
|
|
||||||
Var menu_name_eng_hot = $12-03-01-0019.NameE
|
|
||||||
Var menu_desc_eng_hot = $12-03-01-0019.descriptionE
|
|
||||||
Var menu_name_thai_hot = $12-03-01-0019.Name
|
|
||||||
Var menu_desc_thai_hot = $12-03-01-0019.description
|
|
||||||
|
|
||||||
Var menu_name_eng_cold = $12-03-02-0019.NameE
|
|
||||||
Var menu_desc_eng_cold = $12-03-02-0019.descriptionE
|
|
||||||
Var menu_name_thai_cold = $12-03-02-0019.Name
|
|
||||||
Var menu_desc_thai_cold = $12-03-02-0019.description
|
|
||||||
|
|
||||||
Var menu_name_eng_blender = $12-03-03-0019.NameE
|
|
||||||
Var menu_desc_eng_blender = $12-03-03-0019.descriptionE
|
|
||||||
Var menu_name_thai_blender = $12-03-03-0019.Name
|
|
||||||
Var menu_desc_thai_blender = $12-03-03-0019.description
|
|
||||||
|
|
||||||
DEBUGVAR PD_STAGE_1
|
|
||||||
DEBUGVAR PD_STAGE_2
|
|
||||||
DEBUGVAR PD_STAGE_3
|
|
||||||
Var SelectDrinkType = 0
|
|
||||||
|
|
||||||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
|
||||||
</EventOnClick>
|
|
||||||
</Menu>
|
|
||||||
|
|
||||||
; ==================> Len = 15
|
|
||||||
; - - 12-03-03-0094
|
|
||||||
<Menu>
|
|
||||||
<State> Flag( 12-03-03-0094.Button,$Sum1203030094) </State>
|
|
||||||
<IdleImage> "ROOT/taobin_project/image/page_drink_n//bn_iced_Ovaltine_cocoa_smoothie.png" </IdleImage>
|
|
||||||
<PressImage> "ROOT/taobin_project/image/page_drink_press_n//bn_iced_Ovaltine_cocoa_smoothie.png" </PressImage>
|
|
||||||
<DisableImage> "ROOT/taobin_project/image/page_drink_disable_n2//bn_iced_Ovaltine_cocoa_smoothie.png" </DisableImage>
|
|
||||||
<Name>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "Mini Bus Ovaltine\nVolcano"
|
|
||||||
Else
|
|
||||||
Var return = "โอวัลตินรถโรงเรียน\nภูเขาไฟ"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</Name>
|
|
||||||
<Description>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "Ovaltine, Milk, Cocoa,\nand Sugar"
|
|
||||||
Else
|
|
||||||
Var return = "โอวัลติน นม โกโก้ และน้ำตาล "
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</Description>
|
|
||||||
<HotState> "Disable2" </HotState>
|
|
||||||
<IceState> "Disable2" </IceState>
|
|
||||||
<BlendState> $12-03-03-0094.Button </BlendState>
|
|
||||||
<HotPrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </HotPrice>
|
|
||||||
<IcePrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </IcePrice>
|
|
||||||
<BlendPrice> StringFmt( $12-03-03-0094.Price , DisplayFormat, PreScaleConvertShow) </BlendPrice>
|
|
||||||
<IceProcessingState>
|
|
||||||
eval(
|
|
||||||
If ICE_PROCESS_STATUS = 2 Then
|
|
||||||
If $Sum510201003951020200395102030039 = "Disable" Then
|
|
||||||
Var ice_tab_process_show = "Disable"
|
|
||||||
Else
|
|
||||||
Var ice_tab_process_show = "Enable"
|
|
||||||
EndIf
|
|
||||||
Else
|
|
||||||
Var ice_tab_process_show = "Invisible"
|
|
||||||
EndIf
|
|
||||||
Var return = ice_tab_process_show
|
|
||||||
)
|
|
||||||
</IceProcessingState>
|
|
||||||
<IceProcessingImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </IceProcessingImage>
|
|
||||||
<IceProcessingDisableImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </IceProcessingDisableImage>
|
|
||||||
<EventOnClick>
|
|
||||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_iced_Ovaltine_cocoa_smoothie.png"
|
|
||||||
Var OpenFromXML = CurrentXMLFileName2
|
|
||||||
Var PriceD1 = $##-##-##-####.Price
|
|
||||||
Var PriceD2 = $##-##-##-####.Price
|
|
||||||
Var PriceD3 = $12-03-03-0094.Price
|
|
||||||
Var PD_CODE1 = "##-##-##-####"
|
|
||||||
Var PD_CODE2 = "##-##-##-####"
|
|
||||||
Var PD_CODE3 = "12-03-03-0094"
|
|
||||||
Var PD_STAGE_1 = "Disable2"
|
|
||||||
Var PD_STAGE_2 = "Disable2"
|
|
||||||
Var PD_STAGE_3 = $12-03-03-0094.Button
|
|
||||||
Var OverlayMenuFilter !assigned xmlpro( 12-03-03-0094, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
|
||||||
DEBUGVAR OverlayMenuFilter
|
|
||||||
Var SelectCountDrinkType = 0
|
|
||||||
Var DefaultDrinkType = 0
|
|
||||||
If PD_STAGE_1 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 1
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_2 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 2
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_3 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 3
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_2 = "Enable" Then
|
|
||||||
Topping "Load" "-"
|
|
||||||
Else
|
|
||||||
If PD_STAGE_1 = "Enable" Then
|
|
||||||
Topping "Load" "-"
|
|
||||||
Else
|
|
||||||
Topping "Load" "12-03-03-0094"
|
|
||||||
EndIf
|
|
||||||
EndIf
|
|
||||||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
|
||||||
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
|
||||||
Var menu_name_thai_hot = $##-##-##-####.Name
|
|
||||||
Var menu_desc_thai_hot = $##-##-##-####.description
|
|
||||||
|
|
||||||
Var menu_name_eng_cold = $##-##-##-####.NameE
|
|
||||||
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
|
|
||||||
Var menu_name_thai_cold = $##-##-##-####.Name
|
|
||||||
Var menu_desc_thai_cold = $##-##-##-####.description
|
|
||||||
|
|
||||||
Var menu_name_eng_blender = $12-03-03-0094.NameE
|
|
||||||
Var menu_desc_eng_blender = $12-03-03-0094.descriptionE
|
|
||||||
Var menu_name_thai_blender = $12-03-03-0094.Name
|
|
||||||
Var menu_desc_thai_blender = $12-03-03-0094.description
|
|
||||||
|
|
||||||
DEBUGVAR PD_STAGE_1
|
|
||||||
DEBUGVAR PD_STAGE_2
|
|
||||||
DEBUGVAR PD_STAGE_3
|
|
||||||
Var SelectDrinkType = 0
|
|
||||||
|
|
||||||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
|
||||||
</EventOnClick>
|
|
||||||
</Menu>
|
|
||||||
|
|
||||||
; ==================> Len = 15
|
|
||||||
; - - 12-03-03-0095
|
|
||||||
<Menu>
|
|
||||||
<State> Flag( 12-03-03-0095.Button,$Sum1203030095) </State>
|
|
||||||
<IdleImage> "ROOT/taobin_project/image/page_drink_n//bn_bn_iced_Super_Ovaltine_cocoa_smoothie.png" </IdleImage>
|
|
||||||
<PressImage> "ROOT/taobin_project/image/page_drink_press_n//bn_bn_iced_Super_Ovaltine_cocoa_smoothie.png" </PressImage>
|
|
||||||
<DisableImage> "ROOT/taobin_project/image/page_drink_disable_n2//bn_bn_iced_Super_Ovaltine_cocoa_smoothie.png" </DisableImage>
|
|
||||||
<Name>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "Mini Bus Ovaltine\nSuper Volcano"
|
|
||||||
Else
|
|
||||||
Var return = "โอวัลตินรถโรงเรียน\nซุปเปอร์ภูเขาไฟ"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</Name>
|
|
||||||
<Description>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "Ovaltine, Milk, Cocoa,\nand Sugar"
|
|
||||||
Else
|
|
||||||
Var return = "โอวัลติน นม โกโก้ และน้ำตาล "
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</Description>
|
|
||||||
<HotState> "Disable2" </HotState>
|
|
||||||
<IceState> "Disable2" </IceState>
|
|
||||||
<BlendState> $12-03-03-0095.Button </BlendState>
|
|
||||||
<HotPrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </HotPrice>
|
|
||||||
<IcePrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </IcePrice>
|
|
||||||
<BlendPrice> StringFmt( $12-03-03-0095.Price , DisplayFormat, PreScaleConvertShow) </BlendPrice>
|
|
||||||
<IceProcessingState>
|
|
||||||
eval(
|
|
||||||
If ICE_PROCESS_STATUS = 2 Then
|
|
||||||
If $Sum510201003951020200395102030039 = "Disable" Then
|
|
||||||
Var ice_tab_process_show = "Disable"
|
|
||||||
Else
|
|
||||||
Var ice_tab_process_show = "Enable"
|
|
||||||
EndIf
|
|
||||||
Else
|
|
||||||
Var ice_tab_process_show = "Invisible"
|
|
||||||
EndIf
|
|
||||||
Var return = ice_tab_process_show
|
|
||||||
)
|
|
||||||
</IceProcessingState>
|
|
||||||
<IceProcessingImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </IceProcessingImage>
|
|
||||||
<IceProcessingDisableImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </IceProcessingDisableImage>
|
|
||||||
<EventOnClick>
|
|
||||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_bn_iced_Super_Ovaltine_cocoa_smoothie.png"
|
|
||||||
Var OpenFromXML = CurrentXMLFileName2
|
|
||||||
Var PriceD1 = $##-##-##-####.Price
|
|
||||||
Var PriceD2 = $##-##-##-####.Price
|
|
||||||
Var PriceD3 = $12-03-03-0095.Price
|
|
||||||
Var PD_CODE1 = "##-##-##-####"
|
|
||||||
Var PD_CODE2 = "##-##-##-####"
|
|
||||||
Var PD_CODE3 = "12-03-03-0095"
|
|
||||||
Var PD_STAGE_1 = "Disable2"
|
|
||||||
Var PD_STAGE_2 = "Disable2"
|
|
||||||
Var PD_STAGE_3 = $12-03-03-0095.Button
|
|
||||||
Var OverlayMenuFilter !assigned xmlpro( 12-03-03-0095, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
|
||||||
DEBUGVAR OverlayMenuFilter
|
|
||||||
Var SelectCountDrinkType = 0
|
|
||||||
Var DefaultDrinkType = 0
|
|
||||||
If PD_STAGE_1 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 1
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_2 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 2
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_3 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 3
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_2 = "Enable" Then
|
|
||||||
Topping "Load" "-"
|
|
||||||
Else
|
|
||||||
If PD_STAGE_1 = "Enable" Then
|
|
||||||
Topping "Load" "-"
|
|
||||||
Else
|
|
||||||
Topping "Load" "12-03-03-0095"
|
|
||||||
EndIf
|
|
||||||
EndIf
|
|
||||||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
|
||||||
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
|
||||||
Var menu_name_thai_hot = $##-##-##-####.Name
|
|
||||||
Var menu_desc_thai_hot = $##-##-##-####.description
|
|
||||||
|
|
||||||
Var menu_name_eng_cold = $##-##-##-####.NameE
|
|
||||||
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
|
|
||||||
Var menu_name_thai_cold = $##-##-##-####.Name
|
|
||||||
Var menu_desc_thai_cold = $##-##-##-####.description
|
|
||||||
|
|
||||||
Var menu_name_eng_blender = $12-03-03-0095.NameE
|
|
||||||
Var menu_desc_eng_blender = $12-03-03-0095.descriptionE
|
|
||||||
Var menu_name_thai_blender = $12-03-03-0095.Name
|
|
||||||
Var menu_desc_thai_blender = $12-03-03-0095.description
|
|
||||||
|
|
||||||
DEBUGVAR PD_STAGE_1
|
|
||||||
DEBUGVAR PD_STAGE_2
|
|
||||||
DEBUGVAR PD_STAGE_3
|
|
||||||
Var SelectDrinkType = 0
|
|
||||||
|
|
||||||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
|
||||||
</EventOnClick>
|
|
||||||
</Menu>
|
|
||||||
|
|
||||||
</ScrollableCatalog>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</Popup>
|
|
||||||
|
|
@ -1,48 +0,0 @@
|
||||||
<?hurr
|
|
||||||
#include=menu_head.py
|
|
||||||
?>
|
|
||||||
|
|
||||||
<Popup>
|
|
||||||
<Cache> "Enable" </Cache>
|
|
||||||
<Width> 1080 </Width>
|
|
||||||
<Height> 1920 </Height>
|
|
||||||
;<Background> "0xeae6e1" </Background>
|
|
||||||
<Volume> SoundVolume </Volume>
|
|
||||||
<EventOpen>
|
|
||||||
; On open
|
|
||||||
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
|
|
||||||
Var Timeout = 0
|
|
||||||
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
|
|
||||||
</EventOpen>
|
|
||||||
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/xml/v3/menu_catalog_new.xml"
|
|
||||||
|
|
||||||
<?hurr
|
|
||||||
#include=menu_new_layout_gen_v3.py
|
|
||||||
?>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
;BigLogoLayout
|
|
||||||
|
|
||||||
<Button>
|
|
||||||
<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>
|
|
||||||
|
|
||||||
</Popup>
|
|
||||||
|
|
||||||
|
|
||||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,33 +0,0 @@
|
||||||
<?hurr
|
|
||||||
#include=menu_head.py
|
|
||||||
?>
|
|
||||||
|
|
||||||
<Popup>
|
|
||||||
<Cache> "Enable" </Cache>
|
|
||||||
<Width> 1080 </Width>
|
|
||||||
<Height> 1920 </Height>
|
|
||||||
;<Background> "0xeae6e1" </Background>
|
|
||||||
<Volume> SoundVolume </Volume>
|
|
||||||
<EventOpen>
|
|
||||||
; On open
|
|
||||||
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
|
|
||||||
|
|
||||||
|
|
||||||
Var Timeout = 0
|
|
||||||
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
|
|
||||||
</EventOpen>
|
|
||||||
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/xml/v3/menu_catalog_new.xml"
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<?hurr
|
|
||||||
#include=menu_new_layout_gen_v3.py
|
|
||||||
?>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</Popup>
|
|
||||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,34 +0,0 @@
|
||||||
<?hurr
|
|
||||||
#include=menu_head.py
|
|
||||||
?>
|
|
||||||
|
|
||||||
<Popup>
|
|
||||||
<Cache> "Enable" </Cache>
|
|
||||||
<Width> 1080 </Width>
|
|
||||||
<Height> 1920 </Height>
|
|
||||||
;<Background> "0xeae6e1" </Background>
|
|
||||||
<Volume> SoundVolume </Volume>
|
|
||||||
<EventOpen>
|
|
||||||
; On open
|
|
||||||
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
|
|
||||||
|
|
||||||
|
|
||||||
Var Timeout = 0
|
|
||||||
Var FromPepsiSecondCup30 = 0
|
|
||||||
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
|
|
||||||
</EventOpen>
|
|
||||||
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/xml/v3/menu_catalog_new.xml"
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<?hurr
|
|
||||||
#include=menu_new_layout_gen_v3.py
|
|
||||||
?>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</Popup>
|
|
||||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,33 +0,0 @@
|
||||||
<?hurr
|
|
||||||
#include=menu_head.py
|
|
||||||
?>
|
|
||||||
|
|
||||||
<Popup>
|
|
||||||
<Cache> "Enable" </Cache>
|
|
||||||
<Width> 1080 </Width>
|
|
||||||
<Height> 1920 </Height>
|
|
||||||
;<Background> "0xeae6e1" </Background>
|
|
||||||
<Volume> SoundVolume </Volume>
|
|
||||||
<EventOpen>
|
|
||||||
; On open
|
|
||||||
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
|
|
||||||
|
|
||||||
|
|
||||||
Var Timeout = 0
|
|
||||||
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
|
|
||||||
</EventOpen>
|
|
||||||
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/xml/v3/menu_catalog_new.xml"
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<?hurr
|
|
||||||
#include=menu_new_layout_gen_v3.py
|
|
||||||
?>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</Popup>
|
|
||||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,62 +0,0 @@
|
||||||
<?hurr
|
|
||||||
#include=menu_head.py
|
|
||||||
?>
|
|
||||||
|
|
||||||
<Popup>
|
|
||||||
<Cache> "Enable" </Cache>
|
|
||||||
<Width> 1080 </Width>
|
|
||||||
<Height> 1920 </Height>
|
|
||||||
;<Background> "0xeae6e1" </Background>
|
|
||||||
<Volume> SoundVolume </Volume>
|
|
||||||
<EventOpen>
|
|
||||||
; On open
|
|
||||||
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
|
|
||||||
Open "ROOT/taobin_project/xml/page_catalog_group_pro_pepween_fixed.xml"
|
|
||||||
|
|
||||||
Var NightTime = 0
|
|
||||||
|
|
||||||
If SystemTimeHourInt >= 19 Then
|
|
||||||
Var NightTime = 1
|
|
||||||
Else
|
|
||||||
If SystemTimeHourInt < 5 Then
|
|
||||||
Var NightTime = 1
|
|
||||||
Else
|
|
||||||
Var NightTime = 0
|
|
||||||
EndIf
|
|
||||||
EndIf
|
|
||||||
|
|
||||||
|
|
||||||
DEBUGVAR SystemTimeHourInt
|
|
||||||
If NightTime = 1 Then
|
|
||||||
Var Haunted7price = 30
|
|
||||||
Var Haunted7PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n//bn_haunted_woods_50.png"
|
|
||||||
Var Haunted7Image = "ROOT/taobin_project/image/page_drink_n//bn_haunted_woods_50.png"
|
|
||||||
Var Haunted7ImagePress = "ROOT/taobin_project/image/page_drink_press_n//bn_haunted_woods_50.png"
|
|
||||||
Var Haunted7ImageDisable = "ROOT/taobin_project/image/page_drink_disable_n2//bn_haunted_woods_50.png"
|
|
||||||
Else
|
|
||||||
Var Haunted7price = $12-99-03-0066.Price
|
|
||||||
Var Haunted7PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n//bn_haunted_woods.png"
|
|
||||||
Var Haunted7Image = "ROOT/taobin_project/image/page_drink_n//bn_haunted_woods.png"
|
|
||||||
Var Haunted7ImagePress = "ROOT/taobin_project/image/page_drink_press_n//bn_haunted_woods.png"
|
|
||||||
Var Haunted7ImageDisable = "ROOT/taobin_project/image/page_drink_disable_n2//bn_haunted_woods.png"
|
|
||||||
EndIf
|
|
||||||
|
|
||||||
|
|
||||||
Var Timeout = 0
|
|
||||||
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
|
|
||||||
</EventOpen>
|
|
||||||
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/xml/v3/menu_catalog_new.xml"
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<?hurr
|
|
||||||
#include=menu_new_layout_gen_v3.py
|
|
||||||
?>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</Popup>
|
|
||||||
|
|
@ -1,135 +0,0 @@
|
||||||
|
|
||||||
|
|
||||||
<Popup>
|
|
||||||
<Cache> "Enable" </Cache>
|
|
||||||
<Width> 1080 </Width>
|
|
||||||
<Height> 1920 </Height>
|
|
||||||
;<Background> "0xeae6e1" </Background>
|
|
||||||
<Volume> SoundVolume </Volume>
|
|
||||||
<EventOpen>
|
|
||||||
; On open
|
|
||||||
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
|
|
||||||
Open "ROOT/taobin_project/xml/page_catalog_group_pro_pepween_fixed.xml"
|
|
||||||
|
|
||||||
Var NightTime = 0
|
|
||||||
|
|
||||||
If SystemTimeHourInt >= 19 Then
|
|
||||||
Var NightTime = 1
|
|
||||||
Else
|
|
||||||
If SystemTimeHourInt < 5 Then
|
|
||||||
Var NightTime = 1
|
|
||||||
Else
|
|
||||||
Var NightTime = 0
|
|
||||||
EndIf
|
|
||||||
EndIf
|
|
||||||
|
|
||||||
|
|
||||||
DEBUGVAR SystemTimeHourInt
|
|
||||||
If NightTime = 1 Then
|
|
||||||
Var Haunted7price = 30
|
|
||||||
Var Haunted7PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n//bn_haunted_woods_50.png"
|
|
||||||
Var Haunted7Image = "ROOT/taobin_project/image/page_drink_n//bn_haunted_woods_50.png"
|
|
||||||
Var Haunted7ImagePress = "ROOT/taobin_project/image/page_drink_press_n//bn_haunted_woods_50.png"
|
|
||||||
Var Haunted7ImageDisable = "ROOT/taobin_project/image/page_drink_disable_n2//bn_haunted_woods_50.png"
|
|
||||||
Else
|
|
||||||
Var Haunted7price = $12-99-03-0066.Price
|
|
||||||
Var Haunted7PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n//bn_haunted_woods.png"
|
|
||||||
Var Haunted7Image = "ROOT/taobin_project/image/page_drink_n//bn_haunted_woods.png"
|
|
||||||
Var Haunted7ImagePress = "ROOT/taobin_project/image/page_drink_press_n//bn_haunted_woods.png"
|
|
||||||
Var Haunted7ImageDisable = "ROOT/taobin_project/image/page_drink_disable_n2//bn_haunted_woods.png"
|
|
||||||
EndIf
|
|
||||||
|
|
||||||
|
|
||||||
Var Timeout = 0
|
|
||||||
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
|
|
||||||
</EventOpen>
|
|
||||||
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/xml/v3/menu_catalog_new.xml"
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<ScrollableCatalog>
|
|
||||||
<X> 0 </X>
|
|
||||||
<Y> 497 </Y>
|
|
||||||
<Width> 1080 </Width>
|
|
||||||
<Height> 1423 </Height>
|
|
||||||
<Configuration>
|
|
||||||
<MenuNameTextConfiguration>
|
|
||||||
<Font> KanitMediumTTF </Font>
|
|
||||||
<Color> 0x322B26 </Color>
|
|
||||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
|
||||||
<AutoResizeConfiguration>
|
|
||||||
<Min> 16 </Min>
|
|
||||||
<Max> 22 </Max>
|
|
||||||
<AdjustStep> 1 </AdjustStep>
|
|
||||||
</AutoResizeConfiguration>
|
|
||||||
</MenuNameTextConfiguration>
|
|
||||||
<MenuDescriptionTextConfiguration>
|
|
||||||
<Font> KanitMediumTTF </Font>
|
|
||||||
<Color> 0x322B26 </Color>
|
|
||||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
|
||||||
<AutoResizeConfiguration>
|
|
||||||
<Min> 10 </Min>
|
|
||||||
<Max> 14 </Max>
|
|
||||||
<AdjustStep> 1 </AdjustStep>
|
|
||||||
</AutoResizeConfiguration>
|
|
||||||
</MenuDescriptionTextConfiguration>
|
|
||||||
<MenuPriceTextConfiguration>
|
|
||||||
<Font> KanitRegularTTF </Font>
|
|
||||||
<Color> 0x6F5F51 </Color>
|
|
||||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
|
||||||
<AutoResizeConfiguration>
|
|
||||||
<Min> 4 </Min>
|
|
||||||
<Max> 20 </Max>
|
|
||||||
<AdjustStep> 1 </AdjustStep>
|
|
||||||
</AutoResizeConfiguration>
|
|
||||||
</MenuPriceTextConfiguration>
|
|
||||||
<MenuHotPriceLabel>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "Hot"
|
|
||||||
Else
|
|
||||||
Var return = "ร้อน"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</MenuHotPriceLabel>
|
|
||||||
<MenuIcePriceLabel>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "Ice"
|
|
||||||
Else
|
|
||||||
Var return = "เย็น"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</MenuIcePriceLabel>
|
|
||||||
<MenuBlendPriceLabel>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return ="Blend"
|
|
||||||
Else
|
|
||||||
Var return = "ปั่น"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</MenuBlendPriceLabel>
|
|
||||||
<MenuUnavailableLabel>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return ="UNAVAILABLE"
|
|
||||||
Else
|
|
||||||
Var return = "หมด"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</MenuUnavailableLabel>
|
|
||||||
</Configuration>
|
|
||||||
<Menus>
|
|
||||||
;banners
|
|
||||||
; menu_new_list 14
|
|
||||||
</ScrollableCatalog>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</Popup>
|
|
||||||
|
|
@ -1,33 +0,0 @@
|
||||||
<?hurr
|
|
||||||
#include=menu_head.py
|
|
||||||
?>
|
|
||||||
|
|
||||||
<Popup>
|
|
||||||
<Cache> "Enable" </Cache>
|
|
||||||
<Width> 1080 </Width>
|
|
||||||
<Height> 1920 </Height>
|
|
||||||
;<Background> "0xeae6e1" </Background>
|
|
||||||
<Volume> SoundVolume </Volume>
|
|
||||||
<EventOpen>
|
|
||||||
; On open
|
|
||||||
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
|
|
||||||
|
|
||||||
|
|
||||||
Var Timeout = 0
|
|
||||||
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
|
|
||||||
</EventOpen>
|
|
||||||
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/xml/v3/menu_catalog_new.xml"
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<?hurr
|
|
||||||
#include=menu_new_layout_gen_v3.py
|
|
||||||
?>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</Popup>
|
|
||||||
|
|
@ -1,430 +0,0 @@
|
||||||
|
|
||||||
|
|
||||||
<Popup>
|
|
||||||
<Cache> "Enable" </Cache>
|
|
||||||
<Width> 1080 </Width>
|
|
||||||
<Height> 1920 </Height>
|
|
||||||
;<Background> "0xeae6e1" </Background>
|
|
||||||
<Volume> SoundVolume </Volume>
|
|
||||||
<EventOpen>
|
|
||||||
; On open
|
|
||||||
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
|
|
||||||
|
|
||||||
|
|
||||||
Var Timeout = 0
|
|
||||||
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
|
|
||||||
</EventOpen>
|
|
||||||
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/xml/v3/menu_catalog_new.xml"
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<ScrollableCatalog>
|
|
||||||
<X> 0 </X>
|
|
||||||
<Y> 497 </Y>
|
|
||||||
<Width> 1080 </Width>
|
|
||||||
<Height> 1423 </Height>
|
|
||||||
<Configuration>
|
|
||||||
<MenuNameTextConfiguration>
|
|
||||||
<Font> KanitMediumTTF </Font>
|
|
||||||
<Color> 0x322B26 </Color>
|
|
||||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
|
||||||
<AutoResizeConfiguration>
|
|
||||||
<Min> 16 </Min>
|
|
||||||
<Max> 22 </Max>
|
|
||||||
<AdjustStep> 1 </AdjustStep>
|
|
||||||
</AutoResizeConfiguration>
|
|
||||||
</MenuNameTextConfiguration>
|
|
||||||
<MenuDescriptionTextConfiguration>
|
|
||||||
<Font> KanitMediumTTF </Font>
|
|
||||||
<Color> 0x322B26 </Color>
|
|
||||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
|
||||||
<AutoResizeConfiguration>
|
|
||||||
<Min> 10 </Min>
|
|
||||||
<Max> 14 </Max>
|
|
||||||
<AdjustStep> 1 </AdjustStep>
|
|
||||||
</AutoResizeConfiguration>
|
|
||||||
</MenuDescriptionTextConfiguration>
|
|
||||||
<MenuPriceTextConfiguration>
|
|
||||||
<Font> KanitRegularTTF </Font>
|
|
||||||
<Color> 0x6F5F51 </Color>
|
|
||||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
|
||||||
<AutoResizeConfiguration>
|
|
||||||
<Min> 4 </Min>
|
|
||||||
<Max> 20 </Max>
|
|
||||||
<AdjustStep> 1 </AdjustStep>
|
|
||||||
</AutoResizeConfiguration>
|
|
||||||
</MenuPriceTextConfiguration>
|
|
||||||
<MenuHotPriceLabel>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "Hot"
|
|
||||||
Else
|
|
||||||
Var return = "ร้อน"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</MenuHotPriceLabel>
|
|
||||||
<MenuIcePriceLabel>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "Ice"
|
|
||||||
Else
|
|
||||||
Var return = "เย็น"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</MenuIcePriceLabel>
|
|
||||||
<MenuBlendPriceLabel>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return ="Blend"
|
|
||||||
Else
|
|
||||||
Var return = "ปั่น"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</MenuBlendPriceLabel>
|
|
||||||
<MenuUnavailableLabel>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return ="UNAVAILABLE"
|
|
||||||
Else
|
|
||||||
Var return = "หมด"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</MenuUnavailableLabel>
|
|
||||||
</Configuration>
|
|
||||||
<Menus>
|
|
||||||
;banners
|
|
||||||
; menu_new_list 3
|
|
||||||
; ==================> Len = 15
|
|
||||||
; - - 12-03-03-0100
|
|
||||||
<Menu>
|
|
||||||
<State> Flag( 12-03-03-0100.Button,$Sum1203030100) </State>
|
|
||||||
<IdleImage> "ROOT/taobin_project/image/page_drink_n//bn_iced_Ovaltine_lime_milk_Strawberry_Cocoa_smoothie.png" </IdleImage>
|
|
||||||
<PressImage> "ROOT/taobin_project/image/page_drink_press_n//bn_iced_Ovaltine_lime_milk_Strawberry_Cocoa_smoothie.png" </PressImage>
|
|
||||||
<DisableImage> "ROOT/taobin_project/image/page_drink_disable_n2//bn_iced_Ovaltine_lime_milk_Strawberry_Cocoa_smoothie.png" </DisableImage>
|
|
||||||
<Name>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "Chemistry Love"
|
|
||||||
Else
|
|
||||||
Var return = "เพียงพบสบตารัก"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</Name>
|
|
||||||
<Description>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "Strawberry, Milk, Cocoa,\nLime, Ovaltine"
|
|
||||||
Else
|
|
||||||
Var return = "สตรอเบอรี นม โกโก้\nมะนาว และโอวัลติน"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</Description>
|
|
||||||
<HotState> "Disable2" </HotState>
|
|
||||||
<IceState> "Disable2" </IceState>
|
|
||||||
<BlendState> $12-03-03-0100.Button </BlendState>
|
|
||||||
<HotPrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </HotPrice>
|
|
||||||
<IcePrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </IcePrice>
|
|
||||||
<BlendPrice> StringFmt( $12-03-03-0100.Price , DisplayFormat, PreScaleConvertShow) </BlendPrice>
|
|
||||||
<IceProcessingState>
|
|
||||||
eval(
|
|
||||||
If ICE_PROCESS_STATUS = 2 Then
|
|
||||||
If $Sum510201003951020200395102030039 = "Disable" Then
|
|
||||||
Var ice_tab_process_show = "Disable"
|
|
||||||
Else
|
|
||||||
Var ice_tab_process_show = "Enable"
|
|
||||||
EndIf
|
|
||||||
Else
|
|
||||||
Var ice_tab_process_show = "Invisible"
|
|
||||||
EndIf
|
|
||||||
Var return = ice_tab_process_show
|
|
||||||
)
|
|
||||||
</IceProcessingState>
|
|
||||||
<IceProcessingImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </IceProcessingImage>
|
|
||||||
<IceProcessingDisableImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </IceProcessingDisableImage>
|
|
||||||
<EventOnClick>
|
|
||||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_iced_Ovaltine_lime_milk_Strawberry_Cocoa_smoothie.png"
|
|
||||||
Var OpenFromXML = CurrentXMLFileName2
|
|
||||||
Var PriceD1 = $##-##-##-####.Price
|
|
||||||
Var PriceD2 = $##-##-##-####.Price
|
|
||||||
Var PriceD3 = $12-03-03-0100.Price
|
|
||||||
Var PD_CODE1 = "##-##-##-####"
|
|
||||||
Var PD_CODE2 = "##-##-##-####"
|
|
||||||
Var PD_CODE3 = "12-03-03-0100"
|
|
||||||
Var PD_STAGE_1 = "Disable2"
|
|
||||||
Var PD_STAGE_2 = "Disable2"
|
|
||||||
Var PD_STAGE_3 = $12-03-03-0100.Button
|
|
||||||
Var OverlayMenuFilter !assigned xmlpro( 12-03-03-0100, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
|
||||||
DEBUGVAR OverlayMenuFilter
|
|
||||||
Var SelectCountDrinkType = 0
|
|
||||||
Var DefaultDrinkType = 0
|
|
||||||
If PD_STAGE_1 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 1
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_2 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 2
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_3 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 3
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_2 = "Enable" Then
|
|
||||||
Topping "Load" "-"
|
|
||||||
Else
|
|
||||||
If PD_STAGE_1 = "Enable" Then
|
|
||||||
Topping "Load" "-"
|
|
||||||
Else
|
|
||||||
Topping "Load" "12-03-03-0100"
|
|
||||||
EndIf
|
|
||||||
EndIf
|
|
||||||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
|
||||||
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
|
||||||
Var menu_name_thai_hot = $##-##-##-####.Name
|
|
||||||
Var menu_desc_thai_hot = $##-##-##-####.description
|
|
||||||
|
|
||||||
Var menu_name_eng_cold = $##-##-##-####.NameE
|
|
||||||
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
|
|
||||||
Var menu_name_thai_cold = $##-##-##-####.Name
|
|
||||||
Var menu_desc_thai_cold = $##-##-##-####.description
|
|
||||||
|
|
||||||
Var menu_name_eng_blender = $12-03-03-0100.NameE
|
|
||||||
Var menu_desc_eng_blender = $12-03-03-0100.descriptionE
|
|
||||||
Var menu_name_thai_blender = $12-03-03-0100.Name
|
|
||||||
Var menu_desc_thai_blender = $12-03-03-0100.description
|
|
||||||
|
|
||||||
DEBUGVAR PD_STAGE_1
|
|
||||||
DEBUGVAR PD_STAGE_2
|
|
||||||
DEBUGVAR PD_STAGE_3
|
|
||||||
Var SelectDrinkType = 0
|
|
||||||
|
|
||||||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
|
||||||
</EventOnClick>
|
|
||||||
</Menu>
|
|
||||||
|
|
||||||
; ==================> Len = 15
|
|
||||||
; - - 12-03-03-0101
|
|
||||||
<Menu>
|
|
||||||
<State> Flag( 12-03-03-0101.Button,$Sum1203030101) </State>
|
|
||||||
<IdleImage> "ROOT/taobin_project/image/page_drink_n//bn_iced_Ovaltine_lime_milk_smoothie.png" </IdleImage>
|
|
||||||
<PressImage> "ROOT/taobin_project/image/page_drink_press_n//bn_iced_Ovaltine_lime_milk_smoothie.png" </PressImage>
|
|
||||||
<DisableImage> "ROOT/taobin_project/image/page_drink_disable_n2//bn_iced_Ovaltine_lime_milk_smoothie.png" </DisableImage>
|
|
||||||
<Name>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "Sweet Romance"
|
|
||||||
Else
|
|
||||||
Var return = "วิวาห์หวาน"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</Name>
|
|
||||||
<Description>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "Ovaltine, Milk, Lime"
|
|
||||||
Else
|
|
||||||
Var return = "โอวัลติน นม และมะนาว"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</Description>
|
|
||||||
<HotState> "Disable2" </HotState>
|
|
||||||
<IceState> "Disable2" </IceState>
|
|
||||||
<BlendState> $12-03-03-0101.Button </BlendState>
|
|
||||||
<HotPrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </HotPrice>
|
|
||||||
<IcePrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </IcePrice>
|
|
||||||
<BlendPrice> StringFmt( $12-03-03-0101.Price , DisplayFormat, PreScaleConvertShow) </BlendPrice>
|
|
||||||
<IceProcessingState>
|
|
||||||
eval(
|
|
||||||
If ICE_PROCESS_STATUS = 2 Then
|
|
||||||
If $Sum510201003951020200395102030039 = "Disable" Then
|
|
||||||
Var ice_tab_process_show = "Disable"
|
|
||||||
Else
|
|
||||||
Var ice_tab_process_show = "Enable"
|
|
||||||
EndIf
|
|
||||||
Else
|
|
||||||
Var ice_tab_process_show = "Invisible"
|
|
||||||
EndIf
|
|
||||||
Var return = ice_tab_process_show
|
|
||||||
)
|
|
||||||
</IceProcessingState>
|
|
||||||
<IceProcessingImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </IceProcessingImage>
|
|
||||||
<IceProcessingDisableImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </IceProcessingDisableImage>
|
|
||||||
<EventOnClick>
|
|
||||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_iced_Ovaltine_lime_milk_smoothie.png"
|
|
||||||
Var OpenFromXML = CurrentXMLFileName2
|
|
||||||
Var PriceD1 = $##-##-##-####.Price
|
|
||||||
Var PriceD2 = $##-##-##-####.Price
|
|
||||||
Var PriceD3 = $12-03-03-0101.Price
|
|
||||||
Var PD_CODE1 = "##-##-##-####"
|
|
||||||
Var PD_CODE2 = "##-##-##-####"
|
|
||||||
Var PD_CODE3 = "12-03-03-0101"
|
|
||||||
Var PD_STAGE_1 = "Disable2"
|
|
||||||
Var PD_STAGE_2 = "Disable2"
|
|
||||||
Var PD_STAGE_3 = $12-03-03-0101.Button
|
|
||||||
Var OverlayMenuFilter !assigned xmlpro( 12-03-03-0101, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
|
||||||
DEBUGVAR OverlayMenuFilter
|
|
||||||
Var SelectCountDrinkType = 0
|
|
||||||
Var DefaultDrinkType = 0
|
|
||||||
If PD_STAGE_1 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 1
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_2 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 2
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_3 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 3
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_2 = "Enable" Then
|
|
||||||
Topping "Load" "-"
|
|
||||||
Else
|
|
||||||
If PD_STAGE_1 = "Enable" Then
|
|
||||||
Topping "Load" "-"
|
|
||||||
Else
|
|
||||||
Topping "Load" "12-03-03-0101"
|
|
||||||
EndIf
|
|
||||||
EndIf
|
|
||||||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
|
||||||
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
|
||||||
Var menu_name_thai_hot = $##-##-##-####.Name
|
|
||||||
Var menu_desc_thai_hot = $##-##-##-####.description
|
|
||||||
|
|
||||||
Var menu_name_eng_cold = $##-##-##-####.NameE
|
|
||||||
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
|
|
||||||
Var menu_name_thai_cold = $##-##-##-####.Name
|
|
||||||
Var menu_desc_thai_cold = $##-##-##-####.description
|
|
||||||
|
|
||||||
Var menu_name_eng_blender = $12-03-03-0101.NameE
|
|
||||||
Var menu_desc_eng_blender = $12-03-03-0101.descriptionE
|
|
||||||
Var menu_name_thai_blender = $12-03-03-0101.Name
|
|
||||||
Var menu_desc_thai_blender = $12-03-03-0101.description
|
|
||||||
|
|
||||||
DEBUGVAR PD_STAGE_1
|
|
||||||
DEBUGVAR PD_STAGE_2
|
|
||||||
DEBUGVAR PD_STAGE_3
|
|
||||||
Var SelectDrinkType = 0
|
|
||||||
|
|
||||||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
|
||||||
</EventOnClick>
|
|
||||||
</Menu>
|
|
||||||
|
|
||||||
; ==================> Len = 15
|
|
||||||
; - - 12-03-03-0102
|
|
||||||
<Menu>
|
|
||||||
<State> Flag( 12-03-03-0102.Button,$Sum1203030102) </State>
|
|
||||||
<IdleImage> "ROOT/taobin_project/image/page_drink_n//bn_iced_Ovaltine_lime_ginger_Strawberry_smoothie.png" </IdleImage>
|
|
||||||
<PressImage> "ROOT/taobin_project/image/page_drink_press_n//bn_iced_Ovaltine_lime_ginger_Strawberry_smoothie.png" </PressImage>
|
|
||||||
<DisableImage> "ROOT/taobin_project/image/page_drink_disable_n2//bn_iced_Ovaltine_lime_ginger_Strawberry_smoothie.png" </DisableImage>
|
|
||||||
<Name>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "Endless Love"
|
|
||||||
Else
|
|
||||||
Var return = "ดั่งรักนิรันดร์"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</Name>
|
|
||||||
<Description>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "Strawberry, Ginger, Lime,\nOvaltine"
|
|
||||||
Else
|
|
||||||
Var return = "สตรอเบอรี ขิง มะนาว\nและโอวัลติน"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</Description>
|
|
||||||
<HotState> "Disable2" </HotState>
|
|
||||||
<IceState> "Disable2" </IceState>
|
|
||||||
<BlendState> $12-03-03-0102.Button </BlendState>
|
|
||||||
<HotPrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </HotPrice>
|
|
||||||
<IcePrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </IcePrice>
|
|
||||||
<BlendPrice> StringFmt( $12-03-03-0102.Price , DisplayFormat, PreScaleConvertShow) </BlendPrice>
|
|
||||||
<IceProcessingState>
|
|
||||||
eval(
|
|
||||||
If ICE_PROCESS_STATUS = 2 Then
|
|
||||||
If $Sum510201003951020200395102030039 = "Disable" Then
|
|
||||||
Var ice_tab_process_show = "Disable"
|
|
||||||
Else
|
|
||||||
Var ice_tab_process_show = "Enable"
|
|
||||||
EndIf
|
|
||||||
Else
|
|
||||||
Var ice_tab_process_show = "Invisible"
|
|
||||||
EndIf
|
|
||||||
Var return = ice_tab_process_show
|
|
||||||
)
|
|
||||||
</IceProcessingState>
|
|
||||||
<IceProcessingImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </IceProcessingImage>
|
|
||||||
<IceProcessingDisableImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </IceProcessingDisableImage>
|
|
||||||
<EventOnClick>
|
|
||||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_iced_Ovaltine_lime_ginger_Strawberry_smoothie.png"
|
|
||||||
Var OpenFromXML = CurrentXMLFileName2
|
|
||||||
Var PriceD1 = $##-##-##-####.Price
|
|
||||||
Var PriceD2 = $##-##-##-####.Price
|
|
||||||
Var PriceD3 = $12-03-03-0102.Price
|
|
||||||
Var PD_CODE1 = "##-##-##-####"
|
|
||||||
Var PD_CODE2 = "##-##-##-####"
|
|
||||||
Var PD_CODE3 = "12-03-03-0102"
|
|
||||||
Var PD_STAGE_1 = "Disable2"
|
|
||||||
Var PD_STAGE_2 = "Disable2"
|
|
||||||
Var PD_STAGE_3 = $12-03-03-0102.Button
|
|
||||||
Var OverlayMenuFilter !assigned xmlpro( 12-03-03-0102, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
|
||||||
DEBUGVAR OverlayMenuFilter
|
|
||||||
Var SelectCountDrinkType = 0
|
|
||||||
Var DefaultDrinkType = 0
|
|
||||||
If PD_STAGE_1 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 1
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_2 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 2
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_3 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 3
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_2 = "Enable" Then
|
|
||||||
Topping "Load" "-"
|
|
||||||
Else
|
|
||||||
If PD_STAGE_1 = "Enable" Then
|
|
||||||
Topping "Load" "-"
|
|
||||||
Else
|
|
||||||
Topping "Load" "12-03-03-0102"
|
|
||||||
EndIf
|
|
||||||
EndIf
|
|
||||||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
|
||||||
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
|
||||||
Var menu_name_thai_hot = $##-##-##-####.Name
|
|
||||||
Var menu_desc_thai_hot = $##-##-##-####.description
|
|
||||||
|
|
||||||
Var menu_name_eng_cold = $##-##-##-####.NameE
|
|
||||||
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
|
|
||||||
Var menu_name_thai_cold = $##-##-##-####.Name
|
|
||||||
Var menu_desc_thai_cold = $##-##-##-####.description
|
|
||||||
|
|
||||||
Var menu_name_eng_blender = $12-03-03-0102.NameE
|
|
||||||
Var menu_desc_eng_blender = $12-03-03-0102.descriptionE
|
|
||||||
Var menu_name_thai_blender = $12-03-03-0102.Name
|
|
||||||
Var menu_desc_thai_blender = $12-03-03-0102.description
|
|
||||||
|
|
||||||
DEBUGVAR PD_STAGE_1
|
|
||||||
DEBUGVAR PD_STAGE_2
|
|
||||||
DEBUGVAR PD_STAGE_3
|
|
||||||
Var SelectDrinkType = 0
|
|
||||||
|
|
||||||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
|
||||||
</EventOnClick>
|
|
||||||
</Menu>
|
|
||||||
|
|
||||||
</ScrollableCatalog>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</Popup>
|
|
||||||
|
|
@ -1,35 +0,0 @@
|
||||||
<?hurr
|
|
||||||
#include=menu_head.py
|
|
||||||
?>
|
|
||||||
|
|
||||||
<Popup>
|
|
||||||
<Cache> "Enable" </Cache>
|
|
||||||
<Width> 1080 </Width>
|
|
||||||
<Height> 1920 </Height>
|
|
||||||
;<Background> "0xeae6e1" </Background>
|
|
||||||
<Volume> SoundVolume </Volume>
|
|
||||||
<EventOpen>
|
|
||||||
; On open
|
|
||||||
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
|
|
||||||
|
|
||||||
|
|
||||||
Var Timeout = 0
|
|
||||||
Var RerunProCode = ""
|
|
||||||
Var FromRerunPro = 0
|
|
||||||
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
|
|
||||||
</EventOpen>
|
|
||||||
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/xml/v3/menu_catalog_new.xml"
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<?hurr
|
|
||||||
#include=menu_new_layout_gen_v3.py
|
|
||||||
?>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</Popup>
|
|
||||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,34 +0,0 @@
|
||||||
<?hurr
|
|
||||||
#include=menu_head.py
|
|
||||||
?>
|
|
||||||
|
|
||||||
<Popup>
|
|
||||||
<Cache> "Enable" </Cache>
|
|
||||||
<Width> 1080 </Width>
|
|
||||||
<Height> 1920 </Height>
|
|
||||||
;<Background> "0xeae6e1" </Background>
|
|
||||||
<Volume> SoundVolume </Volume>
|
|
||||||
<EventOpen>
|
|
||||||
; On open
|
|
||||||
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
|
|
||||||
|
|
||||||
|
|
||||||
Var Timeout = 0
|
|
||||||
Var FromRobinsonBeautyPro = 0
|
|
||||||
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
|
|
||||||
</EventOpen>
|
|
||||||
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/xml/v3/menu_catalog_new.xml"
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<?hurr
|
|
||||||
#include=menu_new_layout_gen_v3.py
|
|
||||||
?>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</Popup>
|
|
||||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,33 +0,0 @@
|
||||||
<?hurr
|
|
||||||
#include=menu_head.py
|
|
||||||
?>
|
|
||||||
|
|
||||||
<Popup>
|
|
||||||
<Cache> "Enable" </Cache>
|
|
||||||
<Width> 1080 </Width>
|
|
||||||
<Height> 1920 </Height>
|
|
||||||
;<Background> "0xeae6e1" </Background>
|
|
||||||
<Volume> SoundVolume </Volume>
|
|
||||||
<EventOpen>
|
|
||||||
; On open
|
|
||||||
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
|
|
||||||
|
|
||||||
|
|
||||||
Var Timeout = 0
|
|
||||||
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
|
|
||||||
</EventOpen>
|
|
||||||
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/xml/v3/menu_catalog_new.xml"
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<?hurr
|
|
||||||
#include=menu_new_layout_gen_v3.py
|
|
||||||
?>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</Popup>
|
|
||||||
|
|
@ -1,969 +0,0 @@
|
||||||
|
|
||||||
|
|
||||||
<Popup>
|
|
||||||
<Cache> "Enable" </Cache>
|
|
||||||
<Width> 1080 </Width>
|
|
||||||
<Height> 1920 </Height>
|
|
||||||
;<Background> "0xeae6e1" </Background>
|
|
||||||
<Volume> SoundVolume </Volume>
|
|
||||||
<EventOpen>
|
|
||||||
; On open
|
|
||||||
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
|
|
||||||
|
|
||||||
|
|
||||||
Var Timeout = 0
|
|
||||||
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
|
|
||||||
</EventOpen>
|
|
||||||
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/xml/v3/menu_catalog_new.xml"
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<ScrollableCatalog>
|
|
||||||
<X> 0 </X>
|
|
||||||
<Y> 497 </Y>
|
|
||||||
<Width> 1080 </Width>
|
|
||||||
<Height> 1423 </Height>
|
|
||||||
<Configuration>
|
|
||||||
<MenuNameTextConfiguration>
|
|
||||||
<Font> KanitMediumTTF </Font>
|
|
||||||
<Color> 0x322B26 </Color>
|
|
||||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
|
||||||
<AutoResizeConfiguration>
|
|
||||||
<Min> 16 </Min>
|
|
||||||
<Max> 22 </Max>
|
|
||||||
<AdjustStep> 1 </AdjustStep>
|
|
||||||
</AutoResizeConfiguration>
|
|
||||||
</MenuNameTextConfiguration>
|
|
||||||
<MenuDescriptionTextConfiguration>
|
|
||||||
<Font> KanitMediumTTF </Font>
|
|
||||||
<Color> 0x322B26 </Color>
|
|
||||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
|
||||||
<AutoResizeConfiguration>
|
|
||||||
<Min> 10 </Min>
|
|
||||||
<Max> 14 </Max>
|
|
||||||
<AdjustStep> 1 </AdjustStep>
|
|
||||||
</AutoResizeConfiguration>
|
|
||||||
</MenuDescriptionTextConfiguration>
|
|
||||||
<MenuPriceTextConfiguration>
|
|
||||||
<Font> KanitRegularTTF </Font>
|
|
||||||
<Color> 0x6F5F51 </Color>
|
|
||||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
|
||||||
<AutoResizeConfiguration>
|
|
||||||
<Min> 4 </Min>
|
|
||||||
<Max> 20 </Max>
|
|
||||||
<AdjustStep> 1 </AdjustStep>
|
|
||||||
</AutoResizeConfiguration>
|
|
||||||
</MenuPriceTextConfiguration>
|
|
||||||
<MenuHotPriceLabel>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "Hot"
|
|
||||||
Else
|
|
||||||
Var return = "ร้อน"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</MenuHotPriceLabel>
|
|
||||||
<MenuIcePriceLabel>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "Ice"
|
|
||||||
Else
|
|
||||||
Var return = "เย็น"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</MenuIcePriceLabel>
|
|
||||||
<MenuBlendPriceLabel>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return ="Blend"
|
|
||||||
Else
|
|
||||||
Var return = "ปั่น"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</MenuBlendPriceLabel>
|
|
||||||
<MenuUnavailableLabel>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return ="UNAVAILABLE"
|
|
||||||
Else
|
|
||||||
Var return = "หมด"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</MenuUnavailableLabel>
|
|
||||||
</Configuration>
|
|
||||||
<Menus>
|
|
||||||
;banners
|
|
||||||
; menu_new_list 7
|
|
||||||
; ==================> Len = 15
|
|
||||||
; - 12-05-02-0023 12-05-03-0023
|
|
||||||
<Menu>
|
|
||||||
<State> Flag( 12-05-02-0023.Button,12-05-03-0023.Button,$Sum12050200231205030023) </State>
|
|
||||||
<IdleImage> "ROOT/taobin_project/image/page_drink_n//bn_strawberry_lime_soda.png" </IdleImage>
|
|
||||||
<PressImage> "ROOT/taobin_project/image/page_drink_press_n//bn_strawberry_lime_soda.png" </PressImage>
|
|
||||||
<DisableImage> "ROOT/taobin_project/image/page_drink_disable_n2//bn_strawberry_lime_soda.png" </DisableImage>
|
|
||||||
<Name>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "Strawberry\nLimenade Soda"
|
|
||||||
Else
|
|
||||||
Var return = "สตรอเบอรีมะนาว\nโซดา"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</Name>
|
|
||||||
<Description>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "Strawberry , Lime,\nSugar, Soda"
|
|
||||||
Else
|
|
||||||
Var return = "สตรอเบอรี มะนาว\nน้ำตาล และโซดา"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</Description>
|
|
||||||
<HotState> "Disable2" </HotState>
|
|
||||||
<IceState> $12-05-02-0023.Button </IceState>
|
|
||||||
<BlendState> $12-05-03-0023.Button </BlendState>
|
|
||||||
<HotPrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </HotPrice>
|
|
||||||
<IcePrice> StringFmt( $12-05-02-0023.Price , DisplayFormat, PreScaleConvertShow) </IcePrice>
|
|
||||||
<BlendPrice> StringFmt( $12-05-03-0023.Price , DisplayFormat, PreScaleConvertShow) </BlendPrice>
|
|
||||||
<IceProcessingState>
|
|
||||||
eval(
|
|
||||||
If ICE_PROCESS_STATUS = 2 Then
|
|
||||||
If $Sum510201003951020200395102030039 = "Disable" Then
|
|
||||||
Var ice_tab_process_show = "Disable"
|
|
||||||
Else
|
|
||||||
Var ice_tab_process_show = "Enable"
|
|
||||||
EndIf
|
|
||||||
Else
|
|
||||||
Var ice_tab_process_show = "Invisible"
|
|
||||||
EndIf
|
|
||||||
Var return = ice_tab_process_show
|
|
||||||
)
|
|
||||||
</IceProcessingState>
|
|
||||||
<IceProcessingImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </IceProcessingImage>
|
|
||||||
<IceProcessingDisableImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </IceProcessingDisableImage>
|
|
||||||
<EventOnClick>
|
|
||||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_strawberry_lime_soda.png"
|
|
||||||
Var OpenFromXML = CurrentXMLFileName2
|
|
||||||
Var PriceD1 = $##-##-##-####.Price
|
|
||||||
Var PriceD2 = $12-05-02-0023.Price
|
|
||||||
Var PriceD3 = $12-05-03-0023.Price
|
|
||||||
Var PD_CODE1 = "##-##-##-####"
|
|
||||||
Var PD_CODE2 = "12-05-02-0023"
|
|
||||||
Var PD_CODE3 = "12-05-03-0023"
|
|
||||||
Var PD_STAGE_1 = "Disable2"
|
|
||||||
Var PD_STAGE_2 = $12-05-02-0023.Button
|
|
||||||
Var PD_STAGE_3 = $12-05-03-0023.Button
|
|
||||||
Var OverlayMenuFilter !assigned xmlpro( 12-05-03-0023, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
|
||||||
DEBUGVAR OverlayMenuFilter
|
|
||||||
Var SelectCountDrinkType = 0
|
|
||||||
Var DefaultDrinkType = 0
|
|
||||||
If PD_STAGE_1 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 1
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_2 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 2
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_3 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 3
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_2 = "Enable" Then
|
|
||||||
Topping "Load" "12-05-02-0023"
|
|
||||||
Else
|
|
||||||
If PD_STAGE_1 = "Enable" Then
|
|
||||||
Topping "Load" "-"
|
|
||||||
Else
|
|
||||||
Topping "Load" "12-05-03-0023"
|
|
||||||
EndIf
|
|
||||||
EndIf
|
|
||||||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
|
||||||
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
|
||||||
Var menu_name_thai_hot = $##-##-##-####.Name
|
|
||||||
Var menu_desc_thai_hot = $##-##-##-####.description
|
|
||||||
|
|
||||||
Var menu_name_eng_cold = $12-05-02-0023.NameE
|
|
||||||
Var menu_desc_eng_cold = $12-05-02-0023.descriptionE
|
|
||||||
Var menu_name_thai_cold = $12-05-02-0023.Name
|
|
||||||
Var menu_desc_thai_cold = $12-05-02-0023.description
|
|
||||||
|
|
||||||
Var menu_name_eng_blender = $12-05-03-0023.NameE
|
|
||||||
Var menu_desc_eng_blender = $12-05-03-0023.descriptionE
|
|
||||||
Var menu_name_thai_blender = $12-05-03-0023.Name
|
|
||||||
Var menu_desc_thai_blender = $12-05-03-0023.description
|
|
||||||
|
|
||||||
DEBUGVAR PD_STAGE_1
|
|
||||||
DEBUGVAR PD_STAGE_2
|
|
||||||
DEBUGVAR PD_STAGE_3
|
|
||||||
Var SelectDrinkType = 0
|
|
||||||
|
|
||||||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
|
||||||
</EventOnClick>
|
|
||||||
</Menu>
|
|
||||||
|
|
||||||
; ==================> Len = 15
|
|
||||||
; 12-02-01-0022 12-02-02-0022 12-02-03-0022
|
|
||||||
<Menu>
|
|
||||||
<State> Flag( 12-02-01-0022.Button,12-02-02-0022.Button,12-02-03-0022.Button,$Sum120201002212020200221202030022) </State>
|
|
||||||
<IdleImage> "ROOT/taobin_project/image/page_drink_n//bn_hot_strawberry_tea.png" </IdleImage>
|
|
||||||
<PressImage> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_strawberry_tea.png" </PressImage>
|
|
||||||
<DisableImage> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_strawberry_tea.png" </DisableImage>
|
|
||||||
<Name>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "Strawberry Tea"
|
|
||||||
Else
|
|
||||||
Var return = "ชาสตรอเบอรี"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</Name>
|
|
||||||
<Description>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "Strawberry ,\nJasmine Tea, Sugar"
|
|
||||||
Else
|
|
||||||
Var return = "สตรอเบอรี ชามะลิ\nและน้ำตาล"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</Description>
|
|
||||||
<HotState> $12-02-01-0022.Button </HotState>
|
|
||||||
<IceState> $12-02-02-0022.Button </IceState>
|
|
||||||
<BlendState> $12-02-03-0022.Button </BlendState>
|
|
||||||
<HotPrice> StringFmt( $12-02-01-0022.Price , DisplayFormat, PreScaleConvertShow) </HotPrice>
|
|
||||||
<IcePrice> StringFmt( $12-02-02-0022.Price , DisplayFormat, PreScaleConvertShow) </IcePrice>
|
|
||||||
<BlendPrice> StringFmt( $12-02-03-0022.Price , DisplayFormat, PreScaleConvertShow) </BlendPrice>
|
|
||||||
<IceProcessingState>
|
|
||||||
eval(
|
|
||||||
If ICE_PROCESS_STATUS = 2 Then
|
|
||||||
If $Sum510201003951020200395102030039 = "Disable" Then
|
|
||||||
Var ice_tab_process_show = "Disable"
|
|
||||||
Else
|
|
||||||
Var ice_tab_process_show = "Enable"
|
|
||||||
EndIf
|
|
||||||
Else
|
|
||||||
Var ice_tab_process_show = "Invisible"
|
|
||||||
EndIf
|
|
||||||
Var return = ice_tab_process_show
|
|
||||||
)
|
|
||||||
</IceProcessingState>
|
|
||||||
<IceProcessingImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </IceProcessingImage>
|
|
||||||
<IceProcessingDisableImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </IceProcessingDisableImage>
|
|
||||||
<EventOnClick>
|
|
||||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_strawberry_tea.png"
|
|
||||||
Var OpenFromXML = CurrentXMLFileName2
|
|
||||||
Var PriceD1 = $12-02-01-0022.Price
|
|
||||||
Var PriceD2 = $12-02-02-0022.Price
|
|
||||||
Var PriceD3 = $12-02-03-0022.Price
|
|
||||||
Var PD_CODE1 = "12-02-01-0022"
|
|
||||||
Var PD_CODE2 = "12-02-02-0022"
|
|
||||||
Var PD_CODE3 = "12-02-03-0022"
|
|
||||||
Var PD_STAGE_1 = $12-02-01-0022.Button
|
|
||||||
Var PD_STAGE_2 = $12-02-02-0022.Button
|
|
||||||
Var PD_STAGE_3 = $12-02-03-0022.Button
|
|
||||||
Var OverlayMenuFilter !assigned xmlpro( 12-02-01-0022, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
|
||||||
DEBUGVAR OverlayMenuFilter
|
|
||||||
Var SelectCountDrinkType = 0
|
|
||||||
Var DefaultDrinkType = 0
|
|
||||||
If PD_STAGE_1 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 1
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_2 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 2
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_3 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 3
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_2 = "Enable" Then
|
|
||||||
Topping "Load" "12-02-02-0022"
|
|
||||||
Else
|
|
||||||
If PD_STAGE_1 = "Enable" Then
|
|
||||||
Topping "Load" "12-02-01-0022"
|
|
||||||
Else
|
|
||||||
Topping "Load" "12-02-03-0022"
|
|
||||||
EndIf
|
|
||||||
EndIf
|
|
||||||
Var menu_name_eng_hot = $12-02-01-0022.NameE
|
|
||||||
Var menu_desc_eng_hot = $12-02-01-0022.descriptionE
|
|
||||||
Var menu_name_thai_hot = $12-02-01-0022.Name
|
|
||||||
Var menu_desc_thai_hot = $12-02-01-0022.description
|
|
||||||
|
|
||||||
Var menu_name_eng_cold = $12-02-02-0022.NameE
|
|
||||||
Var menu_desc_eng_cold = $12-02-02-0022.descriptionE
|
|
||||||
Var menu_name_thai_cold = $12-02-02-0022.Name
|
|
||||||
Var menu_desc_thai_cold = $12-02-02-0022.description
|
|
||||||
|
|
||||||
Var menu_name_eng_blender = $12-02-03-0022.NameE
|
|
||||||
Var menu_desc_eng_blender = $12-02-03-0022.descriptionE
|
|
||||||
Var menu_name_thai_blender = $12-02-03-0022.Name
|
|
||||||
Var menu_desc_thai_blender = $12-02-03-0022.description
|
|
||||||
|
|
||||||
DEBUGVAR PD_STAGE_1
|
|
||||||
DEBUGVAR PD_STAGE_2
|
|
||||||
DEBUGVAR PD_STAGE_3
|
|
||||||
Var SelectDrinkType = 0
|
|
||||||
|
|
||||||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
|
||||||
</EventOnClick>
|
|
||||||
</Menu>
|
|
||||||
|
|
||||||
; ==================> Len = 15
|
|
||||||
; - 12-05-02-0041 12-05-03-0041
|
|
||||||
<Menu>
|
|
||||||
<State> Flag( 12-05-02-0041.Button,12-05-03-0041.Button,$Sum12050200411205030041) </State>
|
|
||||||
<IdleImage> "ROOT/taobin_project/image/page_drink_n//bn_iced_strawberry_soda.png" </IdleImage>
|
|
||||||
<PressImage> "ROOT/taobin_project/image/page_drink_press_n//bn_iced_strawberry_soda.png" </PressImage>
|
|
||||||
<DisableImage> "ROOT/taobin_project/image/page_drink_disable_n2//bn_iced_strawberry_soda.png" </DisableImage>
|
|
||||||
<Name>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "Strawberry Soda"
|
|
||||||
Else
|
|
||||||
Var return = "สตรอเบอรีโซดา"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</Name>
|
|
||||||
<Description>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "Strawberry , Sugar,\nSoda"
|
|
||||||
Else
|
|
||||||
Var return = "สตรอเบอรี น้ำตาล\nและโซดา"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</Description>
|
|
||||||
<HotState> "Disable2" </HotState>
|
|
||||||
<IceState> $12-05-02-0041.Button </IceState>
|
|
||||||
<BlendState> $12-05-03-0041.Button </BlendState>
|
|
||||||
<HotPrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </HotPrice>
|
|
||||||
<IcePrice> StringFmt( $12-05-02-0041.Price , DisplayFormat, PreScaleConvertShow) </IcePrice>
|
|
||||||
<BlendPrice> StringFmt( $12-05-03-0041.Price , DisplayFormat, PreScaleConvertShow) </BlendPrice>
|
|
||||||
<IceProcessingState>
|
|
||||||
eval(
|
|
||||||
If ICE_PROCESS_STATUS = 2 Then
|
|
||||||
If $Sum510201003951020200395102030039 = "Disable" Then
|
|
||||||
Var ice_tab_process_show = "Disable"
|
|
||||||
Else
|
|
||||||
Var ice_tab_process_show = "Enable"
|
|
||||||
EndIf
|
|
||||||
Else
|
|
||||||
Var ice_tab_process_show = "Invisible"
|
|
||||||
EndIf
|
|
||||||
Var return = ice_tab_process_show
|
|
||||||
)
|
|
||||||
</IceProcessingState>
|
|
||||||
<IceProcessingImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </IceProcessingImage>
|
|
||||||
<IceProcessingDisableImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </IceProcessingDisableImage>
|
|
||||||
<EventOnClick>
|
|
||||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_iced_strawberry_soda.png"
|
|
||||||
Var OpenFromXML = CurrentXMLFileName2
|
|
||||||
Var PriceD1 = $##-##-##-####.Price
|
|
||||||
Var PriceD2 = $12-05-02-0041.Price
|
|
||||||
Var PriceD3 = $12-05-03-0041.Price
|
|
||||||
Var PD_CODE1 = "##-##-##-####"
|
|
||||||
Var PD_CODE2 = "12-05-02-0041"
|
|
||||||
Var PD_CODE3 = "12-05-03-0041"
|
|
||||||
Var PD_STAGE_1 = "Disable2"
|
|
||||||
Var PD_STAGE_2 = $12-05-02-0041.Button
|
|
||||||
Var PD_STAGE_3 = $12-05-03-0041.Button
|
|
||||||
Var OverlayMenuFilter !assigned xmlpro( 12-05-03-0041, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
|
||||||
DEBUGVAR OverlayMenuFilter
|
|
||||||
Var SelectCountDrinkType = 0
|
|
||||||
Var DefaultDrinkType = 0
|
|
||||||
If PD_STAGE_1 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 1
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_2 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 2
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_3 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 3
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_2 = "Enable" Then
|
|
||||||
Topping "Load" "12-05-02-0041"
|
|
||||||
Else
|
|
||||||
If PD_STAGE_1 = "Enable" Then
|
|
||||||
Topping "Load" "-"
|
|
||||||
Else
|
|
||||||
Topping "Load" "12-05-03-0041"
|
|
||||||
EndIf
|
|
||||||
EndIf
|
|
||||||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
|
||||||
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
|
||||||
Var menu_name_thai_hot = $##-##-##-####.Name
|
|
||||||
Var menu_desc_thai_hot = $##-##-##-####.description
|
|
||||||
|
|
||||||
Var menu_name_eng_cold = $12-05-02-0041.NameE
|
|
||||||
Var menu_desc_eng_cold = $12-05-02-0041.descriptionE
|
|
||||||
Var menu_name_thai_cold = $12-05-02-0041.Name
|
|
||||||
Var menu_desc_thai_cold = $12-05-02-0041.description
|
|
||||||
|
|
||||||
Var menu_name_eng_blender = $12-05-03-0041.NameE
|
|
||||||
Var menu_desc_eng_blender = $12-05-03-0041.descriptionE
|
|
||||||
Var menu_name_thai_blender = $12-05-03-0041.Name
|
|
||||||
Var menu_desc_thai_blender = $12-05-03-0041.description
|
|
||||||
|
|
||||||
DEBUGVAR PD_STAGE_1
|
|
||||||
DEBUGVAR PD_STAGE_2
|
|
||||||
DEBUGVAR PD_STAGE_3
|
|
||||||
Var SelectDrinkType = 0
|
|
||||||
|
|
||||||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
|
||||||
</EventOnClick>
|
|
||||||
</Menu>
|
|
||||||
|
|
||||||
; ==================> Len = 15
|
|
||||||
; 12-05-01-0040 12-05-02-0040 12-05-03-0040
|
|
||||||
<Menu>
|
|
||||||
<State> Flag( 12-05-01-0040.Button,12-05-02-0040.Button,12-05-03-0040.Button,$Sum120501004012050200401205030040) </State>
|
|
||||||
<IdleImage> "ROOT/taobin_project/image/page_drink_n//bn_iced_strawberry.png" </IdleImage>
|
|
||||||
<PressImage> "ROOT/taobin_project/image/page_drink_press_n//bn_iced_strawberry.png" </PressImage>
|
|
||||||
<DisableImage> "ROOT/taobin_project/image/page_drink_disable_n2//bn_iced_strawberry.png" </DisableImage>
|
|
||||||
<Name>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "Strawberry"
|
|
||||||
Else
|
|
||||||
Var return = "น้ำสตรอเบอรี"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</Name>
|
|
||||||
<Description>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "Strawberry , Sugar"
|
|
||||||
Else
|
|
||||||
Var return = "สตรอเบอรี และน้ำตาล"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</Description>
|
|
||||||
<HotState> $12-05-01-0040.Button </HotState>
|
|
||||||
<IceState> $12-05-02-0040.Button </IceState>
|
|
||||||
<BlendState> $12-05-03-0040.Button </BlendState>
|
|
||||||
<HotPrice> StringFmt( $12-05-01-0040.Price , DisplayFormat, PreScaleConvertShow) </HotPrice>
|
|
||||||
<IcePrice> StringFmt( $12-05-02-0040.Price , DisplayFormat, PreScaleConvertShow) </IcePrice>
|
|
||||||
<BlendPrice> StringFmt( $12-05-03-0040.Price , DisplayFormat, PreScaleConvertShow) </BlendPrice>
|
|
||||||
<IceProcessingState>
|
|
||||||
eval(
|
|
||||||
If ICE_PROCESS_STATUS = 2 Then
|
|
||||||
If $Sum510201003951020200395102030039 = "Disable" Then
|
|
||||||
Var ice_tab_process_show = "Disable"
|
|
||||||
Else
|
|
||||||
Var ice_tab_process_show = "Enable"
|
|
||||||
EndIf
|
|
||||||
Else
|
|
||||||
Var ice_tab_process_show = "Invisible"
|
|
||||||
EndIf
|
|
||||||
Var return = ice_tab_process_show
|
|
||||||
)
|
|
||||||
</IceProcessingState>
|
|
||||||
<IceProcessingImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </IceProcessingImage>
|
|
||||||
<IceProcessingDisableImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </IceProcessingDisableImage>
|
|
||||||
<EventOnClick>
|
|
||||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_iced_strawberry.png"
|
|
||||||
Var OpenFromXML = CurrentXMLFileName2
|
|
||||||
Var PriceD1 = $12-05-01-0040.Price
|
|
||||||
Var PriceD2 = $12-05-02-0040.Price
|
|
||||||
Var PriceD3 = $12-05-03-0040.Price
|
|
||||||
Var PD_CODE1 = "12-05-01-0040"
|
|
||||||
Var PD_CODE2 = "12-05-02-0040"
|
|
||||||
Var PD_CODE3 = "12-05-03-0040"
|
|
||||||
Var PD_STAGE_1 = $12-05-01-0040.Button
|
|
||||||
Var PD_STAGE_2 = $12-05-02-0040.Button
|
|
||||||
Var PD_STAGE_3 = $12-05-03-0040.Button
|
|
||||||
Var OverlayMenuFilter !assigned xmlpro( 12-05-01-0040, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
|
||||||
DEBUGVAR OverlayMenuFilter
|
|
||||||
Var SelectCountDrinkType = 0
|
|
||||||
Var DefaultDrinkType = 0
|
|
||||||
If PD_STAGE_1 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 1
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_2 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 2
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_3 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 3
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_2 = "Enable" Then
|
|
||||||
Topping "Load" "12-05-02-0040"
|
|
||||||
Else
|
|
||||||
If PD_STAGE_1 = "Enable" Then
|
|
||||||
Topping "Load" "12-05-01-0040"
|
|
||||||
Else
|
|
||||||
Topping "Load" "12-05-03-0040"
|
|
||||||
EndIf
|
|
||||||
EndIf
|
|
||||||
Var menu_name_eng_hot = $12-05-01-0040.NameE
|
|
||||||
Var menu_desc_eng_hot = $12-05-01-0040.descriptionE
|
|
||||||
Var menu_name_thai_hot = $12-05-01-0040.Name
|
|
||||||
Var menu_desc_thai_hot = $12-05-01-0040.description
|
|
||||||
|
|
||||||
Var menu_name_eng_cold = $12-05-02-0040.NameE
|
|
||||||
Var menu_desc_eng_cold = $12-05-02-0040.descriptionE
|
|
||||||
Var menu_name_thai_cold = $12-05-02-0040.Name
|
|
||||||
Var menu_desc_thai_cold = $12-05-02-0040.description
|
|
||||||
|
|
||||||
Var menu_name_eng_blender = $12-05-03-0040.NameE
|
|
||||||
Var menu_desc_eng_blender = $12-05-03-0040.descriptionE
|
|
||||||
Var menu_name_thai_blender = $12-05-03-0040.Name
|
|
||||||
Var menu_desc_thai_blender = $12-05-03-0040.description
|
|
||||||
|
|
||||||
DEBUGVAR PD_STAGE_1
|
|
||||||
DEBUGVAR PD_STAGE_2
|
|
||||||
DEBUGVAR PD_STAGE_3
|
|
||||||
Var SelectDrinkType = 0
|
|
||||||
|
|
||||||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
|
||||||
</EventOnClick>
|
|
||||||
</Menu>
|
|
||||||
|
|
||||||
; ==================> Len = 15
|
|
||||||
; 12-03-01-0010 12-03-02-0010 12-03-03-0010
|
|
||||||
<Menu>
|
|
||||||
<State> Flag( 12-03-01-0010.Button,12-03-02-0010.Button,12-03-03-0010.Button,$Sum120301001012030200101203030010) </State>
|
|
||||||
<IdleImage> "ROOT/taobin_project/image/page_drink_n//bn_iced_Strawberry_cocoa.png" </IdleImage>
|
|
||||||
<PressImage> "ROOT/taobin_project/image/page_drink_press_n//bn_iced_Strawberry_cocoa.png" </PressImage>
|
|
||||||
<DisableImage> "ROOT/taobin_project/image/page_drink_disable_n2//bn_iced_Strawberry_cocoa.png" </DisableImage>
|
|
||||||
<Name>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "Cocoa Strawberry"
|
|
||||||
Else
|
|
||||||
Var return = "โกโก้สตรอเบอรี"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</Name>
|
|
||||||
<Description>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "Strawberry , Millk,\nCocoa, Sugar"
|
|
||||||
Else
|
|
||||||
Var return = "สตรอเบอรี นม โกโก้\nและน้ำตาล"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</Description>
|
|
||||||
<HotState> $12-03-01-0010.Button </HotState>
|
|
||||||
<IceState> $12-03-02-0010.Button </IceState>
|
|
||||||
<BlendState> $12-03-03-0010.Button </BlendState>
|
|
||||||
<HotPrice> StringFmt( $12-03-01-0010.Price , DisplayFormat, PreScaleConvertShow) </HotPrice>
|
|
||||||
<IcePrice> StringFmt( $12-03-02-0010.Price , DisplayFormat, PreScaleConvertShow) </IcePrice>
|
|
||||||
<BlendPrice> StringFmt( $12-03-03-0010.Price , DisplayFormat, PreScaleConvertShow) </BlendPrice>
|
|
||||||
<IceProcessingState>
|
|
||||||
eval(
|
|
||||||
If ICE_PROCESS_STATUS = 2 Then
|
|
||||||
If $Sum510201003951020200395102030039 = "Disable" Then
|
|
||||||
Var ice_tab_process_show = "Disable"
|
|
||||||
Else
|
|
||||||
Var ice_tab_process_show = "Enable"
|
|
||||||
EndIf
|
|
||||||
Else
|
|
||||||
Var ice_tab_process_show = "Invisible"
|
|
||||||
EndIf
|
|
||||||
Var return = ice_tab_process_show
|
|
||||||
)
|
|
||||||
</IceProcessingState>
|
|
||||||
<IceProcessingImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </IceProcessingImage>
|
|
||||||
<IceProcessingDisableImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </IceProcessingDisableImage>
|
|
||||||
<EventOnClick>
|
|
||||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_iced_Strawberry_cocoa.png"
|
|
||||||
Var OpenFromXML = CurrentXMLFileName2
|
|
||||||
Var PriceD1 = $12-03-01-0010.Price
|
|
||||||
Var PriceD2 = $12-03-02-0010.Price
|
|
||||||
Var PriceD3 = $12-03-03-0010.Price
|
|
||||||
Var PD_CODE1 = "12-03-01-0010"
|
|
||||||
Var PD_CODE2 = "12-03-02-0010"
|
|
||||||
Var PD_CODE3 = "12-03-03-0010"
|
|
||||||
Var PD_STAGE_1 = $12-03-01-0010.Button
|
|
||||||
Var PD_STAGE_2 = $12-03-02-0010.Button
|
|
||||||
Var PD_STAGE_3 = $12-03-03-0010.Button
|
|
||||||
Var OverlayMenuFilter !assigned xmlpro( 12-03-01-0010, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
|
||||||
DEBUGVAR OverlayMenuFilter
|
|
||||||
Var SelectCountDrinkType = 0
|
|
||||||
Var DefaultDrinkType = 0
|
|
||||||
If PD_STAGE_1 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 1
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_2 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 2
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_3 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 3
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_2 = "Enable" Then
|
|
||||||
Topping "Load" "12-03-02-0010"
|
|
||||||
Else
|
|
||||||
If PD_STAGE_1 = "Enable" Then
|
|
||||||
Topping "Load" "12-03-01-0010"
|
|
||||||
Else
|
|
||||||
Topping "Load" "12-03-03-0010"
|
|
||||||
EndIf
|
|
||||||
EndIf
|
|
||||||
Var menu_name_eng_hot = $12-03-01-0010.NameE
|
|
||||||
Var menu_desc_eng_hot = $12-03-01-0010.descriptionE
|
|
||||||
Var menu_name_thai_hot = $12-03-01-0010.Name
|
|
||||||
Var menu_desc_thai_hot = $12-03-01-0010.description
|
|
||||||
|
|
||||||
Var menu_name_eng_cold = $12-03-02-0010.NameE
|
|
||||||
Var menu_desc_eng_cold = $12-03-02-0010.descriptionE
|
|
||||||
Var menu_name_thai_cold = $12-03-02-0010.Name
|
|
||||||
Var menu_desc_thai_cold = $12-03-02-0010.description
|
|
||||||
|
|
||||||
Var menu_name_eng_blender = $12-03-03-0010.NameE
|
|
||||||
Var menu_desc_eng_blender = $12-03-03-0010.descriptionE
|
|
||||||
Var menu_name_thai_blender = $12-03-03-0010.Name
|
|
||||||
Var menu_desc_thai_blender = $12-03-03-0010.description
|
|
||||||
|
|
||||||
DEBUGVAR PD_STAGE_1
|
|
||||||
DEBUGVAR PD_STAGE_2
|
|
||||||
DEBUGVAR PD_STAGE_3
|
|
||||||
Var SelectDrinkType = 0
|
|
||||||
|
|
||||||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
|
||||||
</EventOnClick>
|
|
||||||
</Menu>
|
|
||||||
|
|
||||||
; ==================> Len = 15
|
|
||||||
; 12-01-01-0074 12-01-02-0074 12-01-03-0074
|
|
||||||
<Menu>
|
|
||||||
<State> Flag( 12-01-01-0074.Button,12-01-02-0074.Button,12-01-03-0074.Button,$Sum120101007412010200741201030074) </State>
|
|
||||||
<IdleImage> "ROOT/taobin_project/image/page_drink_n//bn_hot_Strawberry_caramel_latte.png" </IdleImage>
|
|
||||||
<PressImage> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_Strawberry_caramel_latte.png" </PressImage>
|
|
||||||
<DisableImage> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_Strawberry_caramel_latte.png" </DisableImage>
|
|
||||||
<Name>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "Strawberry\nCafe Latte"
|
|
||||||
Else
|
|
||||||
Var return = "กาแฟสตรอเบอรี"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</Name>
|
|
||||||
<Description>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "Strawberry , Millk,\nCoffee, Sugar"
|
|
||||||
Else
|
|
||||||
Var return = "สตรอเบอรี นม กาแฟ\nและน้ำตาล"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</Description>
|
|
||||||
<HotState> $12-01-01-0074.Button </HotState>
|
|
||||||
<IceState> $12-01-02-0074.Button </IceState>
|
|
||||||
<BlendState> $12-01-03-0074.Button </BlendState>
|
|
||||||
<HotPrice> StringFmt( $12-01-01-0074.Price , DisplayFormat, PreScaleConvertShow) </HotPrice>
|
|
||||||
<IcePrice> StringFmt( $12-01-02-0074.Price , DisplayFormat, PreScaleConvertShow) </IcePrice>
|
|
||||||
<BlendPrice> StringFmt( $12-01-03-0074.Price , DisplayFormat, PreScaleConvertShow) </BlendPrice>
|
|
||||||
<IceProcessingState>
|
|
||||||
eval(
|
|
||||||
If ICE_PROCESS_STATUS = 2 Then
|
|
||||||
If $Sum510201003951020200395102030039 = "Disable" Then
|
|
||||||
Var ice_tab_process_show = "Disable"
|
|
||||||
Else
|
|
||||||
Var ice_tab_process_show = "Enable"
|
|
||||||
EndIf
|
|
||||||
Else
|
|
||||||
Var ice_tab_process_show = "Invisible"
|
|
||||||
EndIf
|
|
||||||
Var return = ice_tab_process_show
|
|
||||||
)
|
|
||||||
</IceProcessingState>
|
|
||||||
<IceProcessingImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </IceProcessingImage>
|
|
||||||
<IceProcessingDisableImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </IceProcessingDisableImage>
|
|
||||||
<EventOnClick>
|
|
||||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_Strawberry_caramel_latte.png"
|
|
||||||
Var OpenFromXML = CurrentXMLFileName2
|
|
||||||
Var PriceD1 = $12-01-01-0074.Price
|
|
||||||
Var PriceD2 = $12-01-02-0074.Price
|
|
||||||
Var PriceD3 = $12-01-03-0074.Price
|
|
||||||
Var PD_CODE1 = "12-01-01-0074"
|
|
||||||
Var PD_CODE2 = "12-01-02-0074"
|
|
||||||
Var PD_CODE3 = "12-01-03-0074"
|
|
||||||
Var PD_STAGE_1 = $12-01-01-0074.Button
|
|
||||||
Var PD_STAGE_2 = $12-01-02-0074.Button
|
|
||||||
Var PD_STAGE_3 = $12-01-03-0074.Button
|
|
||||||
Var OverlayMenuFilter !assigned xmlpro( 12-01-01-0074, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
|
||||||
DEBUGVAR OverlayMenuFilter
|
|
||||||
Var SelectCountDrinkType = 0
|
|
||||||
Var DefaultDrinkType = 0
|
|
||||||
If PD_STAGE_1 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 1
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_2 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 2
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_3 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 3
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_2 = "Enable" Then
|
|
||||||
Topping "Load" "12-01-02-0074"
|
|
||||||
Else
|
|
||||||
If PD_STAGE_1 = "Enable" Then
|
|
||||||
Topping "Load" "12-01-01-0074"
|
|
||||||
Else
|
|
||||||
Topping "Load" "12-01-03-0074"
|
|
||||||
EndIf
|
|
||||||
EndIf
|
|
||||||
Var menu_name_eng_hot = $12-01-01-0074.NameE
|
|
||||||
Var menu_desc_eng_hot = $12-01-01-0074.descriptionE
|
|
||||||
Var menu_name_thai_hot = $12-01-01-0074.Name
|
|
||||||
Var menu_desc_thai_hot = $12-01-01-0074.description
|
|
||||||
|
|
||||||
Var menu_name_eng_cold = $12-01-02-0074.NameE
|
|
||||||
Var menu_desc_eng_cold = $12-01-02-0074.descriptionE
|
|
||||||
Var menu_name_thai_cold = $12-01-02-0074.Name
|
|
||||||
Var menu_desc_thai_cold = $12-01-02-0074.description
|
|
||||||
|
|
||||||
Var menu_name_eng_blender = $12-01-03-0074.NameE
|
|
||||||
Var menu_desc_eng_blender = $12-01-03-0074.descriptionE
|
|
||||||
Var menu_name_thai_blender = $12-01-03-0074.Name
|
|
||||||
Var menu_desc_thai_blender = $12-01-03-0074.description
|
|
||||||
|
|
||||||
DEBUGVAR PD_STAGE_1
|
|
||||||
DEBUGVAR PD_STAGE_2
|
|
||||||
DEBUGVAR PD_STAGE_3
|
|
||||||
Var SelectDrinkType = 0
|
|
||||||
|
|
||||||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
|
||||||
</EventOnClick>
|
|
||||||
</Menu>
|
|
||||||
|
|
||||||
; 12-21-01-0074 12-21-02-0074 12-21-03-0074
|
|
||||||
<Menu>
|
|
||||||
<State> Flag( 12-21-01-0074.Button,12-21-02-0074.Button,12-21-03-0074.Button,$Sum122101007412210200741221030074) </State>
|
|
||||||
<IdleImage> "ROOT/taobin_project/image/page_drink_n//bn_hot_Strawberry_caramel_latte.png" </IdleImage>
|
|
||||||
<PressImage> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_Strawberry_caramel_latte.png" </PressImage>
|
|
||||||
<DisableImage> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_Strawberry_caramel_latte.png" </DisableImage>
|
|
||||||
<Name>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "Strawberry\nCafe Latte"
|
|
||||||
Else
|
|
||||||
Var return = "กาแฟสตรอเบอรี"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</Name>
|
|
||||||
<Description>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "Strawberry , Millk,\nCoffee, Sugar"
|
|
||||||
Else
|
|
||||||
Var return = "สตรอเบอรี นม กาแฟ\nและน้ำตาล"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</Description>
|
|
||||||
<HotState> $12-21-01-0074.Button </HotState>
|
|
||||||
<IceState> $12-21-02-0074.Button </IceState>
|
|
||||||
<BlendState> $12-21-03-0074.Button </BlendState>
|
|
||||||
<HotPrice> StringFmt( $12-21-01-0074.Price , DisplayFormat, PreScaleConvertShow) </HotPrice>
|
|
||||||
<IcePrice> StringFmt( $12-21-02-0074.Price , DisplayFormat, PreScaleConvertShow) </IcePrice>
|
|
||||||
<BlendPrice> StringFmt( $12-21-03-0074.Price , DisplayFormat, PreScaleConvertShow) </BlendPrice>
|
|
||||||
<IceProcessingState>
|
|
||||||
eval(
|
|
||||||
If ICE_PROCESS_STATUS = 2 Then
|
|
||||||
If $Sum510201003951020200395102030039 = "Disable" Then
|
|
||||||
Var ice_tab_process_show = "Disable"
|
|
||||||
Else
|
|
||||||
Var ice_tab_process_show = "Enable"
|
|
||||||
EndIf
|
|
||||||
Else
|
|
||||||
Var ice_tab_process_show = "Invisible"
|
|
||||||
EndIf
|
|
||||||
Var return = ice_tab_process_show
|
|
||||||
)
|
|
||||||
</IceProcessingState>
|
|
||||||
<IceProcessingImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </IceProcessingImage>
|
|
||||||
<IceProcessingDisableImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </IceProcessingDisableImage>
|
|
||||||
<EventOnClick>
|
|
||||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_Strawberry_caramel_latte.png"
|
|
||||||
Var OpenFromXML = CurrentXMLFileName2
|
|
||||||
Var PriceD1 = $12-21-01-0074.Price
|
|
||||||
Var PriceD2 = $12-21-02-0074.Price
|
|
||||||
Var PriceD3 = $12-21-03-0074.Price
|
|
||||||
Var PD_CODE1 = "12-21-01-0074"
|
|
||||||
Var PD_CODE2 = "12-21-02-0074"
|
|
||||||
Var PD_CODE3 = "12-21-03-0074"
|
|
||||||
Var PD_STAGE_1 = $12-21-01-0074.Button
|
|
||||||
Var PD_STAGE_2 = $12-21-02-0074.Button
|
|
||||||
Var PD_STAGE_3 = $12-21-03-0074.Button
|
|
||||||
Var OverlayMenuFilter !assigned xmlpro( 12-21-01-0074, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
|
||||||
DEBUGVAR OverlayMenuFilter
|
|
||||||
Var SelectCountDrinkType = 0
|
|
||||||
Var DefaultDrinkType = 0
|
|
||||||
If PD_STAGE_1 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 1
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_2 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 2
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_3 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 3
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_2 = "Enable" Then
|
|
||||||
Topping "Load" "12-21-03-0074"
|
|
||||||
Else
|
|
||||||
If PD_STAGE_1 = "Enable" Then
|
|
||||||
Topping "Load" "12-21-01-0074"
|
|
||||||
Else
|
|
||||||
Topping "Load" "12-21-02-0074"
|
|
||||||
EndIf
|
|
||||||
EndIf
|
|
||||||
Var menu_name_eng_hot = $12-21-01-0074.NameE
|
|
||||||
Var menu_desc_eng_hot = $12-21-01-0074.descriptionE
|
|
||||||
Var menu_name_thai_hot = $12-21-01-0074.Name
|
|
||||||
Var menu_desc_thai_hot = $12-21-01-0074.description
|
|
||||||
|
|
||||||
Var menu_name_eng_cold = $12-21-02-0074.NameE
|
|
||||||
Var menu_desc_eng_cold = $12-21-02-0074.descriptionE
|
|
||||||
Var menu_name_thai_cold = $12-21-02-0074.Name
|
|
||||||
Var menu_desc_thai_cold = $12-21-02-0074.description
|
|
||||||
|
|
||||||
Var menu_name_eng_blender = $12-21-03-0074.NameE
|
|
||||||
Var menu_desc_eng_blender = $12-21-03-0074.descriptionE
|
|
||||||
Var menu_name_thai_blender = $12-21-03-0074.Name
|
|
||||||
Var menu_desc_thai_blender = $12-21-03-0074.description
|
|
||||||
|
|
||||||
DEBUGVAR PD_STAGE_1
|
|
||||||
DEBUGVAR PD_STAGE_2
|
|
||||||
DEBUGVAR PD_STAGE_3
|
|
||||||
Var SelectDrinkType = 0
|
|
||||||
|
|
||||||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
|
||||||
</EventOnClick>
|
|
||||||
</Menu>
|
|
||||||
|
|
||||||
; ==================> Len = 15
|
|
||||||
; - - 12-03-03-0027
|
|
||||||
<Menu>
|
|
||||||
<State> Flag( 12-03-03-0027.Button,$Sum1203030027) </State>
|
|
||||||
<IdleImage> "ROOT/taobin_project/image/page_drink_n//bn_Strawberr_milk_Oreo_smoothie.png" </IdleImage>
|
|
||||||
<PressImage> "ROOT/taobin_project/image/page_drink_press_n//bn_Strawberr_milk_Oreo_smoothie.png" </PressImage>
|
|
||||||
<DisableImage> "ROOT/taobin_project/image/page_drink_disable_n2//bn_Strawberr_milk_Oreo_smoothie.png" </DisableImage>
|
|
||||||
<Name>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "Strawberry Milk\nOreo Smoothie"
|
|
||||||
Else
|
|
||||||
Var return = "สตรอเบอรีโอริโอ้ปั่น"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</Name>
|
|
||||||
<Description>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "Strawberry , Millk,\nCoffee, Sugar"
|
|
||||||
Else
|
|
||||||
Var return = "สตรอเบอรี นม โอริโอ้\nและน้ำตาล"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</Description>
|
|
||||||
<HotState> "Disable2" </HotState>
|
|
||||||
<IceState> "Disable2" </IceState>
|
|
||||||
<BlendState> $12-03-03-0027.Button </BlendState>
|
|
||||||
<HotPrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </HotPrice>
|
|
||||||
<IcePrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </IcePrice>
|
|
||||||
<BlendPrice> StringFmt( $12-03-03-0027.Price , DisplayFormat, PreScaleConvertShow) </BlendPrice>
|
|
||||||
<IceProcessingState>
|
|
||||||
eval(
|
|
||||||
If ICE_PROCESS_STATUS = 2 Then
|
|
||||||
If $Sum510201003951020200395102030039 = "Disable" Then
|
|
||||||
Var ice_tab_process_show = "Disable"
|
|
||||||
Else
|
|
||||||
Var ice_tab_process_show = "Enable"
|
|
||||||
EndIf
|
|
||||||
Else
|
|
||||||
Var ice_tab_process_show = "Invisible"
|
|
||||||
EndIf
|
|
||||||
Var return = ice_tab_process_show
|
|
||||||
)
|
|
||||||
</IceProcessingState>
|
|
||||||
<IceProcessingImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </IceProcessingImage>
|
|
||||||
<IceProcessingDisableImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </IceProcessingDisableImage>
|
|
||||||
<EventOnClick>
|
|
||||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_Strawberr_milk_Oreo_smoothie.png"
|
|
||||||
Var OpenFromXML = CurrentXMLFileName2
|
|
||||||
Var PriceD1 = $##-##-##-####.Price
|
|
||||||
Var PriceD2 = $##-##-##-####.Price
|
|
||||||
Var PriceD3 = $12-03-03-0027.Price
|
|
||||||
Var PD_CODE1 = "##-##-##-####"
|
|
||||||
Var PD_CODE2 = "##-##-##-####"
|
|
||||||
Var PD_CODE3 = "12-03-03-0027"
|
|
||||||
Var PD_STAGE_1 = "Disable2"
|
|
||||||
Var PD_STAGE_2 = "Disable2"
|
|
||||||
Var PD_STAGE_3 = $12-03-03-0027.Button
|
|
||||||
Var OverlayMenuFilter !assigned xmlpro( 12-03-03-0027, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
|
||||||
DEBUGVAR OverlayMenuFilter
|
|
||||||
Var SelectCountDrinkType = 0
|
|
||||||
Var DefaultDrinkType = 0
|
|
||||||
If PD_STAGE_1 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 1
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_2 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 2
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_3 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 3
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_2 = "Enable" Then
|
|
||||||
Topping "Load" "-"
|
|
||||||
Else
|
|
||||||
If PD_STAGE_1 = "Enable" Then
|
|
||||||
Topping "Load" "-"
|
|
||||||
Else
|
|
||||||
Topping "Load" "12-03-03-0027"
|
|
||||||
EndIf
|
|
||||||
EndIf
|
|
||||||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
|
||||||
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
|
||||||
Var menu_name_thai_hot = $##-##-##-####.Name
|
|
||||||
Var menu_desc_thai_hot = $##-##-##-####.description
|
|
||||||
|
|
||||||
Var menu_name_eng_cold = $##-##-##-####.NameE
|
|
||||||
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
|
|
||||||
Var menu_name_thai_cold = $##-##-##-####.Name
|
|
||||||
Var menu_desc_thai_cold = $##-##-##-####.description
|
|
||||||
|
|
||||||
Var menu_name_eng_blender = $12-03-03-0027.NameE
|
|
||||||
Var menu_desc_eng_blender = $12-03-03-0027.descriptionE
|
|
||||||
Var menu_name_thai_blender = $12-03-03-0027.Name
|
|
||||||
Var menu_desc_thai_blender = $12-03-03-0027.description
|
|
||||||
|
|
||||||
DEBUGVAR PD_STAGE_1
|
|
||||||
DEBUGVAR PD_STAGE_2
|
|
||||||
DEBUGVAR PD_STAGE_3
|
|
||||||
Var SelectDrinkType = 0
|
|
||||||
|
|
||||||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
|
||||||
</EventOnClick>
|
|
||||||
</Menu>
|
|
||||||
|
|
||||||
</ScrollableCatalog>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</Popup>
|
|
||||||
|
|
@ -1,51 +0,0 @@
|
||||||
<?hurr
|
|
||||||
#include=menu_head.py
|
|
||||||
?>
|
|
||||||
|
|
||||||
<Popup>
|
|
||||||
<Cache> "Enable" </Cache>
|
|
||||||
<Width> 1080 </Width>
|
|
||||||
<Height> 1920 </Height>
|
|
||||||
;<Background> "0xeae6e1" </Background>
|
|
||||||
<Volume> SoundVolume </Volume>
|
|
||||||
<EventOpen>
|
|
||||||
; On open
|
|
||||||
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
|
|
||||||
Var FromTeaTimePro = 0
|
|
||||||
|
|
||||||
Var Timeout = 0
|
|
||||||
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
|
|
||||||
|
|
||||||
</EventOpen>
|
|
||||||
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/xml/v3/menu_catalog_new.xml"
|
|
||||||
|
|
||||||
<?hurr
|
|
||||||
#include=menu_new_layout_gen_v3.py
|
|
||||||
?>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
;BigLogoLayout
|
|
||||||
|
|
||||||
<Button>
|
|
||||||
<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>
|
|
||||||
|
|
||||||
</Popup>
|
|
||||||
|
|
||||||
|
|
||||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,33 +0,0 @@
|
||||||
<?hurr
|
|
||||||
#include=menu_head.py
|
|
||||||
?>
|
|
||||||
|
|
||||||
<Popup>
|
|
||||||
<Cache> "Enable" </Cache>
|
|
||||||
<Width> 1080 </Width>
|
|
||||||
<Height> 1920 </Height>
|
|
||||||
;<Background> "0xeae6e1" </Background>
|
|
||||||
<Volume> SoundVolume </Volume>
|
|
||||||
<EventOpen>
|
|
||||||
; On open
|
|
||||||
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
|
|
||||||
|
|
||||||
|
|
||||||
Var Timeout = 0
|
|
||||||
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
|
|
||||||
</EventOpen>
|
|
||||||
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/xml/v3/menu_catalog_new.xml"
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<?hurr
|
|
||||||
#include=menu_new_layout_gen_v3.py
|
|
||||||
?>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</Popup>
|
|
||||||
|
|
@ -1,430 +0,0 @@
|
||||||
|
|
||||||
|
|
||||||
<Popup>
|
|
||||||
<Cache> "Enable" </Cache>
|
|
||||||
<Width> 1080 </Width>
|
|
||||||
<Height> 1920 </Height>
|
|
||||||
;<Background> "0xeae6e1" </Background>
|
|
||||||
<Volume> SoundVolume </Volume>
|
|
||||||
<EventOpen>
|
|
||||||
; On open
|
|
||||||
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
|
|
||||||
|
|
||||||
|
|
||||||
Var Timeout = 0
|
|
||||||
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
|
|
||||||
</EventOpen>
|
|
||||||
|
|
||||||
|
|
||||||
;include="ROOT/taobin_project/xml/v3/menu_catalog_new.xml"
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<ScrollableCatalog>
|
|
||||||
<X> 0 </X>
|
|
||||||
<Y> 497 </Y>
|
|
||||||
<Width> 1080 </Width>
|
|
||||||
<Height> 1423 </Height>
|
|
||||||
<Configuration>
|
|
||||||
<MenuNameTextConfiguration>
|
|
||||||
<Font> KanitMediumTTF </Font>
|
|
||||||
<Color> 0x322B26 </Color>
|
|
||||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
|
||||||
<AutoResizeConfiguration>
|
|
||||||
<Min> 16 </Min>
|
|
||||||
<Max> 22 </Max>
|
|
||||||
<AdjustStep> 1 </AdjustStep>
|
|
||||||
</AutoResizeConfiguration>
|
|
||||||
</MenuNameTextConfiguration>
|
|
||||||
<MenuDescriptionTextConfiguration>
|
|
||||||
<Font> KanitMediumTTF </Font>
|
|
||||||
<Color> 0x322B26 </Color>
|
|
||||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
|
||||||
<AutoResizeConfiguration>
|
|
||||||
<Min> 10 </Min>
|
|
||||||
<Max> 14 </Max>
|
|
||||||
<AdjustStep> 1 </AdjustStep>
|
|
||||||
</AutoResizeConfiguration>
|
|
||||||
</MenuDescriptionTextConfiguration>
|
|
||||||
<MenuPriceTextConfiguration>
|
|
||||||
<Font> KanitRegularTTF </Font>
|
|
||||||
<Color> 0x6F5F51 </Color>
|
|
||||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
|
||||||
<AutoResizeConfiguration>
|
|
||||||
<Min> 4 </Min>
|
|
||||||
<Max> 20 </Max>
|
|
||||||
<AdjustStep> 1 </AdjustStep>
|
|
||||||
</AutoResizeConfiguration>
|
|
||||||
</MenuPriceTextConfiguration>
|
|
||||||
<MenuHotPriceLabel>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "Hot"
|
|
||||||
Else
|
|
||||||
Var return = "ร้อน"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</MenuHotPriceLabel>
|
|
||||||
<MenuIcePriceLabel>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "Ice"
|
|
||||||
Else
|
|
||||||
Var return = "เย็น"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</MenuIcePriceLabel>
|
|
||||||
<MenuBlendPriceLabel>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return ="Blend"
|
|
||||||
Else
|
|
||||||
Var return = "ปั่น"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</MenuBlendPriceLabel>
|
|
||||||
<MenuUnavailableLabel>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return ="UNAVAILABLE"
|
|
||||||
Else
|
|
||||||
Var return = "หมด"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</MenuUnavailableLabel>
|
|
||||||
</Configuration>
|
|
||||||
<Menus>
|
|
||||||
;banners
|
|
||||||
; menu_new_list 15
|
|
||||||
; ==================> Len = 15
|
|
||||||
; 12-02-01-0083 12-02-02-0083 12-02-03-0083
|
|
||||||
<Menu>
|
|
||||||
<State> Flag( 12-02-01-0083.Button,12-02-02-0083.Button,12-02-03-0083.Button,$Sum120201008312020200831202030083) </State>
|
|
||||||
<IdleImage> "ROOT/taobin_project/image/page_drink_n//bn_southern_fusion_tea.png" </IdleImage>
|
|
||||||
<PressImage> "ROOT/taobin_project/image/page_drink_press_n//bn_southern_fusion_tea.png" </PressImage>
|
|
||||||
<DisableImage> "ROOT/taobin_project/image/page_drink_disable_n2//bn_southern_fusion_tea.png" </DisableImage>
|
|
||||||
<Name>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "Southern Fusion\nTea"
|
|
||||||
Else
|
|
||||||
Var return = "ชาผสานปักษ์ใต้"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</Name>
|
|
||||||
<Description>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "Matcha , Thai Tea, Milk Caramel"
|
|
||||||
Else
|
|
||||||
Var return = "มัทฉะ ชาไทย นม และคาราเมล"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</Description>
|
|
||||||
<HotState> $12-02-01-0083.Button </HotState>
|
|
||||||
<IceState> $12-02-02-0083.Button </IceState>
|
|
||||||
<BlendState> $12-02-03-0083.Button </BlendState>
|
|
||||||
<HotPrice> StringFmt( $12-02-01-0083.Price , DisplayFormat, PreScaleConvertShow) </HotPrice>
|
|
||||||
<IcePrice> StringFmt( $12-02-02-0083.Price , DisplayFormat, PreScaleConvertShow) </IcePrice>
|
|
||||||
<BlendPrice> StringFmt( $12-02-03-0083.Price , DisplayFormat, PreScaleConvertShow) </BlendPrice>
|
|
||||||
<IceProcessingState>
|
|
||||||
eval(
|
|
||||||
If ICE_PROCESS_STATUS = 2 Then
|
|
||||||
If $Sum510201003951020200395102030039 = "Disable" Then
|
|
||||||
Var ice_tab_process_show = "Disable"
|
|
||||||
Else
|
|
||||||
Var ice_tab_process_show = "Enable"
|
|
||||||
EndIf
|
|
||||||
Else
|
|
||||||
Var ice_tab_process_show = "Invisible"
|
|
||||||
EndIf
|
|
||||||
Var return = ice_tab_process_show
|
|
||||||
)
|
|
||||||
</IceProcessingState>
|
|
||||||
<IceProcessingImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </IceProcessingImage>
|
|
||||||
<IceProcessingDisableImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </IceProcessingDisableImage>
|
|
||||||
<EventOnClick>
|
|
||||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_southern_fusion_tea.png"
|
|
||||||
Var OpenFromXML = CurrentXMLFileName2
|
|
||||||
Var PriceD1 = $12-02-01-0083.Price
|
|
||||||
Var PriceD2 = $12-02-02-0083.Price
|
|
||||||
Var PriceD3 = $12-02-03-0083.Price
|
|
||||||
Var PD_CODE1 = "12-02-01-0083"
|
|
||||||
Var PD_CODE2 = "12-02-02-0083"
|
|
||||||
Var PD_CODE3 = "12-02-03-0083"
|
|
||||||
Var PD_STAGE_1 = $12-02-01-0083.Button
|
|
||||||
Var PD_STAGE_2 = $12-02-02-0083.Button
|
|
||||||
Var PD_STAGE_3 = $12-02-03-0083.Button
|
|
||||||
Var OverlayMenuFilter !assigned xmlpro( 12-02-01-0083, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
|
||||||
DEBUGVAR OverlayMenuFilter
|
|
||||||
Var SelectCountDrinkType = 0
|
|
||||||
Var DefaultDrinkType = 0
|
|
||||||
If PD_STAGE_1 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 1
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_2 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 2
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_3 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 3
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_2 = "Enable" Then
|
|
||||||
Topping "Load" "12-02-02-0083"
|
|
||||||
Else
|
|
||||||
If PD_STAGE_1 = "Enable" Then
|
|
||||||
Topping "Load" "12-02-01-0083"
|
|
||||||
Else
|
|
||||||
Topping "Load" "12-02-03-0083"
|
|
||||||
EndIf
|
|
||||||
EndIf
|
|
||||||
Var menu_name_eng_hot = $12-02-01-0083.NameE
|
|
||||||
Var menu_desc_eng_hot = $12-02-01-0083.descriptionE
|
|
||||||
Var menu_name_thai_hot = $12-02-01-0083.Name
|
|
||||||
Var menu_desc_thai_hot = $12-02-01-0083.description
|
|
||||||
|
|
||||||
Var menu_name_eng_cold = $12-02-02-0083.NameE
|
|
||||||
Var menu_desc_eng_cold = $12-02-02-0083.descriptionE
|
|
||||||
Var menu_name_thai_cold = $12-02-02-0083.Name
|
|
||||||
Var menu_desc_thai_cold = $12-02-02-0083.description
|
|
||||||
|
|
||||||
Var menu_name_eng_blender = $12-02-03-0083.NameE
|
|
||||||
Var menu_desc_eng_blender = $12-02-03-0083.descriptionE
|
|
||||||
Var menu_name_thai_blender = $12-02-03-0083.Name
|
|
||||||
Var menu_desc_thai_blender = $12-02-03-0083.description
|
|
||||||
|
|
||||||
DEBUGVAR PD_STAGE_1
|
|
||||||
DEBUGVAR PD_STAGE_2
|
|
||||||
DEBUGVAR PD_STAGE_3
|
|
||||||
Var SelectDrinkType = 0
|
|
||||||
|
|
||||||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
|
||||||
</EventOnClick>
|
|
||||||
</Menu>
|
|
||||||
|
|
||||||
; ==================> Len = 15
|
|
||||||
; 12-02-01-0084 12-02-02-0084 12-02-03-0084
|
|
||||||
<Menu>
|
|
||||||
<State> Flag( 12-02-01-0084.Button,12-02-02-0084.Button,12-02-03-0084.Button,$Sum120201008412020200841202030084) </State>
|
|
||||||
<IdleImage> "ROOT/taobin_project/image/page_drink_n//bn_traditional_green_tea.png" </IdleImage>
|
|
||||||
<PressImage> "ROOT/taobin_project/image/page_drink_press_n//bn_traditional_green_tea.png" </PressImage>
|
|
||||||
<DisableImage> "ROOT/taobin_project/image/page_drink_disable_n2//bn_traditional_green_tea.png" </DisableImage>
|
|
||||||
<Name>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "Traditional\nMatcha"
|
|
||||||
Else
|
|
||||||
Var return = "มัทฉะโบราณ"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</Name>
|
|
||||||
<Description>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "Jasmine Tea, Matcha, Milk, Caramel"
|
|
||||||
Else
|
|
||||||
Var return = "ชามะลิ มัทฉะ นม และคาราเมล"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</Description>
|
|
||||||
<HotState> $12-02-01-0084.Button </HotState>
|
|
||||||
<IceState> $12-02-02-0084.Button </IceState>
|
|
||||||
<BlendState> $12-02-03-0084.Button </BlendState>
|
|
||||||
<HotPrice> StringFmt( $12-02-01-0084.Price , DisplayFormat, PreScaleConvertShow) </HotPrice>
|
|
||||||
<IcePrice> StringFmt( $12-02-02-0084.Price , DisplayFormat, PreScaleConvertShow) </IcePrice>
|
|
||||||
<BlendPrice> StringFmt( $12-02-03-0084.Price , DisplayFormat, PreScaleConvertShow) </BlendPrice>
|
|
||||||
<IceProcessingState>
|
|
||||||
eval(
|
|
||||||
If ICE_PROCESS_STATUS = 2 Then
|
|
||||||
If $Sum510201003951020200395102030039 = "Disable" Then
|
|
||||||
Var ice_tab_process_show = "Disable"
|
|
||||||
Else
|
|
||||||
Var ice_tab_process_show = "Enable"
|
|
||||||
EndIf
|
|
||||||
Else
|
|
||||||
Var ice_tab_process_show = "Invisible"
|
|
||||||
EndIf
|
|
||||||
Var return = ice_tab_process_show
|
|
||||||
)
|
|
||||||
</IceProcessingState>
|
|
||||||
<IceProcessingImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </IceProcessingImage>
|
|
||||||
<IceProcessingDisableImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </IceProcessingDisableImage>
|
|
||||||
<EventOnClick>
|
|
||||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_traditional_green_tea.png"
|
|
||||||
Var OpenFromXML = CurrentXMLFileName2
|
|
||||||
Var PriceD1 = $12-02-01-0084.Price
|
|
||||||
Var PriceD2 = $12-02-02-0084.Price
|
|
||||||
Var PriceD3 = $12-02-03-0084.Price
|
|
||||||
Var PD_CODE1 = "12-02-01-0084"
|
|
||||||
Var PD_CODE2 = "12-02-02-0084"
|
|
||||||
Var PD_CODE3 = "12-02-03-0084"
|
|
||||||
Var PD_STAGE_1 = $12-02-01-0084.Button
|
|
||||||
Var PD_STAGE_2 = $12-02-02-0084.Button
|
|
||||||
Var PD_STAGE_3 = $12-02-03-0084.Button
|
|
||||||
Var OverlayMenuFilter !assigned xmlpro( 12-02-01-0084, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
|
||||||
DEBUGVAR OverlayMenuFilter
|
|
||||||
Var SelectCountDrinkType = 0
|
|
||||||
Var DefaultDrinkType = 0
|
|
||||||
If PD_STAGE_1 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 1
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_2 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 2
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_3 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 3
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_2 = "Enable" Then
|
|
||||||
Topping "Load" "12-02-02-0084"
|
|
||||||
Else
|
|
||||||
If PD_STAGE_1 = "Enable" Then
|
|
||||||
Topping "Load" "12-02-01-0084"
|
|
||||||
Else
|
|
||||||
Topping "Load" "12-02-03-0084"
|
|
||||||
EndIf
|
|
||||||
EndIf
|
|
||||||
Var menu_name_eng_hot = $12-02-01-0084.NameE
|
|
||||||
Var menu_desc_eng_hot = $12-02-01-0084.descriptionE
|
|
||||||
Var menu_name_thai_hot = $12-02-01-0084.Name
|
|
||||||
Var menu_desc_thai_hot = $12-02-01-0084.description
|
|
||||||
|
|
||||||
Var menu_name_eng_cold = $12-02-02-0084.NameE
|
|
||||||
Var menu_desc_eng_cold = $12-02-02-0084.descriptionE
|
|
||||||
Var menu_name_thai_cold = $12-02-02-0084.Name
|
|
||||||
Var menu_desc_thai_cold = $12-02-02-0084.description
|
|
||||||
|
|
||||||
Var menu_name_eng_blender = $12-02-03-0084.NameE
|
|
||||||
Var menu_desc_eng_blender = $12-02-03-0084.descriptionE
|
|
||||||
Var menu_name_thai_blender = $12-02-03-0084.Name
|
|
||||||
Var menu_desc_thai_blender = $12-02-03-0084.description
|
|
||||||
|
|
||||||
DEBUGVAR PD_STAGE_1
|
|
||||||
DEBUGVAR PD_STAGE_2
|
|
||||||
DEBUGVAR PD_STAGE_3
|
|
||||||
Var SelectDrinkType = 0
|
|
||||||
|
|
||||||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
|
||||||
</EventOnClick>
|
|
||||||
</Menu>
|
|
||||||
|
|
||||||
; ==================> Len = 15
|
|
||||||
; 12-02-01-0085 12-02-02-0085 12-02-03-0085
|
|
||||||
<Menu>
|
|
||||||
<State> Flag( 12-02-01-0085.Button,12-02-02-0085.Button,12-02-03-0085.Button,$Sum120201008512020200851202030085) </State>
|
|
||||||
<IdleImage> "ROOT/taobin_project/image/page_drink_n//bn_royal_milk_tea.png" </IdleImage>
|
|
||||||
<PressImage> "ROOT/taobin_project/image/page_drink_press_n//bn_royal_milk_tea.png" </PressImage>
|
|
||||||
<DisableImage> "ROOT/taobin_project/image/page_drink_disable_n2//bn_royal_milk_tea.png" </DisableImage>
|
|
||||||
<Name>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "Royal Milk Tea"
|
|
||||||
Else
|
|
||||||
Var return = "ชานมชาววัง"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</Name>
|
|
||||||
<Description>
|
|
||||||
eval(
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var return = "Thai Tea, Jasmine Tea, Milk, Caramel"
|
|
||||||
Else
|
|
||||||
Var return = "ชาไทย ชามะลิ นม และคาราเมล"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</Description>
|
|
||||||
<HotState> $12-02-01-0085.Button </HotState>
|
|
||||||
<IceState> $12-02-02-0085.Button </IceState>
|
|
||||||
<BlendState> $12-02-03-0085.Button </BlendState>
|
|
||||||
<HotPrice> StringFmt( $12-02-01-0085.Price , DisplayFormat, PreScaleConvertShow) </HotPrice>
|
|
||||||
<IcePrice> StringFmt( $12-02-02-0085.Price , DisplayFormat, PreScaleConvertShow) </IcePrice>
|
|
||||||
<BlendPrice> StringFmt( $12-02-03-0085.Price , DisplayFormat, PreScaleConvertShow) </BlendPrice>
|
|
||||||
<IceProcessingState>
|
|
||||||
eval(
|
|
||||||
If ICE_PROCESS_STATUS = 2 Then
|
|
||||||
If $Sum510201003951020200395102030039 = "Disable" Then
|
|
||||||
Var ice_tab_process_show = "Disable"
|
|
||||||
Else
|
|
||||||
Var ice_tab_process_show = "Enable"
|
|
||||||
EndIf
|
|
||||||
Else
|
|
||||||
Var ice_tab_process_show = "Invisible"
|
|
||||||
EndIf
|
|
||||||
Var return = ice_tab_process_show
|
|
||||||
)
|
|
||||||
</IceProcessingState>
|
|
||||||
<IceProcessingImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </IceProcessingImage>
|
|
||||||
<IceProcessingDisableImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </IceProcessingDisableImage>
|
|
||||||
<EventOnClick>
|
|
||||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_royal_milk_tea.png"
|
|
||||||
Var OpenFromXML = CurrentXMLFileName2
|
|
||||||
Var PriceD1 = $12-02-01-0085.Price
|
|
||||||
Var PriceD2 = $12-02-02-0085.Price
|
|
||||||
Var PriceD3 = $12-02-03-0085.Price
|
|
||||||
Var PD_CODE1 = "12-02-01-0085"
|
|
||||||
Var PD_CODE2 = "12-02-02-0085"
|
|
||||||
Var PD_CODE3 = "12-02-03-0085"
|
|
||||||
Var PD_STAGE_1 = $12-02-01-0085.Button
|
|
||||||
Var PD_STAGE_2 = $12-02-02-0085.Button
|
|
||||||
Var PD_STAGE_3 = $12-02-03-0085.Button
|
|
||||||
Var OverlayMenuFilter !assigned xmlpro( 12-02-01-0085, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
|
||||||
DEBUGVAR OverlayMenuFilter
|
|
||||||
Var SelectCountDrinkType = 0
|
|
||||||
Var DefaultDrinkType = 0
|
|
||||||
If PD_STAGE_1 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 1
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_2 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 2
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_3 = "Enable" Then
|
|
||||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
||||||
Var DefaultDrinkType = 3
|
|
||||||
EndIf
|
|
||||||
If PD_STAGE_2 = "Enable" Then
|
|
||||||
Topping "Load" "12-02-02-0085"
|
|
||||||
Else
|
|
||||||
If PD_STAGE_1 = "Enable" Then
|
|
||||||
Topping "Load" "12-02-01-0085"
|
|
||||||
Else
|
|
||||||
Topping "Load" "12-02-03-0085"
|
|
||||||
EndIf
|
|
||||||
EndIf
|
|
||||||
Var menu_name_eng_hot = $12-02-01-0085.NameE
|
|
||||||
Var menu_desc_eng_hot = $12-02-01-0085.descriptionE
|
|
||||||
Var menu_name_thai_hot = $12-02-01-0085.Name
|
|
||||||
Var menu_desc_thai_hot = $12-02-01-0085.description
|
|
||||||
|
|
||||||
Var menu_name_eng_cold = $12-02-02-0085.NameE
|
|
||||||
Var menu_desc_eng_cold = $12-02-02-0085.descriptionE
|
|
||||||
Var menu_name_thai_cold = $12-02-02-0085.Name
|
|
||||||
Var menu_desc_thai_cold = $12-02-02-0085.description
|
|
||||||
|
|
||||||
Var menu_name_eng_blender = $12-02-03-0085.NameE
|
|
||||||
Var menu_desc_eng_blender = $12-02-03-0085.descriptionE
|
|
||||||
Var menu_name_thai_blender = $12-02-03-0085.Name
|
|
||||||
Var menu_desc_thai_blender = $12-02-03-0085.description
|
|
||||||
|
|
||||||
DEBUGVAR PD_STAGE_1
|
|
||||||
DEBUGVAR PD_STAGE_2
|
|
||||||
DEBUGVAR PD_STAGE_3
|
|
||||||
Var SelectDrinkType = 0
|
|
||||||
|
|
||||||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
|
||||||
</EventOnClick>
|
|
||||||
</Menu>
|
|
||||||
|
|
||||||
</ScrollableCatalog>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</Popup>
|
|
||||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue