THAI: update trio premeirem

This commit is contained in:
Kenta420 2024-10-22 17:52:39 +07:00
parent ebbe9df102
commit 661f0e8e20
6 changed files with 3558 additions and 1807 deletions

View file

@ -1581,7 +1581,255 @@
<Align> center-vertical-horizontal </Align> <Align> center-vertical-horizontal </Align>
</Text> </Text>
</Block> </Block>
; - - - ; - - 12-21-03-0078
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-21-03-0078.Button,Disable=Invisible,$Sum1221030078) </State>
<Button>
<State> $Sum1221030078 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_Caramel_Espresso_Oreo_smoothie_weekday_discount.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_Caramel_Espresso_Oreo_smoothie_weekday_discount.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_Caramel_Espresso_Oreo_smoothie_weekday_discount.png" </FilenameDisable>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<OverlayImage> xmlpro( 12-21-03-0078, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
<EventOnClick>
Var NameDrink = "PREMIUM ESPRESSO CARAMEL OREO"
Var NameDrinkTH = "พรีเมียมเอสเพรสโซ่คาราเมลโอริโอ้"
Var DrinkDescriptionTH = "กาแฟ นม คาลาเมล และ Oreo"
Var DrinkDescription = "Coffee, Milk, Caramel Syrup, Oreo"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_Caramel_Espresso_Oreo_smoothie_weekday_discount.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $-.Price
Var PriceD2 = $-.Price
Var PriceD3 = $12-21-03-0078.Price
Var PD_CODE1 = "##-##-##-####"
Var PD_CODE2 = "##-##-##-####"
Var PD_CODE3 = "12-21-03-0078"
Var PD_STAGE_1 = "Disable2"
Var PD_STAGE_2 = "Disable2"
Var PD_STAGE_3 = $12-21-03-0078.Button
Var OverlayMenuFilter !assigned xmlpro( 12-21-03-0078, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
DEBUGVAR OverlayMenuFilter
Var SelectCountDrinkType = 0
Var DefaultDrinkType = 0
If PD_STAGE_1 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 1
EndIf
If PD_STAGE_2 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 2
EndIf
If PD_STAGE_3 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 3
EndIf
If PD_STAGE_2 = "Enable" Then
Topping "Load" "-"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "-"
Else
Topping "Load" "12-21-03-0078"
EndIf
EndIf
Var menu_name_eng_hot = $##-##-##-####.NameE
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
Var menu_name_thai_hot = $##-##-##-####.Name
Var menu_desc_thai_hot = $##-##-##-####.description
Var menu_name_eng_cold = $##-##-##-####.NameE
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
Var menu_name_thai_cold = $##-##-##-####.Name
Var menu_desc_thai_cold = $##-##-##-####.description
Var menu_name_eng_blender = $12-21-03-0078.NameE
Var menu_desc_eng_blender = $12-21-03-0078.descriptionE
Var menu_name_thai_blender = $12-21-03-0078.Name
Var menu_desc_thai_blender = $12-21-03-0078.description
DEBUGVAR PD_STAGE_1
DEBUGVAR PD_STAGE_2
DEBUGVAR PD_STAGE_3
Var SelectDrinkType = 0
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
</EventOnClick>
</Button>
<Text>
<X> 16 </X>
<Y> 164 </Y>
<Size> 24 </Size>
<Width>220</Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showthaiText </State>
<Value> "พรีเมียมเอสเพรสโซ่คาราเมลโอริโอ้" </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 220 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showthaiText </State>
<Value> "กาแฟ นม คาลาเมล และ Oreo" </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 164 </Y>
<Size> 22 </Size>
<Width>220</Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showengText </State>
<Value> "PREMIUM ESPRESSO CARAMEL OREO" </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 220 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showengText </State>
<Value> "Coffee, Milk, Caramel Syrup, Oreo" </Value>
</Text>
<Image>
<X> 16 </X>
<Y> 264 </Y>
<Filename> Var( DirImage2 + "option_deactive.png" ) </Filename>
</Image>
<Image>
<X> 16 </X>
<Y> 264 </Y>
<State> "Invisible" </State>
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
</Image>
<Text>
<X> 50 </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> "Invisible" </State>
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
</Text>
<Image>
<X> 81 </X>
<Y> 264 </Y>
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
<State> "Invisible" </State>
</Image>
<Text>
<X> 115 </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> "Invisible" </State>
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
</Text>
<Image>
<X> 146 </X>
<Y> 264 </Y>
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
<State> $12-21-03-0078.Button </State>
</Image>
<Text>
<X> 183 </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-21-03-0078.Button </State>
<Value> StringFmt( $12-21-03-0078.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
</Text>
<Image>
<X> 81 </X>
<Y> 264 </Y>
<State>
eval(
If ICE_PROCESS_STATUS = 2 Then
Var ice_tab_process_show = "Invisible"
Else
Var ice_tab_process_show = "Invisible"
EndIf
Var return = ice_tab_process_show
)
</State>
<Filename> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </Filename>
<FilenameDisable> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </FilenameDisable>
</Image>
<Image>
<X> 49 </X>
<Y> 117 </Y>
<State>
eval(
If $Sum1221030078 = "Disable" Then
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
STRCONTAIN "ERR" $##-##-##-####.TAG tag2_is_disable
STRCONTAIN "ERR" $12-21-03-0078.TAG tag3_is_disable
Var return = "Invisible"
If tag1_is_disable = "true" Then
Var return = "Enable"
EndIf
If tag2_is_disable = "true" Then
Var return = "Enable"
EndIf
If tag3_is_disable = "true" Then
Var return = "Enable"
EndIf
Else
Var return = "Invisible"
EndIf
)
</State>
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
</Image>
<Text>
<X> 84 </X>
<Y> 266 </Y>
<Size> 10 </Size>
<Font> OpunMediumTTF </Font>
<Color> 0xDE794E </Color>
<State> ice_tab_process_show </State>
<Value> ice_show_open </Value>
</Text>
<Text>
<X> 48 </X>
<Y> 116 </Y>
<Size> 32 </Size>
<Width>128</Width>
<Height>64</Height>
<Font> MITRegularTTF </Font>
<Color> 0x5A5A5A </Color>
<Mode> "disable-show" </Mode>
<State> $Sum1221030078 </State>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; ==================> Len = 12 ; ==================> Len = 12
; - - 12-02-03-0057 ; - - 12-02-03-0057
<Block> <Block>

View file

@ -584,17 +584,21 @@
</Text> </Text>
</Block> </Block>
;TAGESP
; ==================> Len = 17
; 12-02-01-0039 12-02-02-0039 12-02-03-0039
<Block> <Block>
<MarginLeft> 33 </MarginLeft> <MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop> <MarginTop> 22 </MarginTop>
<Width> 225 </Width> <Width> 225 </Width>
<Height> 296 </Height> <Height> 296 </Height>
<State> Flag( 12-02-01-0039.Button,12-02-02-0039.Button,12-02-03-0039.Button,$Sum120201003912020200391202030039) </State> <State> Flag( 12-02-01-0039.Button,12-02-02-0039.Button,12-02-03-0039.Button,Disable=Invisible,$Sum120201003912020200391202030039) </State>
<Button> <Button>
<State> $Sum120201003912020200391202030039 </State> <State> $Sum120201003912020200391202030039 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_thai_milk_tea_SingPark.png" </Filename> <Filename> "ROOT/taobin_project/image/page_drink_n//bn_thai_milk_tea_SingPark.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_thai_milk_tea_SingPark.png" </FilenamePress> <FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_thai_milk_tea_SingPark.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_thai_milk_tea_SingPark.png" </FilenameDisable> <FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_thai_milk_tea_SingPark.png" </FilenameDisable>
<OverlayImage> xmlpro( 12-02-01-0039, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound> <Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume> <Volume> SoundVolume </Volume>
<EventOnClick> <EventOnClick>
@ -613,6 +617,8 @@
Var PD_STAGE_1 = $12-02-01-0039.Button Var PD_STAGE_1 = $12-02-01-0039.Button
Var PD_STAGE_2 = $12-02-02-0039.Button Var PD_STAGE_2 = $12-02-02-0039.Button
Var PD_STAGE_3 = $12-02-03-0039.Button Var PD_STAGE_3 = $12-02-03-0039.Button
Var OverlayMenuFilter !assigned xmlpro( 12-02-01-0039, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
DEBUGVAR OverlayMenuFilter
Var SelectCountDrinkType = 0 Var SelectCountDrinkType = 0
Var DefaultDrinkType = 0 Var DefaultDrinkType = 0
If PD_STAGE_1 = "Enable" Then If PD_STAGE_1 = "Enable" Then
@ -656,7 +662,7 @@
DEBUGVAR PD_STAGE_3 DEBUGVAR PD_STAGE_3
Var SelectDrinkType = 0 Var SelectDrinkType = 0
Var OpenFromInstMenuTab = 0
Open "ROOT/taobin_project/xml/page_topping_select5.xml" Open "ROOT/taobin_project/xml/page_topping_select5.xml"
</EventOnClick> </EventOnClick>
@ -1330,40 +1336,40 @@
<Align> center-vertical-horizontal </Align> <Align> center-vertical-horizontal </Align>
</Text> </Text>
</Block> </Block>
; menu_new_li;TAGESP ;TAGESP
; ==================> Len = 12 ; ==================> Len = 12
; - - 12-05-03-0092 ; - - 12-01-03-0078
<Block> <Block>
<MarginLeft> 33 </MarginLeft> <MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop> <MarginTop> 22 </MarginTop>
<Width> 225 </Width> <Width> 225 </Width>
<Height> 296 </Height> <Height> 296 </Height>
<State> Flag( 12-05-03-0092.Button,Disable=Invisible,$Sum1205030092) </State> <State> Flag( 12-01-03-0078.Button,$Sum1201030078) </State>
<Button> <Button>
<State> $Sum1205030092 </State> <State> $Sum1201030078 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_smoothie_coconut.png" </Filename> <Filename> "ROOT/taobin_project/image/page_drink_n//bn_Caramel_Espresso_Oreo_smoothie_weekday_discount.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_smoothie_coconut.png" </FilenamePress> <FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_Caramel_Espresso_Oreo_smoothie_weekday_discount.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_smoothie_coconut.png" </FilenameDisable> <FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_Caramel_Espresso_Oreo_smoothie_weekday_discount.png" </FilenameDisable>
<OverlayImage> xmlpro( 12-05-03-0092, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage> <OverlayImage> xmlpro( 12-01-03-0078, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound> <Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume> <Volume> SoundVolume </Volume>
<EventOnClick> <EventOnClick>
Var NameDrink = "Coconut smoothie" Var NameDrink = "PREMIUM ESPRESSO CARAMEL OREO"
Var NameDrinkTH = "มะพร้าวน้ำหอมปั่น" Var NameDrinkTH = "พรีเมียมเอสเพรสโซ่คาราเมลโอริโอ้"
Var DrinkDescriptionTH = "น้ำเชื่อมมะพร้าว และน้ำ " Var DrinkDescriptionTH = "กาแฟ นม คาลาเมล และ Oreo"
Var DrinkDescription = "Coconut Syrup and Water" Var DrinkDescription = "Coffee, Milk, Caramel Syrup, Oreo"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_smoothie_coconut.png" Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_Caramel_Espresso_Oreo_smoothie_weekday_discount.png"
Var OpenFromXML = CurrentXMLFileName2 Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $-.Price Var PriceD1 = $-.Price
Var PriceD2 = $-.Price Var PriceD2 = $-.Price
Var PriceD3 = $12-05-03-0092.Price Var PriceD3 = $12-01-03-0078.Price
Var PD_CODE1 = "##-##-##-####" Var PD_CODE1 = "##-##-##-####"
Var PD_CODE2 = "##-##-##-####" Var PD_CODE2 = "##-##-##-####"
Var PD_CODE3 = "12-05-03-0092" Var PD_CODE3 = "12-01-03-0078"
Var PD_STAGE_1 = "Disable2" Var PD_STAGE_1 = "Disable2"
Var PD_STAGE_2 = "Disable2" Var PD_STAGE_2 = "Disable2"
Var PD_STAGE_3 = $12-05-03-0092.Button Var PD_STAGE_3 = $12-01-03-0078.Button
Var OverlayMenuFilter !assigned xmlpro( 12-05-03-0092, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png") Var OverlayMenuFilter !assigned xmlpro( 12-01-03-0078, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
DEBUGVAR OverlayMenuFilter DEBUGVAR OverlayMenuFilter
Var SelectCountDrinkType = 0 Var SelectCountDrinkType = 0
Var DefaultDrinkType = 0 Var DefaultDrinkType = 0
@ -1385,7 +1391,7 @@
If PD_STAGE_1 = "Enable" Then If PD_STAGE_1 = "Enable" Then
Topping "Load" "-" Topping "Load" "-"
Else Else
Topping "Load" "12-05-03-0092" Topping "Load" "12-01-03-0078"
EndIf EndIf
EndIf EndIf
Var menu_name_eng_hot = $##-##-##-####.NameE Var menu_name_eng_hot = $##-##-##-####.NameE
@ -1398,10 +1404,10 @@
Var menu_name_thai_cold = $##-##-##-####.Name Var menu_name_thai_cold = $##-##-##-####.Name
Var menu_desc_thai_cold = $##-##-##-####.description Var menu_desc_thai_cold = $##-##-##-####.description
Var menu_name_eng_blender = $12-05-03-0092.NameE Var menu_name_eng_blender = $12-01-03-0078.NameE
Var menu_desc_eng_blender = $12-05-03-0092.descriptionE Var menu_desc_eng_blender = $12-01-03-0078.descriptionE
Var menu_name_thai_blender = $12-05-03-0092.Name Var menu_name_thai_blender = $12-01-03-0078.Name
Var menu_desc_thai_blender = $12-05-03-0092.description Var menu_desc_thai_blender = $12-01-03-0078.description
DEBUGVAR PD_STAGE_1 DEBUGVAR PD_STAGE_1
DEBUGVAR PD_STAGE_2 DEBUGVAR PD_STAGE_2
@ -1422,7 +1428,7 @@
<Font> KanitMediumTTF </Font> <Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color> <Color> 0x322B26 </Color>
<State> showthaiText </State> <State> showthaiText </State>
<Value> "มะพร้าวน้ำหอมปั่น" </Value> <Value> "พรีเมียมเอสเพรสโซ่คาราเมลโอริโอ้" </Value>
</Text> </Text>
<Text> <Text>
<X> 16 </X> <X> 16 </X>
@ -1432,7 +1438,7 @@
<Font> KanitMediumTTF </Font> <Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color> <Color> 0x6F5F51 </Color>
<State> showthaiText </State> <State> showthaiText </State>
<Value> "น้ำเชื่อมมะพร้าว และน้ำ " </Value> <Value> "กาแฟ นม คาลาเมล และ Oreo" </Value>
</Text> </Text>
<Text> <Text>
<X> 16 </X> <X> 16 </X>
@ -1443,7 +1449,7 @@
<Font> KanitMediumTTF </Font> <Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color> <Color> 0x322B26 </Color>
<State> showengText </State> <State> showengText </State>
<Value> "Coconut smoothie" </Value> <Value> "PREMIUM ESPRESSO CARAMEL OREO" </Value>
</Text> </Text>
<Text> <Text>
<X> 16 </X> <X> 16 </X>
@ -1453,7 +1459,7 @@
<Font> KanitMediumTTF </Font> <Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color> <Color> 0x6F5F51 </Color>
<State> showengText </State> <State> showengText </State>
<Value> "Coconut Syrup and Water" </Value> <Value> "Coffee, Milk, Caramel Syrup, Oreo" </Value>
</Text> </Text>
<Image> <Image>
<X> 16 </X> <X> 16 </X>
@ -1501,7 +1507,7 @@
<Y> 264 </Y> <Y> 264 </Y>
<Filename> Var( DirImage2 + "blend.png" ) </Filename> <Filename> Var( DirImage2 + "blend.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable> <FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
<State> $12-05-03-0092.Button </State> <State> $12-01-03-0078.Button </State>
</Image> </Image>
<Text> <Text>
<X> 180 </X> <X> 180 </X>
@ -1511,8 +1517,8 @@
<Font> KanitRegularTTF </Font> <Font> KanitRegularTTF </Font>
<Color> 0x6F5F51 </Color> <Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable> <ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-05-03-0092.Button </State> <State> $12-01-03-0078.Button </State>
<Value> StringFmt( $12-05-03-0092.Price , DisplayFormat, PreScaleConvertShow) </Value>; test <Value> StringFmt( $12-01-03-0078.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
</Text> </Text>
<Image> <Image>
<X> 81 </X> <X> 81 </X>
@ -1537,10 +1543,10 @@
<Y> 117 </Y> <Y> 117 </Y>
<State> <State>
eval( eval(
If $Sum1205030092 = "Disable" Then If $Sum1201030078 = "Disable" Then
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
STRCONTAIN "ERR" $##-##-##-####.TAG tag2_is_disable STRCONTAIN "ERR" $##-##-##-####.TAG tag2_is_disable
STRCONTAIN "ERR" $12-05-03-0092.TAG tag3_is_disable STRCONTAIN "ERR" $12-01-03-0078.TAG tag3_is_disable
Var return = "Invisible" Var return = "Invisible"
If tag1_is_disable = "true" Then If tag1_is_disable = "true" Then
Var return = "Enable" Var return = "Enable"
@ -1576,45 +1582,44 @@
<Font> MITRegularTTF </Font> <Font> MITRegularTTF </Font>
<Color> 0x5A5A5A </Color> <Color> 0x5A5A5A </Color>
<Mode> "disable-show" </Mode> <Mode> "disable-show" </Mode>
<State> $Sum1205030092 </State> <State> $Sum1201030078 </State>
<Value> text_unavailable </Value> <Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align> <Align> center-vertical-horizontal </Align>
</Text> </Text>
</Block> </Block>
; - - - ; ==================> Len = 12
; ==================> Len = 12 ; - - 12-21-03-0078
; - 12-03-02-0058 12-03-03-0058
<Block> <Block>
<MarginLeft> 33 </MarginLeft> <MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop> <MarginTop> 22 </MarginTop>
<Width> 225 </Width> <Width> 225 </Width>
<Height> 296 </Height> <Height> 296 </Height>
<State> Flag( 12-03-02-0058.Button,12-03-03-0058.Button,Disable=Invisible,$Sum12030200581203030058) </State> <State> Flag( 12-21-03-0078.Button,$Sum1221030078) </State>
<Button> <Button>
<State> $Sum12030200581203030058 </State> <State> $Sum1221030078 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_milk_coconut.png" </Filename> <Filename> "ROOT/taobin_project/image/page_drink_n//bn_Caramel_Espresso_Oreo_smoothie_weekday_discount.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_iced_milk_coconut.png" </FilenamePress> <FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_Caramel_Espresso_Oreo_smoothie_weekday_discount.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_iced_milk_coconut.png" </FilenameDisable> <FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_Caramel_Espresso_Oreo_smoothie_weekday_discount.png" </FilenameDisable>
<OverlayImage> xmlpro( 12-03-03-0058, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage> <OverlayImage> xmlpro( 12-01-03-0078, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound> <Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume> <Volume> SoundVolume </Volume>
<EventOnClick> <EventOnClick>
Var NameDrink = "coconut milk" Var NameDrink = "PREMIUM ESPRESSO CARAMEL OREO"
Var NameDrinkTH = "มะพร้าวน้ำหอมปั่น นมนิวซีแลนด์" Var NameDrinkTH = "พรีเมียมเอสเพรสโซ่คาราเมลโอริโอ้"
Var DrinkDescriptionTH = "น้ำเชื่อมมะพร้าว นม และน้ำ " Var DrinkDescriptionTH = "กาแฟ นม คาลาเมล และ Oreo"
Var DrinkDescription = "Coconut syrup, Milk, Water" Var DrinkDescription = "Coffee, Milk, Caramel Syrup, Oreo"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_iced_milk_coconut.png" Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_Caramel_Espresso_Oreo_smoothie_weekday_discount.png"
Var OpenFromXML = CurrentXMLFileName2 Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $-.Price Var PriceD1 = $-.Price
Var PriceD2 = $12-03-02-0058.Price Var PriceD2 = $-.Price
Var PriceD3 = $12-03-03-0058.Price Var PriceD3 = $12-21-03-0078.Price
Var PD_CODE1 = "##-##-##-####" Var PD_CODE1 = "##-##-##-####"
Var PD_CODE2 = "12-03-02-0058" Var PD_CODE2 = "##-##-##-####"
Var PD_CODE3 = "12-03-03-0058" Var PD_CODE3 = "12-21-03-0078"
Var PD_STAGE_1 = "Disable2" Var PD_STAGE_1 = "Disable2"
Var PD_STAGE_2 = $12-03-02-0058.Button Var PD_STAGE_2 = "Disable2"
Var PD_STAGE_3 = $12-03-03-0058.Button Var PD_STAGE_3 = $12-21-03-0078.Button
Var OverlayMenuFilter !assigned xmlpro( 12-03-03-0058, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png") Var OverlayMenuFilter !assigned xmlpro( 12-21-03-0078, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
DEBUGVAR OverlayMenuFilter DEBUGVAR OverlayMenuFilter
Var SelectCountDrinkType = 0 Var SelectCountDrinkType = 0
Var DefaultDrinkType = 0 Var DefaultDrinkType = 0
@ -1631,12 +1636,12 @@
Var DefaultDrinkType = 3 Var DefaultDrinkType = 3
EndIf EndIf
If PD_STAGE_2 = "Enable" Then If PD_STAGE_2 = "Enable" Then
Topping "Load" "12-03-02-0058" Topping "Load" "-"
Else Else
If PD_STAGE_1 = "Enable" Then If PD_STAGE_1 = "Enable" Then
Topping "Load" "-" Topping "Load" "-"
Else Else
Topping "Load" "12-03-03-0058" Topping "Load" "12-21-03-0078"
EndIf EndIf
EndIf EndIf
Var menu_name_eng_hot = $##-##-##-####.NameE Var menu_name_eng_hot = $##-##-##-####.NameE
@ -1644,15 +1649,15 @@
Var menu_name_thai_hot = $##-##-##-####.Name Var menu_name_thai_hot = $##-##-##-####.Name
Var menu_desc_thai_hot = $##-##-##-####.description Var menu_desc_thai_hot = $##-##-##-####.description
Var menu_name_eng_cold = $12-03-02-0058.NameE Var menu_name_eng_cold = $##-##-##-####.NameE
Var menu_desc_eng_cold = $12-03-02-0058.descriptionE Var menu_desc_eng_cold = $##-##-##-####.descriptionE
Var menu_name_thai_cold = $12-03-02-0058.Name Var menu_name_thai_cold = $##-##-##-####.Name
Var menu_desc_thai_cold = $12-03-02-0058.description Var menu_desc_thai_cold = $##-##-##-####.description
Var menu_name_eng_blender = $12-03-03-0058.NameE Var menu_name_eng_blender = $12-21-03-0078.NameE
Var menu_desc_eng_blender = $12-03-03-0058.descriptionE Var menu_desc_eng_blender = $12-21-03-0078.descriptionE
Var menu_name_thai_blender = $12-03-03-0058.Name Var menu_name_thai_blender = $12-21-03-0078.Name
Var menu_desc_thai_blender = $12-03-03-0058.description Var menu_desc_thai_blender = $12-21-03-0078.description
DEBUGVAR PD_STAGE_1 DEBUGVAR PD_STAGE_1
DEBUGVAR PD_STAGE_2 DEBUGVAR PD_STAGE_2
@ -1673,8 +1678,7 @@
<Font> KanitMediumTTF </Font> <Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color> <Color> 0x322B26 </Color>
<State> showthaiText </State> <State> showthaiText </State>
<Value> "มะพร้าวน้ำหอมปั่น <Value> "พรีเมียมเอสเพรสโซ่คาราเมลโอริโอ้" </Value>
นมนิวซีแลนด์" </Value>
</Text> </Text>
<Text> <Text>
<X> 16 </X> <X> 16 </X>
@ -1684,7 +1688,7 @@
<Font> KanitMediumTTF </Font> <Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color> <Color> 0x6F5F51 </Color>
<State> showthaiText </State> <State> showthaiText </State>
<Value> "น้ำเชื่อมมะพร้าว นม และน้ำ " </Value> <Value> "กาแฟ นม คาลาเมล และ Oreo" </Value>
</Text> </Text>
<Text> <Text>
<X> 16 </X> <X> 16 </X>
@ -1695,7 +1699,7 @@
<Font> KanitMediumTTF </Font> <Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color> <Color> 0x322B26 </Color>
<State> showengText </State> <State> showengText </State>
<Value> "coconut milk" </Value> <Value> "PREMIUM ESPRESSO CARAMEL OREO" </Value>
</Text> </Text>
<Text> <Text>
<X> 16 </X> <X> 16 </X>
@ -1705,8 +1709,7 @@
<Font> KanitMediumTTF </Font> <Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color> <Color> 0x6F5F51 </Color>
<State> showengText </State> <State> showengText </State>
<Value> "Coconut syrup, Milk, <Value> "Coffee, Milk, Caramel Syrup, Oreo" </Value>
Water" </Value>
</Text> </Text>
<Image> <Image>
<X> 16 </X> <X> 16 </X>
@ -1736,7 +1739,7 @@ Water" </Value>
<Y> 264 </Y> <Y> 264 </Y>
<Filename> Var( DirImage2 + "cold.png" ) </Filename> <Filename> Var( DirImage2 + "cold.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable> <FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
<State> $12-03-02-0058.Button </State> <State> "Invisible" </State>
</Image> </Image>
<Text> <Text>
<X> 115 </X> <X> 115 </X>
@ -1746,15 +1749,15 @@ Water" </Value>
<Font> KanitMediumTTF </Font> <Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color> <Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable> <ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-03-02-0058.Button </State> <State> "Invisible" </State>
<Value> StringFmt( $12-03-02-0058.Price , DisplayFormat, PreScaleConvertShow) </Value>; test <Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
</Text> </Text>
<Image> <Image>
<X> 146 </X> <X> 146 </X>
<Y> 264 </Y> <Y> 264 </Y>
<Filename> Var( DirImage2 + "blend.png" ) </Filename> <Filename> Var( DirImage2 + "blend.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable> <FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
<State> $12-03-03-0058.Button </State> <State> $12-21-03-0078.Button </State>
</Image> </Image>
<Text> <Text>
<X> 180 </X> <X> 180 </X>
@ -1764,8 +1767,8 @@ Water" </Value>
<Font> KanitRegularTTF </Font> <Font> KanitRegularTTF </Font>
<Color> 0x6F5F51 </Color> <Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable> <ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-03-03-0058.Button </State> <State> $12-21-03-0078.Button </State>
<Value> StringFmt( $12-03-03-0058.Price , DisplayFormat, PreScaleConvertShow) </Value>; test <Value> StringFmt( $12-21-03-0078.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
</Text> </Text>
<Image> <Image>
<X> 81 </X> <X> 81 </X>
@ -1790,10 +1793,10 @@ Water" </Value>
<Y> 117 </Y> <Y> 117 </Y>
<State> <State>
eval( eval(
If $Sum12030200581203030058 = "Disable" Then If $Sum1221030078 = "Disable" Then
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
STRCONTAIN "ERR" $12-03-02-0058.TAG tag2_is_disable STRCONTAIN "ERR" $##-##-##-####.TAG tag2_is_disable
STRCONTAIN "ERR" $12-03-03-0058.TAG tag3_is_disable STRCONTAIN "ERR" $12-21-03-0078.TAG tag3_is_disable
Var return = "Invisible" Var return = "Invisible"
If tag1_is_disable = "true" Then If tag1_is_disable = "true" Then
Var return = "Enable" Var return = "Enable"
@ -1829,7 +1832,509 @@ Water" </Value>
<Font> MITRegularTTF </Font> <Font> MITRegularTTF </Font>
<Color> 0x5A5A5A </Color> <Color> 0x5A5A5A </Color>
<Mode> "disable-show" </Mode> <Mode> "disable-show" </Mode>
<State> $Sum12030200581203030058 </State> <State> $Sum1221030078 </State>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; menu_new_li;TAGESP
; ==================> Len = 12
; - - 12-02-03-0057
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-02-03-0057.Button,$Sum1202030057) </State>
<Button>
<State> $Sum1202030057 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_Caramel_GreenTea_Oreo_smoothie_weekday_discount.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_Caramel_GreenTea_Oreo_smoothie_weekday_discount.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_Caramel_GreenTea_Oreo_smoothie_weekday_discount.png" </FilenameDisable>
<OverlayImage> xmlpro( 12-02-03-0057, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var NameDrink = "PREMIUM GREEN TEA CARAMEL OREO"
Var NameDrinkTH = "พรีเมียมมัทฉะคาราเมลโอริโอ้"
Var DrinkDescriptionTH = "มัทฉะ นม คาลาเมล และ Oreo"
Var DrinkDescription = "Matcha, Milk, Caramel Syrup, Oreo"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_Caramel_GreenTea_Oreo_smoothie_weekday_discount.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $-.Price
Var PriceD2 = $-.Price
Var PriceD3 = $12-02-03-0057.Price
Var PD_CODE1 = "##-##-##-####"
Var PD_CODE2 = "##-##-##-####"
Var PD_CODE3 = "12-02-03-0057"
Var PD_STAGE_1 = "Disable2"
Var PD_STAGE_2 = "Disable2"
Var PD_STAGE_3 = $12-02-03-0057.Button
Var OverlayMenuFilter !assigned xmlpro( 12-02-03-0057, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
DEBUGVAR OverlayMenuFilter
Var SelectCountDrinkType = 0
Var DefaultDrinkType = 0
If PD_STAGE_1 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 1
EndIf
If PD_STAGE_2 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 2
EndIf
If PD_STAGE_3 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 3
EndIf
If PD_STAGE_2 = "Enable" Then
Topping "Load" "-"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "-"
Else
Topping "Load" "12-02-03-0057"
EndIf
EndIf
Var menu_name_eng_hot = $##-##-##-####.NameE
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
Var menu_name_thai_hot = $##-##-##-####.Name
Var menu_desc_thai_hot = $##-##-##-####.description
Var menu_name_eng_cold = $##-##-##-####.NameE
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
Var menu_name_thai_cold = $##-##-##-####.Name
Var menu_desc_thai_cold = $##-##-##-####.description
Var menu_name_eng_blender = $12-02-03-0057.NameE
Var menu_desc_eng_blender = $12-02-03-0057.descriptionE
Var menu_name_thai_blender = $12-02-03-0057.Name
Var menu_desc_thai_blender = $12-02-03-0057.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> "มัทฉะ นม คาลาเมล และ Oreo" </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 164 </Y>
<Size> 22 </Size>
<Width>220</Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showengText </State>
<Value> "PREMIUM GREEN TEA CARAMEL OREO" </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 220 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showengText </State>
<Value> "Matcha, Milk, Caramel Syrup, Oreo" </Value>
</Text>
<Image>
<X> 16 </X>
<Y> 264 </Y>
<Filename> Var( DirImage2 + "option_deactive.png" ) </Filename>
</Image>
<Image>
<X> 16 </X>
<Y> 264 </Y>
<State> "Invisible" </State>
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
</Image>
<Text>
<X> 50 </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> "Invisible" </State>
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
</Text>
<Image>
<X> 81 </X>
<Y> 264 </Y>
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
<State> "Invisible" </State>
</Image>
<Text>
<X> 115 </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> "Invisible" </State>
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
</Text>
<Image>
<X> 146 </X>
<Y> 264 </Y>
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
<State> $12-02-03-0057.Button </State>
</Image>
<Text>
<X> 180 </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Font> KanitRegularTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-02-03-0057.Button </State>
<Value> StringFmt( $12-02-03-0057.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
</Text>
<Image>
<X> 81 </X>
<Y> 264 </Y>
<State>
eval(
If ICE_PROCESS_STATUS = 2 Then
Var ice_tab_process_show = "Invisible"
Else
Var ice_tab_process_show = "Invisible"
EndIf
Var return = ice_tab_process_show
)
</State>
<Filename> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </Filename>
<FilenameDisable> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </FilenameDisable>
</Image>
<Image>
<X> 49 </X>
<Y> 117 </Y>
<State>
eval(
If $Sum1202030057 = "Disable" Then
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
STRCONTAIN "ERR" $##-##-##-####.TAG tag2_is_disable
STRCONTAIN "ERR" $12-02-03-0057.TAG tag3_is_disable
Var return = "Invisible"
If tag1_is_disable = "true" Then
Var return = "Enable"
EndIf
If tag2_is_disable = "true" Then
Var return = "Enable"
EndIf
If tag3_is_disable = "true" Then
Var return = "Enable"
EndIf
Else
Var return = "Invisible"
EndIf
)
</State>
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
</Image>
<Text>
<X> 84 </X>
<Y> 266 </Y>
<Size> 10 </Size>
<Font> OpunMediumTTF </Font>
<Color> 0xDE794E </Color>
<State> ice_tab_process_show </State>
<Value> ice_show_open </Value>
</Text>
<Text>
<X> 48 </X>
<Y> 116 </Y>
<Size> 32 </Size>
<Width>128</Width>
<Height>64</Height>
<Font> MITRegularTTF </Font>
<Color> 0x5A5A5A </Color>
<Mode> "disable-show" </Mode>
<State> $Sum1202030057 </State>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; - - -
; ==================> Len = 12
; - - 12-02-03-0058
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-02-03-0058.Button,$Sum1202030058) </State>
<Button>
<State> $Sum1202030058 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_Caramel_ThaiTea_Oreo_smoothie_weekday_discount.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_Caramel_ThaiTea_Oreo_smoothie_weekday_discount.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_Caramel_ThaiTea_Oreo_smoothie_weekday_discount.png" </FilenameDisable>
<OverlayImage> xmlpro( 12-02-03-0058, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var NameDrink = "PREMIUM THAI TEA CARAMEL OREO"
Var NameDrinkTH = "พรีเมียมชาไทยคาราเมลโอริโอ้"
Var DrinkDescriptionTH = "ชาไทย นม คาลาเมล และ Oreo"
Var DrinkDescription = "Thai Tea, Milk, Caramel Syrup, Oreo"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_Caramel_ThaiTea_Oreo_smoothie_weekday_discount.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $-.Price
Var PriceD2 = $-.Price
Var PriceD3 = $12-02-03-0058.Price
Var PD_CODE1 = "##-##-##-####"
Var PD_CODE2 = "##-##-##-####"
Var PD_CODE3 = "12-02-03-0058"
Var PD_STAGE_1 = "Disable2"
Var PD_STAGE_2 = "Disable2"
Var PD_STAGE_3 = $12-02-03-0058.Button
Var OverlayMenuFilter !assigned xmlpro( 12-02-03-0058, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
DEBUGVAR OverlayMenuFilter
Var SelectCountDrinkType = 0
Var DefaultDrinkType = 0
If PD_STAGE_1 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 1
EndIf
If PD_STAGE_2 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 2
EndIf
If PD_STAGE_3 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 3
EndIf
If PD_STAGE_2 = "Enable" Then
Topping "Load" "-"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "-"
Else
Topping "Load" "12-02-03-0058"
EndIf
EndIf
Var menu_name_eng_hot = $##-##-##-####.NameE
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
Var menu_name_thai_hot = $##-##-##-####.Name
Var menu_desc_thai_hot = $##-##-##-####.description
Var menu_name_eng_cold = $##-##-##-####.NameE
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
Var menu_name_thai_cold = $##-##-##-####.Name
Var menu_desc_thai_cold = $##-##-##-####.description
Var menu_name_eng_blender = $12-02-03-0058.NameE
Var menu_desc_eng_blender = $12-02-03-0058.descriptionE
Var menu_name_thai_blender = $12-02-03-0058.Name
Var menu_desc_thai_blender = $12-02-03-0058.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> "ชาไทย นม คาลาเมล และ Oreo" </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 164 </Y>
<Size> 22 </Size>
<Width>220</Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showengText </State>
<Value> "PREMIUM THAI TEA CARAMEL OREO" </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 220 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showengText </State>
<Value> "Thai Tea, Milk, Caramel Syrup, Oreo" </Value>
</Text>
<Image>
<X> 16 </X>
<Y> 264 </Y>
<Filename> Var( DirImage2 + "option_deactive.png" ) </Filename>
</Image>
<Image>
<X> 16 </X>
<Y> 264 </Y>
<State> "Invisible" </State>
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
</Image>
<Text>
<X> 50 </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> "Invisible" </State>
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
</Text>
<Image>
<X> 81 </X>
<Y> 264 </Y>
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
<State> "Invisible" </State>
</Image>
<Text>
<X> 115 </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> "Invisible" </State>
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
</Text>
<Image>
<X> 146 </X>
<Y> 264 </Y>
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
<State> $12-02-03-0058.Button </State>
</Image>
<Text>
<X> 180 </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Font> KanitRegularTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-02-03-0058.Button </State>
<Value> StringFmt( $12-02-03-0058.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
</Text>
<Image>
<X> 81 </X>
<Y> 264 </Y>
<State>
eval(
If ICE_PROCESS_STATUS = 2 Then
Var ice_tab_process_show = "Invisible"
Else
Var ice_tab_process_show = "Invisible"
EndIf
Var return = ice_tab_process_show
)
</State>
<Filename> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </Filename>
<FilenameDisable> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </FilenameDisable>
</Image>
<Image>
<X> 49 </X>
<Y> 117 </Y>
<State>
eval(
If $Sum1202030058 = "Disable" Then
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
STRCONTAIN "ERR" $##-##-##-####.TAG tag2_is_disable
STRCONTAIN "ERR" $12-02-03-0058.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> $Sum1202030058 </State>
<Value> text_unavailable </Value> <Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align> <Align> center-vertical-horizontal </Align>
</Text> </Text>

View file

@ -39,7 +39,7 @@ Else
If ProEnableCount > 1 Then If ProEnableCount > 1 Then
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/double_promotion_halloween_and_jemila.xml" Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/double_promotion_halloween_and_jemila.xml"
Else Else
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/promotion_halloween.xml" Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/promotion_halloween_fixed.xml"
EndIf EndIf
EndIf EndIf

View file

@ -33,7 +33,7 @@
Var block_index_override = 0 Var block_index_override = 0
Var block_index_move = 0 Var block_index_move = 0
</Script> </Script>
; menu_new_list 13 ; menu_new_list 14
; ==================> Len = 12 ; ==================> Len = 12
; - - 12-01-03-0078 ; - - 12-01-03-0078
<Block> <Block>
@ -3298,19 +3298,19 @@
</Block> </Block>
; - - - ; - - -
; ==================> Len = 12 ; ==================> Len = 12
; - 12-21-02-0041 - ; - 12-01-02-0041 -
<Block> <Block>
<MarginLeft> 33 </MarginLeft> <MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop> <MarginTop> 22 </MarginTop>
<Width> 225 </Width> <Width> 225 </Width>
<Height> 296 </Height> <Height> 296 </Height>
<State> Flag( 12-21-02-0041.Button,$Sum1221020041) </State> <State> Flag( 12-01-02-0041.Button,$Sum1201020041) </State>
<Button> <Button>
<State> $Sum1221020041 </State> <State> $Sum1201020041 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_americano_soda_weekday_discount.png" </Filename> <Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_americano_soda_weekday_discount.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_iced_americano_soda_weekday_discount.png" </FilenamePress> <FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_iced_americano_soda_weekday_discount.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_iced_americano_soda_weekday_discount.png" </FilenameDisable> <FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_iced_americano_soda_weekday_discount.png" </FilenameDisable>
<OverlayImage> xmlpro( 12-21-02-0041, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage> <OverlayImage> xmlpro( 12-01-02-0041, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound> <Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume> <Volume> SoundVolume </Volume>
<EventOnClick> <EventOnClick>
@ -3321,15 +3321,15 @@
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_iced_americano_soda_weekday_discount.png" Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_iced_americano_soda_weekday_discount.png"
Var OpenFromXML = CurrentXMLFileName2 Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $-.Price Var PriceD1 = $-.Price
Var PriceD2 = $12-21-02-0041.Price Var PriceD2 = $12-01-02-0041.Price
Var PriceD3 = $-.Price Var PriceD3 = $-.Price
Var PD_CODE1 = "##-##-##-####" Var PD_CODE1 = "##-##-##-####"
Var PD_CODE2 = "12-21-02-0041" Var PD_CODE2 = "12-01-02-0041"
Var PD_CODE3 = "##-##-##-####" Var PD_CODE3 = "##-##-##-####"
Var PD_STAGE_1 = "Disable2" Var PD_STAGE_1 = "Disable2"
Var PD_STAGE_2 = $12-21-02-0041.Button Var PD_STAGE_2 = $12-01-02-0041.Button
Var PD_STAGE_3 = "Disable2" Var PD_STAGE_3 = "Disable2"
Var OverlayMenuFilter !assigned xmlpro( 12-21-02-0041, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png") Var OverlayMenuFilter !assigned xmlpro( 12-01-02-0041, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
DEBUGVAR OverlayMenuFilter DEBUGVAR OverlayMenuFilter
Var SelectCountDrinkType = 0 Var SelectCountDrinkType = 0
Var DefaultDrinkType = 0 Var DefaultDrinkType = 0
@ -3346,7 +3346,7 @@
Var DefaultDrinkType = 3 Var DefaultDrinkType = 3
EndIf EndIf
If PD_STAGE_2 = "Enable" Then If PD_STAGE_2 = "Enable" Then
Topping "Load" "12-21-02-0041" Topping "Load" "12-01-02-0041"
Else Else
If PD_STAGE_1 = "Enable" Then If PD_STAGE_1 = "Enable" Then
Topping "Load" "-" Topping "Load" "-"
@ -3359,10 +3359,10 @@
Var menu_name_thai_hot = $##-##-##-####.Name Var menu_name_thai_hot = $##-##-##-####.Name
Var menu_desc_thai_hot = $##-##-##-####.description Var menu_desc_thai_hot = $##-##-##-####.description
Var menu_name_eng_cold = $12-21-02-0041.NameE Var menu_name_eng_cold = $12-01-02-0041.NameE
Var menu_desc_eng_cold = $12-21-02-0041.descriptionE Var menu_desc_eng_cold = $12-01-02-0041.descriptionE
Var menu_name_thai_cold = $12-21-02-0041.Name Var menu_name_thai_cold = $12-01-02-0041.Name
Var menu_desc_thai_cold = $12-21-02-0041.description Var menu_desc_thai_cold = $12-01-02-0041.description
Var menu_name_eng_blender = $##-##-##-####.NameE Var menu_name_eng_blender = $##-##-##-####.NameE
Var menu_desc_eng_blender = $##-##-##-####.descriptionE Var menu_desc_eng_blender = $##-##-##-####.descriptionE
@ -3449,7 +3449,7 @@
<Y> 264 </Y> <Y> 264 </Y>
<Filename> Var( DirImage2 + "cold.png" ) </Filename> <Filename> Var( DirImage2 + "cold.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable> <FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
<State> $12-21-02-0041.Button </State> <State> $12-01-02-0041.Button </State>
</Image> </Image>
<Text> <Text>
<X> 115 </X> <X> 115 </X>
@ -3459,8 +3459,8 @@
<Font> KanitMediumTTF </Font> <Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color> <Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable> <ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-21-02-0041.Button </State> <State> $12-01-02-0041.Button </State>
<Value> StringFmt( $12-21-02-0041.Price , DisplayFormat, PreScaleConvertShow) </Value>; test <Value> StringFmt( $12-01-02-0041.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
</Text> </Text>
<Image> <Image>
<X> 146 </X> <X> 146 </X>
@ -3503,9 +3503,9 @@
<Y> 117 </Y> <Y> 117 </Y>
<State> <State>
eval( eval(
If $Sum1221020041 = "Disable" Then If $Sum1201020041 = "Disable" Then
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
STRCONTAIN "ERR" $12-21-02-0041.TAG tag2_is_disable STRCONTAIN "ERR" $12-01-02-0041.TAG tag2_is_disable
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
Var return = "Invisible" Var return = "Invisible"
If tag1_is_disable = "true" Then If tag1_is_disable = "true" Then
@ -3542,7 +3542,7 @@
<Font> MITRegularTTF </Font> <Font> MITRegularTTF </Font>
<Color> 0x5A5A5A </Color> <Color> 0x5A5A5A </Color>
<Mode> "disable-show" </Mode> <Mode> "disable-show" </Mode>
<State> $Sum1221020041 </State> <State> $Sum1201020041 </State>
<Value> text_unavailable </Value> <Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align> <Align> center-vertical-horizontal </Align>
</Text> </Text>
@ -3796,6 +3796,257 @@
<Align> center-vertical-horizontal </Align> <Align> center-vertical-horizontal </Align>
</Text> </Text>
</Block> </Block>
; ==================> Len = 12
; - - 12-05-03-0127
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-05-03-0127.Button,$Sum1205030127) </State>
<Button>
<State> $Sum1205030127 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_Jemila_smoothie_weekday_discount.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_iced_Jemila_smoothie_weekday_discount.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_iced_Jemila_smoothie_weekday_discount.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>
<EventOnClick>
Var NameDrink = "JEMILA LIME"
Var NameDrinkTH = "เจมิลามะนาว"
Var DrinkDescriptionTH = "เจมิลา มะนาว และน้ำ"
Var DrinkDescription = "Jemila, Lime and Ice"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_iced_Jemila_smoothie_weekday_discount.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $-.Price
Var PriceD2 = $-.Price
Var PriceD3 = $12-05-03-0127.Price
Var PD_CODE1 = "##-##-##-####"
Var PD_CODE2 = "##-##-##-####"
Var PD_CODE3 = "12-05-03-0127"
Var PD_STAGE_1 = "Disable2"
Var PD_STAGE_2 = "Disable2"
Var PD_STAGE_3 = $12-05-03-0127.Button
Var OverlayMenuFilter !assigned xmlpro( 12-05-03-0127, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
DEBUGVAR OverlayMenuFilter
Var SelectCountDrinkType = 0
Var DefaultDrinkType = 0
If PD_STAGE_1 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 1
EndIf
If PD_STAGE_2 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 2
EndIf
If PD_STAGE_3 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 3
EndIf
If PD_STAGE_2 = "Enable" Then
Topping "Load" "-"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "-"
Else
Topping "Load" "12-05-03-0127"
EndIf
EndIf
Var menu_name_eng_hot = $##-##-##-####.NameE
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
Var menu_name_thai_hot = $##-##-##-####.Name
Var menu_desc_thai_hot = $##-##-##-####.description
Var menu_name_eng_cold = $##-##-##-####.NameE
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
Var menu_name_thai_cold = $##-##-##-####.Name
Var menu_desc_thai_cold = $##-##-##-####.description
Var menu_name_eng_blender = $12-05-03-0127.NameE
Var menu_desc_eng_blender = $12-05-03-0127.descriptionE
Var menu_name_thai_blender = $12-05-03-0127.Name
Var menu_desc_thai_blender = $12-05-03-0127.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> "JEMILA LIME" </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> "Jemila, Lime and Ice" </Value>
</Text>
<Image>
<X> 16 </X>
<Y> 264 </Y>
<Filename> Var( DirImage2 + "option_deactive.png" ) </Filename>
</Image>
<Image>
<X> 16 </X>
<Y> 264 </Y>
<State> "Invisible" </State>
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
</Image>
<Text>
<X> 50 </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> "Invisible" </State>
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
</Text>
<Image>
<X> 81 </X>
<Y> 264 </Y>
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
<State> "Invisible" </State>
</Image>
<Text>
<X> 115 </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> "Invisible" </State>
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
</Text>
<Image>
<X> 146 </X>
<Y> 264 </Y>
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
<State> $12-05-03-0127.Button </State>
</Image>
<Text>
<X> 180 </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Font> KanitRegularTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-05-03-0127.Button </State>
<Value> StringFmt( $12-05-03-0127.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
</Text>
<Image>
<X> 81 </X>
<Y> 264 </Y>
<State>
eval(
If ICE_PROCESS_STATUS = 2 Then
Var ice_tab_process_show = "Invisible"
Else
Var ice_tab_process_show = "Invisible"
EndIf
Var return = ice_tab_process_show
)
</State>
<Filename> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </Filename>
<FilenameDisable> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </FilenameDisable>
</Image>
<Image>
<X> 49 </X>
<Y> 117 </Y>
<State>
eval(
If $Sum1205030127 = "Disable" Then
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
STRCONTAIN "ERR" $##-##-##-####.TAG tag2_is_disable
STRCONTAIN "ERR" $12-05-03-0127.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> $Sum1205030127 </State>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; - - -
</FrameScroll> </FrameScroll>
; Cart ; Cart
<Button> <Button>

View file

@ -33,7 +33,7 @@
Var block_index_override = 0 Var block_index_override = 0
Var block_index_move = 0 Var block_index_move = 0
</Script> </Script>
; menu_new_list 13 ; menu_new_list 14
; ==================> Len = 12 ; ==================> Len = 12
; - - 12-99-03-0074 ; - - 12-99-03-0074
<Block> <Block>
@ -284,8 +284,6 @@
<Align> center-vertical-horizontal </Align> <Align> center-vertical-horizontal </Align>
</Text> </Text>
</Block> </Block>
; - - -
; ==================> Len = 12
; - - 12-99-03-0075 ; - - 12-99-03-0075
<Block> <Block>
<MarginLeft> 33 </MarginLeft> <MarginLeft> 33 </MarginLeft>
@ -295,18 +293,18 @@
<State> Flag( 12-99-03-0075.Button,$Sum1299030075) </State> <State> Flag( 12-99-03-0075.Button,$Sum1299030075) </State>
<Button> <Button>
<State> $Sum1299030075 </State> <State> $Sum1299030075 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_Caramel_GreenTea_Oreo_smoothie_weekday_discount_event_on.png" </Filename> <Filename> "ROOT/taobin_project/image/page_drink_n//bn_Caramel_Espresso_Oreo_smoothie_weekday_discount_event_on.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_Caramel_GreenTea_Oreo_smoothie_weekday_discount_event_on.png" </FilenamePress> <FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_Caramel_Espresso_Oreo_smoothie_weekday_discount_event_on.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_Caramel_GreenTea_Oreo_smoothie_weekday_discount_event_on.png" </FilenameDisable> <FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_Caramel_Espresso_Oreo_smoothie_weekday_discount_event_on.png" </FilenameDisable>
<OverlayImage> xmlpro( 12-99-03-0075, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound> <Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume> <Volume> SoundVolume </Volume>
<OverlayImage> xmlpro( 12-99-03-0075, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
<EventOnClick> <EventOnClick>
Var NameDrink = "PREMIUM GREEN TEA CARAMEL OREO" Var NameDrink = "PREMIUM ESPRESSO CARAMEL OREO"
Var NameDrinkTH = "พรีเมียมมัทฉะคาราเมลโอริโอ้" Var NameDrinkTH = "พรีเมียมเอสเพรสโซ่คาราเมลโอริโอ้"
Var DrinkDescriptionTH = "มัทฉะ นม คาลาเมล และ Oreo" Var DrinkDescriptionTH = "กาแฟ นม คาลาเมล และ Oreo"
Var DrinkDescription = "Matcha, Milk, Caramel Syrup, Oreo" Var DrinkDescription = "Coffee, Milk, Caramel Syrup, Oreo"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_Caramel_GreenTea_Oreo_smoothie_weekday_discount_event_on.png" Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_Caramel_Espresso_Oreo_smoothie_weekday_discount_event_on.png"
Var OpenFromXML = CurrentXMLFileName2 Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $-.Price Var PriceD1 = $-.Price
Var PriceD2 = $-.Price Var PriceD2 = $-.Price
@ -376,7 +374,7 @@
<Font> KanitMediumTTF </Font> <Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color> <Color> 0x322B26 </Color>
<State> showthaiText </State> <State> showthaiText </State>
<Value> "พรีเมียมมัทฉะคาราเมลโอริโอ้" </Value> <Value> "พรีเมียมเอสเพรสโซ่คาราเมลโอริโอ้" </Value>
</Text> </Text>
<Text> <Text>
<X> 16 </X> <X> 16 </X>
@ -386,7 +384,7 @@
<Font> KanitMediumTTF </Font> <Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color> <Color> 0x6F5F51 </Color>
<State> showthaiText </State> <State> showthaiText </State>
<Value> "มัทฉะ นม คาลาเมล และ Oreo" </Value> <Value> "กาแฟ นม คาลาเมล และ Oreo" </Value>
</Text> </Text>
<Text> <Text>
<X> 16 </X> <X> 16 </X>
@ -397,7 +395,7 @@
<Font> KanitMediumTTF </Font> <Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color> <Color> 0x322B26 </Color>
<State> showengText </State> <State> showengText </State>
<Value> "PREMIUM GREEN TEA CARAMEL OREO" </Value> <Value> "PREMIUM ESPRESSO CARAMEL OREO" </Value>
</Text> </Text>
<Text> <Text>
<X> 16 </X> <X> 16 </X>
@ -407,7 +405,7 @@
<Font> KanitMediumTTF </Font> <Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color> <Color> 0x6F5F51 </Color>
<State> showengText </State> <State> showengText </State>
<Value> "Matcha, Milk, Caramel Syrup, Oreo" </Value> <Value> "Coffee, Milk, Caramel Syrup, Oreo" </Value>
</Text> </Text>
<Image> <Image>
<X> 16 </X> <X> 16 </X>
@ -458,11 +456,11 @@
<State> $12-99-03-0075.Button </State> <State> $12-99-03-0075.Button </State>
</Image> </Image>
<Text> <Text>
<X> 180 </X> <X> 183 </X>
<Y> TextPriceMenuY </Y> <Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size> <Size> TextPriceMenuSize </Size>
<Width>220</Width> <Width>220</Width>
<Font> KanitRegularTTF </Font> <Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color> <Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable> <ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-99-03-0075.Button </State> <State> $12-99-03-0075.Button </State>
@ -535,7 +533,6 @@
<Align> center-vertical-horizontal </Align> <Align> center-vertical-horizontal </Align>
</Text> </Text>
</Block> </Block>
; - - -
; ==================> Len = 12 ; ==================> Len = 12
; - - 12-99-03-0076 ; - - 12-99-03-0076
<Block> <Block>
@ -546,18 +543,18 @@
<State> Flag( 12-99-03-0076.Button,$Sum1299030076) </State> <State> Flag( 12-99-03-0076.Button,$Sum1299030076) </State>
<Button> <Button>
<State> $Sum1299030076 </State> <State> $Sum1299030076 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_Caramel_ThaiTea_Oreo_smoothie_weekday_discount_event_on.png" </Filename> <Filename> "ROOT/taobin_project/image/page_drink_n//bn_Caramel_GreenTea_Oreo_smoothie_weekday_discount_event_on.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_Caramel_ThaiTea_Oreo_smoothie_weekday_discount_event_on.png" </FilenamePress> <FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_Caramel_GreenTea_Oreo_smoothie_weekday_discount_event_on.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_Caramel_ThaiTea_Oreo_smoothie_weekday_discount_event_on.png" </FilenameDisable> <FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_Caramel_GreenTea_Oreo_smoothie_weekday_discount_event_on.png" </FilenameDisable>
<OverlayImage> xmlpro( 12-99-03-0076, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage> <OverlayImage> xmlpro( 12-99-03-0076, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound> <Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume> <Volume> SoundVolume </Volume>
<EventOnClick> <EventOnClick>
Var NameDrink = "PREMIUM THAI TEA CARAMEL OREO" Var NameDrink = "PREMIUM GREEN TEA CARAMEL OREO"
Var NameDrinkTH = "พรีเมียมชาไทยคาราเมลโอริโอ้" Var NameDrinkTH = "พรีเมียมมัทฉะคาราเมลโอริโอ้"
Var DrinkDescriptionTH = "ชาไทย นม คาลาเมล และ Oreo" Var DrinkDescriptionTH = "มัทฉะ นม คาลาเมล และ Oreo"
Var DrinkDescription = "Thai Tea, Milk, Caramel Syrup, Oreo" Var DrinkDescription = "Matcha, Milk, Caramel Syrup, Oreo"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_Caramel_ThaiTea_Oreo_smoothie_weekday_discount_event_on.png" Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_Caramel_GreenTea_Oreo_smoothie_weekday_discount_event_on.png"
Var OpenFromXML = CurrentXMLFileName2 Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $-.Price Var PriceD1 = $-.Price
Var PriceD2 = $-.Price Var PriceD2 = $-.Price
@ -627,7 +624,7 @@
<Font> KanitMediumTTF </Font> <Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color> <Color> 0x322B26 </Color>
<State> showthaiText </State> <State> showthaiText </State>
<Value> "พรีเมียมชาไทยคาราเมลโอริโอ้" </Value> <Value> "พรีเมียมมัทฉะคาราเมลโอริโอ้" </Value>
</Text> </Text>
<Text> <Text>
<X> 16 </X> <X> 16 </X>
@ -637,7 +634,7 @@
<Font> KanitMediumTTF </Font> <Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color> <Color> 0x6F5F51 </Color>
<State> showthaiText </State> <State> showthaiText </State>
<Value> "ชาไทย นม คาลาเมล และ Oreo" </Value> <Value> "มัทฉะ นม คาลาเมล และ Oreo" </Value>
</Text> </Text>
<Text> <Text>
<X> 16 </X> <X> 16 </X>
@ -648,7 +645,7 @@
<Font> KanitMediumTTF </Font> <Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color> <Color> 0x322B26 </Color>
<State> showengText </State> <State> showengText </State>
<Value> "PREMIUM THAI TEA CARAMEL OREO" </Value> <Value> "PREMIUM GREEN TEA CARAMEL OREO" </Value>
</Text> </Text>
<Text> <Text>
<X> 16 </X> <X> 16 </X>
@ -658,7 +655,7 @@
<Font> KanitMediumTTF </Font> <Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color> <Color> 0x6F5F51 </Color>
<State> showengText </State> <State> showengText </State>
<Value> "Thai Tea, Milk, Caramel Syrup, Oreo" </Value> <Value> "Matcha, Milk, Caramel Syrup, Oreo" </Value>
</Text> </Text>
<Image> <Image>
<X> 16 </X> <X> 16 </X>
@ -785,6 +782,257 @@
<Value> text_unavailable </Value> <Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align> <Align> center-vertical-horizontal </Align>
</Text> </Text>
</Block>
; - - -
; ==================> Len = 12
; - - 12-99-03-0077
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-99-03-0077.Button,$Sum1299030077) </State>
<Button>
<State> $Sum1299030077 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_Caramel_ThaiTea_Oreo_smoothie_weekday_discount_event_on.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_Caramel_ThaiTea_Oreo_smoothie_weekday_discount_event_on.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_Caramel_ThaiTea_Oreo_smoothie_weekday_discount_event_on.png" </FilenameDisable>
<OverlayImage> xmlpro( 12-99-03-0077, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var NameDrink = "PREMIUM THAI TEA CARAMEL OREO"
Var NameDrinkTH = "พรีเมียมชาไทยคาราเมลโอริโอ้"
Var DrinkDescriptionTH = "ชาไทย นม คาลาเมล และ Oreo"
Var DrinkDescription = "Thai Tea, Milk, Caramel Syrup, Oreo"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_Caramel_ThaiTea_Oreo_smoothie_weekday_discount_event_on.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $-.Price
Var PriceD2 = $-.Price
Var PriceD3 = $12-99-03-0077.Price
Var PD_CODE1 = "##-##-##-####"
Var PD_CODE2 = "##-##-##-####"
Var PD_CODE3 = "12-99-03-0077"
Var PD_STAGE_1 = "Disable2"
Var PD_STAGE_2 = "Disable2"
Var PD_STAGE_3 = $12-99-03-0077.Button
Var OverlayMenuFilter !assigned xmlpro( 12-99-03-0077, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
DEBUGVAR OverlayMenuFilter
Var SelectCountDrinkType = 0
Var DefaultDrinkType = 0
If PD_STAGE_1 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 1
EndIf
If PD_STAGE_2 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 2
EndIf
If PD_STAGE_3 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 3
EndIf
If PD_STAGE_2 = "Enable" Then
Topping "Load" "-"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "-"
Else
Topping "Load" "12-99-03-0077"
EndIf
EndIf
Var menu_name_eng_hot = $##-##-##-####.NameE
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
Var menu_name_thai_hot = $##-##-##-####.Name
Var menu_desc_thai_hot = $##-##-##-####.description
Var menu_name_eng_cold = $##-##-##-####.NameE
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
Var menu_name_thai_cold = $##-##-##-####.Name
Var menu_desc_thai_cold = $##-##-##-####.description
Var menu_name_eng_blender = $12-99-03-0077.NameE
Var menu_desc_eng_blender = $12-99-03-0077.descriptionE
Var menu_name_thai_blender = $12-99-03-0077.Name
Var menu_desc_thai_blender = $12-99-03-0077.description
DEBUGVAR PD_STAGE_1
DEBUGVAR PD_STAGE_2
DEBUGVAR PD_STAGE_3
Var SelectDrinkType = 0
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
</EventOnClick>
</Button>
<Text>
<X> 16 </X>
<Y> 164 </Y>
<Size> 24 </Size>
<Width>220</Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showthaiText </State>
<Value> "พรีเมียมชาไทยคาราเมลโอริโอ้" </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 220 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showthaiText </State>
<Value> "ชาไทย นม คาลาเมล และ Oreo" </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 164 </Y>
<Size> 22 </Size>
<Width>220</Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showengText </State>
<Value> "PREMIUM THAI TEA CARAMEL OREO" </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 220 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showengText </State>
<Value> "Thai Tea, Milk, Caramel Syrup, Oreo" </Value>
</Text>
<Image>
<X> 16 </X>
<Y> 264 </Y>
<Filename> Var( DirImage2 + "option_deactive.png" ) </Filename>
</Image>
<Image>
<X> 16 </X>
<Y> 264 </Y>
<State> "Invisible" </State>
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
</Image>
<Text>
<X> 50 </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> "Invisible" </State>
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
</Text>
<Image>
<X> 81 </X>
<Y> 264 </Y>
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
<State> "Invisible" </State>
</Image>
<Text>
<X> 115 </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> "Invisible" </State>
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
</Text>
<Image>
<X> 146 </X>
<Y> 264 </Y>
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
<State> $12-99-03-0077.Button </State>
</Image>
<Text>
<X> 180 </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Font> KanitRegularTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-99-03-0077.Button </State>
<Value> StringFmt( $12-99-03-0077.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
</Text>
<Image>
<X> 81 </X>
<Y> 264 </Y>
<State>
eval(
If ICE_PROCESS_STATUS = 2 Then
Var ice_tab_process_show = "Invisible"
Else
Var ice_tab_process_show = "Invisible"
EndIf
Var return = ice_tab_process_show
)
</State>
<Filename> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </Filename>
<FilenameDisable> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </FilenameDisable>
</Image>
<Image>
<X> 49 </X>
<Y> 117 </Y>
<State>
eval(
If $Sum1299030077 = "Disable" Then
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
STRCONTAIN "ERR" $##-##-##-####.TAG tag2_is_disable
STRCONTAIN "ERR" $12-99-03-0077.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> $Sum1299030077 </State>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block> </Block>
; - - - ; - - -
; ==================> Len = 12 ; ==================> Len = 12
@ -3297,19 +3545,19 @@
</Block> </Block>
; - - - ; - - -
; ==================> Len = 12 ; ==================> Len = 12
; - 12-99-02-0041 - ; - 12-99-03-0078 -
<Block> <Block>
<MarginLeft> 33 </MarginLeft> <MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop> <MarginTop> 22 </MarginTop>
<Width> 225 </Width> <Width> 225 </Width>
<Height> 296 </Height> <Height> 296 </Height>
<State> Flag( 12-99-02-0041.Button,$Sum1299020041) </State> <State> Flag( 12-99-03-0078.Button,$Sum1299030078) </State>
<Button> <Button>
<State> $Sum1299020041 </State> <State> $Sum1299030078 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_americano_soda_weekday_discount_event_on.png" </Filename> <Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_americano_soda_weekday_discount_event_on.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_iced_americano_soda_weekday_discount_event_on.png" </FilenamePress> <FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_iced_americano_soda_weekday_discount_event_on.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_iced_americano_soda_weekday_discount_event_on.png" </FilenameDisable> <FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_iced_americano_soda_weekday_discount_event_on.png" </FilenameDisable>
<OverlayImage> xmlpro( 12-99-02-0041, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage> <OverlayImage> xmlpro( 12-99-03-0078, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound> <Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume> <Volume> SoundVolume </Volume>
<EventOnClick> <EventOnClick>
@ -3320,15 +3568,15 @@
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_iced_americano_soda_weekday_discount_event_on.png" Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_iced_americano_soda_weekday_discount_event_on.png"
Var OpenFromXML = CurrentXMLFileName2 Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $-.Price Var PriceD1 = $-.Price
Var PriceD2 = $12-99-02-0041.Price Var PriceD2 = $12-99-03-0078.Price
Var PriceD3 = $-.Price Var PriceD3 = $-.Price
Var PD_CODE1 = "##-##-##-####" Var PD_CODE1 = "##-##-##-####"
Var PD_CODE2 = "12-99-02-0041" Var PD_CODE2 = "12-99-03-0078"
Var PD_CODE3 = "##-##-##-####" Var PD_CODE3 = "##-##-##-####"
Var PD_STAGE_1 = "Disable2" Var PD_STAGE_1 = "Disable2"
Var PD_STAGE_2 = $12-99-02-0041.Button Var PD_STAGE_2 = $12-99-03-0078.Button
Var PD_STAGE_3 = "Disable2" Var PD_STAGE_3 = "Disable2"
Var OverlayMenuFilter !assigned xmlpro( 12-99-02-0041, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png") Var OverlayMenuFilter !assigned xmlpro( 12-99-03-0078, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
DEBUGVAR OverlayMenuFilter DEBUGVAR OverlayMenuFilter
Var SelectCountDrinkType = 0 Var SelectCountDrinkType = 0
Var DefaultDrinkType = 0 Var DefaultDrinkType = 0
@ -3345,7 +3593,7 @@
Var DefaultDrinkType = 3 Var DefaultDrinkType = 3
EndIf EndIf
If PD_STAGE_2 = "Enable" Then If PD_STAGE_2 = "Enable" Then
Topping "Load" "12-99-02-0041" Topping "Load" "12-99-03-0078"
Else Else
If PD_STAGE_1 = "Enable" Then If PD_STAGE_1 = "Enable" Then
Topping "Load" "-" Topping "Load" "-"
@ -3358,10 +3606,10 @@
Var menu_name_thai_hot = $##-##-##-####.Name Var menu_name_thai_hot = $##-##-##-####.Name
Var menu_desc_thai_hot = $##-##-##-####.description Var menu_desc_thai_hot = $##-##-##-####.description
Var menu_name_eng_cold = $12-99-02-0041.NameE Var menu_name_eng_cold = $12-99-03-0078.NameE
Var menu_desc_eng_cold = $12-99-02-0041.descriptionE Var menu_desc_eng_cold = $12-99-03-0078.descriptionE
Var menu_name_thai_cold = $12-99-02-0041.Name Var menu_name_thai_cold = $12-99-03-0078.Name
Var menu_desc_thai_cold = $12-99-02-0041.description Var menu_desc_thai_cold = $12-99-03-0078.description
Var menu_name_eng_blender = $##-##-##-####.NameE Var menu_name_eng_blender = $##-##-##-####.NameE
Var menu_desc_eng_blender = $##-##-##-####.descriptionE Var menu_desc_eng_blender = $##-##-##-####.descriptionE
@ -3448,7 +3696,7 @@
<Y> 264 </Y> <Y> 264 </Y>
<Filename> Var( DirImage2 + "cold.png" ) </Filename> <Filename> Var( DirImage2 + "cold.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable> <FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
<State> $12-99-02-0041.Button </State> <State> $12-99-03-0078.Button </State>
</Image> </Image>
<Text> <Text>
<X> 115 </X> <X> 115 </X>
@ -3458,8 +3706,8 @@
<Font> KanitMediumTTF </Font> <Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color> <Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable> <ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-99-02-0041.Button </State> <State> $12-99-03-0078.Button </State>
<Value> StringFmt( $12-99-02-0041.Price , DisplayFormat, PreScaleConvertShow) </Value>; test <Value> StringFmt( $12-99-03-0078.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
</Text> </Text>
<Image> <Image>
<X> 146 </X> <X> 146 </X>
@ -3502,9 +3750,9 @@
<Y> 117 </Y> <Y> 117 </Y>
<State> <State>
eval( eval(
If $Sum1299020041 = "Disable" Then If $Sum1299030078 = "Disable" Then
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
STRCONTAIN "ERR" $12-99-02-0041.TAG tag2_is_disable STRCONTAIN "ERR" $12-99-03-0078.TAG tag2_is_disable
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
Var return = "Invisible" Var return = "Invisible"
If tag1_is_disable = "true" Then If tag1_is_disable = "true" Then
@ -3541,26 +3789,26 @@
<Font> MITRegularTTF </Font> <Font> MITRegularTTF </Font>
<Color> 0x5A5A5A </Color> <Color> 0x5A5A5A </Color>
<Mode> "disable-show" </Mode> <Mode> "disable-show" </Mode>
<State> $Sum1299020041 </State> <State> $Sum1299030078 </State>
<Value> text_unavailable </Value> <Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align> <Align> center-vertical-horizontal </Align>
</Text> </Text>
</Block> </Block>
; - 12-99-02-0041 - ; - 12-99-03-0079 -
<Block> <Block>
<MarginLeft> 33 </MarginLeft> <MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop> <MarginTop> 22 </MarginTop>
<Width> 225 </Width> <Width> 225 </Width>
<Height> 296 </Height> <Height> 296 </Height>
<State> Flag( 12-99-02-0041.Button,$Sum1299020041) </State> <State> Flag( 12-99-03-0079.Button,$Sum1299030079) </State>
<Button> <Button>
<State> $Sum1299020041 </State> <State> $Sum1299030079 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_americano_soda_weekday_discount_event_on.png" </Filename> <Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_americano_soda_weekday_discount_event_on.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_iced_americano_soda_weekday_discount_event_on.png" </FilenamePress> <FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_iced_americano_soda_weekday_discount_event_on.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_iced_americano_soda_weekday_discount_event_on.png" </FilenameDisable> <FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_iced_americano_soda_weekday_discount_event_on.png" </FilenameDisable>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound> <Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume> <Volume> SoundVolume </Volume>
<OverlayImage> xmlpro( 12-99-02-0041, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage> <OverlayImage> xmlpro( 12-99-03-0079, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
<EventOnClick> <EventOnClick>
Var NameDrink = "AMERICANO SODA" Var NameDrink = "AMERICANO SODA"
Var NameDrinkTH = "อเมริกาโน่โซดา" Var NameDrinkTH = "อเมริกาโน่โซดา"
@ -3569,15 +3817,15 @@
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_iced_americano_soda_weekday_discount_event_on.png" Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_iced_americano_soda_weekday_discount_event_on.png"
Var OpenFromXML = CurrentXMLFileName2 Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $-.Price Var PriceD1 = $-.Price
Var PriceD2 = $12-99-02-0041.Price Var PriceD2 = $12-99-03-0079.Price
Var PriceD3 = $-.Price Var PriceD3 = $-.Price
Var PD_CODE1 = "##-##-##-####" Var PD_CODE1 = "##-##-##-####"
Var PD_CODE2 = "12-99-02-0041" Var PD_CODE2 = "12-99-03-0079"
Var PD_CODE3 = "##-##-##-####" Var PD_CODE3 = "##-##-##-####"
Var PD_STAGE_1 = "Disable2" Var PD_STAGE_1 = "Disable2"
Var PD_STAGE_2 = $12-99-02-0041.Button Var PD_STAGE_2 = $12-99-03-0079.Button
Var PD_STAGE_3 = "Disable2" Var PD_STAGE_3 = "Disable2"
Var OverlayMenuFilter !assigned xmlpro( 12-99-02-0041, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png") Var OverlayMenuFilter !assigned xmlpro( 12-99-03-0079, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
DEBUGVAR OverlayMenuFilter DEBUGVAR OverlayMenuFilter
Var SelectCountDrinkType = 0 Var SelectCountDrinkType = 0
Var DefaultDrinkType = 0 Var DefaultDrinkType = 0
@ -3594,7 +3842,7 @@
Var DefaultDrinkType = 3 Var DefaultDrinkType = 3
EndIf EndIf
If PD_STAGE_2 = "Enable" Then If PD_STAGE_2 = "Enable" Then
Topping "Load" "12-99-02-0041" Topping "Load" "12-99-03-0079"
Else Else
If PD_STAGE_1 = "Enable" Then If PD_STAGE_1 = "Enable" Then
Topping "Load" "-" Topping "Load" "-"
@ -3607,10 +3855,10 @@
Var menu_name_thai_hot = $##-##-##-####.Name Var menu_name_thai_hot = $##-##-##-####.Name
Var menu_desc_thai_hot = $##-##-##-####.description Var menu_desc_thai_hot = $##-##-##-####.description
Var menu_name_eng_cold = $12-99-02-0041.NameE Var menu_name_eng_cold = $12-99-03-0079.NameE
Var menu_desc_eng_cold = $12-99-02-0041.descriptionE Var menu_desc_eng_cold = $12-99-03-0079.descriptionE
Var menu_name_thai_cold = $12-99-02-0041.Name Var menu_name_thai_cold = $12-99-03-0079.Name
Var menu_desc_thai_cold = $12-99-02-0041.description Var menu_desc_thai_cold = $12-99-03-0079.description
Var menu_name_eng_blender = $##-##-##-####.NameE Var menu_name_eng_blender = $##-##-##-####.NameE
Var menu_desc_eng_blender = $##-##-##-####.descriptionE Var menu_desc_eng_blender = $##-##-##-####.descriptionE
@ -3697,7 +3945,7 @@
<Y> 264 </Y> <Y> 264 </Y>
<Filename> Var( DirImage2 + "cold.png" ) </Filename> <Filename> Var( DirImage2 + "cold.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable> <FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
<State> $12-99-02-0041.Button </State> <State> $12-99-03-0079.Button </State>
</Image> </Image>
<Text> <Text>
<X> 115 </X> <X> 115 </X>
@ -3707,8 +3955,8 @@
<Font> KanitMediumTTF </Font> <Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color> <Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable> <ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-99-02-0041.Button </State> <State> $12-99-03-0079.Button </State>
<Value> StringFmt( $12-99-02-0041.Price , DisplayFormat, PreScaleConvertShow) </Value>; test <Value> StringFmt( $12-99-03-0079.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
</Text> </Text>
<Image> <Image>
<X> 146 </X> <X> 146 </X>
@ -3751,9 +3999,9 @@
<Y> 117 </Y> <Y> 117 </Y>
<State> <State>
eval( eval(
If $Sum1299020041 = "Disable" Then If $Sum1299030079 = "Disable" Then
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
STRCONTAIN "ERR" $12-99-02-0041.TAG tag2_is_disable STRCONTAIN "ERR" $12-99-03-0079.TAG tag2_is_disable
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
Var return = "Invisible" Var return = "Invisible"
If tag1_is_disable = "true" Then If tag1_is_disable = "true" Then
@ -3790,11 +4038,262 @@
<Font> MITRegularTTF </Font> <Font> MITRegularTTF </Font>
<Color> 0x5A5A5A </Color> <Color> 0x5A5A5A </Color>
<Mode> "disable-show" </Mode> <Mode> "disable-show" </Mode>
<State> $Sum1299020041 </State> <State> $Sum1299030079 </State>
<Value> text_unavailable </Value> <Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align> <Align> center-vertical-horizontal </Align>
</Text> </Text>
</Block> </Block>
; ==================> Len = 12
; - - 12-99-03-0127
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-99-03-0127.Button,$Sum1299030127) </State>
<Button>
<State> $Sum1299030127 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_Jemila_smoothie_weekday_discount_event_on.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_iced_Jemila_smoothie_weekday_discount_event_on.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_iced_Jemila_smoothie_weekday_discount_event_on.png" </FilenameDisable>
<OverlayImage> xmlpro( 12-99-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>
<EventOnClick>
Var NameDrink = "JEMILA LIME"
Var NameDrinkTH = "เจมิลามะนาว"
Var DrinkDescriptionTH = "เจมิลา มะนาว และน้ำ"
Var DrinkDescription = "Jemila, Lime and Ice"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_iced_Jemila_smoothie_weekday_discount_event_on.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $-.Price
Var PriceD2 = $-.Price
Var PriceD3 = $12-99-03-0127.Price
Var PD_CODE1 = "##-##-##-####"
Var PD_CODE2 = "##-##-##-####"
Var PD_CODE3 = "12-99-03-0127"
Var PD_STAGE_1 = "Disable2"
Var PD_STAGE_2 = "Disable2"
Var PD_STAGE_3 = $12-99-03-0127.Button
Var OverlayMenuFilter !assigned xmlpro( 12-99-03-0127, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
DEBUGVAR OverlayMenuFilter
Var SelectCountDrinkType = 0
Var DefaultDrinkType = 0
If PD_STAGE_1 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 1
EndIf
If PD_STAGE_2 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 2
EndIf
If PD_STAGE_3 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 3
EndIf
If PD_STAGE_2 = "Enable" Then
Topping "Load" "-"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "-"
Else
Topping "Load" "12-99-03-0127"
EndIf
EndIf
Var menu_name_eng_hot = $##-##-##-####.NameE
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
Var menu_name_thai_hot = $##-##-##-####.Name
Var menu_desc_thai_hot = $##-##-##-####.description
Var menu_name_eng_cold = $##-##-##-####.NameE
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
Var menu_name_thai_cold = $##-##-##-####.Name
Var menu_desc_thai_cold = $##-##-##-####.description
Var menu_name_eng_blender = $12-99-03-0127.NameE
Var menu_desc_eng_blender = $12-99-03-0127.descriptionE
Var menu_name_thai_blender = $12-99-03-0127.Name
Var menu_desc_thai_blender = $12-99-03-0127.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> "JEMILA LIME" </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> "Jemila, Lime and Ice" </Value>
</Text>
<Image>
<X> 16 </X>
<Y> 264 </Y>
<Filename> Var( DirImage2 + "option_deactive.png" ) </Filename>
</Image>
<Image>
<X> 16 </X>
<Y> 264 </Y>
<State> "Invisible" </State>
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
</Image>
<Text>
<X> 50 </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> "Invisible" </State>
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
</Text>
<Image>
<X> 81 </X>
<Y> 264 </Y>
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
<State> "Invisible" </State>
</Image>
<Text>
<X> 115 </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> "Invisible" </State>
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
</Text>
<Image>
<X> 146 </X>
<Y> 264 </Y>
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
<State> $12-99-03-0127.Button </State>
</Image>
<Text>
<X> 180 </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Font> KanitRegularTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-99-03-0127.Button </State>
<Value> StringFmt( $12-99-03-0127.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
</Text>
<Image>
<X> 81 </X>
<Y> 264 </Y>
<State>
eval(
If ICE_PROCESS_STATUS = 2 Then
Var ice_tab_process_show = "Invisible"
Else
Var ice_tab_process_show = "Invisible"
EndIf
Var return = ice_tab_process_show
)
</State>
<Filename> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </Filename>
<FilenameDisable> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </FilenameDisable>
</Image>
<Image>
<X> 49 </X>
<Y> 117 </Y>
<State>
eval(
If $Sum1299030127 = "Disable" Then
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
STRCONTAIN "ERR" $##-##-##-####.TAG tag2_is_disable
STRCONTAIN "ERR" $12-99-03-0127.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> $Sum1299030127 </State>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; - - -
</FrameScroll> </FrameScroll>
; Cart ; Cart
<Button> <Button>

View file

@ -602,7 +602,255 @@
<Align> center-vertical-horizontal </Align> <Align> center-vertical-horizontal </Align>
</Text> </Text>
</Block> </Block>
; - - - ; - - 12-21-03-0078
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-21-03-0078.Button,Disable=Invisible,$Sum1221030078) </State>
<Button>
<State> $Sum1221030078 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_Caramel_Espresso_Oreo_smoothie_weekday_discount.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_Caramel_Espresso_Oreo_smoothie_weekday_discount.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_Caramel_Espresso_Oreo_smoothie_weekday_discount.png" </FilenameDisable>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<OverlayImage> xmlpro( 12-21-03-0078, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
<EventOnClick>
Var NameDrink = "PREMIUM ESPRESSO CARAMEL OREO"
Var NameDrinkTH = "พรีเมียมเอสเพรสโซ่คาราเมลโอริโอ้"
Var DrinkDescriptionTH = "กาแฟ นม คาลาเมล และ Oreo"
Var DrinkDescription = "Coffee, Milk, Caramel Syrup, Oreo"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_Caramel_Espresso_Oreo_smoothie_weekday_discount.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $-.Price
Var PriceD2 = $-.Price
Var PriceD3 = $12-21-03-0078.Price
Var PD_CODE1 = "##-##-##-####"
Var PD_CODE2 = "##-##-##-####"
Var PD_CODE3 = "12-21-03-0078"
Var PD_STAGE_1 = "Disable2"
Var PD_STAGE_2 = "Disable2"
Var PD_STAGE_3 = $12-21-03-0078.Button
Var OverlayMenuFilter !assigned xmlpro( 12-21-03-0078, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
DEBUGVAR OverlayMenuFilter
Var SelectCountDrinkType = 0
Var DefaultDrinkType = 0
If PD_STAGE_1 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 1
EndIf
If PD_STAGE_2 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 2
EndIf
If PD_STAGE_3 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 3
EndIf
If PD_STAGE_2 = "Enable" Then
Topping "Load" "-"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "-"
Else
Topping "Load" "12-21-03-0078"
EndIf
EndIf
Var menu_name_eng_hot = $##-##-##-####.NameE
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
Var menu_name_thai_hot = $##-##-##-####.Name
Var menu_desc_thai_hot = $##-##-##-####.description
Var menu_name_eng_cold = $##-##-##-####.NameE
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
Var menu_name_thai_cold = $##-##-##-####.Name
Var menu_desc_thai_cold = $##-##-##-####.description
Var menu_name_eng_blender = $12-21-03-0078.NameE
Var menu_desc_eng_blender = $12-21-03-0078.descriptionE
Var menu_name_thai_blender = $12-21-03-0078.Name
Var menu_desc_thai_blender = $12-21-03-0078.description
DEBUGVAR PD_STAGE_1
DEBUGVAR PD_STAGE_2
DEBUGVAR PD_STAGE_3
Var SelectDrinkType = 0
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
</EventOnClick>
</Button>
<Text>
<X> 16 </X>
<Y> 164 </Y>
<Size> 24 </Size>
<Width>220</Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showthaiText </State>
<Value> "พรีเมียมเอสเพรสโซ่คาราเมลโอริโอ้" </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 220 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showthaiText </State>
<Value> "กาแฟ นม คาลาเมล และ Oreo" </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 164 </Y>
<Size> 22 </Size>
<Width>220</Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showengText </State>
<Value> "PREMIUM ESPRESSO CARAMEL OREO" </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 220 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showengText </State>
<Value> "Coffee, Milk, Caramel Syrup, Oreo" </Value>
</Text>
<Image>
<X> 16 </X>
<Y> 264 </Y>
<Filename> Var( DirImage2 + "option_deactive.png" ) </Filename>
</Image>
<Image>
<X> 16 </X>
<Y> 264 </Y>
<State> "Invisible" </State>
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
</Image>
<Text>
<X> 50 </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> "Invisible" </State>
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
</Text>
<Image>
<X> 81 </X>
<Y> 264 </Y>
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
<State> "Invisible" </State>
</Image>
<Text>
<X> 115 </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> "Invisible" </State>
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
</Text>
<Image>
<X> 146 </X>
<Y> 264 </Y>
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
<State> $12-21-03-0078.Button </State>
</Image>
<Text>
<X> 183 </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-21-03-0078.Button </State>
<Value> StringFmt( $12-21-03-0078.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
</Text>
<Image>
<X> 81 </X>
<Y> 264 </Y>
<State>
eval(
If ICE_PROCESS_STATUS = 2 Then
Var ice_tab_process_show = "Invisible"
Else
Var ice_tab_process_show = "Invisible"
EndIf
Var return = ice_tab_process_show
)
</State>
<Filename> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </Filename>
<FilenameDisable> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </FilenameDisable>
</Image>
<Image>
<X> 49 </X>
<Y> 117 </Y>
<State>
eval(
If $Sum1221030078 = "Disable" Then
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
STRCONTAIN "ERR" $##-##-##-####.TAG tag2_is_disable
STRCONTAIN "ERR" $12-21-03-0078.TAG tag3_is_disable
Var return = "Invisible"
If tag1_is_disable = "true" Then
Var return = "Enable"
EndIf
If tag2_is_disable = "true" Then
Var return = "Enable"
EndIf
If tag3_is_disable = "true" Then
Var return = "Enable"
EndIf
Else
Var return = "Invisible"
EndIf
)
</State>
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
</Image>
<Text>
<X> 84 </X>
<Y> 266 </Y>
<Size> 10 </Size>
<Font> OpunMediumTTF </Font>
<Color> 0xDE794E </Color>
<State> ice_tab_process_show </State>
<Value> ice_show_open </Value>
</Text>
<Text>
<X> 48 </X>
<Y> 116 </Y>
<Size> 32 </Size>
<Width>128</Width>
<Height>64</Height>
<Font> MITRegularTTF </Font>
<Color> 0x5A5A5A </Color>
<Mode> "disable-show" </Mode>
<State> $Sum1221030078 </State>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; ==================> Len = 12 ; ==================> Len = 12
; - - 12-02-03-0057 ; - - 12-02-03-0057
<Block> <Block>