"Enable" 1080 1920 ; "0xeae6e1" SoundVolume ; On open Var NextPage = "-" DEBUGVAR ICE_PROCESS_STATUS DEBUGVAR ICE_PROCESS_TXT DEBUGVAR LanguageShow DEBUGVAR CountryName If LanguageShow = "ENG" Then Var DirImage2 = "ROOT/taobin_project/image/drink_option_en/" Var DirImageAlter = "ROOT/taobin_project/image/page3_2_en/" Var DirImage = "ROOT/taobin_project/image/page3_en" Var ice_tab_text = "Ice will be ready at " EndIf If LanguageShow = "THAI" Then Var DirImage2 = "ROOT/taobin_project/image/drink_option/" Var DirImageAlter = "ROOT/taobin_project/image/page3_2/" Var ice_tab_text = "น้ำแข็งจะพร้อมเวลา " Var DirImage = "ROOT/taobin_project/image/page3" EndIf If CountryName = "Malaysia" Then Var DirImage2 = "ROOT/taobin_project/image/drink_option_myr/" Var DirImageAlter = "ROOT/taobin_project/image/page3_2_en/" Var DirImage = "ROOT/taobin_project/image/page3_en" Var ice_tab_text = "Ice will be ready at " EndIf If CountryName = "Australia" Then Var DirImage2 = "ROOT/taobin_project/image/drink_option_myr/" Var DirImageAlter = "ROOT/taobin_project/image/page3_2_en/" Var DirImage = "ROOT/taobin_project/image/page3_en" Var ice_tab_text = "Ice will be ready at " 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 ; If AppFastEnable = "true" Then Var Menu11Selected = "PressForever" Var Menu7Selected = "Invisible" Else Var Menu11Selected = "Invisible" Var Menu7Selected = "PressForever" EndIf SAVELOG PreviseXMLFileName2 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 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 DEBUGVAR LanguageShow If LanguageShow = "ENG" Then Var DirImage2 = "ROOT/taobin_project/image/drink_option_en/" Var DirImageAlter = "ROOT/taobin_project/image/page3_2_en/" EndIf If LanguageShow = "THAI" Then Var DirImage2 = "ROOT/taobin_project/image/drink_option/" Var DirImageAlter = "ROOT/taobin_project/image/page3_2/" EndIf If CountryName = "Malaysia" Then Var DirImage2 = "ROOT/taobin_project/image/drink_option_myr/" Var DirImageAlter = "ROOT/taobin_project/image/page3_2_en/" Var DirImage = "ROOT/taobin_project/image/page3_en" Var ice_tab_text = "Ice will be ready at " EndIf SAVELOG "EventLanguageOnChange menu -list" Refresh Var LanguageButtonEnable = "Enable" Var ButtonLanguageCurrentXPosition = 990 Var ButtonLanguageCurrentYPosition = 438 - 38 Var ButtonLanguageListXPosition = 970 Var ButtonLanguageListYPosition = 430 - 38 OpenInst 3 "ROOT/taobin_project/xml/topview2.xml" ; 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" Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_payment.xml" EndIf Else EndIf 10 497 1080 "auto" "Vertical" 4 ; ==================> Len = 3 ; - 12-04-02-1018 - 33 22 225 296 Flag( 12-04-02-1018.Button,$Sum1204021018) 16 164 22 222 "multi2" KanitMediumTTF 0x322B26 APP FAST ORIGINAL แอพ ฟาสท์ \nวานิลลา (Original) APP FAST ORIGINAL แอพ ฟาสท์ \nวานิลลา (Original) APP FAST ORIGINAL แอพ ฟาสท์ \nวานิลลา (Original) 16 220 14 222 KanitMediumTTF 0x6F5F51 Plant-based protein with \nessential nutrients โปรตีนจากพืชคุณภาพสูง \nพร้อมสารอาหารที่มีประโยชน์ Plant-based protein with \nessential nutrients โปรตีนจากพืชคุณภาพสูง \nพร้อมสารอาหารที่มีประโยชน์ Protein Tumbuhan Dengan Nutrien Penting โปรตีนจากพืชคุณภาพสูง \nพร้อมสารอาหารที่มีประโยชน์ 16 264 Var( DirImage2 + "option_deactive.png" ) 16 264 "Invisible" Var( DirImage2 + "hot.png" ) Var( DirImage2 + "hot_db.png" ) TextPriceMenuHotX TextPriceMenuY TextPriceMenuSize 220 KanitMediumTTF 0x6F5F51 0xEAE6E1 "Invisible" StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) ; test 81 264 Var( DirImage2 + "cold.png" ) Var( DirImage2 + "cold_db.png" ) $12-04-02-1018.Button 113 TextPriceMenuY TextPriceMenuSize 220 KanitMediumTTF 0x6F5F51 0xEAE6E1 $12-04-02-1018.Button StringFmt( $12-04-02-1018.Price , DisplayFormat, PreScaleConvertShow) ; test 146 264 Var( DirImage2 + "blend.png" ) Var( DirImage2 + "blend_db.png" ) "Invisible" TextPriceMenuBlendX 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 $Sum1204021018 = "Disable" Then STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable STRCONTAIN "ERR" $12-04-02-1018.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 "disable-show" $Sum1204021018 000013 center-vertical-horizontal ; ==================> Len = 3 ; - 12-04-02-1019 - 33 22 225 296 Flag( 12-04-02-1019.Button,$Sum1204021019) 16 164 22 222 "multi2" KanitMediumTTF 0x322B26 APP FAST ESPRESSO แอพ ฟาสท์ กาแฟ APP FAST ESPRESSO แอพ ฟาสท์ กาแฟ APP FAST ESPRESSO แอพ ฟาสท์ กาแฟ 16 220 14 222 KanitMediumTTF 0x6F5F51 Plant-based protein with \nessential nutrients โปรตีนจากพืชคุณภาพสูง \nพร้อมสารอาหารที่มีประโยชน์ Plant-based protein with \nessential nutrients โปรตีนจากพืชคุณภาพสูง \nพร้อมสารอาหารที่มีประโยชน์ Protein Tumbuhan Dengan Nutrien Penting โปรตีนจากพืชคุณภาพสูง \nพร้อมสารอาหารที่มีประโยชน์ 16 264 Var( DirImage2 + "option_deactive.png" ) 16 264 "Invisible" Var( DirImage2 + "hot.png" ) Var( DirImage2 + "hot_db.png" ) TextPriceMenuHotX TextPriceMenuY TextPriceMenuSize 220 KanitMediumTTF 0x6F5F51 0xEAE6E1 "Invisible" StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) ; test 81 264 Var( DirImage2 + "cold.png" ) Var( DirImage2 + "cold_db.png" ) $12-04-02-1019.Button 113 TextPriceMenuY TextPriceMenuSize 220 KanitMediumTTF 0x6F5F51 0xEAE6E1 $12-04-02-1019.Button StringFmt( $12-04-02-1019.Price , DisplayFormat, PreScaleConvertShow) ; test 146 264 Var( DirImage2 + "blend.png" ) Var( DirImage2 + "blend_db.png" ) "Invisible" TextPriceMenuBlendX 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 $Sum1204021019 = "Disable" Then STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable STRCONTAIN "ERR" $12-04-02-1019.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 "disable-show" $Sum1204021019 000013 center-vertical-horizontal ; ==================> Len = 3 ; - 12-04-02-1020 - 33 22 225 296 Flag( 12-04-02-1020.Button,$Sum1204021020) 16 164 22 222 "multi2" KanitMediumTTF 0x322B26 APP FAST \nCHOCOLATE แอพ ฟาสท์ ช็อกโก APP FAST \nCHOCOLATE แอพ ฟาสท์ ช็อกโก APP FAST COKLAT แอพ ฟาสท์ ช็อกโก 16 220 14 222 KanitMediumTTF 0x6F5F51 Plant-based protein with \nessential nutrients โปรตีนจากพืชคุณภาพสูง \nพร้อมสารอาหารที่มีประโยชน์ Plant-based protein with \nessential nutrients โปรตีนจากพืชคุณภาพสูง \nพร้อมสารอาหารที่มีประโยชน์ Protein Tumbuhan Dengan Nutrien Penting โปรตีนจากพืชคุณภาพสูง \nพร้อมสารอาหารที่มีประโยชน์ 16 264 Var( DirImage2 + "option_deactive.png" ) 16 264 "Invisible" Var( DirImage2 + "hot.png" ) Var( DirImage2 + "hot_db.png" ) TextPriceMenuHotX TextPriceMenuY TextPriceMenuSize 220 KanitMediumTTF 0x6F5F51 0xEAE6E1 "Invisible" StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) ; test 81 264 Var( DirImage2 + "cold.png" ) Var( DirImage2 + "cold_db.png" ) $12-04-02-1020.Button 113 TextPriceMenuY TextPriceMenuSize 220 KanitMediumTTF 0x6F5F51 0xEAE6E1 $12-04-02-1020.Button StringFmt( $12-04-02-1020.Price , DisplayFormat, PreScaleConvertShow) ; test 146 264 Var( DirImage2 + "blend.png" ) Var( DirImage2 + "blend_db.png" ) "Invisible" TextPriceMenuBlendX 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 $Sum1204021020 = "Disable" Then STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable STRCONTAIN "ERR" $12-04-02-1020.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 "disable-show" $Sum1204021020 000013 center-vertical-horizontal ; ==================> Len = 3 ; - 12-04-02-1021 - 33 22 225 296 Flag( 12-04-02-1021.Button,$Sum1204021021) 16 164 22 222 "multi2" KanitMediumTTF 0x322B26 APP FAST \nTHAI TEA แอพ ฟาสท์ ชาไทย APP FAST \nTHAI TEA แอพ ฟาสท์ ชาไทย APP FAST THAI TEA แอพ ฟาสท์ ชาไทย 16 220 14 222 KanitMediumTTF 0x6F5F51 Plant-based protein with \nessential nutrients โปรตีนจากพืชคุณภาพสูง \nพร้อมสารอาหารที่มีประโยชน์ Plant-based protein with \nessential nutrients โปรตีนจากพืชคุณภาพสูง \nพร้อมสารอาหารที่มีประโยชน์ Protein Tumbuhan Dengan Nutrien Penting โปรตีนจากพืชคุณภาพสูง \nพร้อมสารอาหารที่มีประโยชน์ 16 264 Var( DirImage2 + "option_deactive.png" ) 16 264 "Invisible" Var( DirImage2 + "hot.png" ) Var( DirImage2 + "hot_db.png" ) TextPriceMenuHotX TextPriceMenuY TextPriceMenuSize 220 KanitMediumTTF 0x6F5F51 0xEAE6E1 "Invisible" StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) ; test 81 264 Var( DirImage2 + "cold.png" ) Var( DirImage2 + "cold_db.png" ) $12-04-02-1021.Button 113 TextPriceMenuY TextPriceMenuSize 220 KanitMediumTTF 0x6F5F51 0xEAE6E1 $12-04-02-1021.Button StringFmt( $12-04-02-1021.Price , DisplayFormat, PreScaleConvertShow) ; test 146 264 Var( DirImage2 + "blend.png" ) Var( DirImage2 + "blend_db.png" ) "Invisible" TextPriceMenuBlendX 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 $Sum1204021021 = "Disable" Then STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable STRCONTAIN "ERR" $12-04-02-1021.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 "disable-show" $Sum1204021021 000013 center-vertical-horizontal ; ==================> Len = 3 ; - 12-04-02-1022 - 33 22 225 296 Flag( 12-04-02-1022.Button,$Sum1204021022) 16 164 22 222 "multi2" KanitMediumTTF 0x322B26 APP FAST \nMATCHA แอพ ฟาสท์ ชาเขียว APP FAST \nMATCHA แอพ ฟาสท์ ชาเขียว APP FAST MATCHA แอพ ฟาสท์ ชาเขียว 16 220 14 222 KanitMediumTTF 0x6F5F51 Plant-based protein with \nessential nutrients โปรตีนจากพืชคุณภาพสูง \nพร้อมสารอาหารที่มีประโยชน์ Plant-based protein with \nessential nutrients โปรตีนจากพืชคุณภาพสูง \nพร้อมสารอาหารที่มีประโยชน์ Protein Tumbuhan Dengan Nutrien Penting โปรตีนจากพืชคุณภาพสูง \nพร้อมสารอาหารที่มีประโยชน์ 16 264 Var( DirImage2 + "option_deactive.png" ) 16 264 "Invisible" Var( DirImage2 + "hot.png" ) Var( DirImage2 + "hot_db.png" ) TextPriceMenuHotX TextPriceMenuY TextPriceMenuSize 220 KanitMediumTTF 0x6F5F51 0xEAE6E1 "Invisible" StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) ; test 81 264 Var( DirImage2 + "cold.png" ) Var( DirImage2 + "cold_db.png" ) $12-04-02-1022.Button 113 TextPriceMenuY TextPriceMenuSize 220 KanitMediumTTF 0x6F5F51 0xEAE6E1 $12-04-02-1022.Button StringFmt( $12-04-02-1022.Price , DisplayFormat, PreScaleConvertShow) ; test 146 264 Var( DirImage2 + "blend.png" ) Var( DirImage2 + "blend_db.png" ) "Invisible" TextPriceMenuBlendX 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 $Sum1204021022 = "Disable" Then STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable STRCONTAIN "ERR" $12-04-02-1022.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 "disable-show" $Sum1204021022 000013 center-vertical-horizontal ; Cart