DO new menu

This commit is contained in:
kong 2023-05-17 22:08:32 +07:00
parent b6d4c62ef7
commit 720d2ab517
18 changed files with 784 additions and 26 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

View file

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 13 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 24 KiB

Before After
Before After

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

View file

@ -524,7 +524,7 @@
Var block_index_override = 0
Var block_index_move = 0
</Script>
; menu_new_list 55
; menu_new_list 56
; ==================> Len = 16
; 12-01-01-0001 - -
<Block>
@ -17202,6 +17202,509 @@ CAFÉ LATTE" </Value>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; ==================> Len = 11
; 12-01-01-0055 12-01-02-0055 12-01-03-0055
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-01-01-0055.Button,12-01-02-0055.Button,12-01-03-0055.Button,$Sum120101005512010200551201030055) </State>
<Button>
<State> $Sum120101005512010200551201030055 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_coffee_thai_milk_tea_SingPark.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_coffee_thai_milk_tea_SingPark.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_coffee_thai_milk_tea_SingPark.png" </FilenameDisable>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var NameDrink = "THAI TEA CAFÉ LATTE"
Var NameDrinkTH = "กาแฟชาไทย"
Var DrinkDescriptionTH = "กาแฟ ชาไทย นม น้ำตาล"
Var DrinkDescription = "Espresso, Thai tea, Milk, Sugar"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_coffee_thai_milk_tea_SingPark.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $12-01-01-0055.Price
Var PriceD2 = $12-01-02-0055.Price
Var PriceD3 = $12-01-03-0055.Price
Var PD_CODE1 = "12-01-01-0055"
Var PD_CODE2 = "12-01-02-0055"
Var PD_CODE3 = "12-01-03-0055"
Var PD_STAGE_1 = $12-01-01-0055.Button
Var PD_STAGE_2 = $12-01-02-0055.Button
Var PD_STAGE_3 = $12-01-03-0055.Button
Var SelectCountDrinkType = 0
Var DefaultDrinkType = 0
If PD_STAGE_1 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 1
EndIf
If PD_STAGE_2 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 2
EndIf
If PD_STAGE_3 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 3
EndIf
If PD_STAGE_2 = "Enable" Then
Topping "Load" "12-01-02-0055"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "12-01-01-0055"
Else
Topping "Load" "12-01-03-0055"
EndIf
EndIf
Var menu_name_eng_hot = $12-01-01-0055.NameE
Var menu_desc_eng_hot = $12-01-01-0055.descriptionE
Var menu_name_thai_hot = $12-01-01-0055.Name
Var menu_desc_thai_hot = $12-01-01-0055.description
Var menu_name_eng_cold = $12-01-02-0055.NameE
Var menu_desc_eng_cold = $12-01-02-0055.descriptionE
Var menu_name_thai_cold = $12-01-02-0055.Name
Var menu_desc_thai_cold = $12-01-02-0055.description
Var menu_name_eng_blender = $12-01-03-0055.NameE
Var menu_desc_eng_blender = $12-01-03-0055.descriptionE
Var menu_name_thai_blender = $12-01-03-0055.Name
Var menu_desc_thai_blender = $12-01-03-0055.description
DEBUGVAR PD_STAGE_1
DEBUGVAR PD_STAGE_2
DEBUGVAR PD_STAGE_3
Var SelectDrinkType = 0
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
</EventOnClick>
</Button>
<Text>
<X> 16 </X>
<Y> 164 </Y>
<Size> 24 </Size>
<Width>220</Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showthaiText </State>
<Value> "กาแฟชาไทย" </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 220 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showthaiText </State>
<Value> "กาแฟ ชาไทย นม น้ำตาล" </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 164 </Y>
<Size> 22 </Size>
<Width>220</Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showengText </State>
<Value> "THAI TEA
CAFÉ LATTE" </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 220 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showengText </State>
<Value> "Espresso, Thai tea, Milk, Sugar" </Value>
</Text>
<Image>
<X> 16 </X>
<Y> 264 </Y>
<Filename> Var( DirImage2 + "option_deactive.png" ) </Filename>
</Image>
<Image>
<X> 16 </X>
<Y> 264 </Y>
<State> $12-01-01-0055.Button </State>
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
</Image>
<Text>
<X> 50 </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-01-01-0055.Button </State>
<Value> StringFmt( $12-01-01-0055.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
</Text>
<Image>
<X> 81 </X>
<Y> 264 </Y>
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
<State> $12-01-02-0055.Button </State>
</Image>
<Text>
<X> 115 </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-01-02-0055.Button </State>
<Value> StringFmt( $12-01-02-0055.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
</Text>
<Image>
<X> 146 </X>
<Y> 264 </Y>
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
<State> $12-01-03-0055.Button </State>
</Image>
<Text>
<X> 180 </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Font> KanitRegularTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-01-03-0055.Button </State>
<Value> StringFmt( $12-01-03-0055.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
</Text>
<Image>
<X> 81 </X>
<Y> 264 </Y>
<State>
eval(
If ICE_PROCESS_STATUS = 2 Then
If $Sum120101005512010200551201030055 = "Disable" Then
Var ice_tab_process_show = "Disable"
Else
Var ice_tab_process_show = "Enable"
EndIf
Else
Var ice_tab_process_show = "Invisible"
EndIf
Var return = ice_tab_process_show
)
</State>
<Filename> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </Filename>
<FilenameDisable> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </FilenameDisable>
</Image>
<Image>
<X> 49 </X>
<Y> 117 </Y>
<State>
eval(
If $Sum120101005512010200551201030055 = "Disable" Then
STRCONTAIN "ERR" $12-01-01-0055.TAG tag1_is_disable
STRCONTAIN "ERR" $12-01-02-0055.TAG tag2_is_disable
STRCONTAIN "ERR" $12-01-03-0055.TAG tag3_is_disable
Var return = "Invisible"
If tag1_is_disable = "true" Then
Var return = "Enable"
EndIf
If tag2_is_disable = "true" Then
Var return = "Enable"
EndIf
If tag3_is_disable = "true" Then
Var return = "Enable"
EndIf
Else
Var return = "Invisible"
EndIf
)
</State>
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
</Image>
<Text>
<X> 84 </X>
<Y> 266 </Y>
<Size> 10 </Size>
<Font> OpunMediumTTF </Font>
<Color> 0xDE794E </Color>
<State> ice_tab_process_show </State>
<Value> ice_show_open </Value>
</Text>
<Text>
<X> 48 </X>
<Y> 116 </Y>
<Size> 32 </Size>
<Width>128</Width>
<Height>64</Height>
<Font> MITRegularTTF </Font>
<Color> 0x5A5A5A </Color>
<Mode> "disable-show" </Mode>
<State> $Sum120101005512010200551201030055 </State>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; 12-21-01-0055 12-21-02-0055 12-21-03-0055
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-21-01-0055.Button,12-21-02-0055.Button,12-21-03-0055.Button,$Sum122101005512210200551221030055) </State>
<Button>
<State> $Sum122101005512210200551221030055 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_coffee_thai_milk_tea_SingPark.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_coffee_thai_milk_tea_SingPark.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_coffee_thai_milk_tea_SingPark.png" </FilenameDisable>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var NameDrink = "THAI TEA CAFÉ LATTE"
Var NameDrinkTH = "กาแฟชาไทย"
Var DrinkDescriptionTH = "กาแฟ ชาไทย นม น้ำตาล"
Var DrinkDescription = "Espresso, Thai tea, Milk, Sugar"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_coffee_thai_milk_tea_SingPark.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $12-21-01-0055.Price
Var PriceD2 = $12-21-02-0055.Price
Var PriceD3 = $12-21-03-0055.Price
Var PD_CODE1 = "12-21-01-0055"
Var PD_CODE2 = "12-21-02-0055"
Var PD_CODE3 = "12-21-03-0055"
Var PD_STAGE_1 = $12-21-01-0055.Button
Var PD_STAGE_2 = $12-21-02-0055.Button
Var PD_STAGE_3 = $12-21-03-0055.Button
Var SelectCountDrinkType = 0
Var DefaultDrinkType = 0
If PD_STAGE_1 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 1
EndIf
If PD_STAGE_2 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 2
EndIf
If PD_STAGE_3 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 3
EndIf
If PD_STAGE_2 = "Enable" Then
Topping "Load" "12-21-02-0055"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "12-21-01-0055"
Else
Topping "Load" "12-21-03-0055"
EndIf
EndIf
Var menu_name_eng_hot = $12-21-01-0055.NameE
Var menu_desc_eng_hot = $12-21-01-0055.descriptionE
Var menu_name_thai_hot = $12-21-01-0055.Name
Var menu_desc_thai_hot = $12-21-01-0055.description
Var menu_name_eng_cold = $12-21-02-0055.NameE
Var menu_desc_eng_cold = $12-21-02-0055.descriptionE
Var menu_name_thai_cold = $12-21-02-0055.Name
Var menu_desc_thai_cold = $12-21-02-0055.description
Var menu_name_eng_blender = $12-21-03-0055.NameE
Var menu_desc_eng_blender = $12-21-03-0055.descriptionE
Var menu_name_thai_blender = $12-21-03-0055.Name
Var menu_desc_thai_blender = $12-21-03-0055.description
DEBUGVAR PD_STAGE_1
DEBUGVAR PD_STAGE_2
DEBUGVAR PD_STAGE_3
Var SelectDrinkType = 0
Open "ROOT/taobin_project/xml/page_topping_select6.xml"
</EventOnClick>
</Button>
<Text>
<X> 16 </X>
<Y> 164 </Y>
<Size> 24 </Size>
<Width>220</Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showthaiText </State>
<Value> "กาแฟชาไทย" </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 220 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showthaiText </State>
<Value> "กาแฟ ชาไทย นม น้ำตาล" </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 164 </Y>
<Size> 22 </Size>
<Width>220</Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showengText </State>
<Value> "THAI TEA
CAFÉ LATTE" </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 220 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showengText </State>
<Value> "Espresso, Thai tea, Milk, Sugar" </Value>
</Text>
<Image>
<X> 16 </X>
<Y> 264 </Y>
<Filename> Var( DirImage2 + "option_deactive.png" ) </Filename>
</Image>
<Image>
<X> 16 </X>
<Y> 264 </Y>
<State> $12-21-01-0055.Button </State>
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
</Image>
<Text>
<X> 50 </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-21-01-0055.Button </State>
<Value> StringFmt( $12-21-01-0055.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
</Text>
<Image>
<X> 81 </X>
<Y> 264 </Y>
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
<State> $12-21-02-0055.Button </State>
</Image>
<Text>
<X> 115 </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-21-02-0055.Button </State>
<Value> StringFmt( $12-21-02-0055.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
</Text>
<Image>
<X> 146 </X>
<Y> 264 </Y>
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
<State> $12-21-03-0055.Button </State>
</Image>
<Text>
<X> 183 </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-21-03-0055.Button </State>
<Value> StringFmt( $12-21-03-0055.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
</Text>
<Image>
<X> 81 </X>
<Y> 264 </Y>
<State>
eval(
If ICE_PROCESS_STATUS = 2 Then
If $Sum122101005512210200551221030055 = "Disable" Then
Var ice_tab_process_show = "Disable"
Else
Var ice_tab_process_show = "Enable"
EndIf
Else
Var ice_tab_process_show = "Invisible"
EndIf
Var return = ice_tab_process_show
)
</State>
<Filename> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </Filename>
<FilenameDisable> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </FilenameDisable>
</Image>
<Image>
<X> 49 </X>
<Y> 117 </Y>
<State>
eval(
If $Sum122101005512210200551221030055 = "Disable" Then
STRCONTAIN "ERR" $12-21-01-0055.TAG tag1_is_disable
STRCONTAIN "ERR" $12-21-02-0055.TAG tag2_is_disable
STRCONTAIN "ERR" $12-21-03-0055.TAG tag3_is_disable
Var return = "Invisible"
If tag1_is_disable = "true" Then
Var return = "Enable"
EndIf
If tag2_is_disable = "true" Then
Var return = "Enable"
EndIf
If tag3_is_disable = "true" Then
Var return = "Enable"
EndIf
Else
Var return = "Invisible"
EndIf
)
</State>
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
</Image>
<Text>
<X> 84 </X>
<Y> 266 </Y>
<Size> 10 </Size>
<Font> OpunMediumTTF </Font>
<Color> 0xDE794E </Color>
<State> ice_tab_process_show </State>
<Value> ice_show_open </Value>
</Text>
<Text>
<X> 48 </X>
<Y> 116 </Y>
<Size> 32 </Size>
<Width>128</Width>
<Height>64</Height>
<Font> MITRegularTTF </Font>
<Color> 0x5A5A5A </Color>
<Mode> "disable-show" </Mode>
<State> $Sum122101005512210200551221030055 </State>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; ==================> Len = 16
; 12-01-01-0030 12-01-02-0030 12-01-03-0030

View file

@ -6331,9 +6331,9 @@ SODA" </Value>
<State> Flag( 12-02-01-1040.Button,12-02-02-1040.Button,$Sum12020110401202021040) </State>
<Button>
<State> $Sum12020110401202021040 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_limeblack tea_SingPark_Healthy.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_limeblack tea_SingPark_Healthy.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_limeblack tea_SingPark_Healthy.png" </FilenameDisable>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_limeblack_tea_SingPark_Healthy.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_limeblack_tea_SingPark_Healthy.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_limeblack_tea_SingPark_Healthy.png" </FilenameDisable>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
@ -6341,7 +6341,7 @@ SODA" </Value>
Var NameDrinkTH = "ชาดำมะนาว"
Var DrinkDescriptionTH = "ชาไทย ผงมะนาว และน้ำ"
Var DrinkDescription = "Thai tea, Limenade and Water"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_limeblack tea_SingPark_Healthy.png"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_limeblack_tea_SingPark_Healthy.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $12-02-01-1040.Price
Var PriceD2 = $12-02-02-1040.Price

View file

@ -5065,4 +5065,10 @@ BANANA MILK" </Value>
<EventUnitTest4>
RefreshAll
</EventUnitTest4>
</Popup>

View file

@ -5759,9 +5759,9 @@ SODA" </Value>
<State> Flag( 12-05-02-0051.Button,12-05-03-0051.Button,$Sum12050200511205030051) </State>
<Button>
<State> $Sum12050200511205030051 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_Ginger_soda.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_iced_Ginger_soda.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_iced_Ginger_soda.png" </FilenameDisable>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_Ginger_soda_Doikum.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_iced_Ginger_soda_Doikum.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_iced_Ginger_soda_Doikum.png" </FilenameDisable>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
@ -5769,7 +5769,7 @@ SODA" </Value>
Var NameDrinkTH = "ขิงโซดา"
Var DrinkDescriptionTH = "ขิง โซดา "
Var DrinkDescription = "Ginger, Soda & Ice"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_iced_Ginger_soda.png"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_iced_Ginger_soda_Doikum.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $-.Price
Var PriceD2 = $12-05-02-0051.Price
@ -6007,9 +6007,9 @@ SODA" </Value>
<State> Flag( 12-05-02-0052.Button,12-05-03-0052.Button,$Sum12050200521205030052) </State>
<Button>
<State> $Sum12050200521205030052 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_Gingerlime_soda.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_iced_Gingerlime_soda.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_iced_Gingerlime_soda.png" </FilenameDisable>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_Gingerlime_soda_Doikum.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_iced_Gingerlime_soda_Doikum.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_iced_Gingerlime_soda_Doikum.png" </FilenameDisable>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
@ -6017,7 +6017,7 @@ SODA" </Value>
Var NameDrinkTH = "ขิงมะนาวโซดา"
Var DrinkDescriptionTH = "ขิง มะนาว โซดา "
Var DrinkDescription = "Ginger, Lime, Soda & Ice"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_iced_Gingerlime_soda.png"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_iced_Gingerlime_soda_Doikum.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $-.Price
Var PriceD2 = $12-05-02-0052.Price

View file

@ -1041,9 +1041,9 @@
<State> Flag( 12-02-01-0041.Button,12-02-02-0041.Button,12-02-03-0041.Button,$Sum120201004112020200411202030041) </State>
<Button>
<State> $Sum120201004112020200411202030041 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_Ginger_tea.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_Ginger_tea.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_Ginger_tea.png" </FilenameDisable>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_Ginger_tea_Doikum.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_Ginger_tea_Doikum.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_Ginger_tea_Doikum.png" </FilenameDisable>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
@ -1051,7 +1051,7 @@
Var NameDrinkTH = "น้ำขิง "
Var DrinkDescriptionTH = "ขิง และ น้ำ "
Var DrinkDescription = "Ginger & Water "
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_Ginger_tea.png"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_Ginger_tea_Doikum.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $12-02-01-0041.Price
Var PriceD2 = $12-02-02-0041.Price
@ -2050,9 +2050,9 @@ GINGER TEA" </Value>
<State> Flag( 12-02-01-0042.Button,12-02-02-0042.Button,12-02-03-0042.Button,$Sum120201004212020200421202030042) </State>
<Button>
<State> $Sum120201004212020200421202030042 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_Ginger_lemon_tea.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_Ginger_lemon_tea.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_Ginger_lemon_tea.png" </FilenameDisable>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_Ginger_lemon_tea_Doikum.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_Ginger_lemon_tea_Doikum.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_Ginger_lemon_tea_Doikum.png" </FilenameDisable>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
@ -2060,7 +2060,7 @@ GINGER TEA" </Value>
Var NameDrinkTH = "ชาขิงมะนาว "
Var DrinkDescriptionTH = "ขิง มะนาว และน้ำ "
Var DrinkDescription = "Ginger, Lime & Water "
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_Ginger_lemon_tea.png"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_Ginger_lemon_tea_Doikum.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $12-02-01-0042.Price
Var PriceD2 = $12-02-02-0042.Price
@ -2555,9 +2555,9 @@ GINGER TEA" </Value>
<State> Flag( 12-02-01-0040.Button,12-02-02-0040.Button,12-02-03-0040.Button,$Sum120201004012020200401202030040) </State>
<Button>
<State> $Sum120201004012020200401202030040 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//b_limeblack tea_SingPark.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//b_limeblack tea_SingPark.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//b_limeblack tea_SingPark.png" </FilenameDisable>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_limeblack_tea_SingPark.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_limeblack_tea_SingPark.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_limeblack_tea_SingPark.png" </FilenameDisable>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
@ -2565,7 +2565,7 @@ GINGER TEA" </Value>
Var NameDrinkTH = "ชามะนาว "
Var DrinkDescriptionTH = "ชาไทย มะนาว"
Var DrinkDescription = "Thai Tea, Limenade, Sugar & Water "
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "b_limeblack tea_SingPark.png"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_limeblack_tea_SingPark.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $12-02-01-0040.Price
Var PriceD2 = $12-02-02-0040.Price

View file

@ -529,7 +529,7 @@
Var block_index_override = 0
Var block_index_move = 0
</Script>
; menu_new_list 15
; menu_new_list 16
; ==================> Len = 16
; - 12-04-02-0001 -
<Block>
@ -2774,6 +2774,255 @@ Thai Tea, & Milk" </Value>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; - - -
; ==================> Len = 11
; - 12-04-02-0055 -
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-04-02-0055.Button,$Sum1204020055) </State>
<Button>
<State> $Sum1204020055 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_protein_Thaitea.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_protein_Thaitea.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_protein_Thaitea.png" </FilenameDisable>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var NameDrink = "THAI TEA SHAKE"
Var NameDrinkTH = "ชานมไทยโปรตีน"
Var DrinkDescriptionTH = "เวย์โปรตีน ชาไทย นม"
Var DrinkDescription = "Whey protein, Thai Tea, & Milk"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_protein_Thaitea.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $-.Price
Var PriceD2 = $12-04-02-0055.Price
Var PriceD3 = $-.Price
Var PD_CODE1 = "##-##-##-####"
Var PD_CODE2 = "12-04-02-0055"
Var PD_CODE3 = "##-##-##-####"
Var PD_STAGE_1 = "Disable2"
Var PD_STAGE_2 = $12-04-02-0055.Button
Var PD_STAGE_3 = "Disable2"
Var SelectCountDrinkType = 0
Var DefaultDrinkType = 0
If PD_STAGE_1 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 1
EndIf
If PD_STAGE_2 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 2
EndIf
If PD_STAGE_3 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 3
EndIf
If PD_STAGE_2 = "Enable" Then
Topping "Load" "12-04-02-0055"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "-"
Else
Topping "Load" "-"
EndIf
EndIf
Var menu_name_eng_hot = $##-##-##-####.NameE
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
Var menu_name_thai_hot = $##-##-##-####.Name
Var menu_desc_thai_hot = $##-##-##-####.description
Var menu_name_eng_cold = $12-04-02-0055.NameE
Var menu_desc_eng_cold = $12-04-02-0055.descriptionE
Var menu_name_thai_cold = $12-04-02-0055.Name
Var menu_desc_thai_cold = $12-04-02-0055.description
Var menu_name_eng_blender = $##-##-##-####.NameE
Var menu_desc_eng_blender = $##-##-##-####.descriptionE
Var menu_name_thai_blender = $##-##-##-####.Name
Var menu_desc_thai_blender = $##-##-##-####.description
DEBUGVAR PD_STAGE_1
DEBUGVAR PD_STAGE_2
DEBUGVAR PD_STAGE_3
Var SelectDrinkType = 0
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
</EventOnClick>
</Button>
<Text>
<X> 16 </X>
<Y> 164 </Y>
<Size> 24 </Size>
<Width>220</Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showthaiText </State>
<Value> "ชานมไทยโปรตีน" </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 220 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showthaiText </State>
<Value> "เวย์โปรตีน ชาไทย นม" </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 164 </Y>
<Size> 22 </Size>
<Width>220</Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showengText </State>
<Value> "THAI TEA SHAKE" </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> "Whey protein,
Thai Tea, & Milk" </Value>
</Text>
<Image>
<X> 16 </X>
<Y> 264 </Y>
<Filename> Var( DirImage2 + "option_deactive.png" ) </Filename>
</Image>
<Image>
<X> 16 </X>
<Y> 264 </Y>
<State> "Invisible" </State>
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
</Image>
<Text>
<X> 50 </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> "Invisible" </State>
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
</Text>
<Image>
<X> 81 </X>
<Y> 264 </Y>
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
<State> $12-04-02-0055.Button </State>
</Image>
<Text>
<X> 115 </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-04-02-0055.Button </State>
<Value> StringFmt( $12-04-02-0055.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
</Text>
<Image>
<X> 146 </X>
<Y> 264 </Y>
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
<State> "Invisible" </State>
</Image>
<Text>
<X> 180 </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Font> KanitRegularTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> "Invisible" </State>
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
</Text>
<Image>
<X> 81 </X>
<Y> 264 </Y>
<State>
eval(
If ICE_PROCESS_STATUS = 2 Then
Var ice_tab_process_show = "Invisible"
Else
Var ice_tab_process_show = "Invisible"
EndIf
Var return = ice_tab_process_show
)
</State>
<Filename> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </Filename>
<FilenameDisable> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </FilenameDisable>
</Image>
<Image>
<X> 49 </X>
<Y> 117 </Y>
<State>
eval(
If $Sum1204020055 = "Disable" Then
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
STRCONTAIN "ERR" $12-04-02-0055.TAG tag2_is_disable
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
Var return = "Invisible"
If tag1_is_disable = "true" Then
Var return = "Enable"
EndIf
If tag2_is_disable = "true" Then
Var return = "Enable"
EndIf
If tag3_is_disable = "true" Then
Var return = "Enable"
EndIf
Else
Var return = "Invisible"
EndIf
)
</State>
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
</Image>
<Text>
<X> 84 </X>
<Y> 266 </Y>
<Size> 10 </Size>
<Font> OpunMediumTTF </Font>
<Color> 0xDE794E </Color>
<State> ice_tab_process_show </State>
<Value> ice_show_open </Value>
</Text>
<Text>
<X> 48 </X>
<Y> 116 </Y>
<Size> 32 </Size>
<Width>128</Width>
<Height>64</Height>
<Font> MITRegularTTF </Font>
<Color> 0x5A5A5A </Color>
<Mode> "disable-show" </Mode>
<State> $Sum1204020055 </State>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; - - -
; ==================> Len = 16