Merge branch 'masterpiece' of ssh://192.168.10.159:/1TBHDD/ikong/taobin_project into masterpiece

This commit is contained in:
thanawat saiyota 2024-08-13 12:51:31 +07:00
commit 13fddfa480
27 changed files with 12494 additions and 5751 deletions

Binary file not shown.

View file

@ -60,7 +60,11 @@ If SystemDateMonthInt = 8 Then
EndIf EndIf
If SystemDateMonthInt = 9 Then If SystemDateMonthInt = 9 Then
Var PromotionOreoToppingFreeEnable = 1 If SystemDateDayInt < 17 Then
Var PromotionOreoToppingFreeEnable = 1
Else
Var PromotionOreoToppingFreeEnable = 0
EndIf
EndIf EndIf
If BoxID = 177746 Then If BoxID = 177746 Then

View file

@ -77,8 +77,8 @@ TextID Note English Thai
000061 =+ SUGAR 2 g (8 cal) =+ น้ำตาล 2 g (8 cal) 000061 =+ SUGAR 2 g (8 cal) =+ น้ำตาล 2 g (8 cal)
000062 =+ SUGAR 5 g (19 cal) =+ น้ำตาล 5 g (19 cal) 000062 =+ SUGAR 5 g (19 cal) =+ น้ำตาล 5 g (19 cal)
000063 =+ SUGAR 7 g (26 cal) =+ น้ำตาล 7 g (26 cal) 000063 =+ SUGAR 7 g (26 cal) =+ น้ำตาล 7 g (26 cal)
Text
Font=Kanit,Type=Medium,Size=36,Color=0xDE794E Font=Kanit,Type=Medium,Size=36,Color=0x0025FF
000064 Extra topping เพิ่มส่วนผสมพิเศษ 000064 Extra topping เพิ่มส่วนผสมพิเศษ
000065 Sweetness level ระดับความหวาน 000065 Sweetness level ระดับความหวาน
000066 Straw and Lid หลอด และ ฝา 000066 Straw and Lid หลอด และ ฝา
@ -86,31 +86,33 @@ TextID Note English Thai
000103 Vegan substitution นมทางเลือก 000103 Vegan substitution นมทางเลือก
Text Text
Font=Kanit,Type=Regular,Size=36,Color=0x513C2F Font=Kanit,Type=Regular,Size=36,Color=0x0025FF
000070 I want a straw รับหลอด 000070 I want a straw รับหลอด
000071 I want a lid รับฝา 000071 I want a lid รับฝา
Text
Font=Opun,Type=Medium,Size=10,Color=0xDE794E Font=Opun,Type=Medium,Size=10,Color=0x8092FF
000072 Ice will be ready at น้ำแข็งจะพร้อมเวลา 000072 Ice will be ready at น้ำแข็งจะพร้อมเวลา
Text
Font=Kanit,Type=Regular,Size=36,Color=0xFFFFFF Font=Kanit,Type=Regular,Size=36,Color=0xFFFFFF
Font=Kanit,Type=Regular,Size=36,Color=0x746253 Font=Kanit,Type=Regular,Size=36,Color=0x746253
000073 Pay now ซื้อเลย 000073 Pay now ซื้อเลย
Font=Kanit,Type=Regular,Size=36,Color=0x746253 Text
Font=Kanit,Type=Regular,Size=36,Color=0x0025FF
Font=Kanit,Type=Regular,Size=36,Color=0xFFFFFF Font=Kanit,Type=Regular,Size=36,Color=0xFFFFFF
000074 Cancel ยกเลิก 000074 Cancel ยกเลิก
Font=Kanit,Type=Light,Size=36,Color=0xFF0000 Text
Font=Kanit,Type=Light,Size=36,Color=0x0025FF
000075 Please choose drink type โปรดเลือกประเภทเครื่องดื่ม 000075 Please choose drink type โปรดเลือกประเภทเครื่องดื่ม
Text
Font=Kanit,Type=Regular,Size=28,Color=0x513C2F Font=Kanit,Type=Regular,Size=28,Color=0x0025FF
Font=Kanit,Type=Medium,Size=28,Color=0x513C2F Font=Kanit,Type=Medium,Size=28,Color=0xFFFFFF
Font=Kanit,Type=Regular,Size=28,Color=0x9D9D9D Font=Kanit,Type=Regular,Size=28,Color=0xA6B2FF
Font=Kanit,Type=Regular,Size=28,Color=0xCFCFCF Font=Kanit,Type=Regular,Size=28,Color=0x8092FF
000081 Hot ร้อน 000081 Hot ร้อน
000082 Iced เย็น 000082 Iced เย็น
000083 Blend ปั่น 000083 Blend ปั่น
Font=Kanit,Type=Regular,Size=24,Color=0x513C2F Font=Kanit,Type=Regular,Size=24,Color=0x025FF
000084 Normal ปกติ 000084 Normal ปกติ
@ -118,7 +120,7 @@ TextID Note English Thai
Left of check box Left of check box
Font=Kanit,Type=Light,Size=29,Color=0x9D9D9D,Align=end-center-vertical,LineHeight=30 Font=Kanit,Type=Light,Size=29,Color=0xA6B2FF,Align=end-center-vertical,LineHeight=30
000090 Out of straw หลอดหมด 000090 Out of straw หลอดหมด
000091 Out of lid ฝาหมด 000091 Out of lid ฝาหมด
000092 Only smoothie\n avalible สำหรับเมนูปั่น 000092 Only smoothie\n avalible สำหรับเมนูปั่น
@ -126,7 +128,7 @@ TextID Note English Thai
Text topping extra Text topping extra
Font=Kanit,Type=Regular,Size=36,Color=0x513C2F,LineHeight=46 Font=Kanit,Type=Regular,Size=36,Color=0x0025FF,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] 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 เพิ่มท็อปปิ้งโอริโอภูเขาไฟ 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] 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

