Merge branch 'masterpiece' into pos_aot

This commit is contained in:
Kenta420 2024-09-30 13:44:26 +07:00
commit 79048eb74b
642 changed files with 21200 additions and 7812 deletions

View file

@ -7407,6 +7407,513 @@ Sugar, Biscof" </Value>
</Text>
</Block>
; - - -
; ==================> Len = 12
; 12-01-01-0081 12-01-01-0081 -
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-01-01-0081.Button,12-01-01-0081.Button,Disable=Invisible,$Sum12010100811201010081) </State>
<Button>
<State> $Sum12010100811201010081 </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_posi1.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-01-0081.Price
Var PriceD3 = $-.Price
Var PD_CODE1 = "12-01-01-0081"
Var PD_CODE2 = "12-01-01-0081"
Var PD_CODE3 = "##-##-##-####"
Var PD_STAGE_1 = $12-01-01-0081.Button
Var PD_STAGE_2 = $12-01-01-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_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-01-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-01-0081.NameE
Var menu_desc_eng_cold = $12-01-01-0081.descriptionE
Var menu_name_thai_cold = $12-01-01-0081.Name
Var menu_desc_thai_cold = $12-01-01-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
Var OpenFromInstMenuTab = 0
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
</EventOnClick>
</Button>
<Text>
<X> 16 </X>
<Y> 164 </Y>
<Size> 24 </Size>
<Width>220</Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showthaiText </State>
<Value> "กาแฟดำ" </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 220 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showthaiText </State>
<Value> "กาแฟ และน้ำ " </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 164 </Y>
<Size> 22 </Size>
<Width>220</Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showengText </State>
<Value> "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-01-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-01-0081.Button </State>
<Value> StringFmt( $12-01-01-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 $Sum12010100811201010081 = "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 $Sum12010100811201010081 = "Disable" Then
STRCONTAIN "ERR" $12-01-01-0081.TAG tag1_is_disable
STRCONTAIN "ERR" $12-01-01-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> $Sum12010100811201010081 </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,Disable=Invisible,$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_posi1.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_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-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 = 17
; 12-01-01-0014 12-01-02-0011 -
<Block>

View file

@ -7407,6 +7407,513 @@ Sugar, Biscof" </Value>
</Text>
</Block>
; - - -
; ==================> Len = 12
; 12-01-01-0081 12-01-01-0081 -
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-01-01-0081.Button,12-01-01-0081.Button,Disable=Invisible,$Sum12010100811201010081) </State>
<Button>
<State> $Sum12010100811201010081 </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_posi1.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-01-0081.Price
Var PriceD3 = $-.Price
Var PD_CODE1 = "12-01-01-0081"
Var PD_CODE2 = "12-01-01-0081"
Var PD_CODE3 = "##-##-##-####"
Var PD_STAGE_1 = $12-01-01-0081.Button
Var PD_STAGE_2 = $12-01-01-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_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-01-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-01-0081.NameE
Var menu_desc_eng_cold = $12-01-01-0081.descriptionE
Var menu_name_thai_cold = $12-01-01-0081.Name
Var menu_desc_thai_cold = $12-01-01-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
Var OpenFromInstMenuTab = 0
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
</EventOnClick>
</Button>
<Text>
<X> 16 </X>
<Y> 164 </Y>
<Size> 24 </Size>
<Width>220</Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showthaiText </State>
<Value> "กาแฟดำ" </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 220 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showthaiText </State>
<Value> "กาแฟ และน้ำ " </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 164 </Y>
<Size> 22 </Size>
<Width>220</Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showengText </State>
<Value> "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-01-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-01-0081.Button </State>
<Value> StringFmt( $12-01-01-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 $Sum12010100811201010081 = "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 $Sum12010100811201010081 = "Disable" Then
STRCONTAIN "ERR" $12-01-01-0081.TAG tag1_is_disable
STRCONTAIN "ERR" $12-01-01-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> $Sum12010100811201010081 </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,Disable=Invisible,$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_posi1.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_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-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 = 17
; 12-01-01-0014 12-01-02-0011 -
<Block>

View file

@ -272,7 +272,7 @@ If BoxID = 173149 Then
Var RobinsonBeautyPro = 0
Var JemilaPro = 1
EndIf
DEBUGVAR JemilaPro
Var XMLLiveInfoEnable = 1

View file

@ -8011,6 +8011,517 @@ Sugar, Biscof" </Value>
</Text>
</Block>
; - - -
; ==================> Len = 12
; 12-01-01-0081 12-01-01-0081 -
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-01-01-0081.Button,12-01-01-0081.Button,Disable=Invisible,$Sum12010100811201010081) </State>
<Button>
<State> $Sum12010100811201010081 </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_posi1.png") </OverlayImage>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var NameDrink = "STRONG 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
GetInstanceIDMenuTab OpenFromInstMenuTab
Var PriceD1 = $12-01-01-0081.Price
Var PriceD2 = $12-01-01-0081.Price
Var PriceD3 = $-.Price
Var PD_CODE1 = "12-01-01-0081"
Var PD_CODE2 = "12-01-01-0081"
Var PD_CODE3 = "##-##-##-####"
Var PD_STAGE_1 = $12-01-01-0081.Button
Var PD_STAGE_2 = $12-01-01-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_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-01-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-01-0081.NameE
Var menu_desc_eng_cold = $12-01-01-0081.descriptionE
Var menu_name_thai_cold = $12-01-01-0081.Name
Var menu_desc_thai_cold = $12-01-01-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
TabMenuVisibleInst 99
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_topping_select5.xml"
</EventOnClick>
</Button>
<Text>
<X> 16 </X>
<Y> 164 </Y>
<Size> 24 </Size>
<Width>220</Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showthaiText </State>
<Value> "กาแฟดำ" </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 220 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showthaiText </State>
<Value> "กาแฟ และน้ำ " </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 164 </Y>
<Size> 22 </Size>
<Width>220</Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showengText </State>
<Value> "STRONG 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( DirImageDrinkOption + "option_deactive.png" ) </Filename>
</Image>
<Image>
<X> 16 </X>
<Y> 264 </Y>
<State> $12-01-01-0081.Button </State>
<Filename> Var( DirImageDrinkOption + "hot.png" ) </Filename>
<FilenameDisable> Var( DirImageDrinkOption + "hot_db.png" ) </FilenameDisable>
</Image>
<Text>
<X> 50 </X>
<Y> 265 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-01-01-0081.Button </State>
<Value> Var( "฿" + $12-01-01-0081.Price ) </Value>
</Text>
<Image>
<X> 81 </X>
<Y> 264 </Y>
<Filename> Var( DirImageDrinkOption + "cold.png" ) </Filename>
<FilenameDisable> Var( DirImageDrinkOption + "cold_db.png" ) </FilenameDisable>
<State> $12-01-01-0081.Button </State>
</Image>
<Text>
<X> 115 </X>
<Y> 265 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-01-01-0081.Button </State>
<Value> Var( "฿" + $12-01-01-0081.Price ) </Value>
</Text>
<Image>
<X> 146 </X>
<Y> 264 </Y>
<Filename> Var( DirImageDrinkOption + "blend.png" ) </Filename>
<FilenameDisable> Var( DirImageDrinkOption + "blend_db.png" ) </FilenameDisable>
<State> "Invisible" </State>
</Image>
<Text>
<X> 183 </X>
<Y> 264 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> "Invisible" </State>
<Value> Var( "฿" + $-.Price ) </Value>
</Text>
<Image>
<X> 81 </X>
<Y> 264 </Y>
<State>
eval(
If ICE_PROCESS_STATUS = 2 Then
If $Sum12010100811201010081 = "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 $Sum12010100811201010081 = "Disable" Then
STRCONTAIN "ERR" $12-01-01-0081.TAG tag1_is_disable
STRCONTAIN "ERR" $12-01-01-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> $Sum12010100811201010081 </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,Disable=Invisible,$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_posi1.png") </OverlayImage>
<EventOnClick>
Var NameDrink = "STRONG 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
GetInstanceIDMenuTab OpenFromInstMenuTab
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_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-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
TabMenuVisibleInst 99
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_topping_select5.xml"
</EventOnClick>
</Button>
<Text>
<X> 16 </X>
<Y> 164 </Y>
<Size> 24 </Size>
<Width>220</Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showthaiText </State>
<Value> "กาแฟดำ" </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 220 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showthaiText </State>
<Value> "กาแฟ และน้ำ " </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 164 </Y>
<Size> 22 </Size>
<Width>220</Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showengText </State>
<Value> "STRONG 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( DirImageDrinkOption + "option_deactive.png" ) </Filename>
</Image>
<Image>
<X> 16 </X>
<Y> 264 </Y>
<State> $12-21-01-0081.Button </State>
<Filename> Var( DirImageDrinkOption + "hot.png" ) </Filename>
<FilenameDisable> Var( DirImageDrinkOption + "hot_db.png" ) </FilenameDisable>
</Image>
<Text>
<X> 50 </X>
<Y> 265 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-21-01-0081.Button </State>
<Value> Var( "฿" + $12-21-01-0081.Price ) </Value>
</Text>
<Image>
<X> 81 </X>
<Y> 264 </Y>
<Filename> Var( DirImageDrinkOption + "cold.png" ) </Filename>
<FilenameDisable> Var( DirImageDrinkOption + "cold_db.png" ) </FilenameDisable>
<State> $12-21-02-0081.Button </State>
</Image>
<Text>
<X> 115 </X>
<Y> 265 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-21-02-0081.Button </State>
<Value> Var( "฿" + $12-21-02-0081.Price ) </Value>
</Text>
<Image>
<X> 146 </X>
<Y> 264 </Y>
<Filename> Var( DirImageDrinkOption + "blend.png" ) </Filename>
<FilenameDisable> Var( DirImageDrinkOption + "blend_db.png" ) </FilenameDisable>
<State> "Invisible" </State>
</Image>
<Text>
<X> 183 </X>
<Y> 265 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> "Invisible" </State>
<Value> Var( "฿" + $-.Price ) </Value>
</Text>
<Image>
<X> 81 </X>
<Y> 264 </Y>
<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 = 17
; 12-01-01-0014 12-01-02-0011 -
<Block>

View file

@ -641,7 +641,7 @@
</QRCode>
</Block>
;dummy_layout.inc
; menu_new_list 50
; menu_new_list 51
;TAGESP
; ==================> Len = 17
; 12-02-01-0039 12-02-02-0039 12-02-03-0039
@ -7034,6 +7034,517 @@ Sugar, Biscof" </Value>
</Text>
</Block>
; - - -
; ==================> Len = 12
; 12-01-01-0081 12-01-01-0081 -
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-01-01-0081.Button,12-01-01-0081.Button,Disable=Invisible,$Sum12010100811201010081) </State>
<Button>
<State> $Sum12010100811201010081 </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_posi1.png") </OverlayImage>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var NameDrink = "STRONG 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
GetInstanceIDMenuTab OpenFromInstMenuTab
Var PriceD1 = $12-01-01-0081.Price
Var PriceD2 = $12-01-01-0081.Price
Var PriceD3 = $-.Price
Var PD_CODE1 = "12-01-01-0081"
Var PD_CODE2 = "12-01-01-0081"
Var PD_CODE3 = "##-##-##-####"
Var PD_STAGE_1 = $12-01-01-0081.Button
Var PD_STAGE_2 = $12-01-01-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_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-01-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-01-0081.NameE
Var menu_desc_eng_cold = $12-01-01-0081.descriptionE
Var menu_name_thai_cold = $12-01-01-0081.Name
Var menu_desc_thai_cold = $12-01-01-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
TabMenuVisibleInst 99
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_topping_select5.xml"
</EventOnClick>
</Button>
<Text>
<X> 16 </X>
<Y> 164 </Y>
<Size> 24 </Size>
<Width>220</Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showthaiText </State>
<Value> "กาแฟดำ" </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 220 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showthaiText </State>
<Value> "กาแฟ และน้ำ " </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 164 </Y>
<Size> 22 </Size>
<Width>220</Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showengText </State>
<Value> "STRONG 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( DirImageDrinkOption + "option_deactive.png" ) </Filename>
</Image>
<Image>
<X> 16 </X>
<Y> 264 </Y>
<State> $12-01-01-0081.Button </State>
<Filename> Var( DirImageDrinkOption + "hot.png" ) </Filename>
<FilenameDisable> Var( DirImageDrinkOption + "hot_db.png" ) </FilenameDisable>
</Image>
<Text>
<X> 50 </X>
<Y> 265 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-01-01-0081.Button </State>
<Value> Var( "฿" + $12-01-01-0081.Price ) </Value>
</Text>
<Image>
<X> 81 </X>
<Y> 264 </Y>
<Filename> Var( DirImageDrinkOption + "cold.png" ) </Filename>
<FilenameDisable> Var( DirImageDrinkOption + "cold_db.png" ) </FilenameDisable>
<State> $12-01-01-0081.Button </State>
</Image>
<Text>
<X> 115 </X>
<Y> 265 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-01-01-0081.Button </State>
<Value> Var( "฿" + $12-01-01-0081.Price ) </Value>
</Text>
<Image>
<X> 146 </X>
<Y> 264 </Y>
<Filename> Var( DirImageDrinkOption + "blend.png" ) </Filename>
<FilenameDisable> Var( DirImageDrinkOption + "blend_db.png" ) </FilenameDisable>
<State> "Invisible" </State>
</Image>
<Text>
<X> 183 </X>
<Y> 264 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> "Invisible" </State>
<Value> Var( "฿" + $-.Price ) </Value>
</Text>
<Image>
<X> 81 </X>
<Y> 264 </Y>
<State>
eval(
If ICE_PROCESS_STATUS = 2 Then
If $Sum12010100811201010081 = "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 $Sum12010100811201010081 = "Disable" Then
STRCONTAIN "ERR" $12-01-01-0081.TAG tag1_is_disable
STRCONTAIN "ERR" $12-01-01-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> $Sum12010100811201010081 </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,Disable=Invisible,$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_posi1.png") </OverlayImage>
<EventOnClick>
Var NameDrink = "STRONG 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
GetInstanceIDMenuTab OpenFromInstMenuTab
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_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-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
TabMenuVisibleInst 99
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_topping_select5.xml"
</EventOnClick>
</Button>
<Text>
<X> 16 </X>
<Y> 164 </Y>
<Size> 24 </Size>
<Width>220</Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showthaiText </State>
<Value> "กาแฟดำ" </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 220 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showthaiText </State>
<Value> "กาแฟ และน้ำ " </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 164 </Y>
<Size> 22 </Size>
<Width>220</Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showengText </State>
<Value> "STRONG 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( DirImageDrinkOption + "option_deactive.png" ) </Filename>
</Image>
<Image>
<X> 16 </X>
<Y> 264 </Y>
<State> $12-21-01-0081.Button </State>
<Filename> Var( DirImageDrinkOption + "hot.png" ) </Filename>
<FilenameDisable> Var( DirImageDrinkOption + "hot_db.png" ) </FilenameDisable>
</Image>
<Text>
<X> 50 </X>
<Y> 265 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-21-01-0081.Button </State>
<Value> Var( "฿" + $12-21-01-0081.Price ) </Value>
</Text>
<Image>
<X> 81 </X>
<Y> 264 </Y>
<Filename> Var( DirImageDrinkOption + "cold.png" ) </Filename>
<FilenameDisable> Var( DirImageDrinkOption + "cold_db.png" ) </FilenameDisable>
<State> $12-21-02-0081.Button </State>
</Image>
<Text>
<X> 115 </X>
<Y> 265 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-21-02-0081.Button </State>
<Value> Var( "฿" + $12-21-02-0081.Price ) </Value>
</Text>
<Image>
<X> 146 </X>
<Y> 264 </Y>
<Filename> Var( DirImageDrinkOption + "blend.png" ) </Filename>
<FilenameDisable> Var( DirImageDrinkOption + "blend_db.png" ) </FilenameDisable>
<State> "Invisible" </State>
</Image>
<Text>
<X> 183 </X>
<Y> 265 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> "Invisible" </State>
<Value> Var( "฿" + $-.Price ) </Value>
</Text>
<Image>
<X> 81 </X>
<Y> 264 </Y>
<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 = 17
; 12-01-01-0014 12-01-02-0011 -
<Block>

View file

@ -10,9 +10,13 @@
If InternationalEnable = 1 Then
If CountryName = "Australia" Then
OpenInst 0 "/mnt/sdcard/coffeevending/taobin_project/inter/aus/xml/page_show_error.lxml"
Else
OpenInst 0 "/mnt/sdcard/coffeevending/taobin_project/xml/page_show_error.lxml"
EndIf
If CountryName = "Singapore" Then
OpenInst 0 "ROOT/taobin_project/inter/sgp/xml/page_show_error.lxml"
EndIf
OpenInst 0 "/mnt/sdcard/coffeevending/taobin_project/xml/page_show_error.lxml"
Else
OpenInst 0 "/mnt/sdcard/coffeevending/taobin_project/xml/page_show_error.xml"
EndIf

View file

@ -633,6 +633,9 @@
DEBUGVAR EventTurnOn
Var UsePepsiTheme = 0
Var NoTrickPriceProfile = 0
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/sold_cup_count.xml"
@ -922,11 +925,10 @@
DEBUGVAR ShowButtonClick2
Var UsePepsiTheme = 0
Var UsePepsiTheme = 1
Var TargetThemeNum = 2
;Var VideoAdvert = "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert.xml"
; Var = "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert.xml"
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/sold_cup_count.xml"
@ -992,6 +994,9 @@
Var MinPhoneNumber = 9
Var MaxPhoneNumber = 9
Var UsePepsiTheme = 1
Var TargetThemeNum = 2
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/sold_cup_count.xml"
EndIf
@ -1253,9 +1258,12 @@
Var MainStartPepsiThemeDir = MainStartPepsiThemeDir + "/image/main_page/"
;Var img_rest_main_page = MainStartPepsiThemeDir + "bn_main_page_start.png"
Var img_press_main_page = MainStartPepsiThemeDir + "bp_main_page_start.png"
Var img_press_main_page = ""
Var VideoMainPage = "ROOT/taobin_project/inter/whatthecup/common/video/video_main_wtc.mp4"
Var ShowButtonClickFull = "Enable"
EndIf
Else
; default-theme
@ -1577,6 +1585,11 @@ PRICE "Reset" "-"
If CountDownShowButton = 31 Then
Var ShowButtonClickFull = "Enable"
Var ShowButtonClick = "Invisible"
If UsePepsiTheme = 1 Then
Var ShowButtonClickFull = "Enable"
EndIf
Refresh
EndIf
@ -1584,6 +1597,11 @@ PRICE "Reset" "-"
Var ShowButtonClick = "Enable"
Var ShowButtonClickFull = "Invisible"
If UsePepsiTheme = 1 Then
Var ShowButtonClickFull = "Enable"
EndIf
Refresh
EndIf
@ -1615,7 +1633,6 @@ PRICE "Reset" "-"
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert2.xml"
Var OpenFromPageBoard = 1
@ -1734,30 +1751,36 @@ PRICE "Reset" "-"
DEBUGVAR XMLProfile
DEBUGVAR XMLProfilePrevious
If TimeProfilePrice = 5 Then
PRICE "Reset" "-"
PRICE "Load" "-"
PRICE "CheckAndApply" XMLProfile
If NoTrickPriceProfile = 0 Then
DEBUGVAR ProfileIndex[0]
DEBUGVAR ProfileIndex[1]
DEBUGVAR ProfileIndex[2]
DEBUGVAR ProfileIndex[3]
DEBUGVAR ProfileIndex[4]
DEBUGVAR ProfileIndex[5]
DEBUGVAR ProfileIndex[6]
DEBUGVAR ProfileIndex[7]
DEBUGVAR ProfileIndex[8]
DEBUGVAR ProfileIndex[9]
DEBUGVAR ProfileIndex[10]
If TimeProfilePrice = 5 Then
PRICE "Reset" "-"
PRICE "Load" "-"
PRICE "CheckAndApply" XMLProfile
PRICE "Reload" "-"
DEBUGVAR ProfileIndex[0]
DEBUGVAR ProfileIndex[1]
DEBUGVAR ProfileIndex[2]
DEBUGVAR ProfileIndex[3]
DEBUGVAR ProfileIndex[4]
DEBUGVAR ProfileIndex[5]
DEBUGVAR ProfileIndex[6]
DEBUGVAR ProfileIndex[7]
DEBUGVAR ProfileIndex[8]
DEBUGVAR ProfileIndex[9]
DEBUGVAR ProfileIndex[10]
PRICE "Reload" "-"
Var XMLProfilePrevious = XMLProfile
EndIf
Var XMLProfilePrevious = XMLProfile
EndIf
EndIf
Refresh
TimerReset

View file

@ -2596,7 +2596,7 @@ ESPRESSO" </Value>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var NameDrink = "STRONG COFFEE"
Var NameDrink = "BLACK COFFEE"
Var NameDrinkTH = "กาแฟดำ"
Var DrinkDescriptionTH = "กาแฟ และน้ำ "
Var DrinkDescription = "Dark shot Espresso, Water"
@ -2691,7 +2691,7 @@ ESPRESSO" </Value>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showengText </State>
<Value> "STRONG COFFEE" </Value>
<Value> "BLACK COFFEE" </Value>
</Text>
<Text>
<X> 16 </X>
@ -2849,7 +2849,7 @@ ESPRESSO" </Value>
<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 = "STRONG COFFEE"
Var NameDrink = "BLACK COFFEE"
Var NameDrinkTH = "กาแฟดำ"
Var DrinkDescriptionTH = "กาแฟ และน้ำ "
Var DrinkDescription = "Dark shot Espresso, Water"
@ -2944,7 +2944,7 @@ ESPRESSO" </Value>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showengText </State>
<Value> "STRONG COFFEE" </Value>
<Value> "BLACK COFFEE" </Value>
</Text>
<Text>
<X> 16 </X>

View file

@ -44,9 +44,9 @@
<State> Flag( 12-03-02-0075.Button,12-03-03-0075.Button,$Sum12030200751203030075) </State>
<Button>
<State> $Sum12030200751203030075 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_milk_jemila.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_iced_milk_jemila.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_iced_milk_jemila.png" </FilenameDisable>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_milk_jemila_pro.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_iced_milk_jemila_pro.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_iced_milk_jemila_pro.png" </FilenameDisable>
<OverlayImage> xmlpro( 12-03-03-0075, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
@ -55,7 +55,7 @@
Var NameDrinkTH = "หงส์ ดราก้อนมิลค์"
Var DrinkDescriptionTH = "เจมิลา นม และน้ำแข็ง"
Var DrinkDescription = "Jemila, Milk and Ice"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_iced_milk_jemila.png"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_iced_milk_jemila_pro.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $-.Price
Var PriceD2 = $12-03-02-0075.Price
@ -297,9 +297,9 @@ MILK" </Value>
<State> Flag( 12-05-02-0124.Button,12-05-03-0124.Button,$Sum12050201241205030124) </State>
<Button>
<State> $Sum12050201241205030124 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_water_roomtemp_jemila.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_water_roomtemp_jemila.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_water_roomtemp_jemila.png" </FilenameDisable>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_water_roomtemp_jemila_pro.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_water_roomtemp_jemila_pro.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_water_roomtemp_jemila_pro.png" </FilenameDisable>
<OverlayImage> xmlpro( 12-05-03-0124, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
@ -308,7 +308,7 @@ MILK" </Value>
Var NameDrinkTH = "มุนินทร์ดริ๊งก์"
Var DrinkDescriptionTH = "เจมิลา น้ำ และน้ำแข็ง"
Var DrinkDescription = "Jemila, Water and Ice"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_water_roomtemp_jemila.png"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_water_roomtemp_jemila_pro.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $-.Price
Var PriceD2 = $12-05-02-0124.Price
@ -550,9 +550,9 @@ DRINK" </Value>
<State> Flag( 12-02-02-0068.Button,12-02-03-0068.Button,$Sum12020200681202030068) </State>
<Button>
<State> $Sum12020200681202030068 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_thai_milk_tea_jemila.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_thai_milk_tea_jemila.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_thai_milk_tea_jemila.png" </FilenameDisable>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_thai_tea_jemila_pro.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_thai_tea_jemila_pro.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_thai_tea_jemila_pro.png" </FilenameDisable>
<OverlayImage> xmlpro( 12-02-03-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>
@ -561,7 +561,7 @@ DRINK" </Value>
Var NameDrinkTH = "มุตตาดื่ม"
Var DrinkDescriptionTH = "เจมิลา ชาไทย และน้ำแข็ง"
Var DrinkDescription = "Jemila, Thai tea and Ice"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_thai_milk_tea_jemila.png"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_thai_tea_jemila_pro.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $-.Price
Var PriceD2 = $12-02-02-0068.Price
@ -802,9 +802,9 @@ DRINK" </Value>
<State> Flag( 12-05-02-0125.Button,$Sum1205020125) </State>
<Button>
<State> $Sum1205020125 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_soda_jemila.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_soda_jemila.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_soda_jemila.png" </FilenameDisable>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_soda_jemila_pro.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_soda_jemila_pro.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_soda_jemila_pro.png" </FilenameDisable>
<OverlayImage> xmlpro( 12-05-02-0125, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
@ -813,7 +813,7 @@ DRINK" </Value>
Var NameDrinkTH = "ใจเริงซ่าพอตัว"
Var DrinkDescriptionTH = "เจมิลา โซดา และน้ำแข็ง"
Var DrinkDescription = "Jemila, Soda and Ice"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_soda_jemila.png"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_soda_jemila_pro.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $-.Price
Var PriceD2 = $12-05-02-0125.Price
@ -1055,9 +1055,9 @@ FIZZY" </Value>
<State> Flag( 12-01-02-0075.Button,$Sum1201020075) </State>
<Button>
<State> $Sum1201020075 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_america_no_jemila.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_america_no_jemila.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_america_no_jemila.png" </FilenameDisable>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_america_no_jemila_pro.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_america_no_jemila_pro.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_america_no_jemila_pro.png" </FilenameDisable>
<OverlayImage> xmlpro( 12-01-02-0075, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
@ -1066,7 +1066,7 @@ FIZZY" </Value>
Var NameDrinkTH = "ประกายดาวขอเข้ม ๆ"
Var DrinkDescriptionTH = "เจมิลา กาแฟ และน้ำแข็ง"
Var DrinkDescription = "Jemila, Espresso and Ice"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_america_no_jemila.png"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_america_no_jemila_pro.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $-.Price
Var PriceD2 = $12-01-02-0075.Price
@ -1306,9 +1306,9 @@ IT STRONG" </Value>
<State> Flag( 12-21-02-0075.Button,$Sum1221020075) </State>
<Button>
<State> $Sum1221020075 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_america_no_jemila.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_america_no_jemila.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_america_no_jemila.png" </FilenameDisable>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_america_no_jemila_pro.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_america_no_jemila_pro.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_america_no_jemila_pro.png" </FilenameDisable>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<OverlayImage> xmlpro( 12-21-02-0075, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
@ -1317,7 +1317,7 @@ IT STRONG" </Value>
Var NameDrinkTH = "ประกายดาวขอเข้ม ๆ"
Var DrinkDescriptionTH = "เจมิลา กาแฟ และน้ำแข็ง"
Var DrinkDescription = "Jemila, Espresso and Ice"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_america_no_jemila.png"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_america_no_jemila_pro.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $-.Price
Var PriceD2 = $12-21-02-0075.Price
@ -1558,9 +1558,9 @@ IT STRONG" </Value>
<State> Flag( 12-03-02-0076.Button,12-03-03-0076.Button,$Sum12030200761203030076) </State>
<Button>
<State> $Sum12030200761203030076 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_cocoa_jemila.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_iced_cocoa_jemila.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_iced_cocoa_jemila.png" </FilenameDisable>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_cocoa_jemila_pro.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_iced_cocoa_jemila_pro.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_iced_cocoa_jemila_pro.png" </FilenameDisable>
<OverlayImage> xmlpro( 12-03-03-0076, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
@ -1569,7 +1569,7 @@ IT STRONG" </Value>
Var NameDrinkTH = "เกล้ามาศมหัศจรรย์"
Var DrinkDescriptionTH = "เจมิลา โกโก้ และน้ำแข็ง"
Var DrinkDescription = "Jemila, Cocoa and Ice"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_iced_cocoa_jemila.png"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_iced_cocoa_jemila_pro.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $-.Price
Var PriceD2 = $12-03-02-0076.Price
@ -1811,9 +1811,9 @@ MIRACLES" </Value>
<State> Flag( 12-02-02-0069.Button,12-02-03-0069.Button,$Sum12020200691202030069) </State>
<Button>
<State> $Sum12020200691202030069 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_Ginger_tea_jemila.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_Ginger_tea_jemila.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_Ginger_tea_jemila.png" </FilenameDisable>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_Ginger_tea_jemila_pro.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_Ginger_tea_jemila_pro.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_Ginger_tea_jemila_pro.png" </FilenameDisable>
<OverlayImage> xmlpro( 12-02-03-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>
@ -1822,7 +1822,7 @@ MIRACLES" </Value>
Var NameDrinkTH = "ภัทรลดาจิงเจอ"
Var DrinkDescriptionTH = "เจมิลา ขิง และน้ำแข็ง"
Var DrinkDescription = "Jemila, Ginger and Ice"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_Ginger_tea_jemila.png"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_Ginger_tea_jemila_pro.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $-.Price
Var PriceD2 = $12-02-02-0069.Price
@ -2063,9 +2063,9 @@ MIRACLES" </Value>
<State> Flag( 12-05-02-0126.Button,12-05-03-0126.Button,$Sum12050201261205030126) </State>
<Button>
<State> $Sum12050201261205030126 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_7up_jemila.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_iced_7up_jemila.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_iced_7up_jemila.png" </FilenameDisable>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_7up_jemila_pro.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_iced_7up_jemila_pro.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_iced_7up_jemila_pro.png" </FilenameDisable>
<OverlayImage> xmlpro( 12-05-03-0126, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
@ -2074,7 +2074,7 @@ MIRACLES" </Value>
Var NameDrinkTH = "ราวีน่าเซเว่นอัพ"
Var DrinkDescriptionTH = "เจมิลา 7up และน้ำแข็ง"
Var DrinkDescription = "Jemila, 7 up and Ice"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_iced_7up_jemila.png"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_iced_7up_jemila_pro.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $-.Price
Var PriceD2 = $12-05-02-0126.Price
@ -2316,9 +2316,9 @@ SODA" </Value>
<State> Flag( 12-05-02-0127.Button,12-05-03-0127.Button,$Sum12050201271205030127) </State>
<Button>
<State> $Sum12050201271205030127 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_lemonade_jemila.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_iced_lemonade_jemila.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_iced_lemonade_jemila.png" </FilenameDisable>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_lemonade_jemila_pro.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_iced_lemonade_jemila_pro.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_iced_lemonade_jemila_pro.png" </FilenameDisable>
<OverlayImage> xmlpro( 12-05-03-0127, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
@ -2327,7 +2327,7 @@ SODA" </Value>
Var NameDrinkTH = "ขวัญอุมามะนาว"
Var DrinkDescriptionTH = "เจมิลา มะนาว และน้ำแข็ง"
Var DrinkDescription = "Jemila, Lime and Ice"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_iced_lemonade_jemila.png"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_iced_lemonade_jemila_pro.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $-.Price
Var PriceD2 = $12-05-02-0127.Price
@ -2568,9 +2568,9 @@ SODA" </Value>
<State> Flag( 12-02-02-0070.Button,12-02-03-0070.Button,$Sum12020200701202030070) </State>
<Button>
<State> $Sum12020200701202030070 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_jasmine_tea_jemila.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_jasmine_tea_jemila.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_jasmine_tea_jemila.png" </FilenameDisable>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_jasmine_tea_jemila_pro.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_jasmine_tea_jemila_pro.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_jasmine_tea_jemila_pro.png" </FilenameDisable>
<OverlayImage> xmlpro( 12-02-03-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>
@ -2579,7 +2579,7 @@ SODA" </Value>
Var NameDrinkTH = "รวินทร์วรกานต์มะลิ"
Var DrinkDescriptionTH = "เจมิลา ชามะลิ และน้ำแข็ง"
Var DrinkDescription = "Jemila, Jasmine tea and Ice"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_jasmine_tea_jemila.png"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_jasmine_tea_jemila_pro.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $-.Price
Var PriceD2 = $12-02-02-0070.Price

View file

@ -94,7 +94,7 @@
</QRCode>
</Block>
;dummy_layout.inc
; menu_new_list 50
; menu_new_list 51
;TAGESP
; ==================> Len = 17
; 12-02-01-0039 12-02-02-0039 12-02-03-0039
@ -6428,6 +6428,513 @@ Sugar, Biscof" </Value>
</Text>
</Block>
; - - -
; ==================> Len = 12
; 12-01-01-0081 12-01-01-0081 -
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-01-01-0081.Button,12-01-01-0081.Button,Disable=Invisible,$Sum12010100811201010081) </State>
<Button>
<State> $Sum12010100811201010081 </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_posi1.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-01-0081.Price
Var PriceD3 = $-.Price
Var PD_CODE1 = "12-01-01-0081"
Var PD_CODE2 = "12-01-01-0081"
Var PD_CODE3 = "##-##-##-####"
Var PD_STAGE_1 = $12-01-01-0081.Button
Var PD_STAGE_2 = $12-01-01-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_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-01-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-01-0081.NameE
Var menu_desc_eng_cold = $12-01-01-0081.descriptionE
Var menu_name_thai_cold = $12-01-01-0081.Name
Var menu_desc_thai_cold = $12-01-01-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
Var OpenFromInstMenuTab = 0
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
</EventOnClick>
</Button>
<Text>
<X> 16 </X>
<Y> 164 </Y>
<Size> 24 </Size>
<Width>220</Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showthaiText </State>
<Value> "กาแฟดำ" </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 220 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showthaiText </State>
<Value> "กาแฟ และน้ำ " </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 164 </Y>
<Size> 22 </Size>
<Width>220</Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showengText </State>
<Value> "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-01-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-01-0081.Button </State>
<Value> StringFmt( $12-01-01-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 $Sum12010100811201010081 = "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 $Sum12010100811201010081 = "Disable" Then
STRCONTAIN "ERR" $12-01-01-0081.TAG tag1_is_disable
STRCONTAIN "ERR" $12-01-01-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> $Sum12010100811201010081 </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,Disable=Invisible,$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_posi1.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_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-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 = 17
; 12-01-01-0014 12-01-02-0011 -
<Block>

View file

@ -762,69 +762,36 @@
EndIf
EndIf
If MyMintEnable = 1 Then
If FromMyMintPro = 1 Then
GETACCEXT TelephoneNumber 32
Open "ROOT/taobin_project/xml/event/my_mint_my_moment/page_collect_point_pro_mymint_2.xml"
EndIf
EndIf
If ProBadValentineEnable = 1 Then
If FromBadValentinePro = 1 Then
GETACCEXT TelephoneNumber 32
Open "ROOT/taobin_project/xml/event/bad_valentine/page_collect_point_pro_bad_valentine_2.xml"
EndIf
EndIf
If LipitPro = 1 Then
If FromLipitPro = 1 Then
If Seeker.CodeChannel = 1 Then
If Seeker.CollectPointPromotion = 1 Then
If LipitRewardOutOfStock = 0 Then
If NotCollectPointPromotion = 0 Then
If RobinsonBeautyPro = 1 Then
If FromRobinsonBeautyPro = 1 Then
If Seeker.CodeChannel = 1 Then
If Seeker.CollectPointPromotion = 1 Then
GETACCEXT TelephoneNumber 32
Open "ROOT/taobin_project/xml/event/lipit/page_collect_point_pro_lipit_2.xml"
Open "ROOT/taobin_project/xml/event/robinson_beauty/page_collect_point_robinson_beauty_2.xml"
EndIf
EndIf
Else
If LipitRewardOutOfStock = 0 Then
GETACCEXT TelephoneNumber 32
Open "ROOT/taobin_project/xml/event/lipit/page_collect_point_pro_lipit_2.xml"
EndIf
EndIf
EndIf
EndIf
DEBUGVAR NamHomCoconutPro
DEBUGVAR FromNamHomCoconutPro
DEBUGVAR Seeker.CodeChannel
If NamHomCoconutPro = 1 Then
If FromNamHomCoconutPro = 1 Then
If Seeker.CodeChannel = 1 Then
If Seeker.CollectPointPromotion = 1 Then
If NamHomCoconutRewardOutOfStock = 0 Then
GETACCEXT TelephoneNumber 32
Open "ROOT/taobin_project/xml/event/nam_hom_coconut/page_collect_point_nam_hom_coconut_2.xml"
EndIf
EndIf
Else
If NamHomCoconutRewardOutOfStock = 0 Then
GETACCEXT TelephoneNumber 32
Open "ROOT/taobin_project/xml/event/nam_hom_coconut/page_collect_point_nam_hom_coconut_2.xml"
EndIf
EndIf
EndIf
EndIf
If RobinsonBeautyPro = 1 Then
If FromRobinsonBeautyPro = 1 Then
If Seeker.CodeChannel = 1 Then
If Seeker.CollectPointPromotion = 1 Then
Else
GETACCEXT TelephoneNumber 32
Open "ROOT/taobin_project/xml/event/robinson_beauty/page_collect_point_robinson_beauty_2.xml"
EndIf
Else
GETACCEXT TelephoneNumber 32
Open "ROOT/taobin_project/xml/event/robinson_beauty/page_collect_point_robinson_beauty_2.xml"
EndIf
EndIf
If JemilaPro = 1 Then
If FromJemilaPro = 1 Then
If JemilaRewardOutOfStock = 1 Then
SAVELOG "Jemila prize out of stock skip collect promotion point."
Else
If Seeker.CodeChannel = 1 Then
If Seeker.CollectPointPromotion = 0 Then
GETACCEXT TelephoneNumber 40
Open "ROOT/taobin_project/xml/event/jemila/page_collect_point_jemila_2.xml"
EndIf
Else
GETACCEXT TelephoneNumber 40
Open "ROOT/taobin_project/xml/event/jemila/page_collect_point_jemila_2.xml"
EndIf
EndIf
EndIf
EndIf
EndIf

View file

@ -202,7 +202,7 @@
EndIf
EndIf
Var SlientRefreshEnable = 1
Var SlientRefreshEnable = 2
Var TimeDelayDefault = 1200

View file

@ -150,7 +150,16 @@
EndIf
Else
Open "ROOT/taobin_project/xml/page_get_yourchange.xml"
If UsePepsiTheme = 1 Then
If CountryName = "Singapore" Then
Open "ROOT/taobin_project/inter/whatthecup/sgp/xml/page_get_yourchange-SGP_blue.xml"
EndIf
Else
Open "ROOT/taobin_project/xml/page_get_yourchange.xml"
EndIf
EndIf
Else
@ -180,7 +189,13 @@
Open "ROOT/taobin_project/xml/page_brewing3.xml"
EndIf
Else
Open "ROOT/taobin_project/xml/page_get_yourchange.xml"
If UsePepsiTheme = 1 Then
If CountryName = "Singapore" Then
Open "ROOT/taobin_project/inter/whatthecup/sgp/xml/page_get_yourchange-SGP_blue.xml"
EndIf
Else
Open "ROOT/taobin_project/xml/page_get_yourchange.xml"
EndIf
EndIf
EndIf

View file

@ -489,6 +489,8 @@
Var CancelContinue = 0
Var QR_POPUP = CountryRootPath + "/image/page_payment/img_tap_card_5_sec.png"
Var NotEnoughCoinPopup = DirImage2 + "/img_popup12_NotEnoughCoin.png"
</EventOpen>
<EventActionOk>

View file

@ -747,6 +747,13 @@
EndIf
If VendingCashless = "END" Then
If ReqPayInfoFromCashOther = 2 Then
DEBUGVAR "CashlessReq OFF"
CashlessReq OFF
EndIf
EndIf
</EventActionOk>
<EventActionError>
@ -1494,7 +1501,8 @@
If CancelFlag = 0 Then
Var QR_POPUP = "/img_popup8.png"
Var alphaState = "Enable"
;Coin CARD
Coin CARD
Var ReqPayInfoFromCashOther = 2
Var CreditCardRef = ""
@ -1516,9 +1524,7 @@
Var Timeout = 0
EndIf
Var QRErrorState = "Invisible"
Var VendingCashless = "-"
Var LOADING_STATE = "Enable"
Var RemainAmountX = PayAmount - Seeker.IntVendingCampaign
CashlessPay RemainAmountX CreditCardRef
Var CashlessPayFlag = 1
@ -1738,18 +1744,11 @@
;CoinVending ON
;VendingQR OFF
If ReqPayInfoFromCashOther = 2 Then
DEBUGVAR "CashlessReq OFF by user"
CashlessReq OFF
EndIf
If CashlessPayFlag = 1 Then
Var CashlessPayFlag = 0
CashlessReq FAIL
EndIf
Refresh
</EventClick>
</Button>

View file

@ -3,6 +3,7 @@
<Scale> "ALL" </Scale>
<Width> HeadScreenWidth </Width>
<Height> HeadScreenHeight </Height>
<Background> BackgroundColor </Background>
<EventOpen>
SAVELOG "Sold Cup Count inst 1"
DEBUGVAR CurrentTotalCup
@ -171,7 +172,7 @@
<Height> 126 </Height>
<Font> KanitMediumTTF </Font>
<Size> 128 </Size>
<Color> 0x523D30 </Color>
<Color> HeadlineColor </Color>
<Delay> 1300 </Delay>
<Duration> 1500 </Duration>
<Align> center-vertical-horizontal </Align>
@ -192,7 +193,7 @@
<Height> 126 </Height>
<Font> KanitMediumTTF </Font>
<Size> 128 </Size>
<Color> 0x523D30 </Color>
<Color> HeadlineColor </Color>
<Delay> 1150 </Delay>
<Duration> 1500 </Duration>
<Align> center-vertical-horizontal </Align>
@ -213,7 +214,7 @@
<Height> 126 </Height>
<Font> KanitMediumTTF </Font>
<Size> 128 </Size>
<Color> 0x523D30 </Color>
<Color> HeadlineColor </Color>
<Delay> 1000 </Delay>
<Duration> 1500 </Duration>
<Align> center-vertical-horizontal </Align>
@ -234,7 +235,7 @@
<Height> 126 </Height>
<Font> KanitMediumTTF </Font>
<Size> 128 </Size>
<Color> 0x523D30 </Color>
<Color> HeadlineColor </Color>
<Delay> 850 </Delay>
<Duration> 1500 </Duration>
<Align> center-vertical-horizontal </Align>
@ -255,7 +256,7 @@
<Height> 126 </Height>
<Font> KanitMediumTTF </Font>
<Size> 128 </Size>
<Color> 0x523D30 </Color>
<Color> HeadlineColor </Color>
<Delay> 700 </Delay>
<Duration> 1500 </Duration>
<Align> center-vertical-horizontal </Align>
@ -276,7 +277,7 @@
<Height> 126 </Height>
<Font> KanitMediumTTF </Font>
<Size> 128 </Size>
<Color> 0x523D30 </Color>
<Color> HeadlineColor </Color>
<Delay> 550 </Delay>
<Duration> 1500 </Duration>
<Align> center-vertical-horizontal </Align>
@ -297,7 +298,7 @@
<Height> 126 </Height>
<Font> KanitMediumTTF </Font>
<Size> 128 </Size>
<Color> 0x523D30 </Color>
<Color> HeadlineColor </Color>
<Delay> 400 </Delay>
<Duration> 1500 </Duration>
<Align> center-vertical-horizontal </Align>
@ -318,7 +319,7 @@
<Height> 126 </Height>
<Font> KanitMediumTTF </Font>
<Size> 128 </Size>
<Color> 0x523D30 </Color>
<Color> HeadlineColor </Color>
<Delay> 250 </Delay>
<Duration> 1500 </Duration>
<Align> center-vertical-horizontal </Align>
@ -339,7 +340,7 @@
<Height> 126 </Height>
<Font> KanitMediumTTF </Font>
<Size> 128 </Size>
<Color> 0x523D30 </Color>
<Color> HeadlineColor </Color>
<Delay> 100 </Delay>
<Duration> 1500 </Duration>
<Align> center-vertical-horizontal </Align>
@ -359,7 +360,7 @@
<Size> 25 </Size>
<Width>400</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x523D30 </Color>
<Color> HeadlineColor </Color>
<Value> cups_sold_text </Value>
<State> eval(
If CountryName = "Singapore" Then
@ -377,7 +378,7 @@
<Width>50</Width>
<Height>220</Height>
<Font> KanitMediumTTF </Font>
<Color> 0x523D30 </Color>
<Color> HeadlineColor </Color>
<Value> "," </Value>
<State> eval(
If CountryName = "Singapore" Then
@ -395,7 +396,7 @@
<Width>50</Width>
<Height>220</Height>
<Font> KanitMediumTTF </Font>
<Color> 0x523D30 </Color>
<Color> HeadlineColor </Color>
<Value> "," </Value>
<State> eval(
If CountryName = "Singapore" Then

View file

@ -1063,6 +1063,8 @@
Var WaitPasswordCheck = 0
Var PasswordOK = 0
__CMD "cancel-pw-newui" "-" "-" "-"
Open "ROOT/taobin_project/xml/page_board.xml"
</EventClick>
</Button>