THAI: Update Ovaltine pro video

This commit is contained in:
Kenta420 2025-01-23 12:12:36 +07:00
parent 16f619c574
commit 9ac152737c
14 changed files with 702 additions and 3408 deletions

View file

@ -101,6 +101,39 @@
</EventOnClick>
<Video>
<Width> 484 </Width>
<Height> 616 </Height>
<Loop> "true" </Loop>
<State>
eval(
If show_eng = "true" Then
Var return = "Invisible"
Else
Var return = "Enable"
EndIf
)
</State>
<Filename> "ROOT/taobin_project/image/event/ovaltine_school/ovaltine_school.mp4" </Filename>
</Video>
<Video>
<Width> 484 </Width>
<Height> 616 </Height>
<State>
eval(
If show_eng = "true" Then
Var return = "Enable"
Else
Var return = "Invisible"
EndIf
)
</State>
<Loop> "true" </Loop>
<Filename> "ROOT/taobin_project/image/event/ovaltine_school/ovaltine_school.mp4" </Filename>
</Video>
</Button>
</Block>
;endblock1
@ -202,6 +235,8 @@
Var block_index_override = 0
Var block_index_move = 0
</Script>
;TAGESP
; menu_new_list 54
; ==================> Len = 15
; - 12-05-02-0141 12-05-03-0141
<Block>
@ -719,7 +754,7 @@ Soda" </Value>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-05-02-0139.Button,12-05-03-0139.Button,DateTimeStart="2025/01/21T00:00:00",Var=TaobinEnergyDrinkMenu,Disable=Invisible,$Sum12050201391205030139) </State>
<State> Flag( 12-05-02-0139.Button,12-05-03-0139.Button,DateTimeStart="2025/01/23T00:00:00",Var=TaobinEnergyDrinkMenu,Disable=Invisible,$Sum12050201391205030139) </State>
<Button>
<State> $Sum12050201391205030139 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_energy_drink_lime_soda.png" </Filename>
@ -974,7 +1009,7 @@ Soda" </Value>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-05-02-0136.Button,12-05-03-0136.Button,DateTimeStart="2025/01/21T00:00:00",Var=TaobinEnergyDrinkMenu,Disable=Invisible,$Sum12050201361205030136) </State>
<State> Flag( 12-05-02-0136.Button,12-05-03-0136.Button,DateTimeStart="2025/01/23T00:00:00",Var=TaobinEnergyDrinkMenu,Disable=Invisible,$Sum12050201361205030136) </State>
<Button>
<State> $Sum12050201361205030136 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_energy_drink_Strawberry_soda.png" </Filename>
@ -1220,773 +1255,6 @@ Strawberry Soda" </Value>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; - - -
; ==================> Len = 15
; 12-02-01-0085 12-02-02-0085 12-02-03-0085
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-02-01-0085.Button,12-02-02-0085.Button,12-02-03-0085.Button,DateTimeStart="2024/12/01T00:00:00",DateTimeEnd="2025/01/31T23:59:59",Disable=Invisible,$Sum120201008512020200851202030085) </State>
<Button>
<State> $Sum120201008512020200851202030085 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_royal_milk_tea.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_royal_milk_tea.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_royal_milk_tea.png" </FilenameDisable>
<OverlayImage> xmlpro( 12-02-01-0085, "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 = "Royal Milk Tea"
Var NameDrinkTH = "ชานมชาววัง"
Var DrinkDescriptionTH = "ชาไทย ชามะลิ นม และคาราเมล"
Var DrinkDescription = "Thai Tea, Jasmine Tea, Milk, Caramel"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_royal_milk_tea.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $12-02-01-0085.Price
Var PriceD2 = $12-02-02-0085.Price
Var PriceD3 = $12-02-03-0085.Price
Var PD_CODE1 = "12-02-01-0085"
Var PD_CODE2 = "12-02-02-0085"
Var PD_CODE3 = "12-02-03-0085"
Var PD_STAGE_1 = $12-02-01-0085.Button
Var PD_STAGE_2 = $12-02-02-0085.Button
Var PD_STAGE_3 = $12-02-03-0085.Button
Var OverlayMenuFilter !assigned xmlpro( 12-02-01-0085, "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-0085"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "12-02-01-0085"
Else
Topping "Load" "12-02-03-0085"
EndIf
EndIf
Var menu_name_eng_hot = $12-02-01-0085.NameE
Var menu_desc_eng_hot = $12-02-01-0085.descriptionE
Var menu_name_thai_hot = $12-02-01-0085.Name
Var menu_desc_thai_hot = $12-02-01-0085.description
Var menu_name_eng_cold = $12-02-02-0085.NameE
Var menu_desc_eng_cold = $12-02-02-0085.descriptionE
Var menu_name_thai_cold = $12-02-02-0085.Name
Var menu_desc_thai_cold = $12-02-02-0085.description
Var menu_name_eng_blender = $12-02-03-0085.NameE
Var menu_desc_eng_blender = $12-02-03-0085.descriptionE
Var menu_name_thai_blender = $12-02-03-0085.Name
Var menu_desc_thai_blender = $12-02-03-0085.description
DEBUGVAR PD_STAGE_1
DEBUGVAR PD_STAGE_2
DEBUGVAR PD_STAGE_3
Var SelectDrinkType = 0
Var OpenFromInstMenuTab = 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> "Royal Milk Tea" </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> "Thai Tea, Jasmine Tea, Milk, Caramel" </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> $12-02-01-0085.Button </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> $12-02-01-0085.Button </State>
<Value> StringFmt( $12-02-01-0085.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-0085.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-0085.Button </State>
<Value> StringFmt( $12-02-02-0085.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> $12-02-03-0085.Button </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> $12-02-03-0085.Button </State>
<Value> StringFmt( $12-02-03-0085.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
</Text>
<Image>
<X> 81 </X>
<Y> 264 </Y>
<State>
eval(
If ICE_PROCESS_STATUS = 2 Then
If $Sum120201008512020200851202030085 = "Disable" Then
Var ice_tab_process_show = "Disable"
Else
Var ice_tab_process_show = "Enable"
EndIf
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 $Sum120201008512020200851202030085 = "Disable" Then
STRCONTAIN "ERR" $12-02-01-0085.TAG tag1_is_disable
STRCONTAIN "ERR" $12-02-02-0085.TAG tag2_is_disable
STRCONTAIN "ERR" $12-02-03-0085.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> $Sum120201008512020200851202030085 </State>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; - - -
; ==================> Len = 15
; 12-02-01-0084 12-02-02-0084 12-02-03-0084
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-02-01-0084.Button,12-02-02-0084.Button,12-02-03-0084.Button,DateTimeStart="2024/12/01T00:00:00",DateTimeEnd="2025/01/31T23:59:59",Disable=Invisible,$Sum120201008412020200841202030084) </State>
<Button>
<State> $Sum120201008412020200841202030084 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_traditional_green_tea.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_traditional_green_tea.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_traditional_green_tea.png" </FilenameDisable>
<OverlayImage> xmlpro( 12-02-01-0084, "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 = "Traditional Matcha"
Var NameDrinkTH = "มัทฉะโบราณ"
Var DrinkDescriptionTH = "ชามะลิ มัทฉะ นม และคาราเมล"
Var DrinkDescription = "Jasmine Tea, Matcha, Milk, Caramel"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_traditional_green_tea.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $12-02-01-0084.Price
Var PriceD2 = $12-02-02-0084.Price
Var PriceD3 = $12-02-03-0084.Price
Var PD_CODE1 = "12-02-01-0084"
Var PD_CODE2 = "12-02-02-0084"
Var PD_CODE3 = "12-02-03-0084"
Var PD_STAGE_1 = $12-02-01-0084.Button
Var PD_STAGE_2 = $12-02-02-0084.Button
Var PD_STAGE_3 = $12-02-03-0084.Button
Var OverlayMenuFilter !assigned xmlpro( 12-02-01-0084, "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-0084"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "12-02-01-0084"
Else
Topping "Load" "12-02-03-0084"
EndIf
EndIf
Var menu_name_eng_hot = $12-02-01-0084.NameE
Var menu_desc_eng_hot = $12-02-01-0084.descriptionE
Var menu_name_thai_hot = $12-02-01-0084.Name
Var menu_desc_thai_hot = $12-02-01-0084.description
Var menu_name_eng_cold = $12-02-02-0084.NameE
Var menu_desc_eng_cold = $12-02-02-0084.descriptionE
Var menu_name_thai_cold = $12-02-02-0084.Name
Var menu_desc_thai_cold = $12-02-02-0084.description
Var menu_name_eng_blender = $12-02-03-0084.NameE
Var menu_desc_eng_blender = $12-02-03-0084.descriptionE
Var menu_name_thai_blender = $12-02-03-0084.Name
Var menu_desc_thai_blender = $12-02-03-0084.description
DEBUGVAR PD_STAGE_1
DEBUGVAR PD_STAGE_2
DEBUGVAR PD_STAGE_3
Var SelectDrinkType = 0
Var OpenFromInstMenuTab = 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> "Traditional
Matcha" </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> "Jasmine Tea, Matcha, Milk, Caramel" </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> $12-02-01-0084.Button </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> $12-02-01-0084.Button </State>
<Value> StringFmt( $12-02-01-0084.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-0084.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-0084.Button </State>
<Value> StringFmt( $12-02-02-0084.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> $12-02-03-0084.Button </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> $12-02-03-0084.Button </State>
<Value> StringFmt( $12-02-03-0084.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
</Text>
<Image>
<X> 81 </X>
<Y> 264 </Y>
<State>
eval(
If ICE_PROCESS_STATUS = 2 Then
If $Sum120201008412020200841202030084 = "Disable" Then
Var ice_tab_process_show = "Disable"
Else
Var ice_tab_process_show = "Enable"
EndIf
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 $Sum120201008412020200841202030084 = "Disable" Then
STRCONTAIN "ERR" $12-02-01-0084.TAG tag1_is_disable
STRCONTAIN "ERR" $12-02-02-0084.TAG tag2_is_disable
STRCONTAIN "ERR" $12-02-03-0084.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> $Sum120201008412020200841202030084 </State>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; - - -
; ==================> Len = 15
; 12-02-01-0083 12-02-02-0083 12-02-03-0083
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-02-01-0083.Button,12-02-02-0083.Button,12-02-03-0083.Button,DateTimeStart="2024/12/01T00:00:00",DateTimeEnd="2025/01/31T23:59:59",Disable=Invisible,$Sum120201008312020200831202030083) </State>
<Button>
<State> $Sum120201008312020200831202030083 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_southern_fusion_tea.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_southern_fusion_tea.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_southern_fusion_tea.png" </FilenameDisable>
<OverlayImage> xmlpro( 12-02-01-0083, "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 = "Southern Fusion Tea"
Var NameDrinkTH = "ชาผสานปักษ์ใต้"
Var DrinkDescriptionTH = "มัทฉะ ชาไทย นม และคาราเมล"
Var DrinkDescription = "Matcha , Thai Tea, Milk Caramel"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_southern_fusion_tea.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $12-02-01-0083.Price
Var PriceD2 = $12-02-02-0083.Price
Var PriceD3 = $12-02-03-0083.Price
Var PD_CODE1 = "12-02-01-0083"
Var PD_CODE2 = "12-02-02-0083"
Var PD_CODE3 = "12-02-03-0083"
Var PD_STAGE_1 = $12-02-01-0083.Button
Var PD_STAGE_2 = $12-02-02-0083.Button
Var PD_STAGE_3 = $12-02-03-0083.Button
Var OverlayMenuFilter !assigned xmlpro( 12-02-01-0083, "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-0083"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "12-02-01-0083"
Else
Topping "Load" "12-02-03-0083"
EndIf
EndIf
Var menu_name_eng_hot = $12-02-01-0083.NameE
Var menu_desc_eng_hot = $12-02-01-0083.descriptionE
Var menu_name_thai_hot = $12-02-01-0083.Name
Var menu_desc_thai_hot = $12-02-01-0083.description
Var menu_name_eng_cold = $12-02-02-0083.NameE
Var menu_desc_eng_cold = $12-02-02-0083.descriptionE
Var menu_name_thai_cold = $12-02-02-0083.Name
Var menu_desc_thai_cold = $12-02-02-0083.description
Var menu_name_eng_blender = $12-02-03-0083.NameE
Var menu_desc_eng_blender = $12-02-03-0083.descriptionE
Var menu_name_thai_blender = $12-02-03-0083.Name
Var menu_desc_thai_blender = $12-02-03-0083.description
DEBUGVAR PD_STAGE_1
DEBUGVAR PD_STAGE_2
DEBUGVAR PD_STAGE_3
Var SelectDrinkType = 0
Var OpenFromInstMenuTab = 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> "Southern Fusion
Tea" </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> "Matcha , Thai Tea, Milk Caramel" </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> $12-02-01-0083.Button </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> $12-02-01-0083.Button </State>
<Value> StringFmt( $12-02-01-0083.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-0083.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-0083.Button </State>
<Value> StringFmt( $12-02-02-0083.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> $12-02-03-0083.Button </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> $12-02-03-0083.Button </State>
<Value> StringFmt( $12-02-03-0083.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
</Text>
<Image>
<X> 81 </X>
<Y> 264 </Y>
<State>
eval(
If ICE_PROCESS_STATUS = 2 Then
If $Sum120201008312020200831202030083 = "Disable" Then
Var ice_tab_process_show = "Disable"
Else
Var ice_tab_process_show = "Enable"
EndIf
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 $Sum120201008312020200831202030083 = "Disable" Then
STRCONTAIN "ERR" $12-02-01-0083.TAG tag1_is_disable
STRCONTAIN "ERR" $12-02-02-0083.TAG tag2_is_disable
STRCONTAIN "ERR" $12-02-03-0083.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> $Sum120201008312020200831202030083 </State>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; - - -
; ==================> Len = 20

View file

@ -1,7 +1,7 @@
[
{
"name": "ovaltine",
"template": "/event/promotion_template.inc",
"template": "/event/promotion_video_template.inc",
"config": {
"normal_eng": "ROOT/taobin_project/image/event/ovaltine_school/ovaltine_school.png",
"normal_thai": "ROOT/taobin_project/image/event/ovaltine_school/ovaltine_school.png",
@ -9,6 +9,8 @@
"press_thai": "ROOT/taobin_project/image/event/ovaltine_school/ovaltine_school.png",
"disable_eng": "ROOT/taobin_project/image/event/ovaltine_school/ovaltine_school.png",
"disable_thai": "ROOT/taobin_project/image/event/ovaltine_school/ovaltine_school.png",
"video_eng": "ROOT/taobin_project/image/event/ovaltine_school/ovaltine_school.mp4",
"video_thai": "ROOT/taobin_project/image/event/ovaltine_school/ovaltine_school.mp4",
"event_on_click": "ROOT/taobin_project/xml/page_catalog_group_pro_ovaltine_school.xml"
}
},

View file

@ -65,7 +65,7 @@
</Script>
;dummy_layout.inc
; menu_new_list 57
; menu_new_list 54
; ==================> Len = 15
; - 12-05-02-0141 12-05-03-0141
<Block>
@ -583,7 +583,7 @@ Soda" </Value>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-05-02-0139.Button,12-05-03-0139.Button,DateTimeStart="2025/01/21T00:00:00",Var=TaobinEnergyDrinkMenu,Disable=Invisible,$Sum12050201391205030139) </State>
<State> Flag( 12-05-02-0139.Button,12-05-03-0139.Button,DateTimeStart="2025/01/23T00:00:00",Var=TaobinEnergyDrinkMenu,Disable=Invisible,$Sum12050201391205030139) </State>
<Button>
<State> $Sum12050201391205030139 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_energy_drink_lime_soda.png" </Filename>
@ -838,7 +838,7 @@ Soda" </Value>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-05-02-0136.Button,12-05-03-0136.Button,DateTimeStart="2025/01/21T00:00:00",Var=TaobinEnergyDrinkMenu,Disable=Invisible,$Sum12050201361205030136) </State>
<State> Flag( 12-05-02-0136.Button,12-05-03-0136.Button,DateTimeStart="2025/01/23T00:00:00",Var=TaobinEnergyDrinkMenu,Disable=Invisible,$Sum12050201361205030136) </State>
<Button>
<State> $Sum12050201361205030136 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_energy_drink_Strawberry_soda.png" </Filename>
@ -1084,773 +1084,6 @@ Strawberry Soda" </Value>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; - - -
; ==================> Len = 15
; 12-02-01-0085 12-02-02-0085 12-02-03-0085
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-02-01-0085.Button,12-02-02-0085.Button,12-02-03-0085.Button,DateTimeStart="2024/12/01T00:00:00",DateTimeEnd="2025/01/31T23:59:59",Disable=Invisible,$Sum120201008512020200851202030085) </State>
<Button>
<State> $Sum120201008512020200851202030085 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_royal_milk_tea.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_royal_milk_tea.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_royal_milk_tea.png" </FilenameDisable>
<OverlayImage> xmlpro( 12-02-01-0085, "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 = "Royal Milk Tea"
Var NameDrinkTH = "ชานมชาววัง"
Var DrinkDescriptionTH = "ชาไทย ชามะลิ นม และคาราเมล"
Var DrinkDescription = "Thai Tea, Jasmine Tea, Milk, Caramel"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_royal_milk_tea.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $12-02-01-0085.Price
Var PriceD2 = $12-02-02-0085.Price
Var PriceD3 = $12-02-03-0085.Price
Var PD_CODE1 = "12-02-01-0085"
Var PD_CODE2 = "12-02-02-0085"
Var PD_CODE3 = "12-02-03-0085"
Var PD_STAGE_1 = $12-02-01-0085.Button
Var PD_STAGE_2 = $12-02-02-0085.Button
Var PD_STAGE_3 = $12-02-03-0085.Button
Var OverlayMenuFilter !assigned xmlpro( 12-02-01-0085, "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-0085"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "12-02-01-0085"
Else
Topping "Load" "12-02-03-0085"
EndIf
EndIf
Var menu_name_eng_hot = $12-02-01-0085.NameE
Var menu_desc_eng_hot = $12-02-01-0085.descriptionE
Var menu_name_thai_hot = $12-02-01-0085.Name
Var menu_desc_thai_hot = $12-02-01-0085.description
Var menu_name_eng_cold = $12-02-02-0085.NameE
Var menu_desc_eng_cold = $12-02-02-0085.descriptionE
Var menu_name_thai_cold = $12-02-02-0085.Name
Var menu_desc_thai_cold = $12-02-02-0085.description
Var menu_name_eng_blender = $12-02-03-0085.NameE
Var menu_desc_eng_blender = $12-02-03-0085.descriptionE
Var menu_name_thai_blender = $12-02-03-0085.Name
Var menu_desc_thai_blender = $12-02-03-0085.description
DEBUGVAR PD_STAGE_1
DEBUGVAR PD_STAGE_2
DEBUGVAR PD_STAGE_3
Var SelectDrinkType = 0
Var OpenFromInstMenuTab = 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> "Royal Milk Tea" </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> "Thai Tea, Jasmine Tea, Milk, Caramel" </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> $12-02-01-0085.Button </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> $12-02-01-0085.Button </State>
<Value> StringFmt( $12-02-01-0085.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-0085.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-0085.Button </State>
<Value> StringFmt( $12-02-02-0085.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> $12-02-03-0085.Button </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> $12-02-03-0085.Button </State>
<Value> StringFmt( $12-02-03-0085.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
</Text>
<Image>
<X> 81 </X>
<Y> 264 </Y>
<State>
eval(
If ICE_PROCESS_STATUS = 2 Then
If $Sum120201008512020200851202030085 = "Disable" Then
Var ice_tab_process_show = "Disable"
Else
Var ice_tab_process_show = "Enable"
EndIf
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 $Sum120201008512020200851202030085 = "Disable" Then
STRCONTAIN "ERR" $12-02-01-0085.TAG tag1_is_disable
STRCONTAIN "ERR" $12-02-02-0085.TAG tag2_is_disable
STRCONTAIN "ERR" $12-02-03-0085.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> $Sum120201008512020200851202030085 </State>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; - - -
; ==================> Len = 15
; 12-02-01-0084 12-02-02-0084 12-02-03-0084
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-02-01-0084.Button,12-02-02-0084.Button,12-02-03-0084.Button,DateTimeStart="2024/12/01T00:00:00",DateTimeEnd="2025/01/31T23:59:59",Disable=Invisible,$Sum120201008412020200841202030084) </State>
<Button>
<State> $Sum120201008412020200841202030084 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_traditional_green_tea.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_traditional_green_tea.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_traditional_green_tea.png" </FilenameDisable>
<OverlayImage> xmlpro( 12-02-01-0084, "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 = "Traditional Matcha"
Var NameDrinkTH = "มัทฉะโบราณ"
Var DrinkDescriptionTH = "ชามะลิ มัทฉะ นม และคาราเมล"
Var DrinkDescription = "Jasmine Tea, Matcha, Milk, Caramel"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_traditional_green_tea.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $12-02-01-0084.Price
Var PriceD2 = $12-02-02-0084.Price
Var PriceD3 = $12-02-03-0084.Price
Var PD_CODE1 = "12-02-01-0084"
Var PD_CODE2 = "12-02-02-0084"
Var PD_CODE3 = "12-02-03-0084"
Var PD_STAGE_1 = $12-02-01-0084.Button
Var PD_STAGE_2 = $12-02-02-0084.Button
Var PD_STAGE_3 = $12-02-03-0084.Button
Var OverlayMenuFilter !assigned xmlpro( 12-02-01-0084, "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-0084"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "12-02-01-0084"
Else
Topping "Load" "12-02-03-0084"
EndIf
EndIf
Var menu_name_eng_hot = $12-02-01-0084.NameE
Var menu_desc_eng_hot = $12-02-01-0084.descriptionE
Var menu_name_thai_hot = $12-02-01-0084.Name
Var menu_desc_thai_hot = $12-02-01-0084.description
Var menu_name_eng_cold = $12-02-02-0084.NameE
Var menu_desc_eng_cold = $12-02-02-0084.descriptionE
Var menu_name_thai_cold = $12-02-02-0084.Name
Var menu_desc_thai_cold = $12-02-02-0084.description
Var menu_name_eng_blender = $12-02-03-0084.NameE
Var menu_desc_eng_blender = $12-02-03-0084.descriptionE
Var menu_name_thai_blender = $12-02-03-0084.Name
Var menu_desc_thai_blender = $12-02-03-0084.description
DEBUGVAR PD_STAGE_1
DEBUGVAR PD_STAGE_2
DEBUGVAR PD_STAGE_3
Var SelectDrinkType = 0
Var OpenFromInstMenuTab = 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> "Traditional
Matcha" </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> "Jasmine Tea, Matcha, Milk, Caramel" </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> $12-02-01-0084.Button </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> $12-02-01-0084.Button </State>
<Value> StringFmt( $12-02-01-0084.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-0084.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-0084.Button </State>
<Value> StringFmt( $12-02-02-0084.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> $12-02-03-0084.Button </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> $12-02-03-0084.Button </State>
<Value> StringFmt( $12-02-03-0084.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
</Text>
<Image>
<X> 81 </X>
<Y> 264 </Y>
<State>
eval(
If ICE_PROCESS_STATUS = 2 Then
If $Sum120201008412020200841202030084 = "Disable" Then
Var ice_tab_process_show = "Disable"
Else
Var ice_tab_process_show = "Enable"
EndIf
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 $Sum120201008412020200841202030084 = "Disable" Then
STRCONTAIN "ERR" $12-02-01-0084.TAG tag1_is_disable
STRCONTAIN "ERR" $12-02-02-0084.TAG tag2_is_disable
STRCONTAIN "ERR" $12-02-03-0084.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> $Sum120201008412020200841202030084 </State>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; - - -
; ==================> Len = 15
; 12-02-01-0083 12-02-02-0083 12-02-03-0083
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-02-01-0083.Button,12-02-02-0083.Button,12-02-03-0083.Button,DateTimeStart="2024/12/01T00:00:00",DateTimeEnd="2025/01/31T23:59:59",Disable=Invisible,$Sum120201008312020200831202030083) </State>
<Button>
<State> $Sum120201008312020200831202030083 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_southern_fusion_tea.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_southern_fusion_tea.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_southern_fusion_tea.png" </FilenameDisable>
<OverlayImage> xmlpro( 12-02-01-0083, "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 = "Southern Fusion Tea"
Var NameDrinkTH = "ชาผสานปักษ์ใต้"
Var DrinkDescriptionTH = "มัทฉะ ชาไทย นม และคาราเมล"
Var DrinkDescription = "Matcha , Thai Tea, Milk Caramel"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_southern_fusion_tea.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $12-02-01-0083.Price
Var PriceD2 = $12-02-02-0083.Price
Var PriceD3 = $12-02-03-0083.Price
Var PD_CODE1 = "12-02-01-0083"
Var PD_CODE2 = "12-02-02-0083"
Var PD_CODE3 = "12-02-03-0083"
Var PD_STAGE_1 = $12-02-01-0083.Button
Var PD_STAGE_2 = $12-02-02-0083.Button
Var PD_STAGE_3 = $12-02-03-0083.Button
Var OverlayMenuFilter !assigned xmlpro( 12-02-01-0083, "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-0083"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "12-02-01-0083"
Else
Topping "Load" "12-02-03-0083"
EndIf
EndIf
Var menu_name_eng_hot = $12-02-01-0083.NameE
Var menu_desc_eng_hot = $12-02-01-0083.descriptionE
Var menu_name_thai_hot = $12-02-01-0083.Name
Var menu_desc_thai_hot = $12-02-01-0083.description
Var menu_name_eng_cold = $12-02-02-0083.NameE
Var menu_desc_eng_cold = $12-02-02-0083.descriptionE
Var menu_name_thai_cold = $12-02-02-0083.Name
Var menu_desc_thai_cold = $12-02-02-0083.description
Var menu_name_eng_blender = $12-02-03-0083.NameE
Var menu_desc_eng_blender = $12-02-03-0083.descriptionE
Var menu_name_thai_blender = $12-02-03-0083.Name
Var menu_desc_thai_blender = $12-02-03-0083.description
DEBUGVAR PD_STAGE_1
DEBUGVAR PD_STAGE_2
DEBUGVAR PD_STAGE_3
Var SelectDrinkType = 0
Var OpenFromInstMenuTab = 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> "Southern Fusion
Tea" </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> "Matcha , Thai Tea, Milk Caramel" </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> $12-02-01-0083.Button </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> $12-02-01-0083.Button </State>
<Value> StringFmt( $12-02-01-0083.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-0083.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-0083.Button </State>
<Value> StringFmt( $12-02-02-0083.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> $12-02-03-0083.Button </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> $12-02-03-0083.Button </State>
<Value> StringFmt( $12-02-03-0083.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
</Text>
<Image>
<X> 81 </X>
<Y> 264 </Y>
<State>
eval(
If ICE_PROCESS_STATUS = 2 Then
If $Sum120201008312020200831202030083 = "Disable" Then
Var ice_tab_process_show = "Disable"
Else
Var ice_tab_process_show = "Enable"
EndIf
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 $Sum120201008312020200831202030083 = "Disable" Then
STRCONTAIN "ERR" $12-02-01-0083.TAG tag1_is_disable
STRCONTAIN "ERR" $12-02-02-0083.TAG tag2_is_disable
STRCONTAIN "ERR" $12-02-03-0083.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> $Sum120201008312020200831202030083 </State>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; - - -
; ==================> Len = 20
@ -15092,7 +14325,6 @@ Limenade Soda" </Value>
<Button>
<X> 42 </X>
<Y> 518 </Y>
@ -15132,6 +14364,42 @@ Limenade Soda" </Value>
</EventOnClick>
<Video>
<X> 42 </X>
<Y> 518 </Y>
<Width> 484 </Width>
<Height> 616 </Height>
<Loop> "true" </Loop>
<State>
eval(
If show_eng = "true" Then
Var return = "Invisible"
Else
Var return = "Enable"
EndIf
)
</State>
<Filename> "ROOT/taobin_project/image/event/ovaltine_school/ovaltine_school.mp4" </Filename>
</Video>
<Video>
<X> 42 </X>
<Y> 518 </Y>
<Width> 484 </Width>
<Height> 616 </Height>
<State>
eval(
If show_eng = "true" Then
Var return = "Enable"
Else
Var return = "Invisible"
EndIf
)
</State>
<Loop> "true" </Loop>
<Filename> "ROOT/taobin_project/image/event/ovaltine_school/ovaltine_school.mp4" </Filename>
</Video>
</Button>
<EventUnitTest1>
@ -15143,7 +14411,6 @@ Limenade Soda" </Value>
Refresh
</EventUnitTest2>
<Button>
<X> 780 </X>
<Y> 500 </Y>

View file

@ -65,7 +65,7 @@
</Script>
;dummy_layout.inc
; menu_new_list 57
; menu_new_list 54
; ==================> Len = 15
; - 12-05-02-0141 12-05-03-0141
<Block>
@ -583,7 +583,7 @@ Soda" </Value>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-05-02-0139.Button,12-05-03-0139.Button,DateTimeStart="2025/01/21T00:00:00",Var=TaobinEnergyDrinkMenu,Disable=Invisible,$Sum12050201391205030139) </State>
<State> Flag( 12-05-02-0139.Button,12-05-03-0139.Button,DateTimeStart="2025/01/23T00:00:00",Var=TaobinEnergyDrinkMenu,Disable=Invisible,$Sum12050201391205030139) </State>
<Button>
<State> $Sum12050201391205030139 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_energy_drink_lime_soda.png" </Filename>
@ -838,7 +838,7 @@ Soda" </Value>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-05-02-0136.Button,12-05-03-0136.Button,DateTimeStart="2025/01/21T00:00:00",Var=TaobinEnergyDrinkMenu,Disable=Invisible,$Sum12050201361205030136) </State>
<State> Flag( 12-05-02-0136.Button,12-05-03-0136.Button,DateTimeStart="2025/01/23T00:00:00",Var=TaobinEnergyDrinkMenu,Disable=Invisible,$Sum12050201361205030136) </State>
<Button>
<State> $Sum12050201361205030136 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_energy_drink_Strawberry_soda.png" </Filename>
@ -1084,773 +1084,6 @@ Strawberry Soda" </Value>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; - - -
; ==================> Len = 15
; 12-02-01-0085 12-02-02-0085 12-02-03-0085
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-02-01-0085.Button,12-02-02-0085.Button,12-02-03-0085.Button,DateTimeStart="2024/12/01T00:00:00",DateTimeEnd="2025/01/31T23:59:59",Disable=Invisible,$Sum120201008512020200851202030085) </State>
<Button>
<State> $Sum120201008512020200851202030085 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_royal_milk_tea.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_royal_milk_tea.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_royal_milk_tea.png" </FilenameDisable>
<OverlayImage> xmlpro( 12-02-01-0085, "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 = "Royal Milk Tea"
Var NameDrinkTH = "ชานมชาววัง"
Var DrinkDescriptionTH = "ชาไทย ชามะลิ นม และคาราเมล"
Var DrinkDescription = "Thai Tea, Jasmine Tea, Milk, Caramel"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_royal_milk_tea.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $12-02-01-0085.Price
Var PriceD2 = $12-02-02-0085.Price
Var PriceD3 = $12-02-03-0085.Price
Var PD_CODE1 = "12-02-01-0085"
Var PD_CODE2 = "12-02-02-0085"
Var PD_CODE3 = "12-02-03-0085"
Var PD_STAGE_1 = $12-02-01-0085.Button
Var PD_STAGE_2 = $12-02-02-0085.Button
Var PD_STAGE_3 = $12-02-03-0085.Button
Var OverlayMenuFilter !assigned xmlpro( 12-02-01-0085, "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-0085"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "12-02-01-0085"
Else
Topping "Load" "12-02-03-0085"
EndIf
EndIf
Var menu_name_eng_hot = $12-02-01-0085.NameE
Var menu_desc_eng_hot = $12-02-01-0085.descriptionE
Var menu_name_thai_hot = $12-02-01-0085.Name
Var menu_desc_thai_hot = $12-02-01-0085.description
Var menu_name_eng_cold = $12-02-02-0085.NameE
Var menu_desc_eng_cold = $12-02-02-0085.descriptionE
Var menu_name_thai_cold = $12-02-02-0085.Name
Var menu_desc_thai_cold = $12-02-02-0085.description
Var menu_name_eng_blender = $12-02-03-0085.NameE
Var menu_desc_eng_blender = $12-02-03-0085.descriptionE
Var menu_name_thai_blender = $12-02-03-0085.Name
Var menu_desc_thai_blender = $12-02-03-0085.description
DEBUGVAR PD_STAGE_1
DEBUGVAR PD_STAGE_2
DEBUGVAR PD_STAGE_3
Var SelectDrinkType = 0
Var OpenFromInstMenuTab = 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> "Royal Milk Tea" </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> "Thai Tea, Jasmine Tea, Milk, Caramel" </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> $12-02-01-0085.Button </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> $12-02-01-0085.Button </State>
<Value> StringFmt( $12-02-01-0085.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-0085.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-0085.Button </State>
<Value> StringFmt( $12-02-02-0085.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> $12-02-03-0085.Button </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> $12-02-03-0085.Button </State>
<Value> StringFmt( $12-02-03-0085.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
</Text>
<Image>
<X> 81 </X>
<Y> 264 </Y>
<State>
eval(
If ICE_PROCESS_STATUS = 2 Then
If $Sum120201008512020200851202030085 = "Disable" Then
Var ice_tab_process_show = "Disable"
Else
Var ice_tab_process_show = "Enable"
EndIf
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 $Sum120201008512020200851202030085 = "Disable" Then
STRCONTAIN "ERR" $12-02-01-0085.TAG tag1_is_disable
STRCONTAIN "ERR" $12-02-02-0085.TAG tag2_is_disable
STRCONTAIN "ERR" $12-02-03-0085.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> $Sum120201008512020200851202030085 </State>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; - - -
; ==================> Len = 15
; 12-02-01-0084 12-02-02-0084 12-02-03-0084
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-02-01-0084.Button,12-02-02-0084.Button,12-02-03-0084.Button,DateTimeStart="2024/12/01T00:00:00",DateTimeEnd="2025/01/31T23:59:59",Disable=Invisible,$Sum120201008412020200841202030084) </State>
<Button>
<State> $Sum120201008412020200841202030084 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_traditional_green_tea.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_traditional_green_tea.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_traditional_green_tea.png" </FilenameDisable>
<OverlayImage> xmlpro( 12-02-01-0084, "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 = "Traditional Matcha"
Var NameDrinkTH = "มัทฉะโบราณ"
Var DrinkDescriptionTH = "ชามะลิ มัทฉะ นม และคาราเมล"
Var DrinkDescription = "Jasmine Tea, Matcha, Milk, Caramel"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_traditional_green_tea.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $12-02-01-0084.Price
Var PriceD2 = $12-02-02-0084.Price
Var PriceD3 = $12-02-03-0084.Price
Var PD_CODE1 = "12-02-01-0084"
Var PD_CODE2 = "12-02-02-0084"
Var PD_CODE3 = "12-02-03-0084"
Var PD_STAGE_1 = $12-02-01-0084.Button
Var PD_STAGE_2 = $12-02-02-0084.Button
Var PD_STAGE_3 = $12-02-03-0084.Button
Var OverlayMenuFilter !assigned xmlpro( 12-02-01-0084, "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-0084"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "12-02-01-0084"
Else
Topping "Load" "12-02-03-0084"
EndIf
EndIf
Var menu_name_eng_hot = $12-02-01-0084.NameE
Var menu_desc_eng_hot = $12-02-01-0084.descriptionE
Var menu_name_thai_hot = $12-02-01-0084.Name
Var menu_desc_thai_hot = $12-02-01-0084.description
Var menu_name_eng_cold = $12-02-02-0084.NameE
Var menu_desc_eng_cold = $12-02-02-0084.descriptionE
Var menu_name_thai_cold = $12-02-02-0084.Name
Var menu_desc_thai_cold = $12-02-02-0084.description
Var menu_name_eng_blender = $12-02-03-0084.NameE
Var menu_desc_eng_blender = $12-02-03-0084.descriptionE
Var menu_name_thai_blender = $12-02-03-0084.Name
Var menu_desc_thai_blender = $12-02-03-0084.description
DEBUGVAR PD_STAGE_1
DEBUGVAR PD_STAGE_2
DEBUGVAR PD_STAGE_3
Var SelectDrinkType = 0
Var OpenFromInstMenuTab = 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> "Traditional
Matcha" </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> "Jasmine Tea, Matcha, Milk, Caramel" </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> $12-02-01-0084.Button </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> $12-02-01-0084.Button </State>
<Value> StringFmt( $12-02-01-0084.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-0084.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-0084.Button </State>
<Value> StringFmt( $12-02-02-0084.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> $12-02-03-0084.Button </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> $12-02-03-0084.Button </State>
<Value> StringFmt( $12-02-03-0084.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
</Text>
<Image>
<X> 81 </X>
<Y> 264 </Y>
<State>
eval(
If ICE_PROCESS_STATUS = 2 Then
If $Sum120201008412020200841202030084 = "Disable" Then
Var ice_tab_process_show = "Disable"
Else
Var ice_tab_process_show = "Enable"
EndIf
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 $Sum120201008412020200841202030084 = "Disable" Then
STRCONTAIN "ERR" $12-02-01-0084.TAG tag1_is_disable
STRCONTAIN "ERR" $12-02-02-0084.TAG tag2_is_disable
STRCONTAIN "ERR" $12-02-03-0084.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> $Sum120201008412020200841202030084 </State>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; - - -
; ==================> Len = 15
; 12-02-01-0083 12-02-02-0083 12-02-03-0083
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-02-01-0083.Button,12-02-02-0083.Button,12-02-03-0083.Button,DateTimeStart="2024/12/01T00:00:00",DateTimeEnd="2025/01/31T23:59:59",Disable=Invisible,$Sum120201008312020200831202030083) </State>
<Button>
<State> $Sum120201008312020200831202030083 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_southern_fusion_tea.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_southern_fusion_tea.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_southern_fusion_tea.png" </FilenameDisable>
<OverlayImage> xmlpro( 12-02-01-0083, "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 = "Southern Fusion Tea"
Var NameDrinkTH = "ชาผสานปักษ์ใต้"
Var DrinkDescriptionTH = "มัทฉะ ชาไทย นม และคาราเมล"
Var DrinkDescription = "Matcha , Thai Tea, Milk Caramel"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_southern_fusion_tea.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $12-02-01-0083.Price
Var PriceD2 = $12-02-02-0083.Price
Var PriceD3 = $12-02-03-0083.Price
Var PD_CODE1 = "12-02-01-0083"
Var PD_CODE2 = "12-02-02-0083"
Var PD_CODE3 = "12-02-03-0083"
Var PD_STAGE_1 = $12-02-01-0083.Button
Var PD_STAGE_2 = $12-02-02-0083.Button
Var PD_STAGE_3 = $12-02-03-0083.Button
Var OverlayMenuFilter !assigned xmlpro( 12-02-01-0083, "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-0083"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "12-02-01-0083"
Else
Topping "Load" "12-02-03-0083"
EndIf
EndIf
Var menu_name_eng_hot = $12-02-01-0083.NameE
Var menu_desc_eng_hot = $12-02-01-0083.descriptionE
Var menu_name_thai_hot = $12-02-01-0083.Name
Var menu_desc_thai_hot = $12-02-01-0083.description
Var menu_name_eng_cold = $12-02-02-0083.NameE
Var menu_desc_eng_cold = $12-02-02-0083.descriptionE
Var menu_name_thai_cold = $12-02-02-0083.Name
Var menu_desc_thai_cold = $12-02-02-0083.description
Var menu_name_eng_blender = $12-02-03-0083.NameE
Var menu_desc_eng_blender = $12-02-03-0083.descriptionE
Var menu_name_thai_blender = $12-02-03-0083.Name
Var menu_desc_thai_blender = $12-02-03-0083.description
DEBUGVAR PD_STAGE_1
DEBUGVAR PD_STAGE_2
DEBUGVAR PD_STAGE_3
Var SelectDrinkType = 0
Var OpenFromInstMenuTab = 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> "Southern Fusion
Tea" </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> "Matcha , Thai Tea, Milk Caramel" </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> $12-02-01-0083.Button </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> $12-02-01-0083.Button </State>
<Value> StringFmt( $12-02-01-0083.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-0083.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-0083.Button </State>
<Value> StringFmt( $12-02-02-0083.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> $12-02-03-0083.Button </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> $12-02-03-0083.Button </State>
<Value> StringFmt( $12-02-03-0083.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
</Text>
<Image>
<X> 81 </X>
<Y> 264 </Y>
<State>
eval(
If ICE_PROCESS_STATUS = 2 Then
If $Sum120201008312020200831202030083 = "Disable" Then
Var ice_tab_process_show = "Disable"
Else
Var ice_tab_process_show = "Enable"
EndIf
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 $Sum120201008312020200831202030083 = "Disable" Then
STRCONTAIN "ERR" $12-02-01-0083.TAG tag1_is_disable
STRCONTAIN "ERR" $12-02-02-0083.TAG tag2_is_disable
STRCONTAIN "ERR" $12-02-03-0083.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> $Sum120201008312020200831202030083 </State>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; - - -
; ==================> Len = 20

View file

@ -1,4 +1,3 @@
<Button>
<X> 42 </X>
<Y> 518 </Y>
@ -37,6 +36,42 @@
</EventOnClick>
<Video>
<X> 42 </X>
<Y> 518 </Y>
<Width> 484 </Width>
<Height> 616 </Height>
<Loop> "true" </Loop>
<State>
eval(
If show_eng = "true" Then
Var return = "Invisible"
Else
Var return = "Enable"
EndIf
)
</State>
<Filename> "ROOT/taobin_project/image/event/ovaltine_school/ovaltine_school.mp4" </Filename>
</Video>
<Video>
<X> 42 </X>
<Y> 518 </Y>
<Width> 484 </Width>
<Height> 616 </Height>
<State>
eval(
If show_eng = "true" Then
Var return = "Enable"
Else
Var return = "Invisible"
EndIf
)
</State>
<Loop> "true" </Loop>
<Filename> "ROOT/taobin_project/image/event/ovaltine_school/ovaltine_school.mp4" </Filename>
</Video>
</Button>
<EventUnitTest1>
@ -46,4 +81,4 @@
<EventUnitTest2>
Var BigButtonEnable = "Invisible"
Refresh
</EventUnitTest2>
</EventUnitTest2>