MYS: add special video case in temple

This commit is contained in:
Pakin 2024-08-23 15:46:21 +07:00
parent 62b864a8e7
commit 84e83f6ea2
7 changed files with 69 additions and 30 deletions

View file

@ -39,6 +39,9 @@
If PromotionOreoToppingFreeEnable = 1 Then
Var DisplayAds = "/mnt/sdcard/coffeevending/taobin_project/inter/mys/adv/taobin_adv_menu_21.mp4"
EndIf
If UseSlideShowVideo = 1 Then
Var DisplayAds = "/mnt/sdcard/coffeevending/taobin_project/inter/mys/adv/taobin_adv_menu_22.mp4"
EndIf
EndIf
@ -49,6 +52,15 @@
EndIf
DEBUGVAR DisplayAds
If CountryName = "Malaysia" Then
If PromotionOreoToppingFreeEnable = 1 Then
Var DisplayAds = "/mnt/sdcard/coffeevending/taobin_project/inter/mys/adv/taobin_adv_menu_21.mp4"
EndIf
If UseSlideShowVideo = 1 Then
Var DisplayAds = "/mnt/sdcard/coffeevending/taobin_project/inter/mys/adv/taobin_adv_menu_22.mp4"
EndIf
EndIf
</EventOpen>
<Filename> DisplayAds </Filename>
</Video>

Binary file not shown.

View file

@ -28,6 +28,9 @@ Var PromotionOreoToppingFreeEnable = 0
; Pay later mode
Var EnablePayLaterMode = 0
; Slide show Video
Var UseSlideShowVideo = 0
If SystemDateMonthInt = 6 Then
If SystemDateDayInt >= 15 Then
Var ProThaiTeaEnable = 1
@ -75,6 +78,16 @@ If BoxID = 177746 Then
Var EnablePayLaterMode = 1
;Var AdvertiseProfile = "00/00/00/00/00/00/00/00/00/00/00/00/00/00/00/00/00/00/00/00/00/00"
Var UseSlideShowVideo = 1
EndIf
If BoxID = 210037 Then
Var UseSlideShowVideo = 1
EndIf
If BoxID = 200002 Then
Var UseSlideShowVideo = 1
EndIf
;If BoxID = Something Then

View file

@ -646,8 +646,8 @@
<Scroll> "Vertical" </Scroll>
<Column> 4 </Column>
<Script>
Var block_index_override = 4
Var block_index_move = 1
Var block_index_override = 0
Var block_index_move = 0
</Script>
;dummy_layout.inc
; menu_new_list 42

View file

@ -1,14 +1,13 @@
TextID Note English Thai
Font=Montserrat,Type=Bold,Size=48,Color=0x0025FF,Align=Center Font=Kanit,Type=Light,Size=48,Color=0xEE8C62,Align=Center
Font=Montserrat,Type=Bold,Size=48,Color=0xEE8C62,Align=Center Font=Kanit,Type=Light,Size=48,Color=0xEE8C62,Align=Center
000001 Page catalog head Welcome ยินดีต้อนรับ
Font=Montserrat,Type=Bold,Size=64,Color=0x0025FF,Align=Center Font=Kanit,Type=Light,Size=64,Color=0x513C2F,Align=Center
Font=Montserrat,Type=Bold,Size=64,Color=0x513C2F,Align=Center Font=Kanit,Type=Light,Size=64,Color=0x513C2F,Align=Center
000002 Please Select Drink Type กรุณาเลือกประเภทเครื่องดื่ม
Page catalog body
Font=Kanit,Type=Medium,Size=32,Color=0x0025FF,PressColor=0xFFFFFF,Align=Center,LineHeight=30 Font=Kanit,Type=Medium,Size=32,Color=0x513C2F,Align=Center,LineHeight=30
Font=Kanit,Type=Medium,Size=32,Color=0xFFFFFF,Align=Center,LineHeight=30 Font=Kanit,Type=Medium,Size=32,Color=0x513C2F,Align=Center,LineHeight=30
000003 Best Sellers เมนูแนะนำ
Font=Kanit,Type=Medium,Size=32,Color=0x513C2F,Align=Center,LineHeight=30 Font=Kanit,Type=Medium,Size=32,Color=0x513C2F,Align=Center,LineHeight=30
000003 Page catalog body Best Sellers เมนูแนะนำ
000004 Vending\nMachine ตู้สินค้า
000005 Coffee กาแฟ
000006 Tea ชา
@ -24,8 +23,8 @@ TextID Note English Thai
000013 UNAVAILABLE หมด
Font=Montserrat,Type=Regular,Size=20,Color=0x0025FF,Align=Center-All Font=Montserrat,Type=Regular,Size=24,Color=0x746253,Align=Center-All
Font=Montserrat,Type=Bold,Size=20,Color=0x0025FF,Align=Center-All Font=Montserrat,Type=Bold,Size=24,Color=0x746253,Align=Center-All
Font=Montserrat,Type=Regular,Size=20,Color=0x746253,Align=Center-All Font=Montserrat,Type=Regular,Size=24,Color=0x746253,Align=Center-All
Font=Montserrat,Type=Bold,Size=20,Color=0x746253,Align=Center-All Font=Montserrat,Type=Bold,Size=24,Color=0x746253,Align=Center-All
000014 our specialty เมนูแนะนำ
000015 Coffee กาแฟ
000016 Tea ชา
@ -43,7 +42,7 @@ TextID Note English Thai
Font=Kanit,Type=Regular,Size=22,Color=0x513C2F,Align=Center Font=Kanit,Type=Regular,Size=24,Color=0x513C2F,Align=Center
Font=Kanit,Type=Medium,Size=22,Color=0x513C2F,Align=Center Font=Kanit,Type=Medium,Size=24,Color=0x513C2F,Align=Center
Font=Kanit,Type=Regular,Size=22,Color=0xCFCFCF,Align=Center Font=Kanit,Type=Regular,Size=24,Color=0xCFCFCF,Align=Center
Not sweet ไม่หวาน
000040 Not sweet ไม่หวาน
000041 Little หวานจุบจิบ
000042 Less หวานน้อย
000043 Perfect หวานพอดี
@ -77,8 +76,8 @@ TextID Note English Thai
000061 =+ SUGAR 2 g (8 cal) =+ น้ำตาล 2 g (8 cal)
000062 =+ SUGAR 5 g (19 cal) =+ น้ำตาล 5 g (19 cal)
000063 =+ SUGAR 7 g (26 cal) =+ น้ำตาล 7 g (26 cal)
Text
Font=Kanit,Type=Medium,Size=36,Color=0x0025FF
Font=Kanit,Type=Medium,Size=36,Color=0xDE794E
000064 Extra topping เพิ่มส่วนผสมพิเศษ
000065 Sweetness level ระดับความหวาน
000066 Straw and Lid หลอด และ ฝา
@ -86,33 +85,31 @@ TextID Note English Thai
000103 Vegan substitution นมทางเลือก
Text
Font=Kanit,Type=Regular,Size=36,Color=0x0025FF
Font=Kanit,Type=Regular,Size=36,Color=0x513C2F
000070 I want a straw รับหลอด
000071 I want a lid รับฝา
Text
Font=Opun,Type=Medium,Size=10,Color=0x8092FF
Font=Opun,Type=Medium,Size=10,Color=0xDE794E
000072 Ice will be ready at น้ำแข็งจะพร้อมเวลา
Text
Font=Kanit,Type=Regular,Size=36,Color=0xFFFFFF
Font=Kanit,Type=Regular,Size=36,Color=0x746253
000073 Pay now ซื้อเลย
Text
Font=Kanit,Type=Regular,Size=36,Color=0x0025FF,PressColor=0xFFFFFF
Font=Kanit,Type=Regular,Size=36,Color=0x746253
Font=Kanit,Type=Regular,Size=36,Color=0xFFFFFF
000074 Cancel ยกเลิก
Text
Font=Kanit,Type=Light,Size=36,Color=0x0025FF
Font=Kanit,Type=Light,Size=36,Color=0xFF0000
000075 Please choose drink type โปรดเลือกประเภทเครื่องดื่ม
Text
Font=Kanit,Type=Regular,Size=28,Color=0x0025FF,PressColor=0xFFFFFF
Font=Kanit,Type=Medium,Size=28,Color=0xFFFFFF
Font=Kanit,Type=Regular,Size=28,Color=0xA6B2FF
Font=Kanit,Type=Regular,Size=28,Color=0x8092FF
Font=Kanit,Type=Regular,Size=28,Color=0x513C2F
Font=Kanit,Type=Medium,Size=28,Color=0x513C2F
Font=Kanit,Type=Regular,Size=28,Color=0x9D9D9D
Font=Kanit,Type=Regular,Size=28,Color=0xCFCFCF
000081 Hot ร้อน
000082 Iced เย็น
000083 Blend ปั่น
Font=Kanit,Type=Regular,Size=24,Color=0x0025FF,PressColor=0xFFFFFF
Font=Kanit,Type=Regular,Size=24,Color=0x513C2F
000084 Normal ปกติ
@ -120,7 +117,7 @@ TextID Note English Thai
Left of check box
Font=Kanit,Type=Light,Size=29,Color=0xA6B2FF,Align=end-center-vertical,LineHeight=30
Font=Kanit,Type=Light,Size=29,Color=0x9D9D9D,Align=end-center-vertical,LineHeight=30
000090 Out of straw หลอดหมด
000091 Out of lid ฝาหมด
000092 Only smoothie\n avalible สำหรับเมนูปั่น
@ -128,7 +125,7 @@ TextID Note English Thai
Text topping extra
Font=Kanit,Type=Regular,Size=36,Color=0x0025FF,LineHeight=46
Font=Kanit,Type=Regular,Size=36,Color=0x513C2F,LineHeight=46
000100 1 Shot of Espresso\n[1 minutes will be added to the process.###Font=KanitLight,Size=15] เอสเพรสโซ่ 1 ช็อต\n[ใช้เวลาชงนานขึ้น 1 นาที###Font=KanitLight,Size=15]
000101 Add extra Oreo crunchy เพิ่มท็อปปิ้งโอริโอภูเขาไฟ
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]

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

View file

@ -690,6 +690,15 @@
Var cups_sold_text = "Cups Sold Worldwide"
Var UseSlideShowVideo = 0
If BoxID = 210037 Then
Var UseSlideShowVideo = 1
EndIf
If BoxID = 200002 Then
Var UseSlideShowVideo = 1
EndIf
EndIf
;inter-page-board
@ -892,7 +901,7 @@
DEBUGVAR ShowButtonClick2
Var UsePepsiTheme = 1
Var UsePepsiTheme = 0
Var TargetThemeNum = 2

View file

@ -11,6 +11,14 @@
;DEBUGVAR HeadVideoFilename
Var ClickCountMainTe = 0
;Open "ROOT/taobin_project/xml/sold_cup_count.xml"
If CountryName = "Malaysia" Then
If BoxID = 200002 Then
Open "ROOT/taobin_project/xml/sold_cup_count.xml"
EndIf
If BoxID = 210037 Then
Open "ROOT/taobin_project/xml/sold_cup_count.xml"
EndIf
EndIf
</EventOpen>
<Timeout> 33000 </Timeout>