THAI INTER: Add condition close tab_menu, condition to close langs switch btn, case invalid spiral,Add image

This commit is contained in:
Ittipat Lusuk 2025-05-02 14:49:51 +07:00
parent 7b94c55437
commit 40dbe26715
13 changed files with 1625 additions and 1511 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

View file

@ -171,8 +171,15 @@
Font=Kanit,Type=Regular,Size=46,Color=0xFFFFFF,PressColor=0x746253 Font=Kanit,Type=Regular,Size=46,Color=0xFFFFFF,PressColor=0x746253 Font=Kanit,Type=Regular,Size=46,Color=0xFFFFFF,PressColor=0x746253 Font=Kanit,Type=Regular,Size=46,Color=0xFFFFFF,PressColor=0x746253 Font=Kanit,Type=Regular,Size=46,Color=0xFFFFFF,PressColor=0x746253
000200 Use/Check coupon ใช้/ดูคูปองสะสม 使用 / 查看优惠券 Use/Check coupon ကူပွန်ကို အသုံးပြု/စစ်ဆေးပါ။
Page payment
Font=Montserrat,Type=Bold,Size=36,Color=0x513C2F,Align=Center Font=Kanit,Type=Medium,Size=36,Color=0x513C2F,Align=Center Font=Kanit,Type=Bold,Size=36,Color=0x513C2F,Align=Center Font=Montserrat,Type=Bold,Size=64,Color=0x513C2F,Align=Center Font=Montserrat,Type=Bold,Size=36,Color=0x513C2F,Align=Center Font=Montserrat,Type=Bold,Size=36,Color=0x513C2F,Align=Center
000250 Order summary สรุปคำสั่งซื้อ 订单摘要 အမှာစာအကျဉ်း
Font=Montserrat,Type=Bold,Size=36,Color=0x513C2F Font=Kanit,Type=Medium,Size=36,Color=0x513C2F Font=Kanit,Type=Bold,Size=36,Color=0x513C2F Font=Montserrat,Type=Bold,Size=64,Color=0x513C2F,Align=Center Font=Montserrat,Type=Bold,Size=36,Color=0x513C2F Font=Montserrat,Type=Bold,Size=36,Color=0x513C2F
000251 Subtotal รวมทั้งหมด 小计 စုစုပေါင်းငွေခန့်မှန်း
Page brewing
@ -381,20 +388,18 @@
Font=Montserrat,Type=Medium,Size=48,Color=0x513C2F,Align=Center,LineHeight=60 Font=Kanit,Type=Medium,Size=48,Color=0x513C2F,Align=Center,LineHeight=60 Font=Kanit,Type=Medium,Size=48,Color=0x513C2F,Align=Center,LineHeight=60 Font=Montserrat,Type=Bold,Size=48,Color=0xEE8C62,Align=Center Font=Montserrat,Type=Bold,Size=48,Color=0x513C2F,Align=Center,LineHeight=60 Font=Montserrat,Type=Medium,Size=48,Color=0x513C2F,Align=Center,LineHeight=60
002405 Oh no! Your smoothies\n[getting cold feet###Font=MontserratMedium,Size=48] โอ้ไม่! สมูทตี้ของคุณ\n[กำลังรู้สึกเศร้ามาก###Font=KanitMedium,Size=48] 哎呀!您的冰沙\n[好像犹豫不决了。###Font=KanitMedium,Size=48] ဝမ်းနည်းပါတယ်။ သင့်စမူသီသည်\n[ကြိတ်ခြင်းမှ ရပ်နေပါပြီ။###Font=MontserratMedium,Size=48]
002406 You didnt complete the transaction\n[within 120 seconds. Please try again###Font=MontserratMedium,Size=48] คุณพลาดการทำรายการภายใน 120 วินาที\n[กรุณาลองทำรายการใหม่อีกครั้ง###Font=KanitMedium,Size=48] 您在 120 秒内\n[未完成交易。请再试一次。###Font=KanitMedium,Size=48] သင်ငွေပေးချေမှုကို ၁၂၀စက္ကန့်အတွင်း\n[မပြီးမြောက်နိုင်ခဲ့ပါ။ ကျေးဇူးပြု၍ ပြန်လည်ကြိုးစားပါ။###Font=MontserratMedium,Size=48]
Font=Kanit,Type=Bold,Size=64,Color=0xEE8C62,Align=Center,LineHeight=60 Font=Kanit,Type=Bold,Size=64,Color=0xEE8C62,Align=Center,LineHeight=60 Font=Kanit,Type=Bold,Size=64,Color=0xEE8C62,Align=Center,LineHeight=60 Font=Kanit,Type=Bold,Size=64,Color=0xEE8C62,Align=Center,LineHeight=60 Font=Kanit,Type=Bold,Size=64,Color=0xEE8C62,Align=Center,LineHeight=60
Font=Kanit,Type=Bold,Size=64,Color=0xEE8C62,Align=Center,LineHeight=60 Font=Kanit,Type=Bold,Size=64,Color=0xEE8C62,Align=Center,LineHeight=60 Font=Kanit,Type=Bold,Size=64,Color=0xEE8C62,Align=Center,LineHeight=70 Font=Kanit,Type=Bold,Size=64,Color=0xEE8C62,Align=Center,LineHeight=60 Font=Kanit,Type=Bold,Size=54,Color=0xEE8C62,Align=Center,LineHeight=70
002407 Are you sure you\n[want to cancel?###Font=KanitBold,Size=64] คุณแน่ใจหรือว่าต้องการ\n[ยกเลิกออเดอร์จริงๆ###Font=KanitBold,Size=64] 您确定要\n[ 取消吗?###Font=KanitBold,Size=64] မင်းဖျက်ချင်တာ\n[သေချာပြီလား?###Font=KanitBold,Size=64]
002408 Session expired หมดเวลาทำรายการ 操作超时 ငွေပေးချေမှုအချိန်လွန်သွားပါပြီ
Font=Montserrat,Type=Medium,Size=48,Color=0x513C2F,Align=Center,LineHeight=60 Font=Kanit,Type=Medium,Size=48,Color=0x513C2F,Align=Center,LineHeight=60 Font=Kanit,Type=Medium,Size=48,Color=0x513C2F,Align=Center,LineHeight=60 Font=Montserrat,Type=Bold,Size=48,Color=0xEE8C62,Align=Center Font=Montserrat,Type=Bold,Size=48,Color=0x513C2F,Align=Center,LineHeight=60 Font=Montserrat,Type=Medium,Size=48,Color=0x513C2F,Align=Center,LineHeight=60
002409 Taobin has encountered an error.\n[Please press the help button at the top right.###Font=MontserratMedium,Size=48] เต่าบินเกิดเหตุขัดข้อง\n[โปรดกดปุ่มขอความช่วยเหลือด้านขวาบน###Font=KanitMedium,Size=48] Taobin 出现故障,\n[请按右上角的求助按钮。###Font=KanitMedium,Size=48] Taobin ပြဿနာဖြစ်နေသည်။\n[အကူအညီခလုတ်ကို နှိပ်ပါ။###Font=KanitMedium,Size=48]
Spiral
Font=Kanit,Type=Medium,Size=64,Color=0x513C2F,Align=Center,LineHeight=30 Font=Kanit,Type=Medium,Size=64,Color=0x513C2F,Align=Center,LineHeight=30 Font=Kanit,Type=Medium,Size=64,Color=0x513C2F,Align=Center,LineHeight=30 Font=Kanit,Type=Medium,Size=26,Color=0x513C2F,Align=Center,LineHeight=30 Font=Kanit,Type=Medium,Size=64,Color=0x513C2F,Align=Center,LineHeight=30 Font=Kanit,Type=Medium,Size=60,Color=0x513C2F,Align=Center,LineHeight=30
002430 Sorry for the inconvenience ขออภัยในความไม่สะดวก 抱歉给您带来不便 အဆင်မပြေမှုအတွက် ဆောရီးပါ။
Font=Kanit,Type=Light,Size=48,Color=0x513C2F,Align=Center,LineHeight=48 Font=Kanit,Type=Light,Size=48,Color=0x513C2F,Align=Center,LineHeight=48 Font=Kanit,Type=Light,Size=48,Color=0x513C2F,Align=Center,LineHeight=48 Font=Montserrat,Type=Bold,Size=64,Color=0x513C2F,Align=Center Font=Kanit,Type=Light,Size=48,Color=0x513C2F,Align=Center,LineHeight=48 Font=Kanit,Type=Light,Size=48,Color=0x513C2F,Align=Center,LineHeight=48
002431 Taobin has a problem\n[Please try again later.###Font=KanitLight,Size=48] เต่าบินเกิดเหตุขัดข้อง\n[กรุณาทำรายการอีกครั้งภายหลัง###Font=KanitLight,Size=48] Taobin 出现问题\n[请稍后再试。###Font=KanitLight,Size=48] Taobin တွင်ပြဿနာတစ်ခုရှိနေသည်\n[ကျေးဇူးပြု၍ နောက်မှ ထပ်စမ်းကြည့်ပါ။###Font=KanitLight,Size=48]
002432 Taobin will refund the money\n[through the channel you paid.###Font=KanitLight,Size=48] เต่าบินจะทำการคืนเงินตาม\n[ช่องทางที่คุณจ่ายมา###Font=KanitLight,Size=48] Taobin 将通过您付款的渠道\n[退还金额给您。###Font=KanitLight,Size=48] Taobin ပြန်အမ်းငွေ\n[ပေးချေမှုနည်းလမ်းဖြင့်###Font=KanitLight,Size=48]
@ -1256,7 +1261,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. เลือกทิศทาง
@ -1269,7 +1274,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 has a wrong number of fields in line 22.

View file

@ -155,6 +155,7 @@
If SpiralModeFrozenFruit = 1 Then
Var Menu0Selected = "Enable"
Var MenuVSelected2 = "Invisible"
EndIf
If SpiralModeGoods = 1 Then

View file

@ -257,8 +257,13 @@
; setvar SpiralOnline true
Var ButtonSpiralStage = "Invisible"
If SpiralOnline = "true" Then
If SpiralModeFrozenFruit = 1 Then
Var ButtonFrozenSmoothie = "Enable
Var ButtonSpiralStage = "Invisible"
Else
Var ButtonSpiralStage = "Enable"
EndIf
EndIf
DEBUGVAR SpiralOnline

View file

@ -37,7 +37,10 @@
If SpiralOnline = "true" Then
If Seeker = "curr" Then
Var MenuVSelected2 = "Enable"
If SpiralModeFrozenFruit = 1 Then
Var Menu0Selected = "Enable"
Var MenuVSelected2 = "Invisible"
EndIf
EndIf
EndIf

View file

@ -83,7 +83,11 @@
Var ButtonLanguageListXPosition = 990
Var ButtonLanguageListYPosition = 450 - 38
If FromPaymentCash = "Enable" Then
Var LanguageButtonEnable = "Invisible"
Else
Var LanguageButtonEnable = "Enable"
EndIf
OpenInst 3 "ROOT/taobin_project/xml/topview2.xml"
RefreshAll

View file

@ -76,7 +76,11 @@
Var ButtonLanguageListXPosition = 990
Var ButtonLanguageListYPosition = 450 - 38
If FromPaymentCash = "Enable" Then
Var LanguageButtonEnable = "Invisible"
Else
Var LanguageButtonEnable = "Enable"
EndIf
OpenInst 3 "ROOT/taobin_project/xml/topview2.xml"
RefreshAll

View file

@ -253,16 +253,13 @@
;
<Video>
<X> 350 </X>
<Y> 800 </Y>
<Width> 400 </Width>
<Height> 500 </Height>
<Refresh> "Reload" </Refresh>
<Loop> "true" </Loop>
<Filename> "ROOT/taobin_project/animation01/TaoBin2_draft02_art41.mp4" </Filename>
</Video>
<Image>
<X> 185 </X>
<Y> 570 </Y>
<Width> 722 </Width>
<Height> 732 </Height>
<Filename> "ROOT/taobin_project/image/smoothie/proccess/tao_sad.png" </Filename>
</Image>
<Text>
@ -285,7 +282,7 @@
<Text>
<X> 0 </X>
<Y> 1280 </Y>
<Y> 1290 </Y>
<Language>
<ID> 002407 </ID>
</Language>

View file

@ -224,15 +224,13 @@
<Video>
<X> 350 </X>
<Y> 800 </Y>
<Width> 400 </Width>
<Height> 500 </Height>
<Refresh> "Reload" </Refresh>
<Loop> "true" </Loop>
<Filename> "ROOT/taobin_project/animation01/TaoBin2_draft02_art41.mp4" </Filename>
</Video>
<Image>
<X> 185 </X>
<Y> 570 </Y>
<Width> 722 </Width>
<Height> 732 </Height>
<Filename> "ROOT/taobin_project/image/smoothie/proccess/tao_sad.png" </Filename>
</Image>
; warning time
<Image>
@ -252,7 +250,7 @@
<Text>
<X> 0 </X>
<Y> 1280 </Y>
<Y> 1320 </Y>
<Language>
<ID> 002406 </ID>
</Language>

View file

@ -178,6 +178,7 @@
Else
; Verify error
DEBUGVAR MachineSpiralErrorCode
Open "ROOT/taobin_project/xml/page_spiral_invalid_failed.xml"
EndIf
Refresh

View file

@ -42,9 +42,29 @@
<Y> 1314 </Y>
<Width> 911 </Width>
<Height> 265 </Height>
<Filename> "ROOT/taobin_project/spiral/image/page_spiral/spiral_text_fail.png" </Filename>
<Filename> "ROOT/taobin_project/image/smoothie/proccess/bg_empty.png" </Filename>
</Image>
<Text>
<X> 0 </X>
<Y> 1344 </Y>
<Width> 1080 </Width>
<Height> 85 </Height>
<Align> Center </Align>
<Language>
<ID> 002430 </ID>
</Language>
</Text>
<Text>
<X> 0 </X>
<Y> 1430 </Y>
<Align> Center </Align>
<Language>
<ID> 002432 </ID>
</Language>
</Text>
;include="ROOT/taobin_project/inc/video.inc"

View file

@ -0,0 +1,76 @@
<Popup>
<Cache> "Enable" </Cache>
<Width> 1080 </Width>
<Height> 1920 </Height>
<Background> "0xeae6e1" </Background>
;<Sound> "ROOT/taobin_project/sounds/chaching.mp3" </Sound>
<Volume> SoundVolume </Volume>
<EventOpen>
Var Timeout = 0
Var ShowSwapVDO = "ROOT/taobin_project/spiral/video/sp01.mp4"
</EventOpen>
<Timeout> 1000 </Timeout>
<EventTimeout>
Var Timeout = Timeout + 1
If Timeout > 3 Then
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
EndIf
TimerReset
Refresh
</EventTimeout>
<EventActionOk>
</EventActionOk>
<Image>
<X> 89 </X>
<Y> 700 </Y>
<Width> 902 </Width>
<Height> 902 </Height>
<Filename> "ROOT/taobin_project/spiral/image/page_spiral/spiral_fail.png" </Filename>
</Image>
<Image>
<X> 84 </X>
<Y> 1314 </Y>
<Width> 911 </Width>
<Height> 265 </Height>
<Filename> "ROOT/taobin_project/image/smoothie/proccess/bg_empty.png" </Filename>
</Image>
<Text>
<X> 0 </X>
<Y> 1344 </Y>
<Width> 1080 </Width>
<Height> 85 </Height>
<Align> Center </Align>
<Language>
<ID> 002430 </ID>
</Language>
</Text>
<Text>
<X> 0 </X>
<Y> 1430 </Y>
<Align> Center </Align>
<Language>
<ID> 002431 </ID>
</Language>
</Text>
;include="ROOT/taobin_project/inc/video.inc"
</Popup>