This commit is contained in:
kong 2023-01-24 16:08:01 +07:00
parent 8548b4b1f9
commit 97b2f0bcdc
2 changed files with 566 additions and 55 deletions

View file

@ -17211,17 +17211,17 @@ Sugar, Water" </Value>
<State> Flag( 12-01-01-0042.Button,12-01-02-0042.Button,12-01-03-0042.Button,$Sum120101004212010200421201030042) </State>
<Button>
<State> $Sum120101004212010200421201030042 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_Banana_cafe_latte" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_Banana_cafe_latte" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_Banana_cafe_latte" </FilenameDisable>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_Banana_cafe_latte.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_Banana_cafe_latte.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_Banana_cafe_latte.png" </FilenameDisable>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var NameDrink = "TOKYO BANANA LATTE"
Var NameDrinkTH = "ลาเต้โตเกียวบานานา"
Var NameDrinkTH = "ลาเต้โตเกียวบานานา"
Var DrinkDescriptionTH = "กาแฟ น้ำ และ กล้วย"
Var DrinkDescription = "Espresso, Tokyo Banana Syrup, Sugar, Water"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_Banana_cafe_latte"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_Banana_cafe_latte.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $12-01-01-0042.Price
Var PriceD2 = $12-01-02-0042.Price
@ -17289,7 +17289,7 @@ Sugar, Water" </Value>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showthaiText </State>
<Value> "ลาเต้โตเกียวบานานา" </Value>
<Value> "ลาเต้โตเกียวบานานา" </Value>
</Text>
<Text>
<X> 16 </X>
@ -17454,36 +17454,36 @@ Sugar, Water" </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
;
; 12-21-01-0042 12-21-02-0042 12-21-03-0042
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( .Button,.Button,.Button,$Sum) </State>
<State> Flag( 12-21-01-0042.Button,12-21-02-0042.Button,12-21-03-0042.Button,$Sum122101004212210200421221030042) </State>
<Button>
<State> $Sum </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_Banana_cafe_latte" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_Banana_cafe_latte" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_Banana_cafe_latte" </FilenameDisable>
<State> $Sum122101004212210200421221030042 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_Banana_cafe_latte.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_Banana_cafe_latte.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_Banana_cafe_latte.png" </FilenameDisable>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var NameDrink = "TOKYO BANANA LATTE"
Var NameDrinkTH = "ลาเต้โตเกียวบานานา"
Var NameDrinkTH = "ลาเต้โตเกียวบานานา"
Var DrinkDescriptionTH = "กาแฟ น้ำ และ กล้วย"
Var DrinkDescription = "Espresso, Tokyo Banana Syrup, Sugar, Water"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_Banana_cafe_latte"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_Banana_cafe_latte.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $.Price
Var PriceD2 = $.Price
Var PriceD3 = $.Price
Var PD_CODE1 = "##-##-##-####"
Var PD_CODE2 = "##-##-##-####"
Var PD_CODE3 = "##-##-##-####"
Var PD_STAGE_1 = "Disable2"
Var PD_STAGE_2 = "Disable2"
Var PD_STAGE_3 = "Disable2"
Var PriceD1 = $12-21-01-0042.Price
Var PriceD2 = $12-21-02-0042.Price
Var PriceD3 = $12-21-03-0042.Price
Var PD_CODE1 = "12-21-01-0042"
Var PD_CODE2 = "12-21-02-0042"
Var PD_CODE3 = "12-21-03-0042"
Var PD_STAGE_1 = $12-21-01-0042.Button
Var PD_STAGE_2 = $12-21-02-0042.Button
Var PD_STAGE_3 = $12-21-03-0042.Button
Var SelectCountDrinkType = 0
Var DefaultDrinkType = 0
If PD_STAGE_1 = "Enable" Then
@ -17499,28 +17499,28 @@ Sugar, Water" </Value>
Var DefaultDrinkType = 3
EndIf
If PD_STAGE_2 = "Enable" Then
Topping "Load" ""
Topping "Load" "12-21-02-0042"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" ""
Topping "Load" "12-21-01-0042"
Else
Topping "Load" ""
Topping "Load" "12-21-03-0042"
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_hot = $12-21-01-0042.NameE
Var menu_desc_eng_hot = $12-21-01-0042.descriptionE
Var menu_name_thai_hot = $12-21-01-0042.Name
Var menu_desc_thai_hot = $12-21-01-0042.description
Var menu_name_eng_cold = $##-##-##-####.NameE
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
Var menu_name_thai_cold = $##-##-##-####.Name
Var menu_desc_thai_cold = $##-##-##-####.description
Var menu_name_eng_cold = $12-21-02-0042.NameE
Var menu_desc_eng_cold = $12-21-02-0042.descriptionE
Var menu_name_thai_cold = $12-21-02-0042.Name
Var menu_desc_thai_cold = $12-21-02-0042.description
Var menu_name_eng_blender = $##-##-##-####.NameE
Var menu_desc_eng_blender = $##-##-##-####.descriptionE
Var menu_name_thai_blender = $##-##-##-####.Name
Var menu_desc_thai_blender = $##-##-##-####.description
Var menu_name_eng_blender = $12-21-03-0042.NameE
Var menu_desc_eng_blender = $12-21-03-0042.descriptionE
Var menu_name_thai_blender = $12-21-03-0042.Name
Var menu_desc_thai_blender = $12-21-03-0042.description
DEBUGVAR PD_STAGE_1
DEBUGVAR PD_STAGE_2
@ -17541,7 +17541,7 @@ Sugar, Water" </Value>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showthaiText </State>
<Value> "ลาเต้โตเกียวบานานา" </Value>
<Value> "ลาเต้โตเกียวบานานา" </Value>
</Text>
<Text>
<X> 16 </X>
@ -17584,7 +17584,7 @@ Sugar, Water" </Value>
<Image>
<X> 16 </X>
<Y> 264 </Y>
<State> "Invisible" </State>
<State> $12-21-01-0042.Button </State>
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
</Image>
@ -17596,15 +17596,15 @@ Sugar, Water" </Value>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> "Invisible" </State>
<Value> StringFmt( $.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
<State> $12-21-01-0042.Button </State>
<Value> StringFmt( $12-21-01-0042.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
</Text>
<Image>
<X> 81 </X>
<Y> 264 </Y>
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
<State> "Invisible" </State>
<State> $12-21-02-0042.Button </State>
</Image>
<Text>
<X> 115 </X>
@ -17614,15 +17614,15 @@ Sugar, Water" </Value>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> "Invisible" </State>
<Value> StringFmt( $.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
<State> $12-21-02-0042.Button </State>
<Value> StringFmt( $12-21-02-0042.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
</Text>
<Image>
<X> 146 </X>
<Y> 264 </Y>
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
<State> "Invisible" </State>
<State> $12-21-03-0042.Button </State>
</Image>
<Text>
<X> 183 </X>
@ -17632,8 +17632,8 @@ Sugar, Water" </Value>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> "Invisible" </State>
<Value> StringFmt( $.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
<State> $12-21-03-0042.Button </State>
<Value> StringFmt( $12-21-03-0042.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
</Text>
<Image>
<X> 81 </X>
@ -17642,7 +17642,11 @@ Sugar, Water" </Value>
eval(
If ICE_PROCESS_STATUS = 2 Then
Var ice_tab_process_show = "Invisible"
If $Sum122101004212210200421221030042 = "Disable" Then
Var ice_tab_process_show = "Disable"
Else
Var ice_tab_process_show = "Enable"
EndIf
Else
Var ice_tab_process_show = "Invisible"
@ -17658,10 +17662,10 @@ Sugar, Water" </Value>
<Y> 117 </Y>
<State>
eval(
If $Sum = "Disable" Then
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
STRCONTAIN "ERR" $##-##-##-####.TAG tag2_is_disable
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
If $Sum122101004212210200421221030042 = "Disable" Then
STRCONTAIN "ERR" $12-21-01-0042.TAG tag1_is_disable
STRCONTAIN "ERR" $12-21-02-0042.TAG tag2_is_disable
STRCONTAIN "ERR" $12-21-03-0042.TAG tag3_is_disable
Var return = "Invisible"
If tag1_is_disable = "true" Then
Var return = "Enable"
@ -17697,7 +17701,7 @@ Sugar, Water" </Value>
<Font> MITRegularTTF </Font>
<Color> 0x5A5A5A </Color>
<Mode> "disable-show" </Mode>
<State> $Sum </State>
<State> $Sum122101004212210200421221030042 </State>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>

View file

@ -529,7 +529,7 @@
Var block_index_override = 0
Var block_index_move = 0
</Script>
; menu_new_list 14
; menu_new_list 16
; ==================> Len = 16
; 12-03-01-0005 12-03-02-0005 12-03-03-0005
<Block>
@ -4030,6 +4030,513 @@ VOLCANO" </Value>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; - - -
; ==================> Len = 11
; 12-03-01-0023 12-03-02-0023 12-03-03-0023
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-03-01-0023.Button,12-03-02-0023.Button,12-03-03-0023.Button,$Sum120301002312030200231203030023) </State>
<Button>
<State> $Sum120301002312030200231203030023 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_Banana_milk.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_Banana_milk.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_Banana_milk.png" </FilenameDisable>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var NameDrink = "TOKYO BANANA MILK"
Var NameDrinkTH = "นมโตเกียวบานาน่า"
Var DrinkDescriptionTH = "น้ำเชื่อมโตเกียวบานาน่า นมและน้ำตาล"
Var DrinkDescription = "Tokyo Banana Syrup, Milk, Sugar"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_Banana_milk.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $12-03-01-0023.Price
Var PriceD2 = $12-03-02-0023.Price
Var PriceD3 = $12-03-03-0023.Price
Var PD_CODE1 = "12-03-01-0023"
Var PD_CODE2 = "12-03-02-0023"
Var PD_CODE3 = "12-03-03-0023"
Var PD_STAGE_1 = $12-03-01-0023.Button
Var PD_STAGE_2 = $12-03-02-0023.Button
Var PD_STAGE_3 = $12-03-03-0023.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-03-02-0023"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "12-03-01-0023"
Else
Topping "Load" "12-03-03-0023"
EndIf
EndIf
Var menu_name_eng_hot = $12-03-01-0023.NameE
Var menu_desc_eng_hot = $12-03-01-0023.descriptionE
Var menu_name_thai_hot = $12-03-01-0023.Name
Var menu_desc_thai_hot = $12-03-01-0023.description
Var menu_name_eng_cold = $12-03-02-0023.NameE
Var menu_desc_eng_cold = $12-03-02-0023.descriptionE
Var menu_name_thai_cold = $12-03-02-0023.Name
Var menu_desc_thai_cold = $12-03-02-0023.description
Var menu_name_eng_blender = $12-03-03-0023.NameE
Var menu_desc_eng_blender = $12-03-03-0023.descriptionE
Var menu_name_thai_blender = $12-03-03-0023.Name
Var menu_desc_thai_blender = $12-03-03-0023.description
DEBUGVAR PD_STAGE_1
DEBUGVAR PD_STAGE_2
DEBUGVAR PD_STAGE_3
Var SelectDrinkType = 0
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
</EventOnClick>
</Button>
<Text>
<X> 16 </X>
<Y> 164 </Y>
<Size> 24 </Size>
<Width>220</Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showthaiText </State>
<Value> "นมโตเกียวบานาน่า" </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 220 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showthaiText </State>
<Value> "น้ำเชื่อมโตเกียวบานาน่า นมและน้ำตาล" </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 164 </Y>
<Size> 22 </Size>
<Width>220</Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showengText </State>
<Value> "TOKYO
BANANA MILK" </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> "Tokyo Banana Syrup, 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-03-01-0023.Button </State>
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
</Image>
<Text>
<X> 50 </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-03-01-0023.Button </State>
<Value> StringFmt( $12-03-01-0023.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
</Text>
<Image>
<X> 81 </X>
<Y> 264 </Y>
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
<State> $12-03-02-0023.Button </State>
</Image>
<Text>
<X> 115 </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-03-02-0023.Button </State>
<Value> StringFmt( $12-03-02-0023.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
</Text>
<Image>
<X> 146 </X>
<Y> 264 </Y>
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
<State> $12-03-03-0023.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-03-03-0023.Button </State>
<Value> StringFmt( $12-03-03-0023.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
</Text>
<Image>
<X> 81 </X>
<Y> 264 </Y>
<State>
eval(
If ICE_PROCESS_STATUS = 2 Then
If $Sum120301002312030200231203030023 = "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 $Sum120301002312030200231203030023 = "Disable" Then
STRCONTAIN "ERR" $12-03-01-0023.TAG tag1_is_disable
STRCONTAIN "ERR" $12-03-02-0023.TAG tag2_is_disable
STRCONTAIN "ERR" $12-03-03-0023.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> $Sum120301002312030200231203030023 </State>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; - - -
; ==================> Len = 11
; 12-03-01-0024 12-03-02-0024 12-03-03-0024
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-03-01-0024.Button,12-03-02-0024.Button,12-03-03-0024.Button,$Sum120301002412030200241203030024) </State>
<Button>
<State> $Sum120301002412030200241203030024 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_ChocoBanana_milk.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_ChocoBanana_milk.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_ChocoBanana_milk.png" </FilenameDisable>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var NameDrink = "CHOCO TOKYO BANANA MILK"
Var NameDrinkTH = "นมช็อกโกโตเกียว บานาน่า"
Var DrinkDescriptionTH = "โกโก้ น้ำเชื่อมโตเกียวบานาน่า นมและน้ำตาล"
Var DrinkDescription = "Tokyo Banana Syrup, Milk, Sugar"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_ChocoBanana_milk.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $12-03-01-0024.Price
Var PriceD2 = $12-03-02-0024.Price
Var PriceD3 = $12-03-03-0024.Price
Var PD_CODE1 = "12-03-01-0024"
Var PD_CODE2 = "12-03-02-0024"
Var PD_CODE3 = "12-03-03-0024"
Var PD_STAGE_1 = $12-03-01-0024.Button
Var PD_STAGE_2 = $12-03-02-0024.Button
Var PD_STAGE_3 = $12-03-03-0024.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-03-02-0024"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "12-03-01-0024"
Else
Topping "Load" "12-03-03-0024"
EndIf
EndIf
Var menu_name_eng_hot = $12-03-01-0024.NameE
Var menu_desc_eng_hot = $12-03-01-0024.descriptionE
Var menu_name_thai_hot = $12-03-01-0024.Name
Var menu_desc_thai_hot = $12-03-01-0024.description
Var menu_name_eng_cold = $12-03-02-0024.NameE
Var menu_desc_eng_cold = $12-03-02-0024.descriptionE
Var menu_name_thai_cold = $12-03-02-0024.Name
Var menu_desc_thai_cold = $12-03-02-0024.description
Var menu_name_eng_blender = $12-03-03-0024.NameE
Var menu_desc_eng_blender = $12-03-03-0024.descriptionE
Var menu_name_thai_blender = $12-03-03-0024.Name
Var menu_desc_thai_blender = $12-03-03-0024.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> "CHOCO TOKYO
BANANA MILK" </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> "Tokyo Banana Syrup, 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-03-01-0024.Button </State>
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
</Image>
<Text>
<X> 50 </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-03-01-0024.Button </State>
<Value> StringFmt( $12-03-01-0024.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
</Text>
<Image>
<X> 81 </X>
<Y> 264 </Y>
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
<State> $12-03-02-0024.Button </State>
</Image>
<Text>
<X> 115 </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-03-02-0024.Button </State>
<Value> StringFmt( $12-03-02-0024.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
</Text>
<Image>
<X> 146 </X>
<Y> 264 </Y>
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
<State> $12-03-03-0024.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-03-03-0024.Button </State>
<Value> StringFmt( $12-03-03-0024.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
</Text>
<Image>
<X> 81 </X>
<Y> 264 </Y>
<State>
eval(
If ICE_PROCESS_STATUS = 2 Then
If $Sum120301002412030200241203030024 = "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 $Sum120301002412030200241203030024 = "Disable" Then
STRCONTAIN "ERR" $12-03-01-0024.TAG tag1_is_disable
STRCONTAIN "ERR" $12-03-02-0024.TAG tag2_is_disable
STRCONTAIN "ERR" $12-03-03-0024.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> $Sum120301002412030200241203030024 </State>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; - - -
</FrameScroll>