THAI INTER: Fix Page_check_member / Vending machine

This commit is contained in:
Ittipat Lusuk 2024-11-29 13:24:24 +07:00
parent 01163df0f8
commit 1f8f29f0f6
8 changed files with 140 additions and 118 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

View file

@ -95,7 +95,7 @@
000073 Pay now ซื้อเลย 现在付款 Pay now ဝယ်မယ်
Font=Kanit,Type=Regular,Size=36,Color=0x746253 Font=Kanit,Type=Regular,Size=36,Color=0x746253 Font=Kanit,Type=Regular,Size=36,Color=0x746253 Font=Kanit,Type=Regular,Size=36,Color=0x746254
Font=Kanit,Type=Regular,Size=36,Color=0xFFFFFF Font=Kanit,Type=Regular,Size=36,Color=0xFFFFFF Font=Kanit,Type=Regular,Size=36,Color=0xFFFFFF Font=Kanit,Type=Regular,Size=36,Color=0xFFFFFF
000074 Cancel ยกเลิก 取消 Cancel ပယ်ဖျက်ပါ
000074 Cancel ยกเลิก 取消 Cancel ပယ်ပါ
Font=Kanit,Type=Light,Size=36,Color=0xFF0000 Font=Kanit,Type=Light,Size=36,Color=0xFF0000 Font=Kanit,Type=Light,Size=36,Color=0xFF0000 Font=Kanit,Type=Light,Size=36,Color=0xFF0001
000075 Please choose drink type โปรดเลือกประเภทเครื่องดื่ม Please choose drink type
@ -118,7 +118,6 @@
000090 Out of straw หลอดหมด 稻草外 Out of straw ကောက်ရိုးထဲက
000091 Out of lid ฝาหมด 从盖子出来 Out of lid အဖုံးထဲက
Font=Kanit,Type=Light,Size=29,Color=0x9D9D9D,Align=end-center-vertical,LineHeight=30 Font=Kanit,Type=Light,Size=29,Color=0x9D9D9D,Align=end-center-vertical,LineHeight=30 Font=Kanit,Type=Light,Size=29,Color=0x9D9D9D,Align=end-center-vertical,LineHeight=30 Font=Kanit,Type=Light,Size=24,Color=0x9D9D9D,Align=end-center-vertical,LineHeight=30
Font=Kanit,Type=Light,Size=29,Color=0x9D9D9D,Align=end-center-vertical,LineHeight=30 Font=Kanit,Type=Light,Size=29,Color=0x9D9D9D,Align=end-center-vertical,LineHeight=30 Font=Kanit,Type=Light,Size=29,Color=0x9D9D9D,Align=end-center-vertical,LineHeight=30 Font=Kanit,Type=Light,Size=24,Color=0x9D9D9D,Align=end-center-vertical,LineHeight=30
000092 Only smoothie\n avalible สำหรับเมนูปั่น 仅提供冰沙 Only smoothie\n avalible smoothie\n တစ်မျိုးတည်းသာ ရနိုင်သည်။
000093 Extra shot unavalible for\nsmoothie ไม่สามารถเพิ่มช็อต\nถ้าสั่งเมนูปั่น \冰沙无法额外拍摄 Extra shot unavalible for\nsmoothie Smoothie အတွက်\nအပိုရိုက်ချက် မရနိုင်ပါ။
@ -128,10 +127,8 @@
000101 Add extra Oreo crunchy เพิ่มท็อปปิ้งโอริโอภูเขาไฟ 添加额外的奥利奥松脆感 Add extra Oreo crunchy အပို Oreo ရွရွထည့်ပါ။
000102 1 Shot of Single Origin Espresso\n[1 minutes will be added to the process.###Font=KanitLight,Size=15] เอสเพรสโซ Single Origin 1 ช็อต\n[ใช้เวลาชงนานขึ้น 1 นาที###Font=KanitLight,Size=15] 添加单份浓缩咖啡 1 份即可将您的定制饮品的处理时间延长 1 分钟。 1 Shot of Single Origin Espresso\n[1 minutes will be added to the process.###Font=KanitLight,Size=15] တစ်ခုတည်းသော မူရင်း Espresso ၏ ရိုက်ချက် 1 ချက်\n[1 မိနစ်ကို လုပ်ငန်းစဉ်တွင် ထည့်သွင်းပါမည်။###Font=KanitLight၊Size=15]
Font=Kanit,Type=Medium,Size=36,Color=0xEE8C62,LineHeight=46 Font=Kanit,Type=Medium,Size=36,Color=0xEE8C62,LineHeight=46 Font=Kanit,Type=Medium,Size=36,Color=0xEE8C62,LineHeight=46
Font=Kanit,Type=Medium,Size=36,Color=0xEE8C62,LineHeight=46 Font=Kanit,Type=Medium,Size=36,Color=0xEE8C62,LineHeight=46 Font=Kanit,Type=Medium,Size=36,Color=0xEE8C62,LineHeight=46
000103 Coffee Connoisseur Playground สนามเด็กเล่นของคนรักกาแฟ Coffee Connoisseur ကစားကွင်း
Font=Kanit,Type=Regular,Size=36,Color=0x513C2F,LineHeight=46 Font=Kanit,Type=Regular,Size=36,Color=0x513C2F,LineHeight=46 Font=Kanit,Type=Regular,Size=36,Color=0x513C2F,LineHeight=46
Font=Kanit,Type=Regular,Size=36,Color=0x513C2F,LineHeight=46 Font=Kanit,Type=Regular,Size=36,Color=0x513C2F,LineHeight=46 Font=Kanit,Type=Regular,Size=36,Color=0x513C2F,LineHeight=46
000104 Water level (long) ปริมาณน้ำ (Long) ရေအဆင့် (ရှည်)
000105 Coffee bean quantity ปริมาณเมล็ดกาแฟ ကော်ဖီစေ့ ပမာဏ
000106 Coffee level ความเข้มของกาแฟ ကော်ဖီအဆင့်
@ -141,6 +138,10 @@
000109 Just Right กำลังพอดี လိုက်လျော
000110 Dark เข้ม ပြင်း
000111 Darker เข้มกว่า ပိုပြင်း
Font=Kanit,Type=Regular,Size=36,Color=0xDE794E,LineHeight=46 Font=Kanit,Type=Regular,Size=36,Color=0xDE794E,LineHeight=46 Font=Kanit,Type=Regular,Size=36,Color=0x513C2F,LineHeight=46 Font=Kanit,Type=Regular,Size=36,Color=0xDE794E,LineHeight=46
000112 Alternative Milk นมทางเลือก အစားထိုးနို့
Font=Kanit,Type=Regular,Size=36,Color=0x513C2F,LineHeight=46 Font=Kanit,Type=Regular,Size=36,Color=0x513C2F,LineHeight=46 Font=Kanit,Type=Regular,Size=36,Color=0x513C2F,LineHeight=46 Font=Kanit,Type=Regular,Size=36,Color=0x513C2F,LineHeight=46
000113 Oat milk\n[100% PLANT-BASED from Australian oats, No artificial colour or flavors, No preservatives, rich in dietary fiber.###Font=KanitLight,Size=15] นมโอ๊ต\n[100% PLANT-BASED นมโอ๊ต 94% น้ำมันมะพร้าว 6% ทำจากโอ๊ตออสเตรเลีย ไม่แต่งรสหรือใส่สีสังเคราะห์ ไม่ใส่วัตถุกันเสีย###Font=KanitLight,Size=15] 添加 1 杯浓缩咖啡将使您的定制饮品的处理时间延长 1 分钟。 1 Shot of Espresso\n[1 minutes will be added to the process.###Font=KanitLight,Size=15] Oat နို့\n[Australian oats မှ၊ အတုမရှိ အရောင်နှင့် အရသာမရှိ၊ ကြာရှည်ခံဆေးမရှိ၊ အမျှင်ဓာတ်ကြွယ်ဝသော###Font=KanitLight,Size=15]
@ -217,19 +218,15 @@
Page_before_check_member
Font=Montserrat,Type=Bold,Size=48,Color=0x513C2F,Align=Center,LineHeight=72 Font=Kanit,Type=Bold,Size=48,Color=0x513C2F,Align=Center,LineHeight=72 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,LineHeight=86
002001 Please enter your mobile number\nto topup Tao bin credit. กรุณาใส่เบอร์มือถือ\nเพื่อเติมเต่าบินเครดิต Tao bin ခရက်ဒစ်ငွေဖြည့်ရန်\nသင့်မိုဘိုင်းနံပါတ်ကို ထည့်သွင်းပါ။
002002 Please enter your mobile number\nto check reward point. กรุณาใส่เบอร์มือถือ\nเพื่อเช็กคะแนนสะสมของคุณ ဆုလာဘ်အမှတ်ကို စစ်ဆေးရန်\nသင့်မိုဘိုင်းနံပါတ်ကို ထည့်သွင်းပါ။
002003 Please enter your mobile number\nto change password. กรุณาใส่เบอร์มือถือ\nเพื่อเปลี่ยนรหัสผ่าน စကားဝှက်ပြောင်းရန်\nသင့်မိုဘိုင်းနံပါတ်ကို ထည့်ပါ။
Topup
Font=Montserrat,Type=Light,Size=26,Color=0x513C2F,Align=Center,LineHeight=72 Font=Kanit,Type=Light,Size=26,Color=0x513C2F,Align=Center,LineHeight=72 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=Light,Size=26,Color=0x513C2F,Align=Center,LineHeight=86
002004 Top up phone เติมเงินมือถือ ဖုန်းငွေဖြည့်ပါ။
002005 Reward Points / Top up credit เติมเงินเข้าเครดิต / เช็คคูปองสะสม ဆုအမှတ်များ / ငွေဖြည့်ခရက်ဒစ်
@ -744,12 +741,12 @@
800634 OK รับทราบ
800635 Main Disc Not Close!!! ฐานจานหมุนไม่ได้ล็อค!!!
800636 Main Disc lock may loose, Please lock Main Disc before Full Test. ฐานจานหมุนอาจหลวม หรือลืมล็อค
800637 Powder Disc ตำแหน่งผง
800637 Powder ตำแหน่งผง
800638 ICE น้ำแข็ง
800639 Door Cup ประตูรับแก้ว
800639 Door cup ประตูรับแก้ว
800640 Powder Channel (falling powder!) ชุดผง (ช่องจ่าย) (ผงหล่น!)
800641 Arm Disc ตำแหน่งแขน
800642 Door Lid/Straw ประตูรับหลอดรับฝา
800641 Arm module switch ตำแหน่งแขน
800642 Door lid/straw ประตูรับหลอดรับฝา
800643 Whipper หัวชง
800644 Start เริ่ม
800645 Cancel ยกเลิก
@ -759,18 +756,18 @@
800649 Fail ล้มเหลว
800650 Testing List : รายการทดสอบ :
800651 Connection การสื่อสาร
800652 Tray ถาดกาแฟ
800653 ESP Module ตำแหนงเครื่องอัดกาแฟ
800654 Main Gate Switch สวิทช์ประตู Main
800655 Module Arm Switch สวิทช์ Module แขน
800656 Guard Bean Coffee Switch สวิทช์ Guard Bean กาแฟ
800652 Coffee: tray ถาดกาแฟ
800653 Coffee: press ตำแหนงเครื่องอัดกาแฟ
800654 Front Door สวิทช์ประตู Main
800655 Module Disc สวิทช์ Module แขน
800656 Coffee: guard สวิทช์ Guard Bean กาแฟ
800657 Degree องศา
800658 Coarse หยาบ
800659 Fine ละเอียด
800660 Bucket กระบะ
800661 Shutter ชัตเตอร์
800662 Motor แกนมอเตอร์
800663 Whipper clean water น้ำล้างหัวชง
Test (New UI)
800700 Active ทำงาน
@ -1000,7 +997,7 @@
1000002 Full test ทดสอบทั้งระบบ
1000003 All ทั้งหมด
1000004 Main Test ทดสอบหลัก
1000005 Cup & Arms, Coffee, Whipper, Powder, Door cup, Door lid, Front door, Module disc แก้ว & แขน, กาแฟ, หัวชง, ผง, ประตูแก้ว, ประตูฝา, ประตูหน้า, ฐานจานหมุน
1000005 Cup & Arms, Coffee, Whipper, Powder, Door cup, Door lid, Front door, Module disc, Water clean whipper แก้ว & แขน, กาแฟ, หัวชง, ผง, ประตูแก้ว, ประตูฝา, ประตูหน้า, ฐานจานหมุน, น้ำล้างหัวชง
1000006 Ice Test ทดสอบน้ำแข็ง
1000007 Bucket, Shutter, Motor ถัง, ชัตเตอร์, มอเตอร์
1000008 Connection Test ทดสอบการสื่อสาร
@ -1091,7 +1088,7 @@
1300016 Brew time:sec เวลาชง: วินาที
1300017 Test grind sizes ทดสอบขนาดบด
1300018 Coffee module type : ประเภทชุดกาแฟ :
1300019 1. Select grind sizes 1. เลือกขนาดการบด
1300019 1. Select grind sizes 1. เลือกขนาดบด
1300020 More coarse หยาบขึ้น
1300021 More fine ละเอียดขึ้น
1300022 2. Test grinding 2. ทดสอบการบด

Can't render this file because it contains an unexpected character in line 180 and column 14.

View file

@ -75,9 +75,23 @@
Var Menu21Selected2 = "Invisible"
Var MenuVSelected2 = "Invisible"
If InternationalEnable = 1 Then
If CountryName = "Thailand" Then
EndIf
Else
EndIf
If SpiralOnline = "true" Then
If Seeker = "curr" Then
Var MenuVSelected2 = "Enable"
If InternationalEnable = 1 Then
If CountryName = "Thailand" Then
;do not thing
EndIf
Else
Var MenuVSelected2 = "Enable"
EndIf
EndIf
EndIf

View file

@ -192,11 +192,6 @@
Var PromotionIDCurrentOrder = 0
RootLayoutVisible 3 "show"
Var ButtonLanguageCurrentXPosition = 1005
Var ButtonLanguageCurrentYPosition = 458 - 38
Var ButtonLanguageListXPosition = 970
Var ButtonLanguageListYPosition = 450 - 38
</EventOpen>
<Timeout> 1000 </Timeout>
<EventTimeout>
@ -602,10 +597,17 @@
<Volume> SoundVolume </Volume>
<EventClick>
; eng
Var CheckMemberPage = "ROOT/taobin_project/xml/page_check_member.xml"
Var CheckMemberPage = "ROOT/taobin_project/xml/page_before_check_member.xml"
Open CheckMemberPage
</EventClick>
<Language>
<ID> 002005 </ID>
<X> 20 </X>
<Y> 25 </Y>
<Width> 400 </Width>
<Height> 72 </Height>
</Language>
</Button>
<Button>
@ -623,6 +625,13 @@
Open "ROOT/taobin_project/xml/page_back_to_topup.xml"
</EventClick>
<Language>
<ID> 002004 </ID>
<X> 70 </X>
<Y> 25 </Y>
<Width> 200 </Width>
<Height> 72 </Height>
</Language>
</Button>
<Button>
@ -789,7 +798,7 @@
<EventUnitTest6>
Open "ROOT/taobin_project/xml/page_topup_credit3-TopupQR.xml"
Open "ROOT/taobin_project/xml/page_before_check_member.xml"
</EventUnitTest6>
<EventUnitTest7>

View file

@ -1115,7 +1115,85 @@
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/sold_cup_count.xml"
EndIf
; New mode
; Inter + Multi-Instance available ./inter/tha/multi
; Below. Pendding from XMLProfile
DEBUGVAR MyanmarLangEnable
DEBUGVAR EnableMultiInstance
;Var MyanmarLangEnable = "true"
Var MyanmarLangEnable = "false"
;Var MyanmarLangEnable = ""
If MyanmarLangEnable = "" Then
Else
If EnableMultiInstance = "true" Then
If CountryName = "Thailand" Then
Var InternationalEnable = 1
DEBUGVAR InternationalEnable
;TRY "/mnt/sdcard/coffeevending/taobin_project/inter/tha/video/script_video.ev"
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/multi_ads/ads_path.ev"
;specified to unittest4
Var CountryRootPath = "ROOT/taobin_project/inter/tha/"
Var CountryShortName = "tha"
Var OpenFileXML = CountryRootPath + "xml/event/tricker.ev"
DEBUGVAR OpenFileXML
TRY OpenFileXML
Var WebAppShow = "Invisible"
Var ENABLE_UAE_DUBAI = "Invisible"
EnableLanguage "ENG"
EnableLanguage "THAI"
EnableLanguage "MYANMAR"
If MyanmarLangEnable = "true" Then
EnableLanguage "MYANMAR"
EndIf
SetLanguage "THAI"
LanguageControl "UpdateList" "-"
Var show_eng = "false"
;Var ShowNetworkProblemText = "Network error. Payment Cash only."
Var TextPriceMenuSize = 12
Var TextPriceMenuY = 266
Var TextPriceMenuBlendX = 180
Var TextPriceMenuHotX = 48
Var ShowButtonClick2 = "Invisible"
Var ButtontoTopupMenu = "Enable"
Var PriceUnitText = ""
Var show_eng_button_stage = "Invisible"
Var XButtonMember = 384
Var YButtonMember = 1695
If Not#LanguageLoaded = "" Then
LoadLanguage "/mnt/sdcard/coffeevending/taobin_project/inter/tha/menu/lang.tsv"
EndIf
Var cups_sold_text = "Cups Sold Worldwide"
Var MinPhoneNumber = 10
Var MaxPhoneNumber = 10
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/sold_cup_count.xml"
EndIf
EndIf
EndIf
DEBUGVAR InternationalEnable
DEBUGVAR CountryRootPath
@ -1318,86 +1396,6 @@
Var RoadShow = "false"
TRY "ROOT/taobin_project/xml/sometime/RoadShow.ev"
; New mode
; Inter + Multi-Instance available ./inter/tha/multi
; Below. Pendding from XMLProfile
DEBUGVAR MyanmarLangEnable
DEBUGVAR EnableMultiInstance
;Var MyanmarLangEnable = "true"
Var MyanmarLangEnable = "false"
;Var MyanmarLangEnable = ""
If MyanmarLangEnable = "" Then
Else
If EnableMultiInstance = "true" Then
If CountryName = "Thailand" Then
Var InternationalEnable = 1
DEBUGVAR InternationalEnable
;TRY "/mnt/sdcard/coffeevending/taobin_project/inter/tha/video/script_video.ev"
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/multi_ads/ads_path.ev"
;specified to unittest4
Var OpenFileXML = CountryRootPath + "xml/event/tricker.ev"
DEBUGVAR OpenFileXML
TRY OpenFileXML
Var WebAppShow = "Invisible"
EnableLanguage "ENG"
EnableLanguage "THAI"
;EnableLanguage "MYANMAR"
If MyanmarLangEnable = "true" Then
EnableLanguage "MYANMAR"
EndIf
SetLanguage "THAI"
LanguageControl "UpdateList" "-"
Var show_eng = "false"
;Var ShowNetworkProblemText = "Network error. Payment Cash only."
Var CountryRootPath = "ROOT/taobin_project/inter/tha/"
Var CountryShortName = "tha"
Var TextPriceMenuSize = 12
Var TextPriceMenuY = 266
Var TextPriceMenuBlendX = 180
Var TextPriceMenuHotX = 48
Var ShowButtonClick2 = "Invisible"
Var ButtontoTopupMenu = "Enable"
Var PriceUnitText = ""
Var show_eng_button_stage = "Invisible"
Var XButtonMember = 384
Var YButtonMember = 1695
If Not#LanguageLoaded = "" Then
LoadLanguage "/mnt/sdcard/coffeevending/taobin_project/inter/tha/menu/lang.tsv"
EndIf
Var cups_sold_text = "Cups Sold Worldwide"
Var MinPhoneNumber = 10
Var MaxPhoneNumber = 10
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/sold_cup_count.xml"
EndIf
EndIf
EndIf
If UsePepsiTheme = 1 Then
If InternationalEnable = 1 Then
; enable-color
@ -1885,7 +1883,11 @@ PRICE "Reset" "-"
If InternationalEnable = 1 Then
If CountryName = "Thailand" Then
SAVELOG " Thailand Thailand Thailand Thailand Pooon Pooon Pooon Pooon Pooon"
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/event/script_common_for_open_promotion_xml.ev"
; show language icon
OpenInst 3 "ROOT/taobin_project/xml/topview2.xml"
RootLayoutVisible 3 "show"
Var OpenFileXML = "ROOT/taobin_project/inter/tha/xml/event/script_common_for_open_promotion_xml.ev"
TRY OpenFileXML
Else
; show language icon
OpenInst 3 "ROOT/taobin_project/xml/topview2.xml"