THAI: Oreo Volcano and extend Matcha Every Day
This commit is contained in:
parent
5d29666002
commit
8fbed2ac9b
38 changed files with 43155 additions and 10386 deletions
|
|
@ -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 didn’t 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 smoothie’s\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 didn’t 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.
|
|
|
@ -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))
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
@ -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
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
96
inter/tha/xml/multi/v3/page_catalog_group_20_baht.skt
Normal file
96
inter/tha/xml/multi/v3/page_catalog_group_20_baht.skt
Normal 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>
|
||||
|
|
@ -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>
|
||||
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
@ -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] = "ชาไทย นม น้ำตาล สละ"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue