diff --git a/image/page_doing/brewing_txt_adv14.png b/image/page_doing/brewing_txt_adv14.png new file mode 100644 index 00000000..ee477e19 Binary files /dev/null and b/image/page_doing/brewing_txt_adv14.png differ diff --git a/image/page_doing/brewing_txt_adv14_en.png b/image/page_doing/brewing_txt_adv14_en.png new file mode 100644 index 00000000..2c5e41d6 Binary files /dev/null and b/image/page_doing/brewing_txt_adv14_en.png differ diff --git a/inter/aus/xml/multi/control_and_lang_swith.lxml b/inter/aus/xml/multi/control_and_lang_swith.lxml new file mode 100644 index 00000000..c203f2bb --- /dev/null +++ b/inter/aus/xml/multi/control_and_lang_swith.lxml @@ -0,0 +1,437 @@ + + 1080 + 1920 + + + Var Top2Timeout = 0 + + + + If InternationalEnable = 1 Then + Var topview2_script = CountryRootPath + "/xml/topview2_script.ev" + + ; will apply other countries + If CountryName = "UnitedArabEmirates Dubai" Then + TRY topview2_script + Else + If CountryName = "Malaysia" Then + TRY topview2_script + Else + Var lang_icon_file_name[0] = "bn_eng_lang.png" + Var lang_icon_file_name[1] = "bn_thai_lang.png" + Var lang_icon_file_name[2] = "bn_china_lang.png" + Var lang_icon_file_name[3] = "bn_japan_lang.png" + + Var lang_icon_file_name[4] = "bn_malay_lang.png" + var lang_icon_file_name[5] = "bn_uae_dubai_lang.png" + EndIf + EndIf + Else + + Var lang_icon_file_name[0] = "bn_eng_lang.png" + Var lang_icon_file_name[1] = "bn_thai_lang.png" + Var lang_icon_file_name[3] = "bn_japan_lang.png" + Var lang_icon_file_name[2] = "bn_china_lang.png" + + Var lang_icon_file_name[4] = "bn_malay_lang.png" + var lang_icon_file_name[5] = "bn_uae_dubai_lang.png" + + EndIf + + + Var LanguageButtonListEnable = "Invisible" + + Var langFileNameIcon = lang_icon_file_name[LanguageShowByIndex] + + Var langfn = "ROOT/taobin_project/image/lang/" + langFileNameIcon + + ;If CountryName = "Malaysia" Then + ; Var dirImageLang = CountryRootPath + "image/lang/" + ; Var langfn = dirImageLang + langFileNameIcon + ; DEBUGVAR langfn + ; DEBUGVAR ButtonLanguageCurrentXPosition + ; DEBUGVAR ButtonLanguageCurrentYPosition + ;EndIf + + + Var ButtonLanguageListXPositionIcon = ButtonLanguageListXPosition + 27 + Var ButtonLanguageListYPositionIcon = ButtonLanguageListYPosition + 14 + + DEBUGVAR ENABLE_LANGUAGE_COUNT + If ENABLE_LANGUAGE_COUNT = "" Then + LanguageControl "UpdateList" 1 + EndIf + + If ENABLE_LANGUAGE_COUNT = 1 Then + Var LanguageButtonEnable = "Invisible" + EndIf + + If FirstTimeOpenFile = "" Then + ;Var Not#CountDownForMulti = 5 + Var FirstTimeOpenFile = "done" + EndIf + + IF Not#CountDownForMulti = "" Then + Var Not#CountDownForMulti = 99 + EndIf + + If EnableMultiInstance = "true" Then + Var OpenRedirectSize = -1 + GetRedirectCount OpenRedirectSize + ;DEBUGVAR OpenRedirectSize + If OpenRedirectSize = 0 Then + SAVELOG "OpenRedirectSize zero size" + Var Not#CountDownForMulti = 5 + EndIf + + EndIf + + 1000 + + ;DEBUGVAR Top2Timeout + Var Top2Timeout = Top2Timeout + 1 + + If Top2Timeout = 20 Then + Open "ROOT/taobin_project/xml/topview2.xml" + EndIf + + If TimeForClose > 0 Then + Var TimeForClose = TimeForClose - 1 + DEBUGVAR TimeForClose + EndIf + If TimeForClose = 1 Then + Var LanguageButtonListEnable = "Invisible" + Refresh + EndIf + + If EnableMultiInstance = "true" Then + If Not#CountDownForMulti = 99 Then + + ;DEBUGVAR Not#CountDownForMulti + + Else + If Not#CountDownForMulti = 1 Then + + OpenRedirect "/taobin_project/xml/page_catalog_group_coffee.xml" "/mnt/sdcard/coffeevending/taobin_project/xml/menutab/coffee.ev" + OpenRedirect "/taobin_project/xml/page_catalog_group_tea.xml" "/mnt/sdcard/coffeevending/taobin_project/xml/menutab/tea.ev" + OpenRedirect "/taobin_project/xml/page_catalog_group_milk.xml" "/mnt/sdcard/coffeevending/taobin_project/xml/menutab/milk.ev" + OpenRedirect "/taobin_project/xml/page_catalog_group_other_other.xml" "/mnt/sdcard/coffeevending/taobin_project/xml/menutab/otherOther.ev" + OpenRedirect "/taobin_project/xml/page_catalog_group_pepsi7up.xml" "/mnt/sdcard/coffeevending/taobin_project/xml/menutab/pepsi7up.ev" + + Var InstanceTabOpenFile2 = "ROOT/taobin_project/xml/menutab/page_catalog_group_coffee.xml" + Var InstanceTabOpenFile3 = "ROOT/taobin_project/xml/menutab/page_catalog_group_tea.xml" + Var InstanceTabOpenFile4 = "ROOT/taobin_project/xml/menutab/page_catalog_group_milk.xml" + + If AppFastButtonState = "Enable" Then + Var InstanceTabOpenFile5 = "ROOT/taobin_project/xml/menutab/page_catalog_group_appfast.xml" + EndIf + If WheyButtonState = "Enable" Then + Var InstanceTabOpenFile5 = "ROOT/taobin_project/xml/menutab/page_catalog_group_whey.xml" + OpenRedirect "/taobin_project/xml/page_catalog_group_whey.xml" "/mnt/sdcard/coffeevending/taobin_project/xml/menutab/kidandwhey.ev" + EndIf + If MenuKidButtonState = "Enable" Then + Var InstanceTabOpenFile5 = "ROOT/taobin_project/xml/menutab/page_catalog_group_forkid.xml" + OpenRedirect "/taobin_project/xml/page_catalog_group_forkid.xml" "/mnt/sdcard/coffeevending/taobin_project/xml/menutab/kidandwhey.ev" + EndIf + + + + If CocktailShow = "true" Then + Var InstanceTabOpenFile6 = "ROOT/taobin_project/xml/menutab/page_catalog_group_cocktail.xml" + OpenRedirect "/taobin_project/xml/page_catalog_group_cocktail.xml" "/mnt/sdcard/coffeevending/taobin_project/xml/menutab/health.ev" + + Else + Var InstanceTabOpenFile6 = "ROOT/taobin_project/xml/menutab/page_catalog_group_health.xml" + OpenRedirect "/taobin_project/xml/page_catalog_group_health.xml" "/mnt/sdcard/coffeevending/taobin_project/xml/menutab/health.ev" + EndIf + Var InstanceTabOpenFile7 = "ROOT/taobin_project/xml/menutab/page_catalog_group_other_other.xml" + + Var InstanceTabOpenFile8 = "ROOT/taobin_project/xml/menutab/page_catalog_group_pepsi_7up.xml" + + + Var InstanceTabOpenFile9 = "ROOT/taobin_project/xml/menutab/start_up_inst_dummy.xml" + Var InstanceTabOpenFile10 = "ROOT/taobin_project/xml/menutab/start_up_inst_dummy.xml" + Var InstanceTabOpenFile11 = "ROOT/taobin_project/xml/menutab/start_up_inst_dummy.xml" + Var InstanceTabOpenFile12 = "ROOT/taobin_project/xml/menutab/start_up_inst_dummy.xml" + Var InstanceTabOpenFile13 = "ROOT/taobin_project/xml/menutab/start_up_inst_dummy.xml" + + TabMenuVisibleInst 99 + EndIf + + If Not#CountDownForMulti > 0 Then + DEBUGVAR Not#CountDownForMulti + Var Not#CountDownForMulti = Not#CountDownForMulti - 1 + EndIf + EndIf + + + EndIf + + + If BrewCommand = "RefreshAll" Then + DEBUGVAR BrewCommand + Var BrewCommand = "-" + If EnableMultiInstance = "true" Then + InstanceOverSetString "RefreshNow" 5 + InstanceOverSetString "RefreshNow" 6 + InstanceOverSetString "RefreshNow" 7 + InstanceOverSetString "RefreshNow" 8 + InstanceOverSetString "RefreshNow" 9 + InstanceOverSetString "RefreshNow" 10 + InstanceOverSetString "RefreshNow" 11 + ; TODO + + + EndIf + If Not#CountDownForMulti = 99 Then + Var Not#CountDownForMulti = 5 + EndIf + EndIf + + + + TimerReset + + + +; setvarint SlientRefreshEnable 1 +; +; + + + + + + ButtonLanguageListXPosition + ButtonLanguageListYPosition + 986 + "auto" + "vertical" + LanguageButtonListEnable +; + + 82 + 51 + "Enable" + + "ROOT/taobin_project/image/lang/lang_bg_top.png" + + + + 82 + 56 + ENABLE_THAI + + "ROOT/taobin_project/image/lang/lang_bg_center.png" + + + + 82 + 56 + ENABLE_ENG + + "ROOT/taobin_project/image/lang/lang_bg_center.png" + + + + 82 + 56 + ENABLE_JAPAN + + + "ROOT/taobin_project/image/lang/lang_bg_center.png" + + + + + 82 + 56 + ENABLE_CHINA + + "ROOT/taobin_project/image/lang/lang_bg_center.png" + + + + 82 + 56 + ENABLE_MALAY + + "ROOT/taobin_project/image/lang/lang_bg_center.png" + + + + 82 + 56 + ENABLE_UAE_DUBAI + + "ROOT/taobin_project/image/lang/lang_bg_center.png" + + + + 82 + 51 + "Enable" + + "ROOT/taobin_project/image/lang/lang_bg_bottom.png" + + + + + + + ButtonLanguageListXPositionIcon + ButtonLanguageListYPositionIcon + 958 + "auto" + "vertical" + LanguageButtonListEnable +; + + 82 + 68 + ENABLE_THAI + + + + 82 + 68 + ENABLE_ENG + + + + 82 + 68 + ENABLE_JAPAN + + + + 82 + 68 + ENABLE_CHINA + + + + 82 + 68 + ENABLE_MALAY + + + + 82 + 68 + ENABLE_UAE_DUBAI + + + + + +; + + diff --git a/inter/aus/xml/multi/dummy_layout.py b/inter/aus/xml/multi/dummy_layout.py new file mode 100644 index 00000000..e69de29b diff --git a/inter/aus/xml/multi/menu_catalog_default_init.py b/inter/aus/xml/multi/menu_catalog_default_init.py new file mode 100644 index 00000000..9f8318e9 --- /dev/null +++ b/inter/aus/xml/multi/menu_catalog_default_init.py @@ -0,0 +1,12 @@ +if "v2" in param: + print("new menu_catalog_default_init catalog ============================> inter.") + f = open( directory_to_process + "/menu_catalog_default_init.lxml", "r") + #print(f.read()) + out_xml(f.read()) + f.close() +else: + print("new menu_catalog_default_init catalog enable.") + f = open( directory_to_process + "/menu_catalog_default_init.xml", "r") + #print(f.read()) + out_xml(f.read()) + f.close() \ No newline at end of file diff --git a/inter/aus/xml/multi/menu_catalog_new.py b/inter/aus/xml/multi/menu_catalog_new.py new file mode 100644 index 00000000..6637d6b6 --- /dev/null +++ b/inter/aus/xml/multi/menu_catalog_new.py @@ -0,0 +1,22 @@ + +print("directory_to_process =" + directory_to_process) +if param == "old": + print("old layout catalog enable.") + f = open( directory_to_process + "/menu_catalog.xml", "r") + #print(f.read()) + out_xml(f.read()) + f.close() +else: + if "v2" in param: + print("new layout catalog ============================> inter.") + f = open( directory_to_process + "/menu_catalog_new.lxml", "r") + #print(f.read()) + out_xml(f.read()) + f.close() + else: + print("new layout catalog enable.") + f = open( directory_to_process + "/menu_catalog_new.xml", "r") + #print(f.read()) + out_xml(f.read()) + f.close() + diff --git a/inter/aus/xml/multi/menu_catalog_new_menu.py b/inter/aus/xml/multi/menu_catalog_new_menu.py new file mode 100644 index 00000000..408f86da --- /dev/null +++ b/inter/aus/xml/multi/menu_catalog_new_menu.py @@ -0,0 +1,12 @@ +if "v2" in param: + print("new menu_catalog_new_menu catalog ============================> inter.") + f = open( directory_to_process + "/menu_catalog_new_menu.lxml", "r") + #print(f.read()) + out_xml(f.read()) + f.close() +else: + print("new menu_catalog_new_menu catalog enable.") + f = open( directory_to_process + "/menu_catalog_new_menu.xml", "r") + #print(f.read()) + out_xml(f.read()) + f.close() \ No newline at end of file diff --git a/inter/aus/xml/multi/menu_head.py b/inter/aus/xml/multi/menu_head.py new file mode 100644 index 00000000..fa73e442 --- /dev/null +++ b/inter/aus/xml/multi/menu_head.py @@ -0,0 +1,106 @@ + + RoadShow = False + + default_dir = 'ROOT/taobin_project/image/page_drink/' + default_dir2 = 'ROOT/taobin_project/image/page_drink_select/' + default_dir_press = 'ROOT/taobin_project/image/page_drink_press/' + default_dir_disable = 'ROOT/taobin_project/image/page_drink_disable/' + + new_default_dir = 'ROOT/taobin_project/inter/aus/image/page_drink_n/' + new_default_dir2 = 'ROOT/taobin_project/inter/aus/image/page_drink_picture2_n/' + new_default_dir_press = 'ROOT/taobin_project/inter/aus/image/page_drink_press_n/' + new_default_dir_disable = 'ROOT/taobin_project/inter/aus/image/page_drink_disable_n2/' + + menu_count = 0 + + x1 = 44 + x2 = 301 + x3 = 558 + x4 = 815 + + ystep = 899 - 571 + y1 = 20 + y2 = y1 + ystep*1 + y3 = y1 + ystep*2 + y4 = y1 + ystep*3 + y5 = y1 + ystep*4 + y6 = y1 + ystep*5 + y7 = y1 + ystep*6 + + + + x_button = [ + x1, + x2, + x3, + x4, + + x1, + x2, + x3, + x4, + + x1, + x2, + x3, + x4, + + x1, + x2, + x3, + x4, + + x1, + x2, + x3, + x4, + + x1, + x2, + x3, + x4, + + x1, + x2, + x3, + x4 + + ] + y_button = [ + y1, + y1, + y1, + y1, + + y2, + y2, + y2, + y2, + + y3, + y3, + y3, + y3, + + y4, + y4, + y4, + y4, + + y5, + y5, + y5, + y5, + + y6, + y6, + y6, + y6, + + y7, + y7, + y7, + y7 + + ] + \ No newline at end of file diff --git a/inter/aus/xml/multi/menu_new_layout_gen_v2.py b/inter/aus/xml/multi/menu_new_layout_gen_v2.py new file mode 100644 index 00000000..0a00258e --- /dev/null +++ b/inter/aus/xml/multi/menu_new_layout_gen_v2.py @@ -0,0 +1,619 @@ + if "v2" in param: + def GenMenuProductCodeBlock( str_hot_product_code, str_cold_product_code, str_blend_product_code): + print(" size " + str( len(spl)) + " img=" + spl[ idx_img][1] ) + out_xml( '\t; ==================> Len = ' + str(len(spl)) + '\r\n') + menu_img = spl[ idx_img][1] + out_xml( '\t; '+ str_hot_product_code + ' ' + str_cold_product_code + ' ' + str_blend_product_code+ ' \r\n') + + out_xml( '\r\n') + out_xml('\t 33 \r\n') + out_xml('\t 22 \r\n') + out_xml('\t 225 \r\n') + out_xml('\t 296 \r\n') + str_con = "" + str_con_var = "" + #print("#########################################################################################################################") + #print( str( spl)) + #print("#########################################################################################################################") + if str_hot_product_code != '-': + str_con += str_hot_product_code + '.Button,' + + if str_cold_product_code != '-': + str_con += str_cold_product_code + '.Button,' + + if str_blend_product_code != '-': + str_con += str_blend_product_code + '.Button,' + + if str_hot_product_code != '-': + str_con_var += str_hot_product_code + '-' + + if str_cold_product_code != '-': + str_con_var += str_cold_product_code + '-' + + if str_blend_product_code != '-': + str_con_var += str_blend_product_code + '-' + + str_con_var = str_con_var.replace("-", "") + if touch_less_gen == True: + str_con += "Disable=Invisible," + + str_con += "$Sum" + str_con_var + + out_xml( '\t Flag( '+ str_con + ') \r\n') + + pd_code_1 = str_hot_product_code + pd_stage1 = '$' + str_hot_product_code + '.Button' + if str_hot_product_code == "-" or len(str_hot_product_code) == 0 : + pd_code_1 = pd_code_available + pd_stage1 = '"Disable2"' + + pd_code_2 = str_cold_product_code + pd_stage2 = '$' + str_cold_product_code + '.Button' + if str_cold_product_code == "-" or len(str_cold_product_code) == 0: + pd_code_2 = pd_code_available + pd_stage2 = '"Disable2"' + + pd_code_3 = str_blend_product_code + pd_stage3 = '$' + str_blend_product_code + '.Button' + if str_blend_product_code == "-" or len(str_blend_product_code) == 0: + pd_code_3 = pd_code_available + pd_stage3 = '"Disable2"' + + + + + out_xml( '\t\r\n') + + + + out_xml( '\t\r\n') + out_xml( '\t 16 \r\n') + out_xml( '\t 164 \r\n') + out_xml( '\t 22 \r\n') + out_xml( '\t222\r\n') + out_xml( '\t "multi2" \r\n') + out_xml( '\t KanitMediumTTF \r\n') + out_xml( '\t 0x322B26 \r\n') + + out_xml( '\t\r\n') + out_xml( '\t\t' + spl[ idx_name][ idx_lang_eng] + '\r\n') + out_xml( '\t\t' + spl[ idx_name][ idx_lang_thai] + '\r\n') + out_xml( '\t\t' + spl[ idx_name][ idx_lang_eng] + '\r\n') + out_xml( '\t\t' + spl[ idx_name][ idx_lang_thai] + '\r\n') + out_xml( '\t\t' + spl[ idx_name][ idx_lang_malay] + '\r\n') + out_xml( '\t\t' + spl[ idx_name][ idx_lang_thai] + '\r\n') + out_xml( '\t\r\n') + + out_xml( '\t\r\n') + + out_xml( '\t\r\n') + out_xml( '\t 16 \r\n') + out_xml( '\t 220 \r\n') + out_xml( '\t 14 \r\n') + out_xml( '\t222\r\n') + out_xml( '\t KanitMediumTTF \r\n') + out_xml( '\t 0x6F5F51 \r\n') + #out_xml( '\t showthaiText \r\n') + out_xml( '\t\r\n') + out_xml( '\t\t' + spl[ idx_desc][ idx_lang_eng] + '\r\n') + out_xml( '\t\t' + spl[ idx_desc][ idx_lang_thai] + '\r\n') + out_xml( '\t\t' + spl[ idx_desc][ idx_lang_eng] + '\r\n') + out_xml( '\t\t' + spl[ idx_desc][ idx_lang_thai] + '\r\n') + out_xml( '\t\t' + spl[ idx_desc][ idx_lang_malay] + '\r\n') + out_xml( '\t\t' + spl[ idx_desc][ idx_lang_thai] + '\r\n') + out_xml( '\t\r\n') + + out_xml( '\t\r\n') + + + + out_xml( '\t\r\n') + out_xml( '\t 16 \r\n') + out_xml( '\t 264 \r\n') + out_xml( '\t Var( DirImage2 + "option_deactive.png" ) \r\n') + out_xml( '\t\r\n') + + ice_tab_hot_show = True + shw = "$" + str_hot_product_code + ".Button" + if str_hot_product_code == "-" : + shw = '"Invisible"' + ice_tab_hot_show = False + + if len(str_hot_product_code) == 0 : + shw = '"Invisible"' + ice_tab_hot_show = False + + out_xml( '\t\r\n') + out_xml( '\t 16 \r\n') + out_xml( '\t 264 \r\n') + out_xml( '\t ' + shw + ' \r\n') + out_xml( '\t Var( DirImage2 + "hot.png" ) \r\n') + out_xml( '\t Var( DirImage2 + "hot_db.png" ) \r\n') + out_xml( '\t\r\n') + + out_xml( '\t\r\n') + out_xml( '\t TextPriceMenuHotX \r\n') + out_xml( '\t TextPriceMenuY \r\n') + out_xml( '\t TextPriceMenuSize \r\n') + out_xml( '\t220\r\n') + out_xml( '\t KanitMediumTTF \r\n') + + + out_xml( '\t 0x6F5F51 \r\n') + out_xml( '\t 0xEAE6E1 \r\n') + out_xml( '\t ' + shw + ' \r\n') + + #out_xml( '\t Var( "฿" + $' + spl[ idx_hot_product_code] + '.Price ) \r\n') + + if "inter" in param: + if "free" in param: + out_xml( '\t "Free" \r\n') + else: + out_xml( '\t StringFmt( $' + str_hot_product_code + '.Price , DisplayFormat, PreScaleConvertShow) ; test\r\n') + else: + out_xml( '\t Var( "฿" + $' + str_hot_product_code + '.Price ) \r\n') + out_xml( '\t\r\n') + + ice_tab_ice_show = True + + shw = "$" + str_cold_product_code + ".Button" + if str_cold_product_code == "-" : + shw = '"Invisible"' + ice_tab_ice_show = False + + if len(str_cold_product_code) == 0 : + shw = '"Invisible"' + ice_tab_ice_show = False + + out_xml( '\t\r\n') + out_xml( '\t 81 \r\n') + out_xml( '\t 264 \r\n') + if pd_code_2 == "51-05-02-0016": + out_xml( '\t Var( DirImage2 + "normal.png" ) \r\n') + out_xml( '\t Var( DirImage2 + "cold_db.png" ) \r\n') + else: + out_xml( '\t Var( DirImage2 + "cold.png" ) \r\n') + out_xml( '\t Var( DirImage2 + "cold_db.png" ) \r\n') + out_xml( '\t ' + shw + ' \r\n') + out_xml( '\t\r\n') + out_xml( '\t\r\n') + out_xml( '\t 113 \r\n') + out_xml( '\t TextPriceMenuY \r\n') + out_xml( '\t TextPriceMenuSize \r\n') + out_xml( '\t220\r\n') + out_xml( '\t KanitMediumTTF \r\n') + + out_xml( '\t 0x6F5F51 \r\n') + out_xml( '\t 0xEAE6E1 \r\n') + out_xml( '\t ' + shw + ' \r\n') + if "inter" in param: + if "free" in param: + out_xml( '\t "Free" \r\n') + else: + out_xml( '\t StringFmt( $' + str_cold_product_code + '.Price , DisplayFormat, PreScaleConvertShow) ; test\r\n') + else: + out_xml( '\t Var( "฿" + $' + str_cold_product_code + '.Price ) \r\n') + out_xml( '\t\r\n') + + ice_tab_blend_show = True + + shw = "$" + str_blend_product_code + ".Button" + if str_blend_product_code == "-" : + shw = '"Invisible"' + ice_tab_blend_show = False + + if len(str_blend_product_code) == 0 : + shw = '"Invisible"' + ice_tab_blend_show = False + + out_xml( '\t\r\n') + out_xml( '\t 146 \r\n') + out_xml( '\t 264 \r\n') + out_xml( '\t Var( DirImage2 + "blend.png" ) \r\n') + out_xml( '\t Var( DirImage2 + "blend_db.png" ) \r\n') + out_xml( '\t ' + shw + ' \r\n') + out_xml( '\t\r\n') + + out_xml( '\t\r\n') + out_xml( '\t TextPriceMenuBlendX \r\n') + out_xml( '\t TextPriceMenuY \r\n') + out_xml( '\t TextPriceMenuSize \r\n') + out_xml( '\t220\r\n') + out_xml( '\t KanitRegularTTF \r\n') + #out_xml( '\t end \r\n') + + out_xml( '\t 0x6F5F51 \r\n') + out_xml( '\t 0xEAE6E1 \r\n') + out_xml( '\t ' + shw + ' \r\n') + if "inter" in param: + if "free" in param: + out_xml( '\t " Free" \r\n') + else: + out_xml( '\t StringFmt( $' + str_blend_product_code + '.Price , DisplayFormat, PreScaleConvertShow) ; test\r\n') + else: + out_xml( '\t Var( "฿" + $' + str_blend_product_code + '.Price ) \r\n') + out_xml( '\t\r\n') + + out_xml( '\t\r\n') + out_xml( '\t 81 \r\n') + out_xml( '\t 264 \r\n') + out_xml( '\t \r\n') + out_xml( '\t\teval( \r\n') + out_xml( '\t\tIf ICE_PROCESS_STATUS = 2 Then\r\n') + out_xml( '\t\t\r\n') + if ice_tab_hot_show == True: + + #out_xml( '\t\t\tDEBUGVAR $Sum' + str_con_var +'\r\n') + out_xml( '\t\t\tIf $Sum' + str_con_var +' = "Disable" Then\r\n') + out_xml( '\t\t\t\tVar ice_tab_process_show = "Disable"\r\n') + out_xml( '\t\t\tElse\r\n') + out_xml( '\t\t\t\tVar ice_tab_process_show = "Enable"\r\n') + out_xml( '\t\t\tEndIf\r\n') + else: + out_xml( '\t\t\tVar ice_tab_process_show = "Invisible"\r\n') + + out_xml( '\t\t\r\n') + out_xml( '\t\tElse\r\n') + out_xml( '\t\t\tVar ice_tab_process_show = "Invisible"\r\n') + out_xml( '\t\tEndIf\r\n') + out_xml( '\t\tVar return = ice_tab_process_show\r\n') + out_xml( '\t\t)\r\n') + out_xml( '\t\r\n') + out_xml( '\t "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" \r\n') + out_xml( '\t "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" \r\n') + out_xml( '\t\r\n') + + + out_xml( '\t\r\n') + out_xml( '\t 49 \r\n') + out_xml( '\t 117 \r\n') + out_xml( '\t \r\n') + out_xml( '\t\teval( \r\n') + out_xml( '\t\t\tIf $Sum' + str_con_var +' = "Disable" Then\r\n') + out_xml( '\t\t\t\tSTRCONTAIN "ERR" $' + pd_code_1 + '.TAG tag1_is_disable\r\n') + out_xml( '\t\t\t\tSTRCONTAIN "ERR" $' + pd_code_2 + '.TAG tag2_is_disable\r\n') + out_xml( '\t\t\t\tSTRCONTAIN "ERR" $' + pd_code_3 + '.TAG tag3_is_disable\r\n') + #out_xml( '\t\t\t\tDEBUGVAR $' + pd_code_1 + '.TAG\r\n') + #out_xml( '\t\t\t\tDEBUGVAR $' + pd_code_2 + '.TAG\r\n') + #out_xml( '\t\t\t\tDEBUGVAR $' + pd_code_3 + '.TAG\r\n') + out_xml( '\t\t\t\tVar return = "Invisible"\r\n') + out_xml( '\t\t\t\tIf tag1_is_disable = "true" Then\r\n') + out_xml( '\t\t\t\t\tVar return = "Enable"\r\n') + out_xml( '\t\t\t\tEndIf\r\n') + out_xml( '\t\t\t\tIf tag2_is_disable = "true" Then\r\n') + out_xml( '\t\t\t\t\tVar return = "Enable"\r\n') + out_xml( '\t\t\t\tEndIf\r\n') + out_xml( '\t\t\t\tIf tag3_is_disable = "true" Then\r\n') + out_xml( '\t\t\t\t\tVar return = "Enable"\r\n') + out_xml( '\t\t\t\tEndIf\r\n') + out_xml( '\t\t\tElse\r\n') + out_xml( '\t\t\t\t\tVar return = "Invisible"\r\n') + + out_xml( '\t\t\tEndIf\r\n') + + out_xml( '\t\t)\r\n') + out_xml( '\t\r\n') + out_xml( '\t "ROOT/taobin_project/image//img_menu_err2.png" \r\n') + out_xml( '\t\r\n') + + out_xml( '\t\r\n') + out_xml( '\t 84 \r\n') + out_xml( '\t 266 \r\n') + out_xml( '\t 10 \r\n') + out_xml( '\t OpunMediumTTF \r\n') + out_xml( '\t 0xDE794E \r\n') + out_xml( '\t ice_tab_process_show \r\n') + out_xml( '\t ice_show_open \r\n') + out_xml( '\t\r\n') + + + out_xml( '\t\r\n') + out_xml( '\t 48 \r\n') + out_xml( '\t 116 \r\n') + out_xml( '\t 32 \r\n') + out_xml( '\t128\r\n') + out_xml( '\t64\r\n') + out_xml( '\t "disable-show" \r\n') + out_xml( '\t $Sum' + str_con_var +' \r\n') + out_xml( '\t\r\n') + out_xml( '\t\t 000013 \r\n') + out_xml( '\t\r\n') + out_xml( '\t center-vertical-horizontal \r\n') + out_xml( '\t\r\n') + + + out_xml( '\r\n') + + def GenMenuBlock( idx_hot_product_code, idx_cold_product_code, idx_blend_product_code): + GenMenuProductCodeBlock( spl[ idx_name][ idx_hot_product_code], spl[ idx_name][ idx_cold_product_code] , spl[ idx_name][ idx_blend_product_code] ) + + + idx_lang_malay = 5 + idx_lang_japan = 4 + idx_lang_china = 3 + idx_lang_thai = 2 + idx_lang_eng = 1 + + + idx_name = 0 + idx_desc = 1 + idx_img = 2 + + + idx_hot_product_code = 7 + idx_cold_product_code = idx_hot_product_code + 1 + idx_blend_product_code = idx_cold_product_code + 1 + + # + idx_hot_product_code2 = idx_blend_product_code + 1 + idx_cold_product_code2 = idx_hot_product_code2 + 1 + idx_blend_product_code2 = idx_cold_product_code2 + 1 + idx_of_eng = 2 + idx_of_eng_des = 3 + idx_of_thai = 0 + idx_of_thai_des = 1 + print ("--------------------------------------------------------------------------------------------------------------------------") + + + if current_file_name == "page_catalog_group_recommend.skt": + touch_less_gen = True + else: + touch_less_gen = False + + out_xml(' \r\n') + if touch_less_gen == True: + out_xml(' 16 \r\n') + out_xml(' 10 \r\n') + out_xml(' 497 \r\n') + out_xml(' 1080 \r\n') + out_xml(' "auto" \r\n') + out_xml(' "Vertical" \r\n') + out_xml(' 4 \r\n') + out_xml('\r\n') + + pd_code_available = '##-##-##-####' + count = 0 + count_test = 0 + #if touch_less_gen == True: + # out_xml( '\r\n') + # out_xml('\t 33 \r\n') + # out_xml('\t 22 \r\n') + # out_xml('\t 225 \r\n') + # out_xml('\t 296 \r\n') + # out_xml('\t "Enable" \r\n') + # out_xml('\t\r\n') + # out_xml('\t 0 \r\n') + # out_xml('\t 0 \r\n') + # out_xml('\t TouchLessStg \r\n') + # out_xml('\t Var( DirImage + "/touch_less_order.png" )\r\n') + # out_xml('\t Var( DirImage + "/touch_less_order_db.png" )\r\n') + # out_xml('\t\r\n') + # out_xml('\t\r\n') + # out_xml('\t 40 \r\n') + # out_xml('\t 153 \r\n') + # out_xml('\t 150 \r\n') + # out_xml('\t "0xeae6e1" \r\n') + # out_xml('\t "0x513C2F" \r\n') + # out_xml('\t 150 \r\n') + # + # #out_xml('\t TouchLessQrStg \r\n') + # #out_xml('\t "Herr" \r\n') + # out_xml('\t TouchLessQrStg \r\n') + # out_xml('\t testservice \r\n') + # + # out_xml('\t\r\n') + # out_xml('\r\n') + out_xml(';dummy_layout.inc\r\n') +# + #out_xml('; menu_new_list '+ str(len(menu_new_list))+'\r\n') + for spl in menu_new_list: + #product_code = s + #if spl[ idx_of_eng] == "IGNORE": + # continue + if len(spl) == 1: + if spl[0].startswith("TAG"): + out_xml( '\t;' + spl[0] + '\r\n') + print("Have TAGESP") + continue + print( '==>\t; '+ spl[ idx_name][ idx_hot_product_code] + ' ' + spl[ idx_name][ idx_cold_product_code] + ' ' + spl[ idx_name][ idx_blend_product_code] + ' \r\n') + + if "," in spl[ idx_name][ idx_hot_product_code] and "," in spl[ idx_name][ idx_cold_product_code] and "," in spl[ idx_name][ idx_blend_product_code]: + #print(" hot = " + spl[ idx_name][ idx_hot_product_code]) + hot_pd = spl[ idx_name][ idx_hot_product_code].split(',') + cold_pd = spl[ idx_name][ idx_cold_product_code].split(',') + blend_pd = spl[ idx_name][ idx_blend_product_code].split(',') + + #print(' size = ' + str( len( hot_pd)) + ' size = ' + str( len( cold_pd)) + ' size = ' + str( len( blend_pd)) + '\r\n') + list_size = len( hot_pd) + for idx in range( list_size): + print(' hot = ' + hot_pd[ idx] + ' cold = ' + cold_pd[ idx]+ ' blend_pd = ' + blend_pd[ idx] + '\r\n') + if hot_pd[ idx] == '-' and cold_pd[ idx] == '-' and blend_pd[ idx] == '-': + print("\t\t==> ignore ") + else: + print("\t\t==> gen ") + GenMenuProductCodeBlock( hot_pd[ idx], cold_pd[ idx], blend_pd[ idx] ) + else: + GenMenuBlock( idx_hot_product_code, idx_cold_product_code, idx_blend_product_code) + #out_xml( '\t; parallel '+ spl[ idx_name][ idx_hot_product_code2] + ' ' + spl[ idx_name][ idx_cold_product_code2] + ' ' + spl[ idx_name][ idx_blend_product_code2] + ' \r\n') + #print("++++++++++++++++++++++++++++++ " + str( count_test) ) + #count_test = count_test + 1 + #if count_test > 5 : + # break + if len( spl[idx_name] ) >= 11: + if spl[ idx_name][ idx_hot_product_code2] != "-" or spl[ idx_name][ idx_cold_product_code2] != "-" or spl[ idx_name][ idx_blend_product_code2] != "-": + GenMenuBlock( idx_hot_product_code2, idx_cold_product_code2, idx_blend_product_code2) + + out_xml('\r\n') + + + out_xml('; Cart\r\n') + out_xml('\r\n') + # if "v2" in param: + + diff --git a/inter/aus/xml/multi/open_page_catalog.ev b/inter/aus/xml/multi/open_page_catalog.ev new file mode 100644 index 00000000..bb6529bb --- /dev/null +++ b/inter/aus/xml/multi/open_page_catalog.ev @@ -0,0 +1,9 @@ +If WinterWarmersCatalogFlag = 1 Then + Var catalogFile = CountryRootPath + "/xml/page_catalog_winter_warmers.lxml" +Else + Var catalogFile = CountryRootPath + "/xml/page_catalog_westfield.lxml" +EndIf + + + +Open catalogFile \ No newline at end of file diff --git a/inter/aus/xml/multi/page_catalog_group_appfast.skt b/inter/aus/xml/multi/page_catalog_group_appfast.skt new file mode 100644 index 00000000..ef560cd4 --- /dev/null +++ b/inter/aus/xml/multi/page_catalog_group_appfast.skt @@ -0,0 +1,51 @@ + + + + "Enable" + 1080 + 1920 +; "0xeae6e1" + SoundVolume + + ; On open + ;include="ROOT/taobin_project/inter/aus/xml/menu_catalog_default_init.lxml" + + If AppFastEnable = "true" Then + Var Menu11Selected = "PressForever" + Var Menu7Selected = "Invisible" + Else + Var Menu11Selected = "Invisible" + Var Menu7Selected = "PressForever" + EndIf + + + + SAVELOG PreviseXMLFileName2 + + Var Timeout = 0 + + + ;include="ROOT/taobin_project/inter/aus/xml/menu_catalog_new_menu.lxml" + + + + +;include="ROOT/taobin_project/inter/aus/xml/menu_catalog_new.lxml" + + + + + + + + + + + diff --git a/inter/aus/xml/multi/page_catalog_group_cocktail.skt b/inter/aus/xml/multi/page_catalog_group_cocktail.skt new file mode 100644 index 00000000..ed6b36ce --- /dev/null +++ b/inter/aus/xml/multi/page_catalog_group_cocktail.skt @@ -0,0 +1,44 @@ + + + + "Enable" + 1080 + 1920 +; "0xeae6e1" + SoundVolume + + ; On open + ;include="ROOT/taobin_project/inter/aus/xml/menu_catalog_default_init.lxml" + + + Var Menu8Selected = "PressForever" + + + SAVELOG PreviseXMLFileName2 + + Var Timeout = 0 + + + ;include="ROOT/taobin_project/inter/aus/xml/menu_catalog_new_menu.lxml" + + + + + +;include="ROOT/taobin_project/inter/aus/xml/menu_catalog_new.lxml" + + + + + + + + + + diff --git a/inter/aus/xml/multi/page_catalog_group_coffee.skt b/inter/aus/xml/multi/page_catalog_group_coffee.skt new file mode 100644 index 00000000..8fe815c6 --- /dev/null +++ b/inter/aus/xml/multi/page_catalog_group_coffee.skt @@ -0,0 +1,42 @@ + + + + "Enable" + 1080 + 1920 +; "0xeae6e1" + SoundVolume + + ; On open + ;include="ROOT/taobin_project/inter/aus/xml/menu_catalog_default_init.lxml" + Var Menu2Selected = "PressForever" + + + + SAVELOG PreviseXMLFileName2 + + Var Timeout = 0 + + + ;include="ROOT/taobin_project/inter/aus/xml/menu_catalog_new_menu.lxml" + + + +;include="ROOT/taobin_project/inter/aus/xml/menu_catalog_new.lxml" + + + + + + + + + + + diff --git a/inter/aus/xml/multi/page_catalog_group_forkid.skt b/inter/aus/xml/multi/page_catalog_group_forkid.skt new file mode 100644 index 00000000..0c1bf8b0 --- /dev/null +++ b/inter/aus/xml/multi/page_catalog_group_forkid.skt @@ -0,0 +1,51 @@ + + + + "Enable" + 1080 + 1920 +; "0xeae6e1" + SoundVolume + + ; On open + ;include="ROOT/taobin_project/inter/aus/xml/menu_catalog_default_init.lxml" + ; protein + If AppFastEnable = "true" Then + Var Menu11Selected = "PressForever" + Var Menu7Selected = "Invisible" + Var Menu21Selected = "Invisible" + Else + Var Menu11Selected = "Invisible" + Var Menu7Selected = "Invisible" + Var Menu21Selected = "PressForever" + EndIf + + + SAVELOG PreviseXMLFileName2 + + Var Timeout = 0 + + + ;include="ROOT/taobin_project/inter/aus/xml/menu_catalog_new_menu.lxml" + + + + +;include="ROOT/taobin_project/inter/aus/xml/menu_catalog_new.lxml" + + + + + + + + + + diff --git a/inter/aus/xml/multi/page_catalog_group_health.skt b/inter/aus/xml/multi/page_catalog_group_health.skt new file mode 100644 index 00000000..5a796a0d --- /dev/null +++ b/inter/aus/xml/multi/page_catalog_group_health.skt @@ -0,0 +1,38 @@ + + + + "Enable" + 1080 + 1920 +; "0xeae6e1" + SoundVolume + + ; On open + ;include="ROOT/taobin_project/inter/aus/xml/menu_catalog_default_init.lxml" + Var Menu22Selected = "PressForever" + + + SAVELOG PreviseXMLFileName2 + + Var Timeout = 0 + + + ;include="ROOT/taobin_project/inter/aus/xml/menu_catalog_new_menu.lxml" + + + + +;include="ROOT/taobin_project/inter/aus/xml/menu_catalog_new.lxml" + + + + + + diff --git a/inter/aus/xml/multi/page_catalog_group_melon.skt b/inter/aus/xml/multi/page_catalog_group_melon.skt new file mode 100644 index 00000000..e0659022 --- /dev/null +++ b/inter/aus/xml/multi/page_catalog_group_melon.skt @@ -0,0 +1,2815 @@ + + + + "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 + 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 + + + ; 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" + Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_payment.xml" + + EndIf + Else + EndIf + + + + + + + + + + + 10 + 497 + 1080 + "auto" + "Vertical" + 4 + +; menu_new_list 9 + ; ==================> Len = 16 + ; - - 12-03-03-0009 + + 33 + 22 + 225 + 296 + Flag( 12-03-03-0009.Button,$Sum1203030009) + + + 16 + 164 + 24 + 220 + "multi2" + KanitMediumTTF + 0x322B26 + showthaiText + "โอริโอ้ปั่นภูเขาไฟ" + + + 16 + 220 + 14 + 220 + KanitMediumTTF + 0x6F5F51 + showthaiText + "นม น้ำตาล โอริโอ้ + " + + + 16 + 164 + 22 + 220 + "multi2" + KanitMediumTTF + 0x322B26 + showengText + "OREO SMOOTHIE +VOLCANO" + + + 16 + 220 + 14 + 220 + KanitMediumTTF + 0x6F5F51 + showengText + "Milk, Sugar, Oreo, 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" ) + "Invisible" + + + 115 + TextPriceMenuY + TextPriceMenuSize + 220 + KanitMediumTTF + 0x6F5F51 + 0xEAE6E1 + "Invisible" + StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) ; test + + + 146 + 264 + Var( DirImage2 + "blend.png" ) + Var( DirImage2 + "blend_db.png" ) + $12-03-03-0009.Button + + + 180 + TextPriceMenuY + TextPriceMenuSize + 220 + KanitRegularTTF + 0x6F5F51 + 0xEAE6E1 + $12-03-03-0009.Button + StringFmt( $12-03-03-0009.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 $Sum1203030009 = "Disable" Then + STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable + STRCONTAIN "ERR" $##-##-##-####.TAG tag2_is_disable + STRCONTAIN "ERR" $12-03-03-0009.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" + $Sum1203030009 + text_unavailable + center-vertical-horizontal + + + ; - - - + ; ==================> Len = 15 + ; - - 12-03-03-0027 + + 33 + 22 + 225 + 296 + Flag( 12-03-03-0027.Button,$Sum1203030027) + + + 16 + 164 + 24 + 220 + "multi2" + KanitMediumTTF + 0x322B26 + showthaiText + "สตอเบอร์รี่ปั่น +โอริโอ้ภูเขาไฟ" + + + 16 + 220 + 14 + 220 + KanitMediumTTF + 0x6F5F51 + showthaiText + "น้ำเชื่อมสตอเบอร์รี่ นม น้ำตาล + Oreo" + + + 16 + 164 + 22 + 220 + "multi2" + KanitMediumTTF + 0x322B26 + showengText + "STRAWBERRY MILK +OREO VOLCANO" + + + 16 + 220 + 14 + 220 + KanitMediumTTF + 0x6F5F51 + showengText + "Strawberry Syrup, Milk, +Sugar, Oreo" + + + 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" ) + "Invisible" + + + 115 + TextPriceMenuY + TextPriceMenuSize + 220 + KanitMediumTTF + 0x6F5F51 + 0xEAE6E1 + "Invisible" + StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) ; test + + + 146 + 264 + Var( DirImage2 + "blend.png" ) + Var( DirImage2 + "blend_db.png" ) + $12-03-03-0027.Button + + + 180 + TextPriceMenuY + TextPriceMenuSize + 220 + KanitRegularTTF + 0x6F5F51 + 0xEAE6E1 + $12-03-03-0027.Button + StringFmt( $12-03-03-0027.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 $Sum1203030027 = "Disable" Then + STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable + STRCONTAIN "ERR" $##-##-##-####.TAG tag2_is_disable + STRCONTAIN "ERR" $12-03-03-0027.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" + $Sum1203030027 + text_unavailable + center-vertical-horizontal + + + ; - - - + ; ==================> Len = 15 + ; - - 12-03-03-0028 + + 33 + 22 + 225 + 296 + Flag( 12-03-03-0028.Button,$Sum1203030028) + + + 16 + 164 + 24 + 220 + "multi2" + KanitMediumTTF + 0x322B26 + showthaiText + "เมล่อนปั่น +โอริโอ้ภูเขาไฟ" + + + 16 + 220 + 14 + 220 + KanitMediumTTF + 0x6F5F51 + showthaiText + "น้ำเชื่อมเมล่อน นม น้ำตาล + Oreo" + + + 16 + 164 + 22 + 220 + "multi2" + KanitMediumTTF + 0x322B26 + showengText + "MELON MILK OREO VOLCANO" + + + 16 + 220 + 14 + 220 + KanitMediumTTF + 0x6F5F51 + showengText + "Melon Syrup, Milk, +Sugar, Oreo" + + + 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" ) + "Invisible" + + + 115 + TextPriceMenuY + TextPriceMenuSize + 220 + KanitMediumTTF + 0x6F5F51 + 0xEAE6E1 + "Invisible" + StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) ; test + + + 146 + 264 + Var( DirImage2 + "blend.png" ) + Var( DirImage2 + "blend_db.png" ) + $12-03-03-0028.Button + + + 180 + TextPriceMenuY + TextPriceMenuSize + 220 + KanitRegularTTF + 0x6F5F51 + 0xEAE6E1 + $12-03-03-0028.Button + StringFmt( $12-03-03-0028.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 $Sum1203030028 = "Disable" Then + STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable + STRCONTAIN "ERR" $##-##-##-####.TAG tag2_is_disable + STRCONTAIN "ERR" $12-03-03-0028.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" + $Sum1203030028 + text_unavailable + center-vertical-horizontal + + + ; - - - + ; ==================> Len = 15 + ; - - 12-03-03-0029 + + 33 + 22 + 225 + 296 + Flag( 12-03-03-0029.Button,$Sum1203030029) + + + 16 + 164 + 24 + 220 + "multi2" + KanitMediumTTF + 0x322B26 + showthaiText + "นมกล้วยปั่น +โอริโอ้ภูเขาไฟ" + + + 16 + 220 + 14 + 220 + KanitMediumTTF + 0x6F5F51 + showthaiText + "น้ำเชื่อมกล้วย นม น้ำตาล Oreo" + + + 16 + 164 + 22 + 220 + "multi2" + KanitMediumTTF + 0x322B26 + showengText + "BANANA MILK OREO +VOLCANO" + + + 16 + 220 + 14 + 220 + KanitMediumTTF + 0x6F5F51 + showengText + "Banana Syrup, Milk, +Sugar, Oreo" + + + 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" ) + "Invisible" + + + 115 + TextPriceMenuY + TextPriceMenuSize + 220 + KanitMediumTTF + 0x6F5F51 + 0xEAE6E1 + "Invisible" + StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) ; test + + + 146 + 264 + Var( DirImage2 + "blend.png" ) + Var( DirImage2 + "blend_db.png" ) + $12-03-03-0029.Button + + + 180 + TextPriceMenuY + TextPriceMenuSize + 220 + KanitRegularTTF + 0x6F5F51 + 0xEAE6E1 + $12-03-03-0029.Button + StringFmt( $12-03-03-0029.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 $Sum1203030029 = "Disable" Then + STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable + STRCONTAIN "ERR" $##-##-##-####.TAG tag2_is_disable + STRCONTAIN "ERR" $12-03-03-0029.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" + $Sum1203030029 + text_unavailable + center-vertical-horizontal + + + ; - - - + ; ==================> Len = 15 + ; - - 12-03-03-0030 + + 33 + 22 + 225 + 296 + Flag( 12-03-03-0030.Button,$Sum1203030030) + + + 16 + 164 + 24 + 220 + "multi2" + KanitMediumTTF + 0x322B26 + showthaiText + "โกโก้ปั่น +โอริโอ้ภูเขาไฟ" + + + 16 + 220 + 14 + 220 + KanitMediumTTF + 0x6F5F51 + showthaiText + "โกโก้ นม น้ำตาล + Oreo" + + + 16 + 164 + 22 + 220 + "multi2" + KanitMediumTTF + 0x322B26 + showengText + "CHOCO OREO VOLCANO" + + + 16 + 220 + 14 + 220 + KanitMediumTTF + 0x6F5F51 + showengText + "Cocoa, Milk, +Sugar, Oreo" + + + 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" ) + "Invisible" + + + 115 + TextPriceMenuY + TextPriceMenuSize + 220 + KanitMediumTTF + 0x6F5F51 + 0xEAE6E1 + "Invisible" + StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) ; test + + + 146 + 264 + Var( DirImage2 + "blend.png" ) + Var( DirImage2 + "blend_db.png" ) + $12-03-03-0030.Button + + + 180 + TextPriceMenuY + TextPriceMenuSize + 220 + KanitRegularTTF + 0x6F5F51 + 0xEAE6E1 + $12-03-03-0030.Button + StringFmt( $12-03-03-0030.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 $Sum1203030030 = "Disable" Then + STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable + STRCONTAIN "ERR" $##-##-##-####.TAG tag2_is_disable + STRCONTAIN "ERR" $12-03-03-0030.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" + $Sum1203030030 + text_unavailable + center-vertical-horizontal + + + ; - - - + ; ==================> Len = 16 + ; - - 12-03-03-0031 + + 33 + 22 + 225 + 296 + Flag( 12-03-03-0031.Button,$Sum1203030031) + + + 16 + 164 + 24 + 220 + "multi2" + KanitMediumTTF + 0x322B26 + showthaiText + "นมคาราเมลปั่น +โอริโอ้ภูเขาไฟ" + + + 16 + 220 + 14 + 220 + KanitMediumTTF + 0x6F5F51 + showthaiText + "น้ำเชื่อมคาราเมล นม น้ำตาล + Oreo" + + + 16 + 164 + 22 + 220 + "multi2" + KanitMediumTTF + 0x322B26 + showengText + "12-01-01-0043" + + + 16 + 220 + 14 + 220 + KanitMediumTTF + 0x6F5F51 + showengText + "Caramel Syrup, Milk, +Sugar, Oreo" + + + 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" ) + "Invisible" + + + 115 + TextPriceMenuY + TextPriceMenuSize + 220 + KanitMediumTTF + 0x6F5F51 + 0xEAE6E1 + "Invisible" + StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) ; test + + + 146 + 264 + Var( DirImage2 + "blend.png" ) + Var( DirImage2 + "blend_db.png" ) + $12-03-03-0031.Button + + + 180 + TextPriceMenuY + TextPriceMenuSize + 220 + KanitRegularTTF + 0x6F5F51 + 0xEAE6E1 + $12-03-03-0031.Button + StringFmt( $12-03-03-0031.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 $Sum1203030031 = "Disable" Then + STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable + STRCONTAIN "ERR" $##-##-##-####.TAG tag2_is_disable + STRCONTAIN "ERR" $12-03-03-0031.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" + $Sum1203030031 + text_unavailable + center-vertical-horizontal + + + ; - - - + ; ==================> Len = 16 + ; - - 12-02-03-0043 + + 33 + 22 + 225 + 296 + Flag( 12-02-03-0043.Button,$Sum1202030043) + + + 16 + 164 + 24 + 220 + "multi2" + KanitMediumTTF + 0x322B26 + showthaiText + "โฮจิฉะ +โอริโอ้ภูเขาไฟ" + + + 16 + 220 + 14 + 220 + KanitMediumTTF + 0x6F5F51 + showthaiText + "โฮจิฉะ นม น้ำตาล + Oreo" + + + 16 + 164 + 22 + 220 + "multi2" + KanitMediumTTF + 0x322B26 + showengText + "HOJICHA OREO VOLCANO" + + + 16 + 220 + 14 + 220 + KanitMediumTTF + 0x6F5F51 + showengText + "Hojicha, Milk, +Sugar, Oreo" + + + 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" ) + "Invisible" + + + 115 + TextPriceMenuY + TextPriceMenuSize + 220 + KanitMediumTTF + 0x6F5F51 + 0xEAE6E1 + "Invisible" + StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) ; test + + + 146 + 264 + Var( DirImage2 + "blend.png" ) + Var( DirImage2 + "blend_db.png" ) + $12-02-03-0043.Button + + + 180 + TextPriceMenuY + TextPriceMenuSize + 220 + KanitRegularTTF + 0x6F5F51 + 0xEAE6E1 + $12-02-03-0043.Button + StringFmt( $12-02-03-0043.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 $Sum1202030043 = "Disable" Then + STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable + STRCONTAIN "ERR" $##-##-##-####.TAG tag2_is_disable + STRCONTAIN "ERR" $12-02-03-0043.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" + $Sum1202030043 + text_unavailable + center-vertical-horizontal + + + ; - - - + ; ==================> Len = 16 + ; - - 12-02-03-0044 + + 33 + 22 + 225 + 296 + Flag( 12-02-03-0044.Button,$Sum1202030044) + + + 16 + 164 + 24 + 220 + "multi2" + KanitMediumTTF + 0x322B26 + showthaiText + "ชานมไทย +โอริโอ้ภูเขาไฟ" + + + 16 + 220 + 14 + 220 + KanitMediumTTF + 0x6F5F51 + showthaiText + "ชาไทย นม น้ำตาล + Oreo" + + + 16 + 164 + 22 + 220 + "multi2" + KanitMediumTTF + 0x322B26 + showengText + "THAI MILK TEA OREO VOLCANO" + + + 16 + 220 + 14 + 220 + KanitMediumTTF + 0x6F5F51 + showengText + "Thai Tea, Milk, +Sugar, Oreo" + + + 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" ) + "Invisible" + + + 115 + TextPriceMenuY + TextPriceMenuSize + 220 + KanitMediumTTF + 0x6F5F51 + 0xEAE6E1 + "Invisible" + StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) ; test + + + 146 + 264 + Var( DirImage2 + "blend.png" ) + Var( DirImage2 + "blend_db.png" ) + $12-02-03-0044.Button + + + 180 + TextPriceMenuY + TextPriceMenuSize + 220 + KanitRegularTTF + 0x6F5F51 + 0xEAE6E1 + $12-02-03-0044.Button + StringFmt( $12-02-03-0044.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 $Sum1202030044 = "Disable" Then + STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable + STRCONTAIN "ERR" $##-##-##-####.TAG tag2_is_disable + STRCONTAIN "ERR" $12-02-03-0044.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" + $Sum1202030044 + text_unavailable + center-vertical-horizontal + + + ; - - - + ; ==================> Len = 16 + ; - - 12-01-03-0043 + + 33 + 22 + 225 + 296 + Flag( 12-01-03-0043.Button,$Sum1201030043) + + + 16 + 164 + 24 + 220 + "multi2" + KanitMediumTTF + 0x322B26 + showthaiText + "ลาเต้ปั่น + โอริโอ้ภูเขาไฟ" + + + 16 + 220 + 14 + 220 + KanitMediumTTF + 0x6F5F51 + showthaiText + "กาแฟ นม น้ำตาล + Oero" + + + 16 + 164 + 22 + 220 + "multi2" + KanitMediumTTF + 0x322B26 + showengText + "CAFE LATTE OREO VOLCANO" + + + 16 + 220 + 14 + 220 + KanitMediumTTF + 0x6F5F51 + showengText + "Coffee, Milk, +Sugar, Oreo" + + + 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" ) + "Invisible" + + + 115 + TextPriceMenuY + TextPriceMenuSize + 220 + KanitMediumTTF + 0x6F5F51 + 0xEAE6E1 + "Invisible" + StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) ; test + + + 146 + 264 + Var( DirImage2 + "blend.png" ) + Var( DirImage2 + "blend_db.png" ) + $12-01-03-0043.Button + + + 180 + TextPriceMenuY + TextPriceMenuSize + 220 + KanitRegularTTF + 0x6F5F51 + 0xEAE6E1 + $12-01-03-0043.Button + StringFmt( $12-01-03-0043.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 $Sum1201030043 = "Disable" Then + STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable + STRCONTAIN "ERR" $##-##-##-####.TAG tag2_is_disable + STRCONTAIN "ERR" $12-01-03-0043.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" + $Sum1201030043 + text_unavailable + center-vertical-horizontal + + + ; - - - + +; Cart + + + + + + diff --git a/inter/aus/xml/multi/page_catalog_group_milk.skt b/inter/aus/xml/multi/page_catalog_group_milk.skt new file mode 100644 index 00000000..f789ef25 --- /dev/null +++ b/inter/aus/xml/multi/page_catalog_group_milk.skt @@ -0,0 +1,46 @@ + + + + "Enable" + 1080 + 1920 +; "0xeae6e1" + SoundVolume + + ; On open + ;include="ROOT/taobin_project/inter/aus/xml/menu_catalog_default_init.lxml" + Var Menu4Selected = "PressForever" + + SAVELOG PreviseXMLFileName2 + + Var Timeout = 0 + + + ;include="ROOT/taobin_project/inter/aus/xml/menu_catalog_new_menu.lxml" + + + +;include="ROOT/taobin_project/inter/aus/xml/menu_catalog_new.lxml" + + + + + + + + + + + RefreshAll + + + + diff --git a/inter/aus/xml/multi/page_catalog_group_oreo.skt b/inter/aus/xml/multi/page_catalog_group_oreo.skt new file mode 100644 index 00000000..5b4e9442 --- /dev/null +++ b/inter/aus/xml/multi/page_catalog_group_oreo.skt @@ -0,0 +1,36 @@ + + + + "Enable" + 1080 + 1920 +; "0xeae6e1" + SoundVolume + + ; On open + ;include="ROOT/taobin_project/inter/aus/xml/menu_catalog_default_init.lxml" + + + Var Timeout = 0 + + + ;include="ROOT/taobin_project/inter/aus/xml/menu_catalog_new_menu.lxml" + + + +;include="ROOT/taobin_project/inter/aus/xml/menu_catalog_new.lxml" + + + + + + + + + diff --git a/inter/aus/xml/multi/page_catalog_group_other.skt b/inter/aus/xml/multi/page_catalog_group_other.skt new file mode 100644 index 00000000..b12cd935 --- /dev/null +++ b/inter/aus/xml/multi/page_catalog_group_other.skt @@ -0,0 +1,40 @@ + + + + "Enable" + 1080 + 1920 +; "0xeae6e1" + SoundVolume + + ; On open + ;include="ROOT/taobin_project/inter/aus/xml/menu_catalog_default_init.lxml" + ; soda and other + Var Menu6Selected = "PressForever" + + SAVELOG PreviseXMLFileName2 + + Var Timeout = 0 + + + ;include="ROOT/taobin_project/inter/aus/xml/menu_catalog_new_menu.lxml" + + + +;include="ROOT/taobin_project/inter/aus/xml/menu_catalog_new.lxml" + + + + + + + + + diff --git a/inter/aus/xml/multi/page_catalog_group_pepsi_pro.skt b/inter/aus/xml/multi/page_catalog_group_pepsi_pro.skt new file mode 100644 index 00000000..5b4e9442 --- /dev/null +++ b/inter/aus/xml/multi/page_catalog_group_pepsi_pro.skt @@ -0,0 +1,36 @@ + + + + "Enable" + 1080 + 1920 +; "0xeae6e1" + SoundVolume + + ; On open + ;include="ROOT/taobin_project/inter/aus/xml/menu_catalog_default_init.lxml" + + + Var Timeout = 0 + + + ;include="ROOT/taobin_project/inter/aus/xml/menu_catalog_new_menu.lxml" + + + +;include="ROOT/taobin_project/inter/aus/xml/menu_catalog_new.lxml" + + + + + + + + + diff --git a/inter/aus/xml/multi/page_catalog_group_recommend.lxml b/inter/aus/xml/multi/page_catalog_group_recommend.lxml new file mode 100644 index 00000000..611d2fc9 --- /dev/null +++ b/inter/aus/xml/multi/page_catalog_group_recommend.lxml @@ -0,0 +1,69 @@ + + + + "Enable" + 1080 + 1920 +; "0xeae6e1" + SoundVolume + + ; On open + ;include="ROOT/taobin_project/inter/aus/xml/menu_catalog_default_init.lxml" + + Var Menu1Selected = "PressForever" + + Var OreoBigButtonEnable = "Enable" + + If $12-01-01-0001.Button = "Invisible" Then + Var esp102101001Enable = "Invisible" + Var esp122101001Enable = "Enable" + + Else + Var esp102101001Enable = "Enable" + Var esp122101001Enable = "Invisible" + + EndIf + + SAVELOG PreviseXMLFileName2 + + Var Timeout = 0 + + If show_eng = "true" Then + + Var text_unavailable = "UNAVAILABLE###size=16" + Else + Var text_unavailable = "หมด###size=32" + + EndIf + + ;include="ROOT/taobin_project/inter/aus/xml/menu_catalog_new_menu.lxml" + + + + + +;include="ROOT/taobin_project/inter/aus/xml/menu_catalog_new.lxml" + + + + + + +;BigLogoLayout + + + + diff --git a/inter/aus/xml/multi/page_catalog_group_recommend.skt b/inter/aus/xml/multi/page_catalog_group_recommend.skt new file mode 100644 index 00000000..9d58a651 --- /dev/null +++ b/inter/aus/xml/multi/page_catalog_group_recommend.skt @@ -0,0 +1,73 @@ + + + + "Enable" + 1080 + 1920 +; "0xeae6e1" + SoundVolume + + ; On open + ;include="ROOT/taobin_project/inter/aus/xml/menu_catalog_default_init.lxml" + + Var Menu1Selected = "PressForever" + + Var OreoBigButtonEnable = "Enable" + + If $12-01-01-0001.Button = "Invisible" Then + Var esp102101001Enable = "Invisible" + Var esp122101001Enable = "Enable" + + Else + Var esp102101001Enable = "Enable" + Var esp122101001Enable = "Invisible" + + EndIf + + SAVELOG PreviseXMLFileName2 + + Var Timeout = 0 + + If show_eng = "true" Then + + Var text_unavailable = "UNAVAILABLE###size=16" + Else + Var text_unavailable = "หมด###size=32" + + EndIf + + ;include="ROOT/taobin_project/inter/aus/xml/menu_catalog_new_menu.lxml" + + + + + +;include="ROOT/taobin_project/inter/aus/xml/menu_catalog_new.lxml" + + + + + + +;BigLogoLayout + + + + diff --git a/inter/aus/xml/multi/page_catalog_group_recommend_multi_pro.skt b/inter/aus/xml/multi/page_catalog_group_recommend_multi_pro.skt new file mode 100644 index 00000000..5b4e9442 --- /dev/null +++ b/inter/aus/xml/multi/page_catalog_group_recommend_multi_pro.skt @@ -0,0 +1,36 @@ + + + + "Enable" + 1080 + 1920 +; "0xeae6e1" + SoundVolume + + ; On open + ;include="ROOT/taobin_project/inter/aus/xml/menu_catalog_default_init.lxml" + + + Var Timeout = 0 + + + ;include="ROOT/taobin_project/inter/aus/xml/menu_catalog_new_menu.lxml" + + + +;include="ROOT/taobin_project/inter/aus/xml/menu_catalog_new.lxml" + + + + + + + + + diff --git a/inter/aus/xml/multi/page_catalog_group_tea.skt b/inter/aus/xml/multi/page_catalog_group_tea.skt new file mode 100644 index 00000000..3deb8de6 --- /dev/null +++ b/inter/aus/xml/multi/page_catalog_group_tea.skt @@ -0,0 +1,43 @@ + + + + "Enable" + 1080 + 1920 +; "0xeae6e1" + SoundVolume + + ; On open + ;include="ROOT/taobin_project/inter/aus/xml/menu_catalog_default_init.lxml" + Var Menu3Selected = "PressForever" + + + SAVELOG PreviseXMLFileName2 + + Var Timeout = 0 + + + ;include="ROOT/taobin_project/inter/aus/xml/menu_catalog_new_menu.lxml" + + + + +;include="ROOT/taobin_project/inter/aus/xml/menu_catalog_new.lxml" + + + + + + + + + + + diff --git a/inter/aus/xml/multi/page_catalog_group_whey.skt b/inter/aus/xml/multi/page_catalog_group_whey.skt new file mode 100644 index 00000000..73eebe1b --- /dev/null +++ b/inter/aus/xml/multi/page_catalog_group_whey.skt @@ -0,0 +1,46 @@ + + + + "Enable" + 1080 + 1920 +; "0xeae6e1" + SoundVolume + + ; On open + ;include="ROOT/taobin_project/inter/aus/xml/menu_catalog_default_init.lxml" + If AppFastEnable = "true" Then + Var Menu11Selected = "PressForever" + Var Menu7Selected = "Invisible" + Else + Var Menu11Selected = "Invisible" + Var Menu7Selected = "PressForever" + EndIf + + SAVELOG PreviseXMLFileName2 + + Var Timeout = 0 + + + ;include="ROOT/taobin_project/inter/aus/xml/menu_catalog_new_menu.lxml" + + + + +;include="ROOT/taobin_project/inter/aus/xml/menu_catalog_new.lxml" + + + + + + + + + diff --git a/inter/aus/xml/multi/page_catalog_group_winter_warmers.skt b/inter/aus/xml/multi/page_catalog_group_winter_warmers.skt new file mode 100644 index 00000000..7f2f3fa6 --- /dev/null +++ b/inter/aus/xml/multi/page_catalog_group_winter_warmers.skt @@ -0,0 +1,66 @@ + + + + "Enable" + 1080 + 1920 +; "0xeae6e1" + SoundVolume + + ; On open + ;include="ROOT/taobin_project/inter/aus/xml/menu_catalog_default_init.lxml" + + + SAVELOG PreviseXMLFileName2 + + Var Timeout = 0 + + Var MenuWinterWarmersCatalogState = "PressForever" + + + ;include="ROOT/taobin_project/inter/aus/xml/menu_catalog_new_menu.lxml" + + + + +;include="ROOT/taobin_project/inter/aus/xml/menu_catalog_new.lxml" + + + + + + + + + + + + + Var BigButtonEnable = "Enable" + Refresh + + + Var BigButtonEnable = "Invisible" + Refresh + + + + + diff --git a/ui/lang.tsv b/ui/lang.tsv index 6e0205be..64b65b31 100644 --- a/ui/lang.tsv +++ b/ui/lang.tsv @@ -1063,7 +1063,7 @@ 1300003 Beans module ชุดเมล็ดกาแฟ 1300004 Bean tray ถาดใส่เมล็ดกาแฟ 1300005 Switch tray : สวิตซ์ถาด : -1300006 Check tray shutter ตรวจสอบชัตเตอร์ของถาด +1300006 Check tray shutter ตรวจสอบชัตเตอร์ถาด 1300007 Pay beans จ่ายถั่ว 1300008 1. Select beans 1. เลือกเมล็ดกาแฟ 1300009 2. Select direction 2. เลือกทิศทาง @@ -1076,7 +1076,7 @@ 1300016 Brew time:sec เวลาชง: วินาที 1300017 Test grind sizes ทดสอบขนาดบด 1300018 Coffee module type : ประเภทชุดกาแฟ : -1300019 1. Select grind sizes 1. เลือกขนาดบด +1300019 1. Select grind sizes 1. เลือกขนาดการบด 1300020 More coarse หยาบขึ้น 1300021 More fine ละเอียดขึ้น 1300022 2. Test grinding 2. ทดสอบการบด diff --git a/video/brewing_adv14.mp4 b/video/brewing_adv14.mp4 new file mode 100755 index 00000000..4beea6cc Binary files /dev/null and b/video/brewing_adv14.mp4 differ diff --git a/video/brewing_txt_adv14.png b/video/brewing_txt_adv14.png new file mode 100644 index 00000000..ee477e19 Binary files /dev/null and b/video/brewing_txt_adv14.png differ diff --git a/video/brewing_txt_adv14_en.png b/video/brewing_txt_adv14_en.png new file mode 100644 index 00000000..2c5e41d6 Binary files /dev/null and b/video/brewing_txt_adv14_en.png differ diff --git a/video/script3_first_brewing.ev b/video/script3_first_brewing.ev index 3a60048c..828d37c8 100644 --- a/video/script3_first_brewing.ev +++ b/video/script3_first_brewing.ev @@ -10,7 +10,7 @@ If SystemDateMonthInt = 9 Then Var ShopeePayLaterOn = 1 If SystemDateDayInt > 14 Then - Var EDC_ThailandOn = 1 + EndIf EndIf @@ -21,21 +21,11 @@ If BoxID = 172420 Then Var ShopeePayLaterOn = 0 EndIf -If SystemDateMonthInt = 10 Then - - Var EDC_ThailandOn = 1 -EndIf - -If SystemDateMonthInt = 11 Then - - Var EDC_ThailandOn = 1 -EndIf ; ; ; ; -;Var EDC_ThailandOn = 1 ; ; @@ -141,6 +131,29 @@ If brewing_adv13_size = 9295686 Then EndIf EndIf + + +If brewing_adv14_size = "" Then + GetFileSizeK "taobin_project/video/brewing_adv14.mp4" brewing_adv14_size +EndIf + +DEBUGVAR brewing_adv_size +If brewing_adv14_size = 9673549 Then + Var BrewingAdvertiseEnable[ BrewingAdvertiseRunSlot] = 1 + Var BrewingAdvertiseVideo[ BrewingAdvertiseRunSlot] = "ROOT/taobin_project/video/brewing_adv14.mp4"; + If show_eng = "true" Then + Var BrewingAdvertiseImage[BrewingAdvertiseRunSlot] = "ROOT/taobin_project/video/brewing_txt_adv14_en.png" + Else + Var BrewingAdvertiseImage[BrewingAdvertiseRunSlot] = "ROOT/taobin_project/video/brewing_txt_adv14.png" + EndIf + + Var BrewingAdvertiseDurationTime[BrewingAdvertiseShowSlot] = 28 + Var BrewingAdvertiseShowTextNextToOrder[ BrewingAdvertiseRunSlot] = 0 + + Var BrewingAdvertiseRunSlot = BrewingAdvertiseRunSlot + 1 +EndIf + + DEBUGVAR BrewingAdvertiseShowSlot Var brew_vdo1 = BrewingAdvertiseVideo[BrewingAdvertiseShowSlot] diff --git a/video/sync_1.file b/video/sync_1.file index e0a46c19..9d9ca69b 100644 --- a/video/sync_1.file +++ b/video/sync_1.file @@ -1,7 +1,8 @@ -total 166416 +total 175968 -rw-rw---- 1 root sdcard_rw 9358730 2024-08-21 16:00 brewing_adv11.mp4 -rw-rw---- 1 root sdcard_rw 3687715 2024-08-19 16:53 brewing_adv12.mp4 -rw-rw---- 1 root sdcard_rw 9295686 2024-08-27 11:33 brewing_adv13.mp4 +-rw-rw---- 1 root sdcard_rw 9673549 2024-07-25 10:29 brewing_adv14.mp4 -rw-rw---- 1 root sdcard_rw 9526548 2023-09-18 18:44 brewing_adv3.mp4 -rw-rw---- 1 root sdcard_rw 9368231 2024-07-19 15:00 brewing_adv4.mp4 -rw-rw---- 1 root sdcard_rw 23569 2023-09-18 18:44 brewing_txt_adv1.png @@ -11,6 +12,8 @@ total 166416 -rw-rw---- 1 root sdcard_rw 42692 2024-08-29 11:31 brewing_txt_adv12_en.png -rw-rw---- 1 root sdcard_rw 53750 2024-08-29 11:30 brewing_txt_adv13.png -rw-rw---- 1 root sdcard_rw 48681 2024-08-29 11:30 brewing_txt_adv13_en.png +-rw-rw---- 1 root sdcard_rw 44623 2024-09-17 14:17 brewing_txt_adv14.png +-rw-rw---- 1 root sdcard_rw 41395 2024-09-17 14:18 brewing_txt_adv14_en.png -rw-rw---- 1 root sdcard_rw 28097 2023-09-18 18:44 brewing_txt_adv1_en.png -rw-rw---- 1 root sdcard_rw 30982 2023-09-18 18:44 brewing_txt_adv3.png -rw-rw---- 1 root sdcard_rw 35550 2023-09-18 18:44 brewing_txt_adv3_en.png @@ -21,8 +24,8 @@ total 166416 -rw-rw---- 1 root sdcard_rw 1217 2024-07-25 11:20 script1.ev -rw-rw---- 1 root sdcard_rw 288 2024-07-24 21:21 script2.ev -rw-rw---- 1 root sdcard_rw 1401 2024-09-02 10:37 script3_brew.ev --rw-rw---- 1 root sdcard_rw 5592 2024-09-13 10:20 script3_first_brewing.ev --rw-rw---- 1 root sdcard_rw 0 2024-09-13 10:20 sync_1.file +-rw-rw---- 1 root sdcard_rw 6217 2024-09-17 14:24 script3_first_brewing.ev +-rw-rw---- 1 root sdcard_rw 0 2024-09-17 14:54 sync_1.file -rw-rw---- 1 root sdcard_rw 4806758 2023-09-18 18:44 taobin_save_world1.mp4 -rw-rw---- 1 root sdcard_rw 6428830 2023-09-18 18:44 taobin_save_world2.mp4 -rw-rw---- 1 root sdcard_rw 4634942 2023-09-18 18:44 taobin_save_world3.mp4