"Enable" 1080 1920 ; "0xeae6e1" SoundVolume ; On open Var NextPage = "-" DEBUGVAR ICE_PROCESS_STATUS DEBUGVAR ICE_PROCESS_TXT 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/page2/bn_thai_lang_press_2.png" Var show_btn = "ROOT/taobin_project/image/page2/bn_thai_lang_2.png" Var ice_tab_text = "Ice will be ready at " Var text_unavailable = "UNAVAILABLE###size=16" Else Var showengText = "Invisible" Var showthaiText = "Enable" Var DirImage = "ROOT/taobin_project/image/page3" Var show_btp = "ROOT/taobin_project/image/page2/bn_eng_lang_2.png" Var show_btn = "ROOT/taobin_project/image/page2/bn_eng_lang_2.png" Var ice_tab_text = "น้ำแข็งจะพร้อมเวลา " Var text_unavailable = "หมด###size=32" EndIf 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 ; SpiralOnline Var MenuVSelected2 = "Invisible" Var Menu1Selected2 = "Invisible" Var Menu2Selected2 = "Invisible" Var Menu3Selected2 = "Invisible" Var Menu4Selected2 = "Invisible" Var Menu6Selected2 = "Invisible" Var Menu7Selected2 = "Invisible" Var MenuVSelected2 = "Invisible" Var Menu11Selected2 = "Invisible" Var Menu21Selected2 = "Invisible" Var MenuVSelected2 = "Invisible" If SpiralOnline = "true" Then If Seeker = "curr" Then Var MenuVSelected2 = "Enable" EndIf EndIf ; init default Var Menu1Selected = "Enable" Var Menu2Selected = "Enable" Var Menu3Selected = "Enable" Var Menu4Selected = "Enable" ; 5 fruit Var Menu5Selected = "Invisible" Var Menu6Selected = "Enable" Var Menu7Selected = "Enable" ; 8 cocktail Var Menu8Selected = "Invisible" If CocktailShow = "true" Then Var Menu7Selected = "Invisible" Var Menu8Selected = "Enable" EndIf If AppFastEnable = "true" Then Var Menu11Selected = "Enable" Var Menu21Selected = "Invisible" Var Menu7Selected = "Invisible" Else If MenuKidEnable = "true" Then Var Menu11Selected = "Invisible" Var Menu21Selected = "Enable" Var Menu7Selected = "Invisible" Else Var Menu11Selected = "Invisible" Var Menu21Selected = "Invisible" Var Menu7Selected = "Enable" EndIf EndIf If CocktailShow = "true" Then Var Menu7Selected = "Invisible" EndIf If RecipeTag1 = "HealthTurnOn" Then Var Menu22Selected = "Enable" Else Var Menu22Selected = "Invisible" EndIf ; Var Timeout = 0 If show_eng = "true" Then Var DirImage2 = "ROOT/taobin_project/image/drink_option_en/" Var DirImageAlter = "ROOT/taobin_project/image/page3_2_en/" Else Var DirImage2 = "ROOT/taobin_project/image/drink_option/" Var DirImageAlter = "ROOT/taobin_project/image/page3_2/" EndIf ; notice enable heathy menu 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 EndIf ; zone cup on arm If CupOnArm = "true" Then If CheckCupStateDoorCupClose = "" Then If buttonRemoveCup = "Enable" Then Else Refresh EndIf Var buttonRemoveCup = "Enable" EndIf If CheckCupStateDoorCupClose = "done" Then If buttonRemoveCup = "Enable" Then Else Refresh EndIf Var buttonRemoveCup = "Enable" EndIf Else If buttonRemoveCup = "Enable" Then Var buttonRemoveCup = "Invisible" Refresh EndIf EndIf Var Timeout = Timeout + 1 TimerReset ; 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 ; 1080 "auto" 0 395 "Enable" 896 102 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" ; Handle penetrator If Only18 = "true" Then Open "ROOT/taobin_project/xml/page_identity18_verification.xml" Else Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_payment.xml" EndIf ; Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_payment.xml" EndIf Else EndIf 10 497 1080 "auto" "Vertical" 4 ; menu_new_list 7 ; ==================> Len = 12 ; - 12-99-02-0011 - 33 22 225 296 Flag( 12-99-02-0011.Button,$Sum1299020011) 16 164 24 220 "multi2" KanitMediumTTF 0x322B26 showthaiText "มาลอน่า" 16 220 14 220 KanitMediumTTF 0x6F5F51 showthaiText "น้ำเชื่อมเมล่อน ผงมะนาว ชาไทย และน้ำแข็ง" 16 164 22 220 "multi2" KanitMediumTTF 0x322B26 showengText "MALONNA" 16 220 14 220 KanitMediumTTF 0x6F5F51 showengText "melon, Limenade, Thai tea and ice" 16 264 Var( DirImage2 + "option_deactive.png" ) 16 264 "Invisible" Var( DirImage2 + "hot.png" ) Var( DirImage2 + "hot_db.png" ) 50 TextPriceMenuY TextPriceMenuSize 220 KanitMediumTTF 0x6F5F51 0xEAE6E1 "Invisible" StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) ; test 81 264 Var( DirImage2 + "cold.png" ) Var( DirImage2 + "cold_db.png" ) $12-99-02-0011.Button 115 TextPriceMenuY TextPriceMenuSize 220 KanitMediumTTF 0x6F5F51 0xEAE6E1 $12-99-02-0011.Button StringFmt( $12-99-02-0011.Price , DisplayFormat, PreScaleConvertShow) ; test 146 264 Var( DirImage2 + "blend.png" ) Var( DirImage2 + "blend_db.png" ) "Invisible" 180 TextPriceMenuY TextPriceMenuSize 220 KanitRegularTTF 0x6F5F51 0xEAE6E1 "Invisible" StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) ; test 81 264 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 ) "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" 49 117 eval( If $Sum1299020011 = "Disable" Then STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable STRCONTAIN "ERR" $12-99-02-0011.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 ) "ROOT/taobin_project/image//img_menu_err2.png" 84 266 10 OpunMediumTTF 0xDE794E ice_tab_process_show ice_show_open 48 116 32 128 64 MITRegularTTF 0x5A5A5A "disable-show" $Sum1299020011 text_unavailable center-vertical-horizontal ; - - - ; ==================> Len = 12 ; - 12-99-02-0013 - 33 22 225 296 Flag( 12-99-02-0013.Button,$Sum1299020013) 16 164 24 220 "multi2" KanitMediumTTF 0x322B26 showthaiText "วีล่อนเต้ " 16 220 14 220 KanitMediumTTF 0x6F5F51 showthaiText "น้ำเชื่อมเมล่อน ชาเขียว นม และน้ำแข็ง" 16 164 22 220 "multi2" KanitMediumTTF 0x322B26 showengText "VLONTAE" 16 220 14 220 KanitMediumTTF 0x6F5F51 showengText "melon, matcha, milk and ice" 16 264 Var( DirImage2 + "option_deactive.png" ) 16 264 "Invisible" Var( DirImage2 + "hot.png" ) Var( DirImage2 + "hot_db.png" ) 50 TextPriceMenuY TextPriceMenuSize 220 KanitMediumTTF 0x6F5F51 0xEAE6E1 "Invisible" StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) ; test 81 264 Var( DirImage2 + "cold.png" ) Var( DirImage2 + "cold_db.png" ) $12-99-02-0013.Button 115 TextPriceMenuY TextPriceMenuSize 220 KanitMediumTTF 0x6F5F51 0xEAE6E1 $12-99-02-0013.Button StringFmt( $12-99-02-0013.Price , DisplayFormat, PreScaleConvertShow) ; test 146 264 Var( DirImage2 + "blend.png" ) Var( DirImage2 + "blend_db.png" ) "Invisible" 180 TextPriceMenuY TextPriceMenuSize 220 KanitRegularTTF 0x6F5F51 0xEAE6E1 "Invisible" StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) ; test 81 264 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 ) "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" 49 117 eval( If $Sum1299020013 = "Disable" Then STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable STRCONTAIN "ERR" $12-99-02-0013.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 ) "ROOT/taobin_project/image//img_menu_err2.png" 84 266 10 OpunMediumTTF 0xDE794E ice_tab_process_show ice_show_open 48 116 32 128 64 MITRegularTTF 0x5A5A5A "disable-show" $Sum1299020013 text_unavailable center-vertical-horizontal ; - - - ; ==================> Len = 12 ; - 12-99-02-0014 - 33 22 225 296 Flag( 12-99-02-0014.Button,$Sum1299020014) 16 164 24 220 "multi2" KanitMediumTTF 0x322B26 showthaiText "เมอเบด้า" 16 220 14 220 KanitMediumTTF 0x6F5F51 showthaiText "น้ำเชื่อมเมล่อน น้ำเชื่อมสตรอเบอรี่ โซดา และน้ำแข็ง" 16 164 22 220 "multi2" KanitMediumTTF 0x322B26 showengText "MERBEDA" 16 220 14 220 KanitMediumTTF 0x6F5F51 showengText "melon, strawberry , soda and ice" 16 264 Var( DirImage2 + "option_deactive.png" ) 16 264 "Invisible" Var( DirImage2 + "hot.png" ) Var( DirImage2 + "hot_db.png" ) 50 TextPriceMenuY TextPriceMenuSize 220 KanitMediumTTF 0x6F5F51 0xEAE6E1 "Invisible" StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) ; test 81 264 Var( DirImage2 + "cold.png" ) Var( DirImage2 + "cold_db.png" ) $12-99-02-0014.Button 115 TextPriceMenuY TextPriceMenuSize 220 KanitMediumTTF 0x6F5F51 0xEAE6E1 $12-99-02-0014.Button StringFmt( $12-99-02-0014.Price , DisplayFormat, PreScaleConvertShow) ; test 146 264 Var( DirImage2 + "blend.png" ) Var( DirImage2 + "blend_db.png" ) "Invisible" 180 TextPriceMenuY TextPriceMenuSize 220 KanitRegularTTF 0x6F5F51 0xEAE6E1 "Invisible" StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) ; test 81 264 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 ) "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" 49 117 eval( If $Sum1299020014 = "Disable" Then STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable STRCONTAIN "ERR" $12-99-02-0014.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 ) "ROOT/taobin_project/image//img_menu_err2.png" 84 266 10 OpunMediumTTF 0xDE794E ice_tab_process_show ice_show_open 48 116 32 128 64 MITRegularTTF 0x5A5A5A "disable-show" $Sum1299020014 text_unavailable center-vertical-horizontal ; - - - ; ==================> Len = 12 ; - 12-99-02-0015 - 33 22 225 296 Flag( 12-99-02-0015.Button,$Sum1299020015) 16 164 24 220 "multi2" KanitMediumTTF 0x322B26 showthaiText "เมโบซ่า" 16 220 14 220 KanitMediumTTF 0x6F5F51 showthaiText "น้ำเชื่อมเมล่อน น้ำเชื่อมบ๊วย โซดา และน้ำแข็ง" 16 164 22 220 "multi2" KanitMediumTTF 0x322B26 showengText "MEBOZA" 16 220 14 220 KanitMediumTTF 0x6F5F51 showengText "melon, Ume , soda and ice" 16 264 Var( DirImage2 + "option_deactive.png" ) 16 264 "Invisible" Var( DirImage2 + "hot.png" ) Var( DirImage2 + "hot_db.png" ) 50 TextPriceMenuY TextPriceMenuSize 220 KanitMediumTTF 0x6F5F51 0xEAE6E1 "Invisible" StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) ; test 81 264 Var( DirImage2 + "cold.png" ) Var( DirImage2 + "cold_db.png" ) $12-99-02-0015.Button 115 TextPriceMenuY TextPriceMenuSize 220 KanitMediumTTF 0x6F5F51 0xEAE6E1 $12-99-02-0015.Button StringFmt( $12-99-02-0015.Price , DisplayFormat, PreScaleConvertShow) ; test 146 264 Var( DirImage2 + "blend.png" ) Var( DirImage2 + "blend_db.png" ) "Invisible" 180 TextPriceMenuY TextPriceMenuSize 220 KanitRegularTTF 0x6F5F51 0xEAE6E1 "Invisible" StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) ; test 81 264 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 ) "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" 49 117 eval( If $Sum1299020015 = "Disable" Then STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable STRCONTAIN "ERR" $12-99-02-0015.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 ) "ROOT/taobin_project/image//img_menu_err2.png" 84 266 10 OpunMediumTTF 0xDE794E ice_tab_process_show ice_show_open 48 116 32 128 64 MITRegularTTF 0x5A5A5A "disable-show" $Sum1299020015 text_unavailable center-vertical-horizontal ; - - - ; ==================> Len = 12 ; - 12-99-02-0016 - 33 22 225 296 Flag( 12-99-02-0016.Button,$Sum1299020016) 16 164 24 220 "multi2" KanitMediumTTF 0x322B26 showthaiText "ล่อนจูนาว " 16 220 14 220 KanitMediumTTF 0x6F5F51 showthaiText "น้ำเชื่อมเมล่อน ผงมะนาว โซดา และน้ำแข็ง" 16 164 22 220 "multi2" KanitMediumTTF 0x322B26 showengText "LONJUNAO" 16 220 14 220 KanitMediumTTF 0x6F5F51 showengText "melon, Limenade, soda and ice" 16 264 Var( DirImage2 + "option_deactive.png" ) 16 264 "Invisible" Var( DirImage2 + "hot.png" ) Var( DirImage2 + "hot_db.png" ) 50 TextPriceMenuY TextPriceMenuSize 220 KanitMediumTTF 0x6F5F51 0xEAE6E1 "Invisible" StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) ; test 81 264 Var( DirImage2 + "cold.png" ) Var( DirImage2 + "cold_db.png" ) $12-99-02-0016.Button 115 TextPriceMenuY TextPriceMenuSize 220 KanitMediumTTF 0x6F5F51 0xEAE6E1 $12-99-02-0016.Button StringFmt( $12-99-02-0016.Price , DisplayFormat, PreScaleConvertShow) ; test 146 264 Var( DirImage2 + "blend.png" ) Var( DirImage2 + "blend_db.png" ) "Invisible" 180 TextPriceMenuY TextPriceMenuSize 220 KanitRegularTTF 0x6F5F51 0xEAE6E1 "Invisible" StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) ; test 81 264 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 ) "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" 49 117 eval( If $Sum1299020016 = "Disable" Then STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable STRCONTAIN "ERR" $12-99-02-0016.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 ) "ROOT/taobin_project/image//img_menu_err2.png" 84 266 10 OpunMediumTTF 0xDE794E ice_tab_process_show ice_show_open 48 116 32 128 64 MITRegularTTF 0x5A5A5A "disable-show" $Sum1299020016 text_unavailable center-vertical-horizontal ; - - - ; ==================> Len = 12 ; - 12-99-02-0018 - 33 22 225 296 Flag( 12-99-02-0018.Button,$Sum1299020018) 16 164 24 220 "multi2" KanitMediumTTF 0x322B26 showthaiText "มิวกี้ล่อน" 16 220 14 220 KanitMediumTTF 0x6F5F51 showthaiText "น้ำเชื่อมเมล่อน นม ชามะลิ และน้ำแข็ง" 16 164 22 220 "multi2" KanitMediumTTF 0x322B26 showengText "MILKYLON" 16 220 14 220 KanitMediumTTF 0x6F5F51 showengText "melon , milk, jasmint tea" 16 264 Var( DirImage2 + "option_deactive.png" ) 16 264 "Invisible" Var( DirImage2 + "hot.png" ) Var( DirImage2 + "hot_db.png" ) 50 TextPriceMenuY TextPriceMenuSize 220 KanitMediumTTF 0x6F5F51 0xEAE6E1 "Invisible" StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) ; test 81 264 Var( DirImage2 + "cold.png" ) Var( DirImage2 + "cold_db.png" ) $12-99-02-0018.Button 115 TextPriceMenuY TextPriceMenuSize 220 KanitMediumTTF 0x6F5F51 0xEAE6E1 $12-99-02-0018.Button StringFmt( $12-99-02-0018.Price , DisplayFormat, PreScaleConvertShow) ; test 146 264 Var( DirImage2 + "blend.png" ) Var( DirImage2 + "blend_db.png" ) "Invisible" 180 TextPriceMenuY TextPriceMenuSize 220 KanitRegularTTF 0x6F5F51 0xEAE6E1 "Invisible" StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) ; test 81 264 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 ) "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" 49 117 eval( If $Sum1299020018 = "Disable" Then STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable STRCONTAIN "ERR" $12-99-02-0018.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 ) "ROOT/taobin_project/image//img_menu_err2.png" 84 266 10 OpunMediumTTF 0xDE794E ice_tab_process_show ice_show_open 48 116 32 128 64 MITRegularTTF 0x5A5A5A "disable-show" $Sum1299020018 text_unavailable center-vertical-horizontal ; - - - ; ==================> Len = 12 ; - 12-99-02-0015 - 33 22 225 296 Flag( 12-99-02-0015.Button,$Sum1299020015) 48 116 32 128 64 MITRegularTTF 0x5A5A5A "disable-show" $Sum1299020015 text_unavailable center-vertical-horizontal ; - - - ; Cart