@ -6,7 +6,7 @@
<Y> 380 </Y> <Y> 380 </Y>
<Width> 1080 </Width> <Width> 1080 </Width>
<Height> 1540 </Height> <Height> 1540 </Height>
<Color> WTCLightBlueColor </Color> <Color> BackgroundColor </Color>
</Image> </Image>

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -212,7 +212,7 @@
<Y> 380 </Y> <Y> 380 </Y>
<Width> 1080 </Width> <Width> 1080 </Width>
<Height> 1540 </Height> <Height> 1540 </Height>
<Color> WTCLightBlueColor </Color> <Color> BackgroundColor </Color>
</Image> </Image>

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -31,8 +31,7 @@
<EventTimeout> <EventTimeout>
;SAVELOG MachineErrorDetail ;SAVELOG MachineErrorDetail
Var MachineErrorDetailAll = MachineErrorDetail + " / " Var MachineErrorDetailAll = MachineErrorDetailEng
Var MachineErrorDetailAll = MachineErrorDetailAll + MachineErrorDetailEng
If MachineStage = "show-menu" Then If MachineStage = "show-menu" Then

View file

@ -6,6 +6,10 @@
<Volume> SoundVolume </Volume> <Volume> SoundVolume </Volume>
<EventOpen> <EventOpen>
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert.xml" OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert.xml"
If UsePepsiTheme = 1 Then
Open "ROOT/taobin_project/inter/whatthecup/sgp/xml/page_topping_select6_blue.lxml"
EndIf
Var UserSeletedSugar = 0 Var UserSeletedSugar = 0

View file

@ -7,6 +7,9 @@ Var WTCSemiMediumBlueColor = "0x3D59FF"
Var WTCBlueColor = "0x0025FF" Var WTCBlueColor = "0x0025FF"
; case-1-bg-white ; case-1-bg-white
Var BackgroundColor = WTCLightBlueColor
Var HeadlineColor1 = WTCBlueColor Var HeadlineColor1 = WTCBlueColor
Var SubHeadlineColor1 = WTCBlueColor Var SubHeadlineColor1 = WTCBlueColor
Var BodyTextColor1 = WTCMediumBlueColor Var BodyTextColor1 = WTCMediumBlueColor
@ -16,7 +19,15 @@ Var ButtonColor1 = WTCWhiteColor
Var ButtonTextColor1 = WTCBlueColor Var ButtonTextColor1 = WTCBlueColor
Var ButtonDisabledColor1 = WTCLightBlueColor Var ButtonDisabledColor1 = WTCLightBlueColor
Var HeadlineColor = WTCBlueColor
Var SubHeadlineColor = SubHeadlineColor1
Var PopupBodyTextColor = BodyTextColor1
; case-2-bg-light-blue ; case-2-bg-light-blue
Var BackgroundColor2 = WTCLightBlueColor
Var HeadlineColor2 = WTCBlueColor Var HeadlineColor2 = WTCBlueColor
Var SubHeadlineColor2 = WTCBlueColor Var SubHeadlineColor2 = WTCBlueColor
Var BodyTextColor2 = WTCMediumBlueColor Var BodyTextColor2 = WTCMediumBlueColor
@ -27,6 +38,9 @@ Var ButtonTextColor2 = WTCBlueColor
Var ButtonDisabledColor2 = WTCSemiLightBlueColor Var ButtonDisabledColor2 = WTCSemiLightBlueColor
; case-3-bg-medium-white ; case-3-bg-medium-white
Var BackgroundColor3 = WTCMediumBlueColor
Var HeadlineColor3 = WTCWhiteColor Var HeadlineColor3 = WTCWhiteColor
Var SubHeadlineColor3 = WTCWhiteColor Var SubHeadlineColor3 = WTCWhiteColor
Var BodyTextColor3 = WTCSemiLightBlueColor Var BodyTextColor3 = WTCSemiLightBlueColor
@ -37,6 +51,9 @@ Var ButtonTextColor3 = WTCBlueColor
Var ButtonDisabledColor3 = WTCSemiLightBlueColor Var ButtonDisabledColor3 = WTCSemiLightBlueColor
; case-4-bg-blue ; case-4-bg-blue
Var BackgroundColor4 = WTCLightBlueColor
Var HeadlineColor4 = WTCWhiteColor Var HeadlineColor4 = WTCWhiteColor
Var SubHeadlineColor4 = WTCWhiteColor Var SubHeadlineColor4 = WTCWhiteColor
Var BodyTextColor4 = WTCSemiLightBlueColor Var BodyTextColor4 = WTCSemiLightBlueColor
@ -46,3 +63,23 @@ Var ButtonColor4 = WTCWhiteColor
Var ButtonTextColor4 = WTCBlueColor Var ButtonTextColor4 = WTCBlueColor
Var ButtonDisabledColor4 = WTCSemiLightBlueColor Var ButtonDisabledColor4 = WTCSemiLightBlueColor
If TargetThemeNum = 2 Then
Var BackgroundColor = BackgroundColor2
Var HeadlineColor = HeadlineColor2
Var SubHeadlineColor = BodyTextColor2
Var PopupBodyTextColor = WTCSemiMediumBlueColor
EndIf
If TargetThemeNum = 3 Then
Var BackgroundColor = BackgroundColor3
Var HeadlineColor = HeadlineColor3
Var SubHeadlineColor = BodyTextColor3
Var PopupBodyTextColor = BodyTextColor3
EndIf
If TargetThemeNum = 4 Then
Var BackgroundColor = BackgroundColor4
Var HeadlineColor = HeadlineColor4
Var SubHeadlineColor = BodyTextColor4
Var PopupBodyTextColor = BodyTextColor4
EndIf

