818 lines
24 KiB
XML
818 lines
24 KiB
XML
|
|
|
|
<Popup>
|
|
<Cache> "Enable" </Cache>
|
|
<Width> 1080 </Width>
|
|
<Height> 1920 </Height>
|
|
;<Background> "0xeae6e1" </Background>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventOpen>
|
|
; On open
|
|
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
|
|
Var FromMyMintPro = 0
|
|
|
|
Var Timeout = 0
|
|
|
|
|
|
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
|
|
|
|
</EventOpen>
|
|
|
|
|
|
;include="ROOT/taobin_project/xml/menu_catalog_new.xml"
|
|
|
|
|
|
<FrameScroll>
|
|
<X> 10 </X>
|
|
<Y> 497 </Y>
|
|
<Width> 1080 </Width>
|
|
<ScrollHeight> "auto" </ScrollHeight>
|
|
<Scroll> "Vertical" </Scroll>
|
|
<Column> 4 </Column>
|
|
<Script>
|
|
Var block_index_override = 0
|
|
Var block_index_move = 0
|
|
</Script>
|
|
;dummy_layout.inc
|
|
; menu_new_list 3
|
|
; ==================> Len = 15
|
|
; - - 12-99-03-0026
|
|
<Block>
|
|
<MarginLeft> 33 </MarginLeft>
|
|
<MarginTop> 22 </MarginTop>
|
|
<Width> 225 </Width>
|
|
<Height> 296 </Height>
|
|
<State> Flag( 12-99-03-0026.Button,$Sum1299030026) </State>
|
|
<Button>
|
|
<State> $Sum1299030026 </State>
|
|
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_smoothie_oreo_freefire.png" </Filename>
|
|
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_smoothie_oreo_freefire.png" </FilenamePress>
|
|
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_smoothie_oreo_freefire.png" </FilenameDisable>
|
|
<OverlayImage> xmlpro( 12-99-03-0026, "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 = ""
|
|
Var NameDrinkTH = "คาเพลล่าสวีทดริ๊งค์"
|
|
Var DrinkDescriptionTH = "สตรอเบอรี นม น้ำตาล Oreo"
|
|
Var DrinkDescription = "Strawberry , Milk, Sugar, Oreo"
|
|
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_smoothie_oreo_freefire.png"
|
|
Var OpenFromXML = CurrentXMLFileName2
|
|
Var PriceD1 = $-.Price
|
|
Var PriceD2 = $-.Price
|
|
Var PriceD3 = $12-99-03-0026.Price
|
|
Var PD_CODE1 = "##-##-##-####"
|
|
Var PD_CODE2 = "##-##-##-####"
|
|
Var PD_CODE3 = "12-99-03-0026"
|
|
Var PD_STAGE_1 = "Disable2"
|
|
Var PD_STAGE_2 = "Disable2"
|
|
Var PD_STAGE_3 = $12-99-03-0026.Button
|
|
Var OverlayMenuFilter !assigned xmlpro( 12-99-03-0026, "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-99-03-0026"
|
|
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-99-03-0026.NameE
|
|
Var menu_desc_eng_blender = $12-99-03-0026.descriptionE
|
|
Var menu_name_thai_blender = $12-99-03-0026.Name
|
|
Var menu_desc_thai_blender = $12-99-03-0026.description
|
|
|
|
DEBUGVAR PD_STAGE_1
|
|
DEBUGVAR PD_STAGE_2
|
|
DEBUGVAR PD_STAGE_3
|
|
Var SelectDrinkType = 0
|
|
|
|
|
|
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
|
|
|
</EventOnClick>
|
|
</Button>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 164 </Y>
|
|
<Size> 24 </Size>
|
|
<Width>220</Width>
|
|
<Mode> "multi2" </Mode>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x322B26 </Color>
|
|
<State> showthaiText </State>
|
|
<Value> "คาเพลล่าสวีทดริ๊งค์" </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 220 </Y>
|
|
<Size> 14 </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x6F5F51 </Color>
|
|
<State> showthaiText </State>
|
|
<Value> "สตรอเบอรี นม น้ำตาล
|
|
Oreo" </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> "" </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> "Strawberry , Milk,
|
|
Sugar, Oreo" </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-99-03-0026.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-99-03-0026.Button </State>
|
|
<Value> StringFmt( $12-99-03-0026.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 $Sum1299030026 = "Disable" Then
|
|
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
|
STRCONTAIN "ERR" $##-##-##-####.TAG tag2_is_disable
|
|
STRCONTAIN "ERR" $12-99-03-0026.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> $Sum1299030026 </State>
|
|
<Value> text_unavailable </Value>
|
|
<Align> center-vertical-horizontal </Align>
|
|
</Text>
|
|
</Block>
|
|
; - - -
|
|
; ==================> Len = 15
|
|
; - - 12-99-03-0067
|
|
<Block>
|
|
<MarginLeft> 33 </MarginLeft>
|
|
<MarginTop> 22 </MarginTop>
|
|
<Width> 225 </Width>
|
|
<Height> 296 </Height>
|
|
<State> Flag( 12-99-03-0067.Button,$Sum1299030067) </State>
|
|
<Button>
|
|
<State> $Sum1299030067 </State>
|
|
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_smoothie_oreo_Chocolate_Milk_freefire.png" </Filename>
|
|
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_smoothie_oreo_Chocolate_Milk_freefire.png" </FilenamePress>
|
|
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_smoothie_oreo_Chocolate_Milk_freefire.png" </FilenameDisable>
|
|
<OverlayImage> xmlpro( 12-99-03-0067, "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 = "Maxim's Booster"
|
|
Var NameDrinkTH = "แม๊กซิมบูสเตอร์ "
|
|
Var DrinkDescriptionTH = "เป๊ปซี่ โกโก้ นม และโอรีโอ"
|
|
Var DrinkDescription = "Pepsi, Cocoa, Milk, Oreo and Ice"
|
|
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_smoothie_oreo_Chocolate_Milk_freefire.png"
|
|
Var OpenFromXML = CurrentXMLFileName2
|
|
Var PriceD1 = $-.Price
|
|
Var PriceD2 = $-.Price
|
|
Var PriceD3 = $12-99-03-0067.Price
|
|
Var PD_CODE1 = "##-##-##-####"
|
|
Var PD_CODE2 = "##-##-##-####"
|
|
Var PD_CODE3 = "12-99-03-0067"
|
|
Var PD_STAGE_1 = "Disable2"
|
|
Var PD_STAGE_2 = "Disable2"
|
|
Var PD_STAGE_3 = $12-99-03-0067.Button
|
|
Var OverlayMenuFilter !assigned xmlpro( 12-99-03-0067, "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-99-03-0067"
|
|
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-99-03-0067.NameE
|
|
Var menu_desc_eng_blender = $12-99-03-0067.descriptionE
|
|
Var menu_name_thai_blender = $12-99-03-0067.Name
|
|
Var menu_desc_thai_blender = $12-99-03-0067.description
|
|
|
|
DEBUGVAR PD_STAGE_1
|
|
DEBUGVAR PD_STAGE_2
|
|
DEBUGVAR PD_STAGE_3
|
|
Var SelectDrinkType = 0
|
|
|
|
|
|
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
|
|
|
</EventOnClick>
|
|
</Button>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 164 </Y>
|
|
<Size> 24 </Size>
|
|
<Width>220</Width>
|
|
<Mode> "multi2" </Mode>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x322B26 </Color>
|
|
<State> showthaiText </State>
|
|
<Value> "แม๊กซิมบูสเตอร์ " </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 220 </Y>
|
|
<Size> 14 </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x6F5F51 </Color>
|
|
<State> showthaiText </State>
|
|
<Value> "เป๊ปซี่ โกโก้ นม และโอรีโอ" </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 164 </Y>
|
|
<Size> 22 </Size>
|
|
<Width>220</Width>
|
|
<Mode> "multi2" </Mode>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x322B26 </Color>
|
|
<State> showengText </State>
|
|
<Value> "Maxim's Booster" </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> "Pepsi, Cocoa, Milk, Oreo and Ice" </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-99-03-0067.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-99-03-0067.Button </State>
|
|
<Value> StringFmt( $12-99-03-0067.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 $Sum1299030067 = "Disable" Then
|
|
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
|
STRCONTAIN "ERR" $##-##-##-####.TAG tag2_is_disable
|
|
STRCONTAIN "ERR" $12-99-03-0067.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> $Sum1299030067 </State>
|
|
<Value> text_unavailable </Value>
|
|
<Align> center-vertical-horizontal </Align>
|
|
</Text>
|
|
</Block>
|
|
; - - -
|
|
; ==================> Len = 15
|
|
; - - 12-99-03-0066
|
|
<Block>
|
|
<MarginLeft> 33 </MarginLeft>
|
|
<MarginTop> 22 </MarginTop>
|
|
<Width> 225 </Width>
|
|
<Height> 296 </Height>
|
|
<State> Flag( 12-99-03-0066.Button,$Sum1299030066) </State>
|
|
<Button>
|
|
<State> $Sum1299030066 </State>
|
|
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_smoothie_oreo_Pepsi_Milk_freefire.png" </Filename>
|
|
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_smoothie_oreo_Pepsi_Milk_freefire.png" </FilenamePress>
|
|
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_smoothie_oreo_Pepsi_Milk_freefire.png" </FilenameDisable>
|
|
<OverlayImage> xmlpro( 12-99-03-0066, "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 = "Kelly's Secret Recipe"
|
|
Var NameDrinkTH = "สูตรลับเคลลี่"
|
|
Var DrinkDescriptionTH = "เป๊ปซี่ นม และโอรีโอ"
|
|
Var DrinkDescription = "pepsi, Milk, Sugar, Oreo"
|
|
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_smoothie_oreo_Pepsi_Milk_freefire.png"
|
|
Var OpenFromXML = CurrentXMLFileName2
|
|
Var PriceD1 = $-.Price
|
|
Var PriceD2 = $-.Price
|
|
Var PriceD3 = $12-99-03-0066.Price
|
|
Var PD_CODE1 = "##-##-##-####"
|
|
Var PD_CODE2 = "##-##-##-####"
|
|
Var PD_CODE3 = "12-99-03-0066"
|
|
Var PD_STAGE_1 = "Disable2"
|
|
Var PD_STAGE_2 = "Disable2"
|
|
Var PD_STAGE_3 = $12-99-03-0066.Button
|
|
Var OverlayMenuFilter !assigned xmlpro( 12-99-03-0066, "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-99-03-0066"
|
|
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-99-03-0066.NameE
|
|
Var menu_desc_eng_blender = $12-99-03-0066.descriptionE
|
|
Var menu_name_thai_blender = $12-99-03-0066.Name
|
|
Var menu_desc_thai_blender = $12-99-03-0066.description
|
|
|
|
DEBUGVAR PD_STAGE_1
|
|
DEBUGVAR PD_STAGE_2
|
|
DEBUGVAR PD_STAGE_3
|
|
Var SelectDrinkType = 0
|
|
|
|
|
|
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
|
|
|
</EventOnClick>
|
|
</Button>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 164 </Y>
|
|
<Size> 24 </Size>
|
|
<Width>220</Width>
|
|
<Mode> "multi2" </Mode>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x322B26 </Color>
|
|
<State> showthaiText </State>
|
|
<Value> "สูตรลับเคลลี่" </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 220 </Y>
|
|
<Size> 14 </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x6F5F51 </Color>
|
|
<State> showthaiText </State>
|
|
<Value> "เป๊ปซี่ นม และโอรีโอ" </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 164 </Y>
|
|
<Size> 22 </Size>
|
|
<Width>220</Width>
|
|
<Mode> "multi2" </Mode>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x322B26 </Color>
|
|
<State> showengText </State>
|
|
<Value> "Kelly's Secret Recipe" </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> "pepsi, Milk,
|
|
Sugar, Oreo" </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-99-03-0066.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-99-03-0066.Button </State>
|
|
<Value> StringFmt( $12-99-03-0066.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 $Sum1299030066 = "Disable" Then
|
|
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
|
STRCONTAIN "ERR" $##-##-##-####.TAG tag2_is_disable
|
|
STRCONTAIN "ERR" $12-99-03-0066.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> $Sum1299030066 </State>
|
|
<Value> text_unavailable </Value>
|
|
<Align> center-vertical-horizontal </Align>
|
|
</Text>
|
|
</Block>
|
|
; - - -
|
|
</FrameScroll>
|
|
; Cart
|
|
<Button>
|
|
<X> 915 </X>
|
|
<Y> 1769 </Y>
|
|
<State> showCart </State>
|
|
<Filename> cart_image_bn </Filename>
|
|
<FilenamePress> cart_image_bp </FilenamePress>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventClick>
|
|
Open "ROOT/taobin_project/xml/page_payment_multi.xml"
|
|
</EventClick>
|
|
</Button>
|
|
|
|
|
|
|
|
|
|
;BigLogoLayout
|
|
|
|
;include="ROOT/taobin_project/inc/button_remove_cup.inc"
|
|
|
|
</Popup>
|
|
|
|
|