THAI: Update Matcha Every Day banner and added 3 new menus

This commit is contained in:
Kenta420 2025-03-12 18:19:07 +07:00
parent 0a52d52330
commit 9a8806811e
19 changed files with 543 additions and 325 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 619 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 67 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 64 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 67 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 72 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 70 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 73 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 72 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 70 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 73 KiB

View file

@ -322,6 +322,7 @@ IGNORE เก็กฮวย Chrysanths Tea น้ำเก๊กฮวย น
Name=Other,file=page_catalog_group_other.skt Name=Other,file=page_catalog_group_other.skt
เต่าพลังโซดา\n(เพิ่มปริมาณ) Energy Drink\nSoda Extra เครื่องดื่มเต่าทรงพลัง โซดา\nและน้ำแข็ง (มีคาเฟอีน) Medicine Drink, Soda, Ice - 12-05-02-0143 12-05-03-0143 bn_iced_energy_drink_soda_Extra.png - - - posi1 2025/01/21T00:00:00 - TaobinEnergyDrinkMenu เต่าพลังโซดา\n(เพิ่มปริมาณ) Energy Drink\nSoda Extra เครื่องดื่มเต่าทรงพลัง โซดา\nและน้ำแข็ง (มีคาเฟอีน) Medicine Drink, Soda, Ice - 12-05-02-0143 12-05-03-0143 bn_iced_energy_drink_soda_Extra.png - - - posi1 2025/01/21T00:00:00 - TaobinEnergyDrinkMenu
เป๊ปซี่ (เพิ่มปริมาณ) Pepsi Extra เป๊ปซี่ โซดา และน้ำแข็ง Pepsi, Soda And Ice - 12-05-02-0133 - bn_iced_pepsi_extra.png - - - posi1 2025/01/01T00:00:00 - - เป๊ปซี่ (เพิ่มปริมาณ) Pepsi Extra เป๊ปซี่ โซดา และน้ำแข็ง Pepsi, Soda And Ice - 12-05-02-0133 - bn_iced_pepsi_extra.png - - - posi1 2025/01/01T00:00:00 - -
ยูซุมัทฉะโซดา Yuzu Matcha Soda ยูซุ มัทฉะ มะนาว โซดา Yuzu Matcha Lime Soda - 12-02-02-0098 - bn_hot_yuzu_Matcha_tea.png - - - posi1 2025/03/20T00:00:00 - -
ฟรุตพันช์ Fruit Punch Drink มะนาว น้ำแดง น้ำแข็ง และคอลลาเจน Collagen, Lime, Salak And Ice - 12-05-02-0144 12-05-03-0144 bn_iced_Fruit_Punch_Lime_Sala_jemila.png - - - posi1 2025/02/17T00:00:00 - PunchDrinkMenu ฟรุตพันช์ Fruit Punch Drink มะนาว น้ำแดง น้ำแข็ง และคอลลาเจน Collagen, Lime, Salak And Ice - 12-05-02-0144 12-05-03-0144 bn_iced_Fruit_Punch_Lime_Sala_jemila.png - - - posi1 2025/02/17T00:00:00 - PunchDrinkMenu
ฟรุตพันช์ยูซุ Yuzu Punch Drink มะนาว ยูซุ น้ำแข็ง และคอลลาเจน Collagen, Lime, Yuzu And Ice - 12-05-02-0145 12-05-03-0145 bn_iced_fruit_punch_Yuzu_Jemila.png - - - posi1 2025/02/17T00:00:00 - PunchDrinkMenu ฟรุตพันช์ยูซุ Yuzu Punch Drink มะนาว ยูซุ น้ำแข็ง และคอลลาเจน Collagen, Lime, Yuzu And Ice - 12-05-02-0145 12-05-03-0145 bn_iced_fruit_punch_Yuzu_Jemila.png - - - posi1 2025/02/17T00:00:00 - PunchDrinkMenu
ฟรุตพันช์บ๊วย Ume Punch Drink มะนาว บ๊วย น้ำแข็ง และคอลลาเจน Collagen, Lime, Ume And Ice - 12-05-02-0146 12-05-03-0146 bn_iced_fruit_punch_Ume_Jemila.png - - - posi1 2025/02/17T00:00:00 - PunchDrinkMenu ฟรุตพันช์บ๊วย Ume Punch Drink มะนาว บ๊วย น้ำแข็ง และคอลลาเจน Collagen, Lime, Ume And Ice - 12-05-02-0146 12-05-03-0146 bn_iced_fruit_punch_Ume_Jemila.png - - - posi1 2025/02/17T00:00:00 - PunchDrinkMenu
@ -467,6 +468,7 @@ IGNORE Pepsi Max - 12-05-02-0062 12-05-03-0062 posi1 - - -
Name=Other,file=page_catalog_group_other_other.skt Name=Other,file=page_catalog_group_other_other.skt
เต่าพลังโซดา\n(เพิ่มปริมาณ) Energy Drink\nSoda Extra เครื่องดื่มเต่าทรงพลัง โซดา\nและน้ำแข็ง (มีคาเฟอีน) Medicine Drink, Soda, Ice - 12-05-02-0143 12-05-03-0143 bn_iced_energy_drink_soda_Extra.png - - - posi1 2025/01/21T00:00:00 - TaobinEnergyDrinkMenu เต่าพลังโซดา\n(เพิ่มปริมาณ) Energy Drink\nSoda Extra เครื่องดื่มเต่าทรงพลัง โซดา\nและน้ำแข็ง (มีคาเฟอีน) Medicine Drink, Soda, Ice - 12-05-02-0143 12-05-03-0143 bn_iced_energy_drink_soda_Extra.png - - - posi1 2025/01/21T00:00:00 - TaobinEnergyDrinkMenu
เป๊ปซี่ (เพิ่มปริมาณ) Pepsi Extra เป๊ปซี่ โซดา และน้ำแข็ง Pepsi, Soda And Ice - 12-05-02-0133 - bn_iced_pepsi_extra.png - - - posi1 2025/01/01T00:00:00 - - เป๊ปซี่ (เพิ่มปริมาณ) Pepsi Extra เป๊ปซี่ โซดา และน้ำแข็ง Pepsi, Soda And Ice - 12-05-02-0133 - bn_iced_pepsi_extra.png - - - posi1 2025/01/01T00:00:00 - -
ยูซุมัทฉะโซดา Yuzu Matcha Soda ยูซุ มัทฉะ มะนาว โซดา Yuzu Matcha Lime Soda - 12-02-02-0098 - bn_hot_yuzu_Matcha_tea.png - - - posi1 2025/03/20T00:00:00 - -
ฟรุตพันช์ Fruit Punch Drink มะนาว น้ำแดง น้ำแข็ง และคอลลาเจน Collagen, Lime, Salak And Ice - 12-05-02-0144 12-05-03-0144 bn_iced_Fruit_Punch_Lime_Sala_jemila.png - - - posi1 2025/02/17T00:00:00 - PunchDrinkMenu ฟรุตพันช์ Fruit Punch Drink มะนาว น้ำแดง น้ำแข็ง และคอลลาเจน Collagen, Lime, Salak And Ice - 12-05-02-0144 12-05-03-0144 bn_iced_Fruit_Punch_Lime_Sala_jemila.png - - - posi1 2025/02/17T00:00:00 - PunchDrinkMenu
ฟรุตพันช์ยูซุ Yuzu Punch Drink มะนาว ยูซุ น้ำแข็ง และคอลลาเจน Collagen, Lime, Yuzu And Ice - 12-05-02-0145 12-05-03-0145 bn_iced_fruit_punch_Yuzu_Jemila.png - - - posi1 2025/02/17T00:00:00 - PunchDrinkMenu ฟรุตพันช์ยูซุ Yuzu Punch Drink มะนาว ยูซุ น้ำแข็ง และคอลลาเจน Collagen, Lime, Yuzu And Ice - 12-05-02-0145 12-05-03-0145 bn_iced_fruit_punch_Yuzu_Jemila.png - - - posi1 2025/02/17T00:00:00 - PunchDrinkMenu
ฟรุตพันช์บ๊วย Ume Punch Drink มะนาว บ๊วย น้ำแข็ง และคอลลาเจน Collagen, Lime, Ume And Ice - 12-05-02-0146 12-05-03-0146 bn_iced_fruit_punch_Ume_Jemila.png - - - posi1 2025/02/17T00:00:00 - PunchDrinkMenu ฟรุตพันช์บ๊วย Ume Punch Drink มะนาว บ๊วย น้ำแข็ง และคอลลาเจน Collagen, Lime, Ume And Ice - 12-05-02-0146 12-05-03-0146 bn_iced_fruit_punch_Ume_Jemila.png - - - posi1 2025/02/17T00:00:00 - PunchDrinkMenu

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