View file

@ -0,0 +1,7 @@
Var WelcomeColor = "0xEE8C62"
Var BackgroundColor = "0xeae6e1"
Var HeadlineColor = "0x513C2F"
Var SubHeadlineColor = "0x6F5F51"
Var PopupBodyTextColor = "0xB78F24"

View file

@ -282,7 +282,7 @@
<Y> 380 </Y> <Y> 380 </Y>
<Width> 1080 </Width> <Width> 1080 </Width>
<Height> 1540 </Height> <Height> 1540 </Height>
<Color> WTCLightBlueColor </Color> <Color> BackgroundColor </Color>
</Image> </Image>
<EventLanguageOnChange> <EventLanguageOnChange>

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -835,7 +835,7 @@
Var show_eng = "true" Var show_eng = "true"
Var img_press_main_page = "ROOT/taobin_project/image/main_page_en/bp_main_page_start.png" Var img_press_main_page = "ROOT/taobin_project/image/main_page_en/bp_main_page_start.png"
Var VideoMainPage = "ROOT/taobin_project/inter/sgp/video/video_main_wtc.mp4"
Var ShowNetworkProblemText = "Network error. Payment Cash only." Var ShowNetworkProblemText = "Network error. Payment Cash only."
@ -893,6 +893,7 @@
DEBUGVAR ShowButtonClick2 DEBUGVAR ShowButtonClick2
Var UsePepsiTheme = 1 Var UsePepsiTheme = 1
Var TargetThemeNum = 2
EndIf EndIf
@ -1213,7 +1214,12 @@
;Var img_rest_main_page = MainStartPepsiThemeDir + "bn_main_page_start.png" ;Var img_rest_main_page = MainStartPepsiThemeDir + "bn_main_page_start.png"
Var img_press_main_page = MainStartPepsiThemeDir + "bp_main_page_start.png" Var img_press_main_page = MainStartPepsiThemeDir + "bp_main_page_start.png"
Var VideoMainPage = "ROOT/taobin_project/inter/sgp/video/video_main_wtc.mp4"
EndIf EndIf
Else
; default-theme
TRY "ROOT/taobin_project/inter/whatthecup/default_color_settings.ev"
EndIf EndIf
XMLSaveFileNameForResume 0 "/mnt/sdcard/coffeevending/taobin_project/xml/page_board.xml" XMLSaveFileNameForResume 0 "/mnt/sdcard/coffeevending/taobin_project/xml/page_board.xml"

View file

