THAI: Oreo Volcano and extend Matcha Every Day

This commit is contained in:
Kenta420 2025-04-23 13:09:29 +07:00
parent 5d29666002
commit 8fbed2ac9b
38 changed files with 43155 additions and 10386 deletions

View file

@ -1,3 +1,3 @@
normal_thai=ROOT/taobin_project/image/event/coconut_milk/coconut_milk.png
press_thai=ROOT/taobin_project/image/event/coconut_milk/coconut_milk.png
disable_thai=ROOT/taobin_project/image/event/coconut_milk/coconut_milk.png
normal_thai=ROOT/taobin_project/image/event/oreo_volcano/oreo_volcano_banner.png
press_thai=ROOT/taobin_project/image/event/oreo_volcano/oreo_volcano_banner.png
disable_thai=ROOT/taobin_project/image/event/oreo_volcano/oreo_volcano_banner.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 507 KiB

View file

@ -217,12 +217,12 @@
Font=Montserrat,Type=Bold,Size=64,Color=0x513C2F,Align=Center Font=Kanit,Type=Light,Size=64,Color=0x513C2F,Align=Center Font=Kanit,Type=Medium,Size=64,Color=0x513C2F,Align=Center Font=Montserrat,Type=Bold,Size=64,Color=0x513C2F,Align=Center Font=Montserrat,Type=Bold,Size=64,Color=0x513C2F,Align=Center Font=Montserrat,Type=Bold,Size=64,Color=0x513C2F,Align=Center
001201 blended fruit ผลไม้ปั่น blended fruit blended fruit blended fruit
Font=Montserrat,Type=Bold,Size=64,Color=0xFFFFFF,Align=Center Font=Kanit,Type=Light,Size=64,Color=0xFFFFFF,Align=Center Font=Kanit,Type=Medium,Size=64,Color=0x513C2F,Align=Center Font=Montserrat,Type=Bold,Size=64,Color=0x513C2F,Align=Center Font=Montserrat,Type=Bold,Size=64,Color=0x513C2F,Align=Center Font=Montserrat,Type=Bold,Size=64,Color=0x513C2F,Align=Center
001202 Press to open the door กดเพื่อเปิดประตู
001203 Checking Cup ตรวจสอบแก้ว
001204 Insert cup ใส่แก้วไว้ที่ฐานแก้ว
001205 Closing the door กำลังปิดประตู
001206 Blend now ดำเนินการปั่นผลไม้
Font=Montserrat,Type=Bold,Size=60,Color=0xFFFFFF,Align=Center Font=Kanit,Type=Light,Size=60,Color=0xFFFFFF,Align=Center Font=Kanit,Type=Medium,Size=60,Color=0xFFFFFF,Align=Center Font=Montserrat,Type=Bold,Size=64,Color=0x513C2F,Align=Center Font=Montserrat,Type=Bold,Size=60,Color=0xFFFFFF,Align=Center Font=Montserrat,Type=Bold,Size=60,Color=0xFFFFFF,Align=Center
001202 Press to open the door กดเพื่อเปิดประตู 按下以打开门 တံခါးဖွင့်ရန် နှိပ်ပါ
001203 Checking Cup ตรวจสอบแก้ว 检查杯子 ခွက်ကို စစ်ဆေးပါ
001204 Insert cup ใส่แก้วไว้ที่ฐานแก้ว 将杯子放在杯托上 ခွက်ထည့်ပါ
001205 Closing the door กำลังปิดประตู 正在关闭门 တံခါးကို ပိတ်နေသည်
001206 Blend now ดำเนินการปั่นผลไม้ 开始搅拌 ကြိတ်ခြင်း စတင်ပါ
@ -340,12 +340,15 @@
Frozen_smoothie
Font=Kanit,Type=Light,Size=24,Color=0x513C2F,Align=Center,LineHeight=18 Font=Kanit,Type=Light,Size=24,Color=0x513C2F,Align=Center,LineHeight=18 Font=Kanit,Type=Light,Size=24,Color=0x513C2F,Align=Center,LineHeight=18 Font=Kanit,Type=Light,Size=16,Color=0x513C2F,Align=Center,LineHeight=18 Font=Kanit,Type=Light,Size=24,Color=0x513C2F,Align=Center,LineHeight=18
Font=Kanit,Type=Light,Size=30,Color=0x6F5F51,Align=Center,LineHeight=18 Font=Kanit,Type=Light,Size=30,Color=0x6F5F51,Align=Center,LineHeight=18 Font=Kanit,Type=Light,Size=30,Color=0x6F5F51,Align=Center,LineHeight=18 Font=Kanit,Type=Light,Size=30,Color=0x6F5F51,Align=Center,LineHeight=18 Font=Kanit,Type=Light,Size=30,Color=0x6F5F51,Align=Center,LineHeight=18
002290 Preparation time: Approximately 3 minutes เวลาเตรียม: ประมาณ 3 นาที 准备时间大约3分钟 ပြင်ဆင်ချိန် - ခန့်မှန်းခြေ ၃ မိနစ်
Font=Kanit,Type=Regular,Size=36,Color=0xFFFFFF,Align=Center Font=Kanit,Type=Regular,Size=36,Color=0xFFFFFF,Align=Center Font=Kanit,Type=Regular,Size=36,Color=0xFFFFFF,Align=Center Font=Kanit,Type=Regular,Size=36,Color=0xFFFFFF,Align=Center Font=Kanit,Type=Regular,Size=36,Color=0xFFFFFF,Align=Center
Font=Kanit,Type=Regular,Size=36,Color=0x746253,Align=Center Font=Kanit,Type=Regular,Size=36,Color=0x746253,Align=Center Font=Kanit,Type=Regular,Size=36,Color=0x746253,Align=Center Font=Kanit,Type=Regular,Size=36,Color=0x746253,Align=Center Font=Kanit,Type=Regular,Size=36,Color=0x746254,Align=Center
002291 Pay now ซื้อเลย 现在付款 Pay now ဝယ်မယ်
Helper
Font=Kanit,Type=Medium,Size=28,Color=0x513C2F,Align=Center Font=Kanit,Type=Medium,Size=28,Color=0x513C2F,Align=Center Font=Kanit,Type=Medium,Size=28,Color=0x513C2F,Align=Center Font=Kanit,Type=Medium,Size=28,Color=0x513C2F,Align=Center Font=Kanit,Type=Medium,Size=28,Color=0x513C2F,Align=Center
Font=Kanit,Type=Medium,Size=28,Color=0x84776F Font=Kanit,Type=Medium,Size=28,Color=0x84776F Font=Kanit,Type=Medium,Size=28,Color=0x84776F Font=Kanit,Type=Medium,Size=28,Color=0x84776F Font=Kanit,Type=Medium,Size=28,Color=0x84776F
002299 Select the issue you encountered เลือกปัญหาที่คุณพบเจอ 请选择您遇到的问题 သင်ကြုံတွေ့သောပြဿနာကိုရွေးပါ
Font=Kanit,Type=Medium,Size=36,Color=0x513C2F,Align=Center Font=Kanit,Type=Medium,Size=36,Color=0x513C2F,Align=Center Font=Kanit,Type=Medium,Size=36,Color=0x513C2F,Align=Center Font=Kanit,Type=Medium,Size=36,Color=0x513C2F,Align=Center Font=Kanit,Type=Medium,Size=36,Color=0x513C2F,Align=Center
Font=Kanit,Type=Medium,Size=48,Color=0x513C2F,Align=Center Font=Kanit,Type=Medium,Size=48,Color=0x513C2F,Align=Center Font=Kanit,Type=Medium,Size=48,Color=0x513C2F,Align=Center Font=Kanit,Type=Medium,Size=48,Color=0x513C2F,Align=Center Font=Kanit,Type=Medium,Size=48,Color=0x513C2F,Align=Center
002300 Support Center ศูนย์ช่วยเหลือ 帮助中心 အကူအညီစင်တာ
Font=Kanit,Type=Medium,Size=30,Color=0x513C2F Font=Kanit,Type=Medium,Size=30,Color=0x513C2F Font=Kanit,Type=Medium,Size=30,Color=0x513C2F Font=Kanit,Type=Medium,Size=30,Color=0x513C2F Font=Kanit,Type=Medium,Size=30,Color=0x513C2F
002301 Inserted money, amount unchanged ตู้กินเงิน 机器没有退钱 စက်က ငွေပြန်မပေးပါ
@ -359,17 +362,28 @@
002309 Drink didnt dissolve properly เครื่องดื่มไม่ละลาย 饮料未融化 အအေးမပျက်ပါ
002310 Cup is messy/dirty แก้วเลอะ 杯子脏了 ဖန်ခွက်ညစ်နေသည်
002311 The cup tipped over / drink spilled แก้วล้ม/เครื่องดื่มหก 杯子倒了 / 饮料洒了 ဖန်ခွက်လဲ/အရည်ချဲသွားသည်
002312 Item not received ไม่ได้รับสินค้า 未收到商品 ကုန်ပစ္စည်း မရရှိပါ
Font=Kanit,Type=Medium,Size=32,Color=0xFFFFFF,Align=Center Font=Kanit,Type=Medium,Size=32,Color=0xFFFFFF,Align=Center Font=Kanit,Type=Medium,Size=32,Color=0xFFFFFF,Align=Center Font=Kanit,Type=Medium,Size=32,Color=0xFFFFFF,Align=Center Font=Kanit,Type=Medium,Size=32,Color=0xFFFFFF,Align=Center
002350 Next ถัดไป 下一步 နောက်တစ်ခု
002351 Back ย้อนกลับ 返回 နောက်သို့
002352 Confirm ยืนยัน 确认 အတည်ပြုပါ
Font=Montserrat,Type=Bold,Size=36,Color=0xEE8C62,Align=Center,LineHeight=46 Font=Kanit,Type=Light,Size=36,Color=0xEE8C62,Align=Center,LineHeight=46 Font=Kanit,Type=Medium,Size=36,Color=0xEE8C62,Align=Center,LineHeight=46 Font=Montserrat,Type=Bold,Size=48,Color=0xEE8C62,Align=Center Font=Montserrat,Type=Bold,Size=36,Color=0xEE8C62,Align=Center,LineHeight=46 Font=Montserrat,Type=Bold,Size=36,Color=0xEE8C62,Align=Center,LineHeight=46
002353 Please enter your phone number\n[so we can contact you back.###Font=KanitLight,Size=36] โปรดกรอกเบอร์โทรขอคุณ\n[เพื่อรอการติดต่อกลับจากเรา###Font=KanitLight,Size=36] 请输入您的电话号码\n[以便我们与您联系。###Font=KanitLight,Size=36] ကျေးဇူးပြု၍ သင်၏ဖုန်းနံပါတ်ကို ဖြည့်ပါ\n[ကျွန်ုပ်တို့မှ ပြန်လည်ဆက်သွယ်နိုင်ရန်။###Font=KanitLight,Size=36]
Smoothie_process
Font=Kanit,Type=Medium,Size=48,Color=0x513C2F,Align=Center Font=Kanit,Type=Medium,Size=48,Color=0x513C2F,Align=Center Font=Kanit,Type=Medium,Size=48,Color=0x513C2F,Align=Center Font=Kanit,Type=Medium,Size=48,Color=0x513C2F,Align=Center Font=Kanit,Type=Medium,Size=48,Color=0x513C2F,Align=Center
002400 Order summary ยกเลิกออเดอร์ 取消订单 အော်ဒါဖျက်ရန်
002401 Open to blend เปิดแล้วปั่นเลย 打开以搅拌 ကြိတ်ဖို့ဖွင့်ပါ
Font=Kanit,Type=Regular,Size=36,Color=0xFFFFFF,Align=Center Font=Kanit,Type=Regular,Size=36,Color=0xFFFFFF,Align=Center Font=Kanit,Type=Regular,Size=36,Color=0xFFFFFF,Align=Center Font=Kanit,Type=Regular,Size=36,Color=0xFFFFFF,Align=Center Font=Kanit,Type=Regular,Size=36,Color=0xFFFFFF,Align=Center
002402 Cancel order ยกเลิกการซื้อ 取消购买 ဝယ်ယူမှုဖျက်ရန်
002403 Go back กลับไปก่อนหน้า 返回 နောက်သို့သွားပါ
002404 Back to home กลับหน้าหลัก 返回主页 မူလစာမျက်နှာသို့ ပြန်သွားရန်
Font=Montserrat,Type=Bold,Size=36,Color=0x513C2F,Align=Center,LineHeight=46 Font=Kanit,Type=Light,Size=36,Color=0x513C2F,Align=Center,LineHeight=46 Font=Kanit,Type=Medium,Size=36,Color=0x513C2F,Align=Center,LineHeight=46 Font=Montserrat,Type=Bold,Size=48,Color=0xEE8C62,Align=Center Font=Montserrat,Type=Bold,Size=36,Color=0x513C2F,Align=Center,LineHeight=46 Font=Montserrat,Type=Bold,Size=36,Color=0x513C2F,Align=Center,LineHeight=46
002405 Oh no! Your smoothies\n[getting cold feet###Font=KanitBold,Size=36] โอ้ไม่! สมูทตี้ของคุณ\n[กำลังรู้สึกเศร้ามาก###Font=KanitLight,Size=36] 哎呀!您的冰沙\n[好像犹豫不决了。###Font=KanitMedium,Size=36] ဝမ်းနည်းပါတယ်။ သင့်စမူသီသည်\n[ကြိတ်ခြင်းမှ ရပ်နေပါပြီ။###Font=KanitBold,Size=36]
002406 You didnt complete the transaction\n[within 120 seconds. Please try again###Font=KanitLight,Size=36] คุณพลาดการทำรายการภายใน 120 วินาที\n[กรุณาลองทำรายการใหม่อีกครั้ง###Font=KanitLight,Size=36] 您在 120 秒内\n[未完成交易。请再试一次。###Font=KanitLight,Size=36] သင်ငွေပေးချေမှုကို ၁၂၀စက္ကန့်အတွင်း\n[မပြီးမြောက်နိုင်ခဲ့ပါ။ ကျေးဇူးပြု၍ ပြန်လည်ကြိုးစားပါ။###Font=KanitLight,Size=36]
Font=Kanit,Type=Medium,Size=48,Color=0xEE8C62,Align=Center Font=Kanit,Type=Medium,Size=48,Color=0xEE8C62,Align=Center Font=Kanit,Type=Medium,Size=48,Color=0xEE8C62,Align=Center Font=Kanit,Type=Medium,Size=48,Color=0xEE8C62,Align=Center Font=Kanit,Type=Medium,Size=48,Color=0xEE8C62,Align=Center
002407 Are you sure you\n[want to cancel?###Font=KanitLight,Size=36] คุณแน่ใจหรือว่าต้องการ\n[ยกเลิกออเดอร์จริงๆ###Font=KanitLight,Size=36] 您确定要\n[取消吗?###Font=KanitLight,Size=36] မင်းဖျက်ချင်တာ\n[သေချာပြီလား?###Font=KanitLight,Size=36]
002408 Session expired หมดเวลาทำรายการ 操作超时 ငွေပေးချေမှုအချိန်လွန်သွားပါပြီ
@ -1242,7 +1256,7 @@
1300003 Beans module ชุดเมล็ดกาแฟ
1300004 Bean tray ถาดใส่เมล็ดกาแฟ
1300005 Switch tray : สวิตซ์ถาด :
1300006 Check tray shutter ตรวจสอบชัตเตอร์ถาด
1300006 Check tray shutter ตรวจสอบชัตเตอร์ของถาด
1300007 Pay beans จ่ายถั่ว
1300008 1. Select beans 1. เลือกเมล็ดกาแฟ
1300009 2. Select direction 2. เลือกทิศทาง

Can't render this file because it has a wrong number of fields in line 22.

View file

@ -28,7 +28,8 @@ if "v3" in param and "promotion" in param and "other_catalog" in param:
pro_output_file = open(directory_to_process + "/event/event_v3/catalog_other/active_promotions.lxml", 'w')
pro_output_file.write(template_content.replace(";banners", all_active_pro))
pro_output_file.close()
elif "v3" in param and "promotion" in param:
if "v3" in param and "promotion" in param:
file_template = open(directory_to_process + "/page_catalog_group_recommend.lxml", 'r')
template_content = file_template.read()
file_template.close()
@ -41,6 +42,7 @@ elif "v3" in param and "promotion" in param:
files = os.listdir(directory_to_process + "/event/event_v3")
files = [f for f in files if f.endswith(".json")]
files.sort()
for filename in files:
pro_json_file = open(directory_to_process + "/event/event_v3/"+ filename)
pro_json = json.load(pro_json_file)
@ -53,7 +55,7 @@ elif "v3" in param and "promotion" in param:
pro_content = pro_content.replace("#MediaThai", pro_json["media_thai"])
pro_content = pro_content.replace("#MediaEng", pro_json["media_eng"])
pro_content = pro_content.replace("#EventClick", pro_json["event_click"])
all_active_pro += pro_content + "\n\t"
all_active_pro += pro_content + "\n"
pro_output_file = open(directory_to_process + "/event/event_v3/active_promotions.lxml", 'w')
pro_output_file.write(template_content.replace(";banners", all_active_pro))

View file

@ -1,6 +1,6 @@
{
"start": "2025-03-10T00:00:00",
"end": "2025-03-31T00:00:00",
"start": "2025-05-01T00:00:00",
"end": "2025-05-31T00:00:00",
"state": "MatchaEveryDayProState",
"type": "IMAGE",
"media_thai": "ROOT/taobin_project/image/event/matcha_every_day/matcha_every_day.png",

View file

@ -0,0 +1,9 @@
{
"start": "2025-05-01T00:00:00",
"end": "2025-05-31T00:00:00",
"state": "OreoVolcanoProState",
"type": "IMAGE",
"media_thai": "ROOT/taobin_project/image/event/oreo_volcano/oreo_volcano_banner.png",
"media_eng": "ROOT/taobin_project/image/event/oreo_volcano/oreo_volcano_banner.png",
"event_click": "Open \"ROOT/taobin_project/xml/v3/page_catalog_group_pro_oreo_volcano.xml\""
}

File diff suppressed because it is too large Load diff

View file

@ -59,10 +59,10 @@
GetVisible inst_show_other_other
DEBUGVAR inst_show_other_other
;DEBUGVAR inst_show_other_other
Var OtherOtherRefreshTimeOut = OtherOtherRefreshTimeOut + 1
DEBUGVAR OtherOtherRefreshTimeOut
;DEBUGVAR OtherOtherRefreshTimeOut
If OtherOtherRefreshTimeOut > 15 Then

View file

@ -3,6 +3,7 @@
Var FileRecommendToOpen = "ROOT/taobin_project/inter/tha/xml/multi/v3/event/event_v3/active_promotions.lxml"
Var MatchaEveryDayProState = "Invisible"
Var OreoVolcanoProState = "Invisible"
Var KingdomThaiTeaProState = "Invisible"
Var PepsiXTaobinProState = "Invisible"
@ -10,6 +11,10 @@ If MatchaEveryDayPro = 1 Then
Var MatchaEveryDayProState = "Enable"
EndIf
If OreoVolcanoPro = 1 Then
Var OreoVolcanoProState = "Enable"
EndIf
If KingdomThaiTeaPro = 1 Then
Var KingdomThaiTeaProState = "Enable"
EndIf

View file

@ -0,0 +1,96 @@
<?hurr
#include=menu_head.py
echo param
?>
<Popup>
<Cache> "Enable" </Cache>
<Width> 1080 </Width>
<Height> 1920 </Height>
;<Background> "0xeae6e1" </Background>
<Volume> SoundVolume </Volume>
<EventOpen>
DEBUGVAR SlientRefreshIndex
If SlientRefreshIndex = 7 Then
Var SlientRefreshIndex = 8
EndIf
Var OtherOtherRefreshTimeOut = 1
Var inst_show_other_other_counter = 10
</EventOpen>
<EventOnShow>
;include="ROOT/taobin_project/inter/tha/xml/multi/menu_catalog_default_init.lxml"
; soda and other
Var Menu62Selected = "PressForever"
RootLayoutVisible 12 "show"
Var Timeout = 0
;include="ROOT/taobin_project/inter/tha/xml/multi/tab_menu_show_and_refresh.lxml"
SetInstanceIgnoreTouch
;include="ROOT/taobin_project/inter/tha/xml/multi/menu_catalog_new_menu.lxml"
Var OtherOtherRefreshTimeOut = 14
DEBUGVAR SlientRefreshIndex
RefreshAll
</EventOnShow>
<Timeout> 1000 </Timeout>
<EventTimeout>
;DEBUGVAR ICE_PROCESS_STATUS
;include="ROOT/taobin_project/inter/tha/xml/multi/InstanceGetSetString.inc"
; setvarint RefreshOtherOther 1
If RefreshOtherOther = 1 Then
Var RefreshOtherOther = 0
SAVELOG "OPEN FROM 8"
Open "ROOT/taobin_project/inter/tha/xml/multi/v3/page_catalog_group_other_other.lxml"
EndIf
GetVisible inst_show_other_other
;DEBUGVAR inst_show_other_other
Var OtherOtherRefreshTimeOut = OtherOtherRefreshTimeOut + 1
;DEBUGVAR OtherOtherRefreshTimeOut
If OtherOtherRefreshTimeOut > 15 Then
Var OtherOtherRefreshTimeOut = 0
Script "-" "-"
If inst_show_other_other = 1 Then
;RefreshAll
EndIf
EndIf
TimerReset
</EventTimeout>
;include="ROOT/taobin_project/inter/tha/xml/multi/menu_catalog_new.lxml"
<?hurr
#include=menu_new_layout_gen_v3.py
?>
</Popup>

View file

@ -7335,233 +7335,6 @@
</EventOnClick>
</Menu>
; ==================> Len = 3
; - - 12-00-07-0001
<Menu>
<State> Flag( 12-00-07-0001.Button,$Sum1200070001) </State>
<IdleImage> "ROOT/taobin_project/inter/tha/image/page_drink_n//bn_frozen_mango.png" </IdleImage>
<PressImage> "ROOT/taobin_project/inter/tha/image/page_drink_press_n//bn_frozen_mango.png" </PressImage>
<DisableImage> "ROOT/taobin_project/inter/tha/image/page_drink_disable_n2//bn_frozen_mango.png" </DisableImage>
<Name>
<LanguageGroup>
<LanguageSlot1>Mango Smoothie</LanguageSlot1>
<LanguageSlot2>มะม่วงปั่น</LanguageSlot2>
<LanguageSlot3>-</LanguageSlot3>
<LanguageSlot4>-</LanguageSlot4>
<LanguageSlot5>-</LanguageSlot5>
<LanguageSlot6>-</LanguageSlot6>
</LanguageGroup>
</Name>
<Description>
<LanguageGroup>
<LanguageSlot1>Mango Frozen</LanguageSlot1>
<LanguageSlot2>มะม่วงสุขแช่แข็ง</LanguageSlot2>
<LanguageSlot3>-</LanguageSlot3>
<LanguageSlot4>-</LanguageSlot4>
<LanguageSlot5>-</LanguageSlot5>
<LanguageSlot6>-</LanguageSlot6>
</LanguageGroup>
</Description>
<HotState> "Disable2" </HotState>
<IceState> "Disable2" </IceState>
<BlendState> $12-00-07-0001.Button </BlendState>
<HotPrice> eval(
If $##-##-##-####.Price = -1 Then
Var return = "Free"
Else
Var return !assigned StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow)
EndIf
) </HotPrice>
<IcePrice> eval(
If $##-##-##-####.Price = -1 Then
Var return = "Free"
Else
Var return !assigned StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow)
EndIf
) </IcePrice>
<BlendPrice> eval(
If $12-00-07-0001.Price = -1 Then
Var return = "Free"
Else
Var return !assigned StringFmt( $12-00-07-0001.Price , DisplayFormat, PreScaleConvertShow)
EndIf
) </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>
<ConditionalDisable>
<Script>
If $Sum1200070001 = "Disable" Then
STRCONTAIN "STG=CLOSE" $##-##-##-####.TAG tag1_is_disable
STRCONTAIN "STG=CLOSE" $##-##-##-####.TAG tag2_is_disable
STRCONTAIN "STG=CLOSE" $12-00-07-0001.TAG tag3_is_disable
If tag1_is_disable = "true" Then
Var $Sum1200070001Tag = $##-##-##-####.TAG
EndIf
If tag2_is_disable = "true" Then
Var $Sum1200070001Tag = $##-##-##-####.TAG
EndIf
If tag3_is_disable = "true" Then
Var $Sum1200070001Tag = $12-00-07-0001.TAG
EndIf
Var $Sum1200070001TextValue !assigned GETS($Sum1200070001Tag,"MSG")
Var $Sum1200070001TextID !assigned GETS($Sum1200070001Tag,"TextID")
If $Sum1200070001TextID != "" Then
Var $Sum1200070001TextValue = ""
EndIf
If $Sum1200070001TextValue = "" Then
If $Sum1200070001TextID = "" Then
Var $Sum1200070001TextID = "000013"
EndIf
EndIf
EndIf
</Script>
<ID> $Sum1200070001TextID </ID>
<Value> $Sum1200070001TextValue </Value>
</ConditionalDisable>
<EventOnClick>
Var PictureDrink = "ROOT/taobin_project/inter/tha/image/page_drink_picture2_n/" + "bn_frozen_mango.png"
GetInstanceIDMenuTab OpenFromInstMenuTab
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $##-##-##-####.Price
Var PriceD2 = $##-##-##-####.Price
Var PriceD3 = $12-00-07-0001.Price
Var PD_CODE1 = "##-##-##-####"
Var PD_CODE2 = "##-##-##-####"
Var PD_CODE3 = "12-00-07-0001"
; begin lang
Var aliasName[0] = "Mango Smoothie"
Var aliasDesc[0] = "Mango Frozen"
Var aliasName[1] = "มะม่วงปั่น"
Var aliasDesc[1] = "มะม่วงสุขแช่แข็ง"
Var aliasName[2] = "-"
Var aliasDesc[2] = "-"
Var aliasName[3] = "-"
Var aliasDesc[3] = "-"
Var aliasName[4] = "-"
Var aliasDesc[4] = "-"
Var aliasName[5] = "-"
Var aliasDesc[5] = "-"
Var NameLang[0][0] = ""
Var NameLang[0][1] = ""
Var NameLang[0][2] = ""
Var NameLang[0][3] = ""
Var NameLang[0][4] = ""
Var NameLang[0][5] = ""
Var DescLang[0][0] = ""
Var DescLang[0][1] = ""
Var DescLang[0][2] = ""
Var DescLang[0][3] = ""
Var DescLang[0][4] = ""
Var DescLang[0][5] = ""
Var NameLang[1][0] = ""
Var NameLang[1][1] = ""
Var NameLang[1][2] = ""
Var NameLang[1][3] = ""
Var NameLang[1][4] = ""
Var NameLang[1][5] = ""
Var DescLang[1][0] = ""
Var DescLang[1][1] = ""
Var DescLang[1][2] = ""
Var DescLang[1][3] = ""
Var DescLang[1][4] = ""
Var DescLang[1][5] = ""
Var NameLang[2][0] = "Mango Smoothie"
Var NameLang[2][1] = "มะม่วงปั่น"
Var NameLang[2][2] = "-"
Var NameLang[2][3] = "-"
Var NameLang[2][4] = "-"
Var NameLang[2][5] = "-"
Var DescLang[2][0] = "Mango Frozen"
Var DescLang[2][1] = "มะม่วงสุขแช่แข็ง"
Var DescLang[2][2] = "-"
Var DescLang[2][3] = "-"
Var DescLang[2][4] = "-"
Var DescLang[2][5] = "-"
; end lang
Var PD_STAGE_1 = "Disable2"
Var PD_STAGE_2 = "Disable2"
Var PD_STAGE_3 = $12-00-07-0001.Button
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-00-07-0001"
EndIf
EndIf
;include="ROOT/taobin_project/inter/tha/xml/multi/tab_menu_hide.lxml"
Var OpenFromXML = "ROOT/taobin_project/inter/tha/xml/page_catalog_group_pro_buble_tea.lxml"
TabMenuVisibleInst 99
DEBUGVAR RedirectToNormalVersion
DEBUGVAR ToppingNewUINewSystem
If RedirectToNormalVersion = 1 Then
Var menu_name_eng_hot = NameLang[0][0]
Var menu_desc_eng_hot = DescLang[0][0]
Var menu_name_eng_cold = NameLang[1][0]
Var menu_desc_eng_cold = DescLang[1][0]
Var menu_name_eng_blender = NameLang[2][0]
Var menu_desc_eng_blender = DescLang[2][0]
Var menu_name_thai_hot = NameLang[0][1]
Var menu_desc_thai_hot = DescLang[0][1]
Var menu_name_thai_cold = NameLang[1][1]
Var menu_desc_thai_cold = DescLang[1][1]
Var menu_name_thai_blender = NameLang[2][1]
Var menu_desc_thai_blender = DescLang[2][1]
DEBUGVAR menu_name_thai_cold
DEBUGVAR menu_desc_thai_cold
Var NameDrink = aliasName[0]
Var DrinkDescription = aliasDesc[0]
Var NameDrinkTH = aliasName[1]
Var DrinkDescriptionTH = aliasDesc[1]
If LanguageShow = "THAI" Then
Var show_eng = "false"
Else
Var show_eng = "true"
EndIf
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_topping_select5.xml"
Else
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/inter/tha/xml/page_topping_select6.lxml"
EndIf
</EventOnClick>
</Menu>

View file

@ -0,0 +1,42 @@
<?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/inter/tha/xml/multi/menu_catalog_default_init.lxml"
Var Timeout = 0
;include="ROOT/taobin_project/inter/tha/xml/multi/menu_catalog_new_menu.lxml"
SetInstanceIgnoreTouch
</EventOpen>
<Timeout> 1000 </Timeout>
<EventTimeout>
;include="ROOT/taobin_project/inter/tha/xml/multi/ForProGroup.inc"
TimerReset
</EventTimeout>
;include="ROOT/taobin_project/inter/tha/xml/multi/menu_catalog_new.lxml"
<?hurr
#include=menu_new_layout_gen_v3.py
?>
</Popup>

View file

@ -2460,7 +2460,7 @@
<DisableImage> "ROOT/taobin_project/inter/tha/image/page_drink_disable_n2//bn_thai_milk_tea_SALAK.png" </DisableImage>
<Name>
<LanguageGroup>
<LanguageSlot1>Thai Milk Tea Salak</LanguageSlot1>
<LanguageSlot1>Central Thai Milk Tea</LanguageSlot1>
<LanguageSlot2>ชาไทยสละ</LanguageSlot2>
<LanguageSlot3>-</LanguageSlot3>
<LanguageSlot4>-</LanguageSlot4>
@ -2559,7 +2559,7 @@
Var PD_CODE2 = "12-02-02-0091"
Var PD_CODE3 = "12-02-03-0091"
; begin lang
Var aliasName[0] = "Thai Milk Tea Salak"
Var aliasName[0] = "Central Thai Milk Tea"
Var aliasDesc[0] = "Thai Tea Milk Sugar Salak"
Var aliasName[1] = "ชาไทยสละ"
Var aliasDesc[1] = "ชาไทย นม น้ำตาล สละ"

View file

@ -217,12 +217,12 @@
Font=Montserrat,Type=Bold,Size=64,Color=0x513C2F,Align=Center Font=Kanit,Type=Light,Size=64,Color=0x513C2F,Align=Center Font=Kanit,Type=Medium,Size=64,Color=0x513C2F,Align=Center Font=Montserrat,Type=Bold,Size=64,Color=0x513C2F,Align=Center Font=Montserrat,Type=Bold,Size=64,Color=0x513C2F,Align=Center Font=Montserrat,Type=Bold,Size=64,Color=0x513C2F,Align=Center
001201 blended fruit ผลไม้ปั่น blended fruit blended fruit blended fruit
Font=Montserrat,Type=Bold,Size=64,Color=0xFFFFFF,Align=Center Font=Kanit,Type=Light,Size=64,Color=0xFFFFFF,Align=Center Font=Kanit,Type=Medium,Size=64,Color=0x513C2F,Align=Center Font=Montserrat,Type=Bold,Size=64,Color=0x513C2F,Align=Center Font=Montserrat,Type=Bold,Size=64,Color=0x513C2F,Align=Center Font=Montserrat,Type=Bold,Size=64,Color=0x513C2F,Align=Center
001202 Press to open the door กดเพื่อเปิดประตู
001203 Checking Cup ตรวจสอบแก้ว
001204 Insert cup ใส่แก้วไว้ที่ฐานแก้ว
001205 Closing the door กำลังปิดประตู
001206 Blend now ดำเนินการปั่นผลไม้
Font=Montserrat,Type=Bold,Size=60,Color=0xFFFFFF,Align=Center Font=Kanit,Type=Light,Size=60,Color=0xFFFFFF,Align=Center Font=Kanit,Type=Medium,Size=60,Color=0xFFFFFF,Align=Center Font=Montserrat,Type=Bold,Size=64,Color=0x513C2F,Align=Center Font=Montserrat,Type=Bold,Size=60,Color=0xFFFFFF,Align=Center Font=Montserrat,Type=Bold,Size=60,Color=0xFFFFFF,Align=Center
001202 Press to open the door กดเพื่อเปิดประตู 按下以打开门 တံခါးဖွင့်ရန် နှိပ်ပါ
001203 Checking Cup ตรวจสอบแก้ว 检查杯子 ခွက်ကို စစ်ဆေးပါ
001204 Insert cup ใส่แก้วไว้ที่ฐานแก้ว 将杯子放在杯托上 ခွက်ထည့်ပါ
001205 Closing the door กำลังปิดประตู 正在关闭门 တံခါးကို ပိတ်နေသည်
001206 Blend now ดำเนินการปั่นผลไม้ 开始搅拌 ကြိတ်ခြင်း စတင်ပါ
@ -362,6 +362,7 @@
002309 Drink didnt dissolve properly เครื่องดื่มไม่ละลาย 饮料未融化 အအေးမပျက်ပါ
002310 Cup is messy/dirty แก้วเลอะ 杯子脏了 ဖန်ခွက်ညစ်နေသည်
002311 The cup tipped over / drink spilled แก้วล้ม/เครื่องดื่มหก 杯子倒了 / 饮料洒了 ဖန်ခွက်လဲ/အရည်ချဲသွားသည်
002312 Item not received ไม่ได้รับสินค้า 未收到商品 ကုန်ပစ္စည်း မရရှိပါ
Font=Kanit,Type=Medium,Size=32,Color=0xFFFFFF,Align=Center Font=Kanit,Type=Medium,Size=32,Color=0xFFFFFF,Align=Center Font=Kanit,Type=Medium,Size=32,Color=0xFFFFFF,Align=Center Font=Kanit,Type=Medium,Size=32,Color=0xFFFFFF,Align=Center Font=Kanit,Type=Medium,Size=32,Color=0xFFFFFF,Align=Center
002350 Next ถัดไป 下一步 နောက်တစ်ခု
002351 Back ย้อนกลับ 返回 နောက်သို့
@ -373,7 +374,7 @@
002400 Order summary ยกเลิกออเดอร์ 取消订单 အော်ဒါဖျက်ရန်
002401 Open to blend เปิดแล้วปั่นเลย 打开以搅拌 ကြိတ်ဖို့ဖွင့်ပါ
Font=Kanit,Type=Regular,Size=36,Color=0x746253,Align=Center Font=Kanit,Type=Regular,Size=36,Color=0x746253,Align=Center Font=Kanit,Type=Regular,Size=36,Color=0x746253,Align=Center Font=Kanit,Type=Regular,Size=36,Color=0x746253,Align=Center Font=Kanit,Type=Regular,Size=36,Color=0x746254,Align=Center
Font=Kanit,Type=Regular,Size=36,Color=0xFFFFFF,Align=Center Font=Kanit,Type=Regular,Size=36,Color=0xFFFFFF,Align=Center Font=Kanit,Type=Regular,Size=36,Color=0xFFFFFF,Align=Center Font=Kanit,Type=Regular,Size=36,Color=0xFFFFFF,Align=Center Font=Kanit,Type=Regular,Size=36,Color=0xFFFFFF,Align=Center
002402 Cancel order ยกเลิกการซื้อ 取消购买 ဝယ်ယူမှုဖျက်ရန်
002403 Go back กลับไปก่อนหน้า 返回 နောက်သို့သွားပါ
002404 Back to home กลับหน้าหลัก 返回主页 မူလစာမျက်နှာသို့ ပြန်သွားရန်

Can't render this file because it has a wrong number of fields in line 22.

View file

@ -1,8 +1,6 @@
<Popup>
<Width> 1080 </Width>
<Height> 1920 </Height>
<Volume> SoundVolume </Volume>
<EventOpen>
Var Timeout = 0
Var ImageDir = "ROOT/taobin_project/image/event/boost_energy/"
@ -33,9 +31,9 @@
<Timeout> 1000 </Timeout>
<EventTimeout>
Var CountDownBrewing = BREW_CNT
;Var CountDownBrewing = BREW_CNT
Var ShowCountDownBrewing = CountDownBrewing
;Var ShowCountDownBrewing = CountDownBrewing
Var Timeout = Timeout + 1
If Timeout > 5 Then
@ -137,22 +135,22 @@
</Button>
;
<Image>
<X> 751 </X>
<Y> 413 </Y>
<Filename> IMG_CNT </Filename>
</Image>
;
<Text>
<X> XPosiShowCountDownBrew </X>
<Y> 470 </Y>
<Align> End </Align>
<Width> 153 </Width>
<Size> 88 </Size>
<Font> RobotoBold </Font>
<Color> 0x513C2F </Color>
<Value> ShowCountDownBrewing </Value>
</Text>
;<Image>
;<X> 751 </X>
;<Y> 413 </Y>
;<Filename> IMG_CNT </Filename>
;</Image>
;<Text>
;<X> XPosiShowCountDownBrew </X>
;<Y> 470 </Y>
;<Align> End </Align>
;<Width> 153 </Width>
;<Size> 88 </Size>
;<Font> RobotoBold </Font>
;<Color> 0x513C2F </Color>
;<Value> ShowCountDownBrewing </Value>
;</Text>
</Popup>

File diff suppressed because it is too large Load diff

View file

@ -281,38 +281,6 @@ else:
file_xml4.write( content_data)
file_xml4.close()
if "catalog_other_pro" in param:
with open(directory_to_process + "/page_catalog_group_other_other.xml", 'r') as otherCatalogFile:
otherCatalogConent = otherCatalogFile.read()
file_inc2 = open(directory_to_process + "/event/promotion_template_other_catalog.inc", 'r')
file_inc2_content = file_inc2.read()
file_inc2.close()
content_data = otherCatalogConent.replace(";BigLogoLayout", file_inc2_content)
content_data = content_data.replace("<Max> 16 </Max>", '<Max> 12 </Max>')
content_data = content_data.replace(";layout_mode", '<Mode> "EnableAdjust" </Mode>')
content_data = content_data.replace(";banner_shifting",
'''Var ColumnOverride[0] = 2
Var ColumnOverride[1] = 2
Var ColumnOverride[2] = 4
Var ColumnOverride[3] = 4
Var ColumnOverride[4] = 4
Var ColumnGravity[0] = 3
Var ColumnGravity[1] = 3
''')
file_xml3_out = open(directory_to_process + "/event/out_put_file_other_catalog.txt", 'r')
file_xml3_out_content = file_xml3_out.read()
file_xml3_out_content = file_xml3_out_content.strip()
file_xml3_out_content = file_xml3_out_content.replace("\r", "")
file_xml3_out_content = file_xml3_out_content.replace("\n", "")
with open(directory_to_process + file_xml3_out_content, 'w') as outputFile:
outputFile.write(content_data)
if "multi_promotion" in param:
files = os.listdir(directory_to_process + "/event/")
files = [f for f in files if f.startswith("multi_promotion_config")]

View file

@ -0,0 +1,28 @@
[
{
"name": "matcha_every_day",
"template": "/event/promotion_template.inc",
"config": {
"normal_eng": "ROOT/taobin_project/image/event/matcha_every_day/matcha_every_day2.png",
"normal_thai": "ROOT/taobin_project/image/event/matcha_every_day/matcha_every_day2.png",
"press_eng": "ROOT/taobin_project/image/event/matcha_every_day/matcha_every_day2.png",
"press_thai": "ROOT/taobin_project/image/event/matcha_every_day/matcha_every_day2.png",
"disable_eng": "ROOT/taobin_project/image/event/matcha_every_day/matcha_every_day2.png",
"disable_thai": "ROOT/taobin_project/image/event/matcha_every_day/matcha_every_day2.png",
"event_on_click": "ROOT/taobin_project/xml/page_catalog_group_pro_matcha_every_day.xml"
}
},
{
"name": "oreo_volcano",
"template": "/event/promotion_template.inc",
"config": {
"normal_eng": "ROOT/taobin_project/image/event/oreo_volcano/oreo_volcano_banner.png",
"normal_thai": "ROOT/taobin_project/image/event/oreo_volcano/oreo_volcano_banner.png",
"press_eng": "ROOT/taobin_project/image/event/oreo_volcano/oreo_volcano_banner.png",
"press_thai": "ROOT/taobin_project/image/event/oreo_volcano/oreo_volcano_banner.png",
"disable_eng": "ROOT/taobin_project/image/event/oreo_volcano/oreo_volcano_banner.png",
"disable_thai": "ROOT/taobin_project/image/event/oreo_volcano/oreo_volcano_banner.png",
"event_on_click": "ROOT/taobin_project/xml/page_catalog_group_pro_oreo_volcano.xml"
}
}
]

View file

@ -1 +1 @@
/event/promotion_coconut_milk.xml
/event/promotion_oreo_volcano.xml

View file

@ -1 +0,0 @@
/event/promotion_boost_energy.xml

View file

@ -9,9 +9,7 @@
<EventOpen>
; On open
If BoostEnergyPro = 1 Then
Open "ROOT/taobin_project/xml/event/promotion_boost_energy.xml"
EndIf
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
; soda and other

File diff suppressed because it is too large Load diff

View file

@ -1 +1 @@
Open "ROOT/taobin_project/xml/page_catalog_group_pro_coconut_milk.xml"
Open "ROOT/taobin_project/xml/page_catalog_group_pro_oreo_volcano.xml"

File diff suppressed because it is too large Load diff

View file

@ -12,22 +12,4 @@
###EventOnClick
</EventOnClick>
<Video>
<X> 42 </X>
<Y> 518 </Y>
<Width> 484 </Width>
<Height> 616 </Height>
<Loop> "true" </Loop>
<Filename> "ROOT/taobin_project/image/event/coconut_milk/coconut_milk.mp4" </Filename>
</Video>
</Button>
<EventUnitTest1>
Var BigButtonEnable = "Enable"
Refresh
</EventUnitTest1>
<EventUnitTest2>
Var BigButtonEnable = "Invisible"
Refresh
</EventUnitTest2>

View file

@ -1,15 +0,0 @@
<Button>
<X> 42 </X>
<Y> 518 </Y>
<State> BigButtonEnable </State>
<Filename> "ROOT/taobin_project/image/event/boost_energy/boost_energy.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/event/boost_energy/boost_energy.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/event/boost_energy/boost_energy.png" </FilenameDisable>
<EventOnClick>
Open "ROOT/taobin_project/xml/page_catalog_group_pro_boost_energy.xml"
</EventOnClick>
</Button>

View file

@ -4,13 +4,10 @@ DEBUGVAR PayOfflineMode
DEBUGVAR CocktailShow
DEBUGVAR OpenFromPageBoard
DEBUGVAR StrawberrySeriesPro
DEBUGVAR OvaltineSchoolPro
DEBUGVAR RedStringOfFatePro
DEBUGVAR CoconutMilkPro
DEBUGVAR MatchaEveryDayPro
DEBUGVAR KingdomThaiTeaPro
DEBUGVAR PepsiXTaobinPro
DEBUGVAR MatchaEveryDayPro
DEBUGVAR OreoVolcanoPro
Var PromotionState1 = "Invisible"
Var PromotionState2 = "Invisible"
@ -34,18 +31,8 @@ Else
Else
If CoconutMilkPro = 1 Then
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/promotion_coconut_milk.xml"
Var PromotionState2 = "Enable"
If MatchaEveryDayPro = 1 Then
Var PromotionState1 = "Enable"
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/double_promotion_matcha_every_day_and_coconut_milk.xml"
EndIf
Else
If MatchaEveryDayPro = 1 Then
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/promotion_matcha_every_day.xml"
EndIf
If PepsiXTaobinPro = 1 Then
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/promotion_pepsi_x_taobin.xml"
EndIf
If KingdomThaiTeaPro = 1 Then
@ -61,13 +48,19 @@ Else
Var PromotionState2 = "Enable"
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/double_promotion_kingdom_thai_tea_and_matcha_every_day.xml"
EndIf
Else
If PepsiXTaobinPro = 1 Then
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/promotion_pepsi_x_taobin.xml"
EndIf
EndIf
If MatchaEveryDayPro = 1 Then
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/promotion_matcha_every_day.xml"
EndIf
If OreoVolcanoPro = 1 Then
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/promotion_oreo_volcano.xml"
Var PromotionState1 = "Enable"
If MatchaEveryDayPro = 1 Then
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/promotion_matcha_every_day.xml"
Var PromotionState2 = "Enable"
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/double_promotion_matcha_every_day_and_oreo_volcano.xml"
EndIf
EndIf

View file

@ -68,9 +68,6 @@ Var SwensenPro = 0
; Coconut Milk, 1 Mar - 31 Mar
Var CoconutMilkPro = 0
; Matcha every day, 10 Mar - 31 Mar
Var MatchaEveryDayPro = 0
; Kingdom of Thai tea, 1 Apr - 30 Apr
Var KingdomThaiTeaPro = 0
@ -83,6 +80,12 @@ Var SongkranSoundCampaign = 0
; Boost Energy drink, 1 - 11 May
Var BoostEnergyPro = 0
; Matcha every day, 1 - 31 May
Var MatchaEveryDayPro = 0
; Oreo volcano, 1 - 31 May
Var OreoVolcanoPro = 0
Var NewCollectPoint = 1
Var PaymentCodeShouldCollectPromotionPoint = 0
@ -132,6 +135,10 @@ If SystemDateMonthInt = 3 Then
EndIf
If SystemDateMonthInt = 5 Then
Var OreoVolcanoPro = 1
Var MatchaEveryDayPro = 1
If SystemDateDayInt <= 11 Then
Var BoostEnergyPro = 1
EndIf

View file

@ -0,0 +1,43 @@
<?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/menu_catalog_new.xml"
<?hurr
#include=menu_new_layout_gen_v2.py
?>
<?hurr
#include=menu_new_layout_gen.py
?>
;BigLogoLayout
</Popup>

File diff suppressed because it is too large Load diff

View file

@ -12,9 +12,6 @@
<EventOpen>
; On open
If BoostEnergyPro = 1 Then
Open "ROOT/taobin_project/xml/event/promotion_boost_energy.xml"
EndIf
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
; soda and other

View file

@ -9,9 +9,6 @@
<EventOpen>
; On open
If BoostEnergyPro = 1 Then
Open "ROOT/taobin_project/xml/event/promotion_boost_energy.xml"
EndIf
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
; soda and other

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,36 @@
<?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/menu_catalog_new.xml"
<?hurr
#include=menu_new_layout_gen_v2.py
?>
<?hurr
#include=menu_new_layout_gen.py
?>
</Popup>

File diff suppressed because it is too large Load diff

View file

@ -2,7 +2,76 @@ If BoostEnergyPro = 1 Then
If Seeker.CodeChannel = 1 Then
SAVELOG "[AFTER_COLLECT_POINT] BoostEnergyPro: Not get discount code because client use discount to buy drink."
Else
Open "ROOT/taobin_project/xml/event/boost_energy/page_got_discount_code.xml"
Var getDiscount = 0
If Seeker.selected_a_drink = "12-05-02-0148" Then
Var getDiscount = 1
EndIf
If Seeker.selected_a_drink = "12-05-02-0034" Then
Var getDiscount = 1
EndIf
If Seeker.selected_a_drink = "12-05-03-0034" Then
Var getDiscount = 1
EndIf
If Seeker.selected_a_drink = "12-05-02-0035" Then
Var getDiscount = 1
EndIf
If Seeker.selected_a_drink = "12-05-03-0035" Then
Var getDiscount = 1
EndIf
If Seeker.selected_a_drink = "12-05-02-0136" Then
Var getDiscount = 1
EndIf
If Seeker.selected_a_drink = "12-05-03-0136" Then
Var getDiscount = 1
EndIf
If Seeker.selected_a_drink = "12-05-02-0137" Then
Var getDiscount = 1
EndIf
If Seeker.selected_a_drink = "12-05-03-0137" Then
Var getDiscount = 1
EndIf
If Seeker.selected_a_drink = "12-05-02-0138" Then
Var getDiscount = 1
EndIf
If Seeker.selected_a_drink = "12-05-03-0138" Then
Var getDiscount = 1
EndIf
If Seeker.selected_a_drink = "12-05-02-0139" Then
Var getDiscount = 1
EndIf
If Seeker.selected_a_drink = "12-05-03-0139" Then
Var getDiscount = 1
EndIf
If Seeker.selected_a_drink = "12-05-02-0140" Then
Var getDiscount = 1
EndIf
If Seeker.selected_a_drink = "12-05-03-0140" Then
Var getDiscount = 1
EndIf
If Seeker.selected_a_drink = "12-05-02-0141" Then
Var getDiscount = 1
EndIf
If Seeker.selected_a_drink = "12-05-03-0141" Then
Var getDiscount = 1
EndIf
If Seeker.selected_a_drink = "12-05-02-0142" Then
Var getDiscount = 1
EndIf
If Seeker.selected_a_drink = "12-05-03-0142" Then
Var getDiscount = 1
EndIf
If Seeker.selected_a_drink = "12-05-02-0143" Then
Var getDiscount = 1
EndIf
If Seeker.selected_a_drink = "12-05-03-0143" Then
Var getDiscount = 1
EndIf
If getDiscount = 1 Then
Open "ROOT/taobin_project/xml/event/boost_energy/page_got_discount_code.xml"
EndIf
EndIf
EndIf