View file

@ -70,29 +70,29 @@
<State> BigButtonEnable </State> <State> BigButtonEnable </State>
<Filename> <Filename>
eval( eval(
If show_eng = "true" Then If SystemDateDayInt >= 20 Then
Var return = "ROOT/taobin_project/image/event/matcha_every_day/matcha_every_day.png" Var return = "ROOT/taobin_project/image/event/matcha_every_day/matcha_every_day2.png"
Else Else
Var return = "ROOT/taobin_project/image/event/matcha_every_day/matcha_every_day.png" Var return = "ROOT/taobin_project/image/event/matcha_every_day/matcha_every_day.png"
EndIf EndIf
) )
</Filename> </Filename>
<FilenamePress> <FilenamePress>
eval( eval(
If show_eng = "true" Then If SystemDateDayInt >= 20 Then
Var return = "ROOT/taobin_project/image/event/matcha_every_day/matcha_every_day.png" Var return = "ROOT/taobin_project/image/event/matcha_every_day/matcha_every_day2.png"
Else Else
Var return = "ROOT/taobin_project/image/event/matcha_every_day/matcha_every_day.png" Var return = "ROOT/taobin_project/image/event/matcha_every_day/matcha_every_day.png"
EndIf EndIf
) )
</FilenamePress> </FilenamePress>
<FilenameDisable> <FilenameDisable>
eval( eval(
If show_eng = "true" Then If SystemDateDayInt >= 20 Then
Var return = "ROOT/taobin_project/image/event/matcha_every_day/matcha_every_day.png" Var return = "ROOT/taobin_project/image/event/matcha_every_day/matcha_every_day2.png"
Else Else
Var return = "ROOT/taobin_project/image/event/matcha_every_day/matcha_every_day.png" Var return = "ROOT/taobin_project/image/event/matcha_every_day/matcha_every_day.png"
EndIf EndIf
) )
</FilenameDisable> </FilenameDisable>
<EventOnClick> <EventOnClick>
@ -115,33 +115,9 @@
<Button> <Button>
<State> BigButtonEnable </State> <State> BigButtonEnable </State>
<Filename> <Filename> "ROOT/taobin_project/image/event/coconut_milk/coconut_milk.png" </Filename>
eval( <FilenamePress> "ROOT/taobin_project/image/event/coconut_milk/coconut_milk.png" </FilenamePress>
If show_eng = "true" Then <FilenameDisable> "ROOT/taobin_project/image/event/coconut_milk/coconut_milk.png" </FilenameDisable>
Var return = "ROOT/taobin_project/image/event/coconut_milk/coconut_milk.png"
Else
Var return = "ROOT/taobin_project/image/event/coconut_milk/coconut_milk.png"
EndIf
)
</Filename>
<FilenamePress>
eval(
If show_eng = "true" Then
Var return = "ROOT/taobin_project/image/event/coconut_milk/coconut_milk.png"
Else
Var return = "ROOT/taobin_project/image/event/coconut_milk/coconut_milk.png"
EndIf
)
</FilenamePress>
<FilenameDisable>
eval(
If show_eng = "true" Then
Var return = "ROOT/taobin_project/image/event/coconut_milk/coconut_milk.png"
Else
Var return = "ROOT/taobin_project/image/event/coconut_milk/coconut_milk.png"
EndIf
)
</FilenameDisable>
<EventOnClick> <EventOnClick>
Open "ROOT/taobin_project/xml/page_catalog_group_pro_coconut_milk.xml" Open "ROOT/taobin_project/xml/page_catalog_group_pro_coconut_milk.xml"

