27584 lines
833 KiB
XML
27584 lines
833 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 Menu2Selected = "PressForever"
|
||
|
||
|
||
|
||
SAVELOG PreviseXMLFileName2
|
||
|
||
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>
|
||
;layout_mode
|
||
<Script>
|
||
Var block_index_override = 0
|
||
Var block_index_move = 0
|
||
;banner_shifting
|
||
</Script>
|
||
;dummy_layout.inc
|
||
; menu_new_list 74
|
||
; ==================> Len = 21
|
||
; 12-01-01-0003 12-01-02-0001 -
|
||
<Block>
|
||
<MarginLeft> 33 </MarginLeft>
|
||
<MarginTop> 22 </MarginTop>
|
||
<Width> 225 </Width>
|
||
<Height> 296 </Height>
|
||
<State> Flag( 12-01-01-0003.Button,12-01-02-0001.Button,$Sum12010100031201020001) </State>
|
||
<Button>
|
||
<State> $Sum12010100031201020001 </State>
|
||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_america_no.png" </Filename>
|
||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_america_no.png" </FilenamePress>
|
||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_america_no.png" </FilenameDisable>
|
||
<OverlayImage> xmlpro( 12-01-01-0003, "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 = "Americano"
|
||
Var NameDrinkTH = "อเมริกาโน"
|
||
Var DrinkDescriptionTH = "กาแฟ และน้ำ "
|
||
Var DrinkDescription = "Espresso, Water"
|
||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_america_no.png"
|
||
Var OpenFromXML = CurrentXMLFileName2
|
||
Var PriceD1 = $12-01-01-0003.Price
|
||
Var PriceD2 = $12-01-02-0001.Price
|
||
Var PriceD3 = $-.Price
|
||
Var PD_CODE1 = "12-01-01-0003"
|
||
Var PD_CODE2 = "12-01-02-0001"
|
||
Var PD_CODE3 = "##-##-##-####"
|
||
Var PD_STAGE_1 = $12-01-01-0003.Button
|
||
Var PD_STAGE_2 = $12-01-02-0001.Button
|
||
Var PD_STAGE_3 = "Disable2"
|
||
Var OverlayMenuFilter !assigned xmlpro( 12-01-01-0003, "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-01-02-0001"
|
||
Else
|
||
If PD_STAGE_1 = "Enable" Then
|
||
Topping "Load" "12-01-01-0003"
|
||
Else
|
||
Topping "Load" "-"
|
||
EndIf
|
||
EndIf
|
||
Var menu_name_eng_hot = $12-01-01-0003.NameE
|
||
Var menu_desc_eng_hot = $12-01-01-0003.descriptionE
|
||
Var menu_name_thai_hot = $12-01-01-0003.Name
|
||
Var menu_desc_thai_hot = $12-01-01-0003.description
|
||
|
||
Var menu_name_eng_cold = $12-01-02-0001.NameE
|
||
Var menu_desc_eng_cold = $12-01-02-0001.descriptionE
|
||
Var menu_name_thai_cold = $12-01-02-0001.Name
|
||
Var menu_desc_thai_cold = $12-01-02-0001.description
|
||
|
||
Var menu_name_eng_blender = $##-##-##-####.NameE
|
||
Var menu_desc_eng_blender = $##-##-##-####.descriptionE
|
||
Var menu_name_thai_blender = $##-##-##-####.Name
|
||
Var menu_desc_thai_blender = $##-##-##-####.description
|
||
|
||
DEBUGVAR PD_STAGE_1
|
||
DEBUGVAR PD_STAGE_2
|
||
DEBUGVAR PD_STAGE_3
|
||
Var SelectDrinkType = 0
|
||
|
||
|
||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
||
|
||
</EventOnClick>
|
||
</Button>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 164 </Y>
|
||
<Size> 24 </Size>
|
||
<Width>220</Width>
|
||
<Mode> "multi2" </Mode>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x322B26 </Color>
|
||
<State> showthaiText </State>
|
||
<Value> "อเมริกาโน" </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 220 </Y>
|
||
<Size> 14 </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<State> showthaiText </State>
|
||
<Value> "กาแฟ และน้ำ " </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 164 </Y>
|
||
<Size> 22 </Size>
|
||
<Width>220</Width>
|
||
<Mode> "multi2" </Mode>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x322B26 </Color>
|
||
<State> showengText </State>
|
||
<Value> "Americano" </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> "Espresso, Water" </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-01-01-0003.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-01-01-0003.Button </State>
|
||
<Value> StringFmt( $12-01-01-0003.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-01-02-0001.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-01-02-0001.Button </State>
|
||
<Value> StringFmt( $12-01-02-0001.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 146 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||
<State> "Invisible" </State>
|
||
</Image>
|
||
<Text>
|
||
<X> 180 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitRegularTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> "Invisible" </State>
|
||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<State>
|
||
eval(
|
||
If ICE_PROCESS_STATUS = 2 Then
|
||
|
||
If $Sum12010100031201020001 = "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 $Sum12010100031201020001 = "Disable" Then
|
||
STRCONTAIN "ERR" $12-01-01-0003.TAG tag1_is_disable
|
||
STRCONTAIN "ERR" $12-01-02-0001.TAG tag2_is_disable
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||
Var return = "Invisible"
|
||
If tag1_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag2_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag3_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
Else
|
||
Var return = "Invisible"
|
||
EndIf
|
||
)
|
||
</State>
|
||
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
||
</Image>
|
||
<Text>
|
||
<X> 84 </X>
|
||
<Y> 266 </Y>
|
||
<Size> 10 </Size>
|
||
<Font> OpunMediumTTF </Font>
|
||
<Color> 0xDE794E </Color>
|
||
<State> ice_tab_process_show </State>
|
||
<Value> ice_show_open </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 48 </X>
|
||
<Y> 116 </Y>
|
||
<Size> 32 </Size>
|
||
<Width>128</Width>
|
||
<Height>64</Height>
|
||
<Font> MITRegularTTF </Font>
|
||
<Color> 0x5A5A5A </Color>
|
||
<Mode> "disable-show" </Mode>
|
||
<State> $Sum12010100031201020001 </State>
|
||
<Value> text_unavailable </Value>
|
||
<Align> center-vertical-horizontal </Align>
|
||
</Text>
|
||
</Block>
|
||
; 12-21-01-0003 12-21-02-0001 -
|
||
<Block>
|
||
<MarginLeft> 33 </MarginLeft>
|
||
<MarginTop> 22 </MarginTop>
|
||
<Width> 225 </Width>
|
||
<Height> 296 </Height>
|
||
<State> Flag( 12-21-01-0003.Button,12-21-02-0001.Button,$Sum12210100031221020001) </State>
|
||
<Button>
|
||
<State> $Sum12210100031221020001 </State>
|
||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_america_no.png" </Filename>
|
||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_america_no.png" </FilenamePress>
|
||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_america_no.png" </FilenameDisable>
|
||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||
<Volume> SoundVolume </Volume>
|
||
<OverlayImage> xmlpro( 12-21-01-0003, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||
<EventOnClick>
|
||
Var NameDrink = "Americano"
|
||
Var NameDrinkTH = "อเมริกาโน"
|
||
Var DrinkDescriptionTH = "กาแฟ และน้ำ "
|
||
Var DrinkDescription = "Espresso, Water"
|
||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_america_no.png"
|
||
Var OpenFromXML = CurrentXMLFileName2
|
||
Var PriceD1 = $12-21-01-0003.Price
|
||
Var PriceD2 = $12-21-02-0001.Price
|
||
Var PriceD3 = $-.Price
|
||
Var PD_CODE1 = "12-21-01-0003"
|
||
Var PD_CODE2 = "12-21-02-0001"
|
||
Var PD_CODE3 = "##-##-##-####"
|
||
Var PD_STAGE_1 = $12-21-01-0003.Button
|
||
Var PD_STAGE_2 = $12-21-02-0001.Button
|
||
Var PD_STAGE_3 = "Disable2"
|
||
Var OverlayMenuFilter !assigned xmlpro( 12-21-01-0003, "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-21-02-0001"
|
||
Else
|
||
If PD_STAGE_1 = "Enable" Then
|
||
Topping "Load" "12-21-01-0003"
|
||
Else
|
||
Topping "Load" "-"
|
||
EndIf
|
||
EndIf
|
||
Var menu_name_eng_hot = $12-21-01-0003.NameE
|
||
Var menu_desc_eng_hot = $12-21-01-0003.descriptionE
|
||
Var menu_name_thai_hot = $12-21-01-0003.Name
|
||
Var menu_desc_thai_hot = $12-21-01-0003.description
|
||
|
||
Var menu_name_eng_cold = $12-21-02-0001.NameE
|
||
Var menu_desc_eng_cold = $12-21-02-0001.descriptionE
|
||
Var menu_name_thai_cold = $12-21-02-0001.Name
|
||
Var menu_desc_thai_cold = $12-21-02-0001.description
|
||
|
||
Var menu_name_eng_blender = $##-##-##-####.NameE
|
||
Var menu_desc_eng_blender = $##-##-##-####.descriptionE
|
||
Var menu_name_thai_blender = $##-##-##-####.Name
|
||
Var menu_desc_thai_blender = $##-##-##-####.description
|
||
|
||
DEBUGVAR PD_STAGE_1
|
||
DEBUGVAR PD_STAGE_2
|
||
DEBUGVAR PD_STAGE_3
|
||
Var SelectDrinkType = 0
|
||
|
||
|
||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
||
|
||
</EventOnClick>
|
||
</Button>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 164 </Y>
|
||
<Size> 24 </Size>
|
||
<Width>220</Width>
|
||
<Mode> "multi2" </Mode>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x322B26 </Color>
|
||
<State> showthaiText </State>
|
||
<Value> "อเมริกาโน" </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 220 </Y>
|
||
<Size> 14 </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<State> showthaiText </State>
|
||
<Value> "กาแฟ และน้ำ " </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 164 </Y>
|
||
<Size> 22 </Size>
|
||
<Width>220</Width>
|
||
<Mode> "multi2" </Mode>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x322B26 </Color>
|
||
<State> showengText </State>
|
||
<Value> "Americano" </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> "Espresso, Water" </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-21-01-0003.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-21-01-0003.Button </State>
|
||
<Value> StringFmt( $12-21-01-0003.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-21-02-0001.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-21-02-0001.Button </State>
|
||
<Value> StringFmt( $12-21-02-0001.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 146 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||
<State> "Invisible" </State>
|
||
</Image>
|
||
<Text>
|
||
<X> 183 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> "Invisible" </State>
|
||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<State>
|
||
eval(
|
||
If ICE_PROCESS_STATUS = 2 Then
|
||
|
||
If $Sum12210100031221020001 = "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 $Sum12210100031221020001 = "Disable" Then
|
||
STRCONTAIN "ERR" $12-21-01-0003.TAG tag1_is_disable
|
||
STRCONTAIN "ERR" $12-21-02-0001.TAG tag2_is_disable
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||
Var return = "Invisible"
|
||
If tag1_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag2_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag3_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
Else
|
||
Var return = "Invisible"
|
||
EndIf
|
||
)
|
||
</State>
|
||
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
||
</Image>
|
||
<Text>
|
||
<X> 84 </X>
|
||
<Y> 266 </Y>
|
||
<Size> 10 </Size>
|
||
<Font> OpunMediumTTF </Font>
|
||
<Color> 0xDE794E </Color>
|
||
<State> ice_tab_process_show </State>
|
||
<Value> ice_show_open </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 48 </X>
|
||
<Y> 116 </Y>
|
||
<Size> 32 </Size>
|
||
<Width>128</Width>
|
||
<Height>64</Height>
|
||
<Font> MITRegularTTF </Font>
|
||
<Color> 0x5A5A5A </Color>
|
||
<Mode> "disable-show" </Mode>
|
||
<State> $Sum12210100031221020001 </State>
|
||
<Value> text_unavailable </Value>
|
||
<Align> center-vertical-horizontal </Align>
|
||
</Text>
|
||
</Block>
|
||
; ==================> Len = 16
|
||
; 12-01-01-0088 12-01-02-0088 -
|
||
<Block>
|
||
<MarginLeft> 33 </MarginLeft>
|
||
<MarginTop> 22 </MarginTop>
|
||
<Width> 225 </Width>
|
||
<Height> 296 </Height>
|
||
<State> Flag( 12-01-01-0088.Button,12-01-02-0088.Button,DateTimeStart="2025/06/01T00:00:00",$Sum12010100881201020088) </State>
|
||
<Button>
|
||
<State> $Sum12010100881201020088 </State>
|
||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_Apple_Americano.png" </Filename>
|
||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_Apple_Americano.png" </FilenamePress>
|
||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_Apple_Americano.png" </FilenameDisable>
|
||
<OverlayImage> xmlpro( 12-01-01-0088, "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 = "Apple Americano"
|
||
Var NameDrinkTH = "อเมริกาโนแอปเปิ้ล"
|
||
Var DrinkDescriptionTH = "กาแฟ แอปเปิ้ล"
|
||
Var DrinkDescription = "Coffee Apple"
|
||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_Apple_Americano.png"
|
||
Var OpenFromXML = CurrentXMLFileName2
|
||
Var PriceD1 = $12-01-01-0088.Price
|
||
Var PriceD2 = $12-01-02-0088.Price
|
||
Var PriceD3 = $-.Price
|
||
Var PD_CODE1 = "12-01-01-0088"
|
||
Var PD_CODE2 = "12-01-02-0088"
|
||
Var PD_CODE3 = "##-##-##-####"
|
||
Var PD_STAGE_1 = $12-01-01-0088.Button
|
||
Var PD_STAGE_2 = $12-01-02-0088.Button
|
||
Var PD_STAGE_3 = "Disable2"
|
||
Var OverlayMenuFilter !assigned xmlpro( 12-01-01-0088, "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-01-02-0088"
|
||
Else
|
||
If PD_STAGE_1 = "Enable" Then
|
||
Topping "Load" "12-01-01-0088"
|
||
Else
|
||
Topping "Load" "-"
|
||
EndIf
|
||
EndIf
|
||
Var menu_name_eng_hot = $12-01-01-0088.NameE
|
||
Var menu_desc_eng_hot = $12-01-01-0088.descriptionE
|
||
Var menu_name_thai_hot = $12-01-01-0088.Name
|
||
Var menu_desc_thai_hot = $12-01-01-0088.description
|
||
|
||
Var menu_name_eng_cold = $12-01-02-0088.NameE
|
||
Var menu_desc_eng_cold = $12-01-02-0088.descriptionE
|
||
Var menu_name_thai_cold = $12-01-02-0088.Name
|
||
Var menu_desc_thai_cold = $12-01-02-0088.description
|
||
|
||
Var menu_name_eng_blender = $##-##-##-####.NameE
|
||
Var menu_desc_eng_blender = $##-##-##-####.descriptionE
|
||
Var menu_name_thai_blender = $##-##-##-####.Name
|
||
Var menu_desc_thai_blender = $##-##-##-####.description
|
||
|
||
DEBUGVAR PD_STAGE_1
|
||
DEBUGVAR PD_STAGE_2
|
||
DEBUGVAR PD_STAGE_3
|
||
Var SelectDrinkType = 0
|
||
|
||
|
||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
||
|
||
</EventOnClick>
|
||
</Button>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 164 </Y>
|
||
<Size> 24 </Size>
|
||
<Width>220</Width>
|
||
<Mode> "multi2" </Mode>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x322B26 </Color>
|
||
<State> showthaiText </State>
|
||
<Value> "อเมริกาโนแอปเปิ้ล" </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 220 </Y>
|
||
<Size> 14 </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<State> showthaiText </State>
|
||
<Value> "กาแฟ แอปเปิ้ล" </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 164 </Y>
|
||
<Size> 22 </Size>
|
||
<Width>220</Width>
|
||
<Mode> "multi2" </Mode>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x322B26 </Color>
|
||
<State> showengText </State>
|
||
<Value> "Apple Americano" </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> "Coffee Apple" </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-01-01-0088.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-01-01-0088.Button </State>
|
||
<Value> StringFmt( $12-01-01-0088.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-01-02-0088.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-01-02-0088.Button </State>
|
||
<Value> StringFmt( $12-01-02-0088.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 146 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||
<State> "Invisible" </State>
|
||
</Image>
|
||
<Text>
|
||
<X> 180 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitRegularTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> "Invisible" </State>
|
||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<State>
|
||
eval(
|
||
If ICE_PROCESS_STATUS = 2 Then
|
||
|
||
If $Sum12010100881201020088 = "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 $Sum12010100881201020088 = "Disable" Then
|
||
STRCONTAIN "ERR" $12-01-01-0088.TAG tag1_is_disable
|
||
STRCONTAIN "ERR" $12-01-02-0088.TAG tag2_is_disable
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||
Var return = "Invisible"
|
||
If tag1_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag2_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag3_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
Else
|
||
Var return = "Invisible"
|
||
EndIf
|
||
)
|
||
</State>
|
||
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
||
</Image>
|
||
<Text>
|
||
<X> 84 </X>
|
||
<Y> 266 </Y>
|
||
<Size> 10 </Size>
|
||
<Font> OpunMediumTTF </Font>
|
||
<Color> 0xDE794E </Color>
|
||
<State> ice_tab_process_show </State>
|
||
<Value> ice_show_open </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 48 </X>
|
||
<Y> 116 </Y>
|
||
<Size> 32 </Size>
|
||
<Width>128</Width>
|
||
<Height>64</Height>
|
||
<Font> MITRegularTTF </Font>
|
||
<Color> 0x5A5A5A </Color>
|
||
<Mode> "disable-show" </Mode>
|
||
<State> $Sum12010100881201020088 </State>
|
||
<Value> text_unavailable </Value>
|
||
<Align> center-vertical-horizontal </Align>
|
||
</Text>
|
||
</Block>
|
||
; 12-21-01-0088 12-21-02-0088 -
|
||
<Block>
|
||
<MarginLeft> 33 </MarginLeft>
|
||
<MarginTop> 22 </MarginTop>
|
||
<Width> 225 </Width>
|
||
<Height> 296 </Height>
|
||
<State> Flag( 12-21-01-0088.Button,12-21-02-0088.Button,DateTimeStart="2025/06/01T00:00:00",$Sum12210100881221020088) </State>
|
||
<Button>
|
||
<State> $Sum12210100881221020088 </State>
|
||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_Apple_Americano.png" </Filename>
|
||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_Apple_Americano.png" </FilenamePress>
|
||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_Apple_Americano.png" </FilenameDisable>
|
||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||
<Volume> SoundVolume </Volume>
|
||
<OverlayImage> xmlpro( 12-21-01-0088, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||
<EventOnClick>
|
||
Var NameDrink = "Apple Americano"
|
||
Var NameDrinkTH = "อเมริกาโนแอปเปิ้ล"
|
||
Var DrinkDescriptionTH = "กาแฟ แอปเปิ้ล"
|
||
Var DrinkDescription = "Coffee Apple"
|
||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_Apple_Americano.png"
|
||
Var OpenFromXML = CurrentXMLFileName2
|
||
Var PriceD1 = $12-21-01-0088.Price
|
||
Var PriceD2 = $12-21-02-0088.Price
|
||
Var PriceD3 = $-.Price
|
||
Var PD_CODE1 = "12-21-01-0088"
|
||
Var PD_CODE2 = "12-21-02-0088"
|
||
Var PD_CODE3 = "##-##-##-####"
|
||
Var PD_STAGE_1 = $12-21-01-0088.Button
|
||
Var PD_STAGE_2 = $12-21-02-0088.Button
|
||
Var PD_STAGE_3 = "Disable2"
|
||
Var OverlayMenuFilter !assigned xmlpro( 12-21-01-0088, "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-21-02-0088"
|
||
Else
|
||
If PD_STAGE_1 = "Enable" Then
|
||
Topping "Load" "12-21-01-0088"
|
||
Else
|
||
Topping "Load" "-"
|
||
EndIf
|
||
EndIf
|
||
Var menu_name_eng_hot = $12-21-01-0088.NameE
|
||
Var menu_desc_eng_hot = $12-21-01-0088.descriptionE
|
||
Var menu_name_thai_hot = $12-21-01-0088.Name
|
||
Var menu_desc_thai_hot = $12-21-01-0088.description
|
||
|
||
Var menu_name_eng_cold = $12-21-02-0088.NameE
|
||
Var menu_desc_eng_cold = $12-21-02-0088.descriptionE
|
||
Var menu_name_thai_cold = $12-21-02-0088.Name
|
||
Var menu_desc_thai_cold = $12-21-02-0088.description
|
||
|
||
Var menu_name_eng_blender = $##-##-##-####.NameE
|
||
Var menu_desc_eng_blender = $##-##-##-####.descriptionE
|
||
Var menu_name_thai_blender = $##-##-##-####.Name
|
||
Var menu_desc_thai_blender = $##-##-##-####.description
|
||
|
||
DEBUGVAR PD_STAGE_1
|
||
DEBUGVAR PD_STAGE_2
|
||
DEBUGVAR PD_STAGE_3
|
||
Var SelectDrinkType = 0
|
||
|
||
|
||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
||
|
||
</EventOnClick>
|
||
</Button>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 164 </Y>
|
||
<Size> 24 </Size>
|
||
<Width>220</Width>
|
||
<Mode> "multi2" </Mode>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x322B26 </Color>
|
||
<State> showthaiText </State>
|
||
<Value> "อเมริกาโนแอปเปิ้ล" </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 220 </Y>
|
||
<Size> 14 </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<State> showthaiText </State>
|
||
<Value> "กาแฟ แอปเปิ้ล" </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 164 </Y>
|
||
<Size> 22 </Size>
|
||
<Width>220</Width>
|
||
<Mode> "multi2" </Mode>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x322B26 </Color>
|
||
<State> showengText </State>
|
||
<Value> "Apple Americano" </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> "Coffee Apple" </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-21-01-0088.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-21-01-0088.Button </State>
|
||
<Value> StringFmt( $12-21-01-0088.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-21-02-0088.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-21-02-0088.Button </State>
|
||
<Value> StringFmt( $12-21-02-0088.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 146 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||
<State> "Invisible" </State>
|
||
</Image>
|
||
<Text>
|
||
<X> 183 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> "Invisible" </State>
|
||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<State>
|
||
eval(
|
||
If ICE_PROCESS_STATUS = 2 Then
|
||
|
||
If $Sum12210100881221020088 = "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 $Sum12210100881221020088 = "Disable" Then
|
||
STRCONTAIN "ERR" $12-21-01-0088.TAG tag1_is_disable
|
||
STRCONTAIN "ERR" $12-21-02-0088.TAG tag2_is_disable
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||
Var return = "Invisible"
|
||
If tag1_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag2_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag3_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
Else
|
||
Var return = "Invisible"
|
||
EndIf
|
||
)
|
||
</State>
|
||
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
||
</Image>
|
||
<Text>
|
||
<X> 84 </X>
|
||
<Y> 266 </Y>
|
||
<Size> 10 </Size>
|
||
<Font> OpunMediumTTF </Font>
|
||
<Color> 0xDE794E </Color>
|
||
<State> ice_tab_process_show </State>
|
||
<Value> ice_show_open </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 48 </X>
|
||
<Y> 116 </Y>
|
||
<Size> 32 </Size>
|
||
<Width>128</Width>
|
||
<Height>64</Height>
|
||
<Font> MITRegularTTF </Font>
|
||
<Color> 0x5A5A5A </Color>
|
||
<Mode> "disable-show" </Mode>
|
||
<State> $Sum12210100881221020088 </State>
|
||
<Value> text_unavailable </Value>
|
||
<Align> center-vertical-horizontal </Align>
|
||
</Text>
|
||
</Block>
|
||
; ==================> Len = 16
|
||
; - 12-01-02-0091 -
|
||
<Block>
|
||
<MarginLeft> 33 </MarginLeft>
|
||
<MarginTop> 22 </MarginTop>
|
||
<Width> 225 </Width>
|
||
<Height> 296 </Height>
|
||
<State> Flag( 12-01-02-0091.Button,DateTimeStart="2025/06/01T00:00:00",$Sum1201020091) </State>
|
||
<Button>
|
||
<State> $Sum1201020091 </State>
|
||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_Apple_Frop_Longback.png" </Filename>
|
||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_Apple_Frop_Longback.png" </FilenamePress>
|
||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_Apple_Frop_Longback.png" </FilenameDisable>
|
||
<OverlayImage> xmlpro( 12-01-02-0091, "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 = "Apple Frop Longback"
|
||
Var NameDrinkTH = "ลองแบล็คแอปเปิ้ลฟรอฟ"
|
||
Var DrinkDescriptionTH = "กาแฟ แอปเปิ้ล"
|
||
Var DrinkDescription = "Coffee Apple"
|
||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_Apple_Frop_Longback.png"
|
||
Var OpenFromXML = CurrentXMLFileName2
|
||
Var PriceD1 = $-.Price
|
||
Var PriceD2 = $12-01-02-0091.Price
|
||
Var PriceD3 = $-.Price
|
||
Var PD_CODE1 = "##-##-##-####"
|
||
Var PD_CODE2 = "12-01-02-0091"
|
||
Var PD_CODE3 = "##-##-##-####"
|
||
Var PD_STAGE_1 = "Disable2"
|
||
Var PD_STAGE_2 = $12-01-02-0091.Button
|
||
Var PD_STAGE_3 = "Disable2"
|
||
Var OverlayMenuFilter !assigned xmlpro( 12-01-02-0091, "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-01-02-0091"
|
||
Else
|
||
If PD_STAGE_1 = "Enable" Then
|
||
Topping "Load" "-"
|
||
Else
|
||
Topping "Load" "-"
|
||
EndIf
|
||
EndIf
|
||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
||
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
||
Var menu_name_thai_hot = $##-##-##-####.Name
|
||
Var menu_desc_thai_hot = $##-##-##-####.description
|
||
|
||
Var menu_name_eng_cold = $12-01-02-0091.NameE
|
||
Var menu_desc_eng_cold = $12-01-02-0091.descriptionE
|
||
Var menu_name_thai_cold = $12-01-02-0091.Name
|
||
Var menu_desc_thai_cold = $12-01-02-0091.description
|
||
|
||
Var menu_name_eng_blender = $##-##-##-####.NameE
|
||
Var menu_desc_eng_blender = $##-##-##-####.descriptionE
|
||
Var menu_name_thai_blender = $##-##-##-####.Name
|
||
Var menu_desc_thai_blender = $##-##-##-####.description
|
||
|
||
DEBUGVAR PD_STAGE_1
|
||
DEBUGVAR PD_STAGE_2
|
||
DEBUGVAR PD_STAGE_3
|
||
Var SelectDrinkType = 0
|
||
|
||
|
||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
||
|
||
</EventOnClick>
|
||
</Button>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 164 </Y>
|
||
<Size> 24 </Size>
|
||
<Width>220</Width>
|
||
<Mode> "multi2" </Mode>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x322B26 </Color>
|
||
<State> showthaiText </State>
|
||
<Value> "ลองแบล็คแอปเปิ้ลฟรอฟ" </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 220 </Y>
|
||
<Size> 14 </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<State> showthaiText </State>
|
||
<Value> "กาแฟ แอปเปิ้ล" </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 164 </Y>
|
||
<Size> 22 </Size>
|
||
<Width>220</Width>
|
||
<Mode> "multi2" </Mode>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x322B26 </Color>
|
||
<State> showengText </State>
|
||
<Value> "Apple Frop Longback" </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> "Coffee Apple" </Value>
|
||
</Text>
|
||
<Image>
|
||
<X> 16 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "option_deactive.png" ) </Filename>
|
||
</Image>
|
||
<Image>
|
||
<X> 16 </X>
|
||
<Y> 264 </Y>
|
||
<State> "Invisible" </State>
|
||
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
|
||
</Image>
|
||
<Text>
|
||
<X> 50 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> "Invisible" </State>
|
||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
||
<State> $12-01-02-0091.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-01-02-0091.Button </State>
|
||
<Value> StringFmt( $12-01-02-0091.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 146 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||
<State> "Invisible" </State>
|
||
</Image>
|
||
<Text>
|
||
<X> 180 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitRegularTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> "Invisible" </State>
|
||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<State>
|
||
eval(
|
||
If ICE_PROCESS_STATUS = 2 Then
|
||
|
||
Var ice_tab_process_show = "Invisible"
|
||
|
||
Else
|
||
Var ice_tab_process_show = "Invisible"
|
||
EndIf
|
||
Var return = ice_tab_process_show
|
||
)
|
||
</State>
|
||
<Filename> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </Filename>
|
||
<FilenameDisable> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </FilenameDisable>
|
||
</Image>
|
||
<Image>
|
||
<X> 49 </X>
|
||
<Y> 117 </Y>
|
||
<State>
|
||
eval(
|
||
If $Sum1201020091 = "Disable" Then
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||
STRCONTAIN "ERR" $12-01-02-0091.TAG tag2_is_disable
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||
Var return = "Invisible"
|
||
If tag1_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag2_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag3_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
Else
|
||
Var return = "Invisible"
|
||
EndIf
|
||
)
|
||
</State>
|
||
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
||
</Image>
|
||
<Text>
|
||
<X> 84 </X>
|
||
<Y> 266 </Y>
|
||
<Size> 10 </Size>
|
||
<Font> OpunMediumTTF </Font>
|
||
<Color> 0xDE794E </Color>
|
||
<State> ice_tab_process_show </State>
|
||
<Value> ice_show_open </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 48 </X>
|
||
<Y> 116 </Y>
|
||
<Size> 32 </Size>
|
||
<Width>128</Width>
|
||
<Height>64</Height>
|
||
<Font> MITRegularTTF </Font>
|
||
<Color> 0x5A5A5A </Color>
|
||
<Mode> "disable-show" </Mode>
|
||
<State> $Sum1201020091 </State>
|
||
<Value> text_unavailable </Value>
|
||
<Align> center-vertical-horizontal </Align>
|
||
</Text>
|
||
</Block>
|
||
; - 12-21-02-0091 -
|
||
<Block>
|
||
<MarginLeft> 33 </MarginLeft>
|
||
<MarginTop> 22 </MarginTop>
|
||
<Width> 225 </Width>
|
||
<Height> 296 </Height>
|
||
<State> Flag( 12-21-02-0091.Button,DateTimeStart="2025/06/01T00:00:00",$Sum1221020091) </State>
|
||
<Button>
|
||
<State> $Sum1221020091 </State>
|
||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_Apple_Frop_Longback.png" </Filename>
|
||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_Apple_Frop_Longback.png" </FilenamePress>
|
||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_Apple_Frop_Longback.png" </FilenameDisable>
|
||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||
<Volume> SoundVolume </Volume>
|
||
<OverlayImage> xmlpro( 12-21-02-0091, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||
<EventOnClick>
|
||
Var NameDrink = "Apple Frop Longback"
|
||
Var NameDrinkTH = "ลองแบล็คแอปเปิ้ลฟรอฟ"
|
||
Var DrinkDescriptionTH = "กาแฟ แอปเปิ้ล"
|
||
Var DrinkDescription = "Coffee Apple"
|
||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_Apple_Frop_Longback.png"
|
||
Var OpenFromXML = CurrentXMLFileName2
|
||
Var PriceD1 = $-.Price
|
||
Var PriceD2 = $12-21-02-0091.Price
|
||
Var PriceD3 = $-.Price
|
||
Var PD_CODE1 = "##-##-##-####"
|
||
Var PD_CODE2 = "12-21-02-0091"
|
||
Var PD_CODE3 = "##-##-##-####"
|
||
Var PD_STAGE_1 = "Disable2"
|
||
Var PD_STAGE_2 = $12-21-02-0091.Button
|
||
Var PD_STAGE_3 = "Disable2"
|
||
Var OverlayMenuFilter !assigned xmlpro( 12-21-02-0091, "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-21-02-0091"
|
||
Else
|
||
If PD_STAGE_1 = "Enable" Then
|
||
Topping "Load" "-"
|
||
Else
|
||
Topping "Load" "-"
|
||
EndIf
|
||
EndIf
|
||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
||
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
||
Var menu_name_thai_hot = $##-##-##-####.Name
|
||
Var menu_desc_thai_hot = $##-##-##-####.description
|
||
|
||
Var menu_name_eng_cold = $12-21-02-0091.NameE
|
||
Var menu_desc_eng_cold = $12-21-02-0091.descriptionE
|
||
Var menu_name_thai_cold = $12-21-02-0091.Name
|
||
Var menu_desc_thai_cold = $12-21-02-0091.description
|
||
|
||
Var menu_name_eng_blender = $##-##-##-####.NameE
|
||
Var menu_desc_eng_blender = $##-##-##-####.descriptionE
|
||
Var menu_name_thai_blender = $##-##-##-####.Name
|
||
Var menu_desc_thai_blender = $##-##-##-####.description
|
||
|
||
DEBUGVAR PD_STAGE_1
|
||
DEBUGVAR PD_STAGE_2
|
||
DEBUGVAR PD_STAGE_3
|
||
Var SelectDrinkType = 0
|
||
|
||
|
||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
||
|
||
</EventOnClick>
|
||
</Button>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 164 </Y>
|
||
<Size> 24 </Size>
|
||
<Width>220</Width>
|
||
<Mode> "multi2" </Mode>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x322B26 </Color>
|
||
<State> showthaiText </State>
|
||
<Value> "ลองแบล็คแอปเปิ้ลฟรอฟ" </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 220 </Y>
|
||
<Size> 14 </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<State> showthaiText </State>
|
||
<Value> "กาแฟ แอปเปิ้ล" </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 164 </Y>
|
||
<Size> 22 </Size>
|
||
<Width>220</Width>
|
||
<Mode> "multi2" </Mode>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x322B26 </Color>
|
||
<State> showengText </State>
|
||
<Value> "Apple Frop Longback" </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> "Coffee Apple" </Value>
|
||
</Text>
|
||
<Image>
|
||
<X> 16 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "option_deactive.png" ) </Filename>
|
||
</Image>
|
||
<Image>
|
||
<X> 16 </X>
|
||
<Y> 264 </Y>
|
||
<State> "Invisible" </State>
|
||
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
|
||
</Image>
|
||
<Text>
|
||
<X> 50 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> "Invisible" </State>
|
||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
||
<State> $12-21-02-0091.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-21-02-0091.Button </State>
|
||
<Value> StringFmt( $12-21-02-0091.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 146 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||
<State> "Invisible" </State>
|
||
</Image>
|
||
<Text>
|
||
<X> 183 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> "Invisible" </State>
|
||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<State>
|
||
eval(
|
||
If ICE_PROCESS_STATUS = 2 Then
|
||
|
||
Var ice_tab_process_show = "Invisible"
|
||
|
||
Else
|
||
Var ice_tab_process_show = "Invisible"
|
||
EndIf
|
||
Var return = ice_tab_process_show
|
||
)
|
||
</State>
|
||
<Filename> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </Filename>
|
||
<FilenameDisable> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </FilenameDisable>
|
||
</Image>
|
||
<Image>
|
||
<X> 49 </X>
|
||
<Y> 117 </Y>
|
||
<State>
|
||
eval(
|
||
If $Sum1221020091 = "Disable" Then
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||
STRCONTAIN "ERR" $12-21-02-0091.TAG tag2_is_disable
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||
Var return = "Invisible"
|
||
If tag1_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag2_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag3_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
Else
|
||
Var return = "Invisible"
|
||
EndIf
|
||
)
|
||
</State>
|
||
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
||
</Image>
|
||
<Text>
|
||
<X> 84 </X>
|
||
<Y> 266 </Y>
|
||
<Size> 10 </Size>
|
||
<Font> OpunMediumTTF </Font>
|
||
<Color> 0xDE794E </Color>
|
||
<State> ice_tab_process_show </State>
|
||
<Value> ice_show_open </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 48 </X>
|
||
<Y> 116 </Y>
|
||
<Size> 32 </Size>
|
||
<Width>128</Width>
|
||
<Height>64</Height>
|
||
<Font> MITRegularTTF </Font>
|
||
<Color> 0x5A5A5A </Color>
|
||
<Mode> "disable-show" </Mode>
|
||
<State> $Sum1221020091 </State>
|
||
<Value> text_unavailable </Value>
|
||
<Align> center-vertical-horizontal </Align>
|
||
</Text>
|
||
</Block>
|
||
; ==================> Len = 21
|
||
; 12-01-01-0001 - -
|
||
<Block>
|
||
<MarginLeft> 33 </MarginLeft>
|
||
<MarginTop> 22 </MarginTop>
|
||
<Width> 225 </Width>
|
||
<Height> 296 </Height>
|
||
<State> Flag( 12-01-01-0001.Button,$Sum1201010001) </State>
|
||
<Button>
|
||
<State> $Sum1201010001 </State>
|
||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_espresso.png" </Filename>
|
||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_espresso.png" </FilenamePress>
|
||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_espresso.png" </FilenameDisable>
|
||
<OverlayImage> xmlpro( 12-01-01-0001, "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 = "Espresso"
|
||
Var NameDrinkTH = "เอสเพรสโซ่"
|
||
Var DrinkDescriptionTH = "กาแฟ (30 ml)"
|
||
Var DrinkDescription = "Espresso (30 ml)"
|
||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_espresso.png"
|
||
Var OpenFromXML = CurrentXMLFileName2
|
||
Var PriceD1 = $12-01-01-0001.Price
|
||
Var PriceD2 = $-.Price
|
||
Var PriceD3 = $-.Price
|
||
Var PD_CODE1 = "12-01-01-0001"
|
||
Var PD_CODE2 = "##-##-##-####"
|
||
Var PD_CODE3 = "##-##-##-####"
|
||
Var PD_STAGE_1 = $12-01-01-0001.Button
|
||
Var PD_STAGE_2 = "Disable2"
|
||
Var PD_STAGE_3 = "Disable2"
|
||
Var OverlayMenuFilter !assigned xmlpro( 12-01-01-0001, "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" "12-01-01-0001"
|
||
Else
|
||
Topping "Load" "-"
|
||
EndIf
|
||
EndIf
|
||
Var menu_name_eng_hot = $12-01-01-0001.NameE
|
||
Var menu_desc_eng_hot = $12-01-01-0001.descriptionE
|
||
Var menu_name_thai_hot = $12-01-01-0001.Name
|
||
Var menu_desc_thai_hot = $12-01-01-0001.description
|
||
|
||
Var menu_name_eng_cold = $##-##-##-####.NameE
|
||
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
|
||
Var menu_name_thai_cold = $##-##-##-####.Name
|
||
Var menu_desc_thai_cold = $##-##-##-####.description
|
||
|
||
Var menu_name_eng_blender = $##-##-##-####.NameE
|
||
Var menu_desc_eng_blender = $##-##-##-####.descriptionE
|
||
Var menu_name_thai_blender = $##-##-##-####.Name
|
||
Var menu_desc_thai_blender = $##-##-##-####.description
|
||
|
||
DEBUGVAR PD_STAGE_1
|
||
DEBUGVAR PD_STAGE_2
|
||
DEBUGVAR PD_STAGE_3
|
||
Var SelectDrinkType = 0
|
||
|
||
|
||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
||
|
||
</EventOnClick>
|
||
</Button>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 164 </Y>
|
||
<Size> 24 </Size>
|
||
<Width>220</Width>
|
||
<Mode> "multi2" </Mode>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x322B26 </Color>
|
||
<State> showthaiText </State>
|
||
<Value> "เอสเพรสโซ่" </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 220 </Y>
|
||
<Size> 14 </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<State> showthaiText </State>
|
||
<Value> "กาแฟ (30 ml)" </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> "Espresso" </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> "Espresso (30 ml)" </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-01-01-0001.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-01-01-0001.Button </State>
|
||
<Value> StringFmt( $12-01-01-0001.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
||
<State> "Invisible" </State>
|
||
</Image>
|
||
<Text>
|
||
<X> 115 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> "Invisible" </State>
|
||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 146 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||
<State> "Invisible" </State>
|
||
</Image>
|
||
<Text>
|
||
<X> 180 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitRegularTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> "Invisible" </State>
|
||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<State>
|
||
eval(
|
||
If ICE_PROCESS_STATUS = 2 Then
|
||
|
||
If $Sum1201010001 = "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 $Sum1201010001 = "Disable" Then
|
||
STRCONTAIN "ERR" $12-01-01-0001.TAG tag1_is_disable
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag2_is_disable
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||
Var return = "Invisible"
|
||
If tag1_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag2_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag3_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
Else
|
||
Var return = "Invisible"
|
||
EndIf
|
||
)
|
||
</State>
|
||
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
||
</Image>
|
||
<Text>
|
||
<X> 84 </X>
|
||
<Y> 266 </Y>
|
||
<Size> 10 </Size>
|
||
<Font> OpunMediumTTF </Font>
|
||
<Color> 0xDE794E </Color>
|
||
<State> ice_tab_process_show </State>
|
||
<Value> ice_show_open </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 48 </X>
|
||
<Y> 116 </Y>
|
||
<Size> 32 </Size>
|
||
<Width>128</Width>
|
||
<Height>64</Height>
|
||
<Font> MITRegularTTF </Font>
|
||
<Color> 0x5A5A5A </Color>
|
||
<Mode> "disable-show" </Mode>
|
||
<State> $Sum1201010001 </State>
|
||
<Value> text_unavailable </Value>
|
||
<Align> center-vertical-horizontal </Align>
|
||
</Text>
|
||
</Block>
|
||
; 12-21-01-0001 - -
|
||
<Block>
|
||
<MarginLeft> 33 </MarginLeft>
|
||
<MarginTop> 22 </MarginTop>
|
||
<Width> 225 </Width>
|
||
<Height> 296 </Height>
|
||
<State> Flag( 12-21-01-0001.Button,$Sum1221010001) </State>
|
||
<Button>
|
||
<State> $Sum1221010001 </State>
|
||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_espresso.png" </Filename>
|
||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_espresso.png" </FilenamePress>
|
||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_espresso.png" </FilenameDisable>
|
||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||
<Volume> SoundVolume </Volume>
|
||
<OverlayImage> xmlpro( 12-21-01-0001, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||
<EventOnClick>
|
||
Var NameDrink = "Espresso"
|
||
Var NameDrinkTH = "เอสเพรสโซ่"
|
||
Var DrinkDescriptionTH = "กาแฟ (30 ml)"
|
||
Var DrinkDescription = "Espresso (30 ml)"
|
||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_espresso.png"
|
||
Var OpenFromXML = CurrentXMLFileName2
|
||
Var PriceD1 = $12-21-01-0001.Price
|
||
Var PriceD2 = $-.Price
|
||
Var PriceD3 = $-.Price
|
||
Var PD_CODE1 = "12-21-01-0001"
|
||
Var PD_CODE2 = "##-##-##-####"
|
||
Var PD_CODE3 = "##-##-##-####"
|
||
Var PD_STAGE_1 = $12-21-01-0001.Button
|
||
Var PD_STAGE_2 = "Disable2"
|
||
Var PD_STAGE_3 = "Disable2"
|
||
Var OverlayMenuFilter !assigned xmlpro( 12-21-01-0001, "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" "12-21-01-0001"
|
||
Else
|
||
Topping "Load" "-"
|
||
EndIf
|
||
EndIf
|
||
Var menu_name_eng_hot = $12-21-01-0001.NameE
|
||
Var menu_desc_eng_hot = $12-21-01-0001.descriptionE
|
||
Var menu_name_thai_hot = $12-21-01-0001.Name
|
||
Var menu_desc_thai_hot = $12-21-01-0001.description
|
||
|
||
Var menu_name_eng_cold = $##-##-##-####.NameE
|
||
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
|
||
Var menu_name_thai_cold = $##-##-##-####.Name
|
||
Var menu_desc_thai_cold = $##-##-##-####.description
|
||
|
||
Var menu_name_eng_blender = $##-##-##-####.NameE
|
||
Var menu_desc_eng_blender = $##-##-##-####.descriptionE
|
||
Var menu_name_thai_blender = $##-##-##-####.Name
|
||
Var menu_desc_thai_blender = $##-##-##-####.description
|
||
|
||
DEBUGVAR PD_STAGE_1
|
||
DEBUGVAR PD_STAGE_2
|
||
DEBUGVAR PD_STAGE_3
|
||
Var SelectDrinkType = 0
|
||
|
||
|
||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
||
|
||
</EventOnClick>
|
||
</Button>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 164 </Y>
|
||
<Size> 24 </Size>
|
||
<Width>220</Width>
|
||
<Mode> "multi2" </Mode>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x322B26 </Color>
|
||
<State> showthaiText </State>
|
||
<Value> "เอสเพรสโซ่" </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 220 </Y>
|
||
<Size> 14 </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<State> showthaiText </State>
|
||
<Value> "กาแฟ (30 ml)" </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> "Espresso" </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> "Espresso (30 ml)" </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-21-01-0001.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-21-01-0001.Button </State>
|
||
<Value> StringFmt( $12-21-01-0001.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
||
<State> "Invisible" </State>
|
||
</Image>
|
||
<Text>
|
||
<X> 115 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> "Invisible" </State>
|
||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 146 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||
<State> "Invisible" </State>
|
||
</Image>
|
||
<Text>
|
||
<X> 183 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> "Invisible" </State>
|
||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<State>
|
||
eval(
|
||
If ICE_PROCESS_STATUS = 2 Then
|
||
|
||
If $Sum1221010001 = "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 $Sum1221010001 = "Disable" Then
|
||
STRCONTAIN "ERR" $12-21-01-0001.TAG tag1_is_disable
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag2_is_disable
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||
Var return = "Invisible"
|
||
If tag1_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag2_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag3_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
Else
|
||
Var return = "Invisible"
|
||
EndIf
|
||
)
|
||
</State>
|
||
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
||
</Image>
|
||
<Text>
|
||
<X> 84 </X>
|
||
<Y> 266 </Y>
|
||
<Size> 10 </Size>
|
||
<Font> OpunMediumTTF </Font>
|
||
<Color> 0xDE794E </Color>
|
||
<State> ice_tab_process_show </State>
|
||
<Value> ice_show_open </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 48 </X>
|
||
<Y> 116 </Y>
|
||
<Size> 32 </Size>
|
||
<Width>128</Width>
|
||
<Height>64</Height>
|
||
<Font> MITRegularTTF </Font>
|
||
<Color> 0x5A5A5A </Color>
|
||
<Mode> "disable-show" </Mode>
|
||
<State> $Sum1221010001 </State>
|
||
<Value> text_unavailable </Value>
|
||
<Align> center-vertical-horizontal </Align>
|
||
</Text>
|
||
</Block>
|
||
; ==================> Len = 21
|
||
; 12-11-01-0001 - -
|
||
<Block>
|
||
<MarginLeft> 33 </MarginLeft>
|
||
<MarginTop> 22 </MarginTop>
|
||
<Width> 225 </Width>
|
||
<Height> 296 </Height>
|
||
<State> Flag( 12-11-01-0001.Button,$Sum1211010001) </State>
|
||
<Button>
|
||
<State> $Sum1211010001 </State>
|
||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_double_espresso.png" </Filename>
|
||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_double_espresso.png" </FilenamePress>
|
||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_double_espresso.png" </FilenameDisable>
|
||
<OverlayImage> xmlpro( 12-11-01-0001, "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 = "Double Espresso"
|
||
Var NameDrinkTH = "ดับเบิลเอสเพรสโซ่"
|
||
Var DrinkDescriptionTH = "กาแฟ (60 ml)"
|
||
Var DrinkDescription = "Espresso (60 ml)"
|
||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_double_espresso.png"
|
||
Var OpenFromXML = CurrentXMLFileName2
|
||
Var PriceD1 = $12-11-01-0001.Price
|
||
Var PriceD2 = $-.Price
|
||
Var PriceD3 = $-.Price
|
||
Var PD_CODE1 = "12-11-01-0001"
|
||
Var PD_CODE2 = "##-##-##-####"
|
||
Var PD_CODE3 = "##-##-##-####"
|
||
Var PD_STAGE_1 = $12-11-01-0001.Button
|
||
Var PD_STAGE_2 = "Disable2"
|
||
Var PD_STAGE_3 = "Disable2"
|
||
Var OverlayMenuFilter !assigned xmlpro( 12-11-01-0001, "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" "12-11-01-0001"
|
||
Else
|
||
Topping "Load" "-"
|
||
EndIf
|
||
EndIf
|
||
Var menu_name_eng_hot = $12-11-01-0001.NameE
|
||
Var menu_desc_eng_hot = $12-11-01-0001.descriptionE
|
||
Var menu_name_thai_hot = $12-11-01-0001.Name
|
||
Var menu_desc_thai_hot = $12-11-01-0001.description
|
||
|
||
Var menu_name_eng_cold = $##-##-##-####.NameE
|
||
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
|
||
Var menu_name_thai_cold = $##-##-##-####.Name
|
||
Var menu_desc_thai_cold = $##-##-##-####.description
|
||
|
||
Var menu_name_eng_blender = $##-##-##-####.NameE
|
||
Var menu_desc_eng_blender = $##-##-##-####.descriptionE
|
||
Var menu_name_thai_blender = $##-##-##-####.Name
|
||
Var menu_desc_thai_blender = $##-##-##-####.description
|
||
|
||
DEBUGVAR PD_STAGE_1
|
||
DEBUGVAR PD_STAGE_2
|
||
DEBUGVAR PD_STAGE_3
|
||
Var SelectDrinkType = 0
|
||
|
||
|
||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
||
|
||
</EventOnClick>
|
||
</Button>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 164 </Y>
|
||
<Size> 24 </Size>
|
||
<Width>220</Width>
|
||
<Mode> "multi2" </Mode>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x322B26 </Color>
|
||
<State> showthaiText </State>
|
||
<Value> "ดับเบิลเอสเพรสโซ่" </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 220 </Y>
|
||
<Size> 14 </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<State> showthaiText </State>
|
||
<Value> "กาแฟ (60 ml)" </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> "Double
|
||
Espresso" </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> "Espresso (60 ml)" </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-11-01-0001.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-11-01-0001.Button </State>
|
||
<Value> StringFmt( $12-11-01-0001.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
||
<State> "Invisible" </State>
|
||
</Image>
|
||
<Text>
|
||
<X> 115 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> "Invisible" </State>
|
||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 146 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||
<State> "Invisible" </State>
|
||
</Image>
|
||
<Text>
|
||
<X> 180 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitRegularTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> "Invisible" </State>
|
||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<State>
|
||
eval(
|
||
If ICE_PROCESS_STATUS = 2 Then
|
||
|
||
If $Sum1211010001 = "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 $Sum1211010001 = "Disable" Then
|
||
STRCONTAIN "ERR" $12-11-01-0001.TAG tag1_is_disable
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag2_is_disable
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||
Var return = "Invisible"
|
||
If tag1_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag2_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag3_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
Else
|
||
Var return = "Invisible"
|
||
EndIf
|
||
)
|
||
</State>
|
||
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
||
</Image>
|
||
<Text>
|
||
<X> 84 </X>
|
||
<Y> 266 </Y>
|
||
<Size> 10 </Size>
|
||
<Font> OpunMediumTTF </Font>
|
||
<Color> 0xDE794E </Color>
|
||
<State> ice_tab_process_show </State>
|
||
<Value> ice_show_open </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 48 </X>
|
||
<Y> 116 </Y>
|
||
<Size> 32 </Size>
|
||
<Width>128</Width>
|
||
<Height>64</Height>
|
||
<Font> MITRegularTTF </Font>
|
||
<Color> 0x5A5A5A </Color>
|
||
<Mode> "disable-show" </Mode>
|
||
<State> $Sum1211010001 </State>
|
||
<Value> text_unavailable </Value>
|
||
<Align> center-vertical-horizontal </Align>
|
||
</Text>
|
||
</Block>
|
||
; 12-31-01-0001 - -
|
||
<Block>
|
||
<MarginLeft> 33 </MarginLeft>
|
||
<MarginTop> 22 </MarginTop>
|
||
<Width> 225 </Width>
|
||
<Height> 296 </Height>
|
||
<State> Flag( 12-31-01-0001.Button,$Sum1231010001) </State>
|
||
<Button>
|
||
<State> $Sum1231010001 </State>
|
||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_double_espresso.png" </Filename>
|
||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_double_espresso.png" </FilenamePress>
|
||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_double_espresso.png" </FilenameDisable>
|
||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||
<Volume> SoundVolume </Volume>
|
||
<OverlayImage> xmlpro( 12-31-01-0001, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||
<EventOnClick>
|
||
Var NameDrink = "Double Espresso"
|
||
Var NameDrinkTH = "ดับเบิลเอสเพรสโซ่"
|
||
Var DrinkDescriptionTH = "กาแฟ (60 ml)"
|
||
Var DrinkDescription = "Espresso (60 ml)"
|
||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_double_espresso.png"
|
||
Var OpenFromXML = CurrentXMLFileName2
|
||
Var PriceD1 = $12-31-01-0001.Price
|
||
Var PriceD2 = $-.Price
|
||
Var PriceD3 = $-.Price
|
||
Var PD_CODE1 = "12-31-01-0001"
|
||
Var PD_CODE2 = "##-##-##-####"
|
||
Var PD_CODE3 = "##-##-##-####"
|
||
Var PD_STAGE_1 = $12-31-01-0001.Button
|
||
Var PD_STAGE_2 = "Disable2"
|
||
Var PD_STAGE_3 = "Disable2"
|
||
Var OverlayMenuFilter !assigned xmlpro( 12-31-01-0001, "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" "12-31-01-0001"
|
||
Else
|
||
Topping "Load" "-"
|
||
EndIf
|
||
EndIf
|
||
Var menu_name_eng_hot = $12-31-01-0001.NameE
|
||
Var menu_desc_eng_hot = $12-31-01-0001.descriptionE
|
||
Var menu_name_thai_hot = $12-31-01-0001.Name
|
||
Var menu_desc_thai_hot = $12-31-01-0001.description
|
||
|
||
Var menu_name_eng_cold = $##-##-##-####.NameE
|
||
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
|
||
Var menu_name_thai_cold = $##-##-##-####.Name
|
||
Var menu_desc_thai_cold = $##-##-##-####.description
|
||
|
||
Var menu_name_eng_blender = $##-##-##-####.NameE
|
||
Var menu_desc_eng_blender = $##-##-##-####.descriptionE
|
||
Var menu_name_thai_blender = $##-##-##-####.Name
|
||
Var menu_desc_thai_blender = $##-##-##-####.description
|
||
|
||
DEBUGVAR PD_STAGE_1
|
||
DEBUGVAR PD_STAGE_2
|
||
DEBUGVAR PD_STAGE_3
|
||
Var SelectDrinkType = 0
|
||
|
||
|
||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
||
|
||
</EventOnClick>
|
||
</Button>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 164 </Y>
|
||
<Size> 24 </Size>
|
||
<Width>220</Width>
|
||
<Mode> "multi2" </Mode>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x322B26 </Color>
|
||
<State> showthaiText </State>
|
||
<Value> "ดับเบิลเอสเพรสโซ่" </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 220 </Y>
|
||
<Size> 14 </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<State> showthaiText </State>
|
||
<Value> "กาแฟ (60 ml)" </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> "Double
|
||
Espresso" </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> "Espresso (60 ml)" </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-31-01-0001.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-31-01-0001.Button </State>
|
||
<Value> StringFmt( $12-31-01-0001.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
||
<State> "Invisible" </State>
|
||
</Image>
|
||
<Text>
|
||
<X> 115 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> "Invisible" </State>
|
||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 146 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||
<State> "Invisible" </State>
|
||
</Image>
|
||
<Text>
|
||
<X> 183 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> "Invisible" </State>
|
||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<State>
|
||
eval(
|
||
If ICE_PROCESS_STATUS = 2 Then
|
||
|
||
If $Sum1231010001 = "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 $Sum1231010001 = "Disable" Then
|
||
STRCONTAIN "ERR" $12-31-01-0001.TAG tag1_is_disable
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag2_is_disable
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||
Var return = "Invisible"
|
||
If tag1_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag2_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag3_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
Else
|
||
Var return = "Invisible"
|
||
EndIf
|
||
)
|
||
</State>
|
||
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
||
</Image>
|
||
<Text>
|
||
<X> 84 </X>
|
||
<Y> 266 </Y>
|
||
<Size> 10 </Size>
|
||
<Font> OpunMediumTTF </Font>
|
||
<Color> 0xDE794E </Color>
|
||
<State> ice_tab_process_show </State>
|
||
<Value> ice_show_open </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 48 </X>
|
||
<Y> 116 </Y>
|
||
<Size> 32 </Size>
|
||
<Width>128</Width>
|
||
<Height>64</Height>
|
||
<Font> MITRegularTTF </Font>
|
||
<Color> 0x5A5A5A </Color>
|
||
<Mode> "disable-show" </Mode>
|
||
<State> $Sum1231010001 </State>
|
||
<Value> text_unavailable </Value>
|
||
<Align> center-vertical-horizontal </Align>
|
||
</Text>
|
||
</Block>
|
||
; ==================> Len = 21
|
||
; 12-01-01-0036 - -
|
||
<Block>
|
||
<MarginLeft> 33 </MarginLeft>
|
||
<MarginTop> 22 </MarginTop>
|
||
<Width> 225 </Width>
|
||
<Height> 296 </Height>
|
||
<State> Flag( 12-01-01-0036.Button,$Sum1201010036) </State>
|
||
<Button>
|
||
<State> $Sum1201010036 </State>
|
||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_espresso_light_geisha.png" </Filename>
|
||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_espresso_light_geisha.png" </FilenamePress>
|
||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_espresso_light_geisha.png" </FilenameDisable>
|
||
<OverlayImage> xmlpro( 12-01-01-0036, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi2.png") </OverlayImage>
|
||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||
<Volume> SoundVolume </Volume>
|
||
<EventOnClick>
|
||
Var NameDrink = "Geisha Espresso"
|
||
Var NameDrinkTH = "เอสเพรสโซ่ช็อต Geisha"
|
||
Var DrinkDescriptionTH = "กาแฟคั่วอ่อน (natural process) ดอกไม้สีขาว/ส้มบลัดออเรนจ์/เกรปฟรุต"
|
||
Var DrinkDescription = "Light Roast (Natural Process) White flower/Blood orange/Grape fruit"
|
||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_espresso_light_geisha.png"
|
||
Var OpenFromXML = CurrentXMLFileName2
|
||
Var PriceD1 = $12-01-01-0036.Price
|
||
Var PriceD2 = $-.Price
|
||
Var PriceD3 = $-.Price
|
||
Var PD_CODE1 = "12-01-01-0036"
|
||
Var PD_CODE2 = "##-##-##-####"
|
||
Var PD_CODE3 = "##-##-##-####"
|
||
Var PD_STAGE_1 = $12-01-01-0036.Button
|
||
Var PD_STAGE_2 = "Disable2"
|
||
Var PD_STAGE_3 = "Disable2"
|
||
Var OverlayMenuFilter !assigned xmlpro( 12-01-01-0036, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi2.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" "12-01-01-0036"
|
||
Else
|
||
Topping "Load" "-"
|
||
EndIf
|
||
EndIf
|
||
Var menu_name_eng_hot = $12-01-01-0036.NameE
|
||
Var menu_desc_eng_hot = $12-01-01-0036.descriptionE
|
||
Var menu_name_thai_hot = $12-01-01-0036.Name
|
||
Var menu_desc_thai_hot = $12-01-01-0036.description
|
||
|
||
Var menu_name_eng_cold = $##-##-##-####.NameE
|
||
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
|
||
Var menu_name_thai_cold = $##-##-##-####.Name
|
||
Var menu_desc_thai_cold = $##-##-##-####.description
|
||
|
||
Var menu_name_eng_blender = $##-##-##-####.NameE
|
||
Var menu_desc_eng_blender = $##-##-##-####.descriptionE
|
||
Var menu_name_thai_blender = $##-##-##-####.Name
|
||
Var menu_desc_thai_blender = $##-##-##-####.description
|
||
|
||
DEBUGVAR PD_STAGE_1
|
||
DEBUGVAR PD_STAGE_2
|
||
DEBUGVAR PD_STAGE_3
|
||
Var SelectDrinkType = 0
|
||
|
||
|
||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
||
|
||
</EventOnClick>
|
||
</Button>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 164 </Y>
|
||
<Size> 24 </Size>
|
||
<Width>220</Width>
|
||
<Mode> "multi2" </Mode>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x322B26 </Color>
|
||
<State> showthaiText </State>
|
||
<Value> "เอสเพรสโซ่ช็อต
|
||
Geisha" </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> "กาแฟคั่วอ่อน (natural process) ดอกไม้สีขาว/ส้มบลัดออเรนจ์/เกรปฟรุต" </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> "Geisha Espresso" </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> "Light Roast (Natural Process) White flower/Blood orange/Grape fruit" </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-01-01-0036.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-01-01-0036.Button </State>
|
||
<Value> StringFmt( $12-01-01-0036.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
||
<State> "Invisible" </State>
|
||
</Image>
|
||
<Text>
|
||
<X> 115 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> "Invisible" </State>
|
||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 146 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||
<State> "Invisible" </State>
|
||
</Image>
|
||
<Text>
|
||
<X> 180 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitRegularTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> "Invisible" </State>
|
||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<State>
|
||
eval(
|
||
If ICE_PROCESS_STATUS = 2 Then
|
||
|
||
If $Sum1201010036 = "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 $Sum1201010036 = "Disable" Then
|
||
STRCONTAIN "ERR" $12-01-01-0036.TAG tag1_is_disable
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag2_is_disable
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||
Var return = "Invisible"
|
||
If tag1_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag2_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag3_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
Else
|
||
Var return = "Invisible"
|
||
EndIf
|
||
)
|
||
</State>
|
||
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
||
</Image>
|
||
<Text>
|
||
<X> 84 </X>
|
||
<Y> 266 </Y>
|
||
<Size> 10 </Size>
|
||
<Font> OpunMediumTTF </Font>
|
||
<Color> 0xDE794E </Color>
|
||
<State> ice_tab_process_show </State>
|
||
<Value> ice_show_open </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 48 </X>
|
||
<Y> 116 </Y>
|
||
<Size> 32 </Size>
|
||
<Width>128</Width>
|
||
<Height>64</Height>
|
||
<Font> MITRegularTTF </Font>
|
||
<Color> 0x5A5A5A </Color>
|
||
<Mode> "disable-show" </Mode>
|
||
<State> $Sum1201010036 </State>
|
||
<Value> text_unavailable </Value>
|
||
<Align> center-vertical-horizontal </Align>
|
||
</Text>
|
||
</Block>
|
||
; - - -
|
||
; ==================> Len = 21
|
||
; 12-01-01-0035 12-01-02-0035 -
|
||
<Block>
|
||
<MarginLeft> 33 </MarginLeft>
|
||
<MarginTop> 22 </MarginTop>
|
||
<Width> 225 </Width>
|
||
<Height> 296 </Height>
|
||
<State> Flag( 12-01-01-0035.Button,12-01-02-0035.Button,$Sum12010100351201020035) </State>
|
||
<Button>
|
||
<State> $Sum12010100351201020035 </State>
|
||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_americano_light_geisha.png" </Filename>
|
||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_americano_light_geisha.png" </FilenamePress>
|
||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_americano_light_geisha.png" </FilenameDisable>
|
||
<OverlayImage> xmlpro( 12-01-01-0035, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi2.png") </OverlayImage>
|
||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||
<Volume> SoundVolume </Volume>
|
||
<EventOnClick>
|
||
Var NameDrink = "Geisha Americano"
|
||
Var NameDrinkTH = "อเมริกาโน Geisha"
|
||
Var DrinkDescriptionTH = "กาแฟคั่วอ่อน (natural process) ดอกไม้สีขาว/ส้มบลัดออเรนจ์/เกรปฟรุต"
|
||
Var DrinkDescription = "Light Roast (Natural Process) White flower/Blood orange/Grape fruit"
|
||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_americano_light_geisha.png"
|
||
Var OpenFromXML = CurrentXMLFileName2
|
||
Var PriceD1 = $12-01-01-0035.Price
|
||
Var PriceD2 = $12-01-02-0035.Price
|
||
Var PriceD3 = $-.Price
|
||
Var PD_CODE1 = "12-01-01-0035"
|
||
Var PD_CODE2 = "12-01-02-0035"
|
||
Var PD_CODE3 = "##-##-##-####"
|
||
Var PD_STAGE_1 = $12-01-01-0035.Button
|
||
Var PD_STAGE_2 = $12-01-02-0035.Button
|
||
Var PD_STAGE_3 = "Disable2"
|
||
Var OverlayMenuFilter !assigned xmlpro( 12-01-01-0035, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi2.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-01-02-0035"
|
||
Else
|
||
If PD_STAGE_1 = "Enable" Then
|
||
Topping "Load" "12-01-01-0035"
|
||
Else
|
||
Topping "Load" "-"
|
||
EndIf
|
||
EndIf
|
||
Var menu_name_eng_hot = $12-01-01-0035.NameE
|
||
Var menu_desc_eng_hot = $12-01-01-0035.descriptionE
|
||
Var menu_name_thai_hot = $12-01-01-0035.Name
|
||
Var menu_desc_thai_hot = $12-01-01-0035.description
|
||
|
||
Var menu_name_eng_cold = $12-01-02-0035.NameE
|
||
Var menu_desc_eng_cold = $12-01-02-0035.descriptionE
|
||
Var menu_name_thai_cold = $12-01-02-0035.Name
|
||
Var menu_desc_thai_cold = $12-01-02-0035.description
|
||
|
||
Var menu_name_eng_blender = $##-##-##-####.NameE
|
||
Var menu_desc_eng_blender = $##-##-##-####.descriptionE
|
||
Var menu_name_thai_blender = $##-##-##-####.Name
|
||
Var menu_desc_thai_blender = $##-##-##-####.description
|
||
|
||
DEBUGVAR PD_STAGE_1
|
||
DEBUGVAR PD_STAGE_2
|
||
DEBUGVAR PD_STAGE_3
|
||
Var SelectDrinkType = 0
|
||
|
||
|
||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
||
|
||
</EventOnClick>
|
||
</Button>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 164 </Y>
|
||
<Size> 24 </Size>
|
||
<Width>220</Width>
|
||
<Mode> "multi2" </Mode>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x322B26 </Color>
|
||
<State> showthaiText </State>
|
||
<Value> "อเมริกาโน
|
||
Geisha" </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> "กาแฟคั่วอ่อน (natural process) ดอกไม้สีขาว/ส้มบลัดออเรนจ์/เกรปฟรุต" </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> "Geisha
|
||
Americano" </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> "Light Roast (Natural Process) White flower/Blood orange/Grape fruit" </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-01-01-0035.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-01-01-0035.Button </State>
|
||
<Value> StringFmt( $12-01-01-0035.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-01-02-0035.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-01-02-0035.Button </State>
|
||
<Value> StringFmt( $12-01-02-0035.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 146 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||
<State> "Invisible" </State>
|
||
</Image>
|
||
<Text>
|
||
<X> 180 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitRegularTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> "Invisible" </State>
|
||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<State>
|
||
eval(
|
||
If ICE_PROCESS_STATUS = 2 Then
|
||
|
||
If $Sum12010100351201020035 = "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 $Sum12010100351201020035 = "Disable" Then
|
||
STRCONTAIN "ERR" $12-01-01-0035.TAG tag1_is_disable
|
||
STRCONTAIN "ERR" $12-01-02-0035.TAG tag2_is_disable
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||
Var return = "Invisible"
|
||
If tag1_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag2_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag3_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
Else
|
||
Var return = "Invisible"
|
||
EndIf
|
||
)
|
||
</State>
|
||
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
||
</Image>
|
||
<Text>
|
||
<X> 84 </X>
|
||
<Y> 266 </Y>
|
||
<Size> 10 </Size>
|
||
<Font> OpunMediumTTF </Font>
|
||
<Color> 0xDE794E </Color>
|
||
<State> ice_tab_process_show </State>
|
||
<Value> ice_show_open </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 48 </X>
|
||
<Y> 116 </Y>
|
||
<Size> 32 </Size>
|
||
<Width>128</Width>
|
||
<Height>64</Height>
|
||
<Font> MITRegularTTF </Font>
|
||
<Color> 0x5A5A5A </Color>
|
||
<Mode> "disable-show" </Mode>
|
||
<State> $Sum12010100351201020035 </State>
|
||
<Value> text_unavailable </Value>
|
||
<Align> center-vertical-horizontal </Align>
|
||
</Text>
|
||
</Block>
|
||
; - - -
|
||
; ==================> Len = 21
|
||
; - 12-01-02-0036 -
|
||
<Block>
|
||
<MarginLeft> 33 </MarginLeft>
|
||
<MarginTop> 22 </MarginTop>
|
||
<Width> 225 </Width>
|
||
<Height> 296 </Height>
|
||
<State> Flag( 12-01-02-0036.Button,$Sum1201020036) </State>
|
||
<Button>
|
||
<State> $Sum1201020036 </State>
|
||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_dirty_light_geisha.png" </Filename>
|
||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_dirty_light_geisha.png" </FilenamePress>
|
||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_dirty_light_geisha.png" </FilenameDisable>
|
||
<OverlayImage> xmlpro( 12-01-02-0036, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi2.png") </OverlayImage>
|
||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||
<Volume> SoundVolume </Volume>
|
||
<EventOnClick>
|
||
Var NameDrink = "Geisha Almost Dirty"
|
||
Var NameDrinkTH = "Geisha Almost Dirty"
|
||
Var DrinkDescriptionTH = "กาแฟคั่วอ่อน (natural process) ดอกไม้สีขาว/ส้มบลัดออเรนจ์/เกรปฟรุต"
|
||
Var DrinkDescription = "Light Roast (Natural Process) White flower/Blood orange/Grape fruit"
|
||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_dirty_light_geisha.png"
|
||
Var OpenFromXML = CurrentXMLFileName2
|
||
Var PriceD1 = $-.Price
|
||
Var PriceD2 = $12-01-02-0036.Price
|
||
Var PriceD3 = $-.Price
|
||
Var PD_CODE1 = "##-##-##-####"
|
||
Var PD_CODE2 = "12-01-02-0036"
|
||
Var PD_CODE3 = "##-##-##-####"
|
||
Var PD_STAGE_1 = "Disable2"
|
||
Var PD_STAGE_2 = $12-01-02-0036.Button
|
||
Var PD_STAGE_3 = "Disable2"
|
||
Var OverlayMenuFilter !assigned xmlpro( 12-01-02-0036, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi2.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-01-02-0036"
|
||
Else
|
||
If PD_STAGE_1 = "Enable" Then
|
||
Topping "Load" "-"
|
||
Else
|
||
Topping "Load" "-"
|
||
EndIf
|
||
EndIf
|
||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
||
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
||
Var menu_name_thai_hot = $##-##-##-####.Name
|
||
Var menu_desc_thai_hot = $##-##-##-####.description
|
||
|
||
Var menu_name_eng_cold = $12-01-02-0036.NameE
|
||
Var menu_desc_eng_cold = $12-01-02-0036.descriptionE
|
||
Var menu_name_thai_cold = $12-01-02-0036.Name
|
||
Var menu_desc_thai_cold = $12-01-02-0036.description
|
||
|
||
Var menu_name_eng_blender = $##-##-##-####.NameE
|
||
Var menu_desc_eng_blender = $##-##-##-####.descriptionE
|
||
Var menu_name_thai_blender = $##-##-##-####.Name
|
||
Var menu_desc_thai_blender = $##-##-##-####.description
|
||
|
||
DEBUGVAR PD_STAGE_1
|
||
DEBUGVAR PD_STAGE_2
|
||
DEBUGVAR PD_STAGE_3
|
||
Var SelectDrinkType = 0
|
||
|
||
|
||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
||
|
||
</EventOnClick>
|
||
</Button>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 164 </Y>
|
||
<Size> 24 </Size>
|
||
<Width>220</Width>
|
||
<Mode> "multi2" </Mode>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x322B26 </Color>
|
||
<State> showthaiText </State>
|
||
<Value> "Geisha
|
||
Almost Dirty" </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> "กาแฟคั่วอ่อน (natural process) ดอกไม้สีขาว/ส้มบลัดออเรนจ์/เกรปฟรุต" </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> "Geisha
|
||
Almost Dirty" </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> "Light Roast (Natural Process) White flower/Blood orange/Grape fruit" </Value>
|
||
</Text>
|
||
<Image>
|
||
<X> 16 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "option_deactive.png" ) </Filename>
|
||
</Image>
|
||
<Image>
|
||
<X> 16 </X>
|
||
<Y> 264 </Y>
|
||
<State> "Invisible" </State>
|
||
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
|
||
</Image>
|
||
<Text>
|
||
<X> 50 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> "Invisible" </State>
|
||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
||
<State> $12-01-02-0036.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-01-02-0036.Button </State>
|
||
<Value> StringFmt( $12-01-02-0036.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 146 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||
<State> "Invisible" </State>
|
||
</Image>
|
||
<Text>
|
||
<X> 180 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitRegularTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> "Invisible" </State>
|
||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<State>
|
||
eval(
|
||
If ICE_PROCESS_STATUS = 2 Then
|
||
|
||
Var ice_tab_process_show = "Invisible"
|
||
|
||
Else
|
||
Var ice_tab_process_show = "Invisible"
|
||
EndIf
|
||
Var return = ice_tab_process_show
|
||
)
|
||
</State>
|
||
<Filename> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </Filename>
|
||
<FilenameDisable> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </FilenameDisable>
|
||
</Image>
|
||
<Image>
|
||
<X> 49 </X>
|
||
<Y> 117 </Y>
|
||
<State>
|
||
eval(
|
||
If $Sum1201020036 = "Disable" Then
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||
STRCONTAIN "ERR" $12-01-02-0036.TAG tag2_is_disable
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||
Var return = "Invisible"
|
||
If tag1_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag2_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag3_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
Else
|
||
Var return = "Invisible"
|
||
EndIf
|
||
)
|
||
</State>
|
||
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
||
</Image>
|
||
<Text>
|
||
<X> 84 </X>
|
||
<Y> 266 </Y>
|
||
<Size> 10 </Size>
|
||
<Font> OpunMediumTTF </Font>
|
||
<Color> 0xDE794E </Color>
|
||
<State> ice_tab_process_show </State>
|
||
<Value> ice_show_open </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 48 </X>
|
||
<Y> 116 </Y>
|
||
<Size> 32 </Size>
|
||
<Width>128</Width>
|
||
<Height>64</Height>
|
||
<Font> MITRegularTTF </Font>
|
||
<Color> 0x5A5A5A </Color>
|
||
<Mode> "disable-show" </Mode>
|
||
<State> $Sum1201020036 </State>
|
||
<Value> text_unavailable </Value>
|
||
<Align> center-vertical-horizontal </Align>
|
||
</Text>
|
||
</Block>
|
||
; - - -
|
||
; ==================> Len = 21
|
||
; 12-01-01-0049 - -
|
||
<Block>
|
||
<MarginLeft> 33 </MarginLeft>
|
||
<MarginTop> 22 </MarginTop>
|
||
<Width> 225 </Width>
|
||
<Height> 296 </Height>
|
||
<State> Flag( 12-01-01-0049.Button,$Sum1201010049) </State>
|
||
<Button>
|
||
<State> $Sum1201010049 </State>
|
||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_espresso_light_opus_one.png" </Filename>
|
||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_espresso_light_opus_one.png" </FilenamePress>
|
||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_espresso_light_opus_one.png" </FilenameDisable>
|
||
<OverlayImage> xmlpro( 12-01-01-0049, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi2.png") </OverlayImage>
|
||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||
<Volume> SoundVolume </Volume>
|
||
<EventOnClick>
|
||
Var NameDrink = "Opus One Espresso"
|
||
Var NameDrinkTH = "เอสเพรสโซ่ช็อต Opus One"
|
||
Var DrinkDescriptionTH = "กาแฟคั่วอ่อน โน๊ต: องุ่น/ลูกพรุนแห้ง/มิ้นท์/น้ำตาลทรายแดง"
|
||
Var DrinkDescription = "Light Roast. Note: Grape/Dried prunes/Mint/Brown Sugar"
|
||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_espresso_light_opus_one.png"
|
||
Var OpenFromXML = CurrentXMLFileName2
|
||
Var PriceD1 = $12-01-01-0049.Price
|
||
Var PriceD2 = $-.Price
|
||
Var PriceD3 = $-.Price
|
||
Var PD_CODE1 = "12-01-01-0049"
|
||
Var PD_CODE2 = "##-##-##-####"
|
||
Var PD_CODE3 = "##-##-##-####"
|
||
Var PD_STAGE_1 = $12-01-01-0049.Button
|
||
Var PD_STAGE_2 = "Disable2"
|
||
Var PD_STAGE_3 = "Disable2"
|
||
Var OverlayMenuFilter !assigned xmlpro( 12-01-01-0049, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi2.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" "12-01-01-0049"
|
||
Else
|
||
Topping "Load" "-"
|
||
EndIf
|
||
EndIf
|
||
Var menu_name_eng_hot = $12-01-01-0049.NameE
|
||
Var menu_desc_eng_hot = $12-01-01-0049.descriptionE
|
||
Var menu_name_thai_hot = $12-01-01-0049.Name
|
||
Var menu_desc_thai_hot = $12-01-01-0049.description
|
||
|
||
Var menu_name_eng_cold = $##-##-##-####.NameE
|
||
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
|
||
Var menu_name_thai_cold = $##-##-##-####.Name
|
||
Var menu_desc_thai_cold = $##-##-##-####.description
|
||
|
||
Var menu_name_eng_blender = $##-##-##-####.NameE
|
||
Var menu_desc_eng_blender = $##-##-##-####.descriptionE
|
||
Var menu_name_thai_blender = $##-##-##-####.Name
|
||
Var menu_desc_thai_blender = $##-##-##-####.description
|
||
|
||
DEBUGVAR PD_STAGE_1
|
||
DEBUGVAR PD_STAGE_2
|
||
DEBUGVAR PD_STAGE_3
|
||
Var SelectDrinkType = 0
|
||
|
||
|
||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
||
|
||
</EventOnClick>
|
||
</Button>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 164 </Y>
|
||
<Size> 24 </Size>
|
||
<Width>220</Width>
|
||
<Mode> "multi2" </Mode>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x322B26 </Color>
|
||
<State> showthaiText </State>
|
||
<Value> "เอสเพรสโซ่ช็อต
|
||
Opus One" </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> "Opus One
|
||
Espresso" </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> "Light Roast. Note: Grape/Dried prunes/Mint/Brown Sugar" </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-01-01-0049.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-01-01-0049.Button </State>
|
||
<Value> StringFmt( $12-01-01-0049.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
||
<State> "Invisible" </State>
|
||
</Image>
|
||
<Text>
|
||
<X> 115 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> "Invisible" </State>
|
||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 146 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||
<State> "Invisible" </State>
|
||
</Image>
|
||
<Text>
|
||
<X> 180 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitRegularTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> "Invisible" </State>
|
||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<State>
|
||
eval(
|
||
If ICE_PROCESS_STATUS = 2 Then
|
||
|
||
If $Sum1201010049 = "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 $Sum1201010049 = "Disable" Then
|
||
STRCONTAIN "ERR" $12-01-01-0049.TAG tag1_is_disable
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag2_is_disable
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||
Var return = "Invisible"
|
||
If tag1_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag2_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag3_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
Else
|
||
Var return = "Invisible"
|
||
EndIf
|
||
)
|
||
</State>
|
||
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
||
</Image>
|
||
<Text>
|
||
<X> 84 </X>
|
||
<Y> 266 </Y>
|
||
<Size> 10 </Size>
|
||
<Font> OpunMediumTTF </Font>
|
||
<Color> 0xDE794E </Color>
|
||
<State> ice_tab_process_show </State>
|
||
<Value> ice_show_open </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 48 </X>
|
||
<Y> 116 </Y>
|
||
<Size> 32 </Size>
|
||
<Width>128</Width>
|
||
<Height>64</Height>
|
||
<Font> MITRegularTTF </Font>
|
||
<Color> 0x5A5A5A </Color>
|
||
<Mode> "disable-show" </Mode>
|
||
<State> $Sum1201010049 </State>
|
||
<Value> text_unavailable </Value>
|
||
<Align> center-vertical-horizontal </Align>
|
||
</Text>
|
||
</Block>
|
||
; - - -
|
||
; ==================> Len = 21
|
||
; 12-01-01-0050 12-01-02-0050 -
|
||
<Block>
|
||
<MarginLeft> 33 </MarginLeft>
|
||
<MarginTop> 22 </MarginTop>
|
||
<Width> 225 </Width>
|
||
<Height> 296 </Height>
|
||
<State> Flag( 12-01-01-0050.Button,12-01-02-0050.Button,$Sum12010100501201020050) </State>
|
||
<Button>
|
||
<State> $Sum12010100501201020050 </State>
|
||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_americano_light_opus_one.png" </Filename>
|
||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_americano_light_opus_one.png" </FilenamePress>
|
||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_americano_light_opus_one.png" </FilenameDisable>
|
||
<OverlayImage> xmlpro( 12-01-01-0050, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi2.png") </OverlayImage>
|
||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||
<Volume> SoundVolume </Volume>
|
||
<EventOnClick>
|
||
Var NameDrink = "Opus One Americano"
|
||
Var NameDrinkTH = "อเมริกาโน Opus One"
|
||
Var DrinkDescriptionTH = "กาแฟคั่วอ่อน โน๊ต: องุ่น/ลูกพรุนแห้ง/มิ้นท์/น้ำตาลทรายแดง"
|
||
Var DrinkDescription = "Light Roast. Note: Grape/Dried prunes/Mint/Brown Sugar"
|
||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_americano_light_opus_one.png"
|
||
Var OpenFromXML = CurrentXMLFileName2
|
||
Var PriceD1 = $12-01-01-0050.Price
|
||
Var PriceD2 = $12-01-02-0050.Price
|
||
Var PriceD3 = $-.Price
|
||
Var PD_CODE1 = "12-01-01-0050"
|
||
Var PD_CODE2 = "12-01-02-0050"
|
||
Var PD_CODE3 = "##-##-##-####"
|
||
Var PD_STAGE_1 = $12-01-01-0050.Button
|
||
Var PD_STAGE_2 = $12-01-02-0050.Button
|
||
Var PD_STAGE_3 = "Disable2"
|
||
Var OverlayMenuFilter !assigned xmlpro( 12-01-01-0050, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi2.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-01-02-0050"
|
||
Else
|
||
If PD_STAGE_1 = "Enable" Then
|
||
Topping "Load" "12-01-01-0050"
|
||
Else
|
||
Topping "Load" "-"
|
||
EndIf
|
||
EndIf
|
||
Var menu_name_eng_hot = $12-01-01-0050.NameE
|
||
Var menu_desc_eng_hot = $12-01-01-0050.descriptionE
|
||
Var menu_name_thai_hot = $12-01-01-0050.Name
|
||
Var menu_desc_thai_hot = $12-01-01-0050.description
|
||
|
||
Var menu_name_eng_cold = $12-01-02-0050.NameE
|
||
Var menu_desc_eng_cold = $12-01-02-0050.descriptionE
|
||
Var menu_name_thai_cold = $12-01-02-0050.Name
|
||
Var menu_desc_thai_cold = $12-01-02-0050.description
|
||
|
||
Var menu_name_eng_blender = $##-##-##-####.NameE
|
||
Var menu_desc_eng_blender = $##-##-##-####.descriptionE
|
||
Var menu_name_thai_blender = $##-##-##-####.Name
|
||
Var menu_desc_thai_blender = $##-##-##-####.description
|
||
|
||
DEBUGVAR PD_STAGE_1
|
||
DEBUGVAR PD_STAGE_2
|
||
DEBUGVAR PD_STAGE_3
|
||
Var SelectDrinkType = 0
|
||
|
||
|
||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
||
|
||
</EventOnClick>
|
||
</Button>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 164 </Y>
|
||
<Size> 24 </Size>
|
||
<Width>220</Width>
|
||
<Mode> "multi2" </Mode>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x322B26 </Color>
|
||
<State> showthaiText </State>
|
||
<Value> "อเมริกาโน
|
||
Opus One" </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> "Opus One
|
||
Americano" </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> "Light Roast. Note: Grape/Dried prunes/Mint/Brown Sugar" </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-01-01-0050.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-01-01-0050.Button </State>
|
||
<Value> StringFmt( $12-01-01-0050.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-01-02-0050.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-01-02-0050.Button </State>
|
||
<Value> StringFmt( $12-01-02-0050.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 146 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||
<State> "Invisible" </State>
|
||
</Image>
|
||
<Text>
|
||
<X> 180 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitRegularTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> "Invisible" </State>
|
||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<State>
|
||
eval(
|
||
If ICE_PROCESS_STATUS = 2 Then
|
||
|
||
If $Sum12010100501201020050 = "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 $Sum12010100501201020050 = "Disable" Then
|
||
STRCONTAIN "ERR" $12-01-01-0050.TAG tag1_is_disable
|
||
STRCONTAIN "ERR" $12-01-02-0050.TAG tag2_is_disable
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||
Var return = "Invisible"
|
||
If tag1_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag2_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag3_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
Else
|
||
Var return = "Invisible"
|
||
EndIf
|
||
)
|
||
</State>
|
||
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
||
</Image>
|
||
<Text>
|
||
<X> 84 </X>
|
||
<Y> 266 </Y>
|
||
<Size> 10 </Size>
|
||
<Font> OpunMediumTTF </Font>
|
||
<Color> 0xDE794E </Color>
|
||
<State> ice_tab_process_show </State>
|
||
<Value> ice_show_open </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 48 </X>
|
||
<Y> 116 </Y>
|
||
<Size> 32 </Size>
|
||
<Width>128</Width>
|
||
<Height>64</Height>
|
||
<Font> MITRegularTTF </Font>
|
||
<Color> 0x5A5A5A </Color>
|
||
<Mode> "disable-show" </Mode>
|
||
<State> $Sum12010100501201020050 </State>
|
||
<Value> text_unavailable </Value>
|
||
<Align> center-vertical-horizontal </Align>
|
||
</Text>
|
||
</Block>
|
||
; - - -
|
||
; ==================> Len = 16
|
||
; - 12-01-02-0051 -
|
||
<Block>
|
||
<MarginLeft> 33 </MarginLeft>
|
||
<MarginTop> 22 </MarginTop>
|
||
<Width> 225 </Width>
|
||
<Height> 296 </Height>
|
||
<State> Flag( 12-01-02-0051.Button,$Sum1201020051) </State>
|
||
<Button>
|
||
<State> $Sum1201020051 </State>
|
||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_dirty_light_opus_one.png" </Filename>
|
||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_dirty_light_opus_one.png" </FilenamePress>
|
||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_dirty_light_opus_one.png" </FilenameDisable>
|
||
<OverlayImage> xmlpro( 12-01-02-0051, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi2.png") </OverlayImage>
|
||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||
<Volume> SoundVolume </Volume>
|
||
<EventOnClick>
|
||
Var NameDrink = "Opus One Almost Dirty"
|
||
Var NameDrinkTH = "Opus One Almost Dirty"
|
||
Var DrinkDescriptionTH = "กาแฟคั่วอ่อน โน๊ต: องุ่น/ลูกพรุนแห้ง/มิ้นท์/น้ำตาลทรายแดง"
|
||
Var DrinkDescription = "Light Roast. Note: Grape/Dried prunes/Mint/Brown Sugar"
|
||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_dirty_light_opus_one.png"
|
||
Var OpenFromXML = CurrentXMLFileName2
|
||
Var PriceD1 = $-.Price
|
||
Var PriceD2 = $12-01-02-0051.Price
|
||
Var PriceD3 = $-.Price
|
||
Var PD_CODE1 = "##-##-##-####"
|
||
Var PD_CODE2 = "12-01-02-0051"
|
||
Var PD_CODE3 = "##-##-##-####"
|
||
Var PD_STAGE_1 = "Disable2"
|
||
Var PD_STAGE_2 = $12-01-02-0051.Button
|
||
Var PD_STAGE_3 = "Disable2"
|
||
Var OverlayMenuFilter !assigned xmlpro( 12-01-02-0051, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi2.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-01-02-0051"
|
||
Else
|
||
If PD_STAGE_1 = "Enable" Then
|
||
Topping "Load" "-"
|
||
Else
|
||
Topping "Load" "-"
|
||
EndIf
|
||
EndIf
|
||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
||
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
||
Var menu_name_thai_hot = $##-##-##-####.Name
|
||
Var menu_desc_thai_hot = $##-##-##-####.description
|
||
|
||
Var menu_name_eng_cold = $12-01-02-0051.NameE
|
||
Var menu_desc_eng_cold = $12-01-02-0051.descriptionE
|
||
Var menu_name_thai_cold = $12-01-02-0051.Name
|
||
Var menu_desc_thai_cold = $12-01-02-0051.description
|
||
|
||
Var menu_name_eng_blender = $##-##-##-####.NameE
|
||
Var menu_desc_eng_blender = $##-##-##-####.descriptionE
|
||
Var menu_name_thai_blender = $##-##-##-####.Name
|
||
Var menu_desc_thai_blender = $##-##-##-####.description
|
||
|
||
DEBUGVAR PD_STAGE_1
|
||
DEBUGVAR PD_STAGE_2
|
||
DEBUGVAR PD_STAGE_3
|
||
Var SelectDrinkType = 0
|
||
|
||
|
||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
||
|
||
</EventOnClick>
|
||
</Button>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 164 </Y>
|
||
<Size> 24 </Size>
|
||
<Width>220</Width>
|
||
<Mode> "multi2" </Mode>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x322B26 </Color>
|
||
<State> showthaiText </State>
|
||
<Value> "Opus One
|
||
Almost Dirty" </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> "Opus One
|
||
Almost Dirty" </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> "Light Roast. Note: Grape/Dried prunes/Mint/Brown Sugar" </Value>
|
||
</Text>
|
||
<Image>
|
||
<X> 16 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "option_deactive.png" ) </Filename>
|
||
</Image>
|
||
<Image>
|
||
<X> 16 </X>
|
||
<Y> 264 </Y>
|
||
<State> "Invisible" </State>
|
||
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
|
||
</Image>
|
||
<Text>
|
||
<X> 50 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> "Invisible" </State>
|
||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
||
<State> $12-01-02-0051.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-01-02-0051.Button </State>
|
||
<Value> StringFmt( $12-01-02-0051.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 146 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||
<State> "Invisible" </State>
|
||
</Image>
|
||
<Text>
|
||
<X> 180 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitRegularTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> "Invisible" </State>
|
||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<State>
|
||
eval(
|
||
If ICE_PROCESS_STATUS = 2 Then
|
||
|
||
Var ice_tab_process_show = "Invisible"
|
||
|
||
Else
|
||
Var ice_tab_process_show = "Invisible"
|
||
EndIf
|
||
Var return = ice_tab_process_show
|
||
)
|
||
</State>
|
||
<Filename> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </Filename>
|
||
<FilenameDisable> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </FilenameDisable>
|
||
</Image>
|
||
<Image>
|
||
<X> 49 </X>
|
||
<Y> 117 </Y>
|
||
<State>
|
||
eval(
|
||
If $Sum1201020051 = "Disable" Then
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||
STRCONTAIN "ERR" $12-01-02-0051.TAG tag2_is_disable
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||
Var return = "Invisible"
|
||
If tag1_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag2_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag3_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
Else
|
||
Var return = "Invisible"
|
||
EndIf
|
||
)
|
||
</State>
|
||
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
||
</Image>
|
||
<Text>
|
||
<X> 84 </X>
|
||
<Y> 266 </Y>
|
||
<Size> 10 </Size>
|
||
<Font> OpunMediumTTF </Font>
|
||
<Color> 0xDE794E </Color>
|
||
<State> ice_tab_process_show </State>
|
||
<Value> ice_show_open </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 48 </X>
|
||
<Y> 116 </Y>
|
||
<Size> 32 </Size>
|
||
<Width>128</Width>
|
||
<Height>64</Height>
|
||
<Font> MITRegularTTF </Font>
|
||
<Color> 0x5A5A5A </Color>
|
||
<Mode> "disable-show" </Mode>
|
||
<State> $Sum1201020051 </State>
|
||
<Value> text_unavailable </Value>
|
||
<Align> center-vertical-horizontal </Align>
|
||
</Text>
|
||
</Block>
|
||
; - - -
|
||
; ==================> Len = 16
|
||
; - - 12-01-03-0090
|
||
<Block>
|
||
<MarginLeft> 33 </MarginLeft>
|
||
<MarginTop> 22 </MarginTop>
|
||
<Width> 225 </Width>
|
||
<Height> 296 </Height>
|
||
<State> Flag( 12-01-03-0090.Button,DateTimeStart="2025/03/01T00:00:00",$Sum1201030090) </State>
|
||
<Button>
|
||
<State> $Sum1201030090 </State>
|
||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_Coconut_Milk_Coffee_Smoothie.png" </Filename>
|
||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_Coconut_Milk_Coffee_Smoothie.png" </FilenamePress>
|
||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_Coconut_Milk_Coffee_Smoothie.png" </FilenameDisable>
|
||
<OverlayImage> xmlpro( 12-01-03-0090, "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 = "Coconut Milk Coffee Ice Cream"
|
||
Var NameDrinkTH = "เต่าบินไอติมถัง กาแฟ"
|
||
Var DrinkDescriptionTH = "มะพร้าว, คาราเมล, กาแฟ, นม, น้ำตาล และ น้ำแข็ง"
|
||
Var DrinkDescription = "Coconut, Caramel, Coffee, Milk, Sugar And Ice"
|
||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_Coconut_Milk_Coffee_Smoothie.png"
|
||
Var OpenFromXML = CurrentXMLFileName2
|
||
Var PriceD1 = $-.Price
|
||
Var PriceD2 = $-.Price
|
||
Var PriceD3 = $12-01-03-0090.Price
|
||
Var PD_CODE1 = "##-##-##-####"
|
||
Var PD_CODE2 = "##-##-##-####"
|
||
Var PD_CODE3 = "12-01-03-0090"
|
||
Var PD_STAGE_1 = "Disable2"
|
||
Var PD_STAGE_2 = "Disable2"
|
||
Var PD_STAGE_3 = $12-01-03-0090.Button
|
||
Var OverlayMenuFilter !assigned xmlpro( 12-01-03-0090, "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-01-03-0090"
|
||
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-01-03-0090.NameE
|
||
Var menu_desc_eng_blender = $12-01-03-0090.descriptionE
|
||
Var menu_name_thai_blender = $12-01-03-0090.Name
|
||
Var menu_desc_thai_blender = $12-01-03-0090.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> "Coconut Milk
|
||
Coffee Ice Cream" </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> "Coconut, Caramel, Coffee, Milk,
|
||
Sugar 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-01-03-0090.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-01-03-0090.Button </State>
|
||
<Value> StringFmt( $12-01-03-0090.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 $Sum1201030090 = "Disable" Then
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag2_is_disable
|
||
STRCONTAIN "ERR" $12-01-03-0090.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> $Sum1201030090 </State>
|
||
<Value> text_unavailable </Value>
|
||
<Align> center-vertical-horizontal </Align>
|
||
</Text>
|
||
</Block>
|
||
; - - 12-21-03-0090
|
||
<Block>
|
||
<MarginLeft> 33 </MarginLeft>
|
||
<MarginTop> 22 </MarginTop>
|
||
<Width> 225 </Width>
|
||
<Height> 296 </Height>
|
||
<State> Flag( 12-21-03-0090.Button,DateTimeStart="2025/03/01T00:00:00",$Sum1221030090) </State>
|
||
<Button>
|
||
<State> $Sum1221030090 </State>
|
||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_Coconut_Milk_Coffee_Smoothie.png" </Filename>
|
||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_Coconut_Milk_Coffee_Smoothie.png" </FilenamePress>
|
||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_Coconut_Milk_Coffee_Smoothie.png" </FilenameDisable>
|
||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||
<Volume> SoundVolume </Volume>
|
||
<OverlayImage> xmlpro( 12-21-03-0090, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||
<EventOnClick>
|
||
Var NameDrink = "Coconut Milk Coffee Ice Cream"
|
||
Var NameDrinkTH = "เต่าบินไอติมถัง กาแฟ"
|
||
Var DrinkDescriptionTH = "มะพร้าว, คาราเมล, กาแฟ, นม, น้ำตาล และ น้ำแข็ง"
|
||
Var DrinkDescription = "Coconut, Caramel, Coffee, Milk, Sugar And Ice"
|
||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_Coconut_Milk_Coffee_Smoothie.png"
|
||
Var OpenFromXML = CurrentXMLFileName2
|
||
Var PriceD1 = $-.Price
|
||
Var PriceD2 = $-.Price
|
||
Var PriceD3 = $12-21-03-0090.Price
|
||
Var PD_CODE1 = "##-##-##-####"
|
||
Var PD_CODE2 = "##-##-##-####"
|
||
Var PD_CODE3 = "12-21-03-0090"
|
||
Var PD_STAGE_1 = "Disable2"
|
||
Var PD_STAGE_2 = "Disable2"
|
||
Var PD_STAGE_3 = $12-21-03-0090.Button
|
||
Var OverlayMenuFilter !assigned xmlpro( 12-21-03-0090, "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-21-03-0090"
|
||
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-21-03-0090.NameE
|
||
Var menu_desc_eng_blender = $12-21-03-0090.descriptionE
|
||
Var menu_name_thai_blender = $12-21-03-0090.Name
|
||
Var menu_desc_thai_blender = $12-21-03-0090.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> "Coconut Milk
|
||
Coffee Ice Cream" </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> "Coconut, Caramel, Coffee, Milk,
|
||
Sugar 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-21-03-0090.Button </State>
|
||
</Image>
|
||
<Text>
|
||
<X> 183 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> $12-21-03-0090.Button </State>
|
||
<Value> StringFmt( $12-21-03-0090.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 $Sum1221030090 = "Disable" Then
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag2_is_disable
|
||
STRCONTAIN "ERR" $12-21-03-0090.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> $Sum1221030090 </State>
|
||
<Value> text_unavailable </Value>
|
||
<Align> center-vertical-horizontal </Align>
|
||
</Text>
|
||
</Block>
|
||
; ==================> Len = 16
|
||
; - 12-01-02-0090 -
|
||
<Block>
|
||
<MarginLeft> 33 </MarginLeft>
|
||
<MarginTop> 22 </MarginTop>
|
||
<Width> 225 </Width>
|
||
<Height> 296 </Height>
|
||
<State> Flag( 12-01-02-0090.Button,DateTimeStart="2025/03/01T00:00:00",$Sum1201020090) </State>
|
||
<Button>
|
||
<State> $Sum1201020090 </State>
|
||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_Oliang.png" </Filename>
|
||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_iced_Oliang.png" </FilenamePress>
|
||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_iced_Oliang.png" </FilenameDisable>
|
||
<OverlayImage> xmlpro( 12-01-02-0090, "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 = "Oliang"
|
||
Var NameDrinkTH = "โอเลี้ยง"
|
||
Var DrinkDescriptionTH = "กาแฟ, น้ำตาล, คาราเมล และ ผงโกโก้"
|
||
Var DrinkDescription = "Coffee, Sugar, Caramel And Cocoa"
|
||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_iced_Oliang.png"
|
||
Var OpenFromXML = CurrentXMLFileName2
|
||
Var PriceD1 = $-.Price
|
||
Var PriceD2 = $12-01-02-0090.Price
|
||
Var PriceD3 = $-.Price
|
||
Var PD_CODE1 = "##-##-##-####"
|
||
Var PD_CODE2 = "12-01-02-0090"
|
||
Var PD_CODE3 = "##-##-##-####"
|
||
Var PD_STAGE_1 = "Disable2"
|
||
Var PD_STAGE_2 = $12-01-02-0090.Button
|
||
Var PD_STAGE_3 = "Disable2"
|
||
Var OverlayMenuFilter !assigned xmlpro( 12-01-02-0090, "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-01-02-0090"
|
||
Else
|
||
If PD_STAGE_1 = "Enable" Then
|
||
Topping "Load" "-"
|
||
Else
|
||
Topping "Load" "-"
|
||
EndIf
|
||
EndIf
|
||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
||
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
||
Var menu_name_thai_hot = $##-##-##-####.Name
|
||
Var menu_desc_thai_hot = $##-##-##-####.description
|
||
|
||
Var menu_name_eng_cold = $12-01-02-0090.NameE
|
||
Var menu_desc_eng_cold = $12-01-02-0090.descriptionE
|
||
Var menu_name_thai_cold = $12-01-02-0090.Name
|
||
Var menu_desc_thai_cold = $12-01-02-0090.description
|
||
|
||
Var menu_name_eng_blender = $##-##-##-####.NameE
|
||
Var menu_desc_eng_blender = $##-##-##-####.descriptionE
|
||
Var menu_name_thai_blender = $##-##-##-####.Name
|
||
Var menu_desc_thai_blender = $##-##-##-####.description
|
||
|
||
DEBUGVAR PD_STAGE_1
|
||
DEBUGVAR PD_STAGE_2
|
||
DEBUGVAR PD_STAGE_3
|
||
Var SelectDrinkType = 0
|
||
|
||
|
||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
||
|
||
</EventOnClick>
|
||
</Button>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 164 </Y>
|
||
<Size> 24 </Size>
|
||
<Width>220</Width>
|
||
<Mode> "multi2" </Mode>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x322B26 </Color>
|
||
<State> showthaiText </State>
|
||
<Value> "โอเลี้ยง" </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 220 </Y>
|
||
<Size> 14 </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<State> showthaiText </State>
|
||
<Value> "กาแฟ, น้ำตาล, คาราเมล และ ผงโกโก้" </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 164 </Y>
|
||
<Size> 22 </Size>
|
||
<Width>220</Width>
|
||
<Mode> "multi2" </Mode>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x322B26 </Color>
|
||
<State> showengText </State>
|
||
<Value> "Oliang" </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> "Coffee, Sugar, Caramel And Cocoa" </Value>
|
||
</Text>
|
||
<Image>
|
||
<X> 16 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "option_deactive.png" ) </Filename>
|
||
</Image>
|
||
<Image>
|
||
<X> 16 </X>
|
||
<Y> 264 </Y>
|
||
<State> "Invisible" </State>
|
||
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
|
||
</Image>
|
||
<Text>
|
||
<X> 50 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> "Invisible" </State>
|
||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
||
<State> $12-01-02-0090.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-01-02-0090.Button </State>
|
||
<Value> StringFmt( $12-01-02-0090.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 146 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||
<State> "Invisible" </State>
|
||
</Image>
|
||
<Text>
|
||
<X> 180 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitRegularTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> "Invisible" </State>
|
||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<State>
|
||
eval(
|
||
If ICE_PROCESS_STATUS = 2 Then
|
||
|
||
Var ice_tab_process_show = "Invisible"
|
||
|
||
Else
|
||
Var ice_tab_process_show = "Invisible"
|
||
EndIf
|
||
Var return = ice_tab_process_show
|
||
)
|
||
</State>
|
||
<Filename> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </Filename>
|
||
<FilenameDisable> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </FilenameDisable>
|
||
</Image>
|
||
<Image>
|
||
<X> 49 </X>
|
||
<Y> 117 </Y>
|
||
<State>
|
||
eval(
|
||
If $Sum1201020090 = "Disable" Then
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||
STRCONTAIN "ERR" $12-01-02-0090.TAG tag2_is_disable
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||
Var return = "Invisible"
|
||
If tag1_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag2_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag3_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
Else
|
||
Var return = "Invisible"
|
||
EndIf
|
||
)
|
||
</State>
|
||
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
||
</Image>
|
||
<Text>
|
||
<X> 84 </X>
|
||
<Y> 266 </Y>
|
||
<Size> 10 </Size>
|
||
<Font> OpunMediumTTF </Font>
|
||
<Color> 0xDE794E </Color>
|
||
<State> ice_tab_process_show </State>
|
||
<Value> ice_show_open </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 48 </X>
|
||
<Y> 116 </Y>
|
||
<Size> 32 </Size>
|
||
<Width>128</Width>
|
||
<Height>64</Height>
|
||
<Font> MITRegularTTF </Font>
|
||
<Color> 0x5A5A5A </Color>
|
||
<Mode> "disable-show" </Mode>
|
||
<State> $Sum1201020090 </State>
|
||
<Value> text_unavailable </Value>
|
||
<Align> center-vertical-horizontal </Align>
|
||
</Text>
|
||
</Block>
|
||
; - 12-21-02-0090 -
|
||
<Block>
|
||
<MarginLeft> 33 </MarginLeft>
|
||
<MarginTop> 22 </MarginTop>
|
||
<Width> 225 </Width>
|
||
<Height> 296 </Height>
|
||
<State> Flag( 12-21-02-0090.Button,DateTimeStart="2025/03/01T00:00:00",$Sum1221020090) </State>
|
||
<Button>
|
||
<State> $Sum1221020090 </State>
|
||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_Oliang.png" </Filename>
|
||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_iced_Oliang.png" </FilenamePress>
|
||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_iced_Oliang.png" </FilenameDisable>
|
||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||
<Volume> SoundVolume </Volume>
|
||
<OverlayImage> xmlpro( 12-21-02-0090, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||
<EventOnClick>
|
||
Var NameDrink = "Oliang"
|
||
Var NameDrinkTH = "โอเลี้ยง"
|
||
Var DrinkDescriptionTH = "กาแฟ, น้ำตาล, คาราเมล และ ผงโกโก้"
|
||
Var DrinkDescription = "Coffee, Sugar, Caramel And Cocoa"
|
||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_iced_Oliang.png"
|
||
Var OpenFromXML = CurrentXMLFileName2
|
||
Var PriceD1 = $-.Price
|
||
Var PriceD2 = $12-21-02-0090.Price
|
||
Var PriceD3 = $-.Price
|
||
Var PD_CODE1 = "##-##-##-####"
|
||
Var PD_CODE2 = "12-21-02-0090"
|
||
Var PD_CODE3 = "##-##-##-####"
|
||
Var PD_STAGE_1 = "Disable2"
|
||
Var PD_STAGE_2 = $12-21-02-0090.Button
|
||
Var PD_STAGE_3 = "Disable2"
|
||
Var OverlayMenuFilter !assigned xmlpro( 12-21-02-0090, "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-21-02-0090"
|
||
Else
|
||
If PD_STAGE_1 = "Enable" Then
|
||
Topping "Load" "-"
|
||
Else
|
||
Topping "Load" "-"
|
||
EndIf
|
||
EndIf
|
||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
||
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
||
Var menu_name_thai_hot = $##-##-##-####.Name
|
||
Var menu_desc_thai_hot = $##-##-##-####.description
|
||
|
||
Var menu_name_eng_cold = $12-21-02-0090.NameE
|
||
Var menu_desc_eng_cold = $12-21-02-0090.descriptionE
|
||
Var menu_name_thai_cold = $12-21-02-0090.Name
|
||
Var menu_desc_thai_cold = $12-21-02-0090.description
|
||
|
||
Var menu_name_eng_blender = $##-##-##-####.NameE
|
||
Var menu_desc_eng_blender = $##-##-##-####.descriptionE
|
||
Var menu_name_thai_blender = $##-##-##-####.Name
|
||
Var menu_desc_thai_blender = $##-##-##-####.description
|
||
|
||
DEBUGVAR PD_STAGE_1
|
||
DEBUGVAR PD_STAGE_2
|
||
DEBUGVAR PD_STAGE_3
|
||
Var SelectDrinkType = 0
|
||
|
||
|
||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
||
|
||
</EventOnClick>
|
||
</Button>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 164 </Y>
|
||
<Size> 24 </Size>
|
||
<Width>220</Width>
|
||
<Mode> "multi2" </Mode>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x322B26 </Color>
|
||
<State> showthaiText </State>
|
||
<Value> "โอเลี้ยง" </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 220 </Y>
|
||
<Size> 14 </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<State> showthaiText </State>
|
||
<Value> "กาแฟ, น้ำตาล, คาราเมล และ ผงโกโก้" </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 164 </Y>
|
||
<Size> 22 </Size>
|
||
<Width>220</Width>
|
||
<Mode> "multi2" </Mode>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x322B26 </Color>
|
||
<State> showengText </State>
|
||
<Value> "Oliang" </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> "Coffee, Sugar, Caramel And Cocoa" </Value>
|
||
</Text>
|
||
<Image>
|
||
<X> 16 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "option_deactive.png" ) </Filename>
|
||
</Image>
|
||
<Image>
|
||
<X> 16 </X>
|
||
<Y> 264 </Y>
|
||
<State> "Invisible" </State>
|
||
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
|
||
</Image>
|
||
<Text>
|
||
<X> 50 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> "Invisible" </State>
|
||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
||
<State> $12-21-02-0090.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-21-02-0090.Button </State>
|
||
<Value> StringFmt( $12-21-02-0090.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 146 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||
<State> "Invisible" </State>
|
||
</Image>
|
||
<Text>
|
||
<X> 183 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> "Invisible" </State>
|
||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<State>
|
||
eval(
|
||
If ICE_PROCESS_STATUS = 2 Then
|
||
|
||
Var ice_tab_process_show = "Invisible"
|
||
|
||
Else
|
||
Var ice_tab_process_show = "Invisible"
|
||
EndIf
|
||
Var return = ice_tab_process_show
|
||
)
|
||
</State>
|
||
<Filename> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </Filename>
|
||
<FilenameDisable> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </FilenameDisable>
|
||
</Image>
|
||
<Image>
|
||
<X> 49 </X>
|
||
<Y> 117 </Y>
|
||
<State>
|
||
eval(
|
||
If $Sum1221020090 = "Disable" Then
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||
STRCONTAIN "ERR" $12-21-02-0090.TAG tag2_is_disable
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||
Var return = "Invisible"
|
||
If tag1_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag2_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag3_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
Else
|
||
Var return = "Invisible"
|
||
EndIf
|
||
)
|
||
</State>
|
||
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
||
</Image>
|
||
<Text>
|
||
<X> 84 </X>
|
||
<Y> 266 </Y>
|
||
<Size> 10 </Size>
|
||
<Font> OpunMediumTTF </Font>
|
||
<Color> 0xDE794E </Color>
|
||
<State> ice_tab_process_show </State>
|
||
<Value> ice_show_open </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 48 </X>
|
||
<Y> 116 </Y>
|
||
<Size> 32 </Size>
|
||
<Width>128</Width>
|
||
<Height>64</Height>
|
||
<Font> MITRegularTTF </Font>
|
||
<Color> 0x5A5A5A </Color>
|
||
<Mode> "disable-show" </Mode>
|
||
<State> $Sum1221020090 </State>
|
||
<Value> text_unavailable </Value>
|
||
<Align> center-vertical-horizontal </Align>
|
||
</Text>
|
||
</Block>
|
||
; ==================> Len = 16
|
||
; 12-01-01-0030 12-01-02-0030 12-01-03-0030
|
||
<Block>
|
||
<MarginLeft> 33 </MarginLeft>
|
||
<MarginTop> 22 </MarginTop>
|
||
<Width> 225 </Width>
|
||
<Height> 296 </Height>
|
||
<State> Flag( 12-01-01-0030.Button,12-01-02-0030.Button,12-01-03-0030.Button,DateTimeStart="2025/02/17T00:00:00",Var=TaiwaneseDrinkMenu,$Sum120101003012010200301201030030) </State>
|
||
<Button>
|
||
<State> $Sum120101003012010200301201030030 </State>
|
||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_Iced_taiwanese_Tea_Cafe_Latte.png" </Filename>
|
||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_Iced_taiwanese_Tea_Cafe_Latte.png" </FilenamePress>
|
||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_Iced_taiwanese_Tea_Cafe_Latte.png" </FilenameDisable>
|
||
<OverlayImage> xmlpro( 12-01-01-0030, "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 = "Taiwanese Tea Cafe Latte"
|
||
Var NameDrinkTH = "กาแฟชานมไต้หวัน"
|
||
Var DrinkDescriptionTH = "ชาไต้หวัน, กาแฟ, นม และ น้ำตาล"
|
||
Var DrinkDescription = "Taiwanese Tea, Coffee, Milk And Sugar"
|
||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_Iced_taiwanese_Tea_Cafe_Latte.png"
|
||
Var OpenFromXML = CurrentXMLFileName2
|
||
Var PriceD1 = $12-01-01-0030.Price
|
||
Var PriceD2 = $12-01-02-0030.Price
|
||
Var PriceD3 = $12-01-03-0030.Price
|
||
Var PD_CODE1 = "12-01-01-0030"
|
||
Var PD_CODE2 = "12-01-02-0030"
|
||
Var PD_CODE3 = "12-01-03-0030"
|
||
Var PD_STAGE_1 = $12-01-01-0030.Button
|
||
Var PD_STAGE_2 = $12-01-02-0030.Button
|
||
Var PD_STAGE_3 = $12-01-03-0030.Button
|
||
Var OverlayMenuFilter !assigned xmlpro( 12-01-01-0030, "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-01-02-0030"
|
||
Else
|
||
If PD_STAGE_1 = "Enable" Then
|
||
Topping "Load" "12-01-01-0030"
|
||
Else
|
||
Topping "Load" "12-01-03-0030"
|
||
EndIf
|
||
EndIf
|
||
Var menu_name_eng_hot = $12-01-01-0030.NameE
|
||
Var menu_desc_eng_hot = $12-01-01-0030.descriptionE
|
||
Var menu_name_thai_hot = $12-01-01-0030.Name
|
||
Var menu_desc_thai_hot = $12-01-01-0030.description
|
||
|
||
Var menu_name_eng_cold = $12-01-02-0030.NameE
|
||
Var menu_desc_eng_cold = $12-01-02-0030.descriptionE
|
||
Var menu_name_thai_cold = $12-01-02-0030.Name
|
||
Var menu_desc_thai_cold = $12-01-02-0030.description
|
||
|
||
Var menu_name_eng_blender = $12-01-03-0030.NameE
|
||
Var menu_desc_eng_blender = $12-01-03-0030.descriptionE
|
||
Var menu_name_thai_blender = $12-01-03-0030.Name
|
||
Var menu_desc_thai_blender = $12-01-03-0030.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> "Taiwanese Tea
|
||
Cafe Latte" </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> "Taiwanese Tea, Coffee, Milk
|
||
And Sugar" </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-01-01-0030.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-01-01-0030.Button </State>
|
||
<Value> StringFmt( $12-01-01-0030.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-01-02-0030.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-01-02-0030.Button </State>
|
||
<Value> StringFmt( $12-01-02-0030.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-01-03-0030.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-01-03-0030.Button </State>
|
||
<Value> StringFmt( $12-01-03-0030.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<State>
|
||
eval(
|
||
If ICE_PROCESS_STATUS = 2 Then
|
||
|
||
If $Sum120101003012010200301201030030 = "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 $Sum120101003012010200301201030030 = "Disable" Then
|
||
STRCONTAIN "ERR" $12-01-01-0030.TAG tag1_is_disable
|
||
STRCONTAIN "ERR" $12-01-02-0030.TAG tag2_is_disable
|
||
STRCONTAIN "ERR" $12-01-03-0030.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> $Sum120101003012010200301201030030 </State>
|
||
<Value> text_unavailable </Value>
|
||
<Align> center-vertical-horizontal </Align>
|
||
</Text>
|
||
</Block>
|
||
; 12-21-01-0030 12-21-02-0030 12-21-03-0030
|
||
<Block>
|
||
<MarginLeft> 33 </MarginLeft>
|
||
<MarginTop> 22 </MarginTop>
|
||
<Width> 225 </Width>
|
||
<Height> 296 </Height>
|
||
<State> Flag( 12-21-01-0030.Button,12-21-02-0030.Button,12-21-03-0030.Button,DateTimeStart="2025/02/17T00:00:00",Var=TaiwaneseDrinkMenu,$Sum122101003012210200301221030030) </State>
|
||
<Button>
|
||
<State> $Sum122101003012210200301221030030 </State>
|
||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_Iced_taiwanese_Tea_Cafe_Latte.png" </Filename>
|
||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_Iced_taiwanese_Tea_Cafe_Latte.png" </FilenamePress>
|
||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_Iced_taiwanese_Tea_Cafe_Latte.png" </FilenameDisable>
|
||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||
<Volume> SoundVolume </Volume>
|
||
<OverlayImage> xmlpro( 12-21-01-0030, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||
<EventOnClick>
|
||
Var NameDrink = "Taiwanese Tea Cafe Latte"
|
||
Var NameDrinkTH = "กาแฟชานมไต้หวัน"
|
||
Var DrinkDescriptionTH = "ชาไต้หวัน, กาแฟ, นม และ น้ำตาล"
|
||
Var DrinkDescription = "Taiwanese Tea, Coffee, Milk And Sugar"
|
||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_Iced_taiwanese_Tea_Cafe_Latte.png"
|
||
Var OpenFromXML = CurrentXMLFileName2
|
||
Var PriceD1 = $12-21-01-0030.Price
|
||
Var PriceD2 = $12-21-02-0030.Price
|
||
Var PriceD3 = $12-21-03-0030.Price
|
||
Var PD_CODE1 = "12-21-01-0030"
|
||
Var PD_CODE2 = "12-21-02-0030"
|
||
Var PD_CODE3 = "12-21-03-0030"
|
||
Var PD_STAGE_1 = $12-21-01-0030.Button
|
||
Var PD_STAGE_2 = $12-21-02-0030.Button
|
||
Var PD_STAGE_3 = $12-21-03-0030.Button
|
||
Var OverlayMenuFilter !assigned xmlpro( 12-21-01-0030, "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-21-02-0030"
|
||
Else
|
||
If PD_STAGE_1 = "Enable" Then
|
||
Topping "Load" "12-21-01-0030"
|
||
Else
|
||
Topping "Load" "12-21-03-0030"
|
||
EndIf
|
||
EndIf
|
||
Var menu_name_eng_hot = $12-21-01-0030.NameE
|
||
Var menu_desc_eng_hot = $12-21-01-0030.descriptionE
|
||
Var menu_name_thai_hot = $12-21-01-0030.Name
|
||
Var menu_desc_thai_hot = $12-21-01-0030.description
|
||
|
||
Var menu_name_eng_cold = $12-21-02-0030.NameE
|
||
Var menu_desc_eng_cold = $12-21-02-0030.descriptionE
|
||
Var menu_name_thai_cold = $12-21-02-0030.Name
|
||
Var menu_desc_thai_cold = $12-21-02-0030.description
|
||
|
||
Var menu_name_eng_blender = $12-21-03-0030.NameE
|
||
Var menu_desc_eng_blender = $12-21-03-0030.descriptionE
|
||
Var menu_name_thai_blender = $12-21-03-0030.Name
|
||
Var menu_desc_thai_blender = $12-21-03-0030.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> "Taiwanese Tea
|
||
Cafe Latte" </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> "Taiwanese Tea, Coffee, Milk
|
||
And Sugar" </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-21-01-0030.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-21-01-0030.Button </State>
|
||
<Value> StringFmt( $12-21-01-0030.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-21-02-0030.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-21-02-0030.Button </State>
|
||
<Value> StringFmt( $12-21-02-0030.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-21-03-0030.Button </State>
|
||
</Image>
|
||
<Text>
|
||
<X> 183 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> $12-21-03-0030.Button </State>
|
||
<Value> StringFmt( $12-21-03-0030.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<State>
|
||
eval(
|
||
If ICE_PROCESS_STATUS = 2 Then
|
||
|
||
If $Sum122101003012210200301221030030 = "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 $Sum122101003012210200301221030030 = "Disable" Then
|
||
STRCONTAIN "ERR" $12-21-01-0030.TAG tag1_is_disable
|
||
STRCONTAIN "ERR" $12-21-02-0030.TAG tag2_is_disable
|
||
STRCONTAIN "ERR" $12-21-03-0030.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> $Sum122101003012210200301221030030 </State>
|
||
<Value> text_unavailable </Value>
|
||
<Align> center-vertical-horizontal </Align>
|
||
</Text>
|
||
</Block>
|
||
; ==================> Len = 16
|
||
; 12-01-01-0074 12-01-02-0074 12-01-03-0074
|
||
<Block>
|
||
<MarginLeft> 33 </MarginLeft>
|
||
<MarginTop> 22 </MarginTop>
|
||
<Width> 225 </Width>
|
||
<Height> 296 </Height>
|
||
<State> Flag( 12-01-01-0074.Button,12-01-02-0074.Button,12-01-03-0074.Button,DateTimeStart="2025/01/01T00:00:00",Var=StrawberrySeriesMenu,$Sum120101007412010200741201030074) </State>
|
||
<Button>
|
||
<State> $Sum120101007412010200741201030074 </State>
|
||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_Strawberry_caramel_latte.png" </Filename>
|
||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_Strawberry_caramel_latte.png" </FilenamePress>
|
||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_Strawberry_caramel_latte.png" </FilenameDisable>
|
||
<OverlayImage> xmlpro( 12-01-01-0074, "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 = "Strawberry Cafe Latte"
|
||
Var NameDrinkTH = "กาแฟสตรอเบอรี"
|
||
Var DrinkDescriptionTH = "สตรอเบอรี นม กาแฟ และน้ำตาล"
|
||
Var DrinkDescription = "Strawberry, Milk, Coffee, Sugar"
|
||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_Strawberry_caramel_latte.png"
|
||
Var OpenFromXML = CurrentXMLFileName2
|
||
Var PriceD1 = $12-01-01-0074.Price
|
||
Var PriceD2 = $12-01-02-0074.Price
|
||
Var PriceD3 = $12-01-03-0074.Price
|
||
Var PD_CODE1 = "12-01-01-0074"
|
||
Var PD_CODE2 = "12-01-02-0074"
|
||
Var PD_CODE3 = "12-01-03-0074"
|
||
Var PD_STAGE_1 = $12-01-01-0074.Button
|
||
Var PD_STAGE_2 = $12-01-02-0074.Button
|
||
Var PD_STAGE_3 = $12-01-03-0074.Button
|
||
Var OverlayMenuFilter !assigned xmlpro( 12-01-01-0074, "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-01-02-0074"
|
||
Else
|
||
If PD_STAGE_1 = "Enable" Then
|
||
Topping "Load" "12-01-01-0074"
|
||
Else
|
||
Topping "Load" "12-01-03-0074"
|
||
EndIf
|
||
EndIf
|
||
Var menu_name_eng_hot = $12-01-01-0074.NameE
|
||
Var menu_desc_eng_hot = $12-01-01-0074.descriptionE
|
||
Var menu_name_thai_hot = $12-01-01-0074.Name
|
||
Var menu_desc_thai_hot = $12-01-01-0074.description
|
||
|
||
Var menu_name_eng_cold = $12-01-02-0074.NameE
|
||
Var menu_desc_eng_cold = $12-01-02-0074.descriptionE
|
||
Var menu_name_thai_cold = $12-01-02-0074.Name
|
||
Var menu_desc_thai_cold = $12-01-02-0074.description
|
||
|
||
Var menu_name_eng_blender = $12-01-03-0074.NameE
|
||
Var menu_desc_eng_blender = $12-01-03-0074.descriptionE
|
||
Var menu_name_thai_blender = $12-01-03-0074.Name
|
||
Var menu_desc_thai_blender = $12-01-03-0074.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> "Strawberry Cafe
|
||
Latte" </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,
|
||
Coffee, Sugar" </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-01-01-0074.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-01-01-0074.Button </State>
|
||
<Value> StringFmt( $12-01-01-0074.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-01-02-0074.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-01-02-0074.Button </State>
|
||
<Value> StringFmt( $12-01-02-0074.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-01-03-0074.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-01-03-0074.Button </State>
|
||
<Value> StringFmt( $12-01-03-0074.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<State>
|
||
eval(
|
||
If ICE_PROCESS_STATUS = 2 Then
|
||
|
||
If $Sum120101007412010200741201030074 = "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 $Sum120101007412010200741201030074 = "Disable" Then
|
||
STRCONTAIN "ERR" $12-01-01-0074.TAG tag1_is_disable
|
||
STRCONTAIN "ERR" $12-01-02-0074.TAG tag2_is_disable
|
||
STRCONTAIN "ERR" $12-01-03-0074.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> $Sum120101007412010200741201030074 </State>
|
||
<Value> text_unavailable </Value>
|
||
<Align> center-vertical-horizontal </Align>
|
||
</Text>
|
||
</Block>
|
||
; 12-21-01-0074 12-21-02-0074 12-21-03-0074
|
||
<Block>
|
||
<MarginLeft> 33 </MarginLeft>
|
||
<MarginTop> 22 </MarginTop>
|
||
<Width> 225 </Width>
|
||
<Height> 296 </Height>
|
||
<State> Flag( 12-21-01-0074.Button,12-21-02-0074.Button,12-21-03-0074.Button,DateTimeStart="2025/01/01T00:00:00",Var=StrawberrySeriesMenu,$Sum122101007412210200741221030074) </State>
|
||
<Button>
|
||
<State> $Sum122101007412210200741221030074 </State>
|
||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_Strawberry_caramel_latte.png" </Filename>
|
||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_Strawberry_caramel_latte.png" </FilenamePress>
|
||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_Strawberry_caramel_latte.png" </FilenameDisable>
|
||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||
<Volume> SoundVolume </Volume>
|
||
<OverlayImage> xmlpro( 12-21-01-0074, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||
<EventOnClick>
|
||
Var NameDrink = "Strawberry Cafe Latte"
|
||
Var NameDrinkTH = "กาแฟสตรอเบอรี"
|
||
Var DrinkDescriptionTH = "สตรอเบอรี นม กาแฟ และน้ำตาล"
|
||
Var DrinkDescription = "Strawberry, Milk, Coffee, Sugar"
|
||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_Strawberry_caramel_latte.png"
|
||
Var OpenFromXML = CurrentXMLFileName2
|
||
Var PriceD1 = $12-21-01-0074.Price
|
||
Var PriceD2 = $12-21-02-0074.Price
|
||
Var PriceD3 = $12-21-03-0074.Price
|
||
Var PD_CODE1 = "12-21-01-0074"
|
||
Var PD_CODE2 = "12-21-02-0074"
|
||
Var PD_CODE3 = "12-21-03-0074"
|
||
Var PD_STAGE_1 = $12-21-01-0074.Button
|
||
Var PD_STAGE_2 = $12-21-02-0074.Button
|
||
Var PD_STAGE_3 = $12-21-03-0074.Button
|
||
Var OverlayMenuFilter !assigned xmlpro( 12-21-01-0074, "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-21-02-0074"
|
||
Else
|
||
If PD_STAGE_1 = "Enable" Then
|
||
Topping "Load" "12-21-01-0074"
|
||
Else
|
||
Topping "Load" "12-21-03-0074"
|
||
EndIf
|
||
EndIf
|
||
Var menu_name_eng_hot = $12-21-01-0074.NameE
|
||
Var menu_desc_eng_hot = $12-21-01-0074.descriptionE
|
||
Var menu_name_thai_hot = $12-21-01-0074.Name
|
||
Var menu_desc_thai_hot = $12-21-01-0074.description
|
||
|
||
Var menu_name_eng_cold = $12-21-02-0074.NameE
|
||
Var menu_desc_eng_cold = $12-21-02-0074.descriptionE
|
||
Var menu_name_thai_cold = $12-21-02-0074.Name
|
||
Var menu_desc_thai_cold = $12-21-02-0074.description
|
||
|
||
Var menu_name_eng_blender = $12-21-03-0074.NameE
|
||
Var menu_desc_eng_blender = $12-21-03-0074.descriptionE
|
||
Var menu_name_thai_blender = $12-21-03-0074.Name
|
||
Var menu_desc_thai_blender = $12-21-03-0074.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> "Strawberry Cafe
|
||
Latte" </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,
|
||
Coffee, Sugar" </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-21-01-0074.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-21-01-0074.Button </State>
|
||
<Value> StringFmt( $12-21-01-0074.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-21-02-0074.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-21-02-0074.Button </State>
|
||
<Value> StringFmt( $12-21-02-0074.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-21-03-0074.Button </State>
|
||
</Image>
|
||
<Text>
|
||
<X> 183 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> $12-21-03-0074.Button </State>
|
||
<Value> StringFmt( $12-21-03-0074.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<State>
|
||
eval(
|
||
If ICE_PROCESS_STATUS = 2 Then
|
||
|
||
If $Sum122101007412210200741221030074 = "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 $Sum122101007412210200741221030074 = "Disable" Then
|
||
STRCONTAIN "ERR" $12-21-01-0074.TAG tag1_is_disable
|
||
STRCONTAIN "ERR" $12-21-02-0074.TAG tag2_is_disable
|
||
STRCONTAIN "ERR" $12-21-03-0074.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> $Sum122101007412210200741221030074 </State>
|
||
<Value> text_unavailable </Value>
|
||
<Align> center-vertical-horizontal </Align>
|
||
</Text>
|
||
</Block>
|
||
; ==================> Len = 16
|
||
; - - 12-01-03-0078
|
||
<Block>
|
||
<MarginLeft> 33 </MarginLeft>
|
||
<MarginTop> 22 </MarginTop>
|
||
<Width> 225 </Width>
|
||
<Height> 296 </Height>
|
||
<State> Flag( 12-01-03-0078.Button,$Sum1201030078) </State>
|
||
<Button>
|
||
<State> $Sum1201030078 </State>
|
||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_Caramel_Espresso_Oreo_smoothie.png" </Filename>
|
||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_Caramel_Espresso_Oreo_smoothie.png" </FilenamePress>
|
||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_Caramel_Espresso_Oreo_smoothie.png" </FilenameDisable>
|
||
<OverlayImage> xmlpro( 12-01-03-0078, "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 = "Premium Espresso Caramel Oreo"
|
||
Var NameDrinkTH = "พรีเมียมเอสเพรสโซ่ คาราเมลโอรีโอ"
|
||
Var DrinkDescriptionTH = "กาแฟ นม คาราเมล และ Oreo"
|
||
Var DrinkDescription = "Coffee, Milk, Caramel, Oreo"
|
||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_Caramel_Espresso_Oreo_smoothie.png"
|
||
Var OpenFromXML = CurrentXMLFileName2
|
||
Var PriceD1 = $-.Price
|
||
Var PriceD2 = $-.Price
|
||
Var PriceD3 = $12-01-03-0078.Price
|
||
Var PD_CODE1 = "##-##-##-####"
|
||
Var PD_CODE2 = "##-##-##-####"
|
||
Var PD_CODE3 = "12-01-03-0078"
|
||
Var PD_STAGE_1 = "Disable2"
|
||
Var PD_STAGE_2 = "Disable2"
|
||
Var PD_STAGE_3 = $12-01-03-0078.Button
|
||
Var OverlayMenuFilter !assigned xmlpro( 12-01-03-0078, "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-01-03-0078"
|
||
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-01-03-0078.NameE
|
||
Var menu_desc_eng_blender = $12-01-03-0078.descriptionE
|
||
Var menu_name_thai_blender = $12-01-03-0078.Name
|
||
Var menu_desc_thai_blender = $12-01-03-0078.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> "Premium Espresso
|
||
Caramel Oreo" </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> "Coffee, Milk, Caramel, 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-01-03-0078.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-01-03-0078.Button </State>
|
||
<Value> StringFmt( $12-01-03-0078.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 $Sum1201030078 = "Disable" Then
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag2_is_disable
|
||
STRCONTAIN "ERR" $12-01-03-0078.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> $Sum1201030078 </State>
|
||
<Value> text_unavailable </Value>
|
||
<Align> center-vertical-horizontal </Align>
|
||
</Text>
|
||
</Block>
|
||
; - - 12-21-03-0078
|
||
<Block>
|
||
<MarginLeft> 33 </MarginLeft>
|
||
<MarginTop> 22 </MarginTop>
|
||
<Width> 225 </Width>
|
||
<Height> 296 </Height>
|
||
<State> Flag( 12-21-03-0078.Button,$Sum1221030078) </State>
|
||
<Button>
|
||
<State> $Sum1221030078 </State>
|
||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_Caramel_Espresso_Oreo_smoothie.png" </Filename>
|
||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_Caramel_Espresso_Oreo_smoothie.png" </FilenamePress>
|
||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_Caramel_Espresso_Oreo_smoothie.png" </FilenameDisable>
|
||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||
<Volume> SoundVolume </Volume>
|
||
<OverlayImage> xmlpro( 12-21-03-0078, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||
<EventOnClick>
|
||
Var NameDrink = "Premium Espresso Caramel Oreo"
|
||
Var NameDrinkTH = "พรีเมียมเอสเพรสโซ่ คาราเมลโอรีโอ"
|
||
Var DrinkDescriptionTH = "กาแฟ นม คาราเมล และ Oreo"
|
||
Var DrinkDescription = "Coffee, Milk, Caramel, Oreo"
|
||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_Caramel_Espresso_Oreo_smoothie.png"
|
||
Var OpenFromXML = CurrentXMLFileName2
|
||
Var PriceD1 = $-.Price
|
||
Var PriceD2 = $-.Price
|
||
Var PriceD3 = $12-21-03-0078.Price
|
||
Var PD_CODE1 = "##-##-##-####"
|
||
Var PD_CODE2 = "##-##-##-####"
|
||
Var PD_CODE3 = "12-21-03-0078"
|
||
Var PD_STAGE_1 = "Disable2"
|
||
Var PD_STAGE_2 = "Disable2"
|
||
Var PD_STAGE_3 = $12-21-03-0078.Button
|
||
Var OverlayMenuFilter !assigned xmlpro( 12-21-03-0078, "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-21-03-0078"
|
||
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-21-03-0078.NameE
|
||
Var menu_desc_eng_blender = $12-21-03-0078.descriptionE
|
||
Var menu_name_thai_blender = $12-21-03-0078.Name
|
||
Var menu_desc_thai_blender = $12-21-03-0078.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> "Premium Espresso
|
||
Caramel Oreo" </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> "Coffee, Milk, Caramel, 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-21-03-0078.Button </State>
|
||
</Image>
|
||
<Text>
|
||
<X> 183 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> $12-21-03-0078.Button </State>
|
||
<Value> StringFmt( $12-21-03-0078.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 $Sum1221030078 = "Disable" Then
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag2_is_disable
|
||
STRCONTAIN "ERR" $12-21-03-0078.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> $Sum1221030078 </State>
|
||
<Value> text_unavailable </Value>
|
||
<Align> center-vertical-horizontal </Align>
|
||
</Text>
|
||
</Block>
|
||
; ==================> Len = 16
|
||
; 12-01-01-0081 12-01-02-0081 -
|
||
<Block>
|
||
<MarginLeft> 33 </MarginLeft>
|
||
<MarginTop> 22 </MarginTop>
|
||
<Width> 225 </Width>
|
||
<Height> 296 </Height>
|
||
<State> Flag( 12-01-01-0081.Button,12-01-02-0081.Button,$Sum12010100811201020081) </State>
|
||
<Button>
|
||
<State> $Sum12010100811201020081 </State>
|
||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_blackcoffee.png" </Filename>
|
||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_blackcoffee.png" </FilenamePress>
|
||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_blackcoffee.png" </FilenameDisable>
|
||
<OverlayImage> xmlpro( 12-01-01-0081, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi2.png") </OverlayImage>
|
||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||
<Volume> SoundVolume </Volume>
|
||
<EventOnClick>
|
||
Var NameDrink = "Black Coffee"
|
||
Var NameDrinkTH = "กาแฟดำ"
|
||
Var DrinkDescriptionTH = "กาแฟ และน้ำ "
|
||
Var DrinkDescription = "Dark shot Espresso, Water"
|
||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_blackcoffee.png"
|
||
Var OpenFromXML = CurrentXMLFileName2
|
||
Var PriceD1 = $12-01-01-0081.Price
|
||
Var PriceD2 = $12-01-02-0081.Price
|
||
Var PriceD3 = $-.Price
|
||
Var PD_CODE1 = "12-01-01-0081"
|
||
Var PD_CODE2 = "12-01-02-0081"
|
||
Var PD_CODE3 = "##-##-##-####"
|
||
Var PD_STAGE_1 = $12-01-01-0081.Button
|
||
Var PD_STAGE_2 = $12-01-02-0081.Button
|
||
Var PD_STAGE_3 = "Disable2"
|
||
Var OverlayMenuFilter !assigned xmlpro( 12-01-01-0081, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi2.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-01-02-0081"
|
||
Else
|
||
If PD_STAGE_1 = "Enable" Then
|
||
Topping "Load" "12-01-01-0081"
|
||
Else
|
||
Topping "Load" "-"
|
||
EndIf
|
||
EndIf
|
||
Var menu_name_eng_hot = $12-01-01-0081.NameE
|
||
Var menu_desc_eng_hot = $12-01-01-0081.descriptionE
|
||
Var menu_name_thai_hot = $12-01-01-0081.Name
|
||
Var menu_desc_thai_hot = $12-01-01-0081.description
|
||
|
||
Var menu_name_eng_cold = $12-01-02-0081.NameE
|
||
Var menu_desc_eng_cold = $12-01-02-0081.descriptionE
|
||
Var menu_name_thai_cold = $12-01-02-0081.Name
|
||
Var menu_desc_thai_cold = $12-01-02-0081.description
|
||
|
||
Var menu_name_eng_blender = $##-##-##-####.NameE
|
||
Var menu_desc_eng_blender = $##-##-##-####.descriptionE
|
||
Var menu_name_thai_blender = $##-##-##-####.Name
|
||
Var menu_desc_thai_blender = $##-##-##-####.description
|
||
|
||
DEBUGVAR PD_STAGE_1
|
||
DEBUGVAR PD_STAGE_2
|
||
DEBUGVAR PD_STAGE_3
|
||
Var SelectDrinkType = 0
|
||
|
||
|
||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
||
|
||
</EventOnClick>
|
||
</Button>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 164 </Y>
|
||
<Size> 24 </Size>
|
||
<Width>220</Width>
|
||
<Mode> "multi2" </Mode>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x322B26 </Color>
|
||
<State> showthaiText </State>
|
||
<Value> "กาแฟดำ" </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 220 </Y>
|
||
<Size> 14 </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<State> showthaiText </State>
|
||
<Value> "กาแฟ และน้ำ " </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 164 </Y>
|
||
<Size> 22 </Size>
|
||
<Width>220</Width>
|
||
<Mode> "multi2" </Mode>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x322B26 </Color>
|
||
<State> showengText </State>
|
||
<Value> "Black Coffee" </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> "Dark shot Espresso, Water" </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-01-01-0081.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-01-01-0081.Button </State>
|
||
<Value> StringFmt( $12-01-01-0081.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-01-02-0081.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-01-02-0081.Button </State>
|
||
<Value> StringFmt( $12-01-02-0081.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 146 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||
<State> "Invisible" </State>
|
||
</Image>
|
||
<Text>
|
||
<X> 180 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitRegularTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> "Invisible" </State>
|
||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<State>
|
||
eval(
|
||
If ICE_PROCESS_STATUS = 2 Then
|
||
|
||
If $Sum12010100811201020081 = "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 $Sum12010100811201020081 = "Disable" Then
|
||
STRCONTAIN "ERR" $12-01-01-0081.TAG tag1_is_disable
|
||
STRCONTAIN "ERR" $12-01-02-0081.TAG tag2_is_disable
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||
Var return = "Invisible"
|
||
If tag1_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag2_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag3_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
Else
|
||
Var return = "Invisible"
|
||
EndIf
|
||
)
|
||
</State>
|
||
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
||
</Image>
|
||
<Text>
|
||
<X> 84 </X>
|
||
<Y> 266 </Y>
|
||
<Size> 10 </Size>
|
||
<Font> OpunMediumTTF </Font>
|
||
<Color> 0xDE794E </Color>
|
||
<State> ice_tab_process_show </State>
|
||
<Value> ice_show_open </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 48 </X>
|
||
<Y> 116 </Y>
|
||
<Size> 32 </Size>
|
||
<Width>128</Width>
|
||
<Height>64</Height>
|
||
<Font> MITRegularTTF </Font>
|
||
<Color> 0x5A5A5A </Color>
|
||
<Mode> "disable-show" </Mode>
|
||
<State> $Sum12010100811201020081 </State>
|
||
<Value> text_unavailable </Value>
|
||
<Align> center-vertical-horizontal </Align>
|
||
</Text>
|
||
</Block>
|
||
; 12-21-01-0081 12-21-02-0081 -
|
||
<Block>
|
||
<MarginLeft> 33 </MarginLeft>
|
||
<MarginTop> 22 </MarginTop>
|
||
<Width> 225 </Width>
|
||
<Height> 296 </Height>
|
||
<State> Flag( 12-21-01-0081.Button,12-21-02-0081.Button,$Sum12210100811221020081) </State>
|
||
<Button>
|
||
<State> $Sum12210100811221020081 </State>
|
||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_blackcoffee.png" </Filename>
|
||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_blackcoffee.png" </FilenamePress>
|
||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_blackcoffee.png" </FilenameDisable>
|
||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||
<Volume> SoundVolume </Volume>
|
||
<OverlayImage> xmlpro( 12-21-01-0081, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi2.png") </OverlayImage>
|
||
<EventOnClick>
|
||
Var NameDrink = "Black Coffee"
|
||
Var NameDrinkTH = "กาแฟดำ"
|
||
Var DrinkDescriptionTH = "กาแฟ และน้ำ "
|
||
Var DrinkDescription = "Dark shot Espresso, Water"
|
||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_blackcoffee.png"
|
||
Var OpenFromXML = CurrentXMLFileName2
|
||
Var PriceD1 = $12-21-01-0081.Price
|
||
Var PriceD2 = $12-21-02-0081.Price
|
||
Var PriceD3 = $-.Price
|
||
Var PD_CODE1 = "12-21-01-0081"
|
||
Var PD_CODE2 = "12-21-02-0081"
|
||
Var PD_CODE3 = "##-##-##-####"
|
||
Var PD_STAGE_1 = $12-21-01-0081.Button
|
||
Var PD_STAGE_2 = $12-21-02-0081.Button
|
||
Var PD_STAGE_3 = "Disable2"
|
||
Var OverlayMenuFilter !assigned xmlpro( 12-21-01-0081, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi2.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-21-02-0081"
|
||
Else
|
||
If PD_STAGE_1 = "Enable" Then
|
||
Topping "Load" "12-21-01-0081"
|
||
Else
|
||
Topping "Load" "-"
|
||
EndIf
|
||
EndIf
|
||
Var menu_name_eng_hot = $12-21-01-0081.NameE
|
||
Var menu_desc_eng_hot = $12-21-01-0081.descriptionE
|
||
Var menu_name_thai_hot = $12-21-01-0081.Name
|
||
Var menu_desc_thai_hot = $12-21-01-0081.description
|
||
|
||
Var menu_name_eng_cold = $12-21-02-0081.NameE
|
||
Var menu_desc_eng_cold = $12-21-02-0081.descriptionE
|
||
Var menu_name_thai_cold = $12-21-02-0081.Name
|
||
Var menu_desc_thai_cold = $12-21-02-0081.description
|
||
|
||
Var menu_name_eng_blender = $##-##-##-####.NameE
|
||
Var menu_desc_eng_blender = $##-##-##-####.descriptionE
|
||
Var menu_name_thai_blender = $##-##-##-####.Name
|
||
Var menu_desc_thai_blender = $##-##-##-####.description
|
||
|
||
DEBUGVAR PD_STAGE_1
|
||
DEBUGVAR PD_STAGE_2
|
||
DEBUGVAR PD_STAGE_3
|
||
Var SelectDrinkType = 0
|
||
|
||
|
||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
||
|
||
</EventOnClick>
|
||
</Button>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 164 </Y>
|
||
<Size> 24 </Size>
|
||
<Width>220</Width>
|
||
<Mode> "multi2" </Mode>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x322B26 </Color>
|
||
<State> showthaiText </State>
|
||
<Value> "กาแฟดำ" </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 220 </Y>
|
||
<Size> 14 </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<State> showthaiText </State>
|
||
<Value> "กาแฟ และน้ำ " </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 164 </Y>
|
||
<Size> 22 </Size>
|
||
<Width>220</Width>
|
||
<Mode> "multi2" </Mode>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x322B26 </Color>
|
||
<State> showengText </State>
|
||
<Value> "Black Coffee" </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> "Dark shot Espresso, Water" </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-21-01-0081.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-21-01-0081.Button </State>
|
||
<Value> StringFmt( $12-21-01-0081.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-21-02-0081.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-21-02-0081.Button </State>
|
||
<Value> StringFmt( $12-21-02-0081.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 146 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||
<State> "Invisible" </State>
|
||
</Image>
|
||
<Text>
|
||
<X> 183 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> "Invisible" </State>
|
||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<State>
|
||
eval(
|
||
If ICE_PROCESS_STATUS = 2 Then
|
||
|
||
If $Sum12210100811221020081 = "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 $Sum12210100811221020081 = "Disable" Then
|
||
STRCONTAIN "ERR" $12-21-01-0081.TAG tag1_is_disable
|
||
STRCONTAIN "ERR" $12-21-02-0081.TAG tag2_is_disable
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||
Var return = "Invisible"
|
||
If tag1_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag2_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag3_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
Else
|
||
Var return = "Invisible"
|
||
EndIf
|
||
)
|
||
</State>
|
||
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
||
</Image>
|
||
<Text>
|
||
<X> 84 </X>
|
||
<Y> 266 </Y>
|
||
<Size> 10 </Size>
|
||
<Font> OpunMediumTTF </Font>
|
||
<Color> 0xDE794E </Color>
|
||
<State> ice_tab_process_show </State>
|
||
<Value> ice_show_open </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 48 </X>
|
||
<Y> 116 </Y>
|
||
<Size> 32 </Size>
|
||
<Width>128</Width>
|
||
<Height>64</Height>
|
||
<Font> MITRegularTTF </Font>
|
||
<Color> 0x5A5A5A </Color>
|
||
<Mode> "disable-show" </Mode>
|
||
<State> $Sum12210100811221020081 </State>
|
||
<Value> text_unavailable </Value>
|
||
<Align> center-vertical-horizontal </Align>
|
||
</Text>
|
||
</Block>
|
||
; ==================> Len = 21
|
||
; 12-01-01-0013 - -
|
||
<Block>
|
||
<MarginLeft> 33 </MarginLeft>
|
||
<MarginTop> 22 </MarginTop>
|
||
<Width> 225 </Width>
|
||
<Height> 296 </Height>
|
||
<State> Flag( 12-01-01-0013.Button,$Sum1201010013) </State>
|
||
<Button>
|
||
<State> $Sum1201010013 </State>
|
||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_espresso_light.png" </Filename>
|
||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_espresso_light.png" </FilenamePress>
|
||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_espresso_light.png" </FilenameDisable>
|
||
<OverlayImage> xmlpro( 12-01-01-0013, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi2.png") </OverlayImage>
|
||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||
<Volume> SoundVolume </Volume>
|
||
<EventOnClick>
|
||
Var NameDrink = "Espresso Ethiopia Guji"
|
||
Var NameDrinkTH = "เอสเพรสโซ่ช็อต Guji Queen Berry"
|
||
Var DrinkDescriptionTH = "กาแฟคั่วอ่อน (natural process) หอมสตรอว์เบอร์รี ส้ม และดอกไม้"
|
||
Var DrinkDescription = "Light Roast Natural Process: strawberry, Orange, Floral"
|
||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_espresso_light.png"
|
||
Var OpenFromXML = CurrentXMLFileName2
|
||
Var PriceD1 = $12-01-01-0013.Price
|
||
Var PriceD2 = $-.Price
|
||
Var PriceD3 = $-.Price
|
||
Var PD_CODE1 = "12-01-01-0013"
|
||
Var PD_CODE2 = "##-##-##-####"
|
||
Var PD_CODE3 = "##-##-##-####"
|
||
Var PD_STAGE_1 = $12-01-01-0013.Button
|
||
Var PD_STAGE_2 = "Disable2"
|
||
Var PD_STAGE_3 = "Disable2"
|
||
Var OverlayMenuFilter !assigned xmlpro( 12-01-01-0013, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi2.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" "12-01-01-0013"
|
||
Else
|
||
Topping "Load" "-"
|
||
EndIf
|
||
EndIf
|
||
Var menu_name_eng_hot = $12-01-01-0013.NameE
|
||
Var menu_desc_eng_hot = $12-01-01-0013.descriptionE
|
||
Var menu_name_thai_hot = $12-01-01-0013.Name
|
||
Var menu_desc_thai_hot = $12-01-01-0013.description
|
||
|
||
Var menu_name_eng_cold = $##-##-##-####.NameE
|
||
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
|
||
Var menu_name_thai_cold = $##-##-##-####.Name
|
||
Var menu_desc_thai_cold = $##-##-##-####.description
|
||
|
||
Var menu_name_eng_blender = $##-##-##-####.NameE
|
||
Var menu_desc_eng_blender = $##-##-##-####.descriptionE
|
||
Var menu_name_thai_blender = $##-##-##-####.Name
|
||
Var menu_desc_thai_blender = $##-##-##-####.description
|
||
|
||
DEBUGVAR PD_STAGE_1
|
||
DEBUGVAR PD_STAGE_2
|
||
DEBUGVAR PD_STAGE_3
|
||
Var SelectDrinkType = 0
|
||
|
||
|
||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
||
|
||
</EventOnClick>
|
||
</Button>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 164 </Y>
|
||
<Size> 24 </Size>
|
||
<Width>220</Width>
|
||
<Mode> "multi2" </Mode>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x322B26 </Color>
|
||
<State> showthaiText </State>
|
||
<Value> "เอสเพรสโซ่ช็อต
|
||
Guji Queen Berry" </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> "กาแฟคั่วอ่อน (natural process)
|
||
หอมสตรอว์เบอร์รี ส้ม และดอกไม้" </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> "Espresso
|
||
Ethiopia Guji" </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> "Light Roast Natural Process:
|
||
strawberry, Orange, Floral" </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-01-01-0013.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-01-01-0013.Button </State>
|
||
<Value> StringFmt( $12-01-01-0013.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
||
<State> "Invisible" </State>
|
||
</Image>
|
||
<Text>
|
||
<X> 115 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> "Invisible" </State>
|
||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 146 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||
<State> "Invisible" </State>
|
||
</Image>
|
||
<Text>
|
||
<X> 180 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitRegularTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> "Invisible" </State>
|
||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<State>
|
||
eval(
|
||
If ICE_PROCESS_STATUS = 2 Then
|
||
|
||
If $Sum1201010013 = "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 $Sum1201010013 = "Disable" Then
|
||
STRCONTAIN "ERR" $12-01-01-0013.TAG tag1_is_disable
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag2_is_disable
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||
Var return = "Invisible"
|
||
If tag1_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag2_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag3_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
Else
|
||
Var return = "Invisible"
|
||
EndIf
|
||
)
|
||
</State>
|
||
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
||
</Image>
|
||
<Text>
|
||
<X> 84 </X>
|
||
<Y> 266 </Y>
|
||
<Size> 10 </Size>
|
||
<Font> OpunMediumTTF </Font>
|
||
<Color> 0xDE794E </Color>
|
||
<State> ice_tab_process_show </State>
|
||
<Value> ice_show_open </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 48 </X>
|
||
<Y> 116 </Y>
|
||
<Size> 32 </Size>
|
||
<Width>128</Width>
|
||
<Height>64</Height>
|
||
<Font> MITRegularTTF </Font>
|
||
<Color> 0x5A5A5A </Color>
|
||
<Mode> "disable-show" </Mode>
|
||
<State> $Sum1201010013 </State>
|
||
<Value> text_unavailable </Value>
|
||
<Align> center-vertical-horizontal </Align>
|
||
</Text>
|
||
</Block>
|
||
; - - -
|
||
; ==================> Len = 21
|
||
; 12-01-01-0020 - -
|
||
<Block>
|
||
<MarginLeft> 33 </MarginLeft>
|
||
<MarginTop> 22 </MarginTop>
|
||
<Width> 225 </Width>
|
||
<Height> 296 </Height>
|
||
<State> Flag( 12-01-01-0020.Button,$Sum1201010020) </State>
|
||
<Button>
|
||
<State> $Sum1201010020 </State>
|
||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_espresso_light_bluedaddy.png" </Filename>
|
||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_espresso_light_bluedaddy.png" </FilenamePress>
|
||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_espresso_light_bluedaddy.png" </FilenameDisable>
|
||
<OverlayImage> xmlpro( 12-01-01-0020, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi2.png") </OverlayImage>
|
||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||
<Volume> SoundVolume </Volume>
|
||
<EventOnClick>
|
||
Var NameDrink = "Blue Daddy Espresso"
|
||
Var NameDrinkTH = "เอสเพรสโซ่ช็อต Blue Daddy"
|
||
Var DrinkDescriptionTH = "Washed process หอมบลูเบอร์รี และดอกไม้"
|
||
Var DrinkDescription = "Washed Process note: Blue Berry & Floral"
|
||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_espresso_light_bluedaddy.png"
|
||
Var OpenFromXML = CurrentXMLFileName2
|
||
Var PriceD1 = $12-01-01-0020.Price
|
||
Var PriceD2 = $-.Price
|
||
Var PriceD3 = $-.Price
|
||
Var PD_CODE1 = "12-01-01-0020"
|
||
Var PD_CODE2 = "##-##-##-####"
|
||
Var PD_CODE3 = "##-##-##-####"
|
||
Var PD_STAGE_1 = $12-01-01-0020.Button
|
||
Var PD_STAGE_2 = "Disable2"
|
||
Var PD_STAGE_3 = "Disable2"
|
||
Var OverlayMenuFilter !assigned xmlpro( 12-01-01-0020, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi2.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" "12-01-01-0020"
|
||
Else
|
||
Topping "Load" "-"
|
||
EndIf
|
||
EndIf
|
||
Var menu_name_eng_hot = $12-01-01-0020.NameE
|
||
Var menu_desc_eng_hot = $12-01-01-0020.descriptionE
|
||
Var menu_name_thai_hot = $12-01-01-0020.Name
|
||
Var menu_desc_thai_hot = $12-01-01-0020.description
|
||
|
||
Var menu_name_eng_cold = $##-##-##-####.NameE
|
||
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
|
||
Var menu_name_thai_cold = $##-##-##-####.Name
|
||
Var menu_desc_thai_cold = $##-##-##-####.description
|
||
|
||
Var menu_name_eng_blender = $##-##-##-####.NameE
|
||
Var menu_desc_eng_blender = $##-##-##-####.descriptionE
|
||
Var menu_name_thai_blender = $##-##-##-####.Name
|
||
Var menu_desc_thai_blender = $##-##-##-####.description
|
||
|
||
DEBUGVAR PD_STAGE_1
|
||
DEBUGVAR PD_STAGE_2
|
||
DEBUGVAR PD_STAGE_3
|
||
Var SelectDrinkType = 0
|
||
|
||
|
||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
||
|
||
</EventOnClick>
|
||
</Button>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 164 </Y>
|
||
<Size> 24 </Size>
|
||
<Width>220</Width>
|
||
<Mode> "multi2" </Mode>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x322B26 </Color>
|
||
<State> showthaiText </State>
|
||
<Value> "เอสเพรสโซ่ช็อต
|
||
Blue Daddy" </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> "Washed process
|
||
หอมบลูเบอร์รี และดอกไม้" </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> "Blue Daddy
|
||
Espresso" </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> "Washed Process
|
||
note: Blue Berry & Floral" </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-01-01-0020.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-01-01-0020.Button </State>
|
||
<Value> StringFmt( $12-01-01-0020.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
||
<State> "Invisible" </State>
|
||
</Image>
|
||
<Text>
|
||
<X> 115 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> "Invisible" </State>
|
||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 146 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||
<State> "Invisible" </State>
|
||
</Image>
|
||
<Text>
|
||
<X> 180 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitRegularTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> "Invisible" </State>
|
||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<State>
|
||
eval(
|
||
If ICE_PROCESS_STATUS = 2 Then
|
||
|
||
If $Sum1201010020 = "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 $Sum1201010020 = "Disable" Then
|
||
STRCONTAIN "ERR" $12-01-01-0020.TAG tag1_is_disable
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag2_is_disable
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||
Var return = "Invisible"
|
||
If tag1_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag2_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag3_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
Else
|
||
Var return = "Invisible"
|
||
EndIf
|
||
)
|
||
</State>
|
||
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
||
</Image>
|
||
<Text>
|
||
<X> 84 </X>
|
||
<Y> 266 </Y>
|
||
<Size> 10 </Size>
|
||
<Font> OpunMediumTTF </Font>
|
||
<Color> 0xDE794E </Color>
|
||
<State> ice_tab_process_show </State>
|
||
<Value> ice_show_open </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 48 </X>
|
||
<Y> 116 </Y>
|
||
<Size> 32 </Size>
|
||
<Width>128</Width>
|
||
<Height>64</Height>
|
||
<Font> MITRegularTTF </Font>
|
||
<Color> 0x5A5A5A </Color>
|
||
<Mode> "disable-show" </Mode>
|
||
<State> $Sum1201010020 </State>
|
||
<Value> text_unavailable </Value>
|
||
<Align> center-vertical-horizontal </Align>
|
||
</Text>
|
||
</Block>
|
||
; - - -
|
||
; ==================> Len = 21
|
||
; 12-01-01-0043 - -
|
||
<Block>
|
||
<MarginLeft> 33 </MarginLeft>
|
||
<MarginTop> 22 </MarginTop>
|
||
<Width> 225 </Width>
|
||
<Height> 296 </Height>
|
||
<State> Flag( 12-01-01-0043.Button,$Sum1201010043) </State>
|
||
<Button>
|
||
<State> $Sum1201010043 </State>
|
||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_espresso_light_chopin.png" </Filename>
|
||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_espresso_light_chopin.png" </FilenamePress>
|
||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_espresso_light_chopin.png" </FilenameDisable>
|
||
<OverlayImage> xmlpro( 12-01-01-0043, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi2.png") </OverlayImage>
|
||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||
<Volume> SoundVolume </Volume>
|
||
<EventOnClick>
|
||
Var NameDrink = "Chopin Espresso"
|
||
Var NameDrinkTH = "เอสเพรสโซ่ช็อต Chopin"
|
||
Var DrinkDescriptionTH = "Raisin Honey process หอมสตรอว์เบอร์รี กุหลาบ มะลิ"
|
||
Var DrinkDescription = "Raisin Honey Process note: Strawberry & Floral"
|
||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_espresso_light_chopin.png"
|
||
Var OpenFromXML = CurrentXMLFileName2
|
||
Var PriceD1 = $12-01-01-0043.Price
|
||
Var PriceD2 = $-.Price
|
||
Var PriceD3 = $-.Price
|
||
Var PD_CODE1 = "12-01-01-0043"
|
||
Var PD_CODE2 = "##-##-##-####"
|
||
Var PD_CODE3 = "##-##-##-####"
|
||
Var PD_STAGE_1 = $12-01-01-0043.Button
|
||
Var PD_STAGE_2 = "Disable2"
|
||
Var PD_STAGE_3 = "Disable2"
|
||
Var OverlayMenuFilter !assigned xmlpro( 12-01-01-0043, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi2.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" "12-01-01-0043"
|
||
Else
|
||
Topping "Load" "-"
|
||
EndIf
|
||
EndIf
|
||
Var menu_name_eng_hot = $12-01-01-0043.NameE
|
||
Var menu_desc_eng_hot = $12-01-01-0043.descriptionE
|
||
Var menu_name_thai_hot = $12-01-01-0043.Name
|
||
Var menu_desc_thai_hot = $12-01-01-0043.description
|
||
|
||
Var menu_name_eng_cold = $##-##-##-####.NameE
|
||
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
|
||
Var menu_name_thai_cold = $##-##-##-####.Name
|
||
Var menu_desc_thai_cold = $##-##-##-####.description
|
||
|
||
Var menu_name_eng_blender = $##-##-##-####.NameE
|
||
Var menu_desc_eng_blender = $##-##-##-####.descriptionE
|
||
Var menu_name_thai_blender = $##-##-##-####.Name
|
||
Var menu_desc_thai_blender = $##-##-##-####.description
|
||
|
||
DEBUGVAR PD_STAGE_1
|
||
DEBUGVAR PD_STAGE_2
|
||
DEBUGVAR PD_STAGE_3
|
||
Var SelectDrinkType = 0
|
||
|
||
|
||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
||
|
||
</EventOnClick>
|
||
</Button>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 164 </Y>
|
||
<Size> 24 </Size>
|
||
<Width>220</Width>
|
||
<Mode> "multi2" </Mode>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x322B26 </Color>
|
||
<State> showthaiText </State>
|
||
<Value> "เอสเพรสโซ่ช็อต
|
||
Chopin" </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> "Raisin Honey process
|
||
หอมสตรอว์เบอร์รี กุหลาบ มะลิ" </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> "Chopin
|
||
Espresso" </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> "Raisin Honey Process
|
||
note: Strawberry & Floral" </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-01-01-0043.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-01-01-0043.Button </State>
|
||
<Value> StringFmt( $12-01-01-0043.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
||
<State> "Invisible" </State>
|
||
</Image>
|
||
<Text>
|
||
<X> 115 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> "Invisible" </State>
|
||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 146 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||
<State> "Invisible" </State>
|
||
</Image>
|
||
<Text>
|
||
<X> 180 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitRegularTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> "Invisible" </State>
|
||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<State>
|
||
eval(
|
||
If ICE_PROCESS_STATUS = 2 Then
|
||
|
||
If $Sum1201010043 = "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 $Sum1201010043 = "Disable" Then
|
||
STRCONTAIN "ERR" $12-01-01-0043.TAG tag1_is_disable
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag2_is_disable
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||
Var return = "Invisible"
|
||
If tag1_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag2_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag3_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
Else
|
||
Var return = "Invisible"
|
||
EndIf
|
||
)
|
||
</State>
|
||
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
||
</Image>
|
||
<Text>
|
||
<X> 84 </X>
|
||
<Y> 266 </Y>
|
||
<Size> 10 </Size>
|
||
<Font> OpunMediumTTF </Font>
|
||
<Color> 0xDE794E </Color>
|
||
<State> ice_tab_process_show </State>
|
||
<Value> ice_show_open </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 48 </X>
|
||
<Y> 116 </Y>
|
||
<Size> 32 </Size>
|
||
<Width>128</Width>
|
||
<Height>64</Height>
|
||
<Font> MITRegularTTF </Font>
|
||
<Color> 0x5A5A5A </Color>
|
||
<Mode> "disable-show" </Mode>
|
||
<State> $Sum1201010043 </State>
|
||
<Value> text_unavailable </Value>
|
||
<Align> center-vertical-horizontal </Align>
|
||
</Text>
|
||
</Block>
|
||
; - - -
|
||
; ==================> Len = 21
|
||
; 12-01-01-0046 - -
|
||
<Block>
|
||
<MarginLeft> 33 </MarginLeft>
|
||
<MarginTop> 22 </MarginTop>
|
||
<Width> 225 </Width>
|
||
<Height> 296 </Height>
|
||
<State> Flag( 12-01-01-0046.Button,$Sum1201010046) </State>
|
||
<Button>
|
||
<State> $Sum1201010046 </State>
|
||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_espresso_light_Mandarine.png" </Filename>
|
||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_espresso_light_Mandarine.png" </FilenamePress>
|
||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_espresso_light_Mandarine.png" </FilenameDisable>
|
||
<OverlayImage> xmlpro( 12-01-01-0046, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi2.png") </OverlayImage>
|
||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||
<Volume> SoundVolume </Volume>
|
||
<EventOnClick>
|
||
Var NameDrink = "Mandarine Espresso"
|
||
Var NameDrinkTH = "เอสเพรสโซ่ช็อต Mandarine"
|
||
Var DrinkDescriptionTH = "กาแฟคั่วอ่อน โน๊ต: ดอกส้ม น้ำผึ้ง คาราเมล ช็อกโกแล็ต"
|
||
Var DrinkDescription = "Light Roast. Note: Orange Blossom, Honey, Caramel, Chocolate Bar."
|
||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_espresso_light_Mandarine.png"
|
||
Var OpenFromXML = CurrentXMLFileName2
|
||
Var PriceD1 = $12-01-01-0046.Price
|
||
Var PriceD2 = $-.Price
|
||
Var PriceD3 = $-.Price
|
||
Var PD_CODE1 = "12-01-01-0046"
|
||
Var PD_CODE2 = "##-##-##-####"
|
||
Var PD_CODE3 = "##-##-##-####"
|
||
Var PD_STAGE_1 = $12-01-01-0046.Button
|
||
Var PD_STAGE_2 = "Disable2"
|
||
Var PD_STAGE_3 = "Disable2"
|
||
Var OverlayMenuFilter !assigned xmlpro( 12-01-01-0046, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi2.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" "12-01-01-0046"
|
||
Else
|
||
Topping "Load" "-"
|
||
EndIf
|
||
EndIf
|
||
Var menu_name_eng_hot = $12-01-01-0046.NameE
|
||
Var menu_desc_eng_hot = $12-01-01-0046.descriptionE
|
||
Var menu_name_thai_hot = $12-01-01-0046.Name
|
||
Var menu_desc_thai_hot = $12-01-01-0046.description
|
||
|
||
Var menu_name_eng_cold = $##-##-##-####.NameE
|
||
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
|
||
Var menu_name_thai_cold = $##-##-##-####.Name
|
||
Var menu_desc_thai_cold = $##-##-##-####.description
|
||
|
||
Var menu_name_eng_blender = $##-##-##-####.NameE
|
||
Var menu_desc_eng_blender = $##-##-##-####.descriptionE
|
||
Var menu_name_thai_blender = $##-##-##-####.Name
|
||
Var menu_desc_thai_blender = $##-##-##-####.description
|
||
|
||
DEBUGVAR PD_STAGE_1
|
||
DEBUGVAR PD_STAGE_2
|
||
DEBUGVAR PD_STAGE_3
|
||
Var SelectDrinkType = 0
|
||
|
||
|
||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
||
|
||
</EventOnClick>
|
||
</Button>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 164 </Y>
|
||
<Size> 24 </Size>
|
||
<Width>220</Width>
|
||
<Mode> "multi2" </Mode>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x322B26 </Color>
|
||
<State> showthaiText </State>
|
||
<Value> "เอสเพรสโซ่ช็อต
|
||
Mandarine" </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> "Mandarine
|
||
Espresso" </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> "Light Roast. Note: Orange Blossom, Honey, Caramel, Chocolate Bar." </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-01-01-0046.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-01-01-0046.Button </State>
|
||
<Value> StringFmt( $12-01-01-0046.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
||
<State> "Invisible" </State>
|
||
</Image>
|
||
<Text>
|
||
<X> 115 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> "Invisible" </State>
|
||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 146 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||
<State> "Invisible" </State>
|
||
</Image>
|
||
<Text>
|
||
<X> 180 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitRegularTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> "Invisible" </State>
|
||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<State>
|
||
eval(
|
||
If ICE_PROCESS_STATUS = 2 Then
|
||
|
||
If $Sum1201010046 = "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 $Sum1201010046 = "Disable" Then
|
||
STRCONTAIN "ERR" $12-01-01-0046.TAG tag1_is_disable
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag2_is_disable
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||
Var return = "Invisible"
|
||
If tag1_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag2_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag3_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
Else
|
||
Var return = "Invisible"
|
||
EndIf
|
||
)
|
||
</State>
|
||
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
||
</Image>
|
||
<Text>
|
||
<X> 84 </X>
|
||
<Y> 266 </Y>
|
||
<Size> 10 </Size>
|
||
<Font> OpunMediumTTF </Font>
|
||
<Color> 0xDE794E </Color>
|
||
<State> ice_tab_process_show </State>
|
||
<Value> ice_show_open </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 48 </X>
|
||
<Y> 116 </Y>
|
||
<Size> 32 </Size>
|
||
<Width>128</Width>
|
||
<Height>64</Height>
|
||
<Font> MITRegularTTF </Font>
|
||
<Color> 0x5A5A5A </Color>
|
||
<Mode> "disable-show" </Mode>
|
||
<State> $Sum1201010046 </State>
|
||
<Value> text_unavailable </Value>
|
||
<Align> center-vertical-horizontal </Align>
|
||
</Text>
|
||
</Block>
|
||
; - - -
|
||
; ==================> Len = 21
|
||
; 12-01-01-0022 - -
|
||
<Block>
|
||
<MarginLeft> 33 </MarginLeft>
|
||
<MarginTop> 22 </MarginTop>
|
||
<Width> 225 </Width>
|
||
<Height> 296 </Height>
|
||
<State> Flag( 12-01-01-0022.Button,$Sum1201010022) </State>
|
||
<Button>
|
||
<State> $Sum1201010022 </State>
|
||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_espresso_light_mozart.png" </Filename>
|
||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_espresso_light_mozart.png" </FilenamePress>
|
||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_espresso_light_mozart.png" </FilenameDisable>
|
||
<OverlayImage> xmlpro( 12-01-01-0022, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi2.png") </OverlayImage>
|
||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||
<Volume> SoundVolume </Volume>
|
||
<EventOnClick>
|
||
Var NameDrink = "Mozart Espresso"
|
||
Var NameDrinkTH = "เอสเพรสโซ่ช็อต Mozart"
|
||
Var DrinkDescriptionTH = "Raisin Honey process หอมสตรอว์เบอร์รี กุหลาบ มะลิ"
|
||
Var DrinkDescription = "Raisin Honey Process note: Strawberry & Floral"
|
||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_espresso_light_mozart.png"
|
||
Var OpenFromXML = CurrentXMLFileName2
|
||
Var PriceD1 = $12-01-01-0022.Price
|
||
Var PriceD2 = $-.Price
|
||
Var PriceD3 = $-.Price
|
||
Var PD_CODE1 = "12-01-01-0022"
|
||
Var PD_CODE2 = "##-##-##-####"
|
||
Var PD_CODE3 = "##-##-##-####"
|
||
Var PD_STAGE_1 = $12-01-01-0022.Button
|
||
Var PD_STAGE_2 = "Disable2"
|
||
Var PD_STAGE_3 = "Disable2"
|
||
Var OverlayMenuFilter !assigned xmlpro( 12-01-01-0022, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi2.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" "12-01-01-0022"
|
||
Else
|
||
Topping "Load" "-"
|
||
EndIf
|
||
EndIf
|
||
Var menu_name_eng_hot = $12-01-01-0022.NameE
|
||
Var menu_desc_eng_hot = $12-01-01-0022.descriptionE
|
||
Var menu_name_thai_hot = $12-01-01-0022.Name
|
||
Var menu_desc_thai_hot = $12-01-01-0022.description
|
||
|
||
Var menu_name_eng_cold = $##-##-##-####.NameE
|
||
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
|
||
Var menu_name_thai_cold = $##-##-##-####.Name
|
||
Var menu_desc_thai_cold = $##-##-##-####.description
|
||
|
||
Var menu_name_eng_blender = $##-##-##-####.NameE
|
||
Var menu_desc_eng_blender = $##-##-##-####.descriptionE
|
||
Var menu_name_thai_blender = $##-##-##-####.Name
|
||
Var menu_desc_thai_blender = $##-##-##-####.description
|
||
|
||
DEBUGVAR PD_STAGE_1
|
||
DEBUGVAR PD_STAGE_2
|
||
DEBUGVAR PD_STAGE_3
|
||
Var SelectDrinkType = 0
|
||
|
||
|
||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
||
|
||
</EventOnClick>
|
||
</Button>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 164 </Y>
|
||
<Size> 24 </Size>
|
||
<Width>220</Width>
|
||
<Mode> "multi2" </Mode>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x322B26 </Color>
|
||
<State> showthaiText </State>
|
||
<Value> "เอสเพรสโซ่ช็อต
|
||
Mozart" </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> "Raisin Honey process
|
||
หอมสตรอว์เบอร์รี กุหลาบ มะลิ" </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> "Mozart
|
||
Espresso" </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> "Raisin Honey Process
|
||
note: Strawberry & Floral" </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-01-01-0022.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-01-01-0022.Button </State>
|
||
<Value> StringFmt( $12-01-01-0022.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
||
<State> "Invisible" </State>
|
||
</Image>
|
||
<Text>
|
||
<X> 115 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> "Invisible" </State>
|
||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 146 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||
<State> "Invisible" </State>
|
||
</Image>
|
||
<Text>
|
||
<X> 180 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitRegularTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> "Invisible" </State>
|
||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<State>
|
||
eval(
|
||
If ICE_PROCESS_STATUS = 2 Then
|
||
|
||
If $Sum1201010022 = "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 $Sum1201010022 = "Disable" Then
|
||
STRCONTAIN "ERR" $12-01-01-0022.TAG tag1_is_disable
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag2_is_disable
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||
Var return = "Invisible"
|
||
If tag1_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag2_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag3_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
Else
|
||
Var return = "Invisible"
|
||
EndIf
|
||
)
|
||
</State>
|
||
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
||
</Image>
|
||
<Text>
|
||
<X> 84 </X>
|
||
<Y> 266 </Y>
|
||
<Size> 10 </Size>
|
||
<Font> OpunMediumTTF </Font>
|
||
<Color> 0xDE794E </Color>
|
||
<State> ice_tab_process_show </State>
|
||
<Value> ice_show_open </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 48 </X>
|
||
<Y> 116 </Y>
|
||
<Size> 32 </Size>
|
||
<Width>128</Width>
|
||
<Height>64</Height>
|
||
<Font> MITRegularTTF </Font>
|
||
<Color> 0x5A5A5A </Color>
|
||
<Mode> "disable-show" </Mode>
|
||
<State> $Sum1201010022 </State>
|
||
<Value> text_unavailable </Value>
|
||
<Align> center-vertical-horizontal </Align>
|
||
</Text>
|
||
</Block>
|
||
; - - -
|
||
; ==================> Len = 21
|
||
; 12-01-01-0024 - -
|
||
<Block>
|
||
<MarginLeft> 33 </MarginLeft>
|
||
<MarginTop> 22 </MarginTop>
|
||
<Width> 225 </Width>
|
||
<Height> 296 </Height>
|
||
<State> Flag( 12-01-01-0024.Button,$Sum1201010024) </State>
|
||
<Button>
|
||
<State> $Sum1201010024 </State>
|
||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_espresso_light_snowwhite.png" </Filename>
|
||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_espresso_light_snowwhite.png" </FilenamePress>
|
||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_espresso_light_snowwhite.png" </FilenameDisable>
|
||
<OverlayImage> xmlpro( 12-01-01-0024, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi2.png") </OverlayImage>
|
||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||
<Volume> SoundVolume </Volume>
|
||
<EventOnClick>
|
||
Var NameDrink = "Snowwhite Espresso"
|
||
Var NameDrinkTH = "เอสเพรสโซ่ช็อต Snowwhite"
|
||
Var DrinkDescriptionTH = "Anaerobic process หอมมะลิ น้ำผึ้ง เมเปิล"
|
||
Var DrinkDescription = "Anaerobic Process note: Jasmine & Honey"
|
||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_espresso_light_snowwhite.png"
|
||
Var OpenFromXML = CurrentXMLFileName2
|
||
Var PriceD1 = $12-01-01-0024.Price
|
||
Var PriceD2 = $-.Price
|
||
Var PriceD3 = $-.Price
|
||
Var PD_CODE1 = "12-01-01-0024"
|
||
Var PD_CODE2 = "##-##-##-####"
|
||
Var PD_CODE3 = "##-##-##-####"
|
||
Var PD_STAGE_1 = $12-01-01-0024.Button
|
||
Var PD_STAGE_2 = "Disable2"
|
||
Var PD_STAGE_3 = "Disable2"
|
||
Var OverlayMenuFilter !assigned xmlpro( 12-01-01-0024, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi2.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" "12-01-01-0024"
|
||
Else
|
||
Topping "Load" "-"
|
||
EndIf
|
||
EndIf
|
||
Var menu_name_eng_hot = $12-01-01-0024.NameE
|
||
Var menu_desc_eng_hot = $12-01-01-0024.descriptionE
|
||
Var menu_name_thai_hot = $12-01-01-0024.Name
|
||
Var menu_desc_thai_hot = $12-01-01-0024.description
|
||
|
||
Var menu_name_eng_cold = $##-##-##-####.NameE
|
||
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
|
||
Var menu_name_thai_cold = $##-##-##-####.Name
|
||
Var menu_desc_thai_cold = $##-##-##-####.description
|
||
|
||
Var menu_name_eng_blender = $##-##-##-####.NameE
|
||
Var menu_desc_eng_blender = $##-##-##-####.descriptionE
|
||
Var menu_name_thai_blender = $##-##-##-####.Name
|
||
Var menu_desc_thai_blender = $##-##-##-####.description
|
||
|
||
DEBUGVAR PD_STAGE_1
|
||
DEBUGVAR PD_STAGE_2
|
||
DEBUGVAR PD_STAGE_3
|
||
Var SelectDrinkType = 0
|
||
|
||
|
||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
||
|
||
</EventOnClick>
|
||
</Button>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 164 </Y>
|
||
<Size> 24 </Size>
|
||
<Width>220</Width>
|
||
<Mode> "multi2" </Mode>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x322B26 </Color>
|
||
<State> showthaiText </State>
|
||
<Value> "เอสเพรสโซ่ช็อต
|
||
Snowwhite" </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> "Anaerobic process
|
||
หอมมะลิ น้ำผึ้ง เมเปิล" </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> "Snowwhite
|
||
Espresso" </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> "Anaerobic Process
|
||
note: Jasmine & Honey" </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-01-01-0024.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-01-01-0024.Button </State>
|
||
<Value> StringFmt( $12-01-01-0024.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
||
<State> "Invisible" </State>
|
||
</Image>
|
||
<Text>
|
||
<X> 115 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> "Invisible" </State>
|
||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 146 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||
<State> "Invisible" </State>
|
||
</Image>
|
||
<Text>
|
||
<X> 180 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitRegularTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> "Invisible" </State>
|
||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<State>
|
||
eval(
|
||
If ICE_PROCESS_STATUS = 2 Then
|
||
|
||
If $Sum1201010024 = "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 $Sum1201010024 = "Disable" Then
|
||
STRCONTAIN "ERR" $12-01-01-0024.TAG tag1_is_disable
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag2_is_disable
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||
Var return = "Invisible"
|
||
If tag1_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag2_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag3_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
Else
|
||
Var return = "Invisible"
|
||
EndIf
|
||
)
|
||
</State>
|
||
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
||
</Image>
|
||
<Text>
|
||
<X> 84 </X>
|
||
<Y> 266 </Y>
|
||
<Size> 10 </Size>
|
||
<Font> OpunMediumTTF </Font>
|
||
<Color> 0xDE794E </Color>
|
||
<State> ice_tab_process_show </State>
|
||
<Value> ice_show_open </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 48 </X>
|
||
<Y> 116 </Y>
|
||
<Size> 32 </Size>
|
||
<Width>128</Width>
|
||
<Height>64</Height>
|
||
<Font> MITRegularTTF </Font>
|
||
<Color> 0x5A5A5A </Color>
|
||
<Mode> "disable-show" </Mode>
|
||
<State> $Sum1201010024 </State>
|
||
<Value> text_unavailable </Value>
|
||
<Align> center-vertical-horizontal </Align>
|
||
</Text>
|
||
</Block>
|
||
; - - -
|
||
; ==================> Len = 21
|
||
; 12-01-01-0026 - -
|
||
<Block>
|
||
<MarginLeft> 33 </MarginLeft>
|
||
<MarginTop> 22 </MarginTop>
|
||
<Width> 225 </Width>
|
||
<Height> 296 </Height>
|
||
<State> Flag( 12-01-01-0026.Button,$Sum1201010026) </State>
|
||
<Button>
|
||
<State> $Sum1201010026 </State>
|
||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_espresso_light_whiskydude.png" </Filename>
|
||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_espresso_light_whiskydude.png" </FilenamePress>
|
||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_espresso_light_whiskydude.png" </FilenameDisable>
|
||
<OverlayImage> xmlpro( 12-01-01-0026, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi2.png") </OverlayImage>
|
||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||
<Volume> SoundVolume </Volume>
|
||
<EventOnClick>
|
||
Var NameDrink = "Whisky Dude Espresso"
|
||
Var NameDrinkTH = "เอสเพรสโซ่ช็อต Whisky Dude"
|
||
Var DrinkDescriptionTH = "Washed Sherry cask ferment หอมวิสกี้ ช็อกโกแลต วนิลา"
|
||
Var DrinkDescription = "Washed Sherry Cask Ferment note: Whisky & Vanilla"
|
||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_espresso_light_whiskydude.png"
|
||
Var OpenFromXML = CurrentXMLFileName2
|
||
Var PriceD1 = $12-01-01-0026.Price
|
||
Var PriceD2 = $-.Price
|
||
Var PriceD3 = $-.Price
|
||
Var PD_CODE1 = "12-01-01-0026"
|
||
Var PD_CODE2 = "##-##-##-####"
|
||
Var PD_CODE3 = "##-##-##-####"
|
||
Var PD_STAGE_1 = $12-01-01-0026.Button
|
||
Var PD_STAGE_2 = "Disable2"
|
||
Var PD_STAGE_3 = "Disable2"
|
||
Var OverlayMenuFilter !assigned xmlpro( 12-01-01-0026, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi2.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" "12-01-01-0026"
|
||
Else
|
||
Topping "Load" "-"
|
||
EndIf
|
||
EndIf
|
||
Var menu_name_eng_hot = $12-01-01-0026.NameE
|
||
Var menu_desc_eng_hot = $12-01-01-0026.descriptionE
|
||
Var menu_name_thai_hot = $12-01-01-0026.Name
|
||
Var menu_desc_thai_hot = $12-01-01-0026.description
|
||
|
||
Var menu_name_eng_cold = $##-##-##-####.NameE
|
||
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
|
||
Var menu_name_thai_cold = $##-##-##-####.Name
|
||
Var menu_desc_thai_cold = $##-##-##-####.description
|
||
|
||
Var menu_name_eng_blender = $##-##-##-####.NameE
|
||
Var menu_desc_eng_blender = $##-##-##-####.descriptionE
|
||
Var menu_name_thai_blender = $##-##-##-####.Name
|
||
Var menu_desc_thai_blender = $##-##-##-####.description
|
||
|
||
DEBUGVAR PD_STAGE_1
|
||
DEBUGVAR PD_STAGE_2
|
||
DEBUGVAR PD_STAGE_3
|
||
Var SelectDrinkType = 0
|
||
|
||
|
||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
||
|
||
</EventOnClick>
|
||
</Button>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 164 </Y>
|
||
<Size> 24 </Size>
|
||
<Width>220</Width>
|
||
<Mode> "multi2" </Mode>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x322B26 </Color>
|
||
<State> showthaiText </State>
|
||
<Value> "เอสเพรสโซ่ช็อต
|
||
Whisky Dude" </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> "Washed Sherry cask ferment
|
||
หอมวิสกี้ ช็อกโกแลต วนิลา" </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> "Whisky Dude
|
||
Espresso" </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> "Washed Sherry Cask Ferment
|
||
note: Whisky & Vanilla" </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-01-01-0026.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-01-01-0026.Button </State>
|
||
<Value> StringFmt( $12-01-01-0026.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
||
<State> "Invisible" </State>
|
||
</Image>
|
||
<Text>
|
||
<X> 115 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> "Invisible" </State>
|
||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 146 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||
<State> "Invisible" </State>
|
||
</Image>
|
||
<Text>
|
||
<X> 180 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitRegularTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> "Invisible" </State>
|
||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<State>
|
||
eval(
|
||
If ICE_PROCESS_STATUS = 2 Then
|
||
|
||
If $Sum1201010026 = "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 $Sum1201010026 = "Disable" Then
|
||
STRCONTAIN "ERR" $12-01-01-0026.TAG tag1_is_disable
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag2_is_disable
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||
Var return = "Invisible"
|
||
If tag1_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag2_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag3_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
Else
|
||
Var return = "Invisible"
|
||
EndIf
|
||
)
|
||
</State>
|
||
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
||
</Image>
|
||
<Text>
|
||
<X> 84 </X>
|
||
<Y> 266 </Y>
|
||
<Size> 10 </Size>
|
||
<Font> OpunMediumTTF </Font>
|
||
<Color> 0xDE794E </Color>
|
||
<State> ice_tab_process_show </State>
|
||
<Value> ice_show_open </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 48 </X>
|
||
<Y> 116 </Y>
|
||
<Size> 32 </Size>
|
||
<Width>128</Width>
|
||
<Height>64</Height>
|
||
<Font> MITRegularTTF </Font>
|
||
<Color> 0x5A5A5A </Color>
|
||
<Mode> "disable-show" </Mode>
|
||
<State> $Sum1201010026 </State>
|
||
<Value> text_unavailable </Value>
|
||
<Align> center-vertical-horizontal </Align>
|
||
</Text>
|
||
</Block>
|
||
; - - -
|
||
; ==================> Len = 21
|
||
; 12-01-01-0028 - -
|
||
<Block>
|
||
<MarginLeft> 33 </MarginLeft>
|
||
<MarginTop> 22 </MarginTop>
|
||
<Width> 225 </Width>
|
||
<Height> 296 </Height>
|
||
<State> Flag( 12-01-01-0028.Button,$Sum1201010028) </State>
|
||
<Button>
|
||
<State> $Sum1201010028 </State>
|
||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_espresso_light_peacher.png" </Filename>
|
||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_espresso_light_peacher.png" </FilenamePress>
|
||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_espresso_light_peacher.png" </FilenameDisable>
|
||
<OverlayImage> xmlpro( 12-01-01-0028, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi2.png") </OverlayImage>
|
||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||
<Volume> SoundVolume </Volume>
|
||
<EventOnClick>
|
||
Var NameDrink = "Peacher Espresso"
|
||
Var NameDrinkTH = "เอสเพรสโซ่ช็อต Peacher"
|
||
Var DrinkDescriptionTH = "Barrel-aged process หอมพีช, ชา, ช็อกโกแลต"
|
||
Var DrinkDescription = "Barrel-Aged Process note: Peach, Tea, Chocolate"
|
||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_espresso_light_peacher.png"
|
||
Var OpenFromXML = CurrentXMLFileName2
|
||
Var PriceD1 = $12-01-01-0028.Price
|
||
Var PriceD2 = $-.Price
|
||
Var PriceD3 = $-.Price
|
||
Var PD_CODE1 = "12-01-01-0028"
|
||
Var PD_CODE2 = "##-##-##-####"
|
||
Var PD_CODE3 = "##-##-##-####"
|
||
Var PD_STAGE_1 = $12-01-01-0028.Button
|
||
Var PD_STAGE_2 = "Disable2"
|
||
Var PD_STAGE_3 = "Disable2"
|
||
Var OverlayMenuFilter !assigned xmlpro( 12-01-01-0028, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi2.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" "12-01-01-0028"
|
||
Else
|
||
Topping "Load" "-"
|
||
EndIf
|
||
EndIf
|
||
Var menu_name_eng_hot = $12-01-01-0028.NameE
|
||
Var menu_desc_eng_hot = $12-01-01-0028.descriptionE
|
||
Var menu_name_thai_hot = $12-01-01-0028.Name
|
||
Var menu_desc_thai_hot = $12-01-01-0028.description
|
||
|
||
Var menu_name_eng_cold = $##-##-##-####.NameE
|
||
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
|
||
Var menu_name_thai_cold = $##-##-##-####.Name
|
||
Var menu_desc_thai_cold = $##-##-##-####.description
|
||
|
||
Var menu_name_eng_blender = $##-##-##-####.NameE
|
||
Var menu_desc_eng_blender = $##-##-##-####.descriptionE
|
||
Var menu_name_thai_blender = $##-##-##-####.Name
|
||
Var menu_desc_thai_blender = $##-##-##-####.description
|
||
|
||
DEBUGVAR PD_STAGE_1
|
||
DEBUGVAR PD_STAGE_2
|
||
DEBUGVAR PD_STAGE_3
|
||
Var SelectDrinkType = 0
|
||
|
||
|
||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
||
|
||
</EventOnClick>
|
||
</Button>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 164 </Y>
|
||
<Size> 24 </Size>
|
||
<Width>220</Width>
|
||
<Mode> "multi2" </Mode>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x322B26 </Color>
|
||
<State> showthaiText </State>
|
||
<Value> "เอสเพรสโซ่ช็อต
|
||
Peacher" </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> "Barrel-aged process
|
||
หอมพีช, ชา, ช็อกโกแลต" </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> "Peacher
|
||
Espresso" </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> "Barrel-Aged Process
|
||
note: Peach, Tea, Chocolate" </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-01-01-0028.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-01-01-0028.Button </State>
|
||
<Value> StringFmt( $12-01-01-0028.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
||
<State> "Invisible" </State>
|
||
</Image>
|
||
<Text>
|
||
<X> 115 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> "Invisible" </State>
|
||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 146 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||
<State> "Invisible" </State>
|
||
</Image>
|
||
<Text>
|
||
<X> 180 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitRegularTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> "Invisible" </State>
|
||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<State>
|
||
eval(
|
||
If ICE_PROCESS_STATUS = 2 Then
|
||
|
||
If $Sum1201010028 = "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 $Sum1201010028 = "Disable" Then
|
||
STRCONTAIN "ERR" $12-01-01-0028.TAG tag1_is_disable
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag2_is_disable
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||
Var return = "Invisible"
|
||
If tag1_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag2_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag3_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
Else
|
||
Var return = "Invisible"
|
||
EndIf
|
||
)
|
||
</State>
|
||
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
||
</Image>
|
||
<Text>
|
||
<X> 84 </X>
|
||
<Y> 266 </Y>
|
||
<Size> 10 </Size>
|
||
<Font> OpunMediumTTF </Font>
|
||
<Color> 0xDE794E </Color>
|
||
<State> ice_tab_process_show </State>
|
||
<Value> ice_show_open </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 48 </X>
|
||
<Y> 116 </Y>
|
||
<Size> 32 </Size>
|
||
<Width>128</Width>
|
||
<Height>64</Height>
|
||
<Font> MITRegularTTF </Font>
|
||
<Color> 0x5A5A5A </Color>
|
||
<Mode> "disable-show" </Mode>
|
||
<State> $Sum1201010028 </State>
|
||
<Value> text_unavailable </Value>
|
||
<Align> center-vertical-horizontal </Align>
|
||
</Text>
|
||
</Block>
|
||
; - - -
|
||
; ==================> Len = 21
|
||
; 12-01-01-0033 - -
|
||
<Block>
|
||
<MarginLeft> 33 </MarginLeft>
|
||
<MarginTop> 22 </MarginTop>
|
||
<Width> 225 </Width>
|
||
<Height> 296 </Height>
|
||
<State> Flag( 12-01-01-0033.Button,$Sum1201010033) </State>
|
||
<Button>
|
||
<State> $Sum1201010033 </State>
|
||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_espresso_light_pure_beauty.png" </Filename>
|
||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_espresso_light_pure_beauty.png" </FilenamePress>
|
||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_espresso_light_pure_beauty.png" </FilenameDisable>
|
||
<OverlayImage> xmlpro( 12-01-01-0033, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi2.png") </OverlayImage>
|
||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||
<Volume> SoundVolume </Volume>
|
||
<EventOnClick>
|
||
Var NameDrink = "Pure Beauty Espresso"
|
||
Var NameDrinkTH = "เอสเพรสโซ่ช็อต Pure Beauty"
|
||
Var DrinkDescriptionTH = "กาแฟคั่วอ่อน (natural process) กลิ่นดอกไม้ ผลไม้เขตร้อน"
|
||
Var DrinkDescription = "Light Roast (Natural Process) Note: Floral & Tropical Fruit"
|
||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_espresso_light_pure_beauty.png"
|
||
Var OpenFromXML = CurrentXMLFileName2
|
||
Var PriceD1 = $12-01-01-0033.Price
|
||
Var PriceD2 = $-.Price
|
||
Var PriceD3 = $-.Price
|
||
Var PD_CODE1 = "12-01-01-0033"
|
||
Var PD_CODE2 = "##-##-##-####"
|
||
Var PD_CODE3 = "##-##-##-####"
|
||
Var PD_STAGE_1 = $12-01-01-0033.Button
|
||
Var PD_STAGE_2 = "Disable2"
|
||
Var PD_STAGE_3 = "Disable2"
|
||
Var OverlayMenuFilter !assigned xmlpro( 12-01-01-0033, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi2.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" "12-01-01-0033"
|
||
Else
|
||
Topping "Load" "-"
|
||
EndIf
|
||
EndIf
|
||
Var menu_name_eng_hot = $12-01-01-0033.NameE
|
||
Var menu_desc_eng_hot = $12-01-01-0033.descriptionE
|
||
Var menu_name_thai_hot = $12-01-01-0033.Name
|
||
Var menu_desc_thai_hot = $12-01-01-0033.description
|
||
|
||
Var menu_name_eng_cold = $##-##-##-####.NameE
|
||
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
|
||
Var menu_name_thai_cold = $##-##-##-####.Name
|
||
Var menu_desc_thai_cold = $##-##-##-####.description
|
||
|
||
Var menu_name_eng_blender = $##-##-##-####.NameE
|
||
Var menu_desc_eng_blender = $##-##-##-####.descriptionE
|
||
Var menu_name_thai_blender = $##-##-##-####.Name
|
||
Var menu_desc_thai_blender = $##-##-##-####.description
|
||
|
||
DEBUGVAR PD_STAGE_1
|
||
DEBUGVAR PD_STAGE_2
|
||
DEBUGVAR PD_STAGE_3
|
||
Var SelectDrinkType = 0
|
||
|
||
|
||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
||
|
||
</EventOnClick>
|
||
</Button>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 164 </Y>
|
||
<Size> 24 </Size>
|
||
<Width>220</Width>
|
||
<Mode> "multi2" </Mode>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x322B26 </Color>
|
||
<State> showthaiText </State>
|
||
<Value> "เอสเพรสโซ่ช็อต
|
||
Pure Beauty" </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> "กาแฟคั่วอ่อน (natural process)
|
||
กลิ่นดอกไม้ ผลไม้เขตร้อน" </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> "Pure Beauty
|
||
Espresso" </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> "Light Roast (Natural Process) Note: Floral & Tropical Fruit" </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-01-01-0033.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-01-01-0033.Button </State>
|
||
<Value> StringFmt( $12-01-01-0033.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
||
<State> "Invisible" </State>
|
||
</Image>
|
||
<Text>
|
||
<X> 115 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> "Invisible" </State>
|
||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 146 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||
<State> "Invisible" </State>
|
||
</Image>
|
||
<Text>
|
||
<X> 180 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitRegularTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> "Invisible" </State>
|
||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<State>
|
||
eval(
|
||
If ICE_PROCESS_STATUS = 2 Then
|
||
|
||
If $Sum1201010033 = "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 $Sum1201010033 = "Disable" Then
|
||
STRCONTAIN "ERR" $12-01-01-0033.TAG tag1_is_disable
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag2_is_disable
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||
Var return = "Invisible"
|
||
If tag1_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag2_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag3_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
Else
|
||
Var return = "Invisible"
|
||
EndIf
|
||
)
|
||
</State>
|
||
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
||
</Image>
|
||
<Text>
|
||
<X> 84 </X>
|
||
<Y> 266 </Y>
|
||
<Size> 10 </Size>
|
||
<Font> OpunMediumTTF </Font>
|
||
<Color> 0xDE794E </Color>
|
||
<State> ice_tab_process_show </State>
|
||
<Value> ice_show_open </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 48 </X>
|
||
<Y> 116 </Y>
|
||
<Size> 32 </Size>
|
||
<Width>128</Width>
|
||
<Height>64</Height>
|
||
<Font> MITRegularTTF </Font>
|
||
<Color> 0x5A5A5A </Color>
|
||
<Mode> "disable-show" </Mode>
|
||
<State> $Sum1201010033 </State>
|
||
<Value> text_unavailable </Value>
|
||
<Align> center-vertical-horizontal </Align>
|
||
</Text>
|
||
</Block>
|
||
; - - -
|
||
; ==================> Len = 21
|
||
; 12-01-01-0037 - -
|
||
<Block>
|
||
<MarginLeft> 33 </MarginLeft>
|
||
<MarginTop> 22 </MarginTop>
|
||
<Width> 225 </Width>
|
||
<Height> 296 </Height>
|
||
<State> Flag( 12-01-01-0037.Button,$Sum1201010037) </State>
|
||
<Button>
|
||
<State> $Sum1201010037 </State>
|
||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_espresso_light_rosalyn.png" </Filename>
|
||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_espresso_light_rosalyn.png" </FilenamePress>
|
||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_espresso_light_rosalyn.png" </FilenameDisable>
|
||
<OverlayImage> xmlpro( 12-01-01-0037, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi2.png") </OverlayImage>
|
||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||
<Volume> SoundVolume </Volume>
|
||
<EventOnClick>
|
||
Var NameDrink = "Rosalyn Espresso"
|
||
Var NameDrinkTH = "เอสเพรสโซ่ช็อต Rosalyn"
|
||
Var DrinkDescriptionTH = "กาแฟคั่วอ่อน (washed process) กลิ่นกุหลาบ และ เบอร์รี่"
|
||
Var DrinkDescription = "Light Roast (Natural Process) pink Rose & Berry"
|
||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_espresso_light_rosalyn.png"
|
||
Var OpenFromXML = CurrentXMLFileName2
|
||
Var PriceD1 = $12-01-01-0037.Price
|
||
Var PriceD2 = $-.Price
|
||
Var PriceD3 = $-.Price
|
||
Var PD_CODE1 = "12-01-01-0037"
|
||
Var PD_CODE2 = "##-##-##-####"
|
||
Var PD_CODE3 = "##-##-##-####"
|
||
Var PD_STAGE_1 = $12-01-01-0037.Button
|
||
Var PD_STAGE_2 = "Disable2"
|
||
Var PD_STAGE_3 = "Disable2"
|
||
Var OverlayMenuFilter !assigned xmlpro( 12-01-01-0037, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi2.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" "12-01-01-0037"
|
||
Else
|
||
Topping "Load" "-"
|
||
EndIf
|
||
EndIf
|
||
Var menu_name_eng_hot = $12-01-01-0037.NameE
|
||
Var menu_desc_eng_hot = $12-01-01-0037.descriptionE
|
||
Var menu_name_thai_hot = $12-01-01-0037.Name
|
||
Var menu_desc_thai_hot = $12-01-01-0037.description
|
||
|
||
Var menu_name_eng_cold = $##-##-##-####.NameE
|
||
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
|
||
Var menu_name_thai_cold = $##-##-##-####.Name
|
||
Var menu_desc_thai_cold = $##-##-##-####.description
|
||
|
||
Var menu_name_eng_blender = $##-##-##-####.NameE
|
||
Var menu_desc_eng_blender = $##-##-##-####.descriptionE
|
||
Var menu_name_thai_blender = $##-##-##-####.Name
|
||
Var menu_desc_thai_blender = $##-##-##-####.description
|
||
|
||
DEBUGVAR PD_STAGE_1
|
||
DEBUGVAR PD_STAGE_2
|
||
DEBUGVAR PD_STAGE_3
|
||
Var SelectDrinkType = 0
|
||
|
||
|
||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
||
|
||
</EventOnClick>
|
||
</Button>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 164 </Y>
|
||
<Size> 24 </Size>
|
||
<Width>220</Width>
|
||
<Mode> "multi2" </Mode>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x322B26 </Color>
|
||
<State> showthaiText </State>
|
||
<Value> "เอสเพรสโซ่ช็อต
|
||
Rosalyn" </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> "กาแฟคั่วอ่อน (washed process)
|
||
กลิ่นกุหลาบ และ เบอร์รี่" </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> "Rosalyn Espresso" </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> "Light Roast (Natural Process)
|
||
pink Rose & Berry" </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-01-01-0037.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-01-01-0037.Button </State>
|
||
<Value> StringFmt( $12-01-01-0037.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
||
<State> "Invisible" </State>
|
||
</Image>
|
||
<Text>
|
||
<X> 115 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> "Invisible" </State>
|
||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 146 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||
<State> "Invisible" </State>
|
||
</Image>
|
||
<Text>
|
||
<X> 180 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitRegularTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> "Invisible" </State>
|
||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<State>
|
||
eval(
|
||
If ICE_PROCESS_STATUS = 2 Then
|
||
|
||
If $Sum1201010037 = "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 $Sum1201010037 = "Disable" Then
|
||
STRCONTAIN "ERR" $12-01-01-0037.TAG tag1_is_disable
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag2_is_disable
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||
Var return = "Invisible"
|
||
If tag1_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag2_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag3_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
Else
|
||
Var return = "Invisible"
|
||
EndIf
|
||
)
|
||
</State>
|
||
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
||
</Image>
|
||
<Text>
|
||
<X> 84 </X>
|
||
<Y> 266 </Y>
|
||
<Size> 10 </Size>
|
||
<Font> OpunMediumTTF </Font>
|
||
<Color> 0xDE794E </Color>
|
||
<State> ice_tab_process_show </State>
|
||
<Value> ice_show_open </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 48 </X>
|
||
<Y> 116 </Y>
|
||
<Size> 32 </Size>
|
||
<Width>128</Width>
|
||
<Height>64</Height>
|
||
<Font> MITRegularTTF </Font>
|
||
<Color> 0x5A5A5A </Color>
|
||
<Mode> "disable-show" </Mode>
|
||
<State> $Sum1201010037 </State>
|
||
<Value> text_unavailable </Value>
|
||
<Align> center-vertical-horizontal </Align>
|
||
</Text>
|
||
</Block>
|
||
; - - -
|
||
; ==================> Len = 21
|
||
; - 12-01-02-0041 -
|
||
<Block>
|
||
<MarginLeft> 33 </MarginLeft>
|
||
<MarginTop> 22 </MarginTop>
|
||
<Width> 225 </Width>
|
||
<Height> 296 </Height>
|
||
<State> Flag( 12-01-02-0041.Button,$Sum1201020041) </State>
|
||
<Button>
|
||
<State> $Sum1201020041 </State>
|
||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_americano_soda.png" </Filename>
|
||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_iced_americano_soda.png" </FilenamePress>
|
||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_iced_americano_soda.png" </FilenameDisable>
|
||
<OverlayImage> xmlpro( 12-01-02-0041, "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 = "Sodacano"
|
||
Var NameDrinkTH = "โซดากาโน่"
|
||
Var DrinkDescriptionTH = "กาแฟ และ โซดา"
|
||
Var DrinkDescription = "Espresso & Soda"
|
||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_iced_americano_soda.png"
|
||
Var OpenFromXML = CurrentXMLFileName2
|
||
Var PriceD1 = $-.Price
|
||
Var PriceD2 = $12-01-02-0041.Price
|
||
Var PriceD3 = $-.Price
|
||
Var PD_CODE1 = "##-##-##-####"
|
||
Var PD_CODE2 = "12-01-02-0041"
|
||
Var PD_CODE3 = "##-##-##-####"
|
||
Var PD_STAGE_1 = "Disable2"
|
||
Var PD_STAGE_2 = $12-01-02-0041.Button
|
||
Var PD_STAGE_3 = "Disable2"
|
||
Var OverlayMenuFilter !assigned xmlpro( 12-01-02-0041, "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-01-02-0041"
|
||
Else
|
||
If PD_STAGE_1 = "Enable" Then
|
||
Topping "Load" "-"
|
||
Else
|
||
Topping "Load" "-"
|
||
EndIf
|
||
EndIf
|
||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
||
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
||
Var menu_name_thai_hot = $##-##-##-####.Name
|
||
Var menu_desc_thai_hot = $##-##-##-####.description
|
||
|
||
Var menu_name_eng_cold = $12-01-02-0041.NameE
|
||
Var menu_desc_eng_cold = $12-01-02-0041.descriptionE
|
||
Var menu_name_thai_cold = $12-01-02-0041.Name
|
||
Var menu_desc_thai_cold = $12-01-02-0041.description
|
||
|
||
Var menu_name_eng_blender = $##-##-##-####.NameE
|
||
Var menu_desc_eng_blender = $##-##-##-####.descriptionE
|
||
Var menu_name_thai_blender = $##-##-##-####.Name
|
||
Var menu_desc_thai_blender = $##-##-##-####.description
|
||
|
||
DEBUGVAR PD_STAGE_1
|
||
DEBUGVAR PD_STAGE_2
|
||
DEBUGVAR PD_STAGE_3
|
||
Var SelectDrinkType = 0
|
||
|
||
|
||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
||
|
||
</EventOnClick>
|
||
</Button>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 164 </Y>
|
||
<Size> 24 </Size>
|
||
<Width>220</Width>
|
||
<Mode> "multi2" </Mode>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x322B26 </Color>
|
||
<State> showthaiText </State>
|
||
<Value> "โซดากาโน่" </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 220 </Y>
|
||
<Size> 14 </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<State> showthaiText </State>
|
||
<Value> "กาแฟ และ โซดา" </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 164 </Y>
|
||
<Size> 22 </Size>
|
||
<Width>220</Width>
|
||
<Mode> "multi2" </Mode>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x322B26 </Color>
|
||
<State> showengText </State>
|
||
<Value> "Sodacano" </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> "Espresso & Soda" </Value>
|
||
</Text>
|
||
<Image>
|
||
<X> 16 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "option_deactive.png" ) </Filename>
|
||
</Image>
|
||
<Image>
|
||
<X> 16 </X>
|
||
<Y> 264 </Y>
|
||
<State> "Invisible" </State>
|
||
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
|
||
</Image>
|
||
<Text>
|
||
<X> 50 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> "Invisible" </State>
|
||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
||
<State> $12-01-02-0041.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-01-02-0041.Button </State>
|
||
<Value> StringFmt( $12-01-02-0041.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 146 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||
<State> "Invisible" </State>
|
||
</Image>
|
||
<Text>
|
||
<X> 180 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitRegularTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> "Invisible" </State>
|
||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<State>
|
||
eval(
|
||
If ICE_PROCESS_STATUS = 2 Then
|
||
|
||
Var ice_tab_process_show = "Invisible"
|
||
|
||
Else
|
||
Var ice_tab_process_show = "Invisible"
|
||
EndIf
|
||
Var return = ice_tab_process_show
|
||
)
|
||
</State>
|
||
<Filename> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </Filename>
|
||
<FilenameDisable> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </FilenameDisable>
|
||
</Image>
|
||
<Image>
|
||
<X> 49 </X>
|
||
<Y> 117 </Y>
|
||
<State>
|
||
eval(
|
||
If $Sum1201020041 = "Disable" Then
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||
STRCONTAIN "ERR" $12-01-02-0041.TAG tag2_is_disable
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||
Var return = "Invisible"
|
||
If tag1_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag2_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag3_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
Else
|
||
Var return = "Invisible"
|
||
EndIf
|
||
)
|
||
</State>
|
||
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
||
</Image>
|
||
<Text>
|
||
<X> 84 </X>
|
||
<Y> 266 </Y>
|
||
<Size> 10 </Size>
|
||
<Font> OpunMediumTTF </Font>
|
||
<Color> 0xDE794E </Color>
|
||
<State> ice_tab_process_show </State>
|
||
<Value> ice_show_open </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 48 </X>
|
||
<Y> 116 </Y>
|
||
<Size> 32 </Size>
|
||
<Width>128</Width>
|
||
<Height>64</Height>
|
||
<Font> MITRegularTTF </Font>
|
||
<Color> 0x5A5A5A </Color>
|
||
<Mode> "disable-show" </Mode>
|
||
<State> $Sum1201020041 </State>
|
||
<Value> text_unavailable </Value>
|
||
<Align> center-vertical-horizontal </Align>
|
||
</Text>
|
||
</Block>
|
||
; - 12-21-02-0041 -
|
||
<Block>
|
||
<MarginLeft> 33 </MarginLeft>
|
||
<MarginTop> 22 </MarginTop>
|
||
<Width> 225 </Width>
|
||
<Height> 296 </Height>
|
||
<State> Flag( 12-21-02-0041.Button,$Sum1221020041) </State>
|
||
<Button>
|
||
<State> $Sum1221020041 </State>
|
||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_americano_soda.png" </Filename>
|
||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_iced_americano_soda.png" </FilenamePress>
|
||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_iced_americano_soda.png" </FilenameDisable>
|
||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||
<Volume> SoundVolume </Volume>
|
||
<OverlayImage> xmlpro( 12-21-02-0041, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||
<EventOnClick>
|
||
Var NameDrink = "Sodacano"
|
||
Var NameDrinkTH = "โซดากาโน่"
|
||
Var DrinkDescriptionTH = "กาแฟ และ โซดา"
|
||
Var DrinkDescription = "Espresso & Soda"
|
||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_iced_americano_soda.png"
|
||
Var OpenFromXML = CurrentXMLFileName2
|
||
Var PriceD1 = $-.Price
|
||
Var PriceD2 = $12-21-02-0041.Price
|
||
Var PriceD3 = $-.Price
|
||
Var PD_CODE1 = "##-##-##-####"
|
||
Var PD_CODE2 = "12-21-02-0041"
|
||
Var PD_CODE3 = "##-##-##-####"
|
||
Var PD_STAGE_1 = "Disable2"
|
||
Var PD_STAGE_2 = $12-21-02-0041.Button
|
||
Var PD_STAGE_3 = "Disable2"
|
||
Var OverlayMenuFilter !assigned xmlpro( 12-21-02-0041, "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-21-02-0041"
|
||
Else
|
||
If PD_STAGE_1 = "Enable" Then
|
||
Topping "Load" "-"
|
||
Else
|
||
Topping "Load" "-"
|
||
EndIf
|
||
EndIf
|
||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
||
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
||
Var menu_name_thai_hot = $##-##-##-####.Name
|
||
Var menu_desc_thai_hot = $##-##-##-####.description
|
||
|
||
Var menu_name_eng_cold = $12-21-02-0041.NameE
|
||
Var menu_desc_eng_cold = $12-21-02-0041.descriptionE
|
||
Var menu_name_thai_cold = $12-21-02-0041.Name
|
||
Var menu_desc_thai_cold = $12-21-02-0041.description
|
||
|
||
Var menu_name_eng_blender = $##-##-##-####.NameE
|
||
Var menu_desc_eng_blender = $##-##-##-####.descriptionE
|
||
Var menu_name_thai_blender = $##-##-##-####.Name
|
||
Var menu_desc_thai_blender = $##-##-##-####.description
|
||
|
||
DEBUGVAR PD_STAGE_1
|
||
DEBUGVAR PD_STAGE_2
|
||
DEBUGVAR PD_STAGE_3
|
||
Var SelectDrinkType = 0
|
||
|
||
|
||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
||
|
||
</EventOnClick>
|
||
</Button>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 164 </Y>
|
||
<Size> 24 </Size>
|
||
<Width>220</Width>
|
||
<Mode> "multi2" </Mode>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x322B26 </Color>
|
||
<State> showthaiText </State>
|
||
<Value> "โซดากาโน่" </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 220 </Y>
|
||
<Size> 14 </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<State> showthaiText </State>
|
||
<Value> "กาแฟ และ โซดา" </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 164 </Y>
|
||
<Size> 22 </Size>
|
||
<Width>220</Width>
|
||
<Mode> "multi2" </Mode>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x322B26 </Color>
|
||
<State> showengText </State>
|
||
<Value> "Sodacano" </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> "Espresso & Soda" </Value>
|
||
</Text>
|
||
<Image>
|
||
<X> 16 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "option_deactive.png" ) </Filename>
|
||
</Image>
|
||
<Image>
|
||
<X> 16 </X>
|
||
<Y> 264 </Y>
|
||
<State> "Invisible" </State>
|
||
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
|
||
</Image>
|
||
<Text>
|
||
<X> 50 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> "Invisible" </State>
|
||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
||
<State> $12-21-02-0041.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-21-02-0041.Button </State>
|
||
<Value> StringFmt( $12-21-02-0041.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 146 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||
<State> "Invisible" </State>
|
||
</Image>
|
||
<Text>
|
||
<X> 183 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> "Invisible" </State>
|
||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<State>
|
||
eval(
|
||
If ICE_PROCESS_STATUS = 2 Then
|
||
|
||
Var ice_tab_process_show = "Invisible"
|
||
|
||
Else
|
||
Var ice_tab_process_show = "Invisible"
|
||
EndIf
|
||
Var return = ice_tab_process_show
|
||
)
|
||
</State>
|
||
<Filename> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </Filename>
|
||
<FilenameDisable> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </FilenameDisable>
|
||
</Image>
|
||
<Image>
|
||
<X> 49 </X>
|
||
<Y> 117 </Y>
|
||
<State>
|
||
eval(
|
||
If $Sum1221020041 = "Disable" Then
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||
STRCONTAIN "ERR" $12-21-02-0041.TAG tag2_is_disable
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||
Var return = "Invisible"
|
||
If tag1_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag2_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag3_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
Else
|
||
Var return = "Invisible"
|
||
EndIf
|
||
)
|
||
</State>
|
||
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
||
</Image>
|
||
<Text>
|
||
<X> 84 </X>
|
||
<Y> 266 </Y>
|
||
<Size> 10 </Size>
|
||
<Font> OpunMediumTTF </Font>
|
||
<Color> 0xDE794E </Color>
|
||
<State> ice_tab_process_show </State>
|
||
<Value> ice_show_open </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 48 </X>
|
||
<Y> 116 </Y>
|
||
<Size> 32 </Size>
|
||
<Width>128</Width>
|
||
<Height>64</Height>
|
||
<Font> MITRegularTTF </Font>
|
||
<Color> 0x5A5A5A </Color>
|
||
<Mode> "disable-show" </Mode>
|
||
<State> $Sum1221020041 </State>
|
||
<Value> text_unavailable </Value>
|
||
<Align> center-vertical-horizontal </Align>
|
||
</Text>
|
||
</Block>
|
||
; ==================> Len = 21
|
||
; 12-01-01-0014 12-01-02-0011 -
|
||
<Block>
|
||
<MarginLeft> 33 </MarginLeft>
|
||
<MarginTop> 22 </MarginTop>
|
||
<Width> 225 </Width>
|
||
<Height> 296 </Height>
|
||
<State> Flag( 12-01-01-0014.Button,12-01-02-0011.Button,$Sum12010100141201020011) </State>
|
||
<Button>
|
||
<State> $Sum12010100141201020011 </State>
|
||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_americano_light.png" </Filename>
|
||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_americano_light.png" </FilenamePress>
|
||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_americano_light.png" </FilenameDisable>
|
||
<OverlayImage> xmlpro( 12-01-01-0014, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi2.png") </OverlayImage>
|
||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||
<Volume> SoundVolume </Volume>
|
||
<EventOnClick>
|
||
Var NameDrink = "Americano Ethiopia Guji"
|
||
Var NameDrinkTH = "อเมริกาโน Guji Queen Berry"
|
||
Var DrinkDescriptionTH = "กาแฟคั่วอ่อน (natural process) หอมสตรอว์เบอร์รี ส้ม และดอกไม้"
|
||
Var DrinkDescription = "Light Roast Natural Process: strawberry, Orange, Floral"
|
||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_americano_light.png"
|
||
Var OpenFromXML = CurrentXMLFileName2
|
||
Var PriceD1 = $12-01-01-0014.Price
|
||
Var PriceD2 = $12-01-02-0011.Price
|
||
Var PriceD3 = $-.Price
|
||
Var PD_CODE1 = "12-01-01-0014"
|
||
Var PD_CODE2 = "12-01-02-0011"
|
||
Var PD_CODE3 = "##-##-##-####"
|
||
Var PD_STAGE_1 = $12-01-01-0014.Button
|
||
Var PD_STAGE_2 = $12-01-02-0011.Button
|
||
Var PD_STAGE_3 = "Disable2"
|
||
Var OverlayMenuFilter !assigned xmlpro( 12-01-01-0014, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi2.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-01-02-0011"
|
||
Else
|
||
If PD_STAGE_1 = "Enable" Then
|
||
Topping "Load" "12-01-01-0014"
|
||
Else
|
||
Topping "Load" "-"
|
||
EndIf
|
||
EndIf
|
||
Var menu_name_eng_hot = $12-01-01-0014.NameE
|
||
Var menu_desc_eng_hot = $12-01-01-0014.descriptionE
|
||
Var menu_name_thai_hot = $12-01-01-0014.Name
|
||
Var menu_desc_thai_hot = $12-01-01-0014.description
|
||
|
||
Var menu_name_eng_cold = $12-01-02-0011.NameE
|
||
Var menu_desc_eng_cold = $12-01-02-0011.descriptionE
|
||
Var menu_name_thai_cold = $12-01-02-0011.Name
|
||
Var menu_desc_thai_cold = $12-01-02-0011.description
|
||
|
||
Var menu_name_eng_blender = $##-##-##-####.NameE
|
||
Var menu_desc_eng_blender = $##-##-##-####.descriptionE
|
||
Var menu_name_thai_blender = $##-##-##-####.Name
|
||
Var menu_desc_thai_blender = $##-##-##-####.description
|
||
|
||
DEBUGVAR PD_STAGE_1
|
||
DEBUGVAR PD_STAGE_2
|
||
DEBUGVAR PD_STAGE_3
|
||
Var SelectDrinkType = 0
|
||
|
||
|
||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
||
|
||
</EventOnClick>
|
||
</Button>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 164 </Y>
|
||
<Size> 24 </Size>
|
||
<Width>220</Width>
|
||
<Mode> "multi2" </Mode>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x322B26 </Color>
|
||
<State> showthaiText </State>
|
||
<Value> "อเมริกาโน
|
||
Guji Queen Berry" </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> "กาแฟคั่วอ่อน (natural process)
|
||
หอมสตรอว์เบอร์รี ส้ม และดอกไม้" </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> "Americano
|
||
Ethiopia Guji" </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> "Light Roast Natural Process:
|
||
strawberry, Orange, Floral" </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-01-01-0014.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-01-01-0014.Button </State>
|
||
<Value> StringFmt( $12-01-01-0014.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-01-02-0011.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-01-02-0011.Button </State>
|
||
<Value> StringFmt( $12-01-02-0011.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 146 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||
<State> "Invisible" </State>
|
||
</Image>
|
||
<Text>
|
||
<X> 180 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitRegularTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> "Invisible" </State>
|
||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<State>
|
||
eval(
|
||
If ICE_PROCESS_STATUS = 2 Then
|
||
|
||
If $Sum12010100141201020011 = "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 $Sum12010100141201020011 = "Disable" Then
|
||
STRCONTAIN "ERR" $12-01-01-0014.TAG tag1_is_disable
|
||
STRCONTAIN "ERR" $12-01-02-0011.TAG tag2_is_disable
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||
Var return = "Invisible"
|
||
If tag1_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag2_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag3_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
Else
|
||
Var return = "Invisible"
|
||
EndIf
|
||
)
|
||
</State>
|
||
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
||
</Image>
|
||
<Text>
|
||
<X> 84 </X>
|
||
<Y> 266 </Y>
|
||
<Size> 10 </Size>
|
||
<Font> OpunMediumTTF </Font>
|
||
<Color> 0xDE794E </Color>
|
||
<State> ice_tab_process_show </State>
|
||
<Value> ice_show_open </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 48 </X>
|
||
<Y> 116 </Y>
|
||
<Size> 32 </Size>
|
||
<Width>128</Width>
|
||
<Height>64</Height>
|
||
<Font> MITRegularTTF </Font>
|
||
<Color> 0x5A5A5A </Color>
|
||
<Mode> "disable-show" </Mode>
|
||
<State> $Sum12010100141201020011 </State>
|
||
<Value> text_unavailable </Value>
|
||
<Align> center-vertical-horizontal </Align>
|
||
</Text>
|
||
</Block>
|
||
; - - -
|
||
; ==================> Len = 21
|
||
; 12-01-01-0019 12-01-02-0019 -
|
||
<Block>
|
||
<MarginLeft> 33 </MarginLeft>
|
||
<MarginTop> 22 </MarginTop>
|
||
<Width> 225 </Width>
|
||
<Height> 296 </Height>
|
||
<State> Flag( 12-01-01-0019.Button,12-01-02-0019.Button,$Sum12010100191201020019) </State>
|
||
<Button>
|
||
<State> $Sum12010100191201020019 </State>
|
||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_americano_light_bluedaddy.png" </Filename>
|
||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_americano_light_bluedaddy.png" </FilenamePress>
|
||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_americano_light_bluedaddy.png" </FilenameDisable>
|
||
<OverlayImage> xmlpro( 12-01-01-0019, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi2.png") </OverlayImage>
|
||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||
<Volume> SoundVolume </Volume>
|
||
<EventOnClick>
|
||
Var NameDrink = "Blue Daddy Americano"
|
||
Var NameDrinkTH = "อเมริกาโน Blue Daddy"
|
||
Var DrinkDescriptionTH = "Washed process หอมบลูเบอร์รี และดอกไม้"
|
||
Var DrinkDescription = "Washed Process note: Blue Berry & Floral"
|
||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_americano_light_bluedaddy.png"
|
||
Var OpenFromXML = CurrentXMLFileName2
|
||
Var PriceD1 = $12-01-01-0019.Price
|
||
Var PriceD2 = $12-01-02-0019.Price
|
||
Var PriceD3 = $-.Price
|
||
Var PD_CODE1 = "12-01-01-0019"
|
||
Var PD_CODE2 = "12-01-02-0019"
|
||
Var PD_CODE3 = "##-##-##-####"
|
||
Var PD_STAGE_1 = $12-01-01-0019.Button
|
||
Var PD_STAGE_2 = $12-01-02-0019.Button
|
||
Var PD_STAGE_3 = "Disable2"
|
||
Var OverlayMenuFilter !assigned xmlpro( 12-01-01-0019, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi2.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-01-02-0019"
|
||
Else
|
||
If PD_STAGE_1 = "Enable" Then
|
||
Topping "Load" "12-01-01-0019"
|
||
Else
|
||
Topping "Load" "-"
|
||
EndIf
|
||
EndIf
|
||
Var menu_name_eng_hot = $12-01-01-0019.NameE
|
||
Var menu_desc_eng_hot = $12-01-01-0019.descriptionE
|
||
Var menu_name_thai_hot = $12-01-01-0019.Name
|
||
Var menu_desc_thai_hot = $12-01-01-0019.description
|
||
|
||
Var menu_name_eng_cold = $12-01-02-0019.NameE
|
||
Var menu_desc_eng_cold = $12-01-02-0019.descriptionE
|
||
Var menu_name_thai_cold = $12-01-02-0019.Name
|
||
Var menu_desc_thai_cold = $12-01-02-0019.description
|
||
|
||
Var menu_name_eng_blender = $##-##-##-####.NameE
|
||
Var menu_desc_eng_blender = $##-##-##-####.descriptionE
|
||
Var menu_name_thai_blender = $##-##-##-####.Name
|
||
Var menu_desc_thai_blender = $##-##-##-####.description
|
||
|
||
DEBUGVAR PD_STAGE_1
|
||
DEBUGVAR PD_STAGE_2
|
||
DEBUGVAR PD_STAGE_3
|
||
Var SelectDrinkType = 0
|
||
|
||
|
||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
||
|
||
</EventOnClick>
|
||
</Button>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 164 </Y>
|
||
<Size> 24 </Size>
|
||
<Width>220</Width>
|
||
<Mode> "multi2" </Mode>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x322B26 </Color>
|
||
<State> showthaiText </State>
|
||
<Value> "อเมริกาโน
|
||
Blue Daddy" </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> "Washed process
|
||
หอมบลูเบอร์รี และดอกไม้" </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> "Blue Daddy
|
||
Americano" </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> "Washed Process
|
||
note: Blue Berry & Floral" </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-01-01-0019.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-01-01-0019.Button </State>
|
||
<Value> StringFmt( $12-01-01-0019.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-01-02-0019.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-01-02-0019.Button </State>
|
||
<Value> StringFmt( $12-01-02-0019.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 146 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||
<State> "Invisible" </State>
|
||
</Image>
|
||
<Text>
|
||
<X> 180 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitRegularTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> "Invisible" </State>
|
||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<State>
|
||
eval(
|
||
If ICE_PROCESS_STATUS = 2 Then
|
||
|
||
If $Sum12010100191201020019 = "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 $Sum12010100191201020019 = "Disable" Then
|
||
STRCONTAIN "ERR" $12-01-01-0019.TAG tag1_is_disable
|
||
STRCONTAIN "ERR" $12-01-02-0019.TAG tag2_is_disable
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||
Var return = "Invisible"
|
||
If tag1_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag2_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag3_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
Else
|
||
Var return = "Invisible"
|
||
EndIf
|
||
)
|
||
</State>
|
||
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
||
</Image>
|
||
<Text>
|
||
<X> 84 </X>
|
||
<Y> 266 </Y>
|
||
<Size> 10 </Size>
|
||
<Font> OpunMediumTTF </Font>
|
||
<Color> 0xDE794E </Color>
|
||
<State> ice_tab_process_show </State>
|
||
<Value> ice_show_open </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 48 </X>
|
||
<Y> 116 </Y>
|
||
<Size> 32 </Size>
|
||
<Width>128</Width>
|
||
<Height>64</Height>
|
||
<Font> MITRegularTTF </Font>
|
||
<Color> 0x5A5A5A </Color>
|
||
<Mode> "disable-show" </Mode>
|
||
<State> $Sum12010100191201020019 </State>
|
||
<Value> text_unavailable </Value>
|
||
<Align> center-vertical-horizontal </Align>
|
||
</Text>
|
||
</Block>
|
||
; - - -
|
||
; ==================> Len = 21
|
||
; 12-01-01-0044 12-01-02-0044 -
|
||
<Block>
|
||
<MarginLeft> 33 </MarginLeft>
|
||
<MarginTop> 22 </MarginTop>
|
||
<Width> 225 </Width>
|
||
<Height> 296 </Height>
|
||
<State> Flag( 12-01-01-0044.Button,12-01-02-0044.Button,$Sum12010100441201020044) </State>
|
||
<Button>
|
||
<State> $Sum12010100441201020044 </State>
|
||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_americano_light_chopin.png" </Filename>
|
||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_americano_light_chopin.png" </FilenamePress>
|
||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_americano_light_chopin.png" </FilenameDisable>
|
||
<OverlayImage> xmlpro( 12-01-01-0044, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi2.png") </OverlayImage>
|
||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||
<Volume> SoundVolume </Volume>
|
||
<EventOnClick>
|
||
Var NameDrink = "Chopin Americano"
|
||
Var NameDrinkTH = "อเมริกาโน Chopin"
|
||
Var DrinkDescriptionTH = "Raisin Honey process หอมสตรอว์เบอร์รี กุหลาบ มะลิ"
|
||
Var DrinkDescription = "Raisin Honey Process note: Strawberry & Floral"
|
||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_americano_light_chopin.png"
|
||
Var OpenFromXML = CurrentXMLFileName2
|
||
Var PriceD1 = $12-01-01-0044.Price
|
||
Var PriceD2 = $12-01-02-0044.Price
|
||
Var PriceD3 = $-.Price
|
||
Var PD_CODE1 = "12-01-01-0044"
|
||
Var PD_CODE2 = "12-01-02-0044"
|
||
Var PD_CODE3 = "##-##-##-####"
|
||
Var PD_STAGE_1 = $12-01-01-0044.Button
|
||
Var PD_STAGE_2 = $12-01-02-0044.Button
|
||
Var PD_STAGE_3 = "Disable2"
|
||
Var OverlayMenuFilter !assigned xmlpro( 12-01-01-0044, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi2.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-01-02-0044"
|
||
Else
|
||
If PD_STAGE_1 = "Enable" Then
|
||
Topping "Load" "12-01-01-0044"
|
||
Else
|
||
Topping "Load" "-"
|
||
EndIf
|
||
EndIf
|
||
Var menu_name_eng_hot = $12-01-01-0044.NameE
|
||
Var menu_desc_eng_hot = $12-01-01-0044.descriptionE
|
||
Var menu_name_thai_hot = $12-01-01-0044.Name
|
||
Var menu_desc_thai_hot = $12-01-01-0044.description
|
||
|
||
Var menu_name_eng_cold = $12-01-02-0044.NameE
|
||
Var menu_desc_eng_cold = $12-01-02-0044.descriptionE
|
||
Var menu_name_thai_cold = $12-01-02-0044.Name
|
||
Var menu_desc_thai_cold = $12-01-02-0044.description
|
||
|
||
Var menu_name_eng_blender = $##-##-##-####.NameE
|
||
Var menu_desc_eng_blender = $##-##-##-####.descriptionE
|
||
Var menu_name_thai_blender = $##-##-##-####.Name
|
||
Var menu_desc_thai_blender = $##-##-##-####.description
|
||
|
||
DEBUGVAR PD_STAGE_1
|
||
DEBUGVAR PD_STAGE_2
|
||
DEBUGVAR PD_STAGE_3
|
||
Var SelectDrinkType = 0
|
||
|
||
|
||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
||
|
||
</EventOnClick>
|
||
</Button>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 164 </Y>
|
||
<Size> 24 </Size>
|
||
<Width>220</Width>
|
||
<Mode> "multi2" </Mode>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x322B26 </Color>
|
||
<State> showthaiText </State>
|
||
<Value> "อเมริกาโน
|
||
Chopin" </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> "Raisin Honey process
|
||
หอมสตรอว์เบอร์รี กุหลาบ มะลิ" </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> "Chopin
|
||
Americano" </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> "Raisin Honey Process
|
||
note: Strawberry & Floral" </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-01-01-0044.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-01-01-0044.Button </State>
|
||
<Value> StringFmt( $12-01-01-0044.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-01-02-0044.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-01-02-0044.Button </State>
|
||
<Value> StringFmt( $12-01-02-0044.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 146 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||
<State> "Invisible" </State>
|
||
</Image>
|
||
<Text>
|
||
<X> 180 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitRegularTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> "Invisible" </State>
|
||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<State>
|
||
eval(
|
||
If ICE_PROCESS_STATUS = 2 Then
|
||
|
||
If $Sum12010100441201020044 = "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 $Sum12010100441201020044 = "Disable" Then
|
||
STRCONTAIN "ERR" $12-01-01-0044.TAG tag1_is_disable
|
||
STRCONTAIN "ERR" $12-01-02-0044.TAG tag2_is_disable
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||
Var return = "Invisible"
|
||
If tag1_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag2_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag3_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
Else
|
||
Var return = "Invisible"
|
||
EndIf
|
||
)
|
||
</State>
|
||
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
||
</Image>
|
||
<Text>
|
||
<X> 84 </X>
|
||
<Y> 266 </Y>
|
||
<Size> 10 </Size>
|
||
<Font> OpunMediumTTF </Font>
|
||
<Color> 0xDE794E </Color>
|
||
<State> ice_tab_process_show </State>
|
||
<Value> ice_show_open </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 48 </X>
|
||
<Y> 116 </Y>
|
||
<Size> 32 </Size>
|
||
<Width>128</Width>
|
||
<Height>64</Height>
|
||
<Font> MITRegularTTF </Font>
|
||
<Color> 0x5A5A5A </Color>
|
||
<Mode> "disable-show" </Mode>
|
||
<State> $Sum12010100441201020044 </State>
|
||
<Value> text_unavailable </Value>
|
||
<Align> center-vertical-horizontal </Align>
|
||
</Text>
|
||
</Block>
|
||
; - - -
|
||
; ==================> Len = 21
|
||
; 12-01-01-0047 12-01-02-0047 -
|
||
<Block>
|
||
<MarginLeft> 33 </MarginLeft>
|
||
<MarginTop> 22 </MarginTop>
|
||
<Width> 225 </Width>
|
||
<Height> 296 </Height>
|
||
<State> Flag( 12-01-01-0047.Button,12-01-02-0047.Button,$Sum12010100471201020047) </State>
|
||
<Button>
|
||
<State> $Sum12010100471201020047 </State>
|
||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_americano_light_Mandarine.png" </Filename>
|
||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_americano_light_Mandarine.png" </FilenamePress>
|
||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_americano_light_Mandarine.png" </FilenameDisable>
|
||
<OverlayImage> xmlpro( 12-01-01-0047, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi2.png") </OverlayImage>
|
||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||
<Volume> SoundVolume </Volume>
|
||
<EventOnClick>
|
||
Var NameDrink = "Mandarine Americano"
|
||
Var NameDrinkTH = "อเมริกาโน Mandarine"
|
||
Var DrinkDescriptionTH = "กาแฟคั่วอ่อน โน๊ต: ดอกส้ม น้ำผึ้ง คาราเมล ช็อกโกแล็ต"
|
||
Var DrinkDescription = "Light Roast. Note: Orange Blossom, Honey, Caramel, Chocolate Bar."
|
||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_americano_light_Mandarine.png"
|
||
Var OpenFromXML = CurrentXMLFileName2
|
||
Var PriceD1 = $12-01-01-0047.Price
|
||
Var PriceD2 = $12-01-02-0047.Price
|
||
Var PriceD3 = $-.Price
|
||
Var PD_CODE1 = "12-01-01-0047"
|
||
Var PD_CODE2 = "12-01-02-0047"
|
||
Var PD_CODE3 = "##-##-##-####"
|
||
Var PD_STAGE_1 = $12-01-01-0047.Button
|
||
Var PD_STAGE_2 = $12-01-02-0047.Button
|
||
Var PD_STAGE_3 = "Disable2"
|
||
Var OverlayMenuFilter !assigned xmlpro( 12-01-01-0047, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi2.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-01-02-0047"
|
||
Else
|
||
If PD_STAGE_1 = "Enable" Then
|
||
Topping "Load" "12-01-01-0047"
|
||
Else
|
||
Topping "Load" "-"
|
||
EndIf
|
||
EndIf
|
||
Var menu_name_eng_hot = $12-01-01-0047.NameE
|
||
Var menu_desc_eng_hot = $12-01-01-0047.descriptionE
|
||
Var menu_name_thai_hot = $12-01-01-0047.Name
|
||
Var menu_desc_thai_hot = $12-01-01-0047.description
|
||
|
||
Var menu_name_eng_cold = $12-01-02-0047.NameE
|
||
Var menu_desc_eng_cold = $12-01-02-0047.descriptionE
|
||
Var menu_name_thai_cold = $12-01-02-0047.Name
|
||
Var menu_desc_thai_cold = $12-01-02-0047.description
|
||
|
||
Var menu_name_eng_blender = $##-##-##-####.NameE
|
||
Var menu_desc_eng_blender = $##-##-##-####.descriptionE
|
||
Var menu_name_thai_blender = $##-##-##-####.Name
|
||
Var menu_desc_thai_blender = $##-##-##-####.description
|
||
|
||
DEBUGVAR PD_STAGE_1
|
||
DEBUGVAR PD_STAGE_2
|
||
DEBUGVAR PD_STAGE_3
|
||
Var SelectDrinkType = 0
|
||
|
||
|
||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
||
|
||
</EventOnClick>
|
||
</Button>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 164 </Y>
|
||
<Size> 24 </Size>
|
||
<Width>220</Width>
|
||
<Mode> "multi2" </Mode>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x322B26 </Color>
|
||
<State> showthaiText </State>
|
||
<Value> "อเมริกาโน
|
||
Mandarine" </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> "Mandarine
|
||
Americano" </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> "Light Roast. Note: Orange Blossom, Honey, Caramel, Chocolate Bar." </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-01-01-0047.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-01-01-0047.Button </State>
|
||
<Value> StringFmt( $12-01-01-0047.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-01-02-0047.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-01-02-0047.Button </State>
|
||
<Value> StringFmt( $12-01-02-0047.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 146 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||
<State> "Invisible" </State>
|
||
</Image>
|
||
<Text>
|
||
<X> 180 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitRegularTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> "Invisible" </State>
|
||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<State>
|
||
eval(
|
||
If ICE_PROCESS_STATUS = 2 Then
|
||
|
||
If $Sum12010100471201020047 = "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 $Sum12010100471201020047 = "Disable" Then
|
||
STRCONTAIN "ERR" $12-01-01-0047.TAG tag1_is_disable
|
||
STRCONTAIN "ERR" $12-01-02-0047.TAG tag2_is_disable
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||
Var return = "Invisible"
|
||
If tag1_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag2_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag3_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
Else
|
||
Var return = "Invisible"
|
||
EndIf
|
||
)
|
||
</State>
|
||
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
||
</Image>
|
||
<Text>
|
||
<X> 84 </X>
|
||
<Y> 266 </Y>
|
||
<Size> 10 </Size>
|
||
<Font> OpunMediumTTF </Font>
|
||
<Color> 0xDE794E </Color>
|
||
<State> ice_tab_process_show </State>
|
||
<Value> ice_show_open </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 48 </X>
|
||
<Y> 116 </Y>
|
||
<Size> 32 </Size>
|
||
<Width>128</Width>
|
||
<Height>64</Height>
|
||
<Font> MITRegularTTF </Font>
|
||
<Color> 0x5A5A5A </Color>
|
||
<Mode> "disable-show" </Mode>
|
||
<State> $Sum12010100471201020047 </State>
|
||
<Value> text_unavailable </Value>
|
||
<Align> center-vertical-horizontal </Align>
|
||
</Text>
|
||
</Block>
|
||
; - - -
|
||
; ==================> Len = 21
|
||
; 12-01-01-0021 12-01-02-0021 -
|
||
<Block>
|
||
<MarginLeft> 33 </MarginLeft>
|
||
<MarginTop> 22 </MarginTop>
|
||
<Width> 225 </Width>
|
||
<Height> 296 </Height>
|
||
<State> Flag( 12-01-01-0021.Button,12-01-02-0021.Button,$Sum12010100211201020021) </State>
|
||
<Button>
|
||
<State> $Sum12010100211201020021 </State>
|
||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_americano_light_mozart.png" </Filename>
|
||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_americano_light_mozart.png" </FilenamePress>
|
||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_americano_light_mozart.png" </FilenameDisable>
|
||
<OverlayImage> xmlpro( 12-01-01-0021, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi2.png") </OverlayImage>
|
||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||
<Volume> SoundVolume </Volume>
|
||
<EventOnClick>
|
||
Var NameDrink = "Mozart Americano"
|
||
Var NameDrinkTH = "อเมริกาโน Mozart"
|
||
Var DrinkDescriptionTH = "Raisin Honey process หอมสตรอว์เบอร์รี กุหลาบ มะลิ"
|
||
Var DrinkDescription = "Raisin Honey Process note: Strawberry & Floral"
|
||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_americano_light_mozart.png"
|
||
Var OpenFromXML = CurrentXMLFileName2
|
||
Var PriceD1 = $12-01-01-0021.Price
|
||
Var PriceD2 = $12-01-02-0021.Price
|
||
Var PriceD3 = $-.Price
|
||
Var PD_CODE1 = "12-01-01-0021"
|
||
Var PD_CODE2 = "12-01-02-0021"
|
||
Var PD_CODE3 = "##-##-##-####"
|
||
Var PD_STAGE_1 = $12-01-01-0021.Button
|
||
Var PD_STAGE_2 = $12-01-02-0021.Button
|
||
Var PD_STAGE_3 = "Disable2"
|
||
Var OverlayMenuFilter !assigned xmlpro( 12-01-01-0021, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi2.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-01-02-0021"
|
||
Else
|
||
If PD_STAGE_1 = "Enable" Then
|
||
Topping "Load" "12-01-01-0021"
|
||
Else
|
||
Topping "Load" "-"
|
||
EndIf
|
||
EndIf
|
||
Var menu_name_eng_hot = $12-01-01-0021.NameE
|
||
Var menu_desc_eng_hot = $12-01-01-0021.descriptionE
|
||
Var menu_name_thai_hot = $12-01-01-0021.Name
|
||
Var menu_desc_thai_hot = $12-01-01-0021.description
|
||
|
||
Var menu_name_eng_cold = $12-01-02-0021.NameE
|
||
Var menu_desc_eng_cold = $12-01-02-0021.descriptionE
|
||
Var menu_name_thai_cold = $12-01-02-0021.Name
|
||
Var menu_desc_thai_cold = $12-01-02-0021.description
|
||
|
||
Var menu_name_eng_blender = $##-##-##-####.NameE
|
||
Var menu_desc_eng_blender = $##-##-##-####.descriptionE
|
||
Var menu_name_thai_blender = $##-##-##-####.Name
|
||
Var menu_desc_thai_blender = $##-##-##-####.description
|
||
|
||
DEBUGVAR PD_STAGE_1
|
||
DEBUGVAR PD_STAGE_2
|
||
DEBUGVAR PD_STAGE_3
|
||
Var SelectDrinkType = 0
|
||
|
||
|
||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
||
|
||
</EventOnClick>
|
||
</Button>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 164 </Y>
|
||
<Size> 24 </Size>
|
||
<Width>220</Width>
|
||
<Mode> "multi2" </Mode>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x322B26 </Color>
|
||
<State> showthaiText </State>
|
||
<Value> "อเมริกาโน
|
||
Mozart" </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> "Raisin Honey process
|
||
หอมสตรอว์เบอร์รี กุหลาบ มะลิ" </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> "Mozart
|
||
Americano" </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> "Raisin Honey Process
|
||
note: Strawberry & Floral" </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-01-01-0021.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-01-01-0021.Button </State>
|
||
<Value> StringFmt( $12-01-01-0021.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-01-02-0021.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-01-02-0021.Button </State>
|
||
<Value> StringFmt( $12-01-02-0021.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 146 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||
<State> "Invisible" </State>
|
||
</Image>
|
||
<Text>
|
||
<X> 180 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitRegularTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> "Invisible" </State>
|
||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<State>
|
||
eval(
|
||
If ICE_PROCESS_STATUS = 2 Then
|
||
|
||
If $Sum12010100211201020021 = "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 $Sum12010100211201020021 = "Disable" Then
|
||
STRCONTAIN "ERR" $12-01-01-0021.TAG tag1_is_disable
|
||
STRCONTAIN "ERR" $12-01-02-0021.TAG tag2_is_disable
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||
Var return = "Invisible"
|
||
If tag1_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag2_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag3_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
Else
|
||
Var return = "Invisible"
|
||
EndIf
|
||
)
|
||
</State>
|
||
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
||
</Image>
|
||
<Text>
|
||
<X> 84 </X>
|
||
<Y> 266 </Y>
|
||
<Size> 10 </Size>
|
||
<Font> OpunMediumTTF </Font>
|
||
<Color> 0xDE794E </Color>
|
||
<State> ice_tab_process_show </State>
|
||
<Value> ice_show_open </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 48 </X>
|
||
<Y> 116 </Y>
|
||
<Size> 32 </Size>
|
||
<Width>128</Width>
|
||
<Height>64</Height>
|
||
<Font> MITRegularTTF </Font>
|
||
<Color> 0x5A5A5A </Color>
|
||
<Mode> "disable-show" </Mode>
|
||
<State> $Sum12010100211201020021 </State>
|
||
<Value> text_unavailable </Value>
|
||
<Align> center-vertical-horizontal </Align>
|
||
</Text>
|
||
</Block>
|
||
; - - -
|
||
; ==================> Len = 21
|
||
; 12-01-01-0025 12-01-02-0025 -
|
||
<Block>
|
||
<MarginLeft> 33 </MarginLeft>
|
||
<MarginTop> 22 </MarginTop>
|
||
<Width> 225 </Width>
|
||
<Height> 296 </Height>
|
||
<State> Flag( 12-01-01-0025.Button,12-01-02-0025.Button,$Sum12010100251201020025) </State>
|
||
<Button>
|
||
<State> $Sum12010100251201020025 </State>
|
||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_americano_light_whiskydude.png" </Filename>
|
||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_americano_light_whiskydude.png" </FilenamePress>
|
||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_americano_light_whiskydude.png" </FilenameDisable>
|
||
<OverlayImage> xmlpro( 12-01-01-0025, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi2.png") </OverlayImage>
|
||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||
<Volume> SoundVolume </Volume>
|
||
<EventOnClick>
|
||
Var NameDrink = "Whisky Dude Americano"
|
||
Var NameDrinkTH = "อเมริกาโน Whisky Dude"
|
||
Var DrinkDescriptionTH = "Washed Sherry cask ferment หอมวิสกี้ ช็อกโกแลต วนิลา"
|
||
Var DrinkDescription = "Washed Sherry Cask Ferment note: Whisky & Vanilla"
|
||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_americano_light_whiskydude.png"
|
||
Var OpenFromXML = CurrentXMLFileName2
|
||
Var PriceD1 = $12-01-01-0025.Price
|
||
Var PriceD2 = $12-01-02-0025.Price
|
||
Var PriceD3 = $-.Price
|
||
Var PD_CODE1 = "12-01-01-0025"
|
||
Var PD_CODE2 = "12-01-02-0025"
|
||
Var PD_CODE3 = "##-##-##-####"
|
||
Var PD_STAGE_1 = $12-01-01-0025.Button
|
||
Var PD_STAGE_2 = $12-01-02-0025.Button
|
||
Var PD_STAGE_3 = "Disable2"
|
||
Var OverlayMenuFilter !assigned xmlpro( 12-01-01-0025, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi2.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-01-02-0025"
|
||
Else
|
||
If PD_STAGE_1 = "Enable" Then
|
||
Topping "Load" "12-01-01-0025"
|
||
Else
|
||
Topping "Load" "-"
|
||
EndIf
|
||
EndIf
|
||
Var menu_name_eng_hot = $12-01-01-0025.NameE
|
||
Var menu_desc_eng_hot = $12-01-01-0025.descriptionE
|
||
Var menu_name_thai_hot = $12-01-01-0025.Name
|
||
Var menu_desc_thai_hot = $12-01-01-0025.description
|
||
|
||
Var menu_name_eng_cold = $12-01-02-0025.NameE
|
||
Var menu_desc_eng_cold = $12-01-02-0025.descriptionE
|
||
Var menu_name_thai_cold = $12-01-02-0025.Name
|
||
Var menu_desc_thai_cold = $12-01-02-0025.description
|
||
|
||
Var menu_name_eng_blender = $##-##-##-####.NameE
|
||
Var menu_desc_eng_blender = $##-##-##-####.descriptionE
|
||
Var menu_name_thai_blender = $##-##-##-####.Name
|
||
Var menu_desc_thai_blender = $##-##-##-####.description
|
||
|
||
DEBUGVAR PD_STAGE_1
|
||
DEBUGVAR PD_STAGE_2
|
||
DEBUGVAR PD_STAGE_3
|
||
Var SelectDrinkType = 0
|
||
|
||
|
||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
||
|
||
</EventOnClick>
|
||
</Button>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 164 </Y>
|
||
<Size> 24 </Size>
|
||
<Width>220</Width>
|
||
<Mode> "multi2" </Mode>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x322B26 </Color>
|
||
<State> showthaiText </State>
|
||
<Value> "อเมริกาโน
|
||
Whisky Dude" </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> "Washed Sherry cask ferment
|
||
หอมวิสกี้ ช็อกโกแลต วนิลา" </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> "Whisky Dude
|
||
Americano" </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> "Washed Sherry Cask Ferment
|
||
note: Whisky & Vanilla" </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-01-01-0025.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-01-01-0025.Button </State>
|
||
<Value> StringFmt( $12-01-01-0025.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-01-02-0025.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-01-02-0025.Button </State>
|
||
<Value> StringFmt( $12-01-02-0025.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 146 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||
<State> "Invisible" </State>
|
||
</Image>
|
||
<Text>
|
||
<X> 180 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitRegularTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> "Invisible" </State>
|
||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<State>
|
||
eval(
|
||
If ICE_PROCESS_STATUS = 2 Then
|
||
|
||
If $Sum12010100251201020025 = "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 $Sum12010100251201020025 = "Disable" Then
|
||
STRCONTAIN "ERR" $12-01-01-0025.TAG tag1_is_disable
|
||
STRCONTAIN "ERR" $12-01-02-0025.TAG tag2_is_disable
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||
Var return = "Invisible"
|
||
If tag1_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag2_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag3_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
Else
|
||
Var return = "Invisible"
|
||
EndIf
|
||
)
|
||
</State>
|
||
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
||
</Image>
|
||
<Text>
|
||
<X> 84 </X>
|
||
<Y> 266 </Y>
|
||
<Size> 10 </Size>
|
||
<Font> OpunMediumTTF </Font>
|
||
<Color> 0xDE794E </Color>
|
||
<State> ice_tab_process_show </State>
|
||
<Value> ice_show_open </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 48 </X>
|
||
<Y> 116 </Y>
|
||
<Size> 32 </Size>
|
||
<Width>128</Width>
|
||
<Height>64</Height>
|
||
<Font> MITRegularTTF </Font>
|
||
<Color> 0x5A5A5A </Color>
|
||
<Mode> "disable-show" </Mode>
|
||
<State> $Sum12010100251201020025 </State>
|
||
<Value> text_unavailable </Value>
|
||
<Align> center-vertical-horizontal </Align>
|
||
</Text>
|
||
</Block>
|
||
; - - -
|
||
; ==================> Len = 21
|
||
; 12-01-01-0023 12-01-02-0023 -
|
||
<Block>
|
||
<MarginLeft> 33 </MarginLeft>
|
||
<MarginTop> 22 </MarginTop>
|
||
<Width> 225 </Width>
|
||
<Height> 296 </Height>
|
||
<State> Flag( 12-01-01-0023.Button,12-01-02-0023.Button,$Sum12010100231201020023) </State>
|
||
<Button>
|
||
<State> $Sum12010100231201020023 </State>
|
||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_americano_light_snowwhite.png" </Filename>
|
||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_americano_light_snowwhite.png" </FilenamePress>
|
||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_americano_light_snowwhite.png" </FilenameDisable>
|
||
<OverlayImage> xmlpro( 12-01-01-0023, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi2.png") </OverlayImage>
|
||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||
<Volume> SoundVolume </Volume>
|
||
<EventOnClick>
|
||
Var NameDrink = "Snowwhite Americano"
|
||
Var NameDrinkTH = "อเมริกาโน Snowwhite"
|
||
Var DrinkDescriptionTH = "Anaerobic process หอมมะลิ น้ำผึ้ง เมเปิล"
|
||
Var DrinkDescription = "Anaerobic Process note: Jasmine & Honey"
|
||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_americano_light_snowwhite.png"
|
||
Var OpenFromXML = CurrentXMLFileName2
|
||
Var PriceD1 = $12-01-01-0023.Price
|
||
Var PriceD2 = $12-01-02-0023.Price
|
||
Var PriceD3 = $-.Price
|
||
Var PD_CODE1 = "12-01-01-0023"
|
||
Var PD_CODE2 = "12-01-02-0023"
|
||
Var PD_CODE3 = "##-##-##-####"
|
||
Var PD_STAGE_1 = $12-01-01-0023.Button
|
||
Var PD_STAGE_2 = $12-01-02-0023.Button
|
||
Var PD_STAGE_3 = "Disable2"
|
||
Var OverlayMenuFilter !assigned xmlpro( 12-01-01-0023, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi2.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-01-02-0023"
|
||
Else
|
||
If PD_STAGE_1 = "Enable" Then
|
||
Topping "Load" "12-01-01-0023"
|
||
Else
|
||
Topping "Load" "-"
|
||
EndIf
|
||
EndIf
|
||
Var menu_name_eng_hot = $12-01-01-0023.NameE
|
||
Var menu_desc_eng_hot = $12-01-01-0023.descriptionE
|
||
Var menu_name_thai_hot = $12-01-01-0023.Name
|
||
Var menu_desc_thai_hot = $12-01-01-0023.description
|
||
|
||
Var menu_name_eng_cold = $12-01-02-0023.NameE
|
||
Var menu_desc_eng_cold = $12-01-02-0023.descriptionE
|
||
Var menu_name_thai_cold = $12-01-02-0023.Name
|
||
Var menu_desc_thai_cold = $12-01-02-0023.description
|
||
|
||
Var menu_name_eng_blender = $##-##-##-####.NameE
|
||
Var menu_desc_eng_blender = $##-##-##-####.descriptionE
|
||
Var menu_name_thai_blender = $##-##-##-####.Name
|
||
Var menu_desc_thai_blender = $##-##-##-####.description
|
||
|
||
DEBUGVAR PD_STAGE_1
|
||
DEBUGVAR PD_STAGE_2
|
||
DEBUGVAR PD_STAGE_3
|
||
Var SelectDrinkType = 0
|
||
|
||
|
||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
||
|
||
</EventOnClick>
|
||
</Button>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 164 </Y>
|
||
<Size> 24 </Size>
|
||
<Width>220</Width>
|
||
<Mode> "multi2" </Mode>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x322B26 </Color>
|
||
<State> showthaiText </State>
|
||
<Value> "อเมริกาโน
|
||
Snowwhite" </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> "Anaerobic process
|
||
หอมมะลิ น้ำผึ้ง เมเปิล" </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> "Snowwhite
|
||
Americano" </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> "Anaerobic Process
|
||
note: Jasmine & Honey" </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-01-01-0023.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-01-01-0023.Button </State>
|
||
<Value> StringFmt( $12-01-01-0023.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-01-02-0023.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-01-02-0023.Button </State>
|
||
<Value> StringFmt( $12-01-02-0023.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 146 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||
<State> "Invisible" </State>
|
||
</Image>
|
||
<Text>
|
||
<X> 180 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitRegularTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> "Invisible" </State>
|
||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<State>
|
||
eval(
|
||
If ICE_PROCESS_STATUS = 2 Then
|
||
|
||
If $Sum12010100231201020023 = "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 $Sum12010100231201020023 = "Disable" Then
|
||
STRCONTAIN "ERR" $12-01-01-0023.TAG tag1_is_disable
|
||
STRCONTAIN "ERR" $12-01-02-0023.TAG tag2_is_disable
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||
Var return = "Invisible"
|
||
If tag1_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag2_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag3_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
Else
|
||
Var return = "Invisible"
|
||
EndIf
|
||
)
|
||
</State>
|
||
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
||
</Image>
|
||
<Text>
|
||
<X> 84 </X>
|
||
<Y> 266 </Y>
|
||
<Size> 10 </Size>
|
||
<Font> OpunMediumTTF </Font>
|
||
<Color> 0xDE794E </Color>
|
||
<State> ice_tab_process_show </State>
|
||
<Value> ice_show_open </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 48 </X>
|
||
<Y> 116 </Y>
|
||
<Size> 32 </Size>
|
||
<Width>128</Width>
|
||
<Height>64</Height>
|
||
<Font> MITRegularTTF </Font>
|
||
<Color> 0x5A5A5A </Color>
|
||
<Mode> "disable-show" </Mode>
|
||
<State> $Sum12010100231201020023 </State>
|
||
<Value> text_unavailable </Value>
|
||
<Align> center-vertical-horizontal </Align>
|
||
</Text>
|
||
</Block>
|
||
; - - -
|
||
; ==================> Len = 21
|
||
; 12-01-01-0027 12-01-02-0027 -
|
||
<Block>
|
||
<MarginLeft> 33 </MarginLeft>
|
||
<MarginTop> 22 </MarginTop>
|
||
<Width> 225 </Width>
|
||
<Height> 296 </Height>
|
||
<State> Flag( 12-01-01-0027.Button,12-01-02-0027.Button,$Sum12010100271201020027) </State>
|
||
<Button>
|
||
<State> $Sum12010100271201020027 </State>
|
||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_americano_light_peacher.png" </Filename>
|
||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_americano_light_peacher.png" </FilenamePress>
|
||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_americano_light_peacher.png" </FilenameDisable>
|
||
<OverlayImage> xmlpro( 12-01-01-0027, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi2.png") </OverlayImage>
|
||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||
<Volume> SoundVolume </Volume>
|
||
<EventOnClick>
|
||
Var NameDrink = "Peacher Americano"
|
||
Var NameDrinkTH = "อเมริกาโน Peacher"
|
||
Var DrinkDescriptionTH = "Barrel-aged process หอมพีช, ชา, ช็อกโกแลต"
|
||
Var DrinkDescription = "Barrel-Aged Process note: Peach, Tea, Chocolate"
|
||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_americano_light_peacher.png"
|
||
Var OpenFromXML = CurrentXMLFileName2
|
||
Var PriceD1 = $12-01-01-0027.Price
|
||
Var PriceD2 = $12-01-02-0027.Price
|
||
Var PriceD3 = $-.Price
|
||
Var PD_CODE1 = "12-01-01-0027"
|
||
Var PD_CODE2 = "12-01-02-0027"
|
||
Var PD_CODE3 = "##-##-##-####"
|
||
Var PD_STAGE_1 = $12-01-01-0027.Button
|
||
Var PD_STAGE_2 = $12-01-02-0027.Button
|
||
Var PD_STAGE_3 = "Disable2"
|
||
Var OverlayMenuFilter !assigned xmlpro( 12-01-01-0027, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi2.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-01-02-0027"
|
||
Else
|
||
If PD_STAGE_1 = "Enable" Then
|
||
Topping "Load" "12-01-01-0027"
|
||
Else
|
||
Topping "Load" "-"
|
||
EndIf
|
||
EndIf
|
||
Var menu_name_eng_hot = $12-01-01-0027.NameE
|
||
Var menu_desc_eng_hot = $12-01-01-0027.descriptionE
|
||
Var menu_name_thai_hot = $12-01-01-0027.Name
|
||
Var menu_desc_thai_hot = $12-01-01-0027.description
|
||
|
||
Var menu_name_eng_cold = $12-01-02-0027.NameE
|
||
Var menu_desc_eng_cold = $12-01-02-0027.descriptionE
|
||
Var menu_name_thai_cold = $12-01-02-0027.Name
|
||
Var menu_desc_thai_cold = $12-01-02-0027.description
|
||
|
||
Var menu_name_eng_blender = $##-##-##-####.NameE
|
||
Var menu_desc_eng_blender = $##-##-##-####.descriptionE
|
||
Var menu_name_thai_blender = $##-##-##-####.Name
|
||
Var menu_desc_thai_blender = $##-##-##-####.description
|
||
|
||
DEBUGVAR PD_STAGE_1
|
||
DEBUGVAR PD_STAGE_2
|
||
DEBUGVAR PD_STAGE_3
|
||
Var SelectDrinkType = 0
|
||
|
||
|
||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
||
|
||
</EventOnClick>
|
||
</Button>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 164 </Y>
|
||
<Size> 24 </Size>
|
||
<Width>220</Width>
|
||
<Mode> "multi2" </Mode>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x322B26 </Color>
|
||
<State> showthaiText </State>
|
||
<Value> "อเมริกาโน
|
||
Peacher" </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> "Barrel-aged process
|
||
หอมพีช, ชา, ช็อกโกแลต" </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> "Peacher
|
||
Americano" </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> "Barrel-Aged Process
|
||
note: Peach, Tea, Chocolate" </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-01-01-0027.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-01-01-0027.Button </State>
|
||
<Value> StringFmt( $12-01-01-0027.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-01-02-0027.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-01-02-0027.Button </State>
|
||
<Value> StringFmt( $12-01-02-0027.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 146 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||
<State> "Invisible" </State>
|
||
</Image>
|
||
<Text>
|
||
<X> 180 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitRegularTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> "Invisible" </State>
|
||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<State>
|
||
eval(
|
||
If ICE_PROCESS_STATUS = 2 Then
|
||
|
||
If $Sum12010100271201020027 = "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 $Sum12010100271201020027 = "Disable" Then
|
||
STRCONTAIN "ERR" $12-01-01-0027.TAG tag1_is_disable
|
||
STRCONTAIN "ERR" $12-01-02-0027.TAG tag2_is_disable
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||
Var return = "Invisible"
|
||
If tag1_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag2_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag3_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
Else
|
||
Var return = "Invisible"
|
||
EndIf
|
||
)
|
||
</State>
|
||
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
||
</Image>
|
||
<Text>
|
||
<X> 84 </X>
|
||
<Y> 266 </Y>
|
||
<Size> 10 </Size>
|
||
<Font> OpunMediumTTF </Font>
|
||
<Color> 0xDE794E </Color>
|
||
<State> ice_tab_process_show </State>
|
||
<Value> ice_show_open </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 48 </X>
|
||
<Y> 116 </Y>
|
||
<Size> 32 </Size>
|
||
<Width>128</Width>
|
||
<Height>64</Height>
|
||
<Font> MITRegularTTF </Font>
|
||
<Color> 0x5A5A5A </Color>
|
||
<Mode> "disable-show" </Mode>
|
||
<State> $Sum12010100271201020027 </State>
|
||
<Value> text_unavailable </Value>
|
||
<Align> center-vertical-horizontal </Align>
|
||
</Text>
|
||
</Block>
|
||
; - - -
|
||
; ==================> Len = 21
|
||
; 12-01-01-0032 12-01-02-0032 -
|
||
<Block>
|
||
<MarginLeft> 33 </MarginLeft>
|
||
<MarginTop> 22 </MarginTop>
|
||
<Width> 225 </Width>
|
||
<Height> 296 </Height>
|
||
<State> Flag( 12-01-01-0032.Button,12-01-02-0032.Button,$Sum12010100321201020032) </State>
|
||
<Button>
|
||
<State> $Sum12010100321201020032 </State>
|
||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_americano_light_pure_beauty.png" </Filename>
|
||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_americano_light_pure_beauty.png" </FilenamePress>
|
||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_americano_light_pure_beauty.png" </FilenameDisable>
|
||
<OverlayImage> xmlpro( 12-01-01-0032, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi2.png") </OverlayImage>
|
||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||
<Volume> SoundVolume </Volume>
|
||
<EventOnClick>
|
||
Var NameDrink = "Pure Beauty Americano"
|
||
Var NameDrinkTH = "อเมริกาโน Pure Beauty"
|
||
Var DrinkDescriptionTH = "กาแฟคั่วอ่อน (natural process) กลิ่นดอกไม้ ผลไม้เขตร้อน"
|
||
Var DrinkDescription = "Light Roast (Natural Process) Note: Floral & Tropical Fruit"
|
||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_americano_light_pure_beauty.png"
|
||
Var OpenFromXML = CurrentXMLFileName2
|
||
Var PriceD1 = $12-01-01-0032.Price
|
||
Var PriceD2 = $12-01-02-0032.Price
|
||
Var PriceD3 = $-.Price
|
||
Var PD_CODE1 = "12-01-01-0032"
|
||
Var PD_CODE2 = "12-01-02-0032"
|
||
Var PD_CODE3 = "##-##-##-####"
|
||
Var PD_STAGE_1 = $12-01-01-0032.Button
|
||
Var PD_STAGE_2 = $12-01-02-0032.Button
|
||
Var PD_STAGE_3 = "Disable2"
|
||
Var OverlayMenuFilter !assigned xmlpro( 12-01-01-0032, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi2.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-01-02-0032"
|
||
Else
|
||
If PD_STAGE_1 = "Enable" Then
|
||
Topping "Load" "12-01-01-0032"
|
||
Else
|
||
Topping "Load" "-"
|
||
EndIf
|
||
EndIf
|
||
Var menu_name_eng_hot = $12-01-01-0032.NameE
|
||
Var menu_desc_eng_hot = $12-01-01-0032.descriptionE
|
||
Var menu_name_thai_hot = $12-01-01-0032.Name
|
||
Var menu_desc_thai_hot = $12-01-01-0032.description
|
||
|
||
Var menu_name_eng_cold = $12-01-02-0032.NameE
|
||
Var menu_desc_eng_cold = $12-01-02-0032.descriptionE
|
||
Var menu_name_thai_cold = $12-01-02-0032.Name
|
||
Var menu_desc_thai_cold = $12-01-02-0032.description
|
||
|
||
Var menu_name_eng_blender = $##-##-##-####.NameE
|
||
Var menu_desc_eng_blender = $##-##-##-####.descriptionE
|
||
Var menu_name_thai_blender = $##-##-##-####.Name
|
||
Var menu_desc_thai_blender = $##-##-##-####.description
|
||
|
||
DEBUGVAR PD_STAGE_1
|
||
DEBUGVAR PD_STAGE_2
|
||
DEBUGVAR PD_STAGE_3
|
||
Var SelectDrinkType = 0
|
||
|
||
|
||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
||
|
||
</EventOnClick>
|
||
</Button>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 164 </Y>
|
||
<Size> 24 </Size>
|
||
<Width>220</Width>
|
||
<Mode> "multi2" </Mode>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x322B26 </Color>
|
||
<State> showthaiText </State>
|
||
<Value> "อเมริกาโน
|
||
Pure Beauty" </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> "กาแฟคั่วอ่อน (natural process)
|
||
กลิ่นดอกไม้ ผลไม้เขตร้อน" </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> "Pure Beauty
|
||
Americano" </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> "Light Roast (Natural Process) Note: Floral & Tropical Fruit" </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-01-01-0032.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-01-01-0032.Button </State>
|
||
<Value> StringFmt( $12-01-01-0032.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-01-02-0032.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-01-02-0032.Button </State>
|
||
<Value> StringFmt( $12-01-02-0032.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 146 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||
<State> "Invisible" </State>
|
||
</Image>
|
||
<Text>
|
||
<X> 180 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitRegularTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> "Invisible" </State>
|
||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<State>
|
||
eval(
|
||
If ICE_PROCESS_STATUS = 2 Then
|
||
|
||
If $Sum12010100321201020032 = "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 $Sum12010100321201020032 = "Disable" Then
|
||
STRCONTAIN "ERR" $12-01-01-0032.TAG tag1_is_disable
|
||
STRCONTAIN "ERR" $12-01-02-0032.TAG tag2_is_disable
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||
Var return = "Invisible"
|
||
If tag1_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag2_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag3_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
Else
|
||
Var return = "Invisible"
|
||
EndIf
|
||
)
|
||
</State>
|
||
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
||
</Image>
|
||
<Text>
|
||
<X> 84 </X>
|
||
<Y> 266 </Y>
|
||
<Size> 10 </Size>
|
||
<Font> OpunMediumTTF </Font>
|
||
<Color> 0xDE794E </Color>
|
||
<State> ice_tab_process_show </State>
|
||
<Value> ice_show_open </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 48 </X>
|
||
<Y> 116 </Y>
|
||
<Size> 32 </Size>
|
||
<Width>128</Width>
|
||
<Height>64</Height>
|
||
<Font> MITRegularTTF </Font>
|
||
<Color> 0x5A5A5A </Color>
|
||
<Mode> "disable-show" </Mode>
|
||
<State> $Sum12010100321201020032 </State>
|
||
<Value> text_unavailable </Value>
|
||
<Align> center-vertical-horizontal </Align>
|
||
</Text>
|
||
</Block>
|
||
; - - -
|
||
; ==================> Len = 21
|
||
; 12-01-01-0038 12-01-02-0038 -
|
||
<Block>
|
||
<MarginLeft> 33 </MarginLeft>
|
||
<MarginTop> 22 </MarginTop>
|
||
<Width> 225 </Width>
|
||
<Height> 296 </Height>
|
||
<State> Flag( 12-01-01-0038.Button,12-01-02-0038.Button,$Sum12010100381201020038) </State>
|
||
<Button>
|
||
<State> $Sum12010100381201020038 </State>
|
||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_americano_light_rosalyn.png" </Filename>
|
||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_americano_light_rosalyn.png" </FilenamePress>
|
||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_americano_light_rosalyn.png" </FilenameDisable>
|
||
<OverlayImage> xmlpro( 12-01-01-0038, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi2.png") </OverlayImage>
|
||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||
<Volume> SoundVolume </Volume>
|
||
<EventOnClick>
|
||
Var NameDrink = "Rosalyn Americano"
|
||
Var NameDrinkTH = "อเมริกาโน Rosalyn"
|
||
Var DrinkDescriptionTH = "กาแฟคั่วอ่อน (washed process) กลิ่นกุหลาบ และ เบอร์รี่"
|
||
Var DrinkDescription = "Light Roast (Natural Process) pink Rose & Berry"
|
||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_americano_light_rosalyn.png"
|
||
Var OpenFromXML = CurrentXMLFileName2
|
||
Var PriceD1 = $12-01-01-0038.Price
|
||
Var PriceD2 = $12-01-02-0038.Price
|
||
Var PriceD3 = $-.Price
|
||
Var PD_CODE1 = "12-01-01-0038"
|
||
Var PD_CODE2 = "12-01-02-0038"
|
||
Var PD_CODE3 = "##-##-##-####"
|
||
Var PD_STAGE_1 = $12-01-01-0038.Button
|
||
Var PD_STAGE_2 = $12-01-02-0038.Button
|
||
Var PD_STAGE_3 = "Disable2"
|
||
Var OverlayMenuFilter !assigned xmlpro( 12-01-01-0038, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi2.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-01-02-0038"
|
||
Else
|
||
If PD_STAGE_1 = "Enable" Then
|
||
Topping "Load" "12-01-01-0038"
|
||
Else
|
||
Topping "Load" "-"
|
||
EndIf
|
||
EndIf
|
||
Var menu_name_eng_hot = $12-01-01-0038.NameE
|
||
Var menu_desc_eng_hot = $12-01-01-0038.descriptionE
|
||
Var menu_name_thai_hot = $12-01-01-0038.Name
|
||
Var menu_desc_thai_hot = $12-01-01-0038.description
|
||
|
||
Var menu_name_eng_cold = $12-01-02-0038.NameE
|
||
Var menu_desc_eng_cold = $12-01-02-0038.descriptionE
|
||
Var menu_name_thai_cold = $12-01-02-0038.Name
|
||
Var menu_desc_thai_cold = $12-01-02-0038.description
|
||
|
||
Var menu_name_eng_blender = $##-##-##-####.NameE
|
||
Var menu_desc_eng_blender = $##-##-##-####.descriptionE
|
||
Var menu_name_thai_blender = $##-##-##-####.Name
|
||
Var menu_desc_thai_blender = $##-##-##-####.description
|
||
|
||
DEBUGVAR PD_STAGE_1
|
||
DEBUGVAR PD_STAGE_2
|
||
DEBUGVAR PD_STAGE_3
|
||
Var SelectDrinkType = 0
|
||
|
||
|
||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
||
|
||
</EventOnClick>
|
||
</Button>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 164 </Y>
|
||
<Size> 24 </Size>
|
||
<Width>220</Width>
|
||
<Mode> "multi2" </Mode>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x322B26 </Color>
|
||
<State> showthaiText </State>
|
||
<Value> "อเมริกาโน
|
||
Rosalyn" </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> "กาแฟคั่วอ่อน (washed process)
|
||
กลิ่นกุหลาบ และ เบอร์รี่" </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> "Rosalyn
|
||
Americano" </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> "Light Roast (Natural Process)
|
||
pink Rose & Berry" </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-01-01-0038.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-01-01-0038.Button </State>
|
||
<Value> StringFmt( $12-01-01-0038.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-01-02-0038.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-01-02-0038.Button </State>
|
||
<Value> StringFmt( $12-01-02-0038.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 146 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||
<State> "Invisible" </State>
|
||
</Image>
|
||
<Text>
|
||
<X> 180 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitRegularTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> "Invisible" </State>
|
||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<State>
|
||
eval(
|
||
If ICE_PROCESS_STATUS = 2 Then
|
||
|
||
If $Sum12010100381201020038 = "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 $Sum12010100381201020038 = "Disable" Then
|
||
STRCONTAIN "ERR" $12-01-01-0038.TAG tag1_is_disable
|
||
STRCONTAIN "ERR" $12-01-02-0038.TAG tag2_is_disable
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||
Var return = "Invisible"
|
||
If tag1_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag2_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag3_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
Else
|
||
Var return = "Invisible"
|
||
EndIf
|
||
)
|
||
</State>
|
||
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
||
</Image>
|
||
<Text>
|
||
<X> 84 </X>
|
||
<Y> 266 </Y>
|
||
<Size> 10 </Size>
|
||
<Font> OpunMediumTTF </Font>
|
||
<Color> 0xDE794E </Color>
|
||
<State> ice_tab_process_show </State>
|
||
<Value> ice_show_open </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 48 </X>
|
||
<Y> 116 </Y>
|
||
<Size> 32 </Size>
|
||
<Width>128</Width>
|
||
<Height>64</Height>
|
||
<Font> MITRegularTTF </Font>
|
||
<Color> 0x5A5A5A </Color>
|
||
<Mode> "disable-show" </Mode>
|
||
<State> $Sum12010100381201020038 </State>
|
||
<Value> text_unavailable </Value>
|
||
<Align> center-vertical-horizontal </Align>
|
||
</Text>
|
||
</Block>
|
||
; - - -
|
||
; ==================> Len = 21
|
||
; - 12-01-02-0020 -
|
||
<Block>
|
||
<MarginLeft> 33 </MarginLeft>
|
||
<MarginTop> 22 </MarginTop>
|
||
<Width> 225 </Width>
|
||
<Height> 296 </Height>
|
||
<State> Flag( 12-01-02-0020.Button,$Sum1201020020) </State>
|
||
<Button>
|
||
<State> $Sum1201020020 </State>
|
||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_dirty_light_bluedaddy.png" </Filename>
|
||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_dirty_light_bluedaddy.png" </FilenamePress>
|
||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_dirty_light_bluedaddy.png" </FilenameDisable>
|
||
<OverlayImage> xmlpro( 12-01-02-0020, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi2.png") </OverlayImage>
|
||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||
<Volume> SoundVolume </Volume>
|
||
<EventOnClick>
|
||
Var NameDrink = "Blue Daddy Almost Dirty"
|
||
Var NameDrinkTH = "Blue Daddy Almost Dirty"
|
||
Var DrinkDescriptionTH = "Washed process หอมบลูเบอร์รี และดอกไม้"
|
||
Var DrinkDescription = "Washed Process note: Blue Berry & Floral"
|
||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_dirty_light_bluedaddy.png"
|
||
Var OpenFromXML = CurrentXMLFileName2
|
||
Var PriceD1 = $-.Price
|
||
Var PriceD2 = $12-01-02-0020.Price
|
||
Var PriceD3 = $-.Price
|
||
Var PD_CODE1 = "##-##-##-####"
|
||
Var PD_CODE2 = "12-01-02-0020"
|
||
Var PD_CODE3 = "##-##-##-####"
|
||
Var PD_STAGE_1 = "Disable2"
|
||
Var PD_STAGE_2 = $12-01-02-0020.Button
|
||
Var PD_STAGE_3 = "Disable2"
|
||
Var OverlayMenuFilter !assigned xmlpro( 12-01-02-0020, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi2.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-01-02-0020"
|
||
Else
|
||
If PD_STAGE_1 = "Enable" Then
|
||
Topping "Load" "-"
|
||
Else
|
||
Topping "Load" "-"
|
||
EndIf
|
||
EndIf
|
||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
||
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
||
Var menu_name_thai_hot = $##-##-##-####.Name
|
||
Var menu_desc_thai_hot = $##-##-##-####.description
|
||
|
||
Var menu_name_eng_cold = $12-01-02-0020.NameE
|
||
Var menu_desc_eng_cold = $12-01-02-0020.descriptionE
|
||
Var menu_name_thai_cold = $12-01-02-0020.Name
|
||
Var menu_desc_thai_cold = $12-01-02-0020.description
|
||
|
||
Var menu_name_eng_blender = $##-##-##-####.NameE
|
||
Var menu_desc_eng_blender = $##-##-##-####.descriptionE
|
||
Var menu_name_thai_blender = $##-##-##-####.Name
|
||
Var menu_desc_thai_blender = $##-##-##-####.description
|
||
|
||
DEBUGVAR PD_STAGE_1
|
||
DEBUGVAR PD_STAGE_2
|
||
DEBUGVAR PD_STAGE_3
|
||
Var SelectDrinkType = 0
|
||
|
||
|
||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
||
|
||
</EventOnClick>
|
||
</Button>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 164 </Y>
|
||
<Size> 24 </Size>
|
||
<Width>220</Width>
|
||
<Mode> "multi2" </Mode>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x322B26 </Color>
|
||
<State> showthaiText </State>
|
||
<Value> "Blue Daddy
|
||
Almost Dirty" </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> "Washed process
|
||
หอมบลูเบอร์รี และดอกไม้" </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> "Blue Daddy
|
||
Almost Dirty" </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> "Washed Process
|
||
note: Blue Berry & Floral" </Value>
|
||
</Text>
|
||
<Image>
|
||
<X> 16 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "option_deactive.png" ) </Filename>
|
||
</Image>
|
||
<Image>
|
||
<X> 16 </X>
|
||
<Y> 264 </Y>
|
||
<State> "Invisible" </State>
|
||
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
|
||
</Image>
|
||
<Text>
|
||
<X> 50 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> "Invisible" </State>
|
||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
||
<State> $12-01-02-0020.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-01-02-0020.Button </State>
|
||
<Value> StringFmt( $12-01-02-0020.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 146 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||
<State> "Invisible" </State>
|
||
</Image>
|
||
<Text>
|
||
<X> 180 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitRegularTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> "Invisible" </State>
|
||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<State>
|
||
eval(
|
||
If ICE_PROCESS_STATUS = 2 Then
|
||
|
||
Var ice_tab_process_show = "Invisible"
|
||
|
||
Else
|
||
Var ice_tab_process_show = "Invisible"
|
||
EndIf
|
||
Var return = ice_tab_process_show
|
||
)
|
||
</State>
|
||
<Filename> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </Filename>
|
||
<FilenameDisable> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </FilenameDisable>
|
||
</Image>
|
||
<Image>
|
||
<X> 49 </X>
|
||
<Y> 117 </Y>
|
||
<State>
|
||
eval(
|
||
If $Sum1201020020 = "Disable" Then
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||
STRCONTAIN "ERR" $12-01-02-0020.TAG tag2_is_disable
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||
Var return = "Invisible"
|
||
If tag1_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag2_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag3_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
Else
|
||
Var return = "Invisible"
|
||
EndIf
|
||
)
|
||
</State>
|
||
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
||
</Image>
|
||
<Text>
|
||
<X> 84 </X>
|
||
<Y> 266 </Y>
|
||
<Size> 10 </Size>
|
||
<Font> OpunMediumTTF </Font>
|
||
<Color> 0xDE794E </Color>
|
||
<State> ice_tab_process_show </State>
|
||
<Value> ice_show_open </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 48 </X>
|
||
<Y> 116 </Y>
|
||
<Size> 32 </Size>
|
||
<Width>128</Width>
|
||
<Height>64</Height>
|
||
<Font> MITRegularTTF </Font>
|
||
<Color> 0x5A5A5A </Color>
|
||
<Mode> "disable-show" </Mode>
|
||
<State> $Sum1201020020 </State>
|
||
<Value> text_unavailable </Value>
|
||
<Align> center-vertical-horizontal </Align>
|
||
</Text>
|
||
</Block>
|
||
; - - -
|
||
; ==================> Len = 21
|
||
; - 12-01-02-0022 -
|
||
<Block>
|
||
<MarginLeft> 33 </MarginLeft>
|
||
<MarginTop> 22 </MarginTop>
|
||
<Width> 225 </Width>
|
||
<Height> 296 </Height>
|
||
<State> Flag( 12-01-02-0022.Button,$Sum1201020022) </State>
|
||
<Button>
|
||
<State> $Sum1201020022 </State>
|
||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_dirty_light_mozart.png" </Filename>
|
||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_dirty_light_mozart.png" </FilenamePress>
|
||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_dirty_light_mozart.png" </FilenameDisable>
|
||
<OverlayImage> xmlpro( 12-01-02-0022, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi2.png") </OverlayImage>
|
||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||
<Volume> SoundVolume </Volume>
|
||
<EventOnClick>
|
||
Var NameDrink = "Mozart Almost Dirty"
|
||
Var NameDrinkTH = "Mozart Almost Dirty"
|
||
Var DrinkDescriptionTH = "Raisin Honey process หอมสตรอว์เบอร์รี กุหลาบ มะลิ"
|
||
Var DrinkDescription = "Raisin Honey Process note: Strawberry & Floral"
|
||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_dirty_light_mozart.png"
|
||
Var OpenFromXML = CurrentXMLFileName2
|
||
Var PriceD1 = $-.Price
|
||
Var PriceD2 = $12-01-02-0022.Price
|
||
Var PriceD3 = $-.Price
|
||
Var PD_CODE1 = "##-##-##-####"
|
||
Var PD_CODE2 = "12-01-02-0022"
|
||
Var PD_CODE3 = "##-##-##-####"
|
||
Var PD_STAGE_1 = "Disable2"
|
||
Var PD_STAGE_2 = $12-01-02-0022.Button
|
||
Var PD_STAGE_3 = "Disable2"
|
||
Var OverlayMenuFilter !assigned xmlpro( 12-01-02-0022, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi2.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-01-02-0022"
|
||
Else
|
||
If PD_STAGE_1 = "Enable" Then
|
||
Topping "Load" "-"
|
||
Else
|
||
Topping "Load" "-"
|
||
EndIf
|
||
EndIf
|
||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
||
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
||
Var menu_name_thai_hot = $##-##-##-####.Name
|
||
Var menu_desc_thai_hot = $##-##-##-####.description
|
||
|
||
Var menu_name_eng_cold = $12-01-02-0022.NameE
|
||
Var menu_desc_eng_cold = $12-01-02-0022.descriptionE
|
||
Var menu_name_thai_cold = $12-01-02-0022.Name
|
||
Var menu_desc_thai_cold = $12-01-02-0022.description
|
||
|
||
Var menu_name_eng_blender = $##-##-##-####.NameE
|
||
Var menu_desc_eng_blender = $##-##-##-####.descriptionE
|
||
Var menu_name_thai_blender = $##-##-##-####.Name
|
||
Var menu_desc_thai_blender = $##-##-##-####.description
|
||
|
||
DEBUGVAR PD_STAGE_1
|
||
DEBUGVAR PD_STAGE_2
|
||
DEBUGVAR PD_STAGE_3
|
||
Var SelectDrinkType = 0
|
||
|
||
|
||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
||
|
||
</EventOnClick>
|
||
</Button>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 164 </Y>
|
||
<Size> 24 </Size>
|
||
<Width>220</Width>
|
||
<Mode> "multi2" </Mode>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x322B26 </Color>
|
||
<State> showthaiText </State>
|
||
<Value> "Mozart
|
||
Almost Dirty" </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> "Raisin Honey process
|
||
หอมสตรอว์เบอร์รี กุหลาบ มะลิ" </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> "Mozart
|
||
Almost Dirty" </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> "Raisin Honey Process
|
||
note: Strawberry & Floral" </Value>
|
||
</Text>
|
||
<Image>
|
||
<X> 16 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "option_deactive.png" ) </Filename>
|
||
</Image>
|
||
<Image>
|
||
<X> 16 </X>
|
||
<Y> 264 </Y>
|
||
<State> "Invisible" </State>
|
||
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
|
||
</Image>
|
||
<Text>
|
||
<X> 50 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> "Invisible" </State>
|
||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
||
<State> $12-01-02-0022.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-01-02-0022.Button </State>
|
||
<Value> StringFmt( $12-01-02-0022.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 146 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||
<State> "Invisible" </State>
|
||
</Image>
|
||
<Text>
|
||
<X> 180 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitRegularTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> "Invisible" </State>
|
||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<State>
|
||
eval(
|
||
If ICE_PROCESS_STATUS = 2 Then
|
||
|
||
Var ice_tab_process_show = "Invisible"
|
||
|
||
Else
|
||
Var ice_tab_process_show = "Invisible"
|
||
EndIf
|
||
Var return = ice_tab_process_show
|
||
)
|
||
</State>
|
||
<Filename> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </Filename>
|
||
<FilenameDisable> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </FilenameDisable>
|
||
</Image>
|
||
<Image>
|
||
<X> 49 </X>
|
||
<Y> 117 </Y>
|
||
<State>
|
||
eval(
|
||
If $Sum1201020022 = "Disable" Then
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||
STRCONTAIN "ERR" $12-01-02-0022.TAG tag2_is_disable
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||
Var return = "Invisible"
|
||
If tag1_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag2_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag3_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
Else
|
||
Var return = "Invisible"
|
||
EndIf
|
||
)
|
||
</State>
|
||
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
||
</Image>
|
||
<Text>
|
||
<X> 84 </X>
|
||
<Y> 266 </Y>
|
||
<Size> 10 </Size>
|
||
<Font> OpunMediumTTF </Font>
|
||
<Color> 0xDE794E </Color>
|
||
<State> ice_tab_process_show </State>
|
||
<Value> ice_show_open </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 48 </X>
|
||
<Y> 116 </Y>
|
||
<Size> 32 </Size>
|
||
<Width>128</Width>
|
||
<Height>64</Height>
|
||
<Font> MITRegularTTF </Font>
|
||
<Color> 0x5A5A5A </Color>
|
||
<Mode> "disable-show" </Mode>
|
||
<State> $Sum1201020022 </State>
|
||
<Value> text_unavailable </Value>
|
||
<Align> center-vertical-horizontal </Align>
|
||
</Text>
|
||
</Block>
|
||
; - - -
|
||
; ==================> Len = 21
|
||
; - 12-01-02-0045 -
|
||
<Block>
|
||
<MarginLeft> 33 </MarginLeft>
|
||
<MarginTop> 22 </MarginTop>
|
||
<Width> 225 </Width>
|
||
<Height> 296 </Height>
|
||
<State> Flag( 12-01-02-0045.Button,$Sum1201020045) </State>
|
||
<Button>
|
||
<State> $Sum1201020045 </State>
|
||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_dirty_light_chopin.png" </Filename>
|
||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_dirty_light_chopin.png" </FilenamePress>
|
||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_dirty_light_chopin.png" </FilenameDisable>
|
||
<OverlayImage> xmlpro( 12-01-02-0045, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi2.png") </OverlayImage>
|
||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||
<Volume> SoundVolume </Volume>
|
||
<EventOnClick>
|
||
Var NameDrink = "Chopin Almost Dirty"
|
||
Var NameDrinkTH = "Chopin Almost Dirty"
|
||
Var DrinkDescriptionTH = "Raisin Honey process หอมสตรอว์เบอร์รี กุหลาบ มะลิ"
|
||
Var DrinkDescription = "Raisin Honey Process note: Strawberry & Floral"
|
||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_dirty_light_chopin.png"
|
||
Var OpenFromXML = CurrentXMLFileName2
|
||
Var PriceD1 = $-.Price
|
||
Var PriceD2 = $12-01-02-0045.Price
|
||
Var PriceD3 = $-.Price
|
||
Var PD_CODE1 = "##-##-##-####"
|
||
Var PD_CODE2 = "12-01-02-0045"
|
||
Var PD_CODE3 = "##-##-##-####"
|
||
Var PD_STAGE_1 = "Disable2"
|
||
Var PD_STAGE_2 = $12-01-02-0045.Button
|
||
Var PD_STAGE_3 = "Disable2"
|
||
Var OverlayMenuFilter !assigned xmlpro( 12-01-02-0045, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi2.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-01-02-0045"
|
||
Else
|
||
If PD_STAGE_1 = "Enable" Then
|
||
Topping "Load" "-"
|
||
Else
|
||
Topping "Load" "-"
|
||
EndIf
|
||
EndIf
|
||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
||
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
||
Var menu_name_thai_hot = $##-##-##-####.Name
|
||
Var menu_desc_thai_hot = $##-##-##-####.description
|
||
|
||
Var menu_name_eng_cold = $12-01-02-0045.NameE
|
||
Var menu_desc_eng_cold = $12-01-02-0045.descriptionE
|
||
Var menu_name_thai_cold = $12-01-02-0045.Name
|
||
Var menu_desc_thai_cold = $12-01-02-0045.description
|
||
|
||
Var menu_name_eng_blender = $##-##-##-####.NameE
|
||
Var menu_desc_eng_blender = $##-##-##-####.descriptionE
|
||
Var menu_name_thai_blender = $##-##-##-####.Name
|
||
Var menu_desc_thai_blender = $##-##-##-####.description
|
||
|
||
DEBUGVAR PD_STAGE_1
|
||
DEBUGVAR PD_STAGE_2
|
||
DEBUGVAR PD_STAGE_3
|
||
Var SelectDrinkType = 0
|
||
|
||
|
||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
||
|
||
</EventOnClick>
|
||
</Button>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 164 </Y>
|
||
<Size> 24 </Size>
|
||
<Width>220</Width>
|
||
<Mode> "multi2" </Mode>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x322B26 </Color>
|
||
<State> showthaiText </State>
|
||
<Value> "Chopin
|
||
Almost Dirty" </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> "Raisin Honey process
|
||
หอมสตรอว์เบอร์รี กุหลาบ มะลิ" </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> "Chopin
|
||
Almost Dirty" </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> "Raisin Honey Process
|
||
note: Strawberry & Floral" </Value>
|
||
</Text>
|
||
<Image>
|
||
<X> 16 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "option_deactive.png" ) </Filename>
|
||
</Image>
|
||
<Image>
|
||
<X> 16 </X>
|
||
<Y> 264 </Y>
|
||
<State> "Invisible" </State>
|
||
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
|
||
</Image>
|
||
<Text>
|
||
<X> 50 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> "Invisible" </State>
|
||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
||
<State> $12-01-02-0045.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-01-02-0045.Button </State>
|
||
<Value> StringFmt( $12-01-02-0045.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 146 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||
<State> "Invisible" </State>
|
||
</Image>
|
||
<Text>
|
||
<X> 180 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitRegularTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> "Invisible" </State>
|
||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<State>
|
||
eval(
|
||
If ICE_PROCESS_STATUS = 2 Then
|
||
|
||
Var ice_tab_process_show = "Invisible"
|
||
|
||
Else
|
||
Var ice_tab_process_show = "Invisible"
|
||
EndIf
|
||
Var return = ice_tab_process_show
|
||
)
|
||
</State>
|
||
<Filename> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </Filename>
|
||
<FilenameDisable> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </FilenameDisable>
|
||
</Image>
|
||
<Image>
|
||
<X> 49 </X>
|
||
<Y> 117 </Y>
|
||
<State>
|
||
eval(
|
||
If $Sum1201020045 = "Disable" Then
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||
STRCONTAIN "ERR" $12-01-02-0045.TAG tag2_is_disable
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||
Var return = "Invisible"
|
||
If tag1_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag2_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag3_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
Else
|
||
Var return = "Invisible"
|
||
EndIf
|
||
)
|
||
</State>
|
||
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
||
</Image>
|
||
<Text>
|
||
<X> 84 </X>
|
||
<Y> 266 </Y>
|
||
<Size> 10 </Size>
|
||
<Font> OpunMediumTTF </Font>
|
||
<Color> 0xDE794E </Color>
|
||
<State> ice_tab_process_show </State>
|
||
<Value> ice_show_open </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 48 </X>
|
||
<Y> 116 </Y>
|
||
<Size> 32 </Size>
|
||
<Width>128</Width>
|
||
<Height>64</Height>
|
||
<Font> MITRegularTTF </Font>
|
||
<Color> 0x5A5A5A </Color>
|
||
<Mode> "disable-show" </Mode>
|
||
<State> $Sum1201020045 </State>
|
||
<Value> text_unavailable </Value>
|
||
<Align> center-vertical-horizontal </Align>
|
||
</Text>
|
||
</Block>
|
||
; - - -
|
||
; ==================> Len = 16
|
||
; - 12-01-02-0048 -
|
||
<Block>
|
||
<MarginLeft> 33 </MarginLeft>
|
||
<MarginTop> 22 </MarginTop>
|
||
<Width> 225 </Width>
|
||
<Height> 296 </Height>
|
||
<State> Flag( 12-01-02-0048.Button,$Sum1201020048) </State>
|
||
<Button>
|
||
<State> $Sum1201020048 </State>
|
||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_dirty_light_Mandarine.png" </Filename>
|
||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_dirty_light_Mandarine.png" </FilenamePress>
|
||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_dirty_light_Mandarine.png" </FilenameDisable>
|
||
<OverlayImage> xmlpro( 12-01-02-0048, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi2.png") </OverlayImage>
|
||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||
<Volume> SoundVolume </Volume>
|
||
<EventOnClick>
|
||
Var NameDrink = "Mandarine Almost Dirty"
|
||
Var NameDrinkTH = "Mandarine Almost Dirty"
|
||
Var DrinkDescriptionTH = "กาแฟคั่วอ่อน โน๊ต: ดอกส้ม น้ำผึ้ง คาราเมล ช็อกโกแล็ต"
|
||
Var DrinkDescription = "Light Roast. Note: Orange Blossom, Honey, Caramel, Chocolate Bar."
|
||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_dirty_light_Mandarine.png"
|
||
Var OpenFromXML = CurrentXMLFileName2
|
||
Var PriceD1 = $-.Price
|
||
Var PriceD2 = $12-01-02-0048.Price
|
||
Var PriceD3 = $-.Price
|
||
Var PD_CODE1 = "##-##-##-####"
|
||
Var PD_CODE2 = "12-01-02-0048"
|
||
Var PD_CODE3 = "##-##-##-####"
|
||
Var PD_STAGE_1 = "Disable2"
|
||
Var PD_STAGE_2 = $12-01-02-0048.Button
|
||
Var PD_STAGE_3 = "Disable2"
|
||
Var OverlayMenuFilter !assigned xmlpro( 12-01-02-0048, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi2.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-01-02-0048"
|
||
Else
|
||
If PD_STAGE_1 = "Enable" Then
|
||
Topping "Load" "-"
|
||
Else
|
||
Topping "Load" "-"
|
||
EndIf
|
||
EndIf
|
||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
||
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
||
Var menu_name_thai_hot = $##-##-##-####.Name
|
||
Var menu_desc_thai_hot = $##-##-##-####.description
|
||
|
||
Var menu_name_eng_cold = $12-01-02-0048.NameE
|
||
Var menu_desc_eng_cold = $12-01-02-0048.descriptionE
|
||
Var menu_name_thai_cold = $12-01-02-0048.Name
|
||
Var menu_desc_thai_cold = $12-01-02-0048.description
|
||
|
||
Var menu_name_eng_blender = $##-##-##-####.NameE
|
||
Var menu_desc_eng_blender = $##-##-##-####.descriptionE
|
||
Var menu_name_thai_blender = $##-##-##-####.Name
|
||
Var menu_desc_thai_blender = $##-##-##-####.description
|
||
|
||
DEBUGVAR PD_STAGE_1
|
||
DEBUGVAR PD_STAGE_2
|
||
DEBUGVAR PD_STAGE_3
|
||
Var SelectDrinkType = 0
|
||
|
||
|
||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
||
|
||
</EventOnClick>
|
||
</Button>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 164 </Y>
|
||
<Size> 24 </Size>
|
||
<Width>220</Width>
|
||
<Mode> "multi2" </Mode>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x322B26 </Color>
|
||
<State> showthaiText </State>
|
||
<Value> "Mandarine
|
||
Almost Dirty" </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> "Mandarine
|
||
Almost Dirty" </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> "Light Roast. Note: Orange Blossom, Honey, Caramel, Chocolate Bar." </Value>
|
||
</Text>
|
||
<Image>
|
||
<X> 16 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "option_deactive.png" ) </Filename>
|
||
</Image>
|
||
<Image>
|
||
<X> 16 </X>
|
||
<Y> 264 </Y>
|
||
<State> "Invisible" </State>
|
||
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
|
||
</Image>
|
||
<Text>
|
||
<X> 50 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> "Invisible" </State>
|
||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
||
<State> $12-01-02-0048.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-01-02-0048.Button </State>
|
||
<Value> StringFmt( $12-01-02-0048.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 146 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||
<State> "Invisible" </State>
|
||
</Image>
|
||
<Text>
|
||
<X> 180 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitRegularTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> "Invisible" </State>
|
||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<State>
|
||
eval(
|
||
If ICE_PROCESS_STATUS = 2 Then
|
||
|
||
Var ice_tab_process_show = "Invisible"
|
||
|
||
Else
|
||
Var ice_tab_process_show = "Invisible"
|
||
EndIf
|
||
Var return = ice_tab_process_show
|
||
)
|
||
</State>
|
||
<Filename> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </Filename>
|
||
<FilenameDisable> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </FilenameDisable>
|
||
</Image>
|
||
<Image>
|
||
<X> 49 </X>
|
||
<Y> 117 </Y>
|
||
<State>
|
||
eval(
|
||
If $Sum1201020048 = "Disable" Then
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||
STRCONTAIN "ERR" $12-01-02-0048.TAG tag2_is_disable
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||
Var return = "Invisible"
|
||
If tag1_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag2_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag3_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
Else
|
||
Var return = "Invisible"
|
||
EndIf
|
||
)
|
||
</State>
|
||
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
||
</Image>
|
||
<Text>
|
||
<X> 84 </X>
|
||
<Y> 266 </Y>
|
||
<Size> 10 </Size>
|
||
<Font> OpunMediumTTF </Font>
|
||
<Color> 0xDE794E </Color>
|
||
<State> ice_tab_process_show </State>
|
||
<Value> ice_show_open </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 48 </X>
|
||
<Y> 116 </Y>
|
||
<Size> 32 </Size>
|
||
<Width>128</Width>
|
||
<Height>64</Height>
|
||
<Font> MITRegularTTF </Font>
|
||
<Color> 0x5A5A5A </Color>
|
||
<Mode> "disable-show" </Mode>
|
||
<State> $Sum1201020048 </State>
|
||
<Value> text_unavailable </Value>
|
||
<Align> center-vertical-horizontal </Align>
|
||
</Text>
|
||
</Block>
|
||
; - - -
|
||
; ==================> Len = 21
|
||
; - 12-01-02-0026 -
|
||
<Block>
|
||
<MarginLeft> 33 </MarginLeft>
|
||
<MarginTop> 22 </MarginTop>
|
||
<Width> 225 </Width>
|
||
<Height> 296 </Height>
|
||
<State> Flag( 12-01-02-0026.Button,$Sum1201020026) </State>
|
||
<Button>
|
||
<State> $Sum1201020026 </State>
|
||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_dirty_light_whiskydude.png" </Filename>
|
||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_dirty_light_whiskydude.png" </FilenamePress>
|
||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_dirty_light_whiskydude.png" </FilenameDisable>
|
||
<OverlayImage> xmlpro( 12-01-02-0026, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi2.png") </OverlayImage>
|
||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||
<Volume> SoundVolume </Volume>
|
||
<EventOnClick>
|
||
Var NameDrink = "Whisky Dude Almost Dirty"
|
||
Var NameDrinkTH = "Whisky Dude Almost Dirty"
|
||
Var DrinkDescriptionTH = "Washed Sherry cask ferment หอมวิสกี้ ช็อกโกแลต วนิลา"
|
||
Var DrinkDescription = "Washed Sherry Cask Ferment note: Whisky & Vanilla"
|
||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_dirty_light_whiskydude.png"
|
||
Var OpenFromXML = CurrentXMLFileName2
|
||
Var PriceD1 = $-.Price
|
||
Var PriceD2 = $12-01-02-0026.Price
|
||
Var PriceD3 = $-.Price
|
||
Var PD_CODE1 = "##-##-##-####"
|
||
Var PD_CODE2 = "12-01-02-0026"
|
||
Var PD_CODE3 = "##-##-##-####"
|
||
Var PD_STAGE_1 = "Disable2"
|
||
Var PD_STAGE_2 = $12-01-02-0026.Button
|
||
Var PD_STAGE_3 = "Disable2"
|
||
Var OverlayMenuFilter !assigned xmlpro( 12-01-02-0026, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi2.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-01-02-0026"
|
||
Else
|
||
If PD_STAGE_1 = "Enable" Then
|
||
Topping "Load" "-"
|
||
Else
|
||
Topping "Load" "-"
|
||
EndIf
|
||
EndIf
|
||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
||
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
||
Var menu_name_thai_hot = $##-##-##-####.Name
|
||
Var menu_desc_thai_hot = $##-##-##-####.description
|
||
|
||
Var menu_name_eng_cold = $12-01-02-0026.NameE
|
||
Var menu_desc_eng_cold = $12-01-02-0026.descriptionE
|
||
Var menu_name_thai_cold = $12-01-02-0026.Name
|
||
Var menu_desc_thai_cold = $12-01-02-0026.description
|
||
|
||
Var menu_name_eng_blender = $##-##-##-####.NameE
|
||
Var menu_desc_eng_blender = $##-##-##-####.descriptionE
|
||
Var menu_name_thai_blender = $##-##-##-####.Name
|
||
Var menu_desc_thai_blender = $##-##-##-####.description
|
||
|
||
DEBUGVAR PD_STAGE_1
|
||
DEBUGVAR PD_STAGE_2
|
||
DEBUGVAR PD_STAGE_3
|
||
Var SelectDrinkType = 0
|
||
|
||
|
||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
||
|
||
</EventOnClick>
|
||
</Button>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 164 </Y>
|
||
<Size> 24 </Size>
|
||
<Width>220</Width>
|
||
<Mode> "multi2" </Mode>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x322B26 </Color>
|
||
<State> showthaiText </State>
|
||
<Value> "Whisky Dude
|
||
Almost Dirty" </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> "Washed Sherry cask ferment
|
||
หอมวิสกี้ ช็อกโกแลต วนิลา" </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> "Whisky Dude
|
||
Almost Dirty" </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> "Washed Sherry Cask Ferment
|
||
note: Whisky & Vanilla" </Value>
|
||
</Text>
|
||
<Image>
|
||
<X> 16 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "option_deactive.png" ) </Filename>
|
||
</Image>
|
||
<Image>
|
||
<X> 16 </X>
|
||
<Y> 264 </Y>
|
||
<State> "Invisible" </State>
|
||
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
|
||
</Image>
|
||
<Text>
|
||
<X> 50 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> "Invisible" </State>
|
||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
||
<State> $12-01-02-0026.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-01-02-0026.Button </State>
|
||
<Value> StringFmt( $12-01-02-0026.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 146 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||
<State> "Invisible" </State>
|
||
</Image>
|
||
<Text>
|
||
<X> 180 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitRegularTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> "Invisible" </State>
|
||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<State>
|
||
eval(
|
||
If ICE_PROCESS_STATUS = 2 Then
|
||
|
||
Var ice_tab_process_show = "Invisible"
|
||
|
||
Else
|
||
Var ice_tab_process_show = "Invisible"
|
||
EndIf
|
||
Var return = ice_tab_process_show
|
||
)
|
||
</State>
|
||
<Filename> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </Filename>
|
||
<FilenameDisable> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </FilenameDisable>
|
||
</Image>
|
||
<Image>
|
||
<X> 49 </X>
|
||
<Y> 117 </Y>
|
||
<State>
|
||
eval(
|
||
If $Sum1201020026 = "Disable" Then
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||
STRCONTAIN "ERR" $12-01-02-0026.TAG tag2_is_disable
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||
Var return = "Invisible"
|
||
If tag1_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag2_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag3_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
Else
|
||
Var return = "Invisible"
|
||
EndIf
|
||
)
|
||
</State>
|
||
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
||
</Image>
|
||
<Text>
|
||
<X> 84 </X>
|
||
<Y> 266 </Y>
|
||
<Size> 10 </Size>
|
||
<Font> OpunMediumTTF </Font>
|
||
<Color> 0xDE794E </Color>
|
||
<State> ice_tab_process_show </State>
|
||
<Value> ice_show_open </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 48 </X>
|
||
<Y> 116 </Y>
|
||
<Size> 32 </Size>
|
||
<Width>128</Width>
|
||
<Height>64</Height>
|
||
<Font> MITRegularTTF </Font>
|
||
<Color> 0x5A5A5A </Color>
|
||
<Mode> "disable-show" </Mode>
|
||
<State> $Sum1201020026 </State>
|
||
<Value> text_unavailable </Value>
|
||
<Align> center-vertical-horizontal </Align>
|
||
</Text>
|
||
</Block>
|
||
; - - -
|
||
; ==================> Len = 21
|
||
; - 12-01-02-0024 -
|
||
<Block>
|
||
<MarginLeft> 33 </MarginLeft>
|
||
<MarginTop> 22 </MarginTop>
|
||
<Width> 225 </Width>
|
||
<Height> 296 </Height>
|
||
<State> Flag( 12-01-02-0024.Button,$Sum1201020024) </State>
|
||
<Button>
|
||
<State> $Sum1201020024 </State>
|
||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_dirty_light__snowwhite.png" </Filename>
|
||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_dirty_light__snowwhite.png" </FilenamePress>
|
||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_dirty_light__snowwhite.png" </FilenameDisable>
|
||
<OverlayImage> xmlpro( 12-01-02-0024, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi2.png") </OverlayImage>
|
||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||
<Volume> SoundVolume </Volume>
|
||
<EventOnClick>
|
||
Var NameDrink = "Snowwhite Almost Dirty"
|
||
Var NameDrinkTH = "Snowwhite Almost Dirty"
|
||
Var DrinkDescriptionTH = "Anaerobic process หอมมะลิ น้ำผึ้ง เมเปิล"
|
||
Var DrinkDescription = "Anaerobic Process note: Jasmine & Honey"
|
||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_dirty_light__snowwhite.png"
|
||
Var OpenFromXML = CurrentXMLFileName2
|
||
Var PriceD1 = $-.Price
|
||
Var PriceD2 = $12-01-02-0024.Price
|
||
Var PriceD3 = $-.Price
|
||
Var PD_CODE1 = "##-##-##-####"
|
||
Var PD_CODE2 = "12-01-02-0024"
|
||
Var PD_CODE3 = "##-##-##-####"
|
||
Var PD_STAGE_1 = "Disable2"
|
||
Var PD_STAGE_2 = $12-01-02-0024.Button
|
||
Var PD_STAGE_3 = "Disable2"
|
||
Var OverlayMenuFilter !assigned xmlpro( 12-01-02-0024, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi2.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-01-02-0024"
|
||
Else
|
||
If PD_STAGE_1 = "Enable" Then
|
||
Topping "Load" "-"
|
||
Else
|
||
Topping "Load" "-"
|
||
EndIf
|
||
EndIf
|
||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
||
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
||
Var menu_name_thai_hot = $##-##-##-####.Name
|
||
Var menu_desc_thai_hot = $##-##-##-####.description
|
||
|
||
Var menu_name_eng_cold = $12-01-02-0024.NameE
|
||
Var menu_desc_eng_cold = $12-01-02-0024.descriptionE
|
||
Var menu_name_thai_cold = $12-01-02-0024.Name
|
||
Var menu_desc_thai_cold = $12-01-02-0024.description
|
||
|
||
Var menu_name_eng_blender = $##-##-##-####.NameE
|
||
Var menu_desc_eng_blender = $##-##-##-####.descriptionE
|
||
Var menu_name_thai_blender = $##-##-##-####.Name
|
||
Var menu_desc_thai_blender = $##-##-##-####.description
|
||
|
||
DEBUGVAR PD_STAGE_1
|
||
DEBUGVAR PD_STAGE_2
|
||
DEBUGVAR PD_STAGE_3
|
||
Var SelectDrinkType = 0
|
||
|
||
|
||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
||
|
||
</EventOnClick>
|
||
</Button>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 164 </Y>
|
||
<Size> 24 </Size>
|
||
<Width>220</Width>
|
||
<Mode> "multi2" </Mode>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x322B26 </Color>
|
||
<State> showthaiText </State>
|
||
<Value> "Snowwhite
|
||
Almost Dirty" </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> "Anaerobic process
|
||
หอมมะลิ น้ำผึ้ง เมเปิล" </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> "Snowwhite
|
||
Almost Dirty" </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> "Anaerobic Process
|
||
note: Jasmine & Honey" </Value>
|
||
</Text>
|
||
<Image>
|
||
<X> 16 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "option_deactive.png" ) </Filename>
|
||
</Image>
|
||
<Image>
|
||
<X> 16 </X>
|
||
<Y> 264 </Y>
|
||
<State> "Invisible" </State>
|
||
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
|
||
</Image>
|
||
<Text>
|
||
<X> 50 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> "Invisible" </State>
|
||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
||
<State> $12-01-02-0024.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-01-02-0024.Button </State>
|
||
<Value> StringFmt( $12-01-02-0024.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 146 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||
<State> "Invisible" </State>
|
||
</Image>
|
||
<Text>
|
||
<X> 180 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitRegularTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> "Invisible" </State>
|
||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<State>
|
||
eval(
|
||
If ICE_PROCESS_STATUS = 2 Then
|
||
|
||
Var ice_tab_process_show = "Invisible"
|
||
|
||
Else
|
||
Var ice_tab_process_show = "Invisible"
|
||
EndIf
|
||
Var return = ice_tab_process_show
|
||
)
|
||
</State>
|
||
<Filename> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </Filename>
|
||
<FilenameDisable> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </FilenameDisable>
|
||
</Image>
|
||
<Image>
|
||
<X> 49 </X>
|
||
<Y> 117 </Y>
|
||
<State>
|
||
eval(
|
||
If $Sum1201020024 = "Disable" Then
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||
STRCONTAIN "ERR" $12-01-02-0024.TAG tag2_is_disable
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||
Var return = "Invisible"
|
||
If tag1_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag2_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag3_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
Else
|
||
Var return = "Invisible"
|
||
EndIf
|
||
)
|
||
</State>
|
||
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
||
</Image>
|
||
<Text>
|
||
<X> 84 </X>
|
||
<Y> 266 </Y>
|
||
<Size> 10 </Size>
|
||
<Font> OpunMediumTTF </Font>
|
||
<Color> 0xDE794E </Color>
|
||
<State> ice_tab_process_show </State>
|
||
<Value> ice_show_open </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 48 </X>
|
||
<Y> 116 </Y>
|
||
<Size> 32 </Size>
|
||
<Width>128</Width>
|
||
<Height>64</Height>
|
||
<Font> MITRegularTTF </Font>
|
||
<Color> 0x5A5A5A </Color>
|
||
<Mode> "disable-show" </Mode>
|
||
<State> $Sum1201020024 </State>
|
||
<Value> text_unavailable </Value>
|
||
<Align> center-vertical-horizontal </Align>
|
||
</Text>
|
||
</Block>
|
||
; - - -
|
||
; ==================> Len = 21
|
||
; - 12-01-02-0018 -
|
||
<Block>
|
||
<MarginLeft> 33 </MarginLeft>
|
||
<MarginTop> 22 </MarginTop>
|
||
<Width> 225 </Width>
|
||
<Height> 296 </Height>
|
||
<State> Flag( 12-01-02-0018.Button,$Sum1201020018) </State>
|
||
<Button>
|
||
<State> $Sum1201020018 </State>
|
||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_dirty_light.png" </Filename>
|
||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_dirty_light.png" </FilenamePress>
|
||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_dirty_light.png" </FilenameDisable>
|
||
<OverlayImage> xmlpro( 12-01-02-0018, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi2.png") </OverlayImage>
|
||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||
<Volume> SoundVolume </Volume>
|
||
<EventOnClick>
|
||
Var NameDrink = "Queen Berry Almost Dirty"
|
||
Var NameDrinkTH = "Queen Berry Almost Dirty"
|
||
Var DrinkDescriptionTH = "กาแฟคั่วอ่อน (washed process) หอมสตรอว์เบอร์รี ส้ม และดอกไม้"
|
||
Var DrinkDescription = "Light Roast Natural Process: strawberry, Orange, Floral"
|
||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_dirty_light.png"
|
||
Var OpenFromXML = CurrentXMLFileName2
|
||
Var PriceD1 = $-.Price
|
||
Var PriceD2 = $12-01-02-0018.Price
|
||
Var PriceD3 = $-.Price
|
||
Var PD_CODE1 = "##-##-##-####"
|
||
Var PD_CODE2 = "12-01-02-0018"
|
||
Var PD_CODE3 = "##-##-##-####"
|
||
Var PD_STAGE_1 = "Disable2"
|
||
Var PD_STAGE_2 = $12-01-02-0018.Button
|
||
Var PD_STAGE_3 = "Disable2"
|
||
Var OverlayMenuFilter !assigned xmlpro( 12-01-02-0018, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi2.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-01-02-0018"
|
||
Else
|
||
If PD_STAGE_1 = "Enable" Then
|
||
Topping "Load" "-"
|
||
Else
|
||
Topping "Load" "-"
|
||
EndIf
|
||
EndIf
|
||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
||
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
||
Var menu_name_thai_hot = $##-##-##-####.Name
|
||
Var menu_desc_thai_hot = $##-##-##-####.description
|
||
|
||
Var menu_name_eng_cold = $12-01-02-0018.NameE
|
||
Var menu_desc_eng_cold = $12-01-02-0018.descriptionE
|
||
Var menu_name_thai_cold = $12-01-02-0018.Name
|
||
Var menu_desc_thai_cold = $12-01-02-0018.description
|
||
|
||
Var menu_name_eng_blender = $##-##-##-####.NameE
|
||
Var menu_desc_eng_blender = $##-##-##-####.descriptionE
|
||
Var menu_name_thai_blender = $##-##-##-####.Name
|
||
Var menu_desc_thai_blender = $##-##-##-####.description
|
||
|
||
DEBUGVAR PD_STAGE_1
|
||
DEBUGVAR PD_STAGE_2
|
||
DEBUGVAR PD_STAGE_3
|
||
Var SelectDrinkType = 0
|
||
|
||
|
||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
||
|
||
</EventOnClick>
|
||
</Button>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 164 </Y>
|
||
<Size> 24 </Size>
|
||
<Width>220</Width>
|
||
<Mode> "multi2" </Mode>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x322B26 </Color>
|
||
<State> showthaiText </State>
|
||
<Value> "Queen Berry
|
||
Almost Dirty" </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> "กาแฟคั่วอ่อน (washed process)
|
||
หอมสตรอว์เบอร์รี ส้ม และดอกไม้" </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> "Queen Berry
|
||
Almost Dirty" </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> "Light Roast Natural Process:
|
||
strawberry, Orange, Floral" </Value>
|
||
</Text>
|
||
<Image>
|
||
<X> 16 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "option_deactive.png" ) </Filename>
|
||
</Image>
|
||
<Image>
|
||
<X> 16 </X>
|
||
<Y> 264 </Y>
|
||
<State> "Invisible" </State>
|
||
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
|
||
</Image>
|
||
<Text>
|
||
<X> 50 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> "Invisible" </State>
|
||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
||
<State> $12-01-02-0018.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-01-02-0018.Button </State>
|
||
<Value> StringFmt( $12-01-02-0018.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 146 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||
<State> "Invisible" </State>
|
||
</Image>
|
||
<Text>
|
||
<X> 180 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitRegularTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> "Invisible" </State>
|
||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<State>
|
||
eval(
|
||
If ICE_PROCESS_STATUS = 2 Then
|
||
|
||
Var ice_tab_process_show = "Invisible"
|
||
|
||
Else
|
||
Var ice_tab_process_show = "Invisible"
|
||
EndIf
|
||
Var return = ice_tab_process_show
|
||
)
|
||
</State>
|
||
<Filename> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </Filename>
|
||
<FilenameDisable> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </FilenameDisable>
|
||
</Image>
|
||
<Image>
|
||
<X> 49 </X>
|
||
<Y> 117 </Y>
|
||
<State>
|
||
eval(
|
||
If $Sum1201020018 = "Disable" Then
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||
STRCONTAIN "ERR" $12-01-02-0018.TAG tag2_is_disable
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||
Var return = "Invisible"
|
||
If tag1_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag2_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag3_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
Else
|
||
Var return = "Invisible"
|
||
EndIf
|
||
)
|
||
</State>
|
||
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
||
</Image>
|
||
<Text>
|
||
<X> 84 </X>
|
||
<Y> 266 </Y>
|
||
<Size> 10 </Size>
|
||
<Font> OpunMediumTTF </Font>
|
||
<Color> 0xDE794E </Color>
|
||
<State> ice_tab_process_show </State>
|
||
<Value> ice_show_open </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 48 </X>
|
||
<Y> 116 </Y>
|
||
<Size> 32 </Size>
|
||
<Width>128</Width>
|
||
<Height>64</Height>
|
||
<Font> MITRegularTTF </Font>
|
||
<Color> 0x5A5A5A </Color>
|
||
<Mode> "disable-show" </Mode>
|
||
<State> $Sum1201020018 </State>
|
||
<Value> text_unavailable </Value>
|
||
<Align> center-vertical-horizontal </Align>
|
||
</Text>
|
||
</Block>
|
||
; - - -
|
||
; ==================> Len = 21
|
||
; - 12-01-02-0028 -
|
||
<Block>
|
||
<MarginLeft> 33 </MarginLeft>
|
||
<MarginTop> 22 </MarginTop>
|
||
<Width> 225 </Width>
|
||
<Height> 296 </Height>
|
||
<State> Flag( 12-01-02-0028.Button,$Sum1201020028) </State>
|
||
<Button>
|
||
<State> $Sum1201020028 </State>
|
||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_dirty_light__peacher.png" </Filename>
|
||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_dirty_light__peacher.png" </FilenamePress>
|
||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_dirty_light__peacher.png" </FilenameDisable>
|
||
<OverlayImage> xmlpro( 12-01-02-0028, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi2.png") </OverlayImage>
|
||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||
<Volume> SoundVolume </Volume>
|
||
<EventOnClick>
|
||
Var NameDrink = "Peacher Almost Dirty"
|
||
Var NameDrinkTH = "Peacher Almost Dirty"
|
||
Var DrinkDescriptionTH = "Barrel-aged process หอมพีช, ชา, ช็อกโกแลต"
|
||
Var DrinkDescription = "Barrel-Aged Process note: Peach, Tea, Chocolate"
|
||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_dirty_light__peacher.png"
|
||
Var OpenFromXML = CurrentXMLFileName2
|
||
Var PriceD1 = $-.Price
|
||
Var PriceD2 = $12-01-02-0028.Price
|
||
Var PriceD3 = $-.Price
|
||
Var PD_CODE1 = "##-##-##-####"
|
||
Var PD_CODE2 = "12-01-02-0028"
|
||
Var PD_CODE3 = "##-##-##-####"
|
||
Var PD_STAGE_1 = "Disable2"
|
||
Var PD_STAGE_2 = $12-01-02-0028.Button
|
||
Var PD_STAGE_3 = "Disable2"
|
||
Var OverlayMenuFilter !assigned xmlpro( 12-01-02-0028, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi2.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-01-02-0028"
|
||
Else
|
||
If PD_STAGE_1 = "Enable" Then
|
||
Topping "Load" "-"
|
||
Else
|
||
Topping "Load" "-"
|
||
EndIf
|
||
EndIf
|
||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
||
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
||
Var menu_name_thai_hot = $##-##-##-####.Name
|
||
Var menu_desc_thai_hot = $##-##-##-####.description
|
||
|
||
Var menu_name_eng_cold = $12-01-02-0028.NameE
|
||
Var menu_desc_eng_cold = $12-01-02-0028.descriptionE
|
||
Var menu_name_thai_cold = $12-01-02-0028.Name
|
||
Var menu_desc_thai_cold = $12-01-02-0028.description
|
||
|
||
Var menu_name_eng_blender = $##-##-##-####.NameE
|
||
Var menu_desc_eng_blender = $##-##-##-####.descriptionE
|
||
Var menu_name_thai_blender = $##-##-##-####.Name
|
||
Var menu_desc_thai_blender = $##-##-##-####.description
|
||
|
||
DEBUGVAR PD_STAGE_1
|
||
DEBUGVAR PD_STAGE_2
|
||
DEBUGVAR PD_STAGE_3
|
||
Var SelectDrinkType = 0
|
||
|
||
|
||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
||
|
||
</EventOnClick>
|
||
</Button>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 164 </Y>
|
||
<Size> 24 </Size>
|
||
<Width>220</Width>
|
||
<Mode> "multi2" </Mode>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x322B26 </Color>
|
||
<State> showthaiText </State>
|
||
<Value> "Peacher
|
||
Almost Dirty" </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> "Barrel-aged process
|
||
หอมพีช, ชา, ช็อกโกแลต" </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> "Peacher
|
||
Almost Dirty" </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> "Barrel-Aged Process
|
||
note: Peach, Tea, Chocolate" </Value>
|
||
</Text>
|
||
<Image>
|
||
<X> 16 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "option_deactive.png" ) </Filename>
|
||
</Image>
|
||
<Image>
|
||
<X> 16 </X>
|
||
<Y> 264 </Y>
|
||
<State> "Invisible" </State>
|
||
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
|
||
</Image>
|
||
<Text>
|
||
<X> 50 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> "Invisible" </State>
|
||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
||
<State> $12-01-02-0028.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-01-02-0028.Button </State>
|
||
<Value> StringFmt( $12-01-02-0028.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 146 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||
<State> "Invisible" </State>
|
||
</Image>
|
||
<Text>
|
||
<X> 180 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitRegularTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> "Invisible" </State>
|
||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<State>
|
||
eval(
|
||
If ICE_PROCESS_STATUS = 2 Then
|
||
|
||
Var ice_tab_process_show = "Invisible"
|
||
|
||
Else
|
||
Var ice_tab_process_show = "Invisible"
|
||
EndIf
|
||
Var return = ice_tab_process_show
|
||
)
|
||
</State>
|
||
<Filename> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </Filename>
|
||
<FilenameDisable> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </FilenameDisable>
|
||
</Image>
|
||
<Image>
|
||
<X> 49 </X>
|
||
<Y> 117 </Y>
|
||
<State>
|
||
eval(
|
||
If $Sum1201020028 = "Disable" Then
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||
STRCONTAIN "ERR" $12-01-02-0028.TAG tag2_is_disable
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||
Var return = "Invisible"
|
||
If tag1_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag2_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag3_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
Else
|
||
Var return = "Invisible"
|
||
EndIf
|
||
)
|
||
</State>
|
||
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
||
</Image>
|
||
<Text>
|
||
<X> 84 </X>
|
||
<Y> 266 </Y>
|
||
<Size> 10 </Size>
|
||
<Font> OpunMediumTTF </Font>
|
||
<Color> 0xDE794E </Color>
|
||
<State> ice_tab_process_show </State>
|
||
<Value> ice_show_open </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 48 </X>
|
||
<Y> 116 </Y>
|
||
<Size> 32 </Size>
|
||
<Width>128</Width>
|
||
<Height>64</Height>
|
||
<Font> MITRegularTTF </Font>
|
||
<Color> 0x5A5A5A </Color>
|
||
<Mode> "disable-show" </Mode>
|
||
<State> $Sum1201020028 </State>
|
||
<Value> text_unavailable </Value>
|
||
<Align> center-vertical-horizontal </Align>
|
||
</Text>
|
||
</Block>
|
||
; - - -
|
||
; ==================> Len = 21
|
||
; - 12-01-02-0033 -
|
||
<Block>
|
||
<MarginLeft> 33 </MarginLeft>
|
||
<MarginTop> 22 </MarginTop>
|
||
<Width> 225 </Width>
|
||
<Height> 296 </Height>
|
||
<State> Flag( 12-01-02-0033.Button,$Sum1201020033) </State>
|
||
<Button>
|
||
<State> $Sum1201020033 </State>
|
||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_dirty_light_pure_beauty.png" </Filename>
|
||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_dirty_light_pure_beauty.png" </FilenamePress>
|
||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_dirty_light_pure_beauty.png" </FilenameDisable>
|
||
<OverlayImage> xmlpro( 12-01-02-0033, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi2.png") </OverlayImage>
|
||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||
<Volume> SoundVolume </Volume>
|
||
<EventOnClick>
|
||
Var NameDrink = "Pure Beauty Almost Dirty"
|
||
Var NameDrinkTH = "Pure Beauty Almost Dirty"
|
||
Var DrinkDescriptionTH = "กาแฟคั่วอ่อน (natural process) กลิ่นดอกไม้ ผลไม้เขตร้อน"
|
||
Var DrinkDescription = "Light Roast (Natural Process) Note: Floral & Tropical Fruit"
|
||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_dirty_light_pure_beauty.png"
|
||
Var OpenFromXML = CurrentXMLFileName2
|
||
Var PriceD1 = $-.Price
|
||
Var PriceD2 = $12-01-02-0033.Price
|
||
Var PriceD3 = $-.Price
|
||
Var PD_CODE1 = "##-##-##-####"
|
||
Var PD_CODE2 = "12-01-02-0033"
|
||
Var PD_CODE3 = "##-##-##-####"
|
||
Var PD_STAGE_1 = "Disable2"
|
||
Var PD_STAGE_2 = $12-01-02-0033.Button
|
||
Var PD_STAGE_3 = "Disable2"
|
||
Var OverlayMenuFilter !assigned xmlpro( 12-01-02-0033, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi2.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-01-02-0033"
|
||
Else
|
||
If PD_STAGE_1 = "Enable" Then
|
||
Topping "Load" "-"
|
||
Else
|
||
Topping "Load" "-"
|
||
EndIf
|
||
EndIf
|
||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
||
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
||
Var menu_name_thai_hot = $##-##-##-####.Name
|
||
Var menu_desc_thai_hot = $##-##-##-####.description
|
||
|
||
Var menu_name_eng_cold = $12-01-02-0033.NameE
|
||
Var menu_desc_eng_cold = $12-01-02-0033.descriptionE
|
||
Var menu_name_thai_cold = $12-01-02-0033.Name
|
||
Var menu_desc_thai_cold = $12-01-02-0033.description
|
||
|
||
Var menu_name_eng_blender = $##-##-##-####.NameE
|
||
Var menu_desc_eng_blender = $##-##-##-####.descriptionE
|
||
Var menu_name_thai_blender = $##-##-##-####.Name
|
||
Var menu_desc_thai_blender = $##-##-##-####.description
|
||
|
||
DEBUGVAR PD_STAGE_1
|
||
DEBUGVAR PD_STAGE_2
|
||
DEBUGVAR PD_STAGE_3
|
||
Var SelectDrinkType = 0
|
||
|
||
|
||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
||
|
||
</EventOnClick>
|
||
</Button>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 164 </Y>
|
||
<Size> 24 </Size>
|
||
<Width>220</Width>
|
||
<Mode> "multi2" </Mode>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x322B26 </Color>
|
||
<State> showthaiText </State>
|
||
<Value> "Pure Beauty
|
||
Almost Dirty" </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> "กาแฟคั่วอ่อน (natural process)
|
||
กลิ่นดอกไม้ ผลไม้เขตร้อน" </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> "Pure Beauty
|
||
Almost Dirty" </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> "Light Roast (Natural Process) Note: Floral & Tropical Fruit" </Value>
|
||
</Text>
|
||
<Image>
|
||
<X> 16 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "option_deactive.png" ) </Filename>
|
||
</Image>
|
||
<Image>
|
||
<X> 16 </X>
|
||
<Y> 264 </Y>
|
||
<State> "Invisible" </State>
|
||
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
|
||
</Image>
|
||
<Text>
|
||
<X> 50 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> "Invisible" </State>
|
||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
||
<State> $12-01-02-0033.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-01-02-0033.Button </State>
|
||
<Value> StringFmt( $12-01-02-0033.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 146 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||
<State> "Invisible" </State>
|
||
</Image>
|
||
<Text>
|
||
<X> 180 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitRegularTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> "Invisible" </State>
|
||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<State>
|
||
eval(
|
||
If ICE_PROCESS_STATUS = 2 Then
|
||
|
||
Var ice_tab_process_show = "Invisible"
|
||
|
||
Else
|
||
Var ice_tab_process_show = "Invisible"
|
||
EndIf
|
||
Var return = ice_tab_process_show
|
||
)
|
||
</State>
|
||
<Filename> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </Filename>
|
||
<FilenameDisable> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </FilenameDisable>
|
||
</Image>
|
||
<Image>
|
||
<X> 49 </X>
|
||
<Y> 117 </Y>
|
||
<State>
|
||
eval(
|
||
If $Sum1201020033 = "Disable" Then
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||
STRCONTAIN "ERR" $12-01-02-0033.TAG tag2_is_disable
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||
Var return = "Invisible"
|
||
If tag1_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag2_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag3_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
Else
|
||
Var return = "Invisible"
|
||
EndIf
|
||
)
|
||
</State>
|
||
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
||
</Image>
|
||
<Text>
|
||
<X> 84 </X>
|
||
<Y> 266 </Y>
|
||
<Size> 10 </Size>
|
||
<Font> OpunMediumTTF </Font>
|
||
<Color> 0xDE794E </Color>
|
||
<State> ice_tab_process_show </State>
|
||
<Value> ice_show_open </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 48 </X>
|
||
<Y> 116 </Y>
|
||
<Size> 32 </Size>
|
||
<Width>128</Width>
|
||
<Height>64</Height>
|
||
<Font> MITRegularTTF </Font>
|
||
<Color> 0x5A5A5A </Color>
|
||
<Mode> "disable-show" </Mode>
|
||
<State> $Sum1201020033 </State>
|
||
<Value> text_unavailable </Value>
|
||
<Align> center-vertical-horizontal </Align>
|
||
</Text>
|
||
</Block>
|
||
; - - -
|
||
; ==================> Len = 21
|
||
; - 12-01-02-0037 -
|
||
<Block>
|
||
<MarginLeft> 33 </MarginLeft>
|
||
<MarginTop> 22 </MarginTop>
|
||
<Width> 225 </Width>
|
||
<Height> 296 </Height>
|
||
<State> Flag( 12-01-02-0037.Button,$Sum1201020037) </State>
|
||
<Button>
|
||
<State> $Sum1201020037 </State>
|
||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_dirty_light_rosalyn.png" </Filename>
|
||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_dirty_light_rosalyn.png" </FilenamePress>
|
||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_dirty_light_rosalyn.png" </FilenameDisable>
|
||
<OverlayImage> xmlpro( 12-01-02-0037, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi2.png") </OverlayImage>
|
||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||
<Volume> SoundVolume </Volume>
|
||
<EventOnClick>
|
||
Var NameDrink = "Rosalyn Almost Dirty"
|
||
Var NameDrinkTH = "Rosalyn Almost Dirty"
|
||
Var DrinkDescriptionTH = "กาแฟคั่วอ่อน (washed process) กลิ่นกุหลาบ และ เบอร์รี่"
|
||
Var DrinkDescription = "Light Roast (Natural Process) pink Rose & Berry"
|
||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_dirty_light_rosalyn.png"
|
||
Var OpenFromXML = CurrentXMLFileName2
|
||
Var PriceD1 = $-.Price
|
||
Var PriceD2 = $12-01-02-0037.Price
|
||
Var PriceD3 = $-.Price
|
||
Var PD_CODE1 = "##-##-##-####"
|
||
Var PD_CODE2 = "12-01-02-0037"
|
||
Var PD_CODE3 = "##-##-##-####"
|
||
Var PD_STAGE_1 = "Disable2"
|
||
Var PD_STAGE_2 = $12-01-02-0037.Button
|
||
Var PD_STAGE_3 = "Disable2"
|
||
Var OverlayMenuFilter !assigned xmlpro( 12-01-02-0037, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi2.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-01-02-0037"
|
||
Else
|
||
If PD_STAGE_1 = "Enable" Then
|
||
Topping "Load" "-"
|
||
Else
|
||
Topping "Load" "-"
|
||
EndIf
|
||
EndIf
|
||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
||
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
||
Var menu_name_thai_hot = $##-##-##-####.Name
|
||
Var menu_desc_thai_hot = $##-##-##-####.description
|
||
|
||
Var menu_name_eng_cold = $12-01-02-0037.NameE
|
||
Var menu_desc_eng_cold = $12-01-02-0037.descriptionE
|
||
Var menu_name_thai_cold = $12-01-02-0037.Name
|
||
Var menu_desc_thai_cold = $12-01-02-0037.description
|
||
|
||
Var menu_name_eng_blender = $##-##-##-####.NameE
|
||
Var menu_desc_eng_blender = $##-##-##-####.descriptionE
|
||
Var menu_name_thai_blender = $##-##-##-####.Name
|
||
Var menu_desc_thai_blender = $##-##-##-####.description
|
||
|
||
DEBUGVAR PD_STAGE_1
|
||
DEBUGVAR PD_STAGE_2
|
||
DEBUGVAR PD_STAGE_3
|
||
Var SelectDrinkType = 0
|
||
|
||
|
||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
||
|
||
</EventOnClick>
|
||
</Button>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 164 </Y>
|
||
<Size> 24 </Size>
|
||
<Width>220</Width>
|
||
<Mode> "multi2" </Mode>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x322B26 </Color>
|
||
<State> showthaiText </State>
|
||
<Value> "Rosalyn
|
||
Almost Dirty" </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> "กาแฟคั่วอ่อน (washed process)
|
||
กลิ่นกุหลาบ และ เบอร์รี่" </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> "Rosalyn
|
||
Almost Dirty" </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> "Light Roast (Natural Process)
|
||
pink Rose & Berry" </Value>
|
||
</Text>
|
||
<Image>
|
||
<X> 16 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "option_deactive.png" ) </Filename>
|
||
</Image>
|
||
<Image>
|
||
<X> 16 </X>
|
||
<Y> 264 </Y>
|
||
<State> "Invisible" </State>
|
||
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
|
||
</Image>
|
||
<Text>
|
||
<X> 50 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> "Invisible" </State>
|
||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
||
<State> $12-01-02-0037.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-01-02-0037.Button </State>
|
||
<Value> StringFmt( $12-01-02-0037.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 146 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||
<State> "Invisible" </State>
|
||
</Image>
|
||
<Text>
|
||
<X> 180 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitRegularTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> "Invisible" </State>
|
||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<State>
|
||
eval(
|
||
If ICE_PROCESS_STATUS = 2 Then
|
||
|
||
Var ice_tab_process_show = "Invisible"
|
||
|
||
Else
|
||
Var ice_tab_process_show = "Invisible"
|
||
EndIf
|
||
Var return = ice_tab_process_show
|
||
)
|
||
</State>
|
||
<Filename> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </Filename>
|
||
<FilenameDisable> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </FilenameDisable>
|
||
</Image>
|
||
<Image>
|
||
<X> 49 </X>
|
||
<Y> 117 </Y>
|
||
<State>
|
||
eval(
|
||
If $Sum1201020037 = "Disable" Then
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||
STRCONTAIN "ERR" $12-01-02-0037.TAG tag2_is_disable
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||
Var return = "Invisible"
|
||
If tag1_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag2_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag3_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
Else
|
||
Var return = "Invisible"
|
||
EndIf
|
||
)
|
||
</State>
|
||
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
||
</Image>
|
||
<Text>
|
||
<X> 84 </X>
|
||
<Y> 266 </Y>
|
||
<Size> 10 </Size>
|
||
<Font> OpunMediumTTF </Font>
|
||
<Color> 0xDE794E </Color>
|
||
<State> ice_tab_process_show </State>
|
||
<Value> ice_show_open </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 48 </X>
|
||
<Y> 116 </Y>
|
||
<Size> 32 </Size>
|
||
<Width>128</Width>
|
||
<Height>64</Height>
|
||
<Font> MITRegularTTF </Font>
|
||
<Color> 0x5A5A5A </Color>
|
||
<Mode> "disable-show" </Mode>
|
||
<State> $Sum1201020037 </State>
|
||
<Value> text_unavailable </Value>
|
||
<Align> center-vertical-horizontal </Align>
|
||
</Text>
|
||
</Block>
|
||
; - - -
|
||
; ==================> Len = 21
|
||
; - 12-11-02-0001 12-11-03-0001
|
||
<Block>
|
||
<MarginLeft> 33 </MarginLeft>
|
||
<MarginTop> 22 </MarginTop>
|
||
<Width> 225 </Width>
|
||
<Height> 296 </Height>
|
||
<State> Flag( 12-11-02-0001.Button,12-11-03-0001.Button,$Sum12110200011211030001) </State>
|
||
<Button>
|
||
<State> $Sum12110200011211030001 </State>
|
||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_epsresso.png" </Filename>
|
||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_iced_epsresso.png" </FilenamePress>
|
||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_iced_epsresso.png" </FilenameDisable>
|
||
<OverlayImage> xmlpro( 12-11-03-0001, "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 = "Thai Iced Espresso"
|
||
Var NameDrinkTH = "เอสเย็นแบบไทยๆ"
|
||
Var DrinkDescriptionTH = "กาแฟ นม และ น้ำแข็ง"
|
||
Var DrinkDescription = "Espresso, Milk, Sugar,Ice"
|
||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_iced_epsresso.png"
|
||
Var OpenFromXML = CurrentXMLFileName2
|
||
Var PriceD1 = $-.Price
|
||
Var PriceD2 = $12-11-02-0001.Price
|
||
Var PriceD3 = $12-11-03-0001.Price
|
||
Var PD_CODE1 = "##-##-##-####"
|
||
Var PD_CODE2 = "12-11-02-0001"
|
||
Var PD_CODE3 = "12-11-03-0001"
|
||
Var PD_STAGE_1 = "Disable2"
|
||
Var PD_STAGE_2 = $12-11-02-0001.Button
|
||
Var PD_STAGE_3 = $12-11-03-0001.Button
|
||
Var OverlayMenuFilter !assigned xmlpro( 12-11-03-0001, "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-11-02-0001"
|
||
Else
|
||
If PD_STAGE_1 = "Enable" Then
|
||
Topping "Load" "-"
|
||
Else
|
||
Topping "Load" "12-11-03-0001"
|
||
EndIf
|
||
EndIf
|
||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
||
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
||
Var menu_name_thai_hot = $##-##-##-####.Name
|
||
Var menu_desc_thai_hot = $##-##-##-####.description
|
||
|
||
Var menu_name_eng_cold = $12-11-02-0001.NameE
|
||
Var menu_desc_eng_cold = $12-11-02-0001.descriptionE
|
||
Var menu_name_thai_cold = $12-11-02-0001.Name
|
||
Var menu_desc_thai_cold = $12-11-02-0001.description
|
||
|
||
Var menu_name_eng_blender = $12-11-03-0001.NameE
|
||
Var menu_desc_eng_blender = $12-11-03-0001.descriptionE
|
||
Var menu_name_thai_blender = $12-11-03-0001.Name
|
||
Var menu_desc_thai_blender = $12-11-03-0001.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> "Thai
|
||
Iced Espresso" </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> "Espresso, Milk, Sugar,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> $12-11-02-0001.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-11-02-0001.Button </State>
|
||
<Value> StringFmt( $12-11-02-0001.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-11-03-0001.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-11-03-0001.Button </State>
|
||
<Value> StringFmt( $12-11-03-0001.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 $Sum12110200011211030001 = "Disable" Then
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||
STRCONTAIN "ERR" $12-11-02-0001.TAG tag2_is_disable
|
||
STRCONTAIN "ERR" $12-11-03-0001.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> $Sum12110200011211030001 </State>
|
||
<Value> text_unavailable </Value>
|
||
<Align> center-vertical-horizontal </Align>
|
||
</Text>
|
||
</Block>
|
||
; - 12-31-02-0001 12-31-03-0001
|
||
<Block>
|
||
<MarginLeft> 33 </MarginLeft>
|
||
<MarginTop> 22 </MarginTop>
|
||
<Width> 225 </Width>
|
||
<Height> 296 </Height>
|
||
<State> Flag( 12-31-02-0001.Button,12-31-03-0001.Button,$Sum12310200011231030001) </State>
|
||
<Button>
|
||
<State> $Sum12310200011231030001 </State>
|
||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_epsresso.png" </Filename>
|
||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_iced_epsresso.png" </FilenamePress>
|
||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_iced_epsresso.png" </FilenameDisable>
|
||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||
<Volume> SoundVolume </Volume>
|
||
<OverlayImage> xmlpro( 12-31-03-0001, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||
<EventOnClick>
|
||
Var NameDrink = "Thai Iced Espresso"
|
||
Var NameDrinkTH = "เอสเย็นแบบไทยๆ"
|
||
Var DrinkDescriptionTH = "กาแฟ นม และ น้ำแข็ง"
|
||
Var DrinkDescription = "Espresso, Milk, Sugar,Ice"
|
||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_iced_epsresso.png"
|
||
Var OpenFromXML = CurrentXMLFileName2
|
||
Var PriceD1 = $-.Price
|
||
Var PriceD2 = $12-31-02-0001.Price
|
||
Var PriceD3 = $12-31-03-0001.Price
|
||
Var PD_CODE1 = "##-##-##-####"
|
||
Var PD_CODE2 = "12-31-02-0001"
|
||
Var PD_CODE3 = "12-31-03-0001"
|
||
Var PD_STAGE_1 = "Disable2"
|
||
Var PD_STAGE_2 = $12-31-02-0001.Button
|
||
Var PD_STAGE_3 = $12-31-03-0001.Button
|
||
Var OverlayMenuFilter !assigned xmlpro( 12-31-03-0001, "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-31-02-0001"
|
||
Else
|
||
If PD_STAGE_1 = "Enable" Then
|
||
Topping "Load" "-"
|
||
Else
|
||
Topping "Load" "12-31-03-0001"
|
||
EndIf
|
||
EndIf
|
||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
||
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
||
Var menu_name_thai_hot = $##-##-##-####.Name
|
||
Var menu_desc_thai_hot = $##-##-##-####.description
|
||
|
||
Var menu_name_eng_cold = $12-31-02-0001.NameE
|
||
Var menu_desc_eng_cold = $12-31-02-0001.descriptionE
|
||
Var menu_name_thai_cold = $12-31-02-0001.Name
|
||
Var menu_desc_thai_cold = $12-31-02-0001.description
|
||
|
||
Var menu_name_eng_blender = $12-31-03-0001.NameE
|
||
Var menu_desc_eng_blender = $12-31-03-0001.descriptionE
|
||
Var menu_name_thai_blender = $12-31-03-0001.Name
|
||
Var menu_desc_thai_blender = $12-31-03-0001.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> "Thai
|
||
Iced Espresso" </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> "Espresso, Milk, Sugar,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> $12-31-02-0001.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-31-02-0001.Button </State>
|
||
<Value> StringFmt( $12-31-02-0001.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-31-03-0001.Button </State>
|
||
</Image>
|
||
<Text>
|
||
<X> 183 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> $12-31-03-0001.Button </State>
|
||
<Value> StringFmt( $12-31-03-0001.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 $Sum12310200011231030001 = "Disable" Then
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||
STRCONTAIN "ERR" $12-31-02-0001.TAG tag2_is_disable
|
||
STRCONTAIN "ERR" $12-31-03-0001.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> $Sum12310200011231030001 </State>
|
||
<Value> text_unavailable </Value>
|
||
<Align> center-vertical-horizontal </Align>
|
||
</Text>
|
||
</Block>
|
||
; ==================> Len = 21
|
||
; 12-01-01-0004 12-01-02-0002 12-01-03-0002
|
||
<Block>
|
||
<MarginLeft> 33 </MarginLeft>
|
||
<MarginTop> 22 </MarginTop>
|
||
<Width> 225 </Width>
|
||
<Height> 296 </Height>
|
||
<State> Flag( 12-01-01-0004.Button,12-01-02-0002.Button,12-01-03-0002.Button,$Sum120101000412010200021201030002) </State>
|
||
<Button>
|
||
<State> $Sum120101000412010200021201030002 </State>
|
||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_latte.png" </Filename>
|
||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_latte.png" </FilenamePress>
|
||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_latte.png" </FilenameDisable>
|
||
<OverlayImage> xmlpro( 12-01-01-0004, "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 = "Latte"
|
||
Var NameDrinkTH = "ลาเต้"
|
||
Var DrinkDescriptionTH = "กาแฟ นม และ ฟองนม"
|
||
Var DrinkDescription = "Espresso, Milk, Foamed milk"
|
||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_latte.png"
|
||
Var OpenFromXML = CurrentXMLFileName2
|
||
Var PriceD1 = $12-01-01-0004.Price
|
||
Var PriceD2 = $12-01-02-0002.Price
|
||
Var PriceD3 = $12-01-03-0002.Price
|
||
Var PD_CODE1 = "12-01-01-0004"
|
||
Var PD_CODE2 = "12-01-02-0002"
|
||
Var PD_CODE3 = "12-01-03-0002"
|
||
Var PD_STAGE_1 = $12-01-01-0004.Button
|
||
Var PD_STAGE_2 = $12-01-02-0002.Button
|
||
Var PD_STAGE_3 = $12-01-03-0002.Button
|
||
Var OverlayMenuFilter !assigned xmlpro( 12-01-01-0004, "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-01-02-0002"
|
||
Else
|
||
If PD_STAGE_1 = "Enable" Then
|
||
Topping "Load" "12-01-01-0004"
|
||
Else
|
||
Topping "Load" "12-01-03-0002"
|
||
EndIf
|
||
EndIf
|
||
Var menu_name_eng_hot = $12-01-01-0004.NameE
|
||
Var menu_desc_eng_hot = $12-01-01-0004.descriptionE
|
||
Var menu_name_thai_hot = $12-01-01-0004.Name
|
||
Var menu_desc_thai_hot = $12-01-01-0004.description
|
||
|
||
Var menu_name_eng_cold = $12-01-02-0002.NameE
|
||
Var menu_desc_eng_cold = $12-01-02-0002.descriptionE
|
||
Var menu_name_thai_cold = $12-01-02-0002.Name
|
||
Var menu_desc_thai_cold = $12-01-02-0002.description
|
||
|
||
Var menu_name_eng_blender = $12-01-03-0002.NameE
|
||
Var menu_desc_eng_blender = $12-01-03-0002.descriptionE
|
||
Var menu_name_thai_blender = $12-01-03-0002.Name
|
||
Var menu_desc_thai_blender = $12-01-03-0002.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> "Latte" </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> "Espresso, Milk, Foamed milk" </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-01-01-0004.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-01-01-0004.Button </State>
|
||
<Value> StringFmt( $12-01-01-0004.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-01-02-0002.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-01-02-0002.Button </State>
|
||
<Value> StringFmt( $12-01-02-0002.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-01-03-0002.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-01-03-0002.Button </State>
|
||
<Value> StringFmt( $12-01-03-0002.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<State>
|
||
eval(
|
||
If ICE_PROCESS_STATUS = 2 Then
|
||
|
||
If $Sum120101000412010200021201030002 = "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 $Sum120101000412010200021201030002 = "Disable" Then
|
||
STRCONTAIN "ERR" $12-01-01-0004.TAG tag1_is_disable
|
||
STRCONTAIN "ERR" $12-01-02-0002.TAG tag2_is_disable
|
||
STRCONTAIN "ERR" $12-01-03-0002.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> $Sum120101000412010200021201030002 </State>
|
||
<Value> text_unavailable </Value>
|
||
<Align> center-vertical-horizontal </Align>
|
||
</Text>
|
||
</Block>
|
||
; 12-21-01-0004 12-21-02-0002 12-21-03-0002
|
||
<Block>
|
||
<MarginLeft> 33 </MarginLeft>
|
||
<MarginTop> 22 </MarginTop>
|
||
<Width> 225 </Width>
|
||
<Height> 296 </Height>
|
||
<State> Flag( 12-21-01-0004.Button,12-21-02-0002.Button,12-21-03-0002.Button,$Sum122101000412210200021221030002) </State>
|
||
<Button>
|
||
<State> $Sum122101000412210200021221030002 </State>
|
||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_latte.png" </Filename>
|
||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_latte.png" </FilenamePress>
|
||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_latte.png" </FilenameDisable>
|
||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||
<Volume> SoundVolume </Volume>
|
||
<OverlayImage> xmlpro( 12-21-01-0004, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||
<EventOnClick>
|
||
Var NameDrink = "Latte"
|
||
Var NameDrinkTH = "ลาเต้"
|
||
Var DrinkDescriptionTH = "กาแฟ นม และ ฟองนม"
|
||
Var DrinkDescription = "Espresso, Milk, Foamed milk"
|
||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_latte.png"
|
||
Var OpenFromXML = CurrentXMLFileName2
|
||
Var PriceD1 = $12-21-01-0004.Price
|
||
Var PriceD2 = $12-21-02-0002.Price
|
||
Var PriceD3 = $12-21-03-0002.Price
|
||
Var PD_CODE1 = "12-21-01-0004"
|
||
Var PD_CODE2 = "12-21-02-0002"
|
||
Var PD_CODE3 = "12-21-03-0002"
|
||
Var PD_STAGE_1 = $12-21-01-0004.Button
|
||
Var PD_STAGE_2 = $12-21-02-0002.Button
|
||
Var PD_STAGE_3 = $12-21-03-0002.Button
|
||
Var OverlayMenuFilter !assigned xmlpro( 12-21-01-0004, "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-21-02-0002"
|
||
Else
|
||
If PD_STAGE_1 = "Enable" Then
|
||
Topping "Load" "12-21-01-0004"
|
||
Else
|
||
Topping "Load" "12-21-03-0002"
|
||
EndIf
|
||
EndIf
|
||
Var menu_name_eng_hot = $12-21-01-0004.NameE
|
||
Var menu_desc_eng_hot = $12-21-01-0004.descriptionE
|
||
Var menu_name_thai_hot = $12-21-01-0004.Name
|
||
Var menu_desc_thai_hot = $12-21-01-0004.description
|
||
|
||
Var menu_name_eng_cold = $12-21-02-0002.NameE
|
||
Var menu_desc_eng_cold = $12-21-02-0002.descriptionE
|
||
Var menu_name_thai_cold = $12-21-02-0002.Name
|
||
Var menu_desc_thai_cold = $12-21-02-0002.description
|
||
|
||
Var menu_name_eng_blender = $12-21-03-0002.NameE
|
||
Var menu_desc_eng_blender = $12-21-03-0002.descriptionE
|
||
Var menu_name_thai_blender = $12-21-03-0002.Name
|
||
Var menu_desc_thai_blender = $12-21-03-0002.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> "Latte" </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> "Espresso, Milk, Foamed milk" </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-21-01-0004.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-21-01-0004.Button </State>
|
||
<Value> StringFmt( $12-21-01-0004.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-21-02-0002.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-21-02-0002.Button </State>
|
||
<Value> StringFmt( $12-21-02-0002.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-21-03-0002.Button </State>
|
||
</Image>
|
||
<Text>
|
||
<X> 183 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> $12-21-03-0002.Button </State>
|
||
<Value> StringFmt( $12-21-03-0002.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<State>
|
||
eval(
|
||
If ICE_PROCESS_STATUS = 2 Then
|
||
|
||
If $Sum122101000412210200021221030002 = "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 $Sum122101000412210200021221030002 = "Disable" Then
|
||
STRCONTAIN "ERR" $12-21-01-0004.TAG tag1_is_disable
|
||
STRCONTAIN "ERR" $12-21-02-0002.TAG tag2_is_disable
|
||
STRCONTAIN "ERR" $12-21-03-0002.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> $Sum122101000412210200021221030002 </State>
|
||
<Value> text_unavailable </Value>
|
||
<Align> center-vertical-horizontal </Align>
|
||
</Text>
|
||
</Block>
|
||
; ==================> Len = 21
|
||
; 12-01-01-0005 12-11-02-0002 12-11-03-0002
|
||
<Block>
|
||
<MarginLeft> 33 </MarginLeft>
|
||
<MarginTop> 22 </MarginTop>
|
||
<Width> 225 </Width>
|
||
<Height> 296 </Height>
|
||
<State> Flag( 12-01-01-0005.Button,12-11-02-0002.Button,12-11-03-0002.Button,$Sum120101000512110200021211030002) </State>
|
||
<Button>
|
||
<State> $Sum120101000512110200021211030002 </State>
|
||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_cappuccino.png" </Filename>
|
||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_cappuccino.png" </FilenamePress>
|
||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_cappuccino.png" </FilenameDisable>
|
||
<OverlayImage> xmlpro( 12-01-01-0005, "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 = "Cappuccino"
|
||
Var NameDrinkTH = "คาปูชิโน่"
|
||
Var DrinkDescriptionTH = "กาแฟ นม และ ฟองนม"
|
||
Var DrinkDescription = "Espresso, Milk, Foamed milk"
|
||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_cappuccino.png"
|
||
Var OpenFromXML = CurrentXMLFileName2
|
||
Var PriceD1 = $12-01-01-0005.Price
|
||
Var PriceD2 = $12-11-02-0002.Price
|
||
Var PriceD3 = $12-11-03-0002.Price
|
||
Var PD_CODE1 = "12-01-01-0005"
|
||
Var PD_CODE2 = "12-11-02-0002"
|
||
Var PD_CODE3 = "12-11-03-0002"
|
||
Var PD_STAGE_1 = $12-01-01-0005.Button
|
||
Var PD_STAGE_2 = $12-11-02-0002.Button
|
||
Var PD_STAGE_3 = $12-11-03-0002.Button
|
||
Var OverlayMenuFilter !assigned xmlpro( 12-01-01-0005, "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-11-02-0002"
|
||
Else
|
||
If PD_STAGE_1 = "Enable" Then
|
||
Topping "Load" "12-01-01-0005"
|
||
Else
|
||
Topping "Load" "12-11-03-0002"
|
||
EndIf
|
||
EndIf
|
||
Var menu_name_eng_hot = $12-01-01-0005.NameE
|
||
Var menu_desc_eng_hot = $12-01-01-0005.descriptionE
|
||
Var menu_name_thai_hot = $12-01-01-0005.Name
|
||
Var menu_desc_thai_hot = $12-01-01-0005.description
|
||
|
||
Var menu_name_eng_cold = $12-11-02-0002.NameE
|
||
Var menu_desc_eng_cold = $12-11-02-0002.descriptionE
|
||
Var menu_name_thai_cold = $12-11-02-0002.Name
|
||
Var menu_desc_thai_cold = $12-11-02-0002.description
|
||
|
||
Var menu_name_eng_blender = $12-11-03-0002.NameE
|
||
Var menu_desc_eng_blender = $12-11-03-0002.descriptionE
|
||
Var menu_name_thai_blender = $12-11-03-0002.Name
|
||
Var menu_desc_thai_blender = $12-11-03-0002.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> "Cappuccino" </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> "Espresso, Milk, Foamed milk" </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-01-01-0005.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-01-01-0005.Button </State>
|
||
<Value> StringFmt( $12-01-01-0005.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-11-02-0002.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-11-02-0002.Button </State>
|
||
<Value> StringFmt( $12-11-02-0002.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-11-03-0002.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-11-03-0002.Button </State>
|
||
<Value> StringFmt( $12-11-03-0002.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<State>
|
||
eval(
|
||
If ICE_PROCESS_STATUS = 2 Then
|
||
|
||
If $Sum120101000512110200021211030002 = "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 $Sum120101000512110200021211030002 = "Disable" Then
|
||
STRCONTAIN "ERR" $12-01-01-0005.TAG tag1_is_disable
|
||
STRCONTAIN "ERR" $12-11-02-0002.TAG tag2_is_disable
|
||
STRCONTAIN "ERR" $12-11-03-0002.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> $Sum120101000512110200021211030002 </State>
|
||
<Value> text_unavailable </Value>
|
||
<Align> center-vertical-horizontal </Align>
|
||
</Text>
|
||
</Block>
|
||
; 12-21-01-0005 12-31-02-0002 12-31-03-0002
|
||
<Block>
|
||
<MarginLeft> 33 </MarginLeft>
|
||
<MarginTop> 22 </MarginTop>
|
||
<Width> 225 </Width>
|
||
<Height> 296 </Height>
|
||
<State> Flag( 12-21-01-0005.Button,12-31-02-0002.Button,12-31-03-0002.Button,$Sum122101000512310200021231030002) </State>
|
||
<Button>
|
||
<State> $Sum122101000512310200021231030002 </State>
|
||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_cappuccino.png" </Filename>
|
||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_cappuccino.png" </FilenamePress>
|
||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_cappuccino.png" </FilenameDisable>
|
||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||
<Volume> SoundVolume </Volume>
|
||
<OverlayImage> xmlpro( 12-21-01-0005, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||
<EventOnClick>
|
||
Var NameDrink = "Cappuccino"
|
||
Var NameDrinkTH = "คาปูชิโน่"
|
||
Var DrinkDescriptionTH = "กาแฟ นม และ ฟองนม"
|
||
Var DrinkDescription = "Espresso, Milk, Foamed milk"
|
||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_cappuccino.png"
|
||
Var OpenFromXML = CurrentXMLFileName2
|
||
Var PriceD1 = $12-21-01-0005.Price
|
||
Var PriceD2 = $12-31-02-0002.Price
|
||
Var PriceD3 = $12-31-03-0002.Price
|
||
Var PD_CODE1 = "12-21-01-0005"
|
||
Var PD_CODE2 = "12-31-02-0002"
|
||
Var PD_CODE3 = "12-31-03-0002"
|
||
Var PD_STAGE_1 = $12-21-01-0005.Button
|
||
Var PD_STAGE_2 = $12-31-02-0002.Button
|
||
Var PD_STAGE_3 = $12-31-03-0002.Button
|
||
Var OverlayMenuFilter !assigned xmlpro( 12-21-01-0005, "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-31-02-0002"
|
||
Else
|
||
If PD_STAGE_1 = "Enable" Then
|
||
Topping "Load" "12-21-01-0005"
|
||
Else
|
||
Topping "Load" "12-31-03-0002"
|
||
EndIf
|
||
EndIf
|
||
Var menu_name_eng_hot = $12-21-01-0005.NameE
|
||
Var menu_desc_eng_hot = $12-21-01-0005.descriptionE
|
||
Var menu_name_thai_hot = $12-21-01-0005.Name
|
||
Var menu_desc_thai_hot = $12-21-01-0005.description
|
||
|
||
Var menu_name_eng_cold = $12-31-02-0002.NameE
|
||
Var menu_desc_eng_cold = $12-31-02-0002.descriptionE
|
||
Var menu_name_thai_cold = $12-31-02-0002.Name
|
||
Var menu_desc_thai_cold = $12-31-02-0002.description
|
||
|
||
Var menu_name_eng_blender = $12-31-03-0002.NameE
|
||
Var menu_desc_eng_blender = $12-31-03-0002.descriptionE
|
||
Var menu_name_thai_blender = $12-31-03-0002.Name
|
||
Var menu_desc_thai_blender = $12-31-03-0002.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> "Cappuccino" </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> "Espresso, Milk, Foamed milk" </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-21-01-0005.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-21-01-0005.Button </State>
|
||
<Value> StringFmt( $12-21-01-0005.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-31-02-0002.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-31-02-0002.Button </State>
|
||
<Value> StringFmt( $12-31-02-0002.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-31-03-0002.Button </State>
|
||
</Image>
|
||
<Text>
|
||
<X> 183 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> $12-31-03-0002.Button </State>
|
||
<Value> StringFmt( $12-31-03-0002.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<State>
|
||
eval(
|
||
If ICE_PROCESS_STATUS = 2 Then
|
||
|
||
If $Sum122101000512310200021231030002 = "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 $Sum122101000512310200021231030002 = "Disable" Then
|
||
STRCONTAIN "ERR" $12-21-01-0005.TAG tag1_is_disable
|
||
STRCONTAIN "ERR" $12-31-02-0002.TAG tag2_is_disable
|
||
STRCONTAIN "ERR" $12-31-03-0002.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> $Sum122101000512310200021231030002 </State>
|
||
<Value> text_unavailable </Value>
|
||
<Align> center-vertical-horizontal </Align>
|
||
</Text>
|
||
</Block>
|
||
; ==================> Len = 21
|
||
; 12-01-01-0006 12-01-02-0003 12-01-03-0003
|
||
<Block>
|
||
<MarginLeft> 33 </MarginLeft>
|
||
<MarginTop> 22 </MarginTop>
|
||
<Width> 225 </Width>
|
||
<Height> 296 </Height>
|
||
<State> Flag( 12-01-01-0006.Button,12-01-02-0003.Button,12-01-03-0003.Button,$Sum120101000612010200031201030003) </State>
|
||
<Button>
|
||
<State> $Sum120101000612010200031201030003 </State>
|
||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_mocha.png" </Filename>
|
||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_mocha.png" </FilenamePress>
|
||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_mocha.png" </FilenameDisable>
|
||
<OverlayImage> xmlpro( 12-01-01-0006, "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 = "Mocha"
|
||
Var NameDrinkTH = "มอคค่า"
|
||
Var DrinkDescriptionTH = "กาแฟ นม โกโก้ และ น้ำตาล"
|
||
Var DrinkDescription = "Espresso, Cocoa, Milk, Sugar"
|
||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_mocha.png"
|
||
Var OpenFromXML = CurrentXMLFileName2
|
||
Var PriceD1 = $12-01-01-0006.Price
|
||
Var PriceD2 = $12-01-02-0003.Price
|
||
Var PriceD3 = $12-01-03-0003.Price
|
||
Var PD_CODE1 = "12-01-01-0006"
|
||
Var PD_CODE2 = "12-01-02-0003"
|
||
Var PD_CODE3 = "12-01-03-0003"
|
||
Var PD_STAGE_1 = $12-01-01-0006.Button
|
||
Var PD_STAGE_2 = $12-01-02-0003.Button
|
||
Var PD_STAGE_3 = $12-01-03-0003.Button
|
||
Var OverlayMenuFilter !assigned xmlpro( 12-01-01-0006, "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-01-02-0003"
|
||
Else
|
||
If PD_STAGE_1 = "Enable" Then
|
||
Topping "Load" "12-01-01-0006"
|
||
Else
|
||
Topping "Load" "12-01-03-0003"
|
||
EndIf
|
||
EndIf
|
||
Var menu_name_eng_hot = $12-01-01-0006.NameE
|
||
Var menu_desc_eng_hot = $12-01-01-0006.descriptionE
|
||
Var menu_name_thai_hot = $12-01-01-0006.Name
|
||
Var menu_desc_thai_hot = $12-01-01-0006.description
|
||
|
||
Var menu_name_eng_cold = $12-01-02-0003.NameE
|
||
Var menu_desc_eng_cold = $12-01-02-0003.descriptionE
|
||
Var menu_name_thai_cold = $12-01-02-0003.Name
|
||
Var menu_desc_thai_cold = $12-01-02-0003.description
|
||
|
||
Var menu_name_eng_blender = $12-01-03-0003.NameE
|
||
Var menu_desc_eng_blender = $12-01-03-0003.descriptionE
|
||
Var menu_name_thai_blender = $12-01-03-0003.Name
|
||
Var menu_desc_thai_blender = $12-01-03-0003.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> "Mocha" </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> "Espresso, Cocoa, Milk, Sugar" </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-01-01-0006.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-01-01-0006.Button </State>
|
||
<Value> StringFmt( $12-01-01-0006.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-01-02-0003.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-01-02-0003.Button </State>
|
||
<Value> StringFmt( $12-01-02-0003.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-01-03-0003.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-01-03-0003.Button </State>
|
||
<Value> StringFmt( $12-01-03-0003.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<State>
|
||
eval(
|
||
If ICE_PROCESS_STATUS = 2 Then
|
||
|
||
If $Sum120101000612010200031201030003 = "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 $Sum120101000612010200031201030003 = "Disable" Then
|
||
STRCONTAIN "ERR" $12-01-01-0006.TAG tag1_is_disable
|
||
STRCONTAIN "ERR" $12-01-02-0003.TAG tag2_is_disable
|
||
STRCONTAIN "ERR" $12-01-03-0003.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> $Sum120101000612010200031201030003 </State>
|
||
<Value> text_unavailable </Value>
|
||
<Align> center-vertical-horizontal </Align>
|
||
</Text>
|
||
</Block>
|
||
; 12-21-01-0006 12-21-02-0003 12-21-03-0003
|
||
<Block>
|
||
<MarginLeft> 33 </MarginLeft>
|
||
<MarginTop> 22 </MarginTop>
|
||
<Width> 225 </Width>
|
||
<Height> 296 </Height>
|
||
<State> Flag( 12-21-01-0006.Button,12-21-02-0003.Button,12-21-03-0003.Button,$Sum122101000612210200031221030003) </State>
|
||
<Button>
|
||
<State> $Sum122101000612210200031221030003 </State>
|
||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_mocha.png" </Filename>
|
||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_mocha.png" </FilenamePress>
|
||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_mocha.png" </FilenameDisable>
|
||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||
<Volume> SoundVolume </Volume>
|
||
<OverlayImage> xmlpro( 12-21-01-0006, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||
<EventOnClick>
|
||
Var NameDrink = "Mocha"
|
||
Var NameDrinkTH = "มอคค่า"
|
||
Var DrinkDescriptionTH = "กาแฟ นม โกโก้ และ น้ำตาล"
|
||
Var DrinkDescription = "Espresso, Cocoa, Milk, Sugar"
|
||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_mocha.png"
|
||
Var OpenFromXML = CurrentXMLFileName2
|
||
Var PriceD1 = $12-21-01-0006.Price
|
||
Var PriceD2 = $12-21-02-0003.Price
|
||
Var PriceD3 = $12-21-03-0003.Price
|
||
Var PD_CODE1 = "12-21-01-0006"
|
||
Var PD_CODE2 = "12-21-02-0003"
|
||
Var PD_CODE3 = "12-21-03-0003"
|
||
Var PD_STAGE_1 = $12-21-01-0006.Button
|
||
Var PD_STAGE_2 = $12-21-02-0003.Button
|
||
Var PD_STAGE_3 = $12-21-03-0003.Button
|
||
Var OverlayMenuFilter !assigned xmlpro( 12-21-01-0006, "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-21-02-0003"
|
||
Else
|
||
If PD_STAGE_1 = "Enable" Then
|
||
Topping "Load" "12-21-01-0006"
|
||
Else
|
||
Topping "Load" "12-21-03-0003"
|
||
EndIf
|
||
EndIf
|
||
Var menu_name_eng_hot = $12-21-01-0006.NameE
|
||
Var menu_desc_eng_hot = $12-21-01-0006.descriptionE
|
||
Var menu_name_thai_hot = $12-21-01-0006.Name
|
||
Var menu_desc_thai_hot = $12-21-01-0006.description
|
||
|
||
Var menu_name_eng_cold = $12-21-02-0003.NameE
|
||
Var menu_desc_eng_cold = $12-21-02-0003.descriptionE
|
||
Var menu_name_thai_cold = $12-21-02-0003.Name
|
||
Var menu_desc_thai_cold = $12-21-02-0003.description
|
||
|
||
Var menu_name_eng_blender = $12-21-03-0003.NameE
|
||
Var menu_desc_eng_blender = $12-21-03-0003.descriptionE
|
||
Var menu_name_thai_blender = $12-21-03-0003.Name
|
||
Var menu_desc_thai_blender = $12-21-03-0003.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> "Mocha" </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> "Espresso, Cocoa, Milk, Sugar" </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-21-01-0006.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-21-01-0006.Button </State>
|
||
<Value> StringFmt( $12-21-01-0006.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-21-02-0003.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-21-02-0003.Button </State>
|
||
<Value> StringFmt( $12-21-02-0003.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-21-03-0003.Button </State>
|
||
</Image>
|
||
<Text>
|
||
<X> 183 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> $12-21-03-0003.Button </State>
|
||
<Value> StringFmt( $12-21-03-0003.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<State>
|
||
eval(
|
||
If ICE_PROCESS_STATUS = 2 Then
|
||
|
||
If $Sum122101000612210200031221030003 = "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 $Sum122101000612210200031221030003 = "Disable" Then
|
||
STRCONTAIN "ERR" $12-21-01-0006.TAG tag1_is_disable
|
||
STRCONTAIN "ERR" $12-21-02-0003.TAG tag2_is_disable
|
||
STRCONTAIN "ERR" $12-21-03-0003.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> $Sum122101000612210200031221030003 </State>
|
||
<Value> text_unavailable </Value>
|
||
<Align> center-vertical-horizontal </Align>
|
||
</Text>
|
||
</Block>
|
||
; ==================> Len = 21
|
||
; 12-01-01-0007 12-01-02-0004 12-01-03-0004
|
||
<Block>
|
||
<MarginLeft> 33 </MarginLeft>
|
||
<MarginTop> 22 </MarginTop>
|
||
<Width> 225 </Width>
|
||
<Height> 296 </Height>
|
||
<State> Flag( 12-01-01-0007.Button,12-01-02-0004.Button,12-01-03-0004.Button,$Sum120101000712010200041201030004) </State>
|
||
<Button>
|
||
<State> $Sum120101000712010200041201030004 </State>
|
||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_caramel_latte.png" </Filename>
|
||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_caramel_latte.png" </FilenamePress>
|
||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_caramel_latte.png" </FilenameDisable>
|
||
<OverlayImage> xmlpro( 12-01-01-0007, "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 = "Caramel Latte"
|
||
Var NameDrinkTH = "คาราเมลลาเต้"
|
||
Var DrinkDescriptionTH = "กาแฟ นม และ นม คาราเมล"
|
||
Var DrinkDescription = "Espresso, Milk, Caramel "
|
||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_caramel_latte.png"
|
||
Var OpenFromXML = CurrentXMLFileName2
|
||
Var PriceD1 = $12-01-01-0007.Price
|
||
Var PriceD2 = $12-01-02-0004.Price
|
||
Var PriceD3 = $12-01-03-0004.Price
|
||
Var PD_CODE1 = "12-01-01-0007"
|
||
Var PD_CODE2 = "12-01-02-0004"
|
||
Var PD_CODE3 = "12-01-03-0004"
|
||
Var PD_STAGE_1 = $12-01-01-0007.Button
|
||
Var PD_STAGE_2 = $12-01-02-0004.Button
|
||
Var PD_STAGE_3 = $12-01-03-0004.Button
|
||
Var OverlayMenuFilter !assigned xmlpro( 12-01-01-0007, "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-01-02-0004"
|
||
Else
|
||
If PD_STAGE_1 = "Enable" Then
|
||
Topping "Load" "12-01-01-0007"
|
||
Else
|
||
Topping "Load" "12-01-03-0004"
|
||
EndIf
|
||
EndIf
|
||
Var menu_name_eng_hot = $12-01-01-0007.NameE
|
||
Var menu_desc_eng_hot = $12-01-01-0007.descriptionE
|
||
Var menu_name_thai_hot = $12-01-01-0007.Name
|
||
Var menu_desc_thai_hot = $12-01-01-0007.description
|
||
|
||
Var menu_name_eng_cold = $12-01-02-0004.NameE
|
||
Var menu_desc_eng_cold = $12-01-02-0004.descriptionE
|
||
Var menu_name_thai_cold = $12-01-02-0004.Name
|
||
Var menu_desc_thai_cold = $12-01-02-0004.description
|
||
|
||
Var menu_name_eng_blender = $12-01-03-0004.NameE
|
||
Var menu_desc_eng_blender = $12-01-03-0004.descriptionE
|
||
Var menu_name_thai_blender = $12-01-03-0004.Name
|
||
Var menu_desc_thai_blender = $12-01-03-0004.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> "Caramel Latte" </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> "Espresso, 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-01-01-0007.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-01-01-0007.Button </State>
|
||
<Value> StringFmt( $12-01-01-0007.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-01-02-0004.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-01-02-0004.Button </State>
|
||
<Value> StringFmt( $12-01-02-0004.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-01-03-0004.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-01-03-0004.Button </State>
|
||
<Value> StringFmt( $12-01-03-0004.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<State>
|
||
eval(
|
||
If ICE_PROCESS_STATUS = 2 Then
|
||
|
||
If $Sum120101000712010200041201030004 = "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 $Sum120101000712010200041201030004 = "Disable" Then
|
||
STRCONTAIN "ERR" $12-01-01-0007.TAG tag1_is_disable
|
||
STRCONTAIN "ERR" $12-01-02-0004.TAG tag2_is_disable
|
||
STRCONTAIN "ERR" $12-01-03-0004.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> $Sum120101000712010200041201030004 </State>
|
||
<Value> text_unavailable </Value>
|
||
<Align> center-vertical-horizontal </Align>
|
||
</Text>
|
||
</Block>
|
||
; 12-21-01-0007 12-21-02-0004 12-21-03-0004
|
||
<Block>
|
||
<MarginLeft> 33 </MarginLeft>
|
||
<MarginTop> 22 </MarginTop>
|
||
<Width> 225 </Width>
|
||
<Height> 296 </Height>
|
||
<State> Flag( 12-21-01-0007.Button,12-21-02-0004.Button,12-21-03-0004.Button,$Sum122101000712210200041221030004) </State>
|
||
<Button>
|
||
<State> $Sum122101000712210200041221030004 </State>
|
||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_caramel_latte.png" </Filename>
|
||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_caramel_latte.png" </FilenamePress>
|
||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_caramel_latte.png" </FilenameDisable>
|
||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||
<Volume> SoundVolume </Volume>
|
||
<OverlayImage> xmlpro( 12-21-01-0007, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||
<EventOnClick>
|
||
Var NameDrink = "Caramel Latte"
|
||
Var NameDrinkTH = "คาราเมลลาเต้"
|
||
Var DrinkDescriptionTH = "กาแฟ นม และ นม คาราเมล"
|
||
Var DrinkDescription = "Espresso, Milk, Caramel "
|
||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_caramel_latte.png"
|
||
Var OpenFromXML = CurrentXMLFileName2
|
||
Var PriceD1 = $12-21-01-0007.Price
|
||
Var PriceD2 = $12-21-02-0004.Price
|
||
Var PriceD3 = $12-21-03-0004.Price
|
||
Var PD_CODE1 = "12-21-01-0007"
|
||
Var PD_CODE2 = "12-21-02-0004"
|
||
Var PD_CODE3 = "12-21-03-0004"
|
||
Var PD_STAGE_1 = $12-21-01-0007.Button
|
||
Var PD_STAGE_2 = $12-21-02-0004.Button
|
||
Var PD_STAGE_3 = $12-21-03-0004.Button
|
||
Var OverlayMenuFilter !assigned xmlpro( 12-21-01-0007, "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-21-02-0004"
|
||
Else
|
||
If PD_STAGE_1 = "Enable" Then
|
||
Topping "Load" "12-21-01-0007"
|
||
Else
|
||
Topping "Load" "12-21-03-0004"
|
||
EndIf
|
||
EndIf
|
||
Var menu_name_eng_hot = $12-21-01-0007.NameE
|
||
Var menu_desc_eng_hot = $12-21-01-0007.descriptionE
|
||
Var menu_name_thai_hot = $12-21-01-0007.Name
|
||
Var menu_desc_thai_hot = $12-21-01-0007.description
|
||
|
||
Var menu_name_eng_cold = $12-21-02-0004.NameE
|
||
Var menu_desc_eng_cold = $12-21-02-0004.descriptionE
|
||
Var menu_name_thai_cold = $12-21-02-0004.Name
|
||
Var menu_desc_thai_cold = $12-21-02-0004.description
|
||
|
||
Var menu_name_eng_blender = $12-21-03-0004.NameE
|
||
Var menu_desc_eng_blender = $12-21-03-0004.descriptionE
|
||
Var menu_name_thai_blender = $12-21-03-0004.Name
|
||
Var menu_desc_thai_blender = $12-21-03-0004.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> "Caramel Latte" </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> "Espresso, 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-21-01-0007.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-21-01-0007.Button </State>
|
||
<Value> StringFmt( $12-21-01-0007.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-21-02-0004.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-21-02-0004.Button </State>
|
||
<Value> StringFmt( $12-21-02-0004.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-21-03-0004.Button </State>
|
||
</Image>
|
||
<Text>
|
||
<X> 183 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> $12-21-03-0004.Button </State>
|
||
<Value> StringFmt( $12-21-03-0004.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<State>
|
||
eval(
|
||
If ICE_PROCESS_STATUS = 2 Then
|
||
|
||
If $Sum122101000712210200041221030004 = "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 $Sum122101000712210200041221030004 = "Disable" Then
|
||
STRCONTAIN "ERR" $12-21-01-0007.TAG tag1_is_disable
|
||
STRCONTAIN "ERR" $12-21-02-0004.TAG tag2_is_disable
|
||
STRCONTAIN "ERR" $12-21-03-0004.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> $Sum122101000712210200041221030004 </State>
|
||
<Value> text_unavailable </Value>
|
||
<Align> center-vertical-horizontal </Align>
|
||
</Text>
|
||
</Block>
|
||
; ==================> Len = 21
|
||
; 12-01-01-0031 12-01-02-0031 12-01-03-0031
|
||
<Block>
|
||
<MarginLeft> 33 </MarginLeft>
|
||
<MarginTop> 22 </MarginTop>
|
||
<Width> 225 </Width>
|
||
<Height> 296 </Height>
|
||
<State> Flag( 12-01-01-0031.Button,12-01-02-0031.Button,12-01-03-0031.Button,$Sum120101003112010200311201030031) </State>
|
||
<Button>
|
||
<State> $Sum120101003112010200311201030031 </State>
|
||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_greenteacoffee_lattle.png" </Filename>
|
||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_greenteacoffee_lattle.png" </FilenamePress>
|
||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_greenteacoffee_lattle.png" </FilenameDisable>
|
||
<OverlayImage> xmlpro( 12-01-01-0031, "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 = "Matcha Cafe Latte"
|
||
Var NameDrinkTH = "กาแฟมัทฉะลาเต้"
|
||
Var DrinkDescriptionTH = "กาแฟ นม ชาเขียวมัทฉะ และ นม"
|
||
Var DrinkDescription = "Espresso, Matcha, Milk"
|
||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_greenteacoffee_lattle.png"
|
||
Var OpenFromXML = CurrentXMLFileName2
|
||
Var PriceD1 = $12-01-01-0031.Price
|
||
Var PriceD2 = $12-01-02-0031.Price
|
||
Var PriceD3 = $12-01-03-0031.Price
|
||
Var PD_CODE1 = "12-01-01-0031"
|
||
Var PD_CODE2 = "12-01-02-0031"
|
||
Var PD_CODE3 = "12-01-03-0031"
|
||
Var PD_STAGE_1 = $12-01-01-0031.Button
|
||
Var PD_STAGE_2 = $12-01-02-0031.Button
|
||
Var PD_STAGE_3 = $12-01-03-0031.Button
|
||
Var OverlayMenuFilter !assigned xmlpro( 12-01-01-0031, "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-01-02-0031"
|
||
Else
|
||
If PD_STAGE_1 = "Enable" Then
|
||
Topping "Load" "12-01-01-0031"
|
||
Else
|
||
Topping "Load" "12-01-03-0031"
|
||
EndIf
|
||
EndIf
|
||
Var menu_name_eng_hot = $12-01-01-0031.NameE
|
||
Var menu_desc_eng_hot = $12-01-01-0031.descriptionE
|
||
Var menu_name_thai_hot = $12-01-01-0031.Name
|
||
Var menu_desc_thai_hot = $12-01-01-0031.description
|
||
|
||
Var menu_name_eng_cold = $12-01-02-0031.NameE
|
||
Var menu_desc_eng_cold = $12-01-02-0031.descriptionE
|
||
Var menu_name_thai_cold = $12-01-02-0031.Name
|
||
Var menu_desc_thai_cold = $12-01-02-0031.description
|
||
|
||
Var menu_name_eng_blender = $12-01-03-0031.NameE
|
||
Var menu_desc_eng_blender = $12-01-03-0031.descriptionE
|
||
Var menu_name_thai_blender = $12-01-03-0031.Name
|
||
Var menu_desc_thai_blender = $12-01-03-0031.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> "Matcha
|
||
Cafe Latte" </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> "Espresso, Matcha, Milk" </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-01-01-0031.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-01-01-0031.Button </State>
|
||
<Value> StringFmt( $12-01-01-0031.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-01-02-0031.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-01-02-0031.Button </State>
|
||
<Value> StringFmt( $12-01-02-0031.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-01-03-0031.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-01-03-0031.Button </State>
|
||
<Value> StringFmt( $12-01-03-0031.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<State>
|
||
eval(
|
||
If ICE_PROCESS_STATUS = 2 Then
|
||
|
||
If $Sum120101003112010200311201030031 = "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 $Sum120101003112010200311201030031 = "Disable" Then
|
||
STRCONTAIN "ERR" $12-01-01-0031.TAG tag1_is_disable
|
||
STRCONTAIN "ERR" $12-01-02-0031.TAG tag2_is_disable
|
||
STRCONTAIN "ERR" $12-01-03-0031.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> $Sum120101003112010200311201030031 </State>
|
||
<Value> text_unavailable </Value>
|
||
<Align> center-vertical-horizontal </Align>
|
||
</Text>
|
||
</Block>
|
||
; 12-21-01-0031 12-21-02-0031 12-21-03-0031
|
||
<Block>
|
||
<MarginLeft> 33 </MarginLeft>
|
||
<MarginTop> 22 </MarginTop>
|
||
<Width> 225 </Width>
|
||
<Height> 296 </Height>
|
||
<State> Flag( 12-21-01-0031.Button,12-21-02-0031.Button,12-21-03-0031.Button,$Sum122101003112210200311221030031) </State>
|
||
<Button>
|
||
<State> $Sum122101003112210200311221030031 </State>
|
||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_greenteacoffee_lattle.png" </Filename>
|
||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_greenteacoffee_lattle.png" </FilenamePress>
|
||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_greenteacoffee_lattle.png" </FilenameDisable>
|
||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||
<Volume> SoundVolume </Volume>
|
||
<OverlayImage> xmlpro( 12-21-01-0031, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||
<EventOnClick>
|
||
Var NameDrink = "Matcha Cafe Latte"
|
||
Var NameDrinkTH = "กาแฟมัทฉะลาเต้"
|
||
Var DrinkDescriptionTH = "กาแฟ นม ชาเขียวมัทฉะ และ นม"
|
||
Var DrinkDescription = "Espresso, Matcha, Milk"
|
||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_greenteacoffee_lattle.png"
|
||
Var OpenFromXML = CurrentXMLFileName2
|
||
Var PriceD1 = $12-21-01-0031.Price
|
||
Var PriceD2 = $12-21-02-0031.Price
|
||
Var PriceD3 = $12-21-03-0031.Price
|
||
Var PD_CODE1 = "12-21-01-0031"
|
||
Var PD_CODE2 = "12-21-02-0031"
|
||
Var PD_CODE3 = "12-21-03-0031"
|
||
Var PD_STAGE_1 = $12-21-01-0031.Button
|
||
Var PD_STAGE_2 = $12-21-02-0031.Button
|
||
Var PD_STAGE_3 = $12-21-03-0031.Button
|
||
Var OverlayMenuFilter !assigned xmlpro( 12-21-01-0031, "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-21-02-0031"
|
||
Else
|
||
If PD_STAGE_1 = "Enable" Then
|
||
Topping "Load" "12-21-01-0031"
|
||
Else
|
||
Topping "Load" "12-21-03-0031"
|
||
EndIf
|
||
EndIf
|
||
Var menu_name_eng_hot = $12-21-01-0031.NameE
|
||
Var menu_desc_eng_hot = $12-21-01-0031.descriptionE
|
||
Var menu_name_thai_hot = $12-21-01-0031.Name
|
||
Var menu_desc_thai_hot = $12-21-01-0031.description
|
||
|
||
Var menu_name_eng_cold = $12-21-02-0031.NameE
|
||
Var menu_desc_eng_cold = $12-21-02-0031.descriptionE
|
||
Var menu_name_thai_cold = $12-21-02-0031.Name
|
||
Var menu_desc_thai_cold = $12-21-02-0031.description
|
||
|
||
Var menu_name_eng_blender = $12-21-03-0031.NameE
|
||
Var menu_desc_eng_blender = $12-21-03-0031.descriptionE
|
||
Var menu_name_thai_blender = $12-21-03-0031.Name
|
||
Var menu_desc_thai_blender = $12-21-03-0031.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> "Matcha
|
||
Cafe Latte" </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> "Espresso, Matcha, Milk" </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-21-01-0031.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-21-01-0031.Button </State>
|
||
<Value> StringFmt( $12-21-01-0031.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-21-02-0031.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-21-02-0031.Button </State>
|
||
<Value> StringFmt( $12-21-02-0031.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-21-03-0031.Button </State>
|
||
</Image>
|
||
<Text>
|
||
<X> 183 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> $12-21-03-0031.Button </State>
|
||
<Value> StringFmt( $12-21-03-0031.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<State>
|
||
eval(
|
||
If ICE_PROCESS_STATUS = 2 Then
|
||
|
||
If $Sum122101003112210200311221030031 = "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 $Sum122101003112210200311221030031 = "Disable" Then
|
||
STRCONTAIN "ERR" $12-21-01-0031.TAG tag1_is_disable
|
||
STRCONTAIN "ERR" $12-21-02-0031.TAG tag2_is_disable
|
||
STRCONTAIN "ERR" $12-21-03-0031.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> $Sum122101003112210200311221030031 </State>
|
||
<Value> text_unavailable </Value>
|
||
<Align> center-vertical-horizontal </Align>
|
||
</Text>
|
||
</Block>
|
||
; ==================> Len = 21
|
||
; 12-01-01-0008 12-01-02-0005 12-01-03-0005
|
||
<Block>
|
||
<MarginLeft> 33 </MarginLeft>
|
||
<MarginTop> 22 </MarginTop>
|
||
<Width> 225 </Width>
|
||
<Height> 296 </Height>
|
||
<State> Flag( 12-01-01-0008.Button,12-01-02-0005.Button,12-01-03-0005.Button,$Sum120101000812010200051201030005) </State>
|
||
<Button>
|
||
<State> $Sum120101000812010200051201030005 </State>
|
||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_greenteacoffee_lattle.png" </Filename>
|
||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_greenteacoffee_lattle.png" </FilenamePress>
|
||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_greenteacoffee_lattle.png" </FilenameDisable>
|
||
<OverlayImage> xmlpro( 12-01-01-0008, "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 = "Matcha Cafe Latte"
|
||
Var NameDrinkTH = "กาแฟมัทฉะลาเต้"
|
||
Var DrinkDescriptionTH = "กาแฟ นม ชาเขียวมัทฉะ และ นม"
|
||
Var DrinkDescription = "Espresso, Matcha, Milk"
|
||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_greenteacoffee_lattle.png"
|
||
Var OpenFromXML = CurrentXMLFileName2
|
||
Var PriceD1 = $12-01-01-0008.Price
|
||
Var PriceD2 = $12-01-02-0005.Price
|
||
Var PriceD3 = $12-01-03-0005.Price
|
||
Var PD_CODE1 = "12-01-01-0008"
|
||
Var PD_CODE2 = "12-01-02-0005"
|
||
Var PD_CODE3 = "12-01-03-0005"
|
||
Var PD_STAGE_1 = $12-01-01-0008.Button
|
||
Var PD_STAGE_2 = $12-01-02-0005.Button
|
||
Var PD_STAGE_3 = $12-01-03-0005.Button
|
||
Var OverlayMenuFilter !assigned xmlpro( 12-01-01-0008, "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-01-02-0005"
|
||
Else
|
||
If PD_STAGE_1 = "Enable" Then
|
||
Topping "Load" "12-01-01-0008"
|
||
Else
|
||
Topping "Load" "12-01-03-0005"
|
||
EndIf
|
||
EndIf
|
||
Var menu_name_eng_hot = $12-01-01-0008.NameE
|
||
Var menu_desc_eng_hot = $12-01-01-0008.descriptionE
|
||
Var menu_name_thai_hot = $12-01-01-0008.Name
|
||
Var menu_desc_thai_hot = $12-01-01-0008.description
|
||
|
||
Var menu_name_eng_cold = $12-01-02-0005.NameE
|
||
Var menu_desc_eng_cold = $12-01-02-0005.descriptionE
|
||
Var menu_name_thai_cold = $12-01-02-0005.Name
|
||
Var menu_desc_thai_cold = $12-01-02-0005.description
|
||
|
||
Var menu_name_eng_blender = $12-01-03-0005.NameE
|
||
Var menu_desc_eng_blender = $12-01-03-0005.descriptionE
|
||
Var menu_name_thai_blender = $12-01-03-0005.Name
|
||
Var menu_desc_thai_blender = $12-01-03-0005.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> "Matcha
|
||
Cafe Latte" </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> "Espresso, Matcha, Milk" </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-01-01-0008.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-01-01-0008.Button </State>
|
||
<Value> StringFmt( $12-01-01-0008.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-01-02-0005.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-01-02-0005.Button </State>
|
||
<Value> StringFmt( $12-01-02-0005.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-01-03-0005.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-01-03-0005.Button </State>
|
||
<Value> StringFmt( $12-01-03-0005.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<State>
|
||
eval(
|
||
If ICE_PROCESS_STATUS = 2 Then
|
||
|
||
If $Sum120101000812010200051201030005 = "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 $Sum120101000812010200051201030005 = "Disable" Then
|
||
STRCONTAIN "ERR" $12-01-01-0008.TAG tag1_is_disable
|
||
STRCONTAIN "ERR" $12-01-02-0005.TAG tag2_is_disable
|
||
STRCONTAIN "ERR" $12-01-03-0005.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> $Sum120101000812010200051201030005 </State>
|
||
<Value> text_unavailable </Value>
|
||
<Align> center-vertical-horizontal </Align>
|
||
</Text>
|
||
</Block>
|
||
; 12-21-01-0008 12-21-02-0005 12-21-03-0005
|
||
<Block>
|
||
<MarginLeft> 33 </MarginLeft>
|
||
<MarginTop> 22 </MarginTop>
|
||
<Width> 225 </Width>
|
||
<Height> 296 </Height>
|
||
<State> Flag( 12-21-01-0008.Button,12-21-02-0005.Button,12-21-03-0005.Button,$Sum122101000812210200051221030005) </State>
|
||
<Button>
|
||
<State> $Sum122101000812210200051221030005 </State>
|
||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_greenteacoffee_lattle.png" </Filename>
|
||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_greenteacoffee_lattle.png" </FilenamePress>
|
||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_greenteacoffee_lattle.png" </FilenameDisable>
|
||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||
<Volume> SoundVolume </Volume>
|
||
<OverlayImage> xmlpro( 12-21-01-0008, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||
<EventOnClick>
|
||
Var NameDrink = "Matcha Cafe Latte"
|
||
Var NameDrinkTH = "กาแฟมัทฉะลาเต้"
|
||
Var DrinkDescriptionTH = "กาแฟ นม ชาเขียวมัทฉะ และ นม"
|
||
Var DrinkDescription = "Espresso, Matcha, Milk"
|
||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_greenteacoffee_lattle.png"
|
||
Var OpenFromXML = CurrentXMLFileName2
|
||
Var PriceD1 = $12-21-01-0008.Price
|
||
Var PriceD2 = $12-21-02-0005.Price
|
||
Var PriceD3 = $12-21-03-0005.Price
|
||
Var PD_CODE1 = "12-21-01-0008"
|
||
Var PD_CODE2 = "12-21-02-0005"
|
||
Var PD_CODE3 = "12-21-03-0005"
|
||
Var PD_STAGE_1 = $12-21-01-0008.Button
|
||
Var PD_STAGE_2 = $12-21-02-0005.Button
|
||
Var PD_STAGE_3 = $12-21-03-0005.Button
|
||
Var OverlayMenuFilter !assigned xmlpro( 12-21-01-0008, "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-21-02-0005"
|
||
Else
|
||
If PD_STAGE_1 = "Enable" Then
|
||
Topping "Load" "12-21-01-0008"
|
||
Else
|
||
Topping "Load" "12-21-03-0005"
|
||
EndIf
|
||
EndIf
|
||
Var menu_name_eng_hot = $12-21-01-0008.NameE
|
||
Var menu_desc_eng_hot = $12-21-01-0008.descriptionE
|
||
Var menu_name_thai_hot = $12-21-01-0008.Name
|
||
Var menu_desc_thai_hot = $12-21-01-0008.description
|
||
|
||
Var menu_name_eng_cold = $12-21-02-0005.NameE
|
||
Var menu_desc_eng_cold = $12-21-02-0005.descriptionE
|
||
Var menu_name_thai_cold = $12-21-02-0005.Name
|
||
Var menu_desc_thai_cold = $12-21-02-0005.description
|
||
|
||
Var menu_name_eng_blender = $12-21-03-0005.NameE
|
||
Var menu_desc_eng_blender = $12-21-03-0005.descriptionE
|
||
Var menu_name_thai_blender = $12-21-03-0005.Name
|
||
Var menu_desc_thai_blender = $12-21-03-0005.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> "Matcha
|
||
Cafe Latte" </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> "Espresso, Matcha, Milk" </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-21-01-0008.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-21-01-0008.Button </State>
|
||
<Value> StringFmt( $12-21-01-0008.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-21-02-0005.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-21-02-0005.Button </State>
|
||
<Value> StringFmt( $12-21-02-0005.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-21-03-0005.Button </State>
|
||
</Image>
|
||
<Text>
|
||
<X> 183 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> $12-21-03-0005.Button </State>
|
||
<Value> StringFmt( $12-21-03-0005.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<State>
|
||
eval(
|
||
If ICE_PROCESS_STATUS = 2 Then
|
||
|
||
If $Sum122101000812210200051221030005 = "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 $Sum122101000812210200051221030005 = "Disable" Then
|
||
STRCONTAIN "ERR" $12-21-01-0008.TAG tag1_is_disable
|
||
STRCONTAIN "ERR" $12-21-02-0005.TAG tag2_is_disable
|
||
STRCONTAIN "ERR" $12-21-03-0005.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> $Sum122101000812210200051221030005 </State>
|
||
<Value> text_unavailable </Value>
|
||
<Align> center-vertical-horizontal </Align>
|
||
</Text>
|
||
</Block>
|
||
; ==================> Len = 21
|
||
; 12-01-01-0011 12-01-02-0008 12-01-03-0008
|
||
<Block>
|
||
<MarginLeft> 33 </MarginLeft>
|
||
<MarginTop> 22 </MarginTop>
|
||
<Width> 225 </Width>
|
||
<Height> 296 </Height>
|
||
<State> Flag( 12-01-01-0011.Button,12-01-02-0008.Button,12-01-03-0008.Button,$Sum120101001112010200081201030008) </State>
|
||
<Button>
|
||
<State> $Sum120101001112010200081201030008 </State>
|
||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_kuromitsu_coffee.png" </Filename>
|
||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_kuromitsu_coffee.png" </FilenamePress>
|
||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_kuromitsu_coffee.png" </FilenameDisable>
|
||
<OverlayImage> xmlpro( 12-01-01-0011, "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 = "Brown Sugar Latte"
|
||
Var NameDrinkTH = "บราวน์ชูการ์ลาเต้"
|
||
Var DrinkDescriptionTH = "กาแฟ น้ำตาลแดง และ นม"
|
||
Var DrinkDescription = "Espresso, Milk, Kokuto"
|
||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_kuromitsu_coffee.png"
|
||
Var OpenFromXML = CurrentXMLFileName2
|
||
Var PriceD1 = $12-01-01-0011.Price
|
||
Var PriceD2 = $12-01-02-0008.Price
|
||
Var PriceD3 = $12-01-03-0008.Price
|
||
Var PD_CODE1 = "12-01-01-0011"
|
||
Var PD_CODE2 = "12-01-02-0008"
|
||
Var PD_CODE3 = "12-01-03-0008"
|
||
Var PD_STAGE_1 = $12-01-01-0011.Button
|
||
Var PD_STAGE_2 = $12-01-02-0008.Button
|
||
Var PD_STAGE_3 = $12-01-03-0008.Button
|
||
Var OverlayMenuFilter !assigned xmlpro( 12-01-01-0011, "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-01-02-0008"
|
||
Else
|
||
If PD_STAGE_1 = "Enable" Then
|
||
Topping "Load" "12-01-01-0011"
|
||
Else
|
||
Topping "Load" "12-01-03-0008"
|
||
EndIf
|
||
EndIf
|
||
Var menu_name_eng_hot = $12-01-01-0011.NameE
|
||
Var menu_desc_eng_hot = $12-01-01-0011.descriptionE
|
||
Var menu_name_thai_hot = $12-01-01-0011.Name
|
||
Var menu_desc_thai_hot = $12-01-01-0011.description
|
||
|
||
Var menu_name_eng_cold = $12-01-02-0008.NameE
|
||
Var menu_desc_eng_cold = $12-01-02-0008.descriptionE
|
||
Var menu_name_thai_cold = $12-01-02-0008.Name
|
||
Var menu_desc_thai_cold = $12-01-02-0008.description
|
||
|
||
Var menu_name_eng_blender = $12-01-03-0008.NameE
|
||
Var menu_desc_eng_blender = $12-01-03-0008.descriptionE
|
||
Var menu_name_thai_blender = $12-01-03-0008.Name
|
||
Var menu_desc_thai_blender = $12-01-03-0008.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> "Brown
|
||
Sugar Latte" </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> "Espresso, Milk,
|
||
Kokuto" </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-01-01-0011.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-01-01-0011.Button </State>
|
||
<Value> StringFmt( $12-01-01-0011.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-01-02-0008.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-01-02-0008.Button </State>
|
||
<Value> StringFmt( $12-01-02-0008.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-01-03-0008.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-01-03-0008.Button </State>
|
||
<Value> StringFmt( $12-01-03-0008.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<State>
|
||
eval(
|
||
If ICE_PROCESS_STATUS = 2 Then
|
||
|
||
If $Sum120101001112010200081201030008 = "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 $Sum120101001112010200081201030008 = "Disable" Then
|
||
STRCONTAIN "ERR" $12-01-01-0011.TAG tag1_is_disable
|
||
STRCONTAIN "ERR" $12-01-02-0008.TAG tag2_is_disable
|
||
STRCONTAIN "ERR" $12-01-03-0008.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> $Sum120101001112010200081201030008 </State>
|
||
<Value> text_unavailable </Value>
|
||
<Align> center-vertical-horizontal </Align>
|
||
</Text>
|
||
</Block>
|
||
; 12-21-01-0011 12-21-02-0008 12-21-03-0008
|
||
<Block>
|
||
<MarginLeft> 33 </MarginLeft>
|
||
<MarginTop> 22 </MarginTop>
|
||
<Width> 225 </Width>
|
||
<Height> 296 </Height>
|
||
<State> Flag( 12-21-01-0011.Button,12-21-02-0008.Button,12-21-03-0008.Button,$Sum122101001112210200081221030008) </State>
|
||
<Button>
|
||
<State> $Sum122101001112210200081221030008 </State>
|
||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_kuromitsu_coffee.png" </Filename>
|
||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_kuromitsu_coffee.png" </FilenamePress>
|
||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_kuromitsu_coffee.png" </FilenameDisable>
|
||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||
<Volume> SoundVolume </Volume>
|
||
<OverlayImage> xmlpro( 12-21-01-0011, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||
<EventOnClick>
|
||
Var NameDrink = "Brown Sugar Latte"
|
||
Var NameDrinkTH = "บราวน์ชูการ์ลาเต้"
|
||
Var DrinkDescriptionTH = "กาแฟ น้ำตาลแดง และ นม"
|
||
Var DrinkDescription = "Espresso, Milk, Kokuto"
|
||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_kuromitsu_coffee.png"
|
||
Var OpenFromXML = CurrentXMLFileName2
|
||
Var PriceD1 = $12-21-01-0011.Price
|
||
Var PriceD2 = $12-21-02-0008.Price
|
||
Var PriceD3 = $12-21-03-0008.Price
|
||
Var PD_CODE1 = "12-21-01-0011"
|
||
Var PD_CODE2 = "12-21-02-0008"
|
||
Var PD_CODE3 = "12-21-03-0008"
|
||
Var PD_STAGE_1 = $12-21-01-0011.Button
|
||
Var PD_STAGE_2 = $12-21-02-0008.Button
|
||
Var PD_STAGE_3 = $12-21-03-0008.Button
|
||
Var OverlayMenuFilter !assigned xmlpro( 12-21-01-0011, "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-21-02-0008"
|
||
Else
|
||
If PD_STAGE_1 = "Enable" Then
|
||
Topping "Load" "12-21-01-0011"
|
||
Else
|
||
Topping "Load" "12-21-03-0008"
|
||
EndIf
|
||
EndIf
|
||
Var menu_name_eng_hot = $12-21-01-0011.NameE
|
||
Var menu_desc_eng_hot = $12-21-01-0011.descriptionE
|
||
Var menu_name_thai_hot = $12-21-01-0011.Name
|
||
Var menu_desc_thai_hot = $12-21-01-0011.description
|
||
|
||
Var menu_name_eng_cold = $12-21-02-0008.NameE
|
||
Var menu_desc_eng_cold = $12-21-02-0008.descriptionE
|
||
Var menu_name_thai_cold = $12-21-02-0008.Name
|
||
Var menu_desc_thai_cold = $12-21-02-0008.description
|
||
|
||
Var menu_name_eng_blender = $12-21-03-0008.NameE
|
||
Var menu_desc_eng_blender = $12-21-03-0008.descriptionE
|
||
Var menu_name_thai_blender = $12-21-03-0008.Name
|
||
Var menu_desc_thai_blender = $12-21-03-0008.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> "Brown
|
||
Sugar Latte" </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> "Espresso, Milk,
|
||
Kokuto" </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-21-01-0011.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-21-01-0011.Button </State>
|
||
<Value> StringFmt( $12-21-01-0011.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-21-02-0008.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-21-02-0008.Button </State>
|
||
<Value> StringFmt( $12-21-02-0008.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-21-03-0008.Button </State>
|
||
</Image>
|
||
<Text>
|
||
<X> 183 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> $12-21-03-0008.Button </State>
|
||
<Value> StringFmt( $12-21-03-0008.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<State>
|
||
eval(
|
||
If ICE_PROCESS_STATUS = 2 Then
|
||
|
||
If $Sum122101001112210200081221030008 = "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 $Sum122101001112210200081221030008 = "Disable" Then
|
||
STRCONTAIN "ERR" $12-21-01-0011.TAG tag1_is_disable
|
||
STRCONTAIN "ERR" $12-21-02-0008.TAG tag2_is_disable
|
||
STRCONTAIN "ERR" $12-21-03-0008.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> $Sum122101001112210200081221030008 </State>
|
||
<Value> text_unavailable </Value>
|
||
<Align> center-vertical-horizontal </Align>
|
||
</Text>
|
||
</Block>
|
||
; ==================> Len = 21
|
||
; 12-01-01-0039 12-01-02-0039 -
|
||
<Block>
|
||
<MarginLeft> 33 </MarginLeft>
|
||
<MarginTop> 22 </MarginTop>
|
||
<Width> 225 </Width>
|
||
<Height> 296 </Height>
|
||
<State> Flag( 12-01-01-0039.Button,12-01-02-0039.Button,$Sum12010100391201020039) </State>
|
||
<Button>
|
||
<State> $Sum12010100391201020039 </State>
|
||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_melon_americano.png" </Filename>
|
||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_melon_americano.png" </FilenamePress>
|
||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_melon_americano.png" </FilenameDisable>
|
||
<OverlayImage> xmlpro( 12-01-01-0039, "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 = "Melon Cafe Latte"
|
||
Var NameDrinkTH = "กาแฟเมล่อนลาเต้"
|
||
Var DrinkDescriptionTH = "กาแฟ เมล่อน น้ำตาล และ นม"
|
||
Var DrinkDescription = "Espresso, Melon, Milk, Sugar"
|
||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_melon_americano.png"
|
||
Var OpenFromXML = CurrentXMLFileName2
|
||
Var PriceD1 = $12-01-01-0039.Price
|
||
Var PriceD2 = $12-01-02-0039.Price
|
||
Var PriceD3 = $-.Price
|
||
Var PD_CODE1 = "12-01-01-0039"
|
||
Var PD_CODE2 = "12-01-02-0039"
|
||
Var PD_CODE3 = "##-##-##-####"
|
||
Var PD_STAGE_1 = $12-01-01-0039.Button
|
||
Var PD_STAGE_2 = $12-01-02-0039.Button
|
||
Var PD_STAGE_3 = "Disable2"
|
||
Var OverlayMenuFilter !assigned xmlpro( 12-01-01-0039, "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-01-02-0039"
|
||
Else
|
||
If PD_STAGE_1 = "Enable" Then
|
||
Topping "Load" "12-01-01-0039"
|
||
Else
|
||
Topping "Load" "-"
|
||
EndIf
|
||
EndIf
|
||
Var menu_name_eng_hot = $12-01-01-0039.NameE
|
||
Var menu_desc_eng_hot = $12-01-01-0039.descriptionE
|
||
Var menu_name_thai_hot = $12-01-01-0039.Name
|
||
Var menu_desc_thai_hot = $12-01-01-0039.description
|
||
|
||
Var menu_name_eng_cold = $12-01-02-0039.NameE
|
||
Var menu_desc_eng_cold = $12-01-02-0039.descriptionE
|
||
Var menu_name_thai_cold = $12-01-02-0039.Name
|
||
Var menu_desc_thai_cold = $12-01-02-0039.description
|
||
|
||
Var menu_name_eng_blender = $##-##-##-####.NameE
|
||
Var menu_desc_eng_blender = $##-##-##-####.descriptionE
|
||
Var menu_name_thai_blender = $##-##-##-####.Name
|
||
Var menu_desc_thai_blender = $##-##-##-####.description
|
||
|
||
DEBUGVAR PD_STAGE_1
|
||
DEBUGVAR PD_STAGE_2
|
||
DEBUGVAR PD_STAGE_3
|
||
Var SelectDrinkType = 0
|
||
|
||
|
||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
||
|
||
</EventOnClick>
|
||
</Button>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 164 </Y>
|
||
<Size> 24 </Size>
|
||
<Width>220</Width>
|
||
<Mode> "multi2" </Mode>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x322B26 </Color>
|
||
<State> showthaiText </State>
|
||
<Value> "กาแฟเมล่อนลาเต้" </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 220 </Y>
|
||
<Size> 14 </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<State> showthaiText </State>
|
||
<Value> "กาแฟ เมล่อน น้ำตาล
|
||
และ นม" </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 164 </Y>
|
||
<Size> 22 </Size>
|
||
<Width>220</Width>
|
||
<Mode> "multi2" </Mode>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x322B26 </Color>
|
||
<State> showengText </State>
|
||
<Value> "Melon
|
||
Cafe Latte" </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> "Espresso, Melon, Milk, Sugar" </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-01-01-0039.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-01-01-0039.Button </State>
|
||
<Value> StringFmt( $12-01-01-0039.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-01-02-0039.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-01-02-0039.Button </State>
|
||
<Value> StringFmt( $12-01-02-0039.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 146 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||
<State> "Invisible" </State>
|
||
</Image>
|
||
<Text>
|
||
<X> 180 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitRegularTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> "Invisible" </State>
|
||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<State>
|
||
eval(
|
||
If ICE_PROCESS_STATUS = 2 Then
|
||
|
||
If $Sum12010100391201020039 = "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 $Sum12010100391201020039 = "Disable" Then
|
||
STRCONTAIN "ERR" $12-01-01-0039.TAG tag1_is_disable
|
||
STRCONTAIN "ERR" $12-01-02-0039.TAG tag2_is_disable
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||
Var return = "Invisible"
|
||
If tag1_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag2_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag3_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
Else
|
||
Var return = "Invisible"
|
||
EndIf
|
||
)
|
||
</State>
|
||
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
||
</Image>
|
||
<Text>
|
||
<X> 84 </X>
|
||
<Y> 266 </Y>
|
||
<Size> 10 </Size>
|
||
<Font> OpunMediumTTF </Font>
|
||
<Color> 0xDE794E </Color>
|
||
<State> ice_tab_process_show </State>
|
||
<Value> ice_show_open </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 48 </X>
|
||
<Y> 116 </Y>
|
||
<Size> 32 </Size>
|
||
<Width>128</Width>
|
||
<Height>64</Height>
|
||
<Font> MITRegularTTF </Font>
|
||
<Color> 0x5A5A5A </Color>
|
||
<Mode> "disable-show" </Mode>
|
||
<State> $Sum12010100391201020039 </State>
|
||
<Value> text_unavailable </Value>
|
||
<Align> center-vertical-horizontal </Align>
|
||
</Text>
|
||
</Block>
|
||
; 12-21-01-0039 12-21-02-0039 -
|
||
<Block>
|
||
<MarginLeft> 33 </MarginLeft>
|
||
<MarginTop> 22 </MarginTop>
|
||
<Width> 225 </Width>
|
||
<Height> 296 </Height>
|
||
<State> Flag( 12-21-01-0039.Button,12-21-02-0039.Button,$Sum12210100391221020039) </State>
|
||
<Button>
|
||
<State> $Sum12210100391221020039 </State>
|
||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_melon_americano.png" </Filename>
|
||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_melon_americano.png" </FilenamePress>
|
||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_melon_americano.png" </FilenameDisable>
|
||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||
<Volume> SoundVolume </Volume>
|
||
<OverlayImage> xmlpro( 12-21-01-0039, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||
<EventOnClick>
|
||
Var NameDrink = "Melon Cafe Latte"
|
||
Var NameDrinkTH = "กาแฟเมล่อนลาเต้"
|
||
Var DrinkDescriptionTH = "กาแฟ เมล่อน น้ำตาล และ นม"
|
||
Var DrinkDescription = "Espresso, Melon, Milk, Sugar"
|
||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_melon_americano.png"
|
||
Var OpenFromXML = CurrentXMLFileName2
|
||
Var PriceD1 = $12-21-01-0039.Price
|
||
Var PriceD2 = $12-21-02-0039.Price
|
||
Var PriceD3 = $-.Price
|
||
Var PD_CODE1 = "12-21-01-0039"
|
||
Var PD_CODE2 = "12-21-02-0039"
|
||
Var PD_CODE3 = "##-##-##-####"
|
||
Var PD_STAGE_1 = $12-21-01-0039.Button
|
||
Var PD_STAGE_2 = $12-21-02-0039.Button
|
||
Var PD_STAGE_3 = "Disable2"
|
||
Var OverlayMenuFilter !assigned xmlpro( 12-21-01-0039, "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-21-02-0039"
|
||
Else
|
||
If PD_STAGE_1 = "Enable" Then
|
||
Topping "Load" "12-21-01-0039"
|
||
Else
|
||
Topping "Load" "-"
|
||
EndIf
|
||
EndIf
|
||
Var menu_name_eng_hot = $12-21-01-0039.NameE
|
||
Var menu_desc_eng_hot = $12-21-01-0039.descriptionE
|
||
Var menu_name_thai_hot = $12-21-01-0039.Name
|
||
Var menu_desc_thai_hot = $12-21-01-0039.description
|
||
|
||
Var menu_name_eng_cold = $12-21-02-0039.NameE
|
||
Var menu_desc_eng_cold = $12-21-02-0039.descriptionE
|
||
Var menu_name_thai_cold = $12-21-02-0039.Name
|
||
Var menu_desc_thai_cold = $12-21-02-0039.description
|
||
|
||
Var menu_name_eng_blender = $##-##-##-####.NameE
|
||
Var menu_desc_eng_blender = $##-##-##-####.descriptionE
|
||
Var menu_name_thai_blender = $##-##-##-####.Name
|
||
Var menu_desc_thai_blender = $##-##-##-####.description
|
||
|
||
DEBUGVAR PD_STAGE_1
|
||
DEBUGVAR PD_STAGE_2
|
||
DEBUGVAR PD_STAGE_3
|
||
Var SelectDrinkType = 0
|
||
|
||
|
||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
||
|
||
</EventOnClick>
|
||
</Button>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 164 </Y>
|
||
<Size> 24 </Size>
|
||
<Width>220</Width>
|
||
<Mode> "multi2" </Mode>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x322B26 </Color>
|
||
<State> showthaiText </State>
|
||
<Value> "กาแฟเมล่อนลาเต้" </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 220 </Y>
|
||
<Size> 14 </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<State> showthaiText </State>
|
||
<Value> "กาแฟ เมล่อน น้ำตาล
|
||
และ นม" </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 164 </Y>
|
||
<Size> 22 </Size>
|
||
<Width>220</Width>
|
||
<Mode> "multi2" </Mode>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x322B26 </Color>
|
||
<State> showengText </State>
|
||
<Value> "Melon
|
||
Cafe Latte" </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> "Espresso, Melon, Milk, Sugar" </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-21-01-0039.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-21-01-0039.Button </State>
|
||
<Value> StringFmt( $12-21-01-0039.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-21-02-0039.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-21-02-0039.Button </State>
|
||
<Value> StringFmt( $12-21-02-0039.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 146 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||
<State> "Invisible" </State>
|
||
</Image>
|
||
<Text>
|
||
<X> 183 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> "Invisible" </State>
|
||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<State>
|
||
eval(
|
||
If ICE_PROCESS_STATUS = 2 Then
|
||
|
||
If $Sum12210100391221020039 = "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 $Sum12210100391221020039 = "Disable" Then
|
||
STRCONTAIN "ERR" $12-21-01-0039.TAG tag1_is_disable
|
||
STRCONTAIN "ERR" $12-21-02-0039.TAG tag2_is_disable
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||
Var return = "Invisible"
|
||
If tag1_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag2_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag3_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
Else
|
||
Var return = "Invisible"
|
||
EndIf
|
||
)
|
||
</State>
|
||
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
||
</Image>
|
||
<Text>
|
||
<X> 84 </X>
|
||
<Y> 266 </Y>
|
||
<Size> 10 </Size>
|
||
<Font> OpunMediumTTF </Font>
|
||
<Color> 0xDE794E </Color>
|
||
<State> ice_tab_process_show </State>
|
||
<Value> ice_show_open </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 48 </X>
|
||
<Y> 116 </Y>
|
||
<Size> 32 </Size>
|
||
<Width>128</Width>
|
||
<Height>64</Height>
|
||
<Font> MITRegularTTF </Font>
|
||
<Color> 0x5A5A5A </Color>
|
||
<Mode> "disable-show" </Mode>
|
||
<State> $Sum12210100391221020039 </State>
|
||
<Value> text_unavailable </Value>
|
||
<Align> center-vertical-horizontal </Align>
|
||
</Text>
|
||
</Block>
|
||
; ==================> Len = 21
|
||
; 12-01-01-0009 12-01-02-0006 12-01-03-0006
|
||
<Block>
|
||
<MarginLeft> 33 </MarginLeft>
|
||
<MarginTop> 22 </MarginTop>
|
||
<Width> 225 </Width>
|
||
<Height> 296 </Height>
|
||
<State> Flag( 12-01-01-0009.Button,12-01-02-0006.Button,12-01-03-0006.Button,$Sum120101000912010200061201030006) </State>
|
||
<Button>
|
||
<State> $Sum120101000912010200061201030006 </State>
|
||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_taiwantea_macchiato.png" </Filename>
|
||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_taiwantea_macchiato.png" </FilenamePress>
|
||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_taiwantea_macchiato.png" </FilenameDisable>
|
||
<OverlayImage> xmlpro( 12-01-01-0009, "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 = "Taiwanese Tea Cafe Latte"
|
||
Var NameDrinkTH = "กาแฟชานมไต้หวัน"
|
||
Var DrinkDescriptionTH = "กาแฟ ชาไต้หวัน น้ำตาล และ นม"
|
||
Var DrinkDescription = "Espresso, Taiwanese Tea, Milk, Sugar"
|
||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_taiwantea_macchiato.png"
|
||
Var OpenFromXML = CurrentXMLFileName2
|
||
Var PriceD1 = $12-01-01-0009.Price
|
||
Var PriceD2 = $12-01-02-0006.Price
|
||
Var PriceD3 = $12-01-03-0006.Price
|
||
Var PD_CODE1 = "12-01-01-0009"
|
||
Var PD_CODE2 = "12-01-02-0006"
|
||
Var PD_CODE3 = "12-01-03-0006"
|
||
Var PD_STAGE_1 = $12-01-01-0009.Button
|
||
Var PD_STAGE_2 = $12-01-02-0006.Button
|
||
Var PD_STAGE_3 = $12-01-03-0006.Button
|
||
Var OverlayMenuFilter !assigned xmlpro( 12-01-01-0009, "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-01-02-0006"
|
||
Else
|
||
If PD_STAGE_1 = "Enable" Then
|
||
Topping "Load" "12-01-01-0009"
|
||
Else
|
||
Topping "Load" "12-01-03-0006"
|
||
EndIf
|
||
EndIf
|
||
Var menu_name_eng_hot = $12-01-01-0009.NameE
|
||
Var menu_desc_eng_hot = $12-01-01-0009.descriptionE
|
||
Var menu_name_thai_hot = $12-01-01-0009.Name
|
||
Var menu_desc_thai_hot = $12-01-01-0009.description
|
||
|
||
Var menu_name_eng_cold = $12-01-02-0006.NameE
|
||
Var menu_desc_eng_cold = $12-01-02-0006.descriptionE
|
||
Var menu_name_thai_cold = $12-01-02-0006.Name
|
||
Var menu_desc_thai_cold = $12-01-02-0006.description
|
||
|
||
Var menu_name_eng_blender = $12-01-03-0006.NameE
|
||
Var menu_desc_eng_blender = $12-01-03-0006.descriptionE
|
||
Var menu_name_thai_blender = $12-01-03-0006.Name
|
||
Var menu_desc_thai_blender = $12-01-03-0006.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> "Taiwanese Tea
|
||
Cafe Latte" </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> "Espresso, Taiwanese Tea,
|
||
Milk, Sugar" </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-01-01-0009.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-01-01-0009.Button </State>
|
||
<Value> StringFmt( $12-01-01-0009.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-01-02-0006.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-01-02-0006.Button </State>
|
||
<Value> StringFmt( $12-01-02-0006.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-01-03-0006.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-01-03-0006.Button </State>
|
||
<Value> StringFmt( $12-01-03-0006.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<State>
|
||
eval(
|
||
If ICE_PROCESS_STATUS = 2 Then
|
||
|
||
If $Sum120101000912010200061201030006 = "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 $Sum120101000912010200061201030006 = "Disable" Then
|
||
STRCONTAIN "ERR" $12-01-01-0009.TAG tag1_is_disable
|
||
STRCONTAIN "ERR" $12-01-02-0006.TAG tag2_is_disable
|
||
STRCONTAIN "ERR" $12-01-03-0006.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> $Sum120101000912010200061201030006 </State>
|
||
<Value> text_unavailable </Value>
|
||
<Align> center-vertical-horizontal </Align>
|
||
</Text>
|
||
</Block>
|
||
; 12-21-01-0009 12-21-02-0006 12-21-03-0006
|
||
<Block>
|
||
<MarginLeft> 33 </MarginLeft>
|
||
<MarginTop> 22 </MarginTop>
|
||
<Width> 225 </Width>
|
||
<Height> 296 </Height>
|
||
<State> Flag( 12-21-01-0009.Button,12-21-02-0006.Button,12-21-03-0006.Button,$Sum122101000912210200061221030006) </State>
|
||
<Button>
|
||
<State> $Sum122101000912210200061221030006 </State>
|
||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_taiwantea_macchiato.png" </Filename>
|
||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_taiwantea_macchiato.png" </FilenamePress>
|
||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_taiwantea_macchiato.png" </FilenameDisable>
|
||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||
<Volume> SoundVolume </Volume>
|
||
<OverlayImage> xmlpro( 12-21-01-0009, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||
<EventOnClick>
|
||
Var NameDrink = "Taiwanese Tea Cafe Latte"
|
||
Var NameDrinkTH = "กาแฟชานมไต้หวัน"
|
||
Var DrinkDescriptionTH = "กาแฟ ชาไต้หวัน น้ำตาล และ นม"
|
||
Var DrinkDescription = "Espresso, Taiwanese Tea, Milk, Sugar"
|
||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_taiwantea_macchiato.png"
|
||
Var OpenFromXML = CurrentXMLFileName2
|
||
Var PriceD1 = $12-21-01-0009.Price
|
||
Var PriceD2 = $12-21-02-0006.Price
|
||
Var PriceD3 = $12-21-03-0006.Price
|
||
Var PD_CODE1 = "12-21-01-0009"
|
||
Var PD_CODE2 = "12-21-02-0006"
|
||
Var PD_CODE3 = "12-21-03-0006"
|
||
Var PD_STAGE_1 = $12-21-01-0009.Button
|
||
Var PD_STAGE_2 = $12-21-02-0006.Button
|
||
Var PD_STAGE_3 = $12-21-03-0006.Button
|
||
Var OverlayMenuFilter !assigned xmlpro( 12-21-01-0009, "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-21-02-0006"
|
||
Else
|
||
If PD_STAGE_1 = "Enable" Then
|
||
Topping "Load" "12-21-01-0009"
|
||
Else
|
||
Topping "Load" "12-21-03-0006"
|
||
EndIf
|
||
EndIf
|
||
Var menu_name_eng_hot = $12-21-01-0009.NameE
|
||
Var menu_desc_eng_hot = $12-21-01-0009.descriptionE
|
||
Var menu_name_thai_hot = $12-21-01-0009.Name
|
||
Var menu_desc_thai_hot = $12-21-01-0009.description
|
||
|
||
Var menu_name_eng_cold = $12-21-02-0006.NameE
|
||
Var menu_desc_eng_cold = $12-21-02-0006.descriptionE
|
||
Var menu_name_thai_cold = $12-21-02-0006.Name
|
||
Var menu_desc_thai_cold = $12-21-02-0006.description
|
||
|
||
Var menu_name_eng_blender = $12-21-03-0006.NameE
|
||
Var menu_desc_eng_blender = $12-21-03-0006.descriptionE
|
||
Var menu_name_thai_blender = $12-21-03-0006.Name
|
||
Var menu_desc_thai_blender = $12-21-03-0006.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> "Taiwanese Tea
|
||
Cafe Latte" </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> "Espresso, Taiwanese Tea,
|
||
Milk, Sugar" </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-21-01-0009.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-21-01-0009.Button </State>
|
||
<Value> StringFmt( $12-21-01-0009.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-21-02-0006.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-21-02-0006.Button </State>
|
||
<Value> StringFmt( $12-21-02-0006.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-21-03-0006.Button </State>
|
||
</Image>
|
||
<Text>
|
||
<X> 183 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> $12-21-03-0006.Button </State>
|
||
<Value> StringFmt( $12-21-03-0006.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<State>
|
||
eval(
|
||
If ICE_PROCESS_STATUS = 2 Then
|
||
|
||
If $Sum122101000912210200061221030006 = "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 $Sum122101000912210200061221030006 = "Disable" Then
|
||
STRCONTAIN "ERR" $12-21-01-0009.TAG tag1_is_disable
|
||
STRCONTAIN "ERR" $12-21-02-0006.TAG tag2_is_disable
|
||
STRCONTAIN "ERR" $12-21-03-0006.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> $Sum122101000912210200061221030006 </State>
|
||
<Value> text_unavailable </Value>
|
||
<Align> center-vertical-horizontal </Align>
|
||
</Text>
|
||
</Block>
|
||
; ==================> Len = 21
|
||
; 12-01-01-0029 12-01-02-0029 12-01-03-0029
|
||
<Block>
|
||
<MarginLeft> 33 </MarginLeft>
|
||
<MarginTop> 22 </MarginTop>
|
||
<Width> 225 </Width>
|
||
<Height> 296 </Height>
|
||
<State> Flag( 12-01-01-0029.Button,12-01-02-0029.Button,12-01-03-0029.Button,$Sum120101002912010200291201030029) </State>
|
||
<Button>
|
||
<State> $Sum120101002912010200291201030029 </State>
|
||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_coffee_thai_milk_tea.png" </Filename>
|
||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_coffee_thai_milk_tea.png" </FilenamePress>
|
||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_coffee_thai_milk_tea.png" </FilenameDisable>
|
||
<OverlayImage> xmlpro( 12-01-01-0029, "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 = "Thai Tea Cafe Latte"
|
||
Var NameDrinkTH = "กาแฟชาไทย"
|
||
Var DrinkDescriptionTH = "กาแฟ ชาไทย นม น้ำตาล"
|
||
Var DrinkDescription = "Espresso, Thai tea, Milk, Sugar"
|
||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_coffee_thai_milk_tea.png"
|
||
Var OpenFromXML = CurrentXMLFileName2
|
||
Var PriceD1 = $12-01-01-0029.Price
|
||
Var PriceD2 = $12-01-02-0029.Price
|
||
Var PriceD3 = $12-01-03-0029.Price
|
||
Var PD_CODE1 = "12-01-01-0029"
|
||
Var PD_CODE2 = "12-01-02-0029"
|
||
Var PD_CODE3 = "12-01-03-0029"
|
||
Var PD_STAGE_1 = $12-01-01-0029.Button
|
||
Var PD_STAGE_2 = $12-01-02-0029.Button
|
||
Var PD_STAGE_3 = $12-01-03-0029.Button
|
||
Var OverlayMenuFilter !assigned xmlpro( 12-01-01-0029, "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-01-02-0029"
|
||
Else
|
||
If PD_STAGE_1 = "Enable" Then
|
||
Topping "Load" "12-01-01-0029"
|
||
Else
|
||
Topping "Load" "12-01-03-0029"
|
||
EndIf
|
||
EndIf
|
||
Var menu_name_eng_hot = $12-01-01-0029.NameE
|
||
Var menu_desc_eng_hot = $12-01-01-0029.descriptionE
|
||
Var menu_name_thai_hot = $12-01-01-0029.Name
|
||
Var menu_desc_thai_hot = $12-01-01-0029.description
|
||
|
||
Var menu_name_eng_cold = $12-01-02-0029.NameE
|
||
Var menu_desc_eng_cold = $12-01-02-0029.descriptionE
|
||
Var menu_name_thai_cold = $12-01-02-0029.Name
|
||
Var menu_desc_thai_cold = $12-01-02-0029.description
|
||
|
||
Var menu_name_eng_blender = $12-01-03-0029.NameE
|
||
Var menu_desc_eng_blender = $12-01-03-0029.descriptionE
|
||
Var menu_name_thai_blender = $12-01-03-0029.Name
|
||
Var menu_desc_thai_blender = $12-01-03-0029.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> "Thai Tea
|
||
Cafe Latte" </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> "Espresso, Thai tea, Milk, Sugar" </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-01-01-0029.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-01-01-0029.Button </State>
|
||
<Value> StringFmt( $12-01-01-0029.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-01-02-0029.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-01-02-0029.Button </State>
|
||
<Value> StringFmt( $12-01-02-0029.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-01-03-0029.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-01-03-0029.Button </State>
|
||
<Value> StringFmt( $12-01-03-0029.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<State>
|
||
eval(
|
||
If ICE_PROCESS_STATUS = 2 Then
|
||
|
||
If $Sum120101002912010200291201030029 = "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 $Sum120101002912010200291201030029 = "Disable" Then
|
||
STRCONTAIN "ERR" $12-01-01-0029.TAG tag1_is_disable
|
||
STRCONTAIN "ERR" $12-01-02-0029.TAG tag2_is_disable
|
||
STRCONTAIN "ERR" $12-01-03-0029.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> $Sum120101002912010200291201030029 </State>
|
||
<Value> text_unavailable </Value>
|
||
<Align> center-vertical-horizontal </Align>
|
||
</Text>
|
||
</Block>
|
||
; 12-21-01-0029 12-21-02-0029 12-21-03-0029
|
||
<Block>
|
||
<MarginLeft> 33 </MarginLeft>
|
||
<MarginTop> 22 </MarginTop>
|
||
<Width> 225 </Width>
|
||
<Height> 296 </Height>
|
||
<State> Flag( 12-21-01-0029.Button,12-21-02-0029.Button,12-21-03-0029.Button,$Sum122101002912210200291221030029) </State>
|
||
<Button>
|
||
<State> $Sum122101002912210200291221030029 </State>
|
||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_coffee_thai_milk_tea.png" </Filename>
|
||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_coffee_thai_milk_tea.png" </FilenamePress>
|
||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_coffee_thai_milk_tea.png" </FilenameDisable>
|
||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||
<Volume> SoundVolume </Volume>
|
||
<OverlayImage> xmlpro( 12-21-01-0029, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||
<EventOnClick>
|
||
Var NameDrink = "Thai Tea Cafe Latte"
|
||
Var NameDrinkTH = "กาแฟชาไทย"
|
||
Var DrinkDescriptionTH = "กาแฟ ชาไทย นม น้ำตาล"
|
||
Var DrinkDescription = "Espresso, Thai tea, Milk, Sugar"
|
||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_coffee_thai_milk_tea.png"
|
||
Var OpenFromXML = CurrentXMLFileName2
|
||
Var PriceD1 = $12-21-01-0029.Price
|
||
Var PriceD2 = $12-21-02-0029.Price
|
||
Var PriceD3 = $12-21-03-0029.Price
|
||
Var PD_CODE1 = "12-21-01-0029"
|
||
Var PD_CODE2 = "12-21-02-0029"
|
||
Var PD_CODE3 = "12-21-03-0029"
|
||
Var PD_STAGE_1 = $12-21-01-0029.Button
|
||
Var PD_STAGE_2 = $12-21-02-0029.Button
|
||
Var PD_STAGE_3 = $12-21-03-0029.Button
|
||
Var OverlayMenuFilter !assigned xmlpro( 12-21-01-0029, "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-21-02-0029"
|
||
Else
|
||
If PD_STAGE_1 = "Enable" Then
|
||
Topping "Load" "12-21-01-0029"
|
||
Else
|
||
Topping "Load" "12-21-03-0029"
|
||
EndIf
|
||
EndIf
|
||
Var menu_name_eng_hot = $12-21-01-0029.NameE
|
||
Var menu_desc_eng_hot = $12-21-01-0029.descriptionE
|
||
Var menu_name_thai_hot = $12-21-01-0029.Name
|
||
Var menu_desc_thai_hot = $12-21-01-0029.description
|
||
|
||
Var menu_name_eng_cold = $12-21-02-0029.NameE
|
||
Var menu_desc_eng_cold = $12-21-02-0029.descriptionE
|
||
Var menu_name_thai_cold = $12-21-02-0029.Name
|
||
Var menu_desc_thai_cold = $12-21-02-0029.description
|
||
|
||
Var menu_name_eng_blender = $12-21-03-0029.NameE
|
||
Var menu_desc_eng_blender = $12-21-03-0029.descriptionE
|
||
Var menu_name_thai_blender = $12-21-03-0029.Name
|
||
Var menu_desc_thai_blender = $12-21-03-0029.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> "Thai Tea
|
||
Cafe Latte" </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> "Espresso, Thai tea, Milk, Sugar" </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-21-01-0029.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-21-01-0029.Button </State>
|
||
<Value> StringFmt( $12-21-01-0029.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-21-02-0029.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-21-02-0029.Button </State>
|
||
<Value> StringFmt( $12-21-02-0029.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-21-03-0029.Button </State>
|
||
</Image>
|
||
<Text>
|
||
<X> 183 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> $12-21-03-0029.Button </State>
|
||
<Value> StringFmt( $12-21-03-0029.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<State>
|
||
eval(
|
||
If ICE_PROCESS_STATUS = 2 Then
|
||
|
||
If $Sum122101002912210200291221030029 = "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 $Sum122101002912210200291221030029 = "Disable" Then
|
||
STRCONTAIN "ERR" $12-21-01-0029.TAG tag1_is_disable
|
||
STRCONTAIN "ERR" $12-21-02-0029.TAG tag2_is_disable
|
||
STRCONTAIN "ERR" $12-21-03-0029.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> $Sum122101002912210200291221030029 </State>
|
||
<Value> text_unavailable </Value>
|
||
<Align> center-vertical-horizontal </Align>
|
||
</Text>
|
||
</Block>
|
||
; ==================> Len = 16
|
||
; 12-01-01-0055 12-01-02-0055 12-01-03-0055
|
||
<Block>
|
||
<MarginLeft> 33 </MarginLeft>
|
||
<MarginTop> 22 </MarginTop>
|
||
<Width> 225 </Width>
|
||
<Height> 296 </Height>
|
||
<State> Flag( 12-01-01-0055.Button,12-01-02-0055.Button,12-01-03-0055.Button,$Sum120101005512010200551201030055) </State>
|
||
<Button>
|
||
<State> $Sum120101005512010200551201030055 </State>
|
||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_coffee_thai_milk_tea_SingPark.png" </Filename>
|
||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_coffee_thai_milk_tea_SingPark.png" </FilenamePress>
|
||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_coffee_thai_milk_tea_SingPark.png" </FilenameDisable>
|
||
<OverlayImage> xmlpro( 12-01-01-0055, "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 = "Thai Tea Cafe Latte"
|
||
Var NameDrinkTH = "กาแฟชาไทย"
|
||
Var DrinkDescriptionTH = "กาแฟ ชาไทย นม น้ำตาล"
|
||
Var DrinkDescription = "Espresso, Thai tea, Milk, Sugar"
|
||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_coffee_thai_milk_tea_SingPark.png"
|
||
Var OpenFromXML = CurrentXMLFileName2
|
||
Var PriceD1 = $12-01-01-0055.Price
|
||
Var PriceD2 = $12-01-02-0055.Price
|
||
Var PriceD3 = $12-01-03-0055.Price
|
||
Var PD_CODE1 = "12-01-01-0055"
|
||
Var PD_CODE2 = "12-01-02-0055"
|
||
Var PD_CODE3 = "12-01-03-0055"
|
||
Var PD_STAGE_1 = $12-01-01-0055.Button
|
||
Var PD_STAGE_2 = $12-01-02-0055.Button
|
||
Var PD_STAGE_3 = $12-01-03-0055.Button
|
||
Var OverlayMenuFilter !assigned xmlpro( 12-01-01-0055, "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-01-02-0055"
|
||
Else
|
||
If PD_STAGE_1 = "Enable" Then
|
||
Topping "Load" "12-01-01-0055"
|
||
Else
|
||
Topping "Load" "12-01-03-0055"
|
||
EndIf
|
||
EndIf
|
||
Var menu_name_eng_hot = $12-01-01-0055.NameE
|
||
Var menu_desc_eng_hot = $12-01-01-0055.descriptionE
|
||
Var menu_name_thai_hot = $12-01-01-0055.Name
|
||
Var menu_desc_thai_hot = $12-01-01-0055.description
|
||
|
||
Var menu_name_eng_cold = $12-01-02-0055.NameE
|
||
Var menu_desc_eng_cold = $12-01-02-0055.descriptionE
|
||
Var menu_name_thai_cold = $12-01-02-0055.Name
|
||
Var menu_desc_thai_cold = $12-01-02-0055.description
|
||
|
||
Var menu_name_eng_blender = $12-01-03-0055.NameE
|
||
Var menu_desc_eng_blender = $12-01-03-0055.descriptionE
|
||
Var menu_name_thai_blender = $12-01-03-0055.Name
|
||
Var menu_desc_thai_blender = $12-01-03-0055.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> "Thai Tea
|
||
Cafe Latte" </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> "Espresso, Thai tea, Milk, Sugar" </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-01-01-0055.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-01-01-0055.Button </State>
|
||
<Value> StringFmt( $12-01-01-0055.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-01-02-0055.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-01-02-0055.Button </State>
|
||
<Value> StringFmt( $12-01-02-0055.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-01-03-0055.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-01-03-0055.Button </State>
|
||
<Value> StringFmt( $12-01-03-0055.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<State>
|
||
eval(
|
||
If ICE_PROCESS_STATUS = 2 Then
|
||
|
||
If $Sum120101005512010200551201030055 = "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 $Sum120101005512010200551201030055 = "Disable" Then
|
||
STRCONTAIN "ERR" $12-01-01-0055.TAG tag1_is_disable
|
||
STRCONTAIN "ERR" $12-01-02-0055.TAG tag2_is_disable
|
||
STRCONTAIN "ERR" $12-01-03-0055.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> $Sum120101005512010200551201030055 </State>
|
||
<Value> text_unavailable </Value>
|
||
<Align> center-vertical-horizontal </Align>
|
||
</Text>
|
||
</Block>
|
||
; 12-21-01-0055 12-21-02-0055 12-21-03-0055
|
||
<Block>
|
||
<MarginLeft> 33 </MarginLeft>
|
||
<MarginTop> 22 </MarginTop>
|
||
<Width> 225 </Width>
|
||
<Height> 296 </Height>
|
||
<State> Flag( 12-21-01-0055.Button,12-21-02-0055.Button,12-21-03-0055.Button,$Sum122101005512210200551221030055) </State>
|
||
<Button>
|
||
<State> $Sum122101005512210200551221030055 </State>
|
||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_coffee_thai_milk_tea_SingPark.png" </Filename>
|
||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_coffee_thai_milk_tea_SingPark.png" </FilenamePress>
|
||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_coffee_thai_milk_tea_SingPark.png" </FilenameDisable>
|
||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||
<Volume> SoundVolume </Volume>
|
||
<OverlayImage> xmlpro( 12-21-01-0055, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||
<EventOnClick>
|
||
Var NameDrink = "Thai Tea Cafe Latte"
|
||
Var NameDrinkTH = "กาแฟชาไทย"
|
||
Var DrinkDescriptionTH = "กาแฟ ชาไทย นม น้ำตาล"
|
||
Var DrinkDescription = "Espresso, Thai tea, Milk, Sugar"
|
||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_coffee_thai_milk_tea_SingPark.png"
|
||
Var OpenFromXML = CurrentXMLFileName2
|
||
Var PriceD1 = $12-21-01-0055.Price
|
||
Var PriceD2 = $12-21-02-0055.Price
|
||
Var PriceD3 = $12-21-03-0055.Price
|
||
Var PD_CODE1 = "12-21-01-0055"
|
||
Var PD_CODE2 = "12-21-02-0055"
|
||
Var PD_CODE3 = "12-21-03-0055"
|
||
Var PD_STAGE_1 = $12-21-01-0055.Button
|
||
Var PD_STAGE_2 = $12-21-02-0055.Button
|
||
Var PD_STAGE_3 = $12-21-03-0055.Button
|
||
Var OverlayMenuFilter !assigned xmlpro( 12-21-01-0055, "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-21-02-0055"
|
||
Else
|
||
If PD_STAGE_1 = "Enable" Then
|
||
Topping "Load" "12-21-01-0055"
|
||
Else
|
||
Topping "Load" "12-21-03-0055"
|
||
EndIf
|
||
EndIf
|
||
Var menu_name_eng_hot = $12-21-01-0055.NameE
|
||
Var menu_desc_eng_hot = $12-21-01-0055.descriptionE
|
||
Var menu_name_thai_hot = $12-21-01-0055.Name
|
||
Var menu_desc_thai_hot = $12-21-01-0055.description
|
||
|
||
Var menu_name_eng_cold = $12-21-02-0055.NameE
|
||
Var menu_desc_eng_cold = $12-21-02-0055.descriptionE
|
||
Var menu_name_thai_cold = $12-21-02-0055.Name
|
||
Var menu_desc_thai_cold = $12-21-02-0055.description
|
||
|
||
Var menu_name_eng_blender = $12-21-03-0055.NameE
|
||
Var menu_desc_eng_blender = $12-21-03-0055.descriptionE
|
||
Var menu_name_thai_blender = $12-21-03-0055.Name
|
||
Var menu_desc_thai_blender = $12-21-03-0055.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> "Thai Tea
|
||
Cafe Latte" </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> "Espresso, Thai tea, Milk, Sugar" </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-21-01-0055.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-21-01-0055.Button </State>
|
||
<Value> StringFmt( $12-21-01-0055.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-21-02-0055.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-21-02-0055.Button </State>
|
||
<Value> StringFmt( $12-21-02-0055.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-21-03-0055.Button </State>
|
||
</Image>
|
||
<Text>
|
||
<X> 183 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> $12-21-03-0055.Button </State>
|
||
<Value> StringFmt( $12-21-03-0055.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<State>
|
||
eval(
|
||
If ICE_PROCESS_STATUS = 2 Then
|
||
|
||
If $Sum122101005512210200551221030055 = "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 $Sum122101005512210200551221030055 = "Disable" Then
|
||
STRCONTAIN "ERR" $12-21-01-0055.TAG tag1_is_disable
|
||
STRCONTAIN "ERR" $12-21-02-0055.TAG tag2_is_disable
|
||
STRCONTAIN "ERR" $12-21-03-0055.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> $Sum122101005512210200551221030055 </State>
|
||
<Value> text_unavailable </Value>
|
||
<Align> center-vertical-horizontal </Align>
|
||
</Text>
|
||
</Block>
|
||
; ==================> Len = 21
|
||
; 12-01-01-0030 12-01-02-0030 12-01-03-0030
|
||
<Block>
|
||
<MarginLeft> 33 </MarginLeft>
|
||
<MarginTop> 22 </MarginTop>
|
||
<Width> 225 </Width>
|
||
<Height> 296 </Height>
|
||
<State> Flag( 12-01-01-0030.Button,12-01-02-0030.Button,12-01-03-0030.Button,$Sum120101003012010200301201030030) </State>
|
||
<Button>
|
||
<State> $Sum120101003012010200301201030030 </State>
|
||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_taiwantea_macchiato.png" </Filename>
|
||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_taiwantea_macchiato.png" </FilenamePress>
|
||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_taiwantea_macchiato.png" </FilenameDisable>
|
||
<OverlayImage> xmlpro( 12-01-01-0030, "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 = "Taiwanese Cafe Latte"
|
||
Var NameDrinkTH = "กาแฟชานมไต้หวัน"
|
||
Var DrinkDescriptionTH = "กาแฟ ชาไต้หวัน น้ำตาล และ นม"
|
||
Var DrinkDescription = "Espresso, Taiwanese Tea, Milk, Sugar"
|
||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_taiwantea_macchiato.png"
|
||
Var OpenFromXML = CurrentXMLFileName2
|
||
Var PriceD1 = $12-01-01-0030.Price
|
||
Var PriceD2 = $12-01-02-0030.Price
|
||
Var PriceD3 = $12-01-03-0030.Price
|
||
Var PD_CODE1 = "12-01-01-0030"
|
||
Var PD_CODE2 = "12-01-02-0030"
|
||
Var PD_CODE3 = "12-01-03-0030"
|
||
Var PD_STAGE_1 = $12-01-01-0030.Button
|
||
Var PD_STAGE_2 = $12-01-02-0030.Button
|
||
Var PD_STAGE_3 = $12-01-03-0030.Button
|
||
Var OverlayMenuFilter !assigned xmlpro( 12-01-01-0030, "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-01-02-0030"
|
||
Else
|
||
If PD_STAGE_1 = "Enable" Then
|
||
Topping "Load" "12-01-01-0030"
|
||
Else
|
||
Topping "Load" "12-01-03-0030"
|
||
EndIf
|
||
EndIf
|
||
Var menu_name_eng_hot = $12-01-01-0030.NameE
|
||
Var menu_desc_eng_hot = $12-01-01-0030.descriptionE
|
||
Var menu_name_thai_hot = $12-01-01-0030.Name
|
||
Var menu_desc_thai_hot = $12-01-01-0030.description
|
||
|
||
Var menu_name_eng_cold = $12-01-02-0030.NameE
|
||
Var menu_desc_eng_cold = $12-01-02-0030.descriptionE
|
||
Var menu_name_thai_cold = $12-01-02-0030.Name
|
||
Var menu_desc_thai_cold = $12-01-02-0030.description
|
||
|
||
Var menu_name_eng_blender = $12-01-03-0030.NameE
|
||
Var menu_desc_eng_blender = $12-01-03-0030.descriptionE
|
||
Var menu_name_thai_blender = $12-01-03-0030.Name
|
||
Var menu_desc_thai_blender = $12-01-03-0030.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> "Taiwanese
|
||
Cafe Latte" </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> "Espresso, Taiwanese Tea,
|
||
Milk, Sugar" </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-01-01-0030.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-01-01-0030.Button </State>
|
||
<Value> StringFmt( $12-01-01-0030.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-01-02-0030.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-01-02-0030.Button </State>
|
||
<Value> StringFmt( $12-01-02-0030.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-01-03-0030.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-01-03-0030.Button </State>
|
||
<Value> StringFmt( $12-01-03-0030.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<State>
|
||
eval(
|
||
If ICE_PROCESS_STATUS = 2 Then
|
||
|
||
If $Sum120101003012010200301201030030 = "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 $Sum120101003012010200301201030030 = "Disable" Then
|
||
STRCONTAIN "ERR" $12-01-01-0030.TAG tag1_is_disable
|
||
STRCONTAIN "ERR" $12-01-02-0030.TAG tag2_is_disable
|
||
STRCONTAIN "ERR" $12-01-03-0030.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> $Sum120101003012010200301201030030 </State>
|
||
<Value> text_unavailable </Value>
|
||
<Align> center-vertical-horizontal </Align>
|
||
</Text>
|
||
</Block>
|
||
; 12-21-01-0030 12-21-02-0030 12-21-03-0030
|
||
<Block>
|
||
<MarginLeft> 33 </MarginLeft>
|
||
<MarginTop> 22 </MarginTop>
|
||
<Width> 225 </Width>
|
||
<Height> 296 </Height>
|
||
<State> Flag( 12-21-01-0030.Button,12-21-02-0030.Button,12-21-03-0030.Button,$Sum122101003012210200301221030030) </State>
|
||
<Button>
|
||
<State> $Sum122101003012210200301221030030 </State>
|
||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_taiwantea_macchiato.png" </Filename>
|
||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_taiwantea_macchiato.png" </FilenamePress>
|
||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_taiwantea_macchiato.png" </FilenameDisable>
|
||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||
<Volume> SoundVolume </Volume>
|
||
<OverlayImage> xmlpro( 12-21-01-0030, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||
<EventOnClick>
|
||
Var NameDrink = "Taiwanese Cafe Latte"
|
||
Var NameDrinkTH = "กาแฟชานมไต้หวัน"
|
||
Var DrinkDescriptionTH = "กาแฟ ชาไต้หวัน น้ำตาล และ นม"
|
||
Var DrinkDescription = "Espresso, Taiwanese Tea, Milk, Sugar"
|
||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_taiwantea_macchiato.png"
|
||
Var OpenFromXML = CurrentXMLFileName2
|
||
Var PriceD1 = $12-21-01-0030.Price
|
||
Var PriceD2 = $12-21-02-0030.Price
|
||
Var PriceD3 = $12-21-03-0030.Price
|
||
Var PD_CODE1 = "12-21-01-0030"
|
||
Var PD_CODE2 = "12-21-02-0030"
|
||
Var PD_CODE3 = "12-21-03-0030"
|
||
Var PD_STAGE_1 = $12-21-01-0030.Button
|
||
Var PD_STAGE_2 = $12-21-02-0030.Button
|
||
Var PD_STAGE_3 = $12-21-03-0030.Button
|
||
Var OverlayMenuFilter !assigned xmlpro( 12-21-01-0030, "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-21-02-0030"
|
||
Else
|
||
If PD_STAGE_1 = "Enable" Then
|
||
Topping "Load" "12-21-01-0030"
|
||
Else
|
||
Topping "Load" "12-21-03-0030"
|
||
EndIf
|
||
EndIf
|
||
Var menu_name_eng_hot = $12-21-01-0030.NameE
|
||
Var menu_desc_eng_hot = $12-21-01-0030.descriptionE
|
||
Var menu_name_thai_hot = $12-21-01-0030.Name
|
||
Var menu_desc_thai_hot = $12-21-01-0030.description
|
||
|
||
Var menu_name_eng_cold = $12-21-02-0030.NameE
|
||
Var menu_desc_eng_cold = $12-21-02-0030.descriptionE
|
||
Var menu_name_thai_cold = $12-21-02-0030.Name
|
||
Var menu_desc_thai_cold = $12-21-02-0030.description
|
||
|
||
Var menu_name_eng_blender = $12-21-03-0030.NameE
|
||
Var menu_desc_eng_blender = $12-21-03-0030.descriptionE
|
||
Var menu_name_thai_blender = $12-21-03-0030.Name
|
||
Var menu_desc_thai_blender = $12-21-03-0030.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> "Taiwanese
|
||
Cafe Latte" </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> "Espresso, Taiwanese Tea,
|
||
Milk, Sugar" </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-21-01-0030.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-21-01-0030.Button </State>
|
||
<Value> StringFmt( $12-21-01-0030.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-21-02-0030.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-21-02-0030.Button </State>
|
||
<Value> StringFmt( $12-21-02-0030.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-21-03-0030.Button </State>
|
||
</Image>
|
||
<Text>
|
||
<X> 183 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> $12-21-03-0030.Button </State>
|
||
<Value> StringFmt( $12-21-03-0030.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<State>
|
||
eval(
|
||
If ICE_PROCESS_STATUS = 2 Then
|
||
|
||
If $Sum122101003012210200301221030030 = "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 $Sum122101003012210200301221030030 = "Disable" Then
|
||
STRCONTAIN "ERR" $12-21-01-0030.TAG tag1_is_disable
|
||
STRCONTAIN "ERR" $12-21-02-0030.TAG tag2_is_disable
|
||
STRCONTAIN "ERR" $12-21-03-0030.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> $Sum122101003012210200301221030030 </State>
|
||
<Value> text_unavailable </Value>
|
||
<Align> center-vertical-horizontal </Align>
|
||
</Text>
|
||
</Block>
|
||
; ==================> Len = 21
|
||
; 12-01-01-0017 12-01-02-0017 -
|
||
<Block>
|
||
<MarginLeft> 33 </MarginLeft>
|
||
<MarginTop> 22 </MarginTop>
|
||
<Width> 225 </Width>
|
||
<Height> 296 </Height>
|
||
<State> Flag( 12-01-01-0017.Button,12-01-02-0017.Button,$Sum12010100171201020017) </State>
|
||
<Button>
|
||
<State> $Sum12010100171201020017 </State>
|
||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_lychee_espresso.png" </Filename>
|
||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_lychee_espresso.png" </FilenamePress>
|
||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_lychee_espresso.png" </FilenameDisable>
|
||
<OverlayImage> xmlpro( 12-01-01-0017, "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 = "Lycheecano"
|
||
Var NameDrinkTH = "ลิ้นจี่กาโน่"
|
||
Var DrinkDescriptionTH = "กาแฟ น้ำ และ ลิ้นจี่"
|
||
Var DrinkDescription = "Espresso, Lychee, Sugar, Water"
|
||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_lychee_espresso.png"
|
||
Var OpenFromXML = CurrentXMLFileName2
|
||
Var PriceD1 = $12-01-01-0017.Price
|
||
Var PriceD2 = $12-01-02-0017.Price
|
||
Var PriceD3 = $-.Price
|
||
Var PD_CODE1 = "12-01-01-0017"
|
||
Var PD_CODE2 = "12-01-02-0017"
|
||
Var PD_CODE3 = "##-##-##-####"
|
||
Var PD_STAGE_1 = $12-01-01-0017.Button
|
||
Var PD_STAGE_2 = $12-01-02-0017.Button
|
||
Var PD_STAGE_3 = "Disable2"
|
||
Var OverlayMenuFilter !assigned xmlpro( 12-01-01-0017, "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-01-02-0017"
|
||
Else
|
||
If PD_STAGE_1 = "Enable" Then
|
||
Topping "Load" "12-01-01-0017"
|
||
Else
|
||
Topping "Load" "-"
|
||
EndIf
|
||
EndIf
|
||
Var menu_name_eng_hot = $12-01-01-0017.NameE
|
||
Var menu_desc_eng_hot = $12-01-01-0017.descriptionE
|
||
Var menu_name_thai_hot = $12-01-01-0017.Name
|
||
Var menu_desc_thai_hot = $12-01-01-0017.description
|
||
|
||
Var menu_name_eng_cold = $12-01-02-0017.NameE
|
||
Var menu_desc_eng_cold = $12-01-02-0017.descriptionE
|
||
Var menu_name_thai_cold = $12-01-02-0017.Name
|
||
Var menu_desc_thai_cold = $12-01-02-0017.description
|
||
|
||
Var menu_name_eng_blender = $##-##-##-####.NameE
|
||
Var menu_desc_eng_blender = $##-##-##-####.descriptionE
|
||
Var menu_name_thai_blender = $##-##-##-####.Name
|
||
Var menu_desc_thai_blender = $##-##-##-####.description
|
||
|
||
DEBUGVAR PD_STAGE_1
|
||
DEBUGVAR PD_STAGE_2
|
||
DEBUGVAR PD_STAGE_3
|
||
Var SelectDrinkType = 0
|
||
|
||
|
||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
||
|
||
</EventOnClick>
|
||
</Button>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 164 </Y>
|
||
<Size> 24 </Size>
|
||
<Width>220</Width>
|
||
<Mode> "multi2" </Mode>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x322B26 </Color>
|
||
<State> showthaiText </State>
|
||
<Value> "ลิ้นจี่กาโน่" </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 220 </Y>
|
||
<Size> 14 </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<State> showthaiText </State>
|
||
<Value> "กาแฟ น้ำ และ ลิ้นจี่" </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 164 </Y>
|
||
<Size> 22 </Size>
|
||
<Width>220</Width>
|
||
<Mode> "multi2" </Mode>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x322B26 </Color>
|
||
<State> showengText </State>
|
||
<Value> "Lycheecano" </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> "Espresso, Lychee,
|
||
Sugar, Water" </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-01-01-0017.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-01-01-0017.Button </State>
|
||
<Value> StringFmt( $12-01-01-0017.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-01-02-0017.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-01-02-0017.Button </State>
|
||
<Value> StringFmt( $12-01-02-0017.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 146 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||
<State> "Invisible" </State>
|
||
</Image>
|
||
<Text>
|
||
<X> 180 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitRegularTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> "Invisible" </State>
|
||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<State>
|
||
eval(
|
||
If ICE_PROCESS_STATUS = 2 Then
|
||
|
||
If $Sum12010100171201020017 = "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 $Sum12010100171201020017 = "Disable" Then
|
||
STRCONTAIN "ERR" $12-01-01-0017.TAG tag1_is_disable
|
||
STRCONTAIN "ERR" $12-01-02-0017.TAG tag2_is_disable
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||
Var return = "Invisible"
|
||
If tag1_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag2_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag3_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
Else
|
||
Var return = "Invisible"
|
||
EndIf
|
||
)
|
||
</State>
|
||
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
||
</Image>
|
||
<Text>
|
||
<X> 84 </X>
|
||
<Y> 266 </Y>
|
||
<Size> 10 </Size>
|
||
<Font> OpunMediumTTF </Font>
|
||
<Color> 0xDE794E </Color>
|
||
<State> ice_tab_process_show </State>
|
||
<Value> ice_show_open </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 48 </X>
|
||
<Y> 116 </Y>
|
||
<Size> 32 </Size>
|
||
<Width>128</Width>
|
||
<Height>64</Height>
|
||
<Font> MITRegularTTF </Font>
|
||
<Color> 0x5A5A5A </Color>
|
||
<Mode> "disable-show" </Mode>
|
||
<State> $Sum12010100171201020017 </State>
|
||
<Value> text_unavailable </Value>
|
||
<Align> center-vertical-horizontal </Align>
|
||
</Text>
|
||
</Block>
|
||
; 12-21-01-0017 12-21-02-0017 -
|
||
<Block>
|
||
<MarginLeft> 33 </MarginLeft>
|
||
<MarginTop> 22 </MarginTop>
|
||
<Width> 225 </Width>
|
||
<Height> 296 </Height>
|
||
<State> Flag( 12-21-01-0017.Button,12-21-02-0017.Button,$Sum12210100171221020017) </State>
|
||
<Button>
|
||
<State> $Sum12210100171221020017 </State>
|
||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_lychee_espresso.png" </Filename>
|
||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_lychee_espresso.png" </FilenamePress>
|
||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_lychee_espresso.png" </FilenameDisable>
|
||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||
<Volume> SoundVolume </Volume>
|
||
<OverlayImage> xmlpro( 12-21-01-0017, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||
<EventOnClick>
|
||
Var NameDrink = "Lycheecano"
|
||
Var NameDrinkTH = "ลิ้นจี่กาโน่"
|
||
Var DrinkDescriptionTH = "กาแฟ น้ำ และ ลิ้นจี่"
|
||
Var DrinkDescription = "Espresso, Lychee, Sugar, Water"
|
||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_lychee_espresso.png"
|
||
Var OpenFromXML = CurrentXMLFileName2
|
||
Var PriceD1 = $12-21-01-0017.Price
|
||
Var PriceD2 = $12-21-02-0017.Price
|
||
Var PriceD3 = $-.Price
|
||
Var PD_CODE1 = "12-21-01-0017"
|
||
Var PD_CODE2 = "12-21-02-0017"
|
||
Var PD_CODE3 = "##-##-##-####"
|
||
Var PD_STAGE_1 = $12-21-01-0017.Button
|
||
Var PD_STAGE_2 = $12-21-02-0017.Button
|
||
Var PD_STAGE_3 = "Disable2"
|
||
Var OverlayMenuFilter !assigned xmlpro( 12-21-01-0017, "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-21-02-0017"
|
||
Else
|
||
If PD_STAGE_1 = "Enable" Then
|
||
Topping "Load" "12-21-01-0017"
|
||
Else
|
||
Topping "Load" "-"
|
||
EndIf
|
||
EndIf
|
||
Var menu_name_eng_hot = $12-21-01-0017.NameE
|
||
Var menu_desc_eng_hot = $12-21-01-0017.descriptionE
|
||
Var menu_name_thai_hot = $12-21-01-0017.Name
|
||
Var menu_desc_thai_hot = $12-21-01-0017.description
|
||
|
||
Var menu_name_eng_cold = $12-21-02-0017.NameE
|
||
Var menu_desc_eng_cold = $12-21-02-0017.descriptionE
|
||
Var menu_name_thai_cold = $12-21-02-0017.Name
|
||
Var menu_desc_thai_cold = $12-21-02-0017.description
|
||
|
||
Var menu_name_eng_blender = $##-##-##-####.NameE
|
||
Var menu_desc_eng_blender = $##-##-##-####.descriptionE
|
||
Var menu_name_thai_blender = $##-##-##-####.Name
|
||
Var menu_desc_thai_blender = $##-##-##-####.description
|
||
|
||
DEBUGVAR PD_STAGE_1
|
||
DEBUGVAR PD_STAGE_2
|
||
DEBUGVAR PD_STAGE_3
|
||
Var SelectDrinkType = 0
|
||
|
||
|
||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
||
|
||
</EventOnClick>
|
||
</Button>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 164 </Y>
|
||
<Size> 24 </Size>
|
||
<Width>220</Width>
|
||
<Mode> "multi2" </Mode>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x322B26 </Color>
|
||
<State> showthaiText </State>
|
||
<Value> "ลิ้นจี่กาโน่" </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 220 </Y>
|
||
<Size> 14 </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<State> showthaiText </State>
|
||
<Value> "กาแฟ น้ำ และ ลิ้นจี่" </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 164 </Y>
|
||
<Size> 22 </Size>
|
||
<Width>220</Width>
|
||
<Mode> "multi2" </Mode>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x322B26 </Color>
|
||
<State> showengText </State>
|
||
<Value> "Lycheecano" </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> "Espresso, Lychee,
|
||
Sugar, Water" </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-21-01-0017.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-21-01-0017.Button </State>
|
||
<Value> StringFmt( $12-21-01-0017.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-21-02-0017.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-21-02-0017.Button </State>
|
||
<Value> StringFmt( $12-21-02-0017.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 146 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||
<State> "Invisible" </State>
|
||
</Image>
|
||
<Text>
|
||
<X> 183 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> "Invisible" </State>
|
||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<State>
|
||
eval(
|
||
If ICE_PROCESS_STATUS = 2 Then
|
||
|
||
If $Sum12210100171221020017 = "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 $Sum12210100171221020017 = "Disable" Then
|
||
STRCONTAIN "ERR" $12-21-01-0017.TAG tag1_is_disable
|
||
STRCONTAIN "ERR" $12-21-02-0017.TAG tag2_is_disable
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||
Var return = "Invisible"
|
||
If tag1_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag2_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag3_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
Else
|
||
Var return = "Invisible"
|
||
EndIf
|
||
)
|
||
</State>
|
||
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
||
</Image>
|
||
<Text>
|
||
<X> 84 </X>
|
||
<Y> 266 </Y>
|
||
<Size> 10 </Size>
|
||
<Font> OpunMediumTTF </Font>
|
||
<Color> 0xDE794E </Color>
|
||
<State> ice_tab_process_show </State>
|
||
<Value> ice_show_open </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 48 </X>
|
||
<Y> 116 </Y>
|
||
<Size> 32 </Size>
|
||
<Width>128</Width>
|
||
<Height>64</Height>
|
||
<Font> MITRegularTTF </Font>
|
||
<Color> 0x5A5A5A </Color>
|
||
<Mode> "disable-show" </Mode>
|
||
<State> $Sum12210100171221020017 </State>
|
||
<Value> text_unavailable </Value>
|
||
<Align> center-vertical-horizontal </Align>
|
||
</Text>
|
||
</Block>
|
||
; ==================> Len = 21
|
||
; 12-01-01-0040 12-01-02-0040 -
|
||
<Block>
|
||
<MarginLeft> 33 </MarginLeft>
|
||
<MarginTop> 22 </MarginTop>
|
||
<Width> 225 </Width>
|
||
<Height> 296 </Height>
|
||
<State> Flag( 12-01-01-0040.Button,12-01-02-0040.Button,$Sum12010100401201020040) </State>
|
||
<Button>
|
||
<State> $Sum12010100401201020040 </State>
|
||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_Yuzu_americano.png" </Filename>
|
||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_Yuzu_americano.png" </FilenamePress>
|
||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_Yuzu_americano.png" </FilenameDisable>
|
||
<OverlayImage> xmlpro( 12-01-01-0040, "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 = "Yuzucano"
|
||
Var NameDrinkTH = "ยูซุกาโน่"
|
||
Var DrinkDescriptionTH = "กาแฟ น้ำ และ ยูซุ"
|
||
Var DrinkDescription = "Espresso, Yuzu, Sugar, Water"
|
||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_Yuzu_americano.png"
|
||
Var OpenFromXML = CurrentXMLFileName2
|
||
Var PriceD1 = $12-01-01-0040.Price
|
||
Var PriceD2 = $12-01-02-0040.Price
|
||
Var PriceD3 = $-.Price
|
||
Var PD_CODE1 = "12-01-01-0040"
|
||
Var PD_CODE2 = "12-01-02-0040"
|
||
Var PD_CODE3 = "##-##-##-####"
|
||
Var PD_STAGE_1 = $12-01-01-0040.Button
|
||
Var PD_STAGE_2 = $12-01-02-0040.Button
|
||
Var PD_STAGE_3 = "Disable2"
|
||
Var OverlayMenuFilter !assigned xmlpro( 12-01-01-0040, "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-01-02-0040"
|
||
Else
|
||
If PD_STAGE_1 = "Enable" Then
|
||
Topping "Load" "12-01-01-0040"
|
||
Else
|
||
Topping "Load" "-"
|
||
EndIf
|
||
EndIf
|
||
Var menu_name_eng_hot = $12-01-01-0040.NameE
|
||
Var menu_desc_eng_hot = $12-01-01-0040.descriptionE
|
||
Var menu_name_thai_hot = $12-01-01-0040.Name
|
||
Var menu_desc_thai_hot = $12-01-01-0040.description
|
||
|
||
Var menu_name_eng_cold = $12-01-02-0040.NameE
|
||
Var menu_desc_eng_cold = $12-01-02-0040.descriptionE
|
||
Var menu_name_thai_cold = $12-01-02-0040.Name
|
||
Var menu_desc_thai_cold = $12-01-02-0040.description
|
||
|
||
Var menu_name_eng_blender = $##-##-##-####.NameE
|
||
Var menu_desc_eng_blender = $##-##-##-####.descriptionE
|
||
Var menu_name_thai_blender = $##-##-##-####.Name
|
||
Var menu_desc_thai_blender = $##-##-##-####.description
|
||
|
||
DEBUGVAR PD_STAGE_1
|
||
DEBUGVAR PD_STAGE_2
|
||
DEBUGVAR PD_STAGE_3
|
||
Var SelectDrinkType = 0
|
||
|
||
|
||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
||
|
||
</EventOnClick>
|
||
</Button>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 164 </Y>
|
||
<Size> 24 </Size>
|
||
<Width>220</Width>
|
||
<Mode> "multi2" </Mode>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x322B26 </Color>
|
||
<State> showthaiText </State>
|
||
<Value> "ยูซุกาโน่" </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 220 </Y>
|
||
<Size> 14 </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<State> showthaiText </State>
|
||
<Value> "กาแฟ น้ำ และ ยูซุ" </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 164 </Y>
|
||
<Size> 22 </Size>
|
||
<Width>220</Width>
|
||
<Mode> "multi2" </Mode>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x322B26 </Color>
|
||
<State> showengText </State>
|
||
<Value> "Yuzucano" </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> "Espresso, Yuzu,
|
||
Sugar, Water" </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-01-01-0040.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-01-01-0040.Button </State>
|
||
<Value> StringFmt( $12-01-01-0040.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-01-02-0040.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-01-02-0040.Button </State>
|
||
<Value> StringFmt( $12-01-02-0040.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 146 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||
<State> "Invisible" </State>
|
||
</Image>
|
||
<Text>
|
||
<X> 180 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitRegularTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> "Invisible" </State>
|
||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<State>
|
||
eval(
|
||
If ICE_PROCESS_STATUS = 2 Then
|
||
|
||
If $Sum12010100401201020040 = "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 $Sum12010100401201020040 = "Disable" Then
|
||
STRCONTAIN "ERR" $12-01-01-0040.TAG tag1_is_disable
|
||
STRCONTAIN "ERR" $12-01-02-0040.TAG tag2_is_disable
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||
Var return = "Invisible"
|
||
If tag1_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag2_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag3_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
Else
|
||
Var return = "Invisible"
|
||
EndIf
|
||
)
|
||
</State>
|
||
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
||
</Image>
|
||
<Text>
|
||
<X> 84 </X>
|
||
<Y> 266 </Y>
|
||
<Size> 10 </Size>
|
||
<Font> OpunMediumTTF </Font>
|
||
<Color> 0xDE794E </Color>
|
||
<State> ice_tab_process_show </State>
|
||
<Value> ice_show_open </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 48 </X>
|
||
<Y> 116 </Y>
|
||
<Size> 32 </Size>
|
||
<Width>128</Width>
|
||
<Height>64</Height>
|
||
<Font> MITRegularTTF </Font>
|
||
<Color> 0x5A5A5A </Color>
|
||
<Mode> "disable-show" </Mode>
|
||
<State> $Sum12010100401201020040 </State>
|
||
<Value> text_unavailable </Value>
|
||
<Align> center-vertical-horizontal </Align>
|
||
</Text>
|
||
</Block>
|
||
; 12-21-01-0040 12-21-02-0040 -
|
||
<Block>
|
||
<MarginLeft> 33 </MarginLeft>
|
||
<MarginTop> 22 </MarginTop>
|
||
<Width> 225 </Width>
|
||
<Height> 296 </Height>
|
||
<State> Flag( 12-21-01-0040.Button,12-21-02-0040.Button,$Sum12210100401221020040) </State>
|
||
<Button>
|
||
<State> $Sum12210100401221020040 </State>
|
||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_Yuzu_americano.png" </Filename>
|
||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_Yuzu_americano.png" </FilenamePress>
|
||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_Yuzu_americano.png" </FilenameDisable>
|
||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||
<Volume> SoundVolume </Volume>
|
||
<OverlayImage> xmlpro( 12-21-01-0040, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||
<EventOnClick>
|
||
Var NameDrink = "Yuzucano"
|
||
Var NameDrinkTH = "ยูซุกาโน่"
|
||
Var DrinkDescriptionTH = "กาแฟ น้ำ และ ยูซุ"
|
||
Var DrinkDescription = "Espresso, Yuzu, Sugar, Water"
|
||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_Yuzu_americano.png"
|
||
Var OpenFromXML = CurrentXMLFileName2
|
||
Var PriceD1 = $12-21-01-0040.Price
|
||
Var PriceD2 = $12-21-02-0040.Price
|
||
Var PriceD3 = $-.Price
|
||
Var PD_CODE1 = "12-21-01-0040"
|
||
Var PD_CODE2 = "12-21-02-0040"
|
||
Var PD_CODE3 = "##-##-##-####"
|
||
Var PD_STAGE_1 = $12-21-01-0040.Button
|
||
Var PD_STAGE_2 = $12-21-02-0040.Button
|
||
Var PD_STAGE_3 = "Disable2"
|
||
Var OverlayMenuFilter !assigned xmlpro( 12-21-01-0040, "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-21-02-0040"
|
||
Else
|
||
If PD_STAGE_1 = "Enable" Then
|
||
Topping "Load" "12-21-01-0040"
|
||
Else
|
||
Topping "Load" "-"
|
||
EndIf
|
||
EndIf
|
||
Var menu_name_eng_hot = $12-21-01-0040.NameE
|
||
Var menu_desc_eng_hot = $12-21-01-0040.descriptionE
|
||
Var menu_name_thai_hot = $12-21-01-0040.Name
|
||
Var menu_desc_thai_hot = $12-21-01-0040.description
|
||
|
||
Var menu_name_eng_cold = $12-21-02-0040.NameE
|
||
Var menu_desc_eng_cold = $12-21-02-0040.descriptionE
|
||
Var menu_name_thai_cold = $12-21-02-0040.Name
|
||
Var menu_desc_thai_cold = $12-21-02-0040.description
|
||
|
||
Var menu_name_eng_blender = $##-##-##-####.NameE
|
||
Var menu_desc_eng_blender = $##-##-##-####.descriptionE
|
||
Var menu_name_thai_blender = $##-##-##-####.Name
|
||
Var menu_desc_thai_blender = $##-##-##-####.description
|
||
|
||
DEBUGVAR PD_STAGE_1
|
||
DEBUGVAR PD_STAGE_2
|
||
DEBUGVAR PD_STAGE_3
|
||
Var SelectDrinkType = 0
|
||
|
||
|
||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
||
|
||
</EventOnClick>
|
||
</Button>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 164 </Y>
|
||
<Size> 24 </Size>
|
||
<Width>220</Width>
|
||
<Mode> "multi2" </Mode>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x322B26 </Color>
|
||
<State> showthaiText </State>
|
||
<Value> "ยูซุกาโน่" </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 220 </Y>
|
||
<Size> 14 </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<State> showthaiText </State>
|
||
<Value> "กาแฟ น้ำ และ ยูซุ" </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 164 </Y>
|
||
<Size> 22 </Size>
|
||
<Width>220</Width>
|
||
<Mode> "multi2" </Mode>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x322B26 </Color>
|
||
<State> showengText </State>
|
||
<Value> "Yuzucano" </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> "Espresso, Yuzu,
|
||
Sugar, Water" </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-21-01-0040.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-21-01-0040.Button </State>
|
||
<Value> StringFmt( $12-21-01-0040.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-21-02-0040.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-21-02-0040.Button </State>
|
||
<Value> StringFmt( $12-21-02-0040.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 146 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||
<State> "Invisible" </State>
|
||
</Image>
|
||
<Text>
|
||
<X> 183 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> "Invisible" </State>
|
||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<State>
|
||
eval(
|
||
If ICE_PROCESS_STATUS = 2 Then
|
||
|
||
If $Sum12210100401221020040 = "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 $Sum12210100401221020040 = "Disable" Then
|
||
STRCONTAIN "ERR" $12-21-01-0040.TAG tag1_is_disable
|
||
STRCONTAIN "ERR" $12-21-02-0040.TAG tag2_is_disable
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||
Var return = "Invisible"
|
||
If tag1_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag2_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag3_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
Else
|
||
Var return = "Invisible"
|
||
EndIf
|
||
)
|
||
</State>
|
||
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
||
</Image>
|
||
<Text>
|
||
<X> 84 </X>
|
||
<Y> 266 </Y>
|
||
<Size> 10 </Size>
|
||
<Font> OpunMediumTTF </Font>
|
||
<Color> 0xDE794E </Color>
|
||
<State> ice_tab_process_show </State>
|
||
<Value> ice_show_open </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 48 </X>
|
||
<Y> 116 </Y>
|
||
<Size> 32 </Size>
|
||
<Width>128</Width>
|
||
<Height>64</Height>
|
||
<Font> MITRegularTTF </Font>
|
||
<Color> 0x5A5A5A </Color>
|
||
<Mode> "disable-show" </Mode>
|
||
<State> $Sum12210100401221020040 </State>
|
||
<Value> text_unavailable </Value>
|
||
<Align> center-vertical-horizontal </Align>
|
||
</Text>
|
||
</Block>
|
||
; ==================> Len = 21
|
||
; 12-01-01-0042 12-01-02-0042 12-01-03-0042
|
||
<Block>
|
||
<MarginLeft> 33 </MarginLeft>
|
||
<MarginTop> 22 </MarginTop>
|
||
<Width> 225 </Width>
|
||
<Height> 296 </Height>
|
||
<State> Flag( 12-01-01-0042.Button,12-01-02-0042.Button,12-01-03-0042.Button,$Sum120101004212010200421201030042) </State>
|
||
<Button>
|
||
<State> $Sum120101004212010200421201030042 </State>
|
||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_Banana_cafe_latte.png" </Filename>
|
||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_Banana_cafe_latte.png" </FilenamePress>
|
||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_Banana_cafe_latte.png" </FilenameDisable>
|
||
<OverlayImage> xmlpro( 12-01-01-0042, "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 = "Tokyo Banana Latte"
|
||
Var NameDrinkTH = "ลาเต้โตเกียวบานาน่า"
|
||
Var DrinkDescriptionTH = "กาแฟ น้ำ นม และ กล้วย"
|
||
Var DrinkDescription = "Espresso, Tokyo Banana, Sugar, Water"
|
||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_Banana_cafe_latte.png"
|
||
Var OpenFromXML = CurrentXMLFileName2
|
||
Var PriceD1 = $12-01-01-0042.Price
|
||
Var PriceD2 = $12-01-02-0042.Price
|
||
Var PriceD3 = $12-01-03-0042.Price
|
||
Var PD_CODE1 = "12-01-01-0042"
|
||
Var PD_CODE2 = "12-01-02-0042"
|
||
Var PD_CODE3 = "12-01-03-0042"
|
||
Var PD_STAGE_1 = $12-01-01-0042.Button
|
||
Var PD_STAGE_2 = $12-01-02-0042.Button
|
||
Var PD_STAGE_3 = $12-01-03-0042.Button
|
||
Var OverlayMenuFilter !assigned xmlpro( 12-01-01-0042, "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-01-02-0042"
|
||
Else
|
||
If PD_STAGE_1 = "Enable" Then
|
||
Topping "Load" "12-01-01-0042"
|
||
Else
|
||
Topping "Load" "12-01-03-0042"
|
||
EndIf
|
||
EndIf
|
||
Var menu_name_eng_hot = $12-01-01-0042.NameE
|
||
Var menu_desc_eng_hot = $12-01-01-0042.descriptionE
|
||
Var menu_name_thai_hot = $12-01-01-0042.Name
|
||
Var menu_desc_thai_hot = $12-01-01-0042.description
|
||
|
||
Var menu_name_eng_cold = $12-01-02-0042.NameE
|
||
Var menu_desc_eng_cold = $12-01-02-0042.descriptionE
|
||
Var menu_name_thai_cold = $12-01-02-0042.Name
|
||
Var menu_desc_thai_cold = $12-01-02-0042.description
|
||
|
||
Var menu_name_eng_blender = $12-01-03-0042.NameE
|
||
Var menu_desc_eng_blender = $12-01-03-0042.descriptionE
|
||
Var menu_name_thai_blender = $12-01-03-0042.Name
|
||
Var menu_desc_thai_blender = $12-01-03-0042.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> "Tokyo Banana
|
||
Latte" </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> "Espresso, Tokyo Banana,
|
||
Sugar, Water" </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-01-01-0042.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-01-01-0042.Button </State>
|
||
<Value> StringFmt( $12-01-01-0042.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-01-02-0042.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-01-02-0042.Button </State>
|
||
<Value> StringFmt( $12-01-02-0042.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-01-03-0042.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-01-03-0042.Button </State>
|
||
<Value> StringFmt( $12-01-03-0042.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<State>
|
||
eval(
|
||
If ICE_PROCESS_STATUS = 2 Then
|
||
|
||
If $Sum120101004212010200421201030042 = "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 $Sum120101004212010200421201030042 = "Disable" Then
|
||
STRCONTAIN "ERR" $12-01-01-0042.TAG tag1_is_disable
|
||
STRCONTAIN "ERR" $12-01-02-0042.TAG tag2_is_disable
|
||
STRCONTAIN "ERR" $12-01-03-0042.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> $Sum120101004212010200421201030042 </State>
|
||
<Value> text_unavailable </Value>
|
||
<Align> center-vertical-horizontal </Align>
|
||
</Text>
|
||
</Block>
|
||
; 12-21-01-0042 12-21-02-0042 12-21-03-0042
|
||
<Block>
|
||
<MarginLeft> 33 </MarginLeft>
|
||
<MarginTop> 22 </MarginTop>
|
||
<Width> 225 </Width>
|
||
<Height> 296 </Height>
|
||
<State> Flag( 12-21-01-0042.Button,12-21-02-0042.Button,12-21-03-0042.Button,$Sum122101004212210200421221030042) </State>
|
||
<Button>
|
||
<State> $Sum122101004212210200421221030042 </State>
|
||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_Banana_cafe_latte.png" </Filename>
|
||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_Banana_cafe_latte.png" </FilenamePress>
|
||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_Banana_cafe_latte.png" </FilenameDisable>
|
||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||
<Volume> SoundVolume </Volume>
|
||
<OverlayImage> xmlpro( 12-21-01-0042, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||
<EventOnClick>
|
||
Var NameDrink = "Tokyo Banana Latte"
|
||
Var NameDrinkTH = "ลาเต้โตเกียวบานาน่า"
|
||
Var DrinkDescriptionTH = "กาแฟ น้ำ นม และ กล้วย"
|
||
Var DrinkDescription = "Espresso, Tokyo Banana, Sugar, Water"
|
||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_Banana_cafe_latte.png"
|
||
Var OpenFromXML = CurrentXMLFileName2
|
||
Var PriceD1 = $12-21-01-0042.Price
|
||
Var PriceD2 = $12-21-02-0042.Price
|
||
Var PriceD3 = $12-21-03-0042.Price
|
||
Var PD_CODE1 = "12-21-01-0042"
|
||
Var PD_CODE2 = "12-21-02-0042"
|
||
Var PD_CODE3 = "12-21-03-0042"
|
||
Var PD_STAGE_1 = $12-21-01-0042.Button
|
||
Var PD_STAGE_2 = $12-21-02-0042.Button
|
||
Var PD_STAGE_3 = $12-21-03-0042.Button
|
||
Var OverlayMenuFilter !assigned xmlpro( 12-21-01-0042, "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-21-02-0042"
|
||
Else
|
||
If PD_STAGE_1 = "Enable" Then
|
||
Topping "Load" "12-21-01-0042"
|
||
Else
|
||
Topping "Load" "12-21-03-0042"
|
||
EndIf
|
||
EndIf
|
||
Var menu_name_eng_hot = $12-21-01-0042.NameE
|
||
Var menu_desc_eng_hot = $12-21-01-0042.descriptionE
|
||
Var menu_name_thai_hot = $12-21-01-0042.Name
|
||
Var menu_desc_thai_hot = $12-21-01-0042.description
|
||
|
||
Var menu_name_eng_cold = $12-21-02-0042.NameE
|
||
Var menu_desc_eng_cold = $12-21-02-0042.descriptionE
|
||
Var menu_name_thai_cold = $12-21-02-0042.Name
|
||
Var menu_desc_thai_cold = $12-21-02-0042.description
|
||
|
||
Var menu_name_eng_blender = $12-21-03-0042.NameE
|
||
Var menu_desc_eng_blender = $12-21-03-0042.descriptionE
|
||
Var menu_name_thai_blender = $12-21-03-0042.Name
|
||
Var menu_desc_thai_blender = $12-21-03-0042.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> "Tokyo Banana
|
||
Latte" </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> "Espresso, Tokyo Banana,
|
||
Sugar, Water" </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-21-01-0042.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-21-01-0042.Button </State>
|
||
<Value> StringFmt( $12-21-01-0042.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-21-02-0042.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-21-02-0042.Button </State>
|
||
<Value> StringFmt( $12-21-02-0042.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-21-03-0042.Button </State>
|
||
</Image>
|
||
<Text>
|
||
<X> 183 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> $12-21-03-0042.Button </State>
|
||
<Value> StringFmt( $12-21-03-0042.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<State>
|
||
eval(
|
||
If ICE_PROCESS_STATUS = 2 Then
|
||
|
||
If $Sum122101004212210200421221030042 = "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 $Sum122101004212210200421221030042 = "Disable" Then
|
||
STRCONTAIN "ERR" $12-21-01-0042.TAG tag1_is_disable
|
||
STRCONTAIN "ERR" $12-21-02-0042.TAG tag2_is_disable
|
||
STRCONTAIN "ERR" $12-21-03-0042.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> $Sum122101004212210200421221030042 </State>
|
||
<Value> text_unavailable </Value>
|
||
<Align> center-vertical-horizontal </Align>
|
||
</Text>
|
||
</Block>
|
||
; ==================> Len = 16
|
||
; 12-01-01-0057 12-01-02-0057 12-01-03-0057
|
||
<Block>
|
||
<MarginLeft> 33 </MarginLeft>
|
||
<MarginTop> 22 </MarginTop>
|
||
<Width> 225 </Width>
|
||
<Height> 296 </Height>
|
||
<State> Flag( 12-01-01-0057.Button,12-01-02-0057.Button,12-01-03-0057.Button,$Sum120101005712010200571201030057) </State>
|
||
<Button>
|
||
<State> $Sum120101005712010200571201030057 </State>
|
||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_Mint_cafe_Latte.png" </Filename>
|
||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_Mint_cafe_Latte.png" </FilenamePress>
|
||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_Mint_cafe_Latte.png" </FilenameDisable>
|
||
<OverlayImage> xmlpro( 12-01-01-0057, "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 = "Mint cafe Latte"
|
||
Var NameDrinkTH = "กาแฟมินต์ลาเต้"
|
||
Var DrinkDescriptionTH = "กาแฟ น้ำ นม และ มินต์"
|
||
Var DrinkDescription = "Espresso, Mint, Sugar, Milk"
|
||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_Mint_cafe_Latte.png"
|
||
Var OpenFromXML = CurrentXMLFileName2
|
||
Var PriceD1 = $12-01-01-0057.Price
|
||
Var PriceD2 = $12-01-02-0057.Price
|
||
Var PriceD3 = $12-01-03-0057.Price
|
||
Var PD_CODE1 = "12-01-01-0057"
|
||
Var PD_CODE2 = "12-01-02-0057"
|
||
Var PD_CODE3 = "12-01-03-0057"
|
||
Var PD_STAGE_1 = $12-01-01-0057.Button
|
||
Var PD_STAGE_2 = $12-01-02-0057.Button
|
||
Var PD_STAGE_3 = $12-01-03-0057.Button
|
||
Var OverlayMenuFilter !assigned xmlpro( 12-01-01-0057, "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-01-02-0057"
|
||
Else
|
||
If PD_STAGE_1 = "Enable" Then
|
||
Topping "Load" "12-01-01-0057"
|
||
Else
|
||
Topping "Load" "12-01-03-0057"
|
||
EndIf
|
||
EndIf
|
||
Var menu_name_eng_hot = $12-01-01-0057.NameE
|
||
Var menu_desc_eng_hot = $12-01-01-0057.descriptionE
|
||
Var menu_name_thai_hot = $12-01-01-0057.Name
|
||
Var menu_desc_thai_hot = $12-01-01-0057.description
|
||
|
||
Var menu_name_eng_cold = $12-01-02-0057.NameE
|
||
Var menu_desc_eng_cold = $12-01-02-0057.descriptionE
|
||
Var menu_name_thai_cold = $12-01-02-0057.Name
|
||
Var menu_desc_thai_cold = $12-01-02-0057.description
|
||
|
||
Var menu_name_eng_blender = $12-01-03-0057.NameE
|
||
Var menu_desc_eng_blender = $12-01-03-0057.descriptionE
|
||
Var menu_name_thai_blender = $12-01-03-0057.Name
|
||
Var menu_desc_thai_blender = $12-01-03-0057.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> "Mint cafe Latte" </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> "Espresso, Mint,
|
||
Sugar, Milk" </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-01-01-0057.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-01-01-0057.Button </State>
|
||
<Value> StringFmt( $12-01-01-0057.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-01-02-0057.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-01-02-0057.Button </State>
|
||
<Value> StringFmt( $12-01-02-0057.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-01-03-0057.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-01-03-0057.Button </State>
|
||
<Value> StringFmt( $12-01-03-0057.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<State>
|
||
eval(
|
||
If ICE_PROCESS_STATUS = 2 Then
|
||
|
||
If $Sum120101005712010200571201030057 = "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 $Sum120101005712010200571201030057 = "Disable" Then
|
||
STRCONTAIN "ERR" $12-01-01-0057.TAG tag1_is_disable
|
||
STRCONTAIN "ERR" $12-01-02-0057.TAG tag2_is_disable
|
||
STRCONTAIN "ERR" $12-01-03-0057.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> $Sum120101005712010200571201030057 </State>
|
||
<Value> text_unavailable </Value>
|
||
<Align> center-vertical-horizontal </Align>
|
||
</Text>
|
||
</Block>
|
||
; 12-21-01-0057 12-21-02-0057 12-21-03-0057
|
||
<Block>
|
||
<MarginLeft> 33 </MarginLeft>
|
||
<MarginTop> 22 </MarginTop>
|
||
<Width> 225 </Width>
|
||
<Height> 296 </Height>
|
||
<State> Flag( 12-21-01-0057.Button,12-21-02-0057.Button,12-21-03-0057.Button,$Sum122101005712210200571221030057) </State>
|
||
<Button>
|
||
<State> $Sum122101005712210200571221030057 </State>
|
||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_Mint_cafe_Latte.png" </Filename>
|
||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_Mint_cafe_Latte.png" </FilenamePress>
|
||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_Mint_cafe_Latte.png" </FilenameDisable>
|
||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||
<Volume> SoundVolume </Volume>
|
||
<OverlayImage> xmlpro( 12-21-01-0057, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||
<EventOnClick>
|
||
Var NameDrink = "Mint cafe Latte"
|
||
Var NameDrinkTH = "กาแฟมินต์ลาเต้"
|
||
Var DrinkDescriptionTH = "กาแฟ น้ำ นม และ มินต์"
|
||
Var DrinkDescription = "Espresso, Mint, Sugar, Milk"
|
||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_Mint_cafe_Latte.png"
|
||
Var OpenFromXML = CurrentXMLFileName2
|
||
Var PriceD1 = $12-21-01-0057.Price
|
||
Var PriceD2 = $12-21-02-0057.Price
|
||
Var PriceD3 = $12-21-03-0057.Price
|
||
Var PD_CODE1 = "12-21-01-0057"
|
||
Var PD_CODE2 = "12-21-02-0057"
|
||
Var PD_CODE3 = "12-21-03-0057"
|
||
Var PD_STAGE_1 = $12-21-01-0057.Button
|
||
Var PD_STAGE_2 = $12-21-02-0057.Button
|
||
Var PD_STAGE_3 = $12-21-03-0057.Button
|
||
Var OverlayMenuFilter !assigned xmlpro( 12-21-01-0057, "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-21-02-0057"
|
||
Else
|
||
If PD_STAGE_1 = "Enable" Then
|
||
Topping "Load" "12-21-01-0057"
|
||
Else
|
||
Topping "Load" "12-21-03-0057"
|
||
EndIf
|
||
EndIf
|
||
Var menu_name_eng_hot = $12-21-01-0057.NameE
|
||
Var menu_desc_eng_hot = $12-21-01-0057.descriptionE
|
||
Var menu_name_thai_hot = $12-21-01-0057.Name
|
||
Var menu_desc_thai_hot = $12-21-01-0057.description
|
||
|
||
Var menu_name_eng_cold = $12-21-02-0057.NameE
|
||
Var menu_desc_eng_cold = $12-21-02-0057.descriptionE
|
||
Var menu_name_thai_cold = $12-21-02-0057.Name
|
||
Var menu_desc_thai_cold = $12-21-02-0057.description
|
||
|
||
Var menu_name_eng_blender = $12-21-03-0057.NameE
|
||
Var menu_desc_eng_blender = $12-21-03-0057.descriptionE
|
||
Var menu_name_thai_blender = $12-21-03-0057.Name
|
||
Var menu_desc_thai_blender = $12-21-03-0057.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> "Mint cafe Latte" </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> "Espresso, Mint,
|
||
Sugar, Milk" </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-21-01-0057.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-21-01-0057.Button </State>
|
||
<Value> StringFmt( $12-21-01-0057.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-21-02-0057.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-21-02-0057.Button </State>
|
||
<Value> StringFmt( $12-21-02-0057.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-21-03-0057.Button </State>
|
||
</Image>
|
||
<Text>
|
||
<X> 183 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> $12-21-03-0057.Button </State>
|
||
<Value> StringFmt( $12-21-03-0057.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<State>
|
||
eval(
|
||
If ICE_PROCESS_STATUS = 2 Then
|
||
|
||
If $Sum122101005712210200571221030057 = "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 $Sum122101005712210200571221030057 = "Disable" Then
|
||
STRCONTAIN "ERR" $12-21-01-0057.TAG tag1_is_disable
|
||
STRCONTAIN "ERR" $12-21-02-0057.TAG tag2_is_disable
|
||
STRCONTAIN "ERR" $12-21-03-0057.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> $Sum122101005712210200571221030057 </State>
|
||
<Value> text_unavailable </Value>
|
||
<Align> center-vertical-horizontal </Align>
|
||
</Text>
|
||
</Block>
|
||
; ==================> Len = 16
|
||
; 12-01-01-0058 12-01-02-0058 -
|
||
<Block>
|
||
<MarginLeft> 33 </MarginLeft>
|
||
<MarginTop> 22 </MarginTop>
|
||
<Width> 225 </Width>
|
||
<Height> 296 </Height>
|
||
<State> Flag( 12-01-01-0058.Button,12-01-02-0058.Button,$Sum12010100581201020058) </State>
|
||
<Button>
|
||
<State> $Sum12010100581201020058 </State>
|
||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_Mint_Americano.png" </Filename>
|
||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_Mint_Americano.png" </FilenamePress>
|
||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_Mint_Americano.png" </FilenameDisable>
|
||
<OverlayImage> xmlpro( 12-01-01-0058, "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 = "Mintcano"
|
||
Var NameDrinkTH = "มินต์กาโน่"
|
||
Var DrinkDescriptionTH = "กาแฟ น้ำ และ มินต์"
|
||
Var DrinkDescription = "Espresso, Mint, Sugar, Water"
|
||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_Mint_Americano.png"
|
||
Var OpenFromXML = CurrentXMLFileName2
|
||
Var PriceD1 = $12-01-01-0058.Price
|
||
Var PriceD2 = $12-01-02-0058.Price
|
||
Var PriceD3 = $-.Price
|
||
Var PD_CODE1 = "12-01-01-0058"
|
||
Var PD_CODE2 = "12-01-02-0058"
|
||
Var PD_CODE3 = "##-##-##-####"
|
||
Var PD_STAGE_1 = $12-01-01-0058.Button
|
||
Var PD_STAGE_2 = $12-01-02-0058.Button
|
||
Var PD_STAGE_3 = "Disable2"
|
||
Var OverlayMenuFilter !assigned xmlpro( 12-01-01-0058, "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-01-02-0058"
|
||
Else
|
||
If PD_STAGE_1 = "Enable" Then
|
||
Topping "Load" "12-01-01-0058"
|
||
Else
|
||
Topping "Load" "-"
|
||
EndIf
|
||
EndIf
|
||
Var menu_name_eng_hot = $12-01-01-0058.NameE
|
||
Var menu_desc_eng_hot = $12-01-01-0058.descriptionE
|
||
Var menu_name_thai_hot = $12-01-01-0058.Name
|
||
Var menu_desc_thai_hot = $12-01-01-0058.description
|
||
|
||
Var menu_name_eng_cold = $12-01-02-0058.NameE
|
||
Var menu_desc_eng_cold = $12-01-02-0058.descriptionE
|
||
Var menu_name_thai_cold = $12-01-02-0058.Name
|
||
Var menu_desc_thai_cold = $12-01-02-0058.description
|
||
|
||
Var menu_name_eng_blender = $##-##-##-####.NameE
|
||
Var menu_desc_eng_blender = $##-##-##-####.descriptionE
|
||
Var menu_name_thai_blender = $##-##-##-####.Name
|
||
Var menu_desc_thai_blender = $##-##-##-####.description
|
||
|
||
DEBUGVAR PD_STAGE_1
|
||
DEBUGVAR PD_STAGE_2
|
||
DEBUGVAR PD_STAGE_3
|
||
Var SelectDrinkType = 0
|
||
|
||
|
||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
||
|
||
</EventOnClick>
|
||
</Button>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 164 </Y>
|
||
<Size> 24 </Size>
|
||
<Width>220</Width>
|
||
<Mode> "multi2" </Mode>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x322B26 </Color>
|
||
<State> showthaiText </State>
|
||
<Value> "มินต์กาโน่" </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 220 </Y>
|
||
<Size> 14 </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<State> showthaiText </State>
|
||
<Value> "กาแฟ น้ำ และ มินต์" </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 164 </Y>
|
||
<Size> 22 </Size>
|
||
<Width>220</Width>
|
||
<Mode> "multi2" </Mode>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x322B26 </Color>
|
||
<State> showengText </State>
|
||
<Value> "Mintcano" </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> "Espresso, Mint,
|
||
Sugar, Water" </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-01-01-0058.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-01-01-0058.Button </State>
|
||
<Value> StringFmt( $12-01-01-0058.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-01-02-0058.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-01-02-0058.Button </State>
|
||
<Value> StringFmt( $12-01-02-0058.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 146 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||
<State> "Invisible" </State>
|
||
</Image>
|
||
<Text>
|
||
<X> 180 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitRegularTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> "Invisible" </State>
|
||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<State>
|
||
eval(
|
||
If ICE_PROCESS_STATUS = 2 Then
|
||
|
||
If $Sum12010100581201020058 = "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 $Sum12010100581201020058 = "Disable" Then
|
||
STRCONTAIN "ERR" $12-01-01-0058.TAG tag1_is_disable
|
||
STRCONTAIN "ERR" $12-01-02-0058.TAG tag2_is_disable
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||
Var return = "Invisible"
|
||
If tag1_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag2_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag3_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
Else
|
||
Var return = "Invisible"
|
||
EndIf
|
||
)
|
||
</State>
|
||
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
||
</Image>
|
||
<Text>
|
||
<X> 84 </X>
|
||
<Y> 266 </Y>
|
||
<Size> 10 </Size>
|
||
<Font> OpunMediumTTF </Font>
|
||
<Color> 0xDE794E </Color>
|
||
<State> ice_tab_process_show </State>
|
||
<Value> ice_show_open </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 48 </X>
|
||
<Y> 116 </Y>
|
||
<Size> 32 </Size>
|
||
<Width>128</Width>
|
||
<Height>64</Height>
|
||
<Font> MITRegularTTF </Font>
|
||
<Color> 0x5A5A5A </Color>
|
||
<Mode> "disable-show" </Mode>
|
||
<State> $Sum12010100581201020058 </State>
|
||
<Value> text_unavailable </Value>
|
||
<Align> center-vertical-horizontal </Align>
|
||
</Text>
|
||
</Block>
|
||
; 12-21-01-0058 12-21-02-0058 -
|
||
<Block>
|
||
<MarginLeft> 33 </MarginLeft>
|
||
<MarginTop> 22 </MarginTop>
|
||
<Width> 225 </Width>
|
||
<Height> 296 </Height>
|
||
<State> Flag( 12-21-01-0058.Button,12-21-02-0058.Button,$Sum12210100581221020058) </State>
|
||
<Button>
|
||
<State> $Sum12210100581221020058 </State>
|
||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_Mint_Americano.png" </Filename>
|
||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_Mint_Americano.png" </FilenamePress>
|
||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_Mint_Americano.png" </FilenameDisable>
|
||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||
<Volume> SoundVolume </Volume>
|
||
<OverlayImage> xmlpro( 12-21-01-0058, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||
<EventOnClick>
|
||
Var NameDrink = "Mintcano"
|
||
Var NameDrinkTH = "มินต์กาโน่"
|
||
Var DrinkDescriptionTH = "กาแฟ น้ำ และ มินต์"
|
||
Var DrinkDescription = "Espresso, Mint, Sugar, Water"
|
||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_Mint_Americano.png"
|
||
Var OpenFromXML = CurrentXMLFileName2
|
||
Var PriceD1 = $12-21-01-0058.Price
|
||
Var PriceD2 = $12-21-02-0058.Price
|
||
Var PriceD3 = $-.Price
|
||
Var PD_CODE1 = "12-21-01-0058"
|
||
Var PD_CODE2 = "12-21-02-0058"
|
||
Var PD_CODE3 = "##-##-##-####"
|
||
Var PD_STAGE_1 = $12-21-01-0058.Button
|
||
Var PD_STAGE_2 = $12-21-02-0058.Button
|
||
Var PD_STAGE_3 = "Disable2"
|
||
Var OverlayMenuFilter !assigned xmlpro( 12-21-01-0058, "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-21-02-0058"
|
||
Else
|
||
If PD_STAGE_1 = "Enable" Then
|
||
Topping "Load" "12-21-01-0058"
|
||
Else
|
||
Topping "Load" "-"
|
||
EndIf
|
||
EndIf
|
||
Var menu_name_eng_hot = $12-21-01-0058.NameE
|
||
Var menu_desc_eng_hot = $12-21-01-0058.descriptionE
|
||
Var menu_name_thai_hot = $12-21-01-0058.Name
|
||
Var menu_desc_thai_hot = $12-21-01-0058.description
|
||
|
||
Var menu_name_eng_cold = $12-21-02-0058.NameE
|
||
Var menu_desc_eng_cold = $12-21-02-0058.descriptionE
|
||
Var menu_name_thai_cold = $12-21-02-0058.Name
|
||
Var menu_desc_thai_cold = $12-21-02-0058.description
|
||
|
||
Var menu_name_eng_blender = $##-##-##-####.NameE
|
||
Var menu_desc_eng_blender = $##-##-##-####.descriptionE
|
||
Var menu_name_thai_blender = $##-##-##-####.Name
|
||
Var menu_desc_thai_blender = $##-##-##-####.description
|
||
|
||
DEBUGVAR PD_STAGE_1
|
||
DEBUGVAR PD_STAGE_2
|
||
DEBUGVAR PD_STAGE_3
|
||
Var SelectDrinkType = 0
|
||
|
||
|
||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
||
|
||
</EventOnClick>
|
||
</Button>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 164 </Y>
|
||
<Size> 24 </Size>
|
||
<Width>220</Width>
|
||
<Mode> "multi2" </Mode>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x322B26 </Color>
|
||
<State> showthaiText </State>
|
||
<Value> "มินต์กาโน่" </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 220 </Y>
|
||
<Size> 14 </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<State> showthaiText </State>
|
||
<Value> "กาแฟ น้ำ และ มินต์" </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 164 </Y>
|
||
<Size> 22 </Size>
|
||
<Width>220</Width>
|
||
<Mode> "multi2" </Mode>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x322B26 </Color>
|
||
<State> showengText </State>
|
||
<Value> "Mintcano" </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> "Espresso, Mint,
|
||
Sugar, Water" </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-21-01-0058.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-21-01-0058.Button </State>
|
||
<Value> StringFmt( $12-21-01-0058.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-21-02-0058.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-21-02-0058.Button </State>
|
||
<Value> StringFmt( $12-21-02-0058.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 146 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||
<State> "Invisible" </State>
|
||
</Image>
|
||
<Text>
|
||
<X> 183 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> "Invisible" </State>
|
||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<State>
|
||
eval(
|
||
If ICE_PROCESS_STATUS = 2 Then
|
||
|
||
If $Sum12210100581221020058 = "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 $Sum12210100581221020058 = "Disable" Then
|
||
STRCONTAIN "ERR" $12-21-01-0058.TAG tag1_is_disable
|
||
STRCONTAIN "ERR" $12-21-02-0058.TAG tag2_is_disable
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||
Var return = "Invisible"
|
||
If tag1_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag2_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag3_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
Else
|
||
Var return = "Invisible"
|
||
EndIf
|
||
)
|
||
</State>
|
||
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
||
</Image>
|
||
<Text>
|
||
<X> 84 </X>
|
||
<Y> 266 </Y>
|
||
<Size> 10 </Size>
|
||
<Font> OpunMediumTTF </Font>
|
||
<Color> 0xDE794E </Color>
|
||
<State> ice_tab_process_show </State>
|
||
<Value> ice_show_open </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 48 </X>
|
||
<Y> 116 </Y>
|
||
<Size> 32 </Size>
|
||
<Width>128</Width>
|
||
<Height>64</Height>
|
||
<Font> MITRegularTTF </Font>
|
||
<Color> 0x5A5A5A </Color>
|
||
<Mode> "disable-show" </Mode>
|
||
<State> $Sum12210100581221020058 </State>
|
||
<Value> text_unavailable </Value>
|
||
<Align> center-vertical-horizontal </Align>
|
||
</Text>
|
||
</Block>
|
||
; ==================> Len = 16
|
||
; 12-01-01-0059 12-01-02-0059 -
|
||
<Block>
|
||
<MarginLeft> 33 </MarginLeft>
|
||
<MarginTop> 22 </MarginTop>
|
||
<Width> 225 </Width>
|
||
<Height> 296 </Height>
|
||
<State> Flag( 12-01-01-0059.Button,12-01-02-0059.Button,$Sum12010100591201020059) </State>
|
||
<Button>
|
||
<State> $Sum12010100591201020059 </State>
|
||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_americano_peach.png" </Filename>
|
||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_americano_peach.png" </FilenamePress>
|
||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_americano_peach.png" </FilenameDisable>
|
||
<OverlayImage> xmlpro( 12-01-01-0059, "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 = "Peach Americano"
|
||
Var NameDrinkTH = "พีชกาโน่"
|
||
Var DrinkDescriptionTH = "กาแฟ น้ำ และ พีช"
|
||
Var DrinkDescription = "Espresso, Peach , Sugar, Water"
|
||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_americano_peach.png"
|
||
Var OpenFromXML = CurrentXMLFileName2
|
||
Var PriceD1 = $12-01-01-0059.Price
|
||
Var PriceD2 = $12-01-02-0059.Price
|
||
Var PriceD3 = $-.Price
|
||
Var PD_CODE1 = "12-01-01-0059"
|
||
Var PD_CODE2 = "12-01-02-0059"
|
||
Var PD_CODE3 = "##-##-##-####"
|
||
Var PD_STAGE_1 = $12-01-01-0059.Button
|
||
Var PD_STAGE_2 = $12-01-02-0059.Button
|
||
Var PD_STAGE_3 = "Disable2"
|
||
Var OverlayMenuFilter !assigned xmlpro( 12-01-01-0059, "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-01-02-0059"
|
||
Else
|
||
If PD_STAGE_1 = "Enable" Then
|
||
Topping "Load" "12-01-01-0059"
|
||
Else
|
||
Topping "Load" "-"
|
||
EndIf
|
||
EndIf
|
||
Var menu_name_eng_hot = $12-01-01-0059.NameE
|
||
Var menu_desc_eng_hot = $12-01-01-0059.descriptionE
|
||
Var menu_name_thai_hot = $12-01-01-0059.Name
|
||
Var menu_desc_thai_hot = $12-01-01-0059.description
|
||
|
||
Var menu_name_eng_cold = $12-01-02-0059.NameE
|
||
Var menu_desc_eng_cold = $12-01-02-0059.descriptionE
|
||
Var menu_name_thai_cold = $12-01-02-0059.Name
|
||
Var menu_desc_thai_cold = $12-01-02-0059.description
|
||
|
||
Var menu_name_eng_blender = $##-##-##-####.NameE
|
||
Var menu_desc_eng_blender = $##-##-##-####.descriptionE
|
||
Var menu_name_thai_blender = $##-##-##-####.Name
|
||
Var menu_desc_thai_blender = $##-##-##-####.description
|
||
|
||
DEBUGVAR PD_STAGE_1
|
||
DEBUGVAR PD_STAGE_2
|
||
DEBUGVAR PD_STAGE_3
|
||
Var SelectDrinkType = 0
|
||
|
||
|
||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
||
|
||
</EventOnClick>
|
||
</Button>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 164 </Y>
|
||
<Size> 24 </Size>
|
||
<Width>220</Width>
|
||
<Mode> "multi2" </Mode>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x322B26 </Color>
|
||
<State> showthaiText </State>
|
||
<Value> "พีชกาโน่" </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 220 </Y>
|
||
<Size> 14 </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<State> showthaiText </State>
|
||
<Value> "กาแฟ น้ำ และ พีช" </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 164 </Y>
|
||
<Size> 22 </Size>
|
||
<Width>220</Width>
|
||
<Mode> "multi2" </Mode>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x322B26 </Color>
|
||
<State> showengText </State>
|
||
<Value> "Peach Americano" </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> "Espresso, Peach ,
|
||
Sugar, Water" </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-01-01-0059.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-01-01-0059.Button </State>
|
||
<Value> StringFmt( $12-01-01-0059.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-01-02-0059.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-01-02-0059.Button </State>
|
||
<Value> StringFmt( $12-01-02-0059.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 146 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||
<State> "Invisible" </State>
|
||
</Image>
|
||
<Text>
|
||
<X> 180 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitRegularTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> "Invisible" </State>
|
||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<State>
|
||
eval(
|
||
If ICE_PROCESS_STATUS = 2 Then
|
||
|
||
If $Sum12010100591201020059 = "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 $Sum12010100591201020059 = "Disable" Then
|
||
STRCONTAIN "ERR" $12-01-01-0059.TAG tag1_is_disable
|
||
STRCONTAIN "ERR" $12-01-02-0059.TAG tag2_is_disable
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||
Var return = "Invisible"
|
||
If tag1_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag2_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag3_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
Else
|
||
Var return = "Invisible"
|
||
EndIf
|
||
)
|
||
</State>
|
||
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
||
</Image>
|
||
<Text>
|
||
<X> 84 </X>
|
||
<Y> 266 </Y>
|
||
<Size> 10 </Size>
|
||
<Font> OpunMediumTTF </Font>
|
||
<Color> 0xDE794E </Color>
|
||
<State> ice_tab_process_show </State>
|
||
<Value> ice_show_open </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 48 </X>
|
||
<Y> 116 </Y>
|
||
<Size> 32 </Size>
|
||
<Width>128</Width>
|
||
<Height>64</Height>
|
||
<Font> MITRegularTTF </Font>
|
||
<Color> 0x5A5A5A </Color>
|
||
<Mode> "disable-show" </Mode>
|
||
<State> $Sum12010100591201020059 </State>
|
||
<Value> text_unavailable </Value>
|
||
<Align> center-vertical-horizontal </Align>
|
||
</Text>
|
||
</Block>
|
||
; 12-21-01-0059 12-21-02-0059 -
|
||
<Block>
|
||
<MarginLeft> 33 </MarginLeft>
|
||
<MarginTop> 22 </MarginTop>
|
||
<Width> 225 </Width>
|
||
<Height> 296 </Height>
|
||
<State> Flag( 12-21-01-0059.Button,12-21-02-0059.Button,$Sum12210100591221020059) </State>
|
||
<Button>
|
||
<State> $Sum12210100591221020059 </State>
|
||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_americano_peach.png" </Filename>
|
||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_americano_peach.png" </FilenamePress>
|
||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_americano_peach.png" </FilenameDisable>
|
||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||
<Volume> SoundVolume </Volume>
|
||
<OverlayImage> xmlpro( 12-21-01-0059, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||
<EventOnClick>
|
||
Var NameDrink = "Peach Americano"
|
||
Var NameDrinkTH = "พีชกาโน่"
|
||
Var DrinkDescriptionTH = "กาแฟ น้ำ และ พีช"
|
||
Var DrinkDescription = "Espresso, Peach , Sugar, Water"
|
||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_americano_peach.png"
|
||
Var OpenFromXML = CurrentXMLFileName2
|
||
Var PriceD1 = $12-21-01-0059.Price
|
||
Var PriceD2 = $12-21-02-0059.Price
|
||
Var PriceD3 = $-.Price
|
||
Var PD_CODE1 = "12-21-01-0059"
|
||
Var PD_CODE2 = "12-21-02-0059"
|
||
Var PD_CODE3 = "##-##-##-####"
|
||
Var PD_STAGE_1 = $12-21-01-0059.Button
|
||
Var PD_STAGE_2 = $12-21-02-0059.Button
|
||
Var PD_STAGE_3 = "Disable2"
|
||
Var OverlayMenuFilter !assigned xmlpro( 12-21-01-0059, "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-21-02-0059"
|
||
Else
|
||
If PD_STAGE_1 = "Enable" Then
|
||
Topping "Load" "12-21-01-0059"
|
||
Else
|
||
Topping "Load" "-"
|
||
EndIf
|
||
EndIf
|
||
Var menu_name_eng_hot = $12-21-01-0059.NameE
|
||
Var menu_desc_eng_hot = $12-21-01-0059.descriptionE
|
||
Var menu_name_thai_hot = $12-21-01-0059.Name
|
||
Var menu_desc_thai_hot = $12-21-01-0059.description
|
||
|
||
Var menu_name_eng_cold = $12-21-02-0059.NameE
|
||
Var menu_desc_eng_cold = $12-21-02-0059.descriptionE
|
||
Var menu_name_thai_cold = $12-21-02-0059.Name
|
||
Var menu_desc_thai_cold = $12-21-02-0059.description
|
||
|
||
Var menu_name_eng_blender = $##-##-##-####.NameE
|
||
Var menu_desc_eng_blender = $##-##-##-####.descriptionE
|
||
Var menu_name_thai_blender = $##-##-##-####.Name
|
||
Var menu_desc_thai_blender = $##-##-##-####.description
|
||
|
||
DEBUGVAR PD_STAGE_1
|
||
DEBUGVAR PD_STAGE_2
|
||
DEBUGVAR PD_STAGE_3
|
||
Var SelectDrinkType = 0
|
||
|
||
|
||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
||
|
||
</EventOnClick>
|
||
</Button>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 164 </Y>
|
||
<Size> 24 </Size>
|
||
<Width>220</Width>
|
||
<Mode> "multi2" </Mode>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x322B26 </Color>
|
||
<State> showthaiText </State>
|
||
<Value> "พีชกาโน่" </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 220 </Y>
|
||
<Size> 14 </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<State> showthaiText </State>
|
||
<Value> "กาแฟ น้ำ และ พีช" </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 164 </Y>
|
||
<Size> 22 </Size>
|
||
<Width>220</Width>
|
||
<Mode> "multi2" </Mode>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x322B26 </Color>
|
||
<State> showengText </State>
|
||
<Value> "Peach Americano" </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> "Espresso, Peach ,
|
||
Sugar, Water" </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-21-01-0059.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-21-01-0059.Button </State>
|
||
<Value> StringFmt( $12-21-01-0059.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-21-02-0059.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-21-02-0059.Button </State>
|
||
<Value> StringFmt( $12-21-02-0059.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 146 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||
<State> "Invisible" </State>
|
||
</Image>
|
||
<Text>
|
||
<X> 183 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> "Invisible" </State>
|
||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<State>
|
||
eval(
|
||
If ICE_PROCESS_STATUS = 2 Then
|
||
|
||
If $Sum12210100591221020059 = "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 $Sum12210100591221020059 = "Disable" Then
|
||
STRCONTAIN "ERR" $12-21-01-0059.TAG tag1_is_disable
|
||
STRCONTAIN "ERR" $12-21-02-0059.TAG tag2_is_disable
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||
Var return = "Invisible"
|
||
If tag1_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag2_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag3_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
Else
|
||
Var return = "Invisible"
|
||
EndIf
|
||
)
|
||
</State>
|
||
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
||
</Image>
|
||
<Text>
|
||
<X> 84 </X>
|
||
<Y> 266 </Y>
|
||
<Size> 10 </Size>
|
||
<Font> OpunMediumTTF </Font>
|
||
<Color> 0xDE794E </Color>
|
||
<State> ice_tab_process_show </State>
|
||
<Value> ice_show_open </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 48 </X>
|
||
<Y> 116 </Y>
|
||
<Size> 32 </Size>
|
||
<Width>128</Width>
|
||
<Height>64</Height>
|
||
<Font> MITRegularTTF </Font>
|
||
<Color> 0x5A5A5A </Color>
|
||
<Mode> "disable-show" </Mode>
|
||
<State> $Sum12210100591221020059 </State>
|
||
<Value> text_unavailable </Value>
|
||
<Align> center-vertical-horizontal </Align>
|
||
</Text>
|
||
</Block>
|
||
; ==================> Len = 16
|
||
; 12-01-01-0060 12-01-02-0060 12-01-03-0060
|
||
<Block>
|
||
<MarginLeft> 33 </MarginLeft>
|
||
<MarginTop> 22 </MarginTop>
|
||
<Width> 225 </Width>
|
||
<Height> 296 </Height>
|
||
<State> Flag( 12-01-01-0060.Button,12-01-02-0060.Button,12-01-03-0060.Button,$Sum120101006012010200601201030060) </State>
|
||
<Button>
|
||
<State> $Sum120101006012010200601201030060 </State>
|
||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_peach_latte.png" </Filename>
|
||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_peach_latte.png" </FilenamePress>
|
||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_peach_latte.png" </FilenameDisable>
|
||
<OverlayImage> xmlpro( 12-01-01-0060, "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 = "Peach Cafe Latte"
|
||
Var NameDrinkTH = "กาแฟพีชลาเต้"
|
||
Var DrinkDescriptionTH = "กาแฟ น้ำ นม และ พีช"
|
||
Var DrinkDescription = "Espresso, Peach, Sugar, Milk"
|
||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_peach_latte.png"
|
||
Var OpenFromXML = CurrentXMLFileName2
|
||
Var PriceD1 = $12-01-01-0060.Price
|
||
Var PriceD2 = $12-01-02-0060.Price
|
||
Var PriceD3 = $12-01-03-0060.Price
|
||
Var PD_CODE1 = "12-01-01-0060"
|
||
Var PD_CODE2 = "12-01-02-0060"
|
||
Var PD_CODE3 = "12-01-03-0060"
|
||
Var PD_STAGE_1 = $12-01-01-0060.Button
|
||
Var PD_STAGE_2 = $12-01-02-0060.Button
|
||
Var PD_STAGE_3 = $12-01-03-0060.Button
|
||
Var OverlayMenuFilter !assigned xmlpro( 12-01-01-0060, "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-01-02-0060"
|
||
Else
|
||
If PD_STAGE_1 = "Enable" Then
|
||
Topping "Load" "12-01-01-0060"
|
||
Else
|
||
Topping "Load" "12-01-03-0060"
|
||
EndIf
|
||
EndIf
|
||
Var menu_name_eng_hot = $12-01-01-0060.NameE
|
||
Var menu_desc_eng_hot = $12-01-01-0060.descriptionE
|
||
Var menu_name_thai_hot = $12-01-01-0060.Name
|
||
Var menu_desc_thai_hot = $12-01-01-0060.description
|
||
|
||
Var menu_name_eng_cold = $12-01-02-0060.NameE
|
||
Var menu_desc_eng_cold = $12-01-02-0060.descriptionE
|
||
Var menu_name_thai_cold = $12-01-02-0060.Name
|
||
Var menu_desc_thai_cold = $12-01-02-0060.description
|
||
|
||
Var menu_name_eng_blender = $12-01-03-0060.NameE
|
||
Var menu_desc_eng_blender = $12-01-03-0060.descriptionE
|
||
Var menu_name_thai_blender = $12-01-03-0060.Name
|
||
Var menu_desc_thai_blender = $12-01-03-0060.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> "Peach Cafe Latte" </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> "Espresso, Peach,
|
||
Sugar, Milk" </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-01-01-0060.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-01-01-0060.Button </State>
|
||
<Value> StringFmt( $12-01-01-0060.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-01-02-0060.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-01-02-0060.Button </State>
|
||
<Value> StringFmt( $12-01-02-0060.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-01-03-0060.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-01-03-0060.Button </State>
|
||
<Value> StringFmt( $12-01-03-0060.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<State>
|
||
eval(
|
||
If ICE_PROCESS_STATUS = 2 Then
|
||
|
||
If $Sum120101006012010200601201030060 = "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 $Sum120101006012010200601201030060 = "Disable" Then
|
||
STRCONTAIN "ERR" $12-01-01-0060.TAG tag1_is_disable
|
||
STRCONTAIN "ERR" $12-01-02-0060.TAG tag2_is_disable
|
||
STRCONTAIN "ERR" $12-01-03-0060.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> $Sum120101006012010200601201030060 </State>
|
||
<Value> text_unavailable </Value>
|
||
<Align> center-vertical-horizontal </Align>
|
||
</Text>
|
||
</Block>
|
||
; 12-21-01-0060 12-21-02-0060 12-21-03-0060
|
||
<Block>
|
||
<MarginLeft> 33 </MarginLeft>
|
||
<MarginTop> 22 </MarginTop>
|
||
<Width> 225 </Width>
|
||
<Height> 296 </Height>
|
||
<State> Flag( 12-21-01-0060.Button,12-21-02-0060.Button,12-21-03-0060.Button,$Sum122101006012210200601221030060) </State>
|
||
<Button>
|
||
<State> $Sum122101006012210200601221030060 </State>
|
||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_peach_latte.png" </Filename>
|
||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_peach_latte.png" </FilenamePress>
|
||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_peach_latte.png" </FilenameDisable>
|
||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||
<Volume> SoundVolume </Volume>
|
||
<OverlayImage> xmlpro( 12-21-01-0060, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||
<EventOnClick>
|
||
Var NameDrink = "Peach Cafe Latte"
|
||
Var NameDrinkTH = "กาแฟพีชลาเต้"
|
||
Var DrinkDescriptionTH = "กาแฟ น้ำ นม และ พีช"
|
||
Var DrinkDescription = "Espresso, Peach, Sugar, Milk"
|
||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_peach_latte.png"
|
||
Var OpenFromXML = CurrentXMLFileName2
|
||
Var PriceD1 = $12-21-01-0060.Price
|
||
Var PriceD2 = $12-21-02-0060.Price
|
||
Var PriceD3 = $12-21-03-0060.Price
|
||
Var PD_CODE1 = "12-21-01-0060"
|
||
Var PD_CODE2 = "12-21-02-0060"
|
||
Var PD_CODE3 = "12-21-03-0060"
|
||
Var PD_STAGE_1 = $12-21-01-0060.Button
|
||
Var PD_STAGE_2 = $12-21-02-0060.Button
|
||
Var PD_STAGE_3 = $12-21-03-0060.Button
|
||
Var OverlayMenuFilter !assigned xmlpro( 12-21-01-0060, "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-21-02-0060"
|
||
Else
|
||
If PD_STAGE_1 = "Enable" Then
|
||
Topping "Load" "12-21-01-0060"
|
||
Else
|
||
Topping "Load" "12-21-03-0060"
|
||
EndIf
|
||
EndIf
|
||
Var menu_name_eng_hot = $12-21-01-0060.NameE
|
||
Var menu_desc_eng_hot = $12-21-01-0060.descriptionE
|
||
Var menu_name_thai_hot = $12-21-01-0060.Name
|
||
Var menu_desc_thai_hot = $12-21-01-0060.description
|
||
|
||
Var menu_name_eng_cold = $12-21-02-0060.NameE
|
||
Var menu_desc_eng_cold = $12-21-02-0060.descriptionE
|
||
Var menu_name_thai_cold = $12-21-02-0060.Name
|
||
Var menu_desc_thai_cold = $12-21-02-0060.description
|
||
|
||
Var menu_name_eng_blender = $12-21-03-0060.NameE
|
||
Var menu_desc_eng_blender = $12-21-03-0060.descriptionE
|
||
Var menu_name_thai_blender = $12-21-03-0060.Name
|
||
Var menu_desc_thai_blender = $12-21-03-0060.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> "Peach Cafe Latte" </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> "Espresso, Peach,
|
||
Sugar, Milk" </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-21-01-0060.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-21-01-0060.Button </State>
|
||
<Value> StringFmt( $12-21-01-0060.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-21-02-0060.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-21-02-0060.Button </State>
|
||
<Value> StringFmt( $12-21-02-0060.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-21-03-0060.Button </State>
|
||
</Image>
|
||
<Text>
|
||
<X> 183 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> $12-21-03-0060.Button </State>
|
||
<Value> StringFmt( $12-21-03-0060.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<State>
|
||
eval(
|
||
If ICE_PROCESS_STATUS = 2 Then
|
||
|
||
If $Sum122101006012210200601221030060 = "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 $Sum122101006012210200601221030060 = "Disable" Then
|
||
STRCONTAIN "ERR" $12-21-01-0060.TAG tag1_is_disable
|
||
STRCONTAIN "ERR" $12-21-02-0060.TAG tag2_is_disable
|
||
STRCONTAIN "ERR" $12-21-03-0060.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> $Sum122101006012210200601221030060 </State>
|
||
<Value> text_unavailable </Value>
|
||
<Align> center-vertical-horizontal </Align>
|
||
</Text>
|
||
</Block>
|
||
; ==================> Len = 16
|
||
; - 12-01-02-0056 -
|
||
<Block>
|
||
<MarginLeft> 33 </MarginLeft>
|
||
<MarginTop> 22 </MarginTop>
|
||
<Width> 225 </Width>
|
||
<Height> 296 </Height>
|
||
<State> Flag( 12-01-02-0056.Button,$Sum1201020056) </State>
|
||
<Button>
|
||
<State> $Sum1201020056 </State>
|
||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_PEPSI_COFFEE.png" </Filename>
|
||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_PEPSI_COFFEE.png" </FilenamePress>
|
||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_PEPSI_COFFEE.png" </FilenameDisable>
|
||
<OverlayImage> xmlpro( 12-01-02-0056, "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 = "Pepdanoo"
|
||
Var NameDrinkTH = "เป๊ปดาโน่"
|
||
Var DrinkDescriptionTH = "กาแฟ เป๊ปซี่ และโซดา"
|
||
Var DrinkDescription = "Espreeso, Pepsi, Soda"
|
||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_PEPSI_COFFEE.png"
|
||
Var OpenFromXML = CurrentXMLFileName2
|
||
Var PriceD1 = $-.Price
|
||
Var PriceD2 = $12-01-02-0056.Price
|
||
Var PriceD3 = $-.Price
|
||
Var PD_CODE1 = "##-##-##-####"
|
||
Var PD_CODE2 = "12-01-02-0056"
|
||
Var PD_CODE3 = "##-##-##-####"
|
||
Var PD_STAGE_1 = "Disable2"
|
||
Var PD_STAGE_2 = $12-01-02-0056.Button
|
||
Var PD_STAGE_3 = "Disable2"
|
||
Var OverlayMenuFilter !assigned xmlpro( 12-01-02-0056, "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-01-02-0056"
|
||
Else
|
||
If PD_STAGE_1 = "Enable" Then
|
||
Topping "Load" "-"
|
||
Else
|
||
Topping "Load" "-"
|
||
EndIf
|
||
EndIf
|
||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
||
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
||
Var menu_name_thai_hot = $##-##-##-####.Name
|
||
Var menu_desc_thai_hot = $##-##-##-####.description
|
||
|
||
Var menu_name_eng_cold = $12-01-02-0056.NameE
|
||
Var menu_desc_eng_cold = $12-01-02-0056.descriptionE
|
||
Var menu_name_thai_cold = $12-01-02-0056.Name
|
||
Var menu_desc_thai_cold = $12-01-02-0056.description
|
||
|
||
Var menu_name_eng_blender = $##-##-##-####.NameE
|
||
Var menu_desc_eng_blender = $##-##-##-####.descriptionE
|
||
Var menu_name_thai_blender = $##-##-##-####.Name
|
||
Var menu_desc_thai_blender = $##-##-##-####.description
|
||
|
||
DEBUGVAR PD_STAGE_1
|
||
DEBUGVAR PD_STAGE_2
|
||
DEBUGVAR PD_STAGE_3
|
||
Var SelectDrinkType = 0
|
||
|
||
|
||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
||
|
||
</EventOnClick>
|
||
</Button>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 164 </Y>
|
||
<Size> 24 </Size>
|
||
<Width>220</Width>
|
||
<Mode> "multi2" </Mode>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x322B26 </Color>
|
||
<State> showthaiText </State>
|
||
<Value> "เป๊ปดาโน่" </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 220 </Y>
|
||
<Size> 14 </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<State> showthaiText </State>
|
||
<Value> "กาแฟ เป๊ปซี่ และโซดา" </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 164 </Y>
|
||
<Size> 22 </Size>
|
||
<Width>220</Width>
|
||
<Mode> "multi2" </Mode>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x322B26 </Color>
|
||
<State> showengText </State>
|
||
<Value> "Pepdanoo" </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> "Espreeso, Pepsi, Soda" </Value>
|
||
</Text>
|
||
<Image>
|
||
<X> 16 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "option_deactive.png" ) </Filename>
|
||
</Image>
|
||
<Image>
|
||
<X> 16 </X>
|
||
<Y> 264 </Y>
|
||
<State> "Invisible" </State>
|
||
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
|
||
</Image>
|
||
<Text>
|
||
<X> 50 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> "Invisible" </State>
|
||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
||
<State> $12-01-02-0056.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-01-02-0056.Button </State>
|
||
<Value> StringFmt( $12-01-02-0056.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 146 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||
<State> "Invisible" </State>
|
||
</Image>
|
||
<Text>
|
||
<X> 180 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitRegularTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> "Invisible" </State>
|
||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<State>
|
||
eval(
|
||
If ICE_PROCESS_STATUS = 2 Then
|
||
|
||
Var ice_tab_process_show = "Invisible"
|
||
|
||
Else
|
||
Var ice_tab_process_show = "Invisible"
|
||
EndIf
|
||
Var return = ice_tab_process_show
|
||
)
|
||
</State>
|
||
<Filename> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </Filename>
|
||
<FilenameDisable> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </FilenameDisable>
|
||
</Image>
|
||
<Image>
|
||
<X> 49 </X>
|
||
<Y> 117 </Y>
|
||
<State>
|
||
eval(
|
||
If $Sum1201020056 = "Disable" Then
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||
STRCONTAIN "ERR" $12-01-02-0056.TAG tag2_is_disable
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||
Var return = "Invisible"
|
||
If tag1_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag2_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag3_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
Else
|
||
Var return = "Invisible"
|
||
EndIf
|
||
)
|
||
</State>
|
||
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
||
</Image>
|
||
<Text>
|
||
<X> 84 </X>
|
||
<Y> 266 </Y>
|
||
<Size> 10 </Size>
|
||
<Font> OpunMediumTTF </Font>
|
||
<Color> 0xDE794E </Color>
|
||
<State> ice_tab_process_show </State>
|
||
<Value> ice_show_open </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 48 </X>
|
||
<Y> 116 </Y>
|
||
<Size> 32 </Size>
|
||
<Width>128</Width>
|
||
<Height>64</Height>
|
||
<Font> MITRegularTTF </Font>
|
||
<Color> 0x5A5A5A </Color>
|
||
<Mode> "disable-show" </Mode>
|
||
<State> $Sum1201020056 </State>
|
||
<Value> text_unavailable </Value>
|
||
<Align> center-vertical-horizontal </Align>
|
||
</Text>
|
||
</Block>
|
||
; - 12-21-02-0056 -
|
||
<Block>
|
||
<MarginLeft> 33 </MarginLeft>
|
||
<MarginTop> 22 </MarginTop>
|
||
<Width> 225 </Width>
|
||
<Height> 296 </Height>
|
||
<State> Flag( 12-21-02-0056.Button,$Sum1221020056) </State>
|
||
<Button>
|
||
<State> $Sum1221020056 </State>
|
||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_PEPSI_COFFEE.png" </Filename>
|
||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_PEPSI_COFFEE.png" </FilenamePress>
|
||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_PEPSI_COFFEE.png" </FilenameDisable>
|
||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||
<Volume> SoundVolume </Volume>
|
||
<OverlayImage> xmlpro( 12-21-02-0056, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||
<EventOnClick>
|
||
Var NameDrink = "Pepdanoo"
|
||
Var NameDrinkTH = "เป๊ปดาโน่"
|
||
Var DrinkDescriptionTH = "กาแฟ เป๊ปซี่ และโซดา"
|
||
Var DrinkDescription = "Espreeso, Pepsi, Soda"
|
||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_PEPSI_COFFEE.png"
|
||
Var OpenFromXML = CurrentXMLFileName2
|
||
Var PriceD1 = $-.Price
|
||
Var PriceD2 = $12-21-02-0056.Price
|
||
Var PriceD3 = $-.Price
|
||
Var PD_CODE1 = "##-##-##-####"
|
||
Var PD_CODE2 = "12-21-02-0056"
|
||
Var PD_CODE3 = "##-##-##-####"
|
||
Var PD_STAGE_1 = "Disable2"
|
||
Var PD_STAGE_2 = $12-21-02-0056.Button
|
||
Var PD_STAGE_3 = "Disable2"
|
||
Var OverlayMenuFilter !assigned xmlpro( 12-21-02-0056, "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-21-02-0056"
|
||
Else
|
||
If PD_STAGE_1 = "Enable" Then
|
||
Topping "Load" "-"
|
||
Else
|
||
Topping "Load" "-"
|
||
EndIf
|
||
EndIf
|
||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
||
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
||
Var menu_name_thai_hot = $##-##-##-####.Name
|
||
Var menu_desc_thai_hot = $##-##-##-####.description
|
||
|
||
Var menu_name_eng_cold = $12-21-02-0056.NameE
|
||
Var menu_desc_eng_cold = $12-21-02-0056.descriptionE
|
||
Var menu_name_thai_cold = $12-21-02-0056.Name
|
||
Var menu_desc_thai_cold = $12-21-02-0056.description
|
||
|
||
Var menu_name_eng_blender = $##-##-##-####.NameE
|
||
Var menu_desc_eng_blender = $##-##-##-####.descriptionE
|
||
Var menu_name_thai_blender = $##-##-##-####.Name
|
||
Var menu_desc_thai_blender = $##-##-##-####.description
|
||
|
||
DEBUGVAR PD_STAGE_1
|
||
DEBUGVAR PD_STAGE_2
|
||
DEBUGVAR PD_STAGE_3
|
||
Var SelectDrinkType = 0
|
||
|
||
|
||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
||
|
||
</EventOnClick>
|
||
</Button>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 164 </Y>
|
||
<Size> 24 </Size>
|
||
<Width>220</Width>
|
||
<Mode> "multi2" </Mode>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x322B26 </Color>
|
||
<State> showthaiText </State>
|
||
<Value> "เป๊ปดาโน่" </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 220 </Y>
|
||
<Size> 14 </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<State> showthaiText </State>
|
||
<Value> "กาแฟ เป๊ปซี่ และโซดา" </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 164 </Y>
|
||
<Size> 22 </Size>
|
||
<Width>220</Width>
|
||
<Mode> "multi2" </Mode>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x322B26 </Color>
|
||
<State> showengText </State>
|
||
<Value> "Pepdanoo" </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> "Espreeso, Pepsi, Soda" </Value>
|
||
</Text>
|
||
<Image>
|
||
<X> 16 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "option_deactive.png" ) </Filename>
|
||
</Image>
|
||
<Image>
|
||
<X> 16 </X>
|
||
<Y> 264 </Y>
|
||
<State> "Invisible" </State>
|
||
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
|
||
</Image>
|
||
<Text>
|
||
<X> 50 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> "Invisible" </State>
|
||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
||
<State> $12-21-02-0056.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-21-02-0056.Button </State>
|
||
<Value> StringFmt( $12-21-02-0056.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 146 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||
<State> "Invisible" </State>
|
||
</Image>
|
||
<Text>
|
||
<X> 183 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> "Invisible" </State>
|
||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<State>
|
||
eval(
|
||
If ICE_PROCESS_STATUS = 2 Then
|
||
|
||
Var ice_tab_process_show = "Invisible"
|
||
|
||
Else
|
||
Var ice_tab_process_show = "Invisible"
|
||
EndIf
|
||
Var return = ice_tab_process_show
|
||
)
|
||
</State>
|
||
<Filename> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </Filename>
|
||
<FilenameDisable> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </FilenameDisable>
|
||
</Image>
|
||
<Image>
|
||
<X> 49 </X>
|
||
<Y> 117 </Y>
|
||
<State>
|
||
eval(
|
||
If $Sum1221020056 = "Disable" Then
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||
STRCONTAIN "ERR" $12-21-02-0056.TAG tag2_is_disable
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||
Var return = "Invisible"
|
||
If tag1_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag2_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag3_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
Else
|
||
Var return = "Invisible"
|
||
EndIf
|
||
)
|
||
</State>
|
||
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
||
</Image>
|
||
<Text>
|
||
<X> 84 </X>
|
||
<Y> 266 </Y>
|
||
<Size> 10 </Size>
|
||
<Font> OpunMediumTTF </Font>
|
||
<Color> 0xDE794E </Color>
|
||
<State> ice_tab_process_show </State>
|
||
<Value> ice_show_open </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 48 </X>
|
||
<Y> 116 </Y>
|
||
<Size> 32 </Size>
|
||
<Width>128</Width>
|
||
<Height>64</Height>
|
||
<Font> MITRegularTTF </Font>
|
||
<Color> 0x5A5A5A </Color>
|
||
<Mode> "disable-show" </Mode>
|
||
<State> $Sum1221020056 </State>
|
||
<Value> text_unavailable </Value>
|
||
<Align> center-vertical-horizontal </Align>
|
||
</Text>
|
||
</Block>
|
||
; ==================> Len = 16
|
||
; - 12-01-02-0068 -
|
||
<Block>
|
||
<MarginLeft> 33 </MarginLeft>
|
||
<MarginTop> 22 </MarginTop>
|
||
<Width> 225 </Width>
|
||
<Height> 296 </Height>
|
||
<State> Flag( 12-01-02-0068.Button,$Sum1201020068) </State>
|
||
<Button>
|
||
<State> $Sum1201020068 </State>
|
||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_americano_Coconut.png" </Filename>
|
||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_americano_Coconut.png" </FilenamePress>
|
||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_americano_Coconut.png" </FilenameDisable>
|
||
<OverlayImage> xmlpro( 12-01-02-0068, "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 = "Coconut Americano"
|
||
Var NameDrinkTH = "กาแฟดำ มะพร้าวน้ำหอม"
|
||
Var DrinkDescriptionTH = "กาแฟ น้ำ และ น้ำเชื่อมมะพร้าว"
|
||
Var DrinkDescription = "Espresso, Coconut, Sugar, Water"
|
||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_americano_Coconut.png"
|
||
Var OpenFromXML = CurrentXMLFileName2
|
||
Var PriceD1 = $-.Price
|
||
Var PriceD2 = $12-01-02-0068.Price
|
||
Var PriceD3 = $-.Price
|
||
Var PD_CODE1 = "##-##-##-####"
|
||
Var PD_CODE2 = "12-01-02-0068"
|
||
Var PD_CODE3 = "##-##-##-####"
|
||
Var PD_STAGE_1 = "Disable2"
|
||
Var PD_STAGE_2 = $12-01-02-0068.Button
|
||
Var PD_STAGE_3 = "Disable2"
|
||
Var OverlayMenuFilter !assigned xmlpro( 12-01-02-0068, "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-01-02-0068"
|
||
Else
|
||
If PD_STAGE_1 = "Enable" Then
|
||
Topping "Load" "-"
|
||
Else
|
||
Topping "Load" "-"
|
||
EndIf
|
||
EndIf
|
||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
||
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
||
Var menu_name_thai_hot = $##-##-##-####.Name
|
||
Var menu_desc_thai_hot = $##-##-##-####.description
|
||
|
||
Var menu_name_eng_cold = $12-01-02-0068.NameE
|
||
Var menu_desc_eng_cold = $12-01-02-0068.descriptionE
|
||
Var menu_name_thai_cold = $12-01-02-0068.Name
|
||
Var menu_desc_thai_cold = $12-01-02-0068.description
|
||
|
||
Var menu_name_eng_blender = $##-##-##-####.NameE
|
||
Var menu_desc_eng_blender = $##-##-##-####.descriptionE
|
||
Var menu_name_thai_blender = $##-##-##-####.Name
|
||
Var menu_desc_thai_blender = $##-##-##-####.description
|
||
|
||
DEBUGVAR PD_STAGE_1
|
||
DEBUGVAR PD_STAGE_2
|
||
DEBUGVAR PD_STAGE_3
|
||
Var SelectDrinkType = 0
|
||
|
||
|
||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
||
|
||
</EventOnClick>
|
||
</Button>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 164 </Y>
|
||
<Size> 24 </Size>
|
||
<Width>220</Width>
|
||
<Mode> "multi2" </Mode>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x322B26 </Color>
|
||
<State> showthaiText </State>
|
||
<Value> "กาแฟดำ
|
||
มะพร้าวน้ำหอม" </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 220 </Y>
|
||
<Size> 14 </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<State> showthaiText </State>
|
||
<Value> "กาแฟ น้ำ และ น้ำเชื่อมมะพร้าว" </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 164 </Y>
|
||
<Size> 22 </Size>
|
||
<Width>220</Width>
|
||
<Mode> "multi2" </Mode>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x322B26 </Color>
|
||
<State> showengText </State>
|
||
<Value> "Coconut Americano" </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> "Espresso, Coconut,
|
||
Sugar, Water" </Value>
|
||
</Text>
|
||
<Image>
|
||
<X> 16 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "option_deactive.png" ) </Filename>
|
||
</Image>
|
||
<Image>
|
||
<X> 16 </X>
|
||
<Y> 264 </Y>
|
||
<State> "Invisible" </State>
|
||
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
|
||
</Image>
|
||
<Text>
|
||
<X> 50 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> "Invisible" </State>
|
||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
||
<State> $12-01-02-0068.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-01-02-0068.Button </State>
|
||
<Value> StringFmt( $12-01-02-0068.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 146 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||
<State> "Invisible" </State>
|
||
</Image>
|
||
<Text>
|
||
<X> 180 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitRegularTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> "Invisible" </State>
|
||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<State>
|
||
eval(
|
||
If ICE_PROCESS_STATUS = 2 Then
|
||
|
||
Var ice_tab_process_show = "Invisible"
|
||
|
||
Else
|
||
Var ice_tab_process_show = "Invisible"
|
||
EndIf
|
||
Var return = ice_tab_process_show
|
||
)
|
||
</State>
|
||
<Filename> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </Filename>
|
||
<FilenameDisable> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </FilenameDisable>
|
||
</Image>
|
||
<Image>
|
||
<X> 49 </X>
|
||
<Y> 117 </Y>
|
||
<State>
|
||
eval(
|
||
If $Sum1201020068 = "Disable" Then
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||
STRCONTAIN "ERR" $12-01-02-0068.TAG tag2_is_disable
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||
Var return = "Invisible"
|
||
If tag1_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag2_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag3_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
Else
|
||
Var return = "Invisible"
|
||
EndIf
|
||
)
|
||
</State>
|
||
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
||
</Image>
|
||
<Text>
|
||
<X> 84 </X>
|
||
<Y> 266 </Y>
|
||
<Size> 10 </Size>
|
||
<Font> OpunMediumTTF </Font>
|
||
<Color> 0xDE794E </Color>
|
||
<State> ice_tab_process_show </State>
|
||
<Value> ice_show_open </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 48 </X>
|
||
<Y> 116 </Y>
|
||
<Size> 32 </Size>
|
||
<Width>128</Width>
|
||
<Height>64</Height>
|
||
<Font> MITRegularTTF </Font>
|
||
<Color> 0x5A5A5A </Color>
|
||
<Mode> "disable-show" </Mode>
|
||
<State> $Sum1201020068 </State>
|
||
<Value> text_unavailable </Value>
|
||
<Align> center-vertical-horizontal </Align>
|
||
</Text>
|
||
</Block>
|
||
; - 12-21-02-0068 -
|
||
<Block>
|
||
<MarginLeft> 33 </MarginLeft>
|
||
<MarginTop> 22 </MarginTop>
|
||
<Width> 225 </Width>
|
||
<Height> 296 </Height>
|
||
<State> Flag( 12-21-02-0068.Button,$Sum1221020068) </State>
|
||
<Button>
|
||
<State> $Sum1221020068 </State>
|
||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_americano_Coconut.png" </Filename>
|
||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_americano_Coconut.png" </FilenamePress>
|
||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_americano_Coconut.png" </FilenameDisable>
|
||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||
<Volume> SoundVolume </Volume>
|
||
<OverlayImage> xmlpro( 12-21-02-0068, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||
<EventOnClick>
|
||
Var NameDrink = "Coconut Americano"
|
||
Var NameDrinkTH = "กาแฟดำ มะพร้าวน้ำหอม"
|
||
Var DrinkDescriptionTH = "กาแฟ น้ำ และ น้ำเชื่อมมะพร้าว"
|
||
Var DrinkDescription = "Espresso, Coconut, Sugar, Water"
|
||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_americano_Coconut.png"
|
||
Var OpenFromXML = CurrentXMLFileName2
|
||
Var PriceD1 = $-.Price
|
||
Var PriceD2 = $12-21-02-0068.Price
|
||
Var PriceD3 = $-.Price
|
||
Var PD_CODE1 = "##-##-##-####"
|
||
Var PD_CODE2 = "12-21-02-0068"
|
||
Var PD_CODE3 = "##-##-##-####"
|
||
Var PD_STAGE_1 = "Disable2"
|
||
Var PD_STAGE_2 = $12-21-02-0068.Button
|
||
Var PD_STAGE_3 = "Disable2"
|
||
Var OverlayMenuFilter !assigned xmlpro( 12-21-02-0068, "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-21-02-0068"
|
||
Else
|
||
If PD_STAGE_1 = "Enable" Then
|
||
Topping "Load" "-"
|
||
Else
|
||
Topping "Load" "-"
|
||
EndIf
|
||
EndIf
|
||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
||
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
||
Var menu_name_thai_hot = $##-##-##-####.Name
|
||
Var menu_desc_thai_hot = $##-##-##-####.description
|
||
|
||
Var menu_name_eng_cold = $12-21-02-0068.NameE
|
||
Var menu_desc_eng_cold = $12-21-02-0068.descriptionE
|
||
Var menu_name_thai_cold = $12-21-02-0068.Name
|
||
Var menu_desc_thai_cold = $12-21-02-0068.description
|
||
|
||
Var menu_name_eng_blender = $##-##-##-####.NameE
|
||
Var menu_desc_eng_blender = $##-##-##-####.descriptionE
|
||
Var menu_name_thai_blender = $##-##-##-####.Name
|
||
Var menu_desc_thai_blender = $##-##-##-####.description
|
||
|
||
DEBUGVAR PD_STAGE_1
|
||
DEBUGVAR PD_STAGE_2
|
||
DEBUGVAR PD_STAGE_3
|
||
Var SelectDrinkType = 0
|
||
|
||
|
||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
||
|
||
</EventOnClick>
|
||
</Button>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 164 </Y>
|
||
<Size> 24 </Size>
|
||
<Width>220</Width>
|
||
<Mode> "multi2" </Mode>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x322B26 </Color>
|
||
<State> showthaiText </State>
|
||
<Value> "กาแฟดำ
|
||
มะพร้าวน้ำหอม" </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 220 </Y>
|
||
<Size> 14 </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<State> showthaiText </State>
|
||
<Value> "กาแฟ น้ำ และ น้ำเชื่อมมะพร้าว" </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 164 </Y>
|
||
<Size> 22 </Size>
|
||
<Width>220</Width>
|
||
<Mode> "multi2" </Mode>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x322B26 </Color>
|
||
<State> showengText </State>
|
||
<Value> "Coconut Americano" </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> "Espresso, Coconut,
|
||
Sugar, Water" </Value>
|
||
</Text>
|
||
<Image>
|
||
<X> 16 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "option_deactive.png" ) </Filename>
|
||
</Image>
|
||
<Image>
|
||
<X> 16 </X>
|
||
<Y> 264 </Y>
|
||
<State> "Invisible" </State>
|
||
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
|
||
</Image>
|
||
<Text>
|
||
<X> 50 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> "Invisible" </State>
|
||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
||
<State> $12-21-02-0068.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-21-02-0068.Button </State>
|
||
<Value> StringFmt( $12-21-02-0068.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 146 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||
<State> "Invisible" </State>
|
||
</Image>
|
||
<Text>
|
||
<X> 183 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> "Invisible" </State>
|
||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<State>
|
||
eval(
|
||
If ICE_PROCESS_STATUS = 2 Then
|
||
|
||
Var ice_tab_process_show = "Invisible"
|
||
|
||
Else
|
||
Var ice_tab_process_show = "Invisible"
|
||
EndIf
|
||
Var return = ice_tab_process_show
|
||
)
|
||
</State>
|
||
<Filename> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </Filename>
|
||
<FilenameDisable> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </FilenameDisable>
|
||
</Image>
|
||
<Image>
|
||
<X> 49 </X>
|
||
<Y> 117 </Y>
|
||
<State>
|
||
eval(
|
||
If $Sum1221020068 = "Disable" Then
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||
STRCONTAIN "ERR" $12-21-02-0068.TAG tag2_is_disable
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||
Var return = "Invisible"
|
||
If tag1_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag2_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag3_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
Else
|
||
Var return = "Invisible"
|
||
EndIf
|
||
)
|
||
</State>
|
||
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
||
</Image>
|
||
<Text>
|
||
<X> 84 </X>
|
||
<Y> 266 </Y>
|
||
<Size> 10 </Size>
|
||
<Font> OpunMediumTTF </Font>
|
||
<Color> 0xDE794E </Color>
|
||
<State> ice_tab_process_show </State>
|
||
<Value> ice_show_open </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 48 </X>
|
||
<Y> 116 </Y>
|
||
<Size> 32 </Size>
|
||
<Width>128</Width>
|
||
<Height>64</Height>
|
||
<Font> MITRegularTTF </Font>
|
||
<Color> 0x5A5A5A </Color>
|
||
<Mode> "disable-show" </Mode>
|
||
<State> $Sum1221020068 </State>
|
||
<Value> text_unavailable </Value>
|
||
<Align> center-vertical-horizontal </Align>
|
||
</Text>
|
||
</Block>
|
||
; ==================> Len = 21
|
||
; - 12-01-02-0069 -
|
||
<Block>
|
||
<MarginLeft> 33 </MarginLeft>
|
||
<MarginTop> 22 </MarginTop>
|
||
<Width> 225 </Width>
|
||
<Height> 296 </Height>
|
||
<State> Flag( 12-01-02-0069.Button,$Sum1201020069) </State>
|
||
<Button>
|
||
<State> $Sum1201020069 </State>
|
||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_7up_PLUM_COFFEE.png" </Filename>
|
||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_iced_7up_PLUM_COFFEE.png" </FilenamePress>
|
||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_iced_7up_PLUM_COFFEE.png" </FilenameDisable>
|
||
<OverlayImage> xmlpro( 12-01-02-0069, "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 = "7Up Plum Lime Coffee"
|
||
Var NameDrinkTH = "เซเว่นอัพ กาแฟบ๊วยโซดา"
|
||
Var DrinkDescriptionTH = "กาแฟ เซเว่นอัพ และ มะนาว"
|
||
Var DrinkDescription = "Espreeso, 7UP, Lime, Ice"
|
||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_iced_7up_PLUM_COFFEE.png"
|
||
Var OpenFromXML = CurrentXMLFileName2
|
||
Var PriceD1 = $-.Price
|
||
Var PriceD2 = $12-01-02-0069.Price
|
||
Var PriceD3 = $-.Price
|
||
Var PD_CODE1 = "##-##-##-####"
|
||
Var PD_CODE2 = "12-01-02-0069"
|
||
Var PD_CODE3 = "##-##-##-####"
|
||
Var PD_STAGE_1 = "Disable2"
|
||
Var PD_STAGE_2 = $12-01-02-0069.Button
|
||
Var PD_STAGE_3 = "Disable2"
|
||
Var OverlayMenuFilter !assigned xmlpro( 12-01-02-0069, "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-01-02-0069"
|
||
Else
|
||
If PD_STAGE_1 = "Enable" Then
|
||
Topping "Load" "-"
|
||
Else
|
||
Topping "Load" "-"
|
||
EndIf
|
||
EndIf
|
||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
||
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
||
Var menu_name_thai_hot = $##-##-##-####.Name
|
||
Var menu_desc_thai_hot = $##-##-##-####.description
|
||
|
||
Var menu_name_eng_cold = $12-01-02-0069.NameE
|
||
Var menu_desc_eng_cold = $12-01-02-0069.descriptionE
|
||
Var menu_name_thai_cold = $12-01-02-0069.Name
|
||
Var menu_desc_thai_cold = $12-01-02-0069.description
|
||
|
||
Var menu_name_eng_blender = $##-##-##-####.NameE
|
||
Var menu_desc_eng_blender = $##-##-##-####.descriptionE
|
||
Var menu_name_thai_blender = $##-##-##-####.Name
|
||
Var menu_desc_thai_blender = $##-##-##-####.description
|
||
|
||
DEBUGVAR PD_STAGE_1
|
||
DEBUGVAR PD_STAGE_2
|
||
DEBUGVAR PD_STAGE_3
|
||
Var SelectDrinkType = 0
|
||
|
||
|
||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
||
|
||
</EventOnClick>
|
||
</Button>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 164 </Y>
|
||
<Size> 24 </Size>
|
||
<Width>220</Width>
|
||
<Mode> "multi2" </Mode>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x322B26 </Color>
|
||
<State> showthaiText </State>
|
||
<Value> "เซเว่นอัพ
|
||
กาแฟบ๊วยโซดา" </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 220 </Y>
|
||
<Size> 14 </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<State> showthaiText </State>
|
||
<Value> "กาแฟ เซเว่นอัพ และ มะนาว" </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 164 </Y>
|
||
<Size> 22 </Size>
|
||
<Width>220</Width>
|
||
<Mode> "multi2" </Mode>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x322B26 </Color>
|
||
<State> showengText </State>
|
||
<Value> "7Up Plum Lime
|
||
Coffee" </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> "Espreeso, 7UP, Lime, 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> $12-01-02-0069.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-01-02-0069.Button </State>
|
||
<Value> StringFmt( $12-01-02-0069.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 146 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||
<State> "Invisible" </State>
|
||
</Image>
|
||
<Text>
|
||
<X> 180 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitRegularTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> "Invisible" </State>
|
||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<State>
|
||
eval(
|
||
If ICE_PROCESS_STATUS = 2 Then
|
||
|
||
Var ice_tab_process_show = "Invisible"
|
||
|
||
Else
|
||
Var ice_tab_process_show = "Invisible"
|
||
EndIf
|
||
Var return = ice_tab_process_show
|
||
)
|
||
</State>
|
||
<Filename> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </Filename>
|
||
<FilenameDisable> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </FilenameDisable>
|
||
</Image>
|
||
<Image>
|
||
<X> 49 </X>
|
||
<Y> 117 </Y>
|
||
<State>
|
||
eval(
|
||
If $Sum1201020069 = "Disable" Then
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||
STRCONTAIN "ERR" $12-01-02-0069.TAG tag2_is_disable
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||
Var return = "Invisible"
|
||
If tag1_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag2_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag3_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
Else
|
||
Var return = "Invisible"
|
||
EndIf
|
||
)
|
||
</State>
|
||
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
||
</Image>
|
||
<Text>
|
||
<X> 84 </X>
|
||
<Y> 266 </Y>
|
||
<Size> 10 </Size>
|
||
<Font> OpunMediumTTF </Font>
|
||
<Color> 0xDE794E </Color>
|
||
<State> ice_tab_process_show </State>
|
||
<Value> ice_show_open </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 48 </X>
|
||
<Y> 116 </Y>
|
||
<Size> 32 </Size>
|
||
<Width>128</Width>
|
||
<Height>64</Height>
|
||
<Font> MITRegularTTF </Font>
|
||
<Color> 0x5A5A5A </Color>
|
||
<Mode> "disable-show" </Mode>
|
||
<State> $Sum1201020069 </State>
|
||
<Value> text_unavailable </Value>
|
||
<Align> center-vertical-horizontal </Align>
|
||
</Text>
|
||
</Block>
|
||
; - 12-21-02-0069 -
|
||
<Block>
|
||
<MarginLeft> 33 </MarginLeft>
|
||
<MarginTop> 22 </MarginTop>
|
||
<Width> 225 </Width>
|
||
<Height> 296 </Height>
|
||
<State> Flag( 12-21-02-0069.Button,$Sum1221020069) </State>
|
||
<Button>
|
||
<State> $Sum1221020069 </State>
|
||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_7up_PLUM_COFFEE.png" </Filename>
|
||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_iced_7up_PLUM_COFFEE.png" </FilenamePress>
|
||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_iced_7up_PLUM_COFFEE.png" </FilenameDisable>
|
||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||
<Volume> SoundVolume </Volume>
|
||
<OverlayImage> xmlpro( 12-21-02-0069, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||
<EventOnClick>
|
||
Var NameDrink = "7Up Plum Lime Coffee"
|
||
Var NameDrinkTH = "เซเว่นอัพ กาแฟบ๊วยโซดา"
|
||
Var DrinkDescriptionTH = "กาแฟ เซเว่นอัพ และ มะนาว"
|
||
Var DrinkDescription = "Espreeso, 7UP, Lime, Ice"
|
||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_iced_7up_PLUM_COFFEE.png"
|
||
Var OpenFromXML = CurrentXMLFileName2
|
||
Var PriceD1 = $-.Price
|
||
Var PriceD2 = $12-21-02-0069.Price
|
||
Var PriceD3 = $-.Price
|
||
Var PD_CODE1 = "##-##-##-####"
|
||
Var PD_CODE2 = "12-21-02-0069"
|
||
Var PD_CODE3 = "##-##-##-####"
|
||
Var PD_STAGE_1 = "Disable2"
|
||
Var PD_STAGE_2 = $12-21-02-0069.Button
|
||
Var PD_STAGE_3 = "Disable2"
|
||
Var OverlayMenuFilter !assigned xmlpro( 12-21-02-0069, "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-21-02-0069"
|
||
Else
|
||
If PD_STAGE_1 = "Enable" Then
|
||
Topping "Load" "-"
|
||
Else
|
||
Topping "Load" "-"
|
||
EndIf
|
||
EndIf
|
||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
||
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
||
Var menu_name_thai_hot = $##-##-##-####.Name
|
||
Var menu_desc_thai_hot = $##-##-##-####.description
|
||
|
||
Var menu_name_eng_cold = $12-21-02-0069.NameE
|
||
Var menu_desc_eng_cold = $12-21-02-0069.descriptionE
|
||
Var menu_name_thai_cold = $12-21-02-0069.Name
|
||
Var menu_desc_thai_cold = $12-21-02-0069.description
|
||
|
||
Var menu_name_eng_blender = $##-##-##-####.NameE
|
||
Var menu_desc_eng_blender = $##-##-##-####.descriptionE
|
||
Var menu_name_thai_blender = $##-##-##-####.Name
|
||
Var menu_desc_thai_blender = $##-##-##-####.description
|
||
|
||
DEBUGVAR PD_STAGE_1
|
||
DEBUGVAR PD_STAGE_2
|
||
DEBUGVAR PD_STAGE_3
|
||
Var SelectDrinkType = 0
|
||
|
||
|
||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
||
|
||
</EventOnClick>
|
||
</Button>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 164 </Y>
|
||
<Size> 24 </Size>
|
||
<Width>220</Width>
|
||
<Mode> "multi2" </Mode>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x322B26 </Color>
|
||
<State> showthaiText </State>
|
||
<Value> "เซเว่นอัพ
|
||
กาแฟบ๊วยโซดา" </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 220 </Y>
|
||
<Size> 14 </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<State> showthaiText </State>
|
||
<Value> "กาแฟ เซเว่นอัพ และ มะนาว" </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 164 </Y>
|
||
<Size> 22 </Size>
|
||
<Width>220</Width>
|
||
<Mode> "multi2" </Mode>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x322B26 </Color>
|
||
<State> showengText </State>
|
||
<Value> "7Up Plum Lime
|
||
Coffee" </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> "Espreeso, 7UP, Lime, 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> $12-21-02-0069.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-21-02-0069.Button </State>
|
||
<Value> StringFmt( $12-21-02-0069.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 146 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||
<State> "Invisible" </State>
|
||
</Image>
|
||
<Text>
|
||
<X> 183 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> "Invisible" </State>
|
||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<State>
|
||
eval(
|
||
If ICE_PROCESS_STATUS = 2 Then
|
||
|
||
Var ice_tab_process_show = "Invisible"
|
||
|
||
Else
|
||
Var ice_tab_process_show = "Invisible"
|
||
EndIf
|
||
Var return = ice_tab_process_show
|
||
)
|
||
</State>
|
||
<Filename> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </Filename>
|
||
<FilenameDisable> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </FilenameDisable>
|
||
</Image>
|
||
<Image>
|
||
<X> 49 </X>
|
||
<Y> 117 </Y>
|
||
<State>
|
||
eval(
|
||
If $Sum1221020069 = "Disable" Then
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||
STRCONTAIN "ERR" $12-21-02-0069.TAG tag2_is_disable
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||
Var return = "Invisible"
|
||
If tag1_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag2_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag3_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
Else
|
||
Var return = "Invisible"
|
||
EndIf
|
||
)
|
||
</State>
|
||
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
||
</Image>
|
||
<Text>
|
||
<X> 84 </X>
|
||
<Y> 266 </Y>
|
||
<Size> 10 </Size>
|
||
<Font> OpunMediumTTF </Font>
|
||
<Color> 0xDE794E </Color>
|
||
<State> ice_tab_process_show </State>
|
||
<Value> ice_show_open </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 48 </X>
|
||
<Y> 116 </Y>
|
||
<Size> 32 </Size>
|
||
<Width>128</Width>
|
||
<Height>64</Height>
|
||
<Font> MITRegularTTF </Font>
|
||
<Color> 0x5A5A5A </Color>
|
||
<Mode> "disable-show" </Mode>
|
||
<State> $Sum1221020069 </State>
|
||
<Value> text_unavailable </Value>
|
||
<Align> center-vertical-horizontal </Align>
|
||
</Text>
|
||
</Block>
|
||
; ==================> Len = 21
|
||
; - 12-01-02-0070 -
|
||
<Block>
|
||
<MarginLeft> 33 </MarginLeft>
|
||
<MarginTop> 22 </MarginTop>
|
||
<Width> 225 </Width>
|
||
<Height> 296 </Height>
|
||
<State> Flag( 12-01-02-0070.Button,$Sum1201020070) </State>
|
||
<Button>
|
||
<State> $Sum1201020070 </State>
|
||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_7up_sala_COFFEE.png" </Filename>
|
||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_iced_7up_sala_COFFEE.png" </FilenamePress>
|
||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_iced_7up_sala_COFFEE.png" </FilenameDisable>
|
||
<OverlayImage> xmlpro( 12-01-02-0070, "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 = "7Up Plum Salak Lime Coffee"
|
||
Var NameDrinkTH = "เซเว่นอัพ กาแฟสละโซดา"
|
||
Var DrinkDescriptionTH = "กาแฟ เซเว่นอัพ สละ และ มะนาว"
|
||
Var DrinkDescription = "Espreeso, 7UP, Lime Salak, Ice"
|
||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_iced_7up_sala_COFFEE.png"
|
||
Var OpenFromXML = CurrentXMLFileName2
|
||
Var PriceD1 = $-.Price
|
||
Var PriceD2 = $12-01-02-0070.Price
|
||
Var PriceD3 = $-.Price
|
||
Var PD_CODE1 = "##-##-##-####"
|
||
Var PD_CODE2 = "12-01-02-0070"
|
||
Var PD_CODE3 = "##-##-##-####"
|
||
Var PD_STAGE_1 = "Disable2"
|
||
Var PD_STAGE_2 = $12-01-02-0070.Button
|
||
Var PD_STAGE_3 = "Disable2"
|
||
Var OverlayMenuFilter !assigned xmlpro( 12-01-02-0070, "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-01-02-0070"
|
||
Else
|
||
If PD_STAGE_1 = "Enable" Then
|
||
Topping "Load" "-"
|
||
Else
|
||
Topping "Load" "-"
|
||
EndIf
|
||
EndIf
|
||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
||
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
||
Var menu_name_thai_hot = $##-##-##-####.Name
|
||
Var menu_desc_thai_hot = $##-##-##-####.description
|
||
|
||
Var menu_name_eng_cold = $12-01-02-0070.NameE
|
||
Var menu_desc_eng_cold = $12-01-02-0070.descriptionE
|
||
Var menu_name_thai_cold = $12-01-02-0070.Name
|
||
Var menu_desc_thai_cold = $12-01-02-0070.description
|
||
|
||
Var menu_name_eng_blender = $##-##-##-####.NameE
|
||
Var menu_desc_eng_blender = $##-##-##-####.descriptionE
|
||
Var menu_name_thai_blender = $##-##-##-####.Name
|
||
Var menu_desc_thai_blender = $##-##-##-####.description
|
||
|
||
DEBUGVAR PD_STAGE_1
|
||
DEBUGVAR PD_STAGE_2
|
||
DEBUGVAR PD_STAGE_3
|
||
Var SelectDrinkType = 0
|
||
|
||
|
||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
||
|
||
</EventOnClick>
|
||
</Button>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 164 </Y>
|
||
<Size> 24 </Size>
|
||
<Width>220</Width>
|
||
<Mode> "multi2" </Mode>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x322B26 </Color>
|
||
<State> showthaiText </State>
|
||
<Value> "เซเว่นอัพ
|
||
กาแฟสละโซดา" </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 220 </Y>
|
||
<Size> 14 </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<State> showthaiText </State>
|
||
<Value> "กาแฟ เซเว่นอัพ สละ และ มะนาว" </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 164 </Y>
|
||
<Size> 22 </Size>
|
||
<Width>220</Width>
|
||
<Mode> "multi2" </Mode>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x322B26 </Color>
|
||
<State> showengText </State>
|
||
<Value> "7Up Plum Salak
|
||
Lime Coffee" </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> "Espreeso, 7UP, Lime
|
||
Salak, 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> $12-01-02-0070.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-01-02-0070.Button </State>
|
||
<Value> StringFmt( $12-01-02-0070.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 146 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||
<State> "Invisible" </State>
|
||
</Image>
|
||
<Text>
|
||
<X> 180 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitRegularTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> "Invisible" </State>
|
||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<State>
|
||
eval(
|
||
If ICE_PROCESS_STATUS = 2 Then
|
||
|
||
Var ice_tab_process_show = "Invisible"
|
||
|
||
Else
|
||
Var ice_tab_process_show = "Invisible"
|
||
EndIf
|
||
Var return = ice_tab_process_show
|
||
)
|
||
</State>
|
||
<Filename> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </Filename>
|
||
<FilenameDisable> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </FilenameDisable>
|
||
</Image>
|
||
<Image>
|
||
<X> 49 </X>
|
||
<Y> 117 </Y>
|
||
<State>
|
||
eval(
|
||
If $Sum1201020070 = "Disable" Then
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||
STRCONTAIN "ERR" $12-01-02-0070.TAG tag2_is_disable
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||
Var return = "Invisible"
|
||
If tag1_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag2_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag3_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
Else
|
||
Var return = "Invisible"
|
||
EndIf
|
||
)
|
||
</State>
|
||
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
||
</Image>
|
||
<Text>
|
||
<X> 84 </X>
|
||
<Y> 266 </Y>
|
||
<Size> 10 </Size>
|
||
<Font> OpunMediumTTF </Font>
|
||
<Color> 0xDE794E </Color>
|
||
<State> ice_tab_process_show </State>
|
||
<Value> ice_show_open </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 48 </X>
|
||
<Y> 116 </Y>
|
||
<Size> 32 </Size>
|
||
<Width>128</Width>
|
||
<Height>64</Height>
|
||
<Font> MITRegularTTF </Font>
|
||
<Color> 0x5A5A5A </Color>
|
||
<Mode> "disable-show" </Mode>
|
||
<State> $Sum1201020070 </State>
|
||
<Value> text_unavailable </Value>
|
||
<Align> center-vertical-horizontal </Align>
|
||
</Text>
|
||
</Block>
|
||
; - 12-21-02-0070 -
|
||
<Block>
|
||
<MarginLeft> 33 </MarginLeft>
|
||
<MarginTop> 22 </MarginTop>
|
||
<Width> 225 </Width>
|
||
<Height> 296 </Height>
|
||
<State> Flag( 12-21-02-0070.Button,$Sum1221020070) </State>
|
||
<Button>
|
||
<State> $Sum1221020070 </State>
|
||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_7up_sala_COFFEE.png" </Filename>
|
||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_iced_7up_sala_COFFEE.png" </FilenamePress>
|
||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_iced_7up_sala_COFFEE.png" </FilenameDisable>
|
||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||
<Volume> SoundVolume </Volume>
|
||
<OverlayImage> xmlpro( 12-21-02-0070, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||
<EventOnClick>
|
||
Var NameDrink = "7Up Plum Salak Lime Coffee"
|
||
Var NameDrinkTH = "เซเว่นอัพ กาแฟสละโซดา"
|
||
Var DrinkDescriptionTH = "กาแฟ เซเว่นอัพ สละ และ มะนาว"
|
||
Var DrinkDescription = "Espreeso, 7UP, Lime Salak, Ice"
|
||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_iced_7up_sala_COFFEE.png"
|
||
Var OpenFromXML = CurrentXMLFileName2
|
||
Var PriceD1 = $-.Price
|
||
Var PriceD2 = $12-21-02-0070.Price
|
||
Var PriceD3 = $-.Price
|
||
Var PD_CODE1 = "##-##-##-####"
|
||
Var PD_CODE2 = "12-21-02-0070"
|
||
Var PD_CODE3 = "##-##-##-####"
|
||
Var PD_STAGE_1 = "Disable2"
|
||
Var PD_STAGE_2 = $12-21-02-0070.Button
|
||
Var PD_STAGE_3 = "Disable2"
|
||
Var OverlayMenuFilter !assigned xmlpro( 12-21-02-0070, "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-21-02-0070"
|
||
Else
|
||
If PD_STAGE_1 = "Enable" Then
|
||
Topping "Load" "-"
|
||
Else
|
||
Topping "Load" "-"
|
||
EndIf
|
||
EndIf
|
||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
||
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
||
Var menu_name_thai_hot = $##-##-##-####.Name
|
||
Var menu_desc_thai_hot = $##-##-##-####.description
|
||
|
||
Var menu_name_eng_cold = $12-21-02-0070.NameE
|
||
Var menu_desc_eng_cold = $12-21-02-0070.descriptionE
|
||
Var menu_name_thai_cold = $12-21-02-0070.Name
|
||
Var menu_desc_thai_cold = $12-21-02-0070.description
|
||
|
||
Var menu_name_eng_blender = $##-##-##-####.NameE
|
||
Var menu_desc_eng_blender = $##-##-##-####.descriptionE
|
||
Var menu_name_thai_blender = $##-##-##-####.Name
|
||
Var menu_desc_thai_blender = $##-##-##-####.description
|
||
|
||
DEBUGVAR PD_STAGE_1
|
||
DEBUGVAR PD_STAGE_2
|
||
DEBUGVAR PD_STAGE_3
|
||
Var SelectDrinkType = 0
|
||
|
||
|
||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
||
|
||
</EventOnClick>
|
||
</Button>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 164 </Y>
|
||
<Size> 24 </Size>
|
||
<Width>220</Width>
|
||
<Mode> "multi2" </Mode>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x322B26 </Color>
|
||
<State> showthaiText </State>
|
||
<Value> "เซเว่นอัพ
|
||
กาแฟสละโซดา" </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 220 </Y>
|
||
<Size> 14 </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<State> showthaiText </State>
|
||
<Value> "กาแฟ เซเว่นอัพ สละ และ มะนาว" </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 16 </X>
|
||
<Y> 164 </Y>
|
||
<Size> 22 </Size>
|
||
<Width>220</Width>
|
||
<Mode> "multi2" </Mode>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x322B26 </Color>
|
||
<State> showengText </State>
|
||
<Value> "7Up Plum Salak
|
||
Lime Coffee" </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> "Espreeso, 7UP, Lime
|
||
Salak, 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> $12-21-02-0070.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-21-02-0070.Button </State>
|
||
<Value> StringFmt( $12-21-02-0070.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 146 </X>
|
||
<Y> 264 </Y>
|
||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||
<State> "Invisible" </State>
|
||
</Image>
|
||
<Text>
|
||
<X> 183 </X>
|
||
<Y> TextPriceMenuY </Y>
|
||
<Size> TextPriceMenuSize </Size>
|
||
<Width>220</Width>
|
||
<Font> KanitMediumTTF </Font>
|
||
<Color> 0x6F5F51 </Color>
|
||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||
<State> "Invisible" </State>
|
||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||
</Text>
|
||
<Image>
|
||
<X> 81 </X>
|
||
<Y> 264 </Y>
|
||
<State>
|
||
eval(
|
||
If ICE_PROCESS_STATUS = 2 Then
|
||
|
||
Var ice_tab_process_show = "Invisible"
|
||
|
||
Else
|
||
Var ice_tab_process_show = "Invisible"
|
||
EndIf
|
||
Var return = ice_tab_process_show
|
||
)
|
||
</State>
|
||
<Filename> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </Filename>
|
||
<FilenameDisable> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </FilenameDisable>
|
||
</Image>
|
||
<Image>
|
||
<X> 49 </X>
|
||
<Y> 117 </Y>
|
||
<State>
|
||
eval(
|
||
If $Sum1221020070 = "Disable" Then
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||
STRCONTAIN "ERR" $12-21-02-0070.TAG tag2_is_disable
|
||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||
Var return = "Invisible"
|
||
If tag1_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag2_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
If tag3_is_disable = "true" Then
|
||
Var return = "Enable"
|
||
EndIf
|
||
Else
|
||
Var return = "Invisible"
|
||
EndIf
|
||
)
|
||
</State>
|
||
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
||
</Image>
|
||
<Text>
|
||
<X> 84 </X>
|
||
<Y> 266 </Y>
|
||
<Size> 10 </Size>
|
||
<Font> OpunMediumTTF </Font>
|
||
<Color> 0xDE794E </Color>
|
||
<State> ice_tab_process_show </State>
|
||
<Value> ice_show_open </Value>
|
||
</Text>
|
||
<Text>
|
||
<X> 48 </X>
|
||
<Y> 116 </Y>
|
||
<Size> 32 </Size>
|
||
<Width>128</Width>
|
||
<Height>64</Height>
|
||
<Font> MITRegularTTF </Font>
|
||
<Color> 0x5A5A5A </Color>
|
||
<Mode> "disable-show" </Mode>
|
||
<State> $Sum1221020070 </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>
|
||
|
||
|
||
|
||
|
||
|
||
</Popup>
|