@ -2,7 +2,7 @@
<Cache> "Enable" </Cache> <Cache> "Enable" </Cache>
<Width> 1080 </Width> <Width> 1080 </Width>
<Height> 1920 </Height> <Height> 1920 </Height>
<Background> "0xeae6e1" </Background> <Background> BackgroundColor </Background>
<EventOpen> <EventOpen>
; On open ; On open
;world-class ;world-class
@ -511,7 +511,7 @@
<Align> Center </Align> <Align> Center </Align>
<Size> 66 </Size> <Size> 66 </Size>
<Font> KanitMediumTTF </Font> <Font> KanitMediumTTF </Font>
<Color> 0x513C2F </Color> <Color> HeadlineColor </Color>
<Value> showname </Value> <Value> showname </Value>
</Text> </Text>
@ -523,7 +523,7 @@
<Align> Center </Align> <Align> Center </Align>
<Size> 24 </Size> <Size> 24 </Size>
<Font> KanitLightTTF </Font> <Font> KanitLightTTF </Font>
<Color> 0x6F5F51 </Color> <Color> SubHeadlineColor </Color>
<Value> showdesc </Value> <Value> showdesc </Value>
</Text> </Text>

View file

@ -7,6 +7,12 @@
<Sound> PlaySoundLag </Sound> <Sound> PlaySoundLag </Sound>
<EventOpen> <EventOpen>
If UsePepsiTheme = 1 Then
Open "ROOT/taobin_project/inter/whatthecup/sgp/xml/page_payment_cash-SGP_blue.xml"
EndIf
READ_FILE "/mnt/sdcard/coffeevending/sim_on" str_sim_on READ_FILE "/mnt/sdcard/coffeevending/sim_on" str_sim_on
DEBUGVAR str_sim_on DEBUGVAR str_sim_on
@ -1790,7 +1796,7 @@ EndIf
<Align> Center </Align> <Align> Center </Align>
<Size> 72 </Size> <Size> 72 </Size>
<Font> KanitMediumTTF </Font> <Font> KanitMediumTTF </Font>
<Color> 0xB78F24 </Color> <Color> PopupBodyTextColor </Color>
<Value> showRemaining </Value> <Value> showRemaining </Value>
</Text> </Text>
@ -1803,7 +1809,7 @@ EndIf
<Align> Center </Align> <Align> Center </Align>
<Size> 66 </Size> <Size> 66 </Size>
<Font> KanitMediumTTF </Font> <Font> KanitMediumTTF </Font>
<Color> 0x513C2F </Color> <Color> HeadlineColor </Color>
<Value> showname </Value> <Value> showname </Value>
</Text> </Text>
@ -1814,7 +1820,7 @@ EndIf
<Align> Center </Align> <Align> Center </Align>
<Size> 24 </Size> <Size> 24 </Size>
<Font> KanitLightTTF </Font> <Font> KanitLightTTF </Font>
<Color> 0x6F5F51 </Color> <Color> SubHeadlineColor </Color>
<Value> showdesc </Value> <Value> showdesc </Value>
</Text> </Text>

View file

@ -2,7 +2,7 @@
<Cache> "Enable" </Cache> <Cache> "Enable" </Cache>
<Width> 1080 </Width> <Width> 1080 </Width>
<Height> 1920 </Height> <Height> 1920 </Height>
<Background> "0xeae6e1" </Background> <Background> BackgroundColor </Background>
<Volume> SoundVolume </Volume> <Volume> SoundVolume </Volume>
<Sound> PlaySoundLag </Sound> <Sound> PlaySoundLag </Sound>
<EventOpen> <EventOpen>
@ -2771,7 +2771,7 @@
<Align> Center </Align> <Align> Center </Align>
<Size> 72 </Size> <Size> 72 </Size>
<Font> KanitMediumTTF </Font> <Font> KanitMediumTTF </Font>
<Color> 0xB78F24 </Color> <Color> PopupBodyTextColor </Color>
<Value> showRemaining </Value> <Value> showRemaining </Value>
</Text> </Text>
@ -2784,7 +2784,7 @@
<Align> Center </Align> <Align> Center </Align>
<Size> 72 </Size> <Size> 72 </Size>
<Font> KanitMediumTTF </Font> <Font> KanitMediumTTF </Font>
<Color> 0x513C2F </Color> <Color> HeadlineColor </Color>
<Value> showname </Value> <Value> showname </Value>
</Text> </Text>
@ -2795,7 +2795,7 @@
<Align> Center </Align> <Align> Center </Align>
<Size> 24 </Size> <Size> 24 </Size>
<Font> KanitLightTTF </Font> <Font> KanitLightTTF </Font>
<Color> 0x6F5F51 </Color> <Color> SubHeadlineColor </Color>
<Value> showdesc </Value> <Value> showdesc </Value>
</Text> </Text>

View file

@ -25,7 +25,7 @@
EndIf EndIf
If StrCountryShort = "SGP" Then If StrCountryShort = "SGP" Then
;Open "ROOT/taobin_project/inter/sgp/xml/page_remove_cup.lxml" Open "ROOT/taobin_project/inter/sgp/xml/page_remove_cup.lxml"
EndIf EndIf