"Enable" 1080 1920 "0xeae6e1" SoundVolume ; On open If show_eng = "true" Then Var showthaiText = "Invisible" Var showengText = "Enable" Var DirImage = "ROOT/taobin_project/image/page3_en" Var show_btp = "ROOT/taobin_project/image/bn_thai_lang_press.png" Var show_btn = "ROOT/taobin_project/image/bn_thai_lang.png" Else Var showengText = "Invisible" Var showthaiText = "Enable" Var DirImage = "ROOT/taobin_project/image/page3" Var show_btp = "ROOT/taobin_project/image/bn_eng_lang_press.png" Var show_btn = "ROOT/taobin_project/image/bn_eng_lang.png" EndIf Var Menu1Selected = "PressForever" Var Menu2Selected = "Enable" Var Menu3Selected = "Enable" Var Menu4Selected = "Enable" Var Menu5Selected = "Invisible" Var Menu6Selected = "Enable" Var Menu7Selected = "Enable" Var Menu8Selected = "Invisible" If CocktailShow = "true" Then Var Menu7Selected = "Invisible" Var Menu8Selected = "Enable" EndIf SAVELOG PreviseXMLFileName2 Var Timeout = 0 Var showCart = "Invisible" If MultiPayEnable = "true" Then If CART_COUNT = 1 Then Var showCart = "Enable" Var cart_image_bn = DirImageCart + "/bn_cart1.png" Var cart_image_bp = DirImageCart + "/bp_cart1.png" EndIf If CART_COUNT = 2 Then Var showCart = "Enable" Var cart_image_bn = DirImageCart + "/bn_cart2.png" Var cart_image_bp = DirImageCart + "/bp_cart2.png" EndIf If CART_COUNT = 3 Then Open "ROOT/taobin_project/xml/page_payment_multi.xml" EndIf EndIf 0 380 1080 1540 "0xeae6e1" 1000 ;DEBUGVAR ICE_PROCESS_STATUS If ICE_PROCESS_STATUS = 2 Then Var ice_tab_process_show = "Enable" Var ice_show_open = ice_tab_text + ICE_PROCESS_TXT Else Var ice_tab_process_show = "Invisible" EndIf If NextPage = "-" Then Else If CupOnArm = "true" Then If Timeout > 9 Then SAVELOG "COA9" Open NextPage EndIf Else If Timeout > 30 Then SAVELOG "COA30" Open NextPage EndIf EndIf EndIf If Timeout > 60 Then SAVELOG "Timeout" If Seeker = "next" Then Open "ROOT/taobin_project/xml/page_brewing3Conti.xml" Else SAVELOG "Back" Open "ROOT/taobin_project/xml/page_back_to_main.xml" EndIf EndIf If BrewCommand = "RefreshAll" Then Var BrewCommand = "-" Open CurrentXMLFileName2 EndIf If Seeker = "curr" Then If DoorCupPosition = "bottom" Then ; It normal Var EmergencyStop = "false" Else Var EmergencyStop = "true" ;Open "ROOT/taobin_project/xml/page_back_to_error.xml" EndIf EndIf If IgnoreNetCore = "true" Then Else ;stop_now If NETCORE_LOST_CNT > 120 Then Var stop_now = "true" Var MachineErrorDetailAll = "???" SAVELOG "NETCORE_LOST_CNT" Open "ROOT/taobin_project/xml/page_back_to_error.xml" EndIf EndIf Var Timeout = Timeout + 1 TimerReset ; ; 0 ; 0 ; "ROOT/taobin_project/image/ad_medium_2.png" ; ; ; under line 0 494 "ROOT/taobin_project/image/page3/tab_line_bottom.png" ; under line 0 358 "ROOT/taobin_project/image/page3/bg1.png" ; back ; DEBUGVAR web_ready If web_ready = "true" Then If web_ref = QRCODE99x Then Var web_readyOK = web_ready Var web_telnumOK = web_telnum Var web_app_prepar = "true" Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_payment.xml" EndIf Else EndIf 10 497 1080 "auto" "Vertical" 4 ; button i=1 best_seller_1 33 22 225 296 $best_seller_1.Button 182 12 ShowPrice "Hurr" 150 27 KanitTTF 0xB78F24 $best_seller_1.Price 164 12 ShowPrice 20 27 KanitTTF 0xB78F24 "฿"" 16 190 24 220 "multi2" KanitMediumTTF 0x322B26 showthaiText $best_seller_1.Name 16 246 14 220 KanitMediumTTF 0x6F5F51 showthaiText $best_seller_1.description 16 190 22 220 "multi2" KanitMediumTTF 0x322B26 showengText $best_seller_1.NameE 16 246 14 220 KanitMediumTTF 0x6F5F51 showengText $best_seller_1.descriptionE 2 2 eval( STRCONTAIN "Smoothie" $best_seller_1.Button SmoRet If SmoRet = "true" Then Var return = "Enable" Else Var return = "Invisible" EndIf ) "ROOT/taobin_project/image/topping2/blender_icon.png" ; button i=2 12-01-01-0003 33 22 225 296 $12-01-01-0003.Button 182 12 ShowPrice "Hurr" 150 27 KanitTTF 0xB78F24 $12-01-01-0003.Price 164 12 ShowPrice 20 27 KanitTTF 0xB78F24 "฿"" 16 190 24 220 "multi2" KanitMediumTTF 0x322B26 showthaiText $12-01-01-0003.Name 16 246 14 220 KanitMediumTTF 0x6F5F51 showthaiText $12-01-01-0003.description 16 190 22 220 "multi2" KanitMediumTTF 0x322B26 showengText $12-01-01-0003.NameE 16 246 14 220 KanitMediumTTF 0x6F5F51 showengText $12-01-01-0003.descriptionE 2 2 eval( STRCONTAIN "Smoothie" $12-01-01-0003.Button SmoRet If SmoRet = "true" Then Var return = "Enable" Else Var return = "Invisible" EndIf ) "ROOT/taobin_project/image/topping2/blender_icon.png" ; button i=3 12-01-01-0004 33 22 225 296 $12-01-01-0004.Button 182 12 ShowPrice "Hurr" 150 27 KanitTTF 0xB78F24 $12-01-01-0004.Price 164 12 ShowPrice 20 27 KanitTTF 0xB78F24 "฿"" 16 190 24 220 "multi2" KanitMediumTTF 0x322B26 showthaiText $12-01-01-0004.Name 16 246 14 220 KanitMediumTTF 0x6F5F51 showthaiText $12-01-01-0004.description 16 190 22 220 "multi2" KanitMediumTTF 0x322B26 showengText $12-01-01-0004.NameE 16 246 14 220 KanitMediumTTF 0x6F5F51 showengText $12-01-01-0004.descriptionE 2 2 eval( STRCONTAIN "Smoothie" $12-01-01-0004.Button SmoRet If SmoRet = "true" Then Var return = "Enable" Else Var return = "Invisible" EndIf ) "ROOT/taobin_project/image/topping2/blender_icon.png" ; button i=4 12-01-02-0003 33 22 225 296 $12-01-02-0003.Button 182 12 ShowPrice "Hurr" 150 27 KanitTTF 0xB78F24 $12-01-02-0003.Price 164 12 ShowPrice 20 27 KanitTTF 0xB78F24 "฿"" 16 190 24 220 "multi2" KanitMediumTTF 0x322B26 showthaiText $12-01-02-0003.Name 16 246 14 220 KanitMediumTTF 0x6F5F51 showthaiText $12-01-02-0003.description 16 190 22 220 "multi2" KanitMediumTTF 0x322B26 showengText $12-01-02-0003.NameE 16 246 14 220 KanitMediumTTF 0x6F5F51 showengText $12-01-02-0003.descriptionE 2 2 eval( STRCONTAIN "Smoothie" $12-01-02-0003.Button SmoRet If SmoRet = "true" Then Var return = "Enable" Else Var return = "Invisible" EndIf ) "ROOT/taobin_project/image/topping2/blender_icon.png" ; button i=5 12-03-02-0002 33 22 225 296 $12-03-02-0002.Button 182 12 ShowPrice "Hurr" 150 27 KanitTTF 0xB78F24 $12-03-02-0002.Price 164 12 ShowPrice 20 27 KanitTTF 0xB78F24 "฿"" 16 190 24 220 "multi2" KanitMediumTTF 0x322B26 showthaiText $12-03-02-0002.Name 16 246 14 220 KanitMediumTTF 0x6F5F51 showthaiText $12-03-02-0002.description 16 190 22 220 "multi2" KanitMediumTTF 0x322B26 showengText $12-03-02-0002.NameE 16 246 14 220 KanitMediumTTF 0x6F5F51 showengText $12-03-02-0002.descriptionE 2 2 eval( STRCONTAIN "Smoothie" $12-03-02-0002.Button SmoRet If SmoRet = "true" Then Var return = "Enable" Else Var return = "Invisible" EndIf ) "ROOT/taobin_project/image/topping2/blender_icon.png" ; button i=6 12-03-02-0004 33 22 225 296 $12-03-02-0004.Button 182 12 ShowPrice "Hurr" 150 27 KanitTTF 0xB78F24 $12-03-02-0004.Price 164 12 ShowPrice 20 27 KanitTTF 0xB78F24 "฿"" 16 190 24 220 "multi2" KanitMediumTTF 0x322B26 showthaiText $12-03-02-0004.Name 16 246 14 220 KanitMediumTTF 0x6F5F51 showthaiText $12-03-02-0004.description 16 190 22 220 "multi2" KanitMediumTTF 0x322B26 showengText $12-03-02-0004.NameE 16 246 14 220 KanitMediumTTF 0x6F5F51 showengText $12-03-02-0004.descriptionE 2 2 eval( STRCONTAIN "Smoothie" $12-03-02-0004.Button SmoRet If SmoRet = "true" Then Var return = "Enable" Else Var return = "Invisible" EndIf ) "ROOT/taobin_project/image/topping2/blender_icon.png" ; button i=7 12-02-02-0002 33 22 225 296 $12-02-02-0002.Button 182 12 ShowPrice "Hurr" 150 27 KanitTTF 0xB78F24 $12-02-02-0002.Price 164 12 ShowPrice 20 27 KanitTTF 0xB78F24 "฿"" 16 190 24 220 "multi2" KanitMediumTTF 0x322B26 showthaiText $12-02-02-0002.Name 16 246 14 220 KanitMediumTTF 0x6F5F51 showthaiText $12-02-02-0002.description 16 190 22 220 "multi2" KanitMediumTTF 0x322B26 showengText $12-02-02-0002.NameE 16 246 14 220 KanitMediumTTF 0x6F5F51 showengText $12-02-02-0002.descriptionE 2 2 eval( STRCONTAIN "Smoothie" $12-02-02-0002.Button SmoRet If SmoRet = "true" Then Var return = "Enable" Else Var return = "Invisible" EndIf ) "ROOT/taobin_project/image/topping2/blender_icon.png" ; button i=8 12-02-02-0004 33 22 225 296 $12-02-02-0004.Button 182 12 ShowPrice "Hurr" 150 27 KanitTTF 0xB78F24 $12-02-02-0004.Price 164 12 ShowPrice 20 27 KanitTTF 0xB78F24 "฿"" 16 190 24 220 "multi2" KanitMediumTTF 0x322B26 showthaiText $12-02-02-0004.Name 16 246 14 220 KanitMediumTTF 0x6F5F51 showthaiText $12-02-02-0004.description 16 190 22 220 "multi2" KanitMediumTTF 0x322B26 showengText $12-02-02-0004.NameE 16 246 14 220 KanitMediumTTF 0x6F5F51 showengText $12-02-02-0004.descriptionE 2 2 eval( STRCONTAIN "Smoothie" $12-02-02-0004.Button SmoRet If SmoRet = "true" Then Var return = "Enable" Else Var return = "Invisible" EndIf ) "ROOT/taobin_project/image/topping2/blender_icon.png" ; button i=9 12-02-02-0001 33 22 225 296 $12-02-02-0001.Button 182 12 ShowPrice "Hurr" 150 27 KanitTTF 0xB78F24 $12-02-02-0001.Price 164 12 ShowPrice 20 27 KanitTTF 0xB78F24 "฿"" 16 190 24 220 "multi2" KanitMediumTTF 0x322B26 showthaiText $12-02-02-0001.Name 16 246 14 220 KanitMediumTTF 0x6F5F51 showthaiText $12-02-02-0001.description 16 190 22 220 "multi2" KanitMediumTTF 0x322B26 showengText $12-02-02-0001.NameE 16 246 14 220 KanitMediumTTF 0x6F5F51 showengText $12-02-02-0001.descriptionE 2 2 eval( STRCONTAIN "Smoothie" $12-02-02-0001.Button SmoRet If SmoRet = "true" Then Var return = "Enable" Else Var return = "Invisible" EndIf ) "ROOT/taobin_project/image/topping2/blender_icon.png" ; button i=10 12-02-02-0007 33 22 225 296 $12-02-02-0007.Button 182 12 ShowPrice "Hurr" 150 27 KanitTTF 0xB78F24 $12-02-02-0007.Price 164 12 ShowPrice 20 27 KanitTTF 0xB78F24 "฿"" 16 190 24 220 "multi2" KanitMediumTTF 0x322B26 showthaiText $12-02-02-0007.Name 16 246 14 220 KanitMediumTTF 0x6F5F51 showthaiText $12-02-02-0007.description 16 190 22 220 "multi2" KanitMediumTTF 0x322B26 showengText $12-02-02-0007.NameE 16 246 14 220 KanitMediumTTF 0x6F5F51 showengText $12-02-02-0007.descriptionE 2 2 eval( STRCONTAIN "Smoothie" $12-02-02-0007.Button SmoRet If SmoRet = "true" Then Var return = "Enable" Else Var return = "Invisible" EndIf ) "ROOT/taobin_project/image/topping2/blender_icon.png" ; button i=11 12-02-02-0008 33 22 225 296 $12-02-02-0008.Button 182 12 ShowPrice "Hurr" 150 27 KanitTTF 0xB78F24 $12-02-02-0008.Price 164 12 ShowPrice 20 27 KanitTTF 0xB78F24 "฿"" 16 190 24 220 "multi2" KanitMediumTTF 0x322B26 showthaiText $12-02-02-0008.Name 16 246 14 220 KanitMediumTTF 0x6F5F51 showthaiText $12-02-02-0008.description 16 190 22 220 "multi2" KanitMediumTTF 0x322B26 showengText $12-02-02-0008.NameE 16 246 14 220 KanitMediumTTF 0x6F5F51 showengText $12-02-02-0008.descriptionE 2 2 eval( STRCONTAIN "Smoothie" $12-02-02-0008.Button SmoRet If SmoRet = "true" Then Var return = "Enable" Else Var return = "Invisible" EndIf ) "ROOT/taobin_project/image/topping2/blender_icon.png" ; button i=12 12-05-02-0007 33 22 225 296 $12-05-02-0007.Button 182 12 ShowPrice "Hurr" 150 27 KanitTTF 0xB78F24 $12-05-02-0007.Price 164 12 ShowPrice 20 27 KanitTTF 0xB78F24 "฿"" 16 190 24 220 "multi2" KanitMediumTTF 0x322B26 showthaiText $12-05-02-0007.Name 16 246 14 220 KanitMediumTTF 0x6F5F51 showthaiText $12-05-02-0007.description 16 190 22 220 "multi2" KanitMediumTTF 0x322B26 showengText $12-05-02-0007.NameE 16 246 14 220 KanitMediumTTF 0x6F5F51 showengText $12-05-02-0007.descriptionE 2 2 eval( STRCONTAIN "Smoothie" $12-05-02-0007.Button SmoRet If SmoRet = "true" Then Var return = "Enable" Else Var return = "Invisible" EndIf ) "ROOT/taobin_project/image/topping2/blender_icon.png" ; button i=13 12-05-02-0021 33 22 225 296 $12-05-02-0021.Button 182 12 ShowPrice "Hurr" 150 27 KanitTTF 0xB78F24 $12-05-02-0021.Price 164 12 ShowPrice 20 27 KanitTTF 0xB78F24 "฿"" 16 190 24 220 "multi2" KanitMediumTTF 0x322B26 showthaiText $12-05-02-0021.Name 16 246 14 220 KanitMediumTTF 0x6F5F51 showthaiText $12-05-02-0021.description 16 190 22 220 "multi2" KanitMediumTTF 0x322B26 showengText $12-05-02-0021.NameE 16 246 14 220 KanitMediumTTF 0x6F5F51 showengText $12-05-02-0021.descriptionE 2 2 eval( STRCONTAIN "Smoothie" $12-05-02-0021.Button SmoRet If SmoRet = "true" Then Var return = "Enable" Else Var return = "Invisible" EndIf ) "ROOT/taobin_project/image/topping2/blender_icon.png" ; button i=14 12-05-02-0013 33 22 225 296 $12-05-02-0013.Button 182 12 ShowPrice "Hurr" 150 27 KanitTTF 0xB78F24 $12-05-02-0013.Price 164 12 ShowPrice 20 27 KanitTTF 0xB78F24 "฿"" 16 190 24 220 "multi2" KanitMediumTTF 0x322B26 showthaiText $12-05-02-0013.Name 16 246 14 220 KanitMediumTTF 0x6F5F51 showthaiText $12-05-02-0013.description 16 190 22 220 "multi2" KanitMediumTTF 0x322B26 showengText $12-05-02-0013.NameE 16 246 14 220 KanitMediumTTF 0x6F5F51 showengText $12-05-02-0013.descriptionE 2 2 eval( STRCONTAIN "Smoothie" $12-05-02-0013.Button SmoRet If SmoRet = "true" Then Var return = "Enable" Else Var return = "Invisible" EndIf ) "ROOT/taobin_project/image/topping2/blender_icon.png" ; button i=15 12-05-02-0012 33 22 225 296 $12-05-02-0012.Button 182 12 ShowPrice "Hurr" 150 27 KanitTTF 0xB78F24 $12-05-02-0012.Price 164 12 ShowPrice 20 27 KanitTTF 0xB78F24 "฿"" 16 190 24 220 "multi2" KanitMediumTTF 0x322B26 showthaiText $12-05-02-0012.Name 16 246 14 220 KanitMediumTTF 0x6F5F51 showthaiText $12-05-02-0012.description 16 190 22 220 "multi2" KanitMediumTTF 0x322B26 showengText $12-05-02-0012.NameE 16 246 14 220 KanitMediumTTF 0x6F5F51 showengText $12-05-02-0012.descriptionE 2 2 eval( STRCONTAIN "Smoothie" $12-05-02-0012.Button SmoRet If SmoRet = "true" Then Var return = "Enable" Else Var return = "Invisible" EndIf ) "ROOT/taobin_project/image/topping2/blender_icon.png" ; button i=16 12-05-02-0009 33 22 225 296 $12-05-02-0009.Button 182 12 ShowPrice "Hurr" 150 27 KanitTTF 0xB78F24 $12-05-02-0009.Price 164 12 ShowPrice 20 27 KanitTTF 0xB78F24 "฿"" 16 190 24 220 "multi2" KanitMediumTTF 0x322B26 showthaiText $12-05-02-0009.Name 16 246 14 220 KanitMediumTTF 0x6F5F51 showthaiText $12-05-02-0009.description 16 190 22 220 "multi2" KanitMediumTTF 0x322B26 showengText $12-05-02-0009.NameE 16 246 14 220 KanitMediumTTF 0x6F5F51 showengText $12-05-02-0009.descriptionE 2 2 eval( STRCONTAIN "Smoothie" $12-05-02-0009.Button SmoRet If SmoRet = "true" Then Var return = "Enable" Else Var return = "Invisible" EndIf ) "ROOT/taobin_project/image/topping2/blender_icon.png" ; Cart