View file

@ -5651,7 +5651,7 @@ Water" </Value>
Var NameDrink = "Pepsi milk" Var NameDrink = "Pepsi milk"
Var NameDrinkTH = "เป๊ปซี่นม" Var NameDrinkTH = "เป๊ปซี่นม"
Var DrinkDescriptionTH = "เป๊ปซี่ นม" Var DrinkDescriptionTH = "เป๊ปซี่ นม"
Var DrinkDescription = "-" Var DrinkDescription = "Pepsi, Milk"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_PEPSI_MILK.png" Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_PEPSI_MILK.png"
Var OpenFromXML = CurrentXMLFileName2 Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $-.Price Var PriceD1 = $-.Price
@ -5753,7 +5753,7 @@ Water" </Value>
<Font> KanitMediumTTF </Font> <Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color> <Color> 0x6F5F51 </Color>
<State> showengText </State> <State> showengText </State>
<Value> "-" </Value> <Value> "Pepsi, Milk" </Value>
</Text> </Text>
<Image> <Image>
<X> 16 </X> <X> 16 </X>
@ -5881,255 +5881,7 @@ Water" </Value>
<Align> center-vertical-horizontal </Align> <Align> center-vertical-horizontal </Align>
</Text> </Text>
</Block> </Block>
; - - ; - - -
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( .Button,Disable=Invisible,$Sum) </State>
<Button>
<State> $Sum </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_PEPSI_MILK.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_PEPSI_MILK.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_PEPSI_MILK.png" </FilenameDisable>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<OverlayImage> xmlpro( , "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
<EventOnClick>
Var NameDrink = "Pepsi milk"
Var NameDrinkTH = "เป๊ปซี่นม"
Var DrinkDescriptionTH = "เป๊ปซี่ นม"
Var DrinkDescription = "-"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_PEPSI_MILK.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $.Price
Var PriceD2 = $-.Price
Var PriceD3 = $-.Price
Var PD_CODE1 = "##-##-##-####"
Var PD_CODE2 = "##-##-##-####"
Var PD_CODE3 = "##-##-##-####"
Var PD_STAGE_1 = "Disable2"
Var PD_STAGE_2 = "Disable2"
Var PD_STAGE_3 = "Disable2"
Var OverlayMenuFilter !assigned xmlpro( , "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
DEBUGVAR OverlayMenuFilter
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" "-"
EndIf
EndIf
Var menu_name_eng_hot = $##-##-##-####.NameE
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
Var menu_name_thai_hot = $##-##-##-####.Name
Var menu_desc_thai_hot = $##-##-##-####.description
Var menu_name_eng_cold = $##-##-##-####.NameE
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
Var menu_name_thai_cold = $##-##-##-####.Name
Var menu_desc_thai_cold = $##-##-##-####.description
Var menu_name_eng_blender = $##-##-##-####.NameE
Var menu_desc_eng_blender = $##-##-##-####.descriptionE
Var menu_name_thai_blender = $##-##-##-####.Name
Var menu_desc_thai_blender = $##-##-##-####.description
DEBUGVAR PD_STAGE_1
DEBUGVAR PD_STAGE_2
DEBUGVAR PD_STAGE_3
Var SelectDrinkType = 0
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
</EventOnClick>
</Button>
<Text>
<X> 16 </X>
<Y> 164 </Y>
<Size> 24 </Size>
<Width>220</Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showthaiText </State>
<Value> "เป๊ปซี่นม" </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 220 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showthaiText </State>
<Value> "เป๊ปซี่ นม" </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 164 </Y>
<Size> 22 </Size>
<Width>220</Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showengText </State>
<Value> "Pepsi milk" </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 220 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showengText </State>
<Value> "-" </Value>
</Text>
<Image>
<X> 16 </X>
<Y> 264 </Y>
<Filename> Var( DirImage2 + "option_deactive.png" ) </Filename>
</Image>
<Image>
<X> 16 </X>
<Y> 264 </Y>
<State> "Invisible" </State>
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
</Image>
<Text>
<X> 50 </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> "Invisible" </State>
<Value> StringFmt( $.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
</Text>
<Image>
<X> 81 </X>
<Y> 264 </Y>
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
<State> "Invisible" </State>
</Image>
<Text>
<X> 115 </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> "Invisible" </State>
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
</Text>
<Image>
<X> 146 </X>
<Y> 264 </Y>
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
<State> "Invisible" </State>
</Image>
<Text>
<X> 183 </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> "Invisible" </State>
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
</Text>
<Image>
<X> 81 </X>
<Y> 264 </Y>
<State>
eval(
If ICE_PROCESS_STATUS = 2 Then
Var ice_tab_process_show = "Invisible"
Else
Var ice_tab_process_show = "Invisible"
EndIf
Var return = ice_tab_process_show
)
</State>
<Filename> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </Filename>
<FilenameDisable> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </FilenameDisable>
</Image>
<Image>
<X> 49 </X>
<Y> 117 </Y>
<State>
eval(
If $Sum = "Disable" Then
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
STRCONTAIN "ERR" $##-##-##-####.TAG tag2_is_disable
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
Var return = "Invisible"
If tag1_is_disable = "true" Then
Var return = "Enable"
EndIf
If tag2_is_disable = "true" Then
Var return = "Enable"
EndIf
If tag3_is_disable = "true" Then
Var return = "Enable"
EndIf
Else
Var return = "Invisible"
EndIf
)
</State>
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
</Image>
<Text>
<X> 84 </X>
<Y> 266 </Y>
<Size> 10 </Size>
<Font> OpunMediumTTF </Font>
<Color> 0xDE794E </Color>
<State> ice_tab_process_show </State>
<Value> ice_show_open </Value>
</Text>
<Text>
<X> 48 </X>
<Y> 116 </Y>
<Size> 32 </Size>
<Width>128</Width>
<Height>64</Height>
<Font> MITRegularTTF </Font>
<Color> 0x5A5A5A </Color>
<Mode> "disable-show" </Mode>
<State> $Sum </State>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; ==================> Len = 19 ; ==================> Len = 19
; - - 12-03-03-0029 ; - - 12-03-03-0029
<Block> <Block>

View file

@ -15841,29 +15841,29 @@ Limenade Soda" </Value>
<State> BigButtonEnable </State> <State> BigButtonEnable </State>
<Filename> <Filename>
eval( eval(
If show_eng = "true" Then If SystemDateDayInt >= 20 Then
Var return = "ROOT/taobin_project/image/event/matcha_every_day/matcha_every_day.png" Var return = "ROOT/taobin_project/image/event/matcha_every_day/matcha_every_day2.png"
Else Else
Var return = "ROOT/taobin_project/image/event/matcha_every_day/matcha_every_day.png" Var return = "ROOT/taobin_project/image/event/matcha_every_day/matcha_every_day.png"
EndIf EndIf
) )
</Filename> </Filename>
<FilenamePress> <FilenamePress>
eval( eval(
If show_eng = "true" Then If SystemDateDayInt >= 20 Then
Var return = "ROOT/taobin_project/image/event/matcha_every_day/matcha_every_day.png" Var return = "ROOT/taobin_project/image/event/matcha_every_day/matcha_every_day2.png"
Else Else
Var return = "ROOT/taobin_project/image/event/matcha_every_day/matcha_every_day.png" Var return = "ROOT/taobin_project/image/event/matcha_every_day/matcha_every_day.png"
EndIf EndIf
) )
</FilenamePress> </FilenamePress>
<FilenameDisable> <FilenameDisable>
eval( eval(
If show_eng = "true" Then If SystemDateDayInt >= 20 Then
Var return = "ROOT/taobin_project/image/event/matcha_every_day/matcha_every_day.png" Var return = "ROOT/taobin_project/image/event/matcha_every_day/matcha_every_day2.png"
Else Else
Var return = "ROOT/taobin_project/image/event/matcha_every_day/matcha_every_day.png" Var return = "ROOT/taobin_project/image/event/matcha_every_day/matcha_every_day.png"
EndIf EndIf
) )
</FilenameDisable> </FilenameDisable>
<EventOnClick> <EventOnClick>
@ -15883,21 +15883,7 @@ Limenade Soda" </Value>
Refresh Refresh
</EventUnitTest2> </EventUnitTest2>
<Button> ;include="ROOT/taobin_project/inc/button_remove_cup.inc"
<X> 780 </X>
<Y> 500 </Y>
<State> buttonRemoveCup </State>
;<Color> "0x00BDFF" </Color>
<Interval> 500 </Interval>
<Filename> "ROOT/taobin_project/image/main_page/bn_remove_cup.png" </Filename>
<Filename> "ROOT/taobin_project/image/main_page/bp_remove_cup.png" </Filename>
<EventClick>
Machine RemoveCup
Machine DoorLidOpen
Var buttonRemoveCup = "Invisible"
Refresh
</EventClick>
</Button>
</Popup> </Popup>

View file

@ -39,7 +39,7 @@
Var block_index_move = 0 Var block_index_move = 0
</Script> </Script>
;dummy_layout.inc ;dummy_layout.inc
; menu_new_list 90 ; menu_new_list 91
; ==================> Len = 15 ; ==================> Len = 15
; - 12-05-02-0143 12-05-03-0143 ; - 12-05-02-0143 12-05-03-0143
<Block> <Block>
@ -543,6 +543,257 @@ Soda Extra" </Value>
<Value> text_unavailable </Value> <Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align> <Align> center-vertical-horizontal </Align>
</Text> </Text>
</Block>
; - - -
; ==================> Len = 15
; - 12-02-02-0098 -
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-02-02-0098.Button,DateTimeStart="2025/03/20T00:00:00",$Sum1202020098) </State>
<Button>
<State> $Sum1202020098 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_yuzu_Matcha_tea.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_yuzu_Matcha_tea.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_yuzu_Matcha_tea.png" </FilenameDisable>
<OverlayImage> xmlpro( 12-02-02-0098, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var NameDrink = "Yuzu Matcha Soda"
Var NameDrinkTH = "ยูซุมัทฉะโซดา"
Var DrinkDescriptionTH = "ยูซุ มัทฉะ มะนาว โซดา"
Var DrinkDescription = "Yuzu Matcha Lime Soda"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_yuzu_Matcha_tea.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $-.Price
Var PriceD2 = $12-02-02-0098.Price
Var PriceD3 = $-.Price
Var PD_CODE1 = "##-##-##-####"
Var PD_CODE2 = "12-02-02-0098"
Var PD_CODE3 = "##-##-##-####"
Var PD_STAGE_1 = "Disable2"
Var PD_STAGE_2 = $12-02-02-0098.Button
Var PD_STAGE_3 = "Disable2"
Var OverlayMenuFilter !assigned xmlpro( 12-02-02-0098, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
DEBUGVAR OverlayMenuFilter
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" "12-02-02-0098"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "-"
Else
Topping "Load" "-"
EndIf
EndIf
Var menu_name_eng_hot = $##-##-##-####.NameE
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
Var menu_name_thai_hot = $##-##-##-####.Name
Var menu_desc_thai_hot = $##-##-##-####.description
Var menu_name_eng_cold = $12-02-02-0098.NameE
Var menu_desc_eng_cold = $12-02-02-0098.descriptionE
Var menu_name_thai_cold = $12-02-02-0098.Name
Var menu_desc_thai_cold = $12-02-02-0098.description
Var menu_name_eng_blender = $##-##-##-####.NameE
Var menu_desc_eng_blender = $##-##-##-####.descriptionE
Var menu_name_thai_blender = $##-##-##-####.Name
Var menu_desc_thai_blender = $##-##-##-####.description
DEBUGVAR PD_STAGE_1
DEBUGVAR PD_STAGE_2
DEBUGVAR PD_STAGE_3
Var SelectDrinkType = 0
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
</EventOnClick>
</Button>
<Text>
<X> 16 </X>
<Y> 164 </Y>
<Size> 24 </Size>
<Width>220</Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showthaiText </State>
<Value> "ยูซุมัทฉะโซดา" </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 220 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showthaiText </State>
<Value> "ยูซุ มัทฉะ มะนาว โซดา" </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 164 </Y>
<Size> 22 </Size>
<Width>220</Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showengText </State>
<Value> "Yuzu Matcha Soda" </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 220 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showengText </State>
<Value> "Yuzu Matcha Lime Soda" </Value>
</Text>
<Image>
<X> 16 </X>
<Y> 264 </Y>
<Filename> Var( DirImage2 + "option_deactive.png" ) </Filename>
</Image>
<Image>
<X> 16 </X>
<Y> 264 </Y>
<State> "Invisible" </State>
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
</Image>
<Text>
<X> 50 </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> "Invisible" </State>
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
</Text>
<Image>
<X> 81 </X>
<Y> 264 </Y>
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
<State> $12-02-02-0098.Button </State>
</Image>
<Text>
<X> 115 </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-02-02-0098.Button </State>
<Value> StringFmt( $12-02-02-0098.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
</Text>
<Image>
<X> 146 </X>
<Y> 264 </Y>
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
<State> "Invisible" </State>
</Image>
<Text>
<X> 180 </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Font> KanitRegularTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> "Invisible" </State>
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
</Text>
<Image>
<X> 81 </X>
<Y> 264 </Y>
<State>
eval(
If ICE_PROCESS_STATUS = 2 Then
Var ice_tab_process_show = "Invisible"
Else
Var ice_tab_process_show = "Invisible"
EndIf
Var return = ice_tab_process_show
)
</State>
<Filename> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </Filename>
<FilenameDisable> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </FilenameDisable>
</Image>
<Image>
<X> 49 </X>
<Y> 117 </Y>
<State>
eval(
If $Sum1202020098 = "Disable" Then
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
STRCONTAIN "ERR" $12-02-02-0098.TAG tag2_is_disable
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
Var return = "Invisible"
If tag1_is_disable = "true" Then
Var return = "Enable"
EndIf
If tag2_is_disable = "true" Then
Var return = "Enable"
EndIf
If tag3_is_disable = "true" Then
Var return = "Enable"
EndIf
Else
Var return = "Invisible"
EndIf
)
</State>
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
</Image>
<Text>
<X> 84 </X>
<Y> 266 </Y>
<Size> 10 </Size>
<Font> OpunMediumTTF </Font>
<Color> 0xDE794E </Color>
<State> ice_tab_process_show </State>
<Value> ice_show_open </Value>
</Text>
<Text>
<X> 48 </X>
<Y> 116 </Y>
<Size> 32 </Size>
<Width>128</Width>
<Height>64</Height>
<Font> MITRegularTTF </Font>
<Color> 0x5A5A5A </Color>
<Mode> "disable-show" </Mode>
<State> $Sum1202020098 </State>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block> </Block>
; - - - ; - - -
; ==================> Len = 15 ; ==================> Len = 15

View file

@ -39,7 +39,7 @@
Var block_index_move = 0 Var block_index_move = 0
</Script> </Script>
;dummy_layout.inc ;dummy_layout.inc
; menu_new_list 65 ; menu_new_list 66
; ==================> Len = 15 ; ==================> Len = 15
; - 12-05-02-0143 12-05-03-0143 ; - 12-05-02-0143 12-05-03-0143
<Block> <Block>
@ -543,6 +543,257 @@ Soda Extra" </Value>
<Value> text_unavailable </Value> <Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align> <Align> center-vertical-horizontal </Align>
</Text> </Text>
</Block>
; - - -
; ==================> Len = 15
; - 12-02-02-0098 -
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-02-02-0098.Button,DateTimeStart="2025/03/20T00:00:00",$Sum1202020098) </State>
<Button>
<State> $Sum1202020098 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_yuzu_Matcha_tea.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_yuzu_Matcha_tea.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_yuzu_Matcha_tea.png" </FilenameDisable>
<OverlayImage> xmlpro( 12-02-02-0098, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var NameDrink = "Yuzu Matcha Soda"
Var NameDrinkTH = "ยูซุมัทฉะโซดา"
Var DrinkDescriptionTH = "ยูซุ มัทฉะ มะนาว โซดา"
Var DrinkDescription = "Yuzu Matcha Lime Soda"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_yuzu_Matcha_tea.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $-.Price
Var PriceD2 = $12-02-02-0098.Price
Var PriceD3 = $-.Price
Var PD_CODE1 = "##-##-##-####"
Var PD_CODE2 = "12-02-02-0098"
Var PD_CODE3 = "##-##-##-####"
Var PD_STAGE_1 = "Disable2"
Var PD_STAGE_2 = $12-02-02-0098.Button
Var PD_STAGE_3 = "Disable2"
Var OverlayMenuFilter !assigned xmlpro( 12-02-02-0098, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
DEBUGVAR OverlayMenuFilter
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" "12-02-02-0098"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "-"
Else
Topping "Load" "-"
EndIf
EndIf
Var menu_name_eng_hot = $##-##-##-####.NameE
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
Var menu_name_thai_hot = $##-##-##-####.Name
Var menu_desc_thai_hot = $##-##-##-####.description
Var menu_name_eng_cold = $12-02-02-0098.NameE
Var menu_desc_eng_cold = $12-02-02-0098.descriptionE
Var menu_name_thai_cold = $12-02-02-0098.Name
Var menu_desc_thai_cold = $12-02-02-0098.description
Var menu_name_eng_blender = $##-##-##-####.NameE
Var menu_desc_eng_blender = $##-##-##-####.descriptionE
Var menu_name_thai_blender = $##-##-##-####.Name
Var menu_desc_thai_blender = $##-##-##-####.description
DEBUGVAR PD_STAGE_1
DEBUGVAR PD_STAGE_2
DEBUGVAR PD_STAGE_3
Var SelectDrinkType = 0
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
</EventOnClick>
</Button>
<Text>
<X> 16 </X>
<Y> 164 </Y>
<Size> 24 </Size>
<Width>220</Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showthaiText </State>
<Value> "ยูซุมัทฉะโซดา" </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 220 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showthaiText </State>
<Value> "ยูซุ มัทฉะ มะนาว โซดา" </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 164 </Y>
<Size> 22 </Size>
<Width>220</Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showengText </State>
<Value> "Yuzu Matcha Soda" </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 220 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showengText </State>
<Value> "Yuzu Matcha Lime Soda" </Value>
</Text>
<Image>
<X> 16 </X>
<Y> 264 </Y>
<Filename> Var( DirImage2 + "option_deactive.png" ) </Filename>
</Image>
<Image>
<X> 16 </X>
<Y> 264 </Y>
<State> "Invisible" </State>
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
</Image>
<Text>
<X> 50 </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> "Invisible" </State>
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
</Text>
<Image>
<X> 81 </X>
<Y> 264 </Y>
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
<State> $12-02-02-0098.Button </State>
</Image>
<Text>
<X> 115 </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-02-02-0098.Button </State>
<Value> StringFmt( $12-02-02-0098.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
</Text>
<Image>
<X> 146 </X>
<Y> 264 </Y>
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
<State> "Invisible" </State>
</Image>
<Text>
<X> 180 </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Font> KanitRegularTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> "Invisible" </State>
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
</Text>
<Image>
<X> 81 </X>
<Y> 264 </Y>
<State>
eval(
If ICE_PROCESS_STATUS = 2 Then
Var ice_tab_process_show = "Invisible"
Else
Var ice_tab_process_show = "Invisible"
EndIf
Var return = ice_tab_process_show
)
</State>
<Filename> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </Filename>
<FilenameDisable> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </FilenameDisable>
</Image>
<Image>
<X> 49 </X>
<Y> 117 </Y>
<State>
eval(
If $Sum1202020098 = "Disable" Then
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
STRCONTAIN "ERR" $12-02-02-0098.TAG tag2_is_disable
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
Var return = "Invisible"
If tag1_is_disable = "true" Then
Var return = "Enable"
EndIf
If tag2_is_disable = "true" Then
Var return = "Enable"
EndIf
If tag3_is_disable = "true" Then
Var return = "Enable"
EndIf
Else
Var return = "Invisible"
EndIf
)
</State>
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
</Image>
<Text>
<X> 84 </X>
<Y> 266 </Y>
<Size> 10 </Size>
<Font> OpunMediumTTF </Font>
<Color> 0xDE794E </Color>
<State> ice_tab_process_show </State>
<Value> ice_show_open </Value>
</Text>
<Text>
<X> 48 </X>
<Y> 116 </Y>
<Size> 32 </Size>
<Width>128</Width>
<Height>64</Height>
<Font> MITRegularTTF </Font>
<Color> 0x5A5A5A </Color>
<Mode> "disable-show" </Mode>
<State> $Sum1202020098 </State>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block> </Block>
; - - - ; - - -
; ==================> Len = 15 ; ==================> Len = 15