This commit is contained in:
kong 2022-06-23 13:11:38 +07:00
parent 373ebb5937
commit 14720f9d4a
19 changed files with 810 additions and 110 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB

View file

@ -497,12 +497,12 @@
;stop_now ;stop_now
If NETCORE_LOST_CNT > 120 Then ;If NETCORE_LOST_CNT > 120 Then
Var stop_now = "true" ; Var stop_now = "true"
Var MachineErrorDetailAll = "???" ; Var MachineErrorDetailAll = "???"
SAVELOG "NETCORE_LOST_CNT" ; SAVELOG "NETCORE_LOST_CNT"
Open "ROOT/taobin_project/xml/page_show_error.xml" ; Open "ROOT/taobin_project/xml/page_show_error.xml"
EndIf ;EndIf
EndIf EndIf
If MachineStage = "drink-failed" Then If MachineStage = "drink-failed" Then
@ -627,20 +627,6 @@
If Seeker = "curr" Then
If DoorCupPosition = "bottom" Then
; It normal
Var EmergencyStop = "false"
Else
Var EmergencyStop = "true"
;Open "ROOT/taobin_project/xml/page_show_error.xml"
EndIf
EndIf
Refresh Refresh
TimerReset TimerReset

View file

@ -3452,15 +3452,15 @@ VOLCANO" </Value>
<Value> ice_show_open </Value> <Value> ice_show_open </Value>
</Text> </Text>
</Block> </Block>
; - - 12-03-03-0022 ; 12-03-01-0022 12-03-02-0022 12-03-03-0022
<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-03-0022.Button,$Sum1203030022) </State> <State> Flag( 12-03-01-0022.Button,12-03-02-0022.Button,12-03-03-0022.Button,$Sum120301002212030200221203030022) </State>
<Button> <Button>
<State> $Sum1203030022 </State> <State> $Sum120301002212030200221203030022 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_Melon_smoothie.png" </Filename> <Filename> "ROOT/taobin_project/image/page_drink_n//bn_Melon_smoothie.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_Melon_smoothie.png" </FilenamePress> <FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_Melon_smoothie.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n//bn_Melon_smoothie.png" </FilenameDisable> <FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n//bn_Melon_smoothie.png" </FilenameDisable>
@ -3473,14 +3473,14 @@ VOLCANO" </Value>
Var DrinkDescription = "Milk & Melon Syrup" Var DrinkDescription = "Milk & Melon Syrup"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_Melon_smoothie.png" Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_Melon_smoothie.png"
Var OpenFromXML = CurrentXMLFileName2 Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $-.Price Var PriceD1 = $12-03-01-0022.Price
Var PriceD2 = $-.Price Var PriceD2 = $12-03-02-0022.Price
Var PriceD3 = $12-03-03-0022.Price Var PriceD3 = $12-03-03-0022.Price
Var PD_CODE1 = "##-##-##-####" Var PD_CODE1 = "12-03-01-0022"
Var PD_CODE2 = "##-##-##-####" Var PD_CODE2 = "12-03-02-0022"
Var PD_CODE3 = "12-03-03-0022" Var PD_CODE3 = "12-03-03-0022"
Var PD_STAGE_1 = "Disable2" Var PD_STAGE_1 = $12-03-01-0022.Button
Var PD_STAGE_2 = "Disable2" Var PD_STAGE_2 = $12-03-02-0022.Button
Var PD_STAGE_3 = $12-03-03-0022.Button Var PD_STAGE_3 = $12-03-03-0022.Button
Var SelectCountDrinkType = 0 Var SelectCountDrinkType = 0
Var DefaultDrinkType = 0 Var DefaultDrinkType = 0
@ -3497,23 +3497,23 @@ VOLCANO" </Value>
Var DefaultDrinkType = 3 Var DefaultDrinkType = 3
EndIf EndIf
If PD_STAGE_2 = "Enable" Then If PD_STAGE_2 = "Enable" Then
Topping "Load" "-" Topping "Load" "12-03-02-0022"
Else Else
If PD_STAGE_1 = "Enable" Then If PD_STAGE_1 = "Enable" Then
Topping "Load" "-" Topping "Load" "12-03-01-0022"
Else Else
Topping "Load" "12-03-03-0022" Topping "Load" "12-03-03-0022"
EndIf EndIf
EndIf EndIf
Var menu_name_eng_hot = $##-##-##-####.NameE Var menu_name_eng_hot = $12-03-01-0022.NameE
Var menu_desc_eng_hot = $##-##-##-####.descriptionE Var menu_desc_eng_hot = $12-03-01-0022.descriptionE
Var menu_name_thai_hot = $##-##-##-####.Name Var menu_name_thai_hot = $12-03-01-0022.Name
Var menu_desc_thai_hot = $##-##-##-####.description Var menu_desc_thai_hot = $12-03-01-0022.description
Var menu_name_eng_cold = $##-##-##-####.NameE Var menu_name_eng_cold = $12-03-02-0022.NameE
Var menu_desc_eng_cold = $##-##-##-####.descriptionE Var menu_desc_eng_cold = $12-03-02-0022.descriptionE
Var menu_name_thai_cold = $##-##-##-####.Name Var menu_name_thai_cold = $12-03-02-0022.Name
Var menu_desc_thai_cold = $##-##-##-####.description Var menu_desc_thai_cold = $12-03-02-0022.description
Var menu_name_eng_blender = $12-03-03-0022.NameE Var menu_name_eng_blender = $12-03-03-0022.NameE
Var menu_desc_eng_blender = $12-03-03-0022.descriptionE Var menu_desc_eng_blender = $12-03-03-0022.descriptionE
@ -3579,7 +3579,7 @@ VOLCANO" </Value>
<Image> <Image>
<X> 16 </X> <X> 16 </X>
<Y> 264 </Y> <Y> 264 </Y>
<State> "Invisible" </State> <State> $12-03-01-0022.Button </State>
<Filename> Var( DirImage2 + "hot.png" ) </Filename> <Filename> Var( DirImage2 + "hot.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable> <FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
</Image> </Image>
@ -3591,15 +3591,15 @@ VOLCANO" </Value>
<Font> KanitMediumTTF </Font> <Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color> <Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable> <ColorDisable> 0xEAE6E1 </ColorDisable>
<State> "Invisible" </State> <State> $12-03-01-0022.Button </State>
<Value> Var( "฿" + $-.Price ) </Value> <Value> Var( "฿" + $12-03-01-0022.Price ) </Value>
</Text> </Text>
<Image> <Image>
<X> 81 </X> <X> 81 </X>
<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> "Invisible" </State> <State> $12-03-02-0022.Button </State>
</Image> </Image>
<Text> <Text>
<X> 115 </X> <X> 115 </X>
@ -3609,8 +3609,8 @@ VOLCANO" </Value>
<Font> KanitMediumTTF </Font> <Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color> <Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable> <ColorDisable> 0xEAE6E1 </ColorDisable>
<State> "Invisible" </State> <State> $12-03-02-0022.Button </State>
<Value> Var( "฿" + $-.Price ) </Value> <Value> Var( "฿" + $12-03-02-0022.Price ) </Value>
</Text> </Text>
<Image> <Image>
<X> 146 </X> <X> 146 </X>
@ -3637,7 +3637,11 @@ VOLCANO" </Value>
eval( eval(
If ICE_PROCESS_STATUS = 2 Then If ICE_PROCESS_STATUS = 2 Then
Var ice_tab_process_show = "Invisible" If $Sum120301002212030200221203030022 = "Disable" Then
Var ice_tab_process_show = "Disable"
Else
Var ice_tab_process_show = "Enable"
EndIf
Else Else
Var ice_tab_process_show = "Invisible" Var ice_tab_process_show = "Invisible"
@ -3653,9 +3657,9 @@ VOLCANO" </Value>
<Y> 117 </Y> <Y> 117 </Y>
<State> <State>
eval( eval(
If $Sum1203030022 = "Disable" Then If $Sum120301002212030200221203030022 = "Disable" Then
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable STRCONTAIN "ERR" $12-03-01-0022.TAG tag1_is_disable
STRCONTAIN "ERR" $##-##-##-####.TAG tag2_is_disable STRCONTAIN "ERR" $12-03-02-0022.TAG tag2_is_disable
STRCONTAIN "ERR" $12-03-03-0022.TAG tag3_is_disable STRCONTAIN "ERR" $12-03-03-0022.TAG tag3_is_disable
Var return = "Invisible" Var return = "Invisible"
If tag1_is_disable = "true" Then If tag1_is_disable = "true" Then

View file

@ -666,7 +666,7 @@
<Service> testservice </Service> <Service> testservice </Service>
</QRCode> </QRCode>
</Block> </Block>
; menu_new_list 35 ; menu_new_list 36
; 12-06-01-0001 - - ; 12-06-01-0001 - -
<Block> <Block>
<MarginLeft> 33 </MarginLeft> <MarginLeft> 33 </MarginLeft>
@ -5706,7 +5706,7 @@ Pink Rose & Berry" </Value>
Var NameDrink = "LATTE" Var NameDrink = "LATTE"
Var NameDrinkTH = "ลาเต้" Var NameDrinkTH = "ลาเต้"
Var DrinkDescriptionTH = "กาแฟ นม และ นม" Var DrinkDescriptionTH = "กาแฟ นม และ นม"
Var DrinkDescription = "Espresso, Milk, Foamed milk" Var DrinkDescription = "Espresso, Milk, milk"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_latte.png" Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_latte.png"
Var OpenFromXML = CurrentXMLFileName2 Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $12-01-01-0004.Price Var PriceD1 = $12-01-01-0004.Price
@ -5806,7 +5806,7 @@ Pink Rose & Berry" </Value>
<Color> 0x6F5F51 </Color> <Color> 0x6F5F51 </Color>
<State> showengText </State> <State> showengText </State>
<Value> "Espresso, Milk, <Value> "Espresso, Milk,
Foamed milk" </Value> milk" </Value>
</Text> </Text>
<Image> <Image>
<X> 16 </X> <X> 16 </X>
@ -5924,6 +5924,242 @@ Foamed milk" </Value>
<State> ice_tab_process_show </State> <State> ice_tab_process_show </State>
<Value> ice_show_open </Value> <Value> ice_show_open </Value>
</Text> </Text>
</Block>
; 12-02-01-0037 12-02-02-0037 12-02-03-0037
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-02-01-0037.Button,12-02-02-0037.Button,12-02-03-0037.Button,Disable=Invisible,$Sum120201003712020200371202030037) </State>
<Button>
<State> $Sum120201003712020200371202030037 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_hojicha_milk_tea_sing" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_hojicha_milk_tea_sing" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n//bn_hot_hojicha_milk_tea_sing" </FilenameDisable>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var NameDrink = "HOJICHA LATTE"
Var NameDrinkTH = "โฮจิฉะลาเต้"
Var DrinkDescriptionTH = "ชาเขียวคั่ว และ นม"
Var DrinkDescription = "Hojicha and milk"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_hojicha_milk_tea_sing"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $12-02-01-0037.Price
Var PriceD2 = $12-02-02-0037.Price
Var PriceD3 = $12-02-03-0037.Price
Var PD_CODE1 = "12-02-01-0037"
Var PD_CODE2 = "12-02-02-0037"
Var PD_CODE3 = "12-02-03-0037"
Var PD_STAGE_1 = $12-02-01-0037.Button
Var PD_STAGE_2 = $12-02-02-0037.Button
Var PD_STAGE_3 = $12-02-03-0037.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-02-02-0037"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "12-02-01-0037"
Else
Topping "Load" "12-02-03-0037"
EndIf
EndIf
Var menu_name_eng_hot = $12-02-01-0037.NameE
Var menu_desc_eng_hot = $12-02-01-0037.descriptionE
Var menu_name_thai_hot = $12-02-01-0037.Name
Var menu_desc_thai_hot = $12-02-01-0037.description
Var menu_name_eng_cold = $12-02-02-0037.NameE
Var menu_desc_eng_cold = $12-02-02-0037.descriptionE
Var menu_name_thai_cold = $12-02-02-0037.Name
Var menu_desc_thai_cold = $12-02-02-0037.description
Var menu_name_eng_blender = $12-02-03-0037.NameE
Var menu_desc_eng_blender = $12-02-03-0037.descriptionE
Var menu_name_thai_blender = $12-02-03-0037.Name
Var menu_desc_thai_blender = $12-02-03-0037.description
DEBUGVAR PD_STAGE_1
DEBUGVAR PD_STAGE_2
DEBUGVAR PD_STAGE_3
Open "ROOT/taobin_project/xml/page_topping_select4.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> "HOJICHA 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> "Hojicha and milk" </Value>
</Text>
<Image>
<X> 16 </X>
<Y> 264 </Y>
<Filename> Var( DirImage2 + "option_deactive.png" ) </Filename>
</Image>
<Image>
<X> 16 </X>
<Y> 264 </Y>
<State> $12-02-01-0037.Button </State>
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
</Image>
<Text>
<X> 50 </X>
<Y> 265 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-02-01-0037.Button </State>
<Value> Var( "฿" + $12-02-01-0037.Price ) </Value>
</Text>
<Image>
<X> 81 </X>
<Y> 264 </Y>
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
<State> $12-02-02-0037.Button </State>
</Image>
<Text>
<X> 115 </X>
<Y> 265 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-02-02-0037.Button </State>
<Value> Var( "฿" + $12-02-02-0037.Price ) </Value>
</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-0037.Button </State>
</Image>
<Text>
<X> 183 </X>
<Y> 265 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-02-03-0037.Button </State>
<Value> Var( "฿" + $12-02-03-0037.Price ) </Value>
</Text>
<Image>
<X> 81 </X>
<Y> 264 </Y>
<State>
eval(
If ICE_PROCESS_STATUS = 2 Then
If $Sum120201003712020200371202030037 = "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 $Sum120201003712020200371202030037 = "Disable" Then
STRCONTAIN "ERR" $12-02-01-0037.TAG tag1_is_disable
STRCONTAIN "ERR" $12-02-02-0037.TAG tag2_is_disable
STRCONTAIN "ERR" $12-02-03-0037.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_err.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>
</Block> </Block>
; 12-02-01-0004 12-02-02-0004 12-02-03-0004 ; 12-02-01-0004 12-02-02-0004 12-02-03-0004
<Block> <Block>
@ -7337,36 +7573,36 @@ SMOOTHIE" </Value>
<Value> ice_show_open </Value> <Value> ice_show_open </Value>
</Text> </Text>
</Block> </Block>
; - - 12-03-03-0010 ; 12-03-01-0022 12-03-02-0022 12-03-03-0022
<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-03-0010.Button,Disable=Invisible,$Sum1203030010) </State> <State> Flag( 12-03-01-0022.Button,12-03-02-0022.Button,12-03-03-0022.Button,Disable=Invisible,$Sum120301002212030200221203030022) </State>
<Button> <Button>
<State> $Sum1203030010 </State> <State> $Sum120301002212030200221203030022 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_strawberrycocoa_smoothie.png" </Filename> <Filename> "ROOT/taobin_project/image/page_drink_n//bn_Melon_smoothie.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_iced_strawberrycocoa_smoothie.png" </FilenamePress> <FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_Melon_smoothie.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n//bn_iced_strawberrycocoa_smoothie.png" </FilenameDisable> <FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n//bn_Melon_smoothie.png" </FilenameDisable>
<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 = "STRAWCOCOA SMOOTHIE" Var NameDrink = "MELON MILK"
Var NameDrinkTH = "โกโก้สตอเบอร์รี่ปั่น" Var NameDrinkTH = "นมเมล่อน"
Var DrinkDescriptionTH = "นม น้ำเชื่อมสตอเบอร์รี่ โกโก้ และน้ำแข็ง" Var DrinkDescriptionTH = "นม และ น้ำเชื่อมเมล่อน"
Var DrinkDescription = "Milk, Strawberry Syrup" Var DrinkDescription = "Milk & Melon Syrup"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_iced_strawberrycocoa_smoothie.png" Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_Melon_smoothie.png"
Var OpenFromXML = CurrentXMLFileName2 Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $-.Price Var PriceD1 = $12-03-01-0022.Price
Var PriceD2 = $-.Price Var PriceD2 = $12-03-02-0022.Price
Var PriceD3 = $12-03-03-0010.Price Var PriceD3 = $12-03-03-0022.Price
Var PD_CODE1 = "##-##-##-####" Var PD_CODE1 = "12-03-01-0022"
Var PD_CODE2 = "##-##-##-####" Var PD_CODE2 = "12-03-02-0022"
Var PD_CODE3 = "12-03-03-0010" Var PD_CODE3 = "12-03-03-0022"
Var PD_STAGE_1 = "Disable2" Var PD_STAGE_1 = $12-03-01-0022.Button
Var PD_STAGE_2 = "Disable2" Var PD_STAGE_2 = $12-03-02-0022.Button
Var PD_STAGE_3 = $12-03-03-0010.Button Var PD_STAGE_3 = $12-03-03-0022.Button
Var SelectCountDrinkType = 0 Var SelectCountDrinkType = 0
Var DefaultDrinkType = 0 Var DefaultDrinkType = 0
If PD_STAGE_1 = "Enable" Then If PD_STAGE_1 = "Enable" Then
@ -7382,28 +7618,28 @@ SMOOTHIE" </Value>
Var DefaultDrinkType = 3 Var DefaultDrinkType = 3
EndIf EndIf
If PD_STAGE_2 = "Enable" Then If PD_STAGE_2 = "Enable" Then
Topping "Load" "-" Topping "Load" "12-03-02-0022"
Else Else
If PD_STAGE_1 = "Enable" Then If PD_STAGE_1 = "Enable" Then
Topping "Load" "-" Topping "Load" "12-03-01-0022"
Else Else
Topping "Load" "12-03-03-0010" Topping "Load" "12-03-03-0022"
EndIf EndIf
EndIf EndIf
Var menu_name_eng_hot = $##-##-##-####.NameE Var menu_name_eng_hot = $12-03-01-0022.NameE
Var menu_desc_eng_hot = $##-##-##-####.descriptionE Var menu_desc_eng_hot = $12-03-01-0022.descriptionE
Var menu_name_thai_hot = $##-##-##-####.Name Var menu_name_thai_hot = $12-03-01-0022.Name
Var menu_desc_thai_hot = $##-##-##-####.description Var menu_desc_thai_hot = $12-03-01-0022.description
Var menu_name_eng_cold = $##-##-##-####.NameE Var menu_name_eng_cold = $12-03-02-0022.NameE
Var menu_desc_eng_cold = $##-##-##-####.descriptionE Var menu_desc_eng_cold = $12-03-02-0022.descriptionE
Var menu_name_thai_cold = $##-##-##-####.Name Var menu_name_thai_cold = $12-03-02-0022.Name
Var menu_desc_thai_cold = $##-##-##-####.description Var menu_desc_thai_cold = $12-03-02-0022.description
Var menu_name_eng_blender = $12-03-03-0010.NameE Var menu_name_eng_blender = $12-03-03-0022.NameE
Var menu_desc_eng_blender = $12-03-03-0010.descriptionE Var menu_desc_eng_blender = $12-03-03-0022.descriptionE
Var menu_name_thai_blender = $12-03-03-0010.Name Var menu_name_thai_blender = $12-03-03-0022.Name
Var menu_desc_thai_blender = $12-03-03-0010.description Var menu_desc_thai_blender = $12-03-03-0022.description
DEBUGVAR PD_STAGE_1 DEBUGVAR PD_STAGE_1
DEBUGVAR PD_STAGE_2 DEBUGVAR PD_STAGE_2
@ -7423,7 +7659,7 @@ SMOOTHIE" </Value>
<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>
@ -7433,8 +7669,7 @@ SMOOTHIE" </Value>
<Font> KanitMediumTTF </Font> <Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color> <Color> 0x6F5F51 </Color>
<State> showthaiText </State> <State> showthaiText </State>
<Value> "นม น้ำเชื่อมสตอเบอร์รี่ <Value> "นม และ น้ำเชื่อมเมล่อน" </Value>
โกโก้ และน้ำแข็ง" </Value>
</Text> </Text>
<Text> <Text>
<X> 16 </X> <X> 16 </X>
@ -7445,8 +7680,7 @@ SMOOTHIE" </Value>
<Font> KanitMediumTTF </Font> <Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color> <Color> 0x322B26 </Color>
<State> showengText </State> <State> showengText </State>
<Value> "STRAWCOCOA <Value> "MELON MILK" </Value>
SMOOTHIE" </Value>
</Text> </Text>
<Text> <Text>
<X> 16 </X> <X> 16 </X>
@ -7456,7 +7690,7 @@ SMOOTHIE" </Value>
<Font> KanitMediumTTF </Font> <Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color> <Color> 0x6F5F51 </Color>
<State> showengText </State> <State> showengText </State>
<Value> "Milk, Strawberry Syrup" </Value> <Value> "Milk & Melon Syrup" </Value>
</Text> </Text>
<Image> <Image>
<X> 16 </X> <X> 16 </X>
@ -7466,7 +7700,7 @@ SMOOTHIE" </Value>
<Image> <Image>
<X> 16 </X> <X> 16 </X>
<Y> 264 </Y> <Y> 264 </Y>
<State> "Invisible" </State> <State> $12-03-01-0022.Button </State>
<Filename> Var( DirImage2 + "hot.png" ) </Filename> <Filename> Var( DirImage2 + "hot.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable> <FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
</Image> </Image>
@ -7478,15 +7712,15 @@ SMOOTHIE" </Value>
<Font> KanitMediumTTF </Font> <Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color> <Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable> <ColorDisable> 0xEAE6E1 </ColorDisable>
<State> "Invisible" </State> <State> $12-03-01-0022.Button </State>
<Value> Var( "฿" + $-.Price ) </Value> <Value> Var( "฿" + $12-03-01-0022.Price ) </Value>
</Text> </Text>
<Image> <Image>
<X> 81 </X> <X> 81 </X>
<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> "Invisible" </State> <State> $12-03-02-0022.Button </State>
</Image> </Image>
<Text> <Text>
<X> 115 </X> <X> 115 </X>
@ -7496,15 +7730,15 @@ SMOOTHIE" </Value>
<Font> KanitMediumTTF </Font> <Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color> <Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable> <ColorDisable> 0xEAE6E1 </ColorDisable>
<State> "Invisible" </State> <State> $12-03-02-0022.Button </State>
<Value> Var( "฿" + $-.Price ) </Value> <Value> Var( "฿" + $12-03-02-0022.Price ) </Value>
</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-0010.Button </State> <State> $12-03-03-0022.Button </State>
</Image> </Image>
<Text> <Text>
<X> 183 </X> <X> 183 </X>
@ -7514,8 +7748,8 @@ SMOOTHIE" </Value>
<Font> KanitMediumTTF </Font> <Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color> <Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable> <ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-03-03-0010.Button </State> <State> $12-03-03-0022.Button </State>
<Value> Var( "฿" + $12-03-03-0010.Price ) </Value> <Value> Var( "฿" + $12-03-03-0022.Price ) </Value>
</Text> </Text>
<Image> <Image>
<X> 81 </X> <X> 81 </X>
@ -7524,7 +7758,11 @@ SMOOTHIE" </Value>
eval( eval(
If ICE_PROCESS_STATUS = 2 Then If ICE_PROCESS_STATUS = 2 Then
Var ice_tab_process_show = "Invisible" If $Sum120301002212030200221203030022 = "Disable" Then
Var ice_tab_process_show = "Disable"
Else
Var ice_tab_process_show = "Enable"
EndIf
Else Else
Var ice_tab_process_show = "Invisible" Var ice_tab_process_show = "Invisible"
@ -7540,10 +7778,10 @@ SMOOTHIE" </Value>
<Y> 117 </Y> <Y> 117 </Y>
<State> <State>
eval( eval(
If $Sum1203030010 = "Disable" Then If $Sum120301002212030200221203030022 = "Disable" Then
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable STRCONTAIN "ERR" $12-03-01-0022.TAG tag1_is_disable
STRCONTAIN "ERR" $##-##-##-####.TAG tag2_is_disable STRCONTAIN "ERR" $12-03-02-0022.TAG tag2_is_disable
STRCONTAIN "ERR" $12-03-03-0010.TAG tag3_is_disable STRCONTAIN "ERR" $12-03-03-0022.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"

View file

@ -632,7 +632,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 25 ; menu_new_list 27
; 12-02-01-0001 12-02-02-0001 12-02-03-0001 ; 12-02-01-0001 12-02-02-0001 12-02-03-0001
<Block> <Block>
<MarginLeft> 33 </MarginLeft> <MarginLeft> 33 </MarginLeft>
@ -3229,6 +3229,242 @@ GINGER TEA" </Value>
<State> ice_tab_process_show </State> <State> ice_tab_process_show </State>
<Value> ice_show_open </Value> <Value> ice_show_open </Value>
</Text> </Text>
</Block>
; 12-02-01-0037 12-02-02-0037 12-02-03-0037
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-02-01-0037.Button,12-02-02-0037.Button,12-02-03-0037.Button,$Sum120201003712020200371202030037) </State>
<Button>
<State> $Sum120201003712020200371202030037 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_hojicha_milk_tea_sing.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_hojicha_milk_tea_sing.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n//bn_hot_hojicha_milk_tea_sing.png" </FilenameDisable>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var NameDrink = "HOJICHA LATTE"
Var NameDrinkTH = "โฮจิฉะลาเต้"
Var DrinkDescriptionTH = "ชาเขียวคั่ว และ นม"
Var DrinkDescription = "Hojicha and milk"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_hojicha_milk_tea_sing.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $12-02-01-0037.Price
Var PriceD2 = $12-02-02-0037.Price
Var PriceD3 = $12-02-03-0037.Price
Var PD_CODE1 = "12-02-01-0037"
Var PD_CODE2 = "12-02-02-0037"
Var PD_CODE3 = "12-02-03-0037"
Var PD_STAGE_1 = $12-02-01-0037.Button
Var PD_STAGE_2 = $12-02-02-0037.Button
Var PD_STAGE_3 = $12-02-03-0037.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-02-02-0037"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "12-02-01-0037"
Else
Topping "Load" "12-02-03-0037"
EndIf
EndIf
Var menu_name_eng_hot = $12-02-01-0037.NameE
Var menu_desc_eng_hot = $12-02-01-0037.descriptionE
Var menu_name_thai_hot = $12-02-01-0037.Name
Var menu_desc_thai_hot = $12-02-01-0037.description
Var menu_name_eng_cold = $12-02-02-0037.NameE
Var menu_desc_eng_cold = $12-02-02-0037.descriptionE
Var menu_name_thai_cold = $12-02-02-0037.Name
Var menu_desc_thai_cold = $12-02-02-0037.description
Var menu_name_eng_blender = $12-02-03-0037.NameE
Var menu_desc_eng_blender = $12-02-03-0037.descriptionE
Var menu_name_thai_blender = $12-02-03-0037.Name
Var menu_desc_thai_blender = $12-02-03-0037.description
DEBUGVAR PD_STAGE_1
DEBUGVAR PD_STAGE_2
DEBUGVAR PD_STAGE_3
Open "ROOT/taobin_project/xml/page_topping_select4.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> "HOJICHA 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> "Hojicha and milk" </Value>
</Text>
<Image>
<X> 16 </X>
<Y> 264 </Y>
<Filename> Var( DirImage2 + "option_deactive.png" ) </Filename>
</Image>
<Image>
<X> 16 </X>
<Y> 264 </Y>
<State> $12-02-01-0037.Button </State>
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
</Image>
<Text>
<X> 50 </X>
<Y> 265 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-02-01-0037.Button </State>
<Value> Var( "฿" + $12-02-01-0037.Price ) </Value>
</Text>
<Image>
<X> 81 </X>
<Y> 264 </Y>
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
<State> $12-02-02-0037.Button </State>
</Image>
<Text>
<X> 115 </X>
<Y> 265 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-02-02-0037.Button </State>
<Value> Var( "฿" + $12-02-02-0037.Price ) </Value>
</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-0037.Button </State>
</Image>
<Text>
<X> 183 </X>
<Y> 265 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-02-03-0037.Button </State>
<Value> Var( "฿" + $12-02-03-0037.Price ) </Value>
</Text>
<Image>
<X> 81 </X>
<Y> 264 </Y>
<State>
eval(
If ICE_PROCESS_STATUS = 2 Then
If $Sum120201003712020200371202030037 = "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 $Sum120201003712020200371202030037 = "Disable" Then
STRCONTAIN "ERR" $12-02-01-0037.TAG tag1_is_disable
STRCONTAIN "ERR" $12-02-02-0037.TAG tag2_is_disable
STRCONTAIN "ERR" $12-02-03-0037.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_err.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>
</Block> </Block>
; 12-02-01-0027 12-02-02-0027 12-02-03-0027 ; 12-02-01-0027 12-02-02-0027 12-02-03-0027
<Block> <Block>
@ -4177,6 +4413,242 @@ LIMENADE" </Value>
<State> ice_tab_process_show </State> <State> ice_tab_process_show </State>
<Value> ice_show_open </Value> <Value> ice_show_open </Value>
</Text> </Text>
</Block>
; 12-02-01-0036 12-02-02-0036 12-02-03-0036
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-02-01-0036.Button,12-02-02-0036.Button,12-02-03-0036.Button,$Sum120201003612020200361202030036) </State>
<Button>
<State> $Sum120201003612020200361202030036 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_hojicha_tea_sing.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_hojicha_tea_sing.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n//bn_hot_hojicha_tea_sing.png" </FilenameDisable>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var NameDrink = "HOJICHA"
Var NameDrinkTH = "โฮจิฉะ"
Var DrinkDescriptionTH = "ชาเขียวคั่ว "
Var DrinkDescription = "Hojicha"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_hojicha_tea_sing.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $12-02-01-0036.Price
Var PriceD2 = $12-02-02-0036.Price
Var PriceD3 = $12-02-03-0036.Price
Var PD_CODE1 = "12-02-01-0036"
Var PD_CODE2 = "12-02-02-0036"
Var PD_CODE3 = "12-02-03-0036"
Var PD_STAGE_1 = $12-02-01-0036.Button
Var PD_STAGE_2 = $12-02-02-0036.Button
Var PD_STAGE_3 = $12-02-03-0036.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-02-02-0036"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "12-02-01-0036"
Else
Topping "Load" "12-02-03-0036"
EndIf
EndIf
Var menu_name_eng_hot = $12-02-01-0036.NameE
Var menu_desc_eng_hot = $12-02-01-0036.descriptionE
Var menu_name_thai_hot = $12-02-01-0036.Name
Var menu_desc_thai_hot = $12-02-01-0036.description
Var menu_name_eng_cold = $12-02-02-0036.NameE
Var menu_desc_eng_cold = $12-02-02-0036.descriptionE
Var menu_name_thai_cold = $12-02-02-0036.Name
Var menu_desc_thai_cold = $12-02-02-0036.description
Var menu_name_eng_blender = $12-02-03-0036.NameE
Var menu_desc_eng_blender = $12-02-03-0036.descriptionE
Var menu_name_thai_blender = $12-02-03-0036.Name
Var menu_desc_thai_blender = $12-02-03-0036.description
DEBUGVAR PD_STAGE_1
DEBUGVAR PD_STAGE_2
DEBUGVAR PD_STAGE_3
Open "ROOT/taobin_project/xml/page_topping_select4.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> "HOJICHA" </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> "Hojicha" </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-02-01-0036.Button </State>
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
</Image>
<Text>
<X> 50 </X>
<Y> 265 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-02-01-0036.Button </State>
<Value> Var( "฿" + $12-02-01-0036.Price ) </Value>
</Text>
<Image>
<X> 81 </X>
<Y> 264 </Y>
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
<State> $12-02-02-0036.Button </State>
</Image>
<Text>
<X> 115 </X>
<Y> 265 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-02-02-0036.Button </State>
<Value> Var( "฿" + $12-02-02-0036.Price ) </Value>
</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-0036.Button </State>
</Image>
<Text>
<X> 183 </X>
<Y> 265 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-02-03-0036.Button </State>
<Value> Var( "฿" + $12-02-03-0036.Price ) </Value>
</Text>
<Image>
<X> 81 </X>
<Y> 264 </Y>
<State>
eval(
If ICE_PROCESS_STATUS = 2 Then
If $Sum120201003612020200361202030036 = "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 $Sum120201003612020200361202030036 = "Disable" Then
STRCONTAIN "ERR" $12-02-01-0036.TAG tag1_is_disable
STRCONTAIN "ERR" $12-02-02-0036.TAG tag2_is_disable
STRCONTAIN "ERR" $12-02-03-0036.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_err.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>
</Block> </Block>
; 12-02-01-0006 12-02-02-0006 12-02-03-0006 ; 12-02-01-0006 12-02-02-0006 12-02-03-0006
<Block> <Block>

View file

@ -10,7 +10,7 @@
DEBUGVAR LidState DEBUGVAR LidState
Var buttonRemoveCup = "Invisible" Var buttonRemoveCup = "Invisible"
Var TextBottomShow "Enable" Var TextBottomShow = "Enable"
If show_eng = "true" Then If show_eng = "true" Then
Var DirImage2 = "ROOT/taobin_project/image/topping2_en" Var DirImage2 = "ROOT/taobin_project/image/topping2_en"
@ -39,7 +39,7 @@
EndIf EndIf
EndIf EndIf
If Seeker.lidAction = 1 Then If Seeker.lidAction = 1 Then
Machine Lid Machine Lid
EndIf EndIf