update menu list

This commit is contained in:
wanlop run 2024-06-14 17:31:46 +07:00
parent 1c78577ee4
commit 36456d10bd
19 changed files with 1122 additions and 101 deletions

View file

@ -3617,6 +3617,261 @@ Sugar, Biscof" </Value>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; - - -
; ==================> Len = 12
; - - 12-03-03-0061
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-03-03-0061.Button,Disable=Invisible,$Sum1203030061) </State>
<Button>
<State> $Sum1203030061 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_cocoa_MILK_BISCOFF" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_cocoa_MILK_BISCOFF" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_cocoa_MILK_BISCOFF" </FilenameDisable>
<OverlayImage> xmlpro( 12-03-03-0061, "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 = "COCOA MILK BISCOFF VOLCANO"
Var NameDrinkTH = "โกโก้ บิสคอฟ"
Var DrinkDescriptionTH = "โกโก้ นม น้ำตาล บิสคอฟ"
Var DrinkDescription = "Cocoa, Milk, Sugar, Biscof"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_cocoa_MILK_BISCOFF"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $-.Price
Var PriceD2 = $-.Price
Var PriceD3 = $12-03-03-0061.Price
Var PD_CODE1 = "##-##-##-####"
Var PD_CODE2 = "##-##-##-####"
Var PD_CODE3 = "12-03-03-0061"
Var PD_STAGE_1 = "Disable2"
Var PD_STAGE_2 = "Disable2"
Var PD_STAGE_3 = $12-03-03-0061.Button
Var OverlayMenuFilter !assigned xmlpro( 12-03-03-0061, "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" "12-03-03-0061"
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 = $12-03-03-0061.NameE
Var menu_desc_eng_blender = $12-03-03-0061.descriptionE
Var menu_name_thai_blender = $12-03-03-0061.Name
Var menu_desc_thai_blender = $12-03-03-0061.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> "COCOA MILK
BISCOFF VOLCANO" </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> "Cocoa, Milk,
Sugar, Biscof" </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> $12-03-03-0061.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-03-03-0061.Button </State>
<Value> StringFmt( $12-03-03-0061.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 $Sum1203030061 = "Disable" Then
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
STRCONTAIN "ERR" $##-##-##-####.TAG tag2_is_disable
STRCONTAIN "ERR" $12-03-03-0061.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> $Sum1203030061 </State>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; - - -
; ==================> Len = 12

View file

@ -4165,6 +4165,263 @@ Sugar, Biscof" </Value>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; - - -
; ==================> Len = 12
; - - 12-03-03-0061
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-03-03-0061.Button,Disable=Invisible,$Sum1203030061) </State>
<Button>
<State> $Sum1203030061 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_cocoa_MILK_BISCOFF" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_cocoa_MILK_BISCOFF" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_cocoa_MILK_BISCOFF" </FilenameDisable>
<OverlayImage> xmlpro( 12-03-03-0061, "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 = "COCOA MILK BISCOFF VOLCANO"
Var NameDrinkTH = "โกโก้ บิสคอฟ"
Var DrinkDescriptionTH = "โกโก้ นม น้ำตาล บิสคอฟ"
Var DrinkDescription = "Cocoa, Milk, Sugar, Biscof"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_cocoa_MILK_BISCOFF"
Var OpenFromXML = CurrentXMLFileName2
GetInstanceIDMenuTab OpenFromInstMenuTab
Var PriceD1 = $-.Price
Var PriceD2 = $-.Price
Var PriceD3 = $12-03-03-0061.Price
Var PD_CODE1 = "##-##-##-####"
Var PD_CODE2 = "##-##-##-####"
Var PD_CODE3 = "12-03-03-0061"
Var PD_STAGE_1 = "Disable2"
Var PD_STAGE_2 = "Disable2"
Var PD_STAGE_3 = $12-03-03-0061.Button
Var OverlayMenuFilter !assigned xmlpro( 12-03-03-0061, "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" "12-03-03-0061"
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 = $12-03-03-0061.NameE
Var menu_desc_eng_blender = $12-03-03-0061.descriptionE
Var menu_name_thai_blender = $12-03-03-0061.Name
Var menu_desc_thai_blender = $12-03-03-0061.description
DEBUGVAR PD_STAGE_1
DEBUGVAR PD_STAGE_2
DEBUGVAR PD_STAGE_3
Var SelectDrinkType = 0
TabMenuVisibleInst 99
OpenInst 2 "/mnt/sdcard/coffeevending/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> "COCOA MILK
BISCOFF VOLCANO" </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> "Cocoa, Milk,
Sugar, Biscof" </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> 265 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> "Invisible" </State>
<Value> Var( "฿" + $-.Price ) </Value>
</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> 265 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> "Invisible" </State>
<Value> Var( "฿" + $-.Price ) </Value>
</Text>
<Image>
<X> 146 </X>
<Y> 264 </Y>
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
<State> $12-03-03-0061.Button </State>
</Image>
<Text>
<X> 183 </X>
<Y> 264 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-03-03-0061.Button </State>
<Value> Var( "฿" + $12-03-03-0061.Price ) </Value>
</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 $Sum1203030061 = "Disable" Then
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
STRCONTAIN "ERR" $##-##-##-####.TAG tag2_is_disable
STRCONTAIN "ERR" $12-03-03-0061.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> $Sum1203030061 </State>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; - - -
; ==================> Len = 12

View file

@ -4919,7 +4919,7 @@ Sugar, Oreo" </Value>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var NameDrink = "Thieves Invade The Hat Yai beach"
Var NameDrink = "Pirates in Hat Yai beach"
Var NameDrinkTH = "โจรบุกหาดใหญ่(มาก)"
Var DrinkDescriptionTH = "กาแฟมินต์ลาเต้"
Var DrinkDescription = "Espresso, Mint Syrup, Sugar, Milk"
@ -5016,8 +5016,7 @@ Sugar, Oreo" </Value>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showengText </State>
<Value> "Thieves Invade
The Hat Yai beach" </Value>
<Value> "Pirates in Hat Yai beach" </Value>
</Text>
<Text>
<X> 16 </X>
@ -5172,7 +5171,7 @@ Sugar, Milk" </Value>
<Volume> SoundVolume </Volume>
<OverlayImage> xmlpro( 12-21-02-0057, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
<EventOnClick>
Var NameDrink = "Thieves Invade The Hat Yai beach"
Var NameDrink = "Pirates in Hat Yai beach"
Var NameDrinkTH = "โจรบุกหาดใหญ่(มาก)"
Var DrinkDescriptionTH = "กาแฟมินต์ลาเต้"
Var DrinkDescription = "Espresso, Mint Syrup, Sugar, Milk"
@ -5269,8 +5268,7 @@ Sugar, Milk" </Value>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showengText </State>
<Value> "Thieves Invade
The Hat Yai beach" </Value>
<Value> "Pirates in Hat Yai beach" </Value>
</Text>
<Text>
<X> 16 </X>
@ -5426,7 +5424,7 @@ Sugar, Milk" </Value>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var NameDrink = "Thieves Invade The Bangsaen Beach"
Var NameDrink = "Pirates in Bangsaen Beach"
Var NameDrinkTH = "โจรบุกหาดบางแสน (ห้า)"
Var DrinkDescriptionTH = "มินต์กาโน่"
Var DrinkDescription = "Espresso, Mint Syrup, Sugar, Water"
@ -5524,8 +5522,7 @@ Sugar, Milk" </Value>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showengText </State>
<Value> "Thieves Invade
The Bangsaen Beach" </Value>
<Value> "Pirates in Bangsaen Beach" </Value>
</Text>
<Text>
<X> 16 </X>
@ -5680,7 +5677,7 @@ Sugar, Water" </Value>
<Volume> SoundVolume </Volume>
<OverlayImage> xmlpro( 12-21-02-0058, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
<EventOnClick>
Var NameDrink = "Thieves Invade The Bangsaen Beach"
Var NameDrink = "Pirates in Bangsaen Beach"
Var NameDrinkTH = "โจรบุกหาดบางแสน (ห้า)"
Var DrinkDescriptionTH = "มินต์กาโน่"
Var DrinkDescription = "Espresso, Mint Syrup, Sugar, Water"
@ -5778,8 +5775,7 @@ Sugar, Water" </Value>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showengText </State>
<Value> "Thieves Invade
The Bangsaen Beach" </Value>
<Value> "Pirates in Bangsaen Beach" </Value>
</Text>
<Text>
<X> 16 </X>
@ -5935,7 +5931,7 @@ Sugar, Water" </Value>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var NameDrink = "Thieves Invade The Glass Sand Beach"
Var NameDrink = "Pirates in Glass Sand Beach"
Var NameDrinkTH = "โจรบุกหาดทรายแก้ว (มังกร)"
Var DrinkDescriptionTH = "มัทฉะลาเต้มินต์"
Var DrinkDescription = "Matcha, Mint Syrup &Milk"
@ -6033,8 +6029,7 @@ Sugar, Water" </Value>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showengText </State>
<Value> "Thieves Invade
The Glass Sand Beach" </Value>
<Value> "Pirates in Glass Sand Beach" </Value>
</Text>
<Text>
<X> 16 </X>
@ -6190,7 +6185,7 @@ The Glass Sand Beach" </Value>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var NameDrink = "Thieves Invade The Mae Pim Beach"
Var NameDrink = "Pirates in Mae Pim Beach"
Var NameDrinkTH = "โจรบุกหาดแม่พิมพ์(ดีด)"
Var DrinkDescriptionTH = "มิมต์มอคค่า"
Var DrinkDescription = "Espresso, Mint Syrup, Milk"
@ -6287,8 +6282,7 @@ The Glass Sand Beach" </Value>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showengText </State>
<Value> "Thieves Invade
The Mae Pim Beach" </Value>
<Value> "Pirates in Mae Pim Beach" </Value>
</Text>
<Text>
<X> 16 </X>
@ -6442,7 +6436,7 @@ The Mae Pim Beach" </Value>
<Volume> SoundVolume </Volume>
<OverlayImage> xmlpro( 12-21-02-0064, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
<EventOnClick>
Var NameDrink = "Thieves Invade The Mae Pim Beach"
Var NameDrink = "Pirates in Mae Pim Beach"
Var NameDrinkTH = "โจรบุกหาดแม่พิมพ์(ดีด)"
Var DrinkDescriptionTH = "มิมต์มอคค่า"
Var DrinkDescription = "Espresso, Mint Syrup, Milk"
@ -6539,8 +6533,7 @@ The Mae Pim Beach" </Value>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showengText </State>
<Value> "Thieves Invade
The Mae Pim Beach" </Value>
<Value> "Pirates in Mae Pim Beach" </Value>
</Text>
<Text>
<X> 16 </X>
@ -6695,7 +6688,7 @@ The Mae Pim Beach" </Value>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var NameDrink = "Thieves Invade The Nang Ram Beach"
Var NameDrink = "Pirates in Nang Ram Beach"
Var NameDrinkTH = "โจรบุกหาดนางรำ (สวย)"
Var DrinkDescriptionTH = "โกโก้มินต์"
Var DrinkDescription = "Mint Syrup, Milk, Sugar, Cocoa"
@ -6793,8 +6786,7 @@ The Mae Pim Beach" </Value>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showengText </State>
<Value> "Thieves Invade
The Nang Ram Beach" </Value>
<Value> "Pirates in Nang Ram Beach" </Value>
</Text>
<Text>
<X> 16 </X>
@ -6951,7 +6943,7 @@ Sugar, Cocoa" </Value>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var NameDrink = "Thieves Invade The Toem Rak Beach"
Var NameDrink = "Pirates in Toem Rak Beach"
Var NameDrinkTH = "โจรบุกหาดแม่พิมพ์ (ดีด)"
Var DrinkDescriptionTH = "มินต์โอริโอ้ภูเขาไฟ"
Var DrinkDescription = "Mint Syrup, Milk, Sugar, Oreo"
@ -7049,8 +7041,7 @@ Sugar, Cocoa" </Value>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showengText </State>
<Value> "Thieves Invade
The Toem Rak Beach" </Value>
<Value> "Pirates in Toem Rak Beach" </Value>
</Text>
<Text>
<X> 16 </X>
@ -7207,7 +7198,7 @@ Sugar, Oreo" </Value>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var NameDrink = "Thieves Invade The Hat Beach"
Var NameDrink = "Pirates in Hat Beach "
Var NameDrinkTH = "โจรบุกหาด(ใกล้ฉัน)"
Var DrinkDescriptionTH = "นมสตรอเบอร์รี่มินต์"
Var DrinkDescription = "Mint Syrup, Milk, Strawberry Syrup"
@ -7304,8 +7295,7 @@ Sugar, Oreo" </Value>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showengText </State>
<Value> "Thieves Invade
The Hat Beach" </Value>
<Value> "Pirates in Hat Beach " </Value>
</Text>
<Text>
<X> 16 </X>
@ -7462,7 +7452,7 @@ Strawberry Syrup" </Value>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var NameDrink = "Thieves Invade The Pattaya Beach"
Var NameDrink = "Pirates in Pattaya Beach"
Var NameDrinkTH = "โจรบุกหาดพัทยา (พารา)"
Var DrinkDescriptionTH = "สตรอเบอร์รี่ มินต์โซดา"
Var DrinkDescription = "Mint Syrup, Strawberry Syrup, Lime, Soda & Ice"
@ -7561,8 +7551,7 @@ Strawberry Syrup" </Value>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showengText </State>
<Value> "Thieves Invade
The Pattaya Beach" </Value>
<Value> "Pirates in Pattaya Beach" </Value>
</Text>
<Text>
<X> 16 </X>
@ -7718,7 +7707,7 @@ The Pattaya Beach" </Value>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var NameDrink = "Thieves Invade The Suan Son Beach"
Var NameDrink = "Pirates in Suan Son Beach"
Var NameDrinkTH = "โจรบุกหาดสวนสน (ใจไหม)"
Var DrinkDescriptionTH = "ยูซุมินต์โซดา"
Var DrinkDescription = "Mint Syrup, Yuzu Syrup Soda & Ice"
@ -7816,8 +7805,7 @@ The Pattaya Beach" </Value>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showengText </State>
<Value> "Thieves Invade
The Suan Son Beach" </Value>
<Value> "Pirates in Suan Son Beach" </Value>
</Text>
<Text>
<X> 16 </X>
@ -7973,7 +7961,7 @@ The Suan Son Beach" </Value>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var NameDrink = "Thieves Invade The Long Beach"
Var NameDrink = "Pirates in Long Beach "
Var NameDrinkTH = "โจรบุกหาดยาว (ไปยาวไป)"
Var DrinkDescriptionTH = "เป๊ปซี่มินต์"
Var DrinkDescription = "Pepsi, Mint Syrup and Soda"
@ -8071,8 +8059,7 @@ The Suan Son Beach" </Value>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showengText </State>
<Value> "Thieves Invade
The Long Beach" </Value>
<Value> "Pirates in Long Beach " </Value>
</Text>
<Text>
<X> 16 </X>

View file

@ -624,7 +624,7 @@
</QRCode>
</Block>
;dummy_layout.inc
; menu_new_list 49
; menu_new_list 50
;TAGESP
; ==================> Len = 17
; 12-02-01-0039 12-02-02-0039 12-02-03-0039
@ -3188,6 +3188,263 @@ Sugar, Biscof" </Value>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; - - -
; ==================> Len = 12
; - - 12-03-03-0061
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-03-03-0061.Button,Disable=Invisible,$Sum1203030061) </State>
<Button>
<State> $Sum1203030061 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_cocoa_MILK_BISCOFF" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_cocoa_MILK_BISCOFF" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_cocoa_MILK_BISCOFF" </FilenameDisable>
<OverlayImage> xmlpro( 12-03-03-0061, "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 = "COCOA MILK BISCOFF VOLCANO"
Var NameDrinkTH = "โกโก้ บิสคอฟ"
Var DrinkDescriptionTH = "โกโก้ นม น้ำตาล บิสคอฟ"
Var DrinkDescription = "Cocoa, Milk, Sugar, Biscof"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_cocoa_MILK_BISCOFF"
Var OpenFromXML = CurrentXMLFileName2
GetInstanceIDMenuTab OpenFromInstMenuTab
Var PriceD1 = $-.Price
Var PriceD2 = $-.Price
Var PriceD3 = $12-03-03-0061.Price
Var PD_CODE1 = "##-##-##-####"
Var PD_CODE2 = "##-##-##-####"
Var PD_CODE3 = "12-03-03-0061"
Var PD_STAGE_1 = "Disable2"
Var PD_STAGE_2 = "Disable2"
Var PD_STAGE_3 = $12-03-03-0061.Button
Var OverlayMenuFilter !assigned xmlpro( 12-03-03-0061, "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" "12-03-03-0061"
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 = $12-03-03-0061.NameE
Var menu_desc_eng_blender = $12-03-03-0061.descriptionE
Var menu_name_thai_blender = $12-03-03-0061.Name
Var menu_desc_thai_blender = $12-03-03-0061.description
DEBUGVAR PD_STAGE_1
DEBUGVAR PD_STAGE_2
DEBUGVAR PD_STAGE_3
Var SelectDrinkType = 0
TabMenuVisibleInst 99
OpenInst 2 "/mnt/sdcard/coffeevending/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> "COCOA MILK
BISCOFF VOLCANO" </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> "Cocoa, Milk,
Sugar, Biscof" </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> 265 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> "Invisible" </State>
<Value> Var( "฿" + $-.Price ) </Value>
</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> 265 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> "Invisible" </State>
<Value> Var( "฿" + $-.Price ) </Value>
</Text>
<Image>
<X> 146 </X>
<Y> 264 </Y>
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
<State> $12-03-03-0061.Button </State>
</Image>
<Text>
<X> 183 </X>
<Y> 264 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-03-03-0061.Button </State>
<Value> Var( "฿" + $12-03-03-0061.Price ) </Value>
</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 $Sum1203030061 = "Disable" Then
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
STRCONTAIN "ERR" $##-##-##-####.TAG tag2_is_disable
STRCONTAIN "ERR" $12-03-03-0061.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> $Sum1203030061 </State>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; - - -
; ==================> Len = 12

View file

@ -4368,7 +4368,7 @@ Sugar, Oreo" </Value>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var NameDrink = "Thieves Invade The Hat Yai beach"
Var NameDrink = "Pirates in Hat Yai beach"
Var NameDrinkTH = "โจรบุกหาดใหญ่(มาก)"
Var DrinkDescriptionTH = "กาแฟมินต์ลาเต้"
Var DrinkDescription = "Espresso, Mint Syrup, Sugar, Milk"
@ -4464,8 +4464,7 @@ Sugar, Oreo" </Value>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showengText </State>
<Value> "Thieves Invade
The Hat Yai beach" </Value>
<Value> "Pirates in Hat Yai beach" </Value>
</Text>
<Text>
<X> 16 </X>
@ -4620,7 +4619,7 @@ Sugar, Milk" </Value>
<Volume> SoundVolume </Volume>
<OverlayImage> xmlpro( 12-21-02-0057, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
<EventOnClick>
Var NameDrink = "Thieves Invade The Hat Yai beach"
Var NameDrink = "Pirates in Hat Yai beach"
Var NameDrinkTH = "โจรบุกหาดใหญ่(มาก)"
Var DrinkDescriptionTH = "กาแฟมินต์ลาเต้"
Var DrinkDescription = "Espresso, Mint Syrup, Sugar, Milk"
@ -4716,8 +4715,7 @@ Sugar, Milk" </Value>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showengText </State>
<Value> "Thieves Invade
The Hat Yai beach" </Value>
<Value> "Pirates in Hat Yai beach" </Value>
</Text>
<Text>
<X> 16 </X>
@ -4873,7 +4871,7 @@ Sugar, Milk" </Value>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var NameDrink = "Thieves Invade The Bangsaen Beach"
Var NameDrink = "Pirates in Bangsaen Beach"
Var NameDrinkTH = "โจรบุกหาดบางแสน (ห้า)"
Var DrinkDescriptionTH = "มินต์กาโน่"
Var DrinkDescription = "Espresso, Mint Syrup, Sugar, Water"
@ -4970,8 +4968,7 @@ Sugar, Milk" </Value>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showengText </State>
<Value> "Thieves Invade
The Bangsaen Beach" </Value>
<Value> "Pirates in Bangsaen Beach" </Value>
</Text>
<Text>
<X> 16 </X>
@ -5126,7 +5123,7 @@ Sugar, Water" </Value>
<Volume> SoundVolume </Volume>
<OverlayImage> xmlpro( 12-21-02-0058, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
<EventOnClick>
Var NameDrink = "Thieves Invade The Bangsaen Beach"
Var NameDrink = "Pirates in Bangsaen Beach"
Var NameDrinkTH = "โจรบุกหาดบางแสน (ห้า)"
Var DrinkDescriptionTH = "มินต์กาโน่"
Var DrinkDescription = "Espresso, Mint Syrup, Sugar, Water"
@ -5223,8 +5220,7 @@ Sugar, Water" </Value>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showengText </State>
<Value> "Thieves Invade
The Bangsaen Beach" </Value>
<Value> "Pirates in Bangsaen Beach" </Value>
</Text>
<Text>
<X> 16 </X>
@ -5380,7 +5376,7 @@ Sugar, Water" </Value>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var NameDrink = "Thieves Invade The Glass Sand Beach"
Var NameDrink = "Pirates in Glass Sand Beach"
Var NameDrinkTH = "โจรบุกหาดทรายแก้ว (มังกร)"
Var DrinkDescriptionTH = "มัทฉะลาเต้มินต์"
Var DrinkDescription = "Matcha, Mint Syrup &Milk"
@ -5477,8 +5473,7 @@ Sugar, Water" </Value>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showengText </State>
<Value> "Thieves Invade
The Glass Sand Beach" </Value>
<Value> "Pirates in Glass Sand Beach" </Value>
</Text>
<Text>
<X> 16 </X>
@ -5634,7 +5629,7 @@ The Glass Sand Beach" </Value>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var NameDrink = "Thieves Invade The Mae Pim Beach"
Var NameDrink = "Pirates in Mae Pim Beach"
Var NameDrinkTH = "โจรบุกหาดแม่พิมพ์(ดีด)"
Var DrinkDescriptionTH = "มิมต์มอคค่า"
Var DrinkDescription = "Espresso, Mint Syrup, Milk"
@ -5730,8 +5725,7 @@ The Glass Sand Beach" </Value>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showengText </State>
<Value> "Thieves Invade
The Mae Pim Beach" </Value>
<Value> "Pirates in Mae Pim Beach" </Value>
</Text>
<Text>
<X> 16 </X>
@ -5885,7 +5879,7 @@ The Mae Pim Beach" </Value>
<Volume> SoundVolume </Volume>
<OverlayImage> xmlpro( 12-21-02-0064, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
<EventOnClick>
Var NameDrink = "Thieves Invade The Mae Pim Beach"
Var NameDrink = "Pirates in Mae Pim Beach"
Var NameDrinkTH = "โจรบุกหาดแม่พิมพ์(ดีด)"
Var DrinkDescriptionTH = "มิมต์มอคค่า"
Var DrinkDescription = "Espresso, Mint Syrup, Milk"
@ -5981,8 +5975,7 @@ The Mae Pim Beach" </Value>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showengText </State>
<Value> "Thieves Invade
The Mae Pim Beach" </Value>
<Value> "Pirates in Mae Pim Beach" </Value>
</Text>
<Text>
<X> 16 </X>
@ -6137,7 +6130,7 @@ The Mae Pim Beach" </Value>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var NameDrink = "Thieves Invade The Nang Ram Beach"
Var NameDrink = "Pirates in Nang Ram Beach"
Var NameDrinkTH = "โจรบุกหาดนางรำ (สวย)"
Var DrinkDescriptionTH = "โกโก้มินต์"
Var DrinkDescription = "Mint Syrup, Milk, Sugar, Cocoa"
@ -6234,8 +6227,7 @@ The Mae Pim Beach" </Value>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showengText </State>
<Value> "Thieves Invade
The Nang Ram Beach" </Value>
<Value> "Pirates in Nang Ram Beach" </Value>
</Text>
<Text>
<X> 16 </X>
@ -6392,7 +6384,7 @@ Sugar, Cocoa" </Value>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var NameDrink = "Thieves Invade The Toem Rak Beach"
Var NameDrink = "Pirates in Toem Rak Beach"
Var NameDrinkTH = "โจรบุกหาดแม่พิมพ์ (ดีด)"
Var DrinkDescriptionTH = "มินต์โอริโอ้ภูเขาไฟ"
Var DrinkDescription = "Mint Syrup, Milk, Sugar, Oreo"
@ -6489,8 +6481,7 @@ Sugar, Cocoa" </Value>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showengText </State>
<Value> "Thieves Invade
The Toem Rak Beach" </Value>
<Value> "Pirates in Toem Rak Beach" </Value>
</Text>
<Text>
<X> 16 </X>
@ -6647,7 +6638,7 @@ Sugar, Oreo" </Value>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var NameDrink = "Thieves Invade The Hat Beach"
Var NameDrink = "Pirates in Hat Beach "
Var NameDrinkTH = "โจรบุกหาด(ใกล้ฉัน)"
Var DrinkDescriptionTH = "นมสตรอเบอร์รี่มินต์"
Var DrinkDescription = "Mint Syrup, Milk, Strawberry Syrup"
@ -6743,8 +6734,7 @@ Sugar, Oreo" </Value>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showengText </State>
<Value> "Thieves Invade
The Hat Beach" </Value>
<Value> "Pirates in Hat Beach " </Value>
</Text>
<Text>
<X> 16 </X>
@ -6901,7 +6891,7 @@ Strawberry Syrup" </Value>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var NameDrink = "Thieves Invade The Pattaya Beach"
Var NameDrink = "Pirates in Pattaya Beach"
Var NameDrinkTH = "โจรบุกหาดพัทยา (พารา)"
Var DrinkDescriptionTH = "สตรอเบอร์รี่ มินต์โซดา"
Var DrinkDescription = "Mint Syrup, Strawberry Syrup, Lime, Soda & Ice"
@ -6999,8 +6989,7 @@ Strawberry Syrup" </Value>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showengText </State>
<Value> "Thieves Invade
The Pattaya Beach" </Value>
<Value> "Pirates in Pattaya Beach" </Value>
</Text>
<Text>
<X> 16 </X>
@ -7156,7 +7145,7 @@ The Pattaya Beach" </Value>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var NameDrink = "Thieves Invade The Suan Son Beach"
Var NameDrink = "Pirates in Suan Son Beach"
Var NameDrinkTH = "โจรบุกหาดสวนสน (ใจไหม)"
Var DrinkDescriptionTH = "ยูซุมินต์โซดา"
Var DrinkDescription = "Mint Syrup, Yuzu Syrup Soda & Ice"
@ -7253,8 +7242,7 @@ The Pattaya Beach" </Value>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showengText </State>
<Value> "Thieves Invade
The Suan Son Beach" </Value>
<Value> "Pirates in Suan Son Beach" </Value>
</Text>
<Text>
<X> 16 </X>
@ -7410,7 +7398,7 @@ The Suan Son Beach" </Value>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var NameDrink = "Thieves Invade The Long Beach"
Var NameDrink = "Pirates in Long Beach "
Var NameDrinkTH = "โจรบุกหาดยาว (ไปยาวไป)"
Var DrinkDescriptionTH = "เป๊ปซี่มินต์"
Var DrinkDescription = "Pepsi, Mint Syrup and Soda"
@ -7507,8 +7495,7 @@ The Suan Son Beach" </Value>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showengText </State>
<Value> "Thieves Invade
The Long Beach" </Value>
<Value> "Pirates in Long Beach " </Value>
</Text>
<Text>
<X> 16 </X>

View file

@ -94,7 +94,7 @@
</QRCode>
</Block>
;dummy_layout.inc
; menu_new_list 49
; menu_new_list 50
;TAGESP
; ==================> Len = 17
; 12-02-01-0039 12-02-02-0039 12-02-03-0039
@ -2638,6 +2638,261 @@ Sugar, Biscof" </Value>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; - - -
; ==================> Len = 12
; - - 12-03-03-0061
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-03-03-0061.Button,Disable=Invisible,$Sum1203030061) </State>
<Button>
<State> $Sum1203030061 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_cocoa_MILK_BISCOFF" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_cocoa_MILK_BISCOFF" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_cocoa_MILK_BISCOFF" </FilenameDisable>
<OverlayImage> xmlpro( 12-03-03-0061, "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 = "COCOA MILK BISCOFF VOLCANO"
Var NameDrinkTH = "โกโก้ บิสคอฟ"
Var DrinkDescriptionTH = "โกโก้ นม น้ำตาล บิสคอฟ"
Var DrinkDescription = "Cocoa, Milk, Sugar, Biscof"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_cocoa_MILK_BISCOFF"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $-.Price
Var PriceD2 = $-.Price
Var PriceD3 = $12-03-03-0061.Price
Var PD_CODE1 = "##-##-##-####"
Var PD_CODE2 = "##-##-##-####"
Var PD_CODE3 = "12-03-03-0061"
Var PD_STAGE_1 = "Disable2"
Var PD_STAGE_2 = "Disable2"
Var PD_STAGE_3 = $12-03-03-0061.Button
Var OverlayMenuFilter !assigned xmlpro( 12-03-03-0061, "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" "12-03-03-0061"
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 = $12-03-03-0061.NameE
Var menu_desc_eng_blender = $12-03-03-0061.descriptionE
Var menu_name_thai_blender = $12-03-03-0061.Name
Var menu_desc_thai_blender = $12-03-03-0061.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> "COCOA MILK
BISCOFF VOLCANO" </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> "Cocoa, Milk,
Sugar, Biscof" </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> $12-03-03-0061.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-03-03-0061.Button </State>
<Value> StringFmt( $12-03-03-0061.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 $Sum1203030061 = "Disable" Then
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
STRCONTAIN "ERR" $##-##-##-####.TAG tag2_is_disable
STRCONTAIN "ERR" $12-03-03-0061.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> $Sum1203030061 </State>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; - - -
; ==================> Len = 12