diff --git a/image/page_drink/bn_hot_double_espresso.png b/image/page_drink/bn_hot_double_espresso.png index 850261d3..637bc737 100644 Binary files a/image/page_drink/bn_hot_double_espresso.png and b/image/page_drink/bn_hot_double_espresso.png differ diff --git a/image/page_drink/bn_iced_Cokecola.png b/image/page_drink/bn_iced_Cokecola.png new file mode 100644 index 00000000..bb50ca3a Binary files /dev/null and b/image/page_drink/bn_iced_Cokecola.png differ diff --git a/image/page_drink/bn_iced_sprite.png b/image/page_drink/bn_iced_sprite.png index 580ee5ee..723aacc4 100644 Binary files a/image/page_drink/bn_iced_sprite.png and b/image/page_drink/bn_iced_sprite.png differ diff --git a/image/page_drink_disable/bn_hot_double_espresso.png b/image/page_drink_disable/bn_hot_double_espresso.png index 46bad73e..edfa8aff 100644 Binary files a/image/page_drink_disable/bn_hot_double_espresso.png and b/image/page_drink_disable/bn_hot_double_espresso.png differ diff --git a/image/page_drink_disable/bn_iced_Cokecola.png b/image/page_drink_disable/bn_iced_Cokecola.png new file mode 100644 index 00000000..8d7fa7b0 Binary files /dev/null and b/image/page_drink_disable/bn_iced_Cokecola.png differ diff --git a/image/page_drink_disable/bn_iced_sprite.png b/image/page_drink_disable/bn_iced_sprite.png index fb58a6e6..e42d9d45 100644 Binary files a/image/page_drink_disable/bn_iced_sprite.png and b/image/page_drink_disable/bn_iced_sprite.png differ diff --git a/image/page_drink_press/bn_hot_double_espresso.png b/image/page_drink_press/bn_hot_double_espresso.png index 598eebd6..1b9a787d 100644 Binary files a/image/page_drink_press/bn_hot_double_espresso.png and b/image/page_drink_press/bn_hot_double_espresso.png differ diff --git a/image/page_drink_press/bn_iced_Cokecola.png b/image/page_drink_press/bn_iced_Cokecola.png new file mode 100644 index 00000000..8ff411e3 Binary files /dev/null and b/image/page_drink_press/bn_iced_Cokecola.png differ diff --git a/image/page_drink_press/bn_iced_sprite.png b/image/page_drink_press/bn_iced_sprite.png index d9fbd4bc..663b9863 100644 Binary files a/image/page_drink_press/bn_iced_sprite.png and b/image/page_drink_press/bn_iced_sprite.png differ diff --git a/image/page_drink_select/bn_hot_double_espresso.png b/image/page_drink_select/bn_hot_double_espresso.png index 842a8fa7..7e608911 100644 Binary files a/image/page_drink_select/bn_hot_double_espresso.png and b/image/page_drink_select/bn_hot_double_espresso.png differ diff --git a/image/page_drink_select/bn_iced_Cokecola.png b/image/page_drink_select/bn_iced_Cokecola.png new file mode 100644 index 00000000..6d9b4441 Binary files /dev/null and b/image/page_drink_select/bn_iced_Cokecola.png differ diff --git a/image/page_drink_select/bn_iced_sprite.png b/image/page_drink_select/bn_iced_sprite.png index 143704a3..4b64a8af 100644 Binary files a/image/page_drink_select/bn_iced_sprite.png and b/image/page_drink_select/bn_iced_sprite.png differ diff --git a/image/topping/Group 149.png b/image/topping/Group 149.png new file mode 100644 index 00000000..24d77e53 Binary files /dev/null and b/image/topping/Group 149.png differ diff --git a/image/topping/add_shot_img.png b/image/topping/add_shot_img.png new file mode 100644 index 00000000..3eb1a10d Binary files /dev/null and b/image/topping/add_shot_img.png differ diff --git a/image/topping/add_shot_img_2.png b/image/topping/add_shot_img_2.png new file mode 100644 index 00000000..1f9409c9 Binary files /dev/null and b/image/topping/add_shot_img_2.png differ diff --git a/image/topping/cb_ch.png b/image/topping/cb_ch.png new file mode 100644 index 00000000..8e632445 Binary files /dev/null and b/image/topping/cb_ch.png differ diff --git a/image/topping/cb_nch.png b/image/topping/cb_nch.png new file mode 100644 index 00000000..e3401d66 Binary files /dev/null and b/image/topping/cb_nch.png differ diff --git a/image/topping/extra_img_1.png b/image/topping/extra_img_1.png new file mode 100644 index 00000000..56eb92ca Binary files /dev/null and b/image/topping/extra_img_1.png differ diff --git a/image/topping_en/add_shot_img.png b/image/topping_en/add_shot_img.png new file mode 100644 index 00000000..338f072c Binary files /dev/null and b/image/topping_en/add_shot_img.png differ diff --git a/image/topping_en/add_shot_img_2.png b/image/topping_en/add_shot_img_2.png new file mode 100644 index 00000000..008c7148 Binary files /dev/null and b/image/topping_en/add_shot_img_2.png differ diff --git a/image/topping_en/cb_ch.png b/image/topping_en/cb_ch.png new file mode 100644 index 00000000..8e632445 Binary files /dev/null and b/image/topping_en/cb_ch.png differ diff --git a/image/topping_en/cb_nch.png b/image/topping_en/cb_nch.png new file mode 100644 index 00000000..e3401d66 Binary files /dev/null and b/image/topping_en/cb_nch.png differ diff --git a/image/topping_en/extra_img_1.png b/image/topping_en/extra_img_1.png new file mode 100644 index 00000000..447eea45 Binary files /dev/null and b/image/topping_en/extra_img_1.png differ diff --git a/xml/menu_catalog.xml b/xml/menu_catalog.xml index 6d5b982d..39c8cca9 100644 --- a/xml/menu_catalog.xml +++ b/xml/menu_catalog.xml @@ -59,6 +59,8 @@ Else Var show_eng = "true" EndIf + + Open CurrentXMLFileName2 diff --git a/xml/menu_gen.py b/xml/menu_gen.py index 0a7c14dd..099bebf6 100644 --- a/xml/menu_gen.py +++ b/xml/menu_gen.py @@ -1,5 +1,5 @@ if menu_count >= 16: - scroll_height = 1650 + scroll_height = 1670 else: scroll_height = 1400 diff --git a/xml/page_board.xml b/xml/page_board.xml index a1c52f71..8d41eb31 100644 --- a/xml/page_board.xml +++ b/xml/page_board.xml @@ -12,7 +12,7 @@ Var sub_profile = "whey" - Var taobin_version = "1.04" + Var taobin_version = "1.05" ; 1.00 is ; On open @@ -243,8 +243,8 @@ "/mnt/sdcard/coffeevending/wav/click.wav" SoundVolume - ;Open "//mnt/sdcard/coffeevending/taobin_project/xml/vending_info.xml" - Open "//mnt/sdcard/coffeevending/taobin_project/xml/page_remove_cup.xml" + Open "//mnt/sdcard/coffeevending/taobin_project/xml/vending_info.xml" + ;Open "//mnt/sdcard/coffeevending/taobin_project/xml/page_remove_cup.xml" diff --git a/xml/page_catalog_choose_drink1.xml b/xml/page_catalog_choose_drink1.xml index 4f4ba15d..89c16411 100644 --- a/xml/page_catalog_choose_drink1.xml +++ b/xml/page_catalog_choose_drink1.xml @@ -104,6 +104,8 @@ Else Var show_eng = "true" EndIf + + Open CurrentXMLFileName2 @@ -208,7 +210,7 @@ 497 1080 1500 - 1650 + 1670 "Vertical" ; button i=1 11-99-01-0001 @@ -210,7 +212,7 @@ 497 1080 1500 - 1650 + 1670 "Vertical" ; button i=1 11-99-01-0001 - ; button i=2 11-99-01-0002 + ; button i=2 11-99-01-0101 + ; button i=3 11-99-01-0002 + - ; button i=3 11-99-01-0003 + ; button i=4 11-99-01-0003 - ; button i=4 11-99-01-0004 + ; button i=5 11-99-01-0004 - ; button i=5 11-99-01-0005 + ; button i=6 11-99-01-0005 - ; button i=6 11-99-01-0006 + ; button i=7 11-99-01-0006 - ; button i=7 11-99-01-0008 + ; button i=8 11-99-01-0008 - ; button i=8 11-99-01-0010 + ; button i=9 11-99-01-0010 - ; button i=9 11-99-01-0011 + ; button i=10 11-99-01-0011 - ; button i=10 11-99-02-0001 + ; button i=11 11-99-02-0001 - ; button i=11 11-99-02-0002 + ; button i=12 11-99-02-0002 - ; button i=12 11-99-02-0003 + ; button i=13 11-99-02-0003 - ; button i=13 11-99-02-0004 + ; button i=14 11-99-02-0004 - ; button i=14 11-99-02-0005 + ; button i=15 11-99-02-0005 - ; button i=15 11-99-02-0006 + ; button i=16 11-99-02-0006 - ; button i=16 11-99-02-0007 + ; button i=17 11-99-02-0007 - ; button i=17 11-99-02-0009 + ; button i=18 11-99-02-0009 - ; button i=18 11-99-02-0011 + ; button i=19 11-99-02-0011 @@ -207,7 +209,7 @@ 497 1080 1500 - 1650 + 1670 "Vertical" ; button i=1 11-99-01-0017 diff --git a/xml/page_catalog_choose_drink5.xml b/xml/page_catalog_choose_drink5.xml index 1beb38ff..37cace31 100644 --- a/xml/page_catalog_choose_drink5.xml +++ b/xml/page_catalog_choose_drink5.xml @@ -103,6 +103,8 @@ Else Var show_eng = "true" EndIf + + Open CurrentXMLFileName2 diff --git a/xml/page_catalog_choose_drink6.pml b/xml/page_catalog_choose_drink6.pml index b0ee5b96..edd868af 100644 --- a/xml/page_catalog_choose_drink6.pml +++ b/xml/page_catalog_choose_drink6.pml @@ -8,6 +8,8 @@ product_code = [] product_code.append('11-99-02-0033') product_code.append('11-99-02-0051') + #product_code.append('11-99-02-0045') + #product_code.append('11-99-02-0046') product_code.append('11-99-02-0036') product_code.append('11-99-02-0037') @@ -19,10 +21,20 @@ product_code.append('11-99-02-0040') product_code.append('11-99-02-0041') + + product_code.append('11-99-01-0027') + product_code.append('11-99-02-0027') + product_code.append('11-99-02-0030') + product_code.append('11-99-02-0031') + + product_code.append('11-99-02-0032') + product_code.append('11-99-02-0028') + product_code.append('11-99-02-0029') product_code.append('11-99-01-0042') product_code.append('11-99-02-0043') product_code.append('11-99-02-0044') - product_code.append('11-99-02-0045') + + product_code.append('11-99-01-0045') menu_count = len( product_code) diff --git a/xml/page_catalog_choose_drink6.xml b/xml/page_catalog_choose_drink6.xml index 4fc9845a..04f57a55 100644 --- a/xml/page_catalog_choose_drink6.xml +++ b/xml/page_catalog_choose_drink6.xml @@ -102,6 +102,8 @@ Else Var show_eng = "true" EndIf + + Open CurrentXMLFileName2 @@ -210,7 +212,7 @@ 497 1080 1500 - 1400 + 1670 "Vertical" ; button i=1 11-99-02-0033 - ; button i=11 11-99-01-0042 + ; button i=11 11-99-01-0027 + ; button i=12 11-99-02-0027 + + ; button i=13 11-99-02-0030 + + ; button i=14 11-99-02-0031 + + ; button i=15 11-99-02-0032 + + ; button i=16 11-99-02-0028 + + ; button i=17 11-99-02-0029 + + ; button i=18 11-99-01-0042 + - ; button i=12 11-99-02-0043 + ; button i=19 11-99-02-0043 - ; button i=13 11-99-02-0044 + ; button i=20 11-99-02-0044 - ; button i=14 11-99-02-0045 + ; button i=21 11-99-01-0045 diff --git a/xml/page_thankyou.xml b/xml/page_thankyou.xml index e4a6cb35..f5bdb981 100644 --- a/xml/page_thankyou.xml +++ b/xml/page_thankyou.xml @@ -39,7 +39,7 @@ Var CountDownThankyou = CountDownThankyou - 1 Var Timeout = Timeout + 1 - If Timeout = 3 Then + If Timeout = 2 Then If PayWithQR = 0 Then If FreeVendingCampaign = 0 Then If IntVendingCampaign < PayAmount Then diff --git a/xml/page_topping_alter.xml b/xml/page_topping_alter.xml index eaf1e21d..aecdd908 100644 --- a/xml/page_topping_alter.xml +++ b/xml/page_topping_alter.xml @@ -11,19 +11,11 @@ Var SugarState3 = "Invisible" Var SugarState4 = "Invisible" Var SugarState5 = "Invisible" - - ;Var SugarState1 = "Enable" - ;Var SugarState2 = "Enable" - ;Var SugarState3 = "Enable" - ;Var SugarState4 = "Enable" - ;Var SugarState5 = "Enable" + Var BGSugar = "Invisible" - SAVELOG TOPPING1 - SAVELOG TOPPING2 - SAVELOG TOPPING3 - SAVELOG TOPPING4 - + Var ShotCoffeeBG = "Invisible" + Var showShotEnable = "Invisible" ;SAVELOG PreviseXMLFileName2 @@ -36,6 +28,9 @@ Var y2_topping_bg = y_topping_bg + y_block Var y2_topping = y_topping + y_block + Var y_shot_coffee_bg = y2_topping_bg + Var y_shot_coffee_bt = y2_topping + 100 + Var topping1 = "1" Var BugFlag = 0 @@ -146,13 +141,17 @@ SAVELOG TOPPING1 + SAVELOG TOPPING2 + SAVELOG TOPPING3 + SAVELOG TOPPING4 + SAVELOG MenuCodeName ;SAVELOG toppingID1Default If BugFlag = 1 Then Else - + If MenuCodeName = "barista1" Then Open "ROOT/taobin_project/xml/page_topping_with_barista.xml" Var ToppingGotoPayment = "false" @@ -171,6 +170,17 @@ Var ToppingGotoPayment = "false" Refresh EndIf + + If TOPPING2 = "shot coffee" Then + Var backGroundAddExtra = DirImage + "/extra_img_1.png" + + SAVELOG backGroundAddExtra + Var ShotCoffeeBG = "Enable" + Var y_shot_coffee_bg = y2_topping_bg + Var y_shot_coffee_bt = y_shot_coffee_bg + 100 + Var showShotEnable = "Enable" + Refresh + EndIf If TOPPING1 = "Powder Sugar Premix 25" Then Var ToppingGotoPayment = "false" @@ -303,6 +313,45 @@ PriceShowValue +; shot layout + + + 52 + y_shot_coffee_bg + ShotCoffeeBG + backGroundAddExtra + + +; + + +; + + ; sugar layout diff --git a/xml/page_topping_with_barista.xml b/xml/page_topping_with_barista.xml index db2985ce..782693f6 100644 --- a/xml/page_topping_with_barista.xml +++ b/xml/page_topping_with_barista.xml @@ -30,8 +30,14 @@ Var BGSugar = "Invisible" - ;SAVELOG TOPPING1 - ;SAVELOG TOPPING2 + SAVELOG TOPPING1 + SAVELOG TOPPING2 + SAVELOG toppingID1Default + SAVELOG toppingID1index1 + SAVELOG toppingID1index2 + SAVELOG toppingID1index3 + SAVELOG toppingID1index4 + SAVELOG toppingID1index5 ;SAVELOG PreviseXMLFileName2 ; @@ -54,18 +60,19 @@ ;SAVELOG y2_topping - If TOPPING1 = "Powder Sugar" Then - Var SugarState1 = "PressForever" + If TOPPING1 = "Sugar" Then + Var SugarState1 = "Enable" Var SugarState2 = "Enable" - Var SugarState3 = "Enable" + Var SugarState3 = "PressForever" Var SugarState4 = "Enable" Var SugarState5 = "Enable" Var BGSugar = "Enable" + Var topping1 = toppingID1Default EndIf - If TOPPING1 = "Powder Sugar Premix 25" Then + If TOPPING1 = "Sugar Premix 25" Then Var SugarState1 = "Invisible" - Var SugarState2 = "Invisible" + Var SugarState2 = "Enable" Var SugarState3 = "PressForever" Var SugarState4 = "Enable" Var SugarState5 = "Enable" @@ -184,9 +191,9 @@ If BugFlag = 1 Then If TOPPING1 = "Powder Sugar" Then - Var SugarState1 = "PressForever" + Var SugarState1 = "Enable" Var SugarState2 = "Enable" - Var SugarState3 = "Enable" + Var SugarState3 = "PressForever" Var SugarState4 = "Enable" Var SugarState5 = "Enable" Var BGSugar = "Enable" @@ -198,10 +205,10 @@ Refresh EndIf - If TOPPING1 = "Powder Sugar Premix 25" Then + If TOPPING1 = "Sugar Premix 25" Then Var SugarState1 = "Invisible" - Var SugarState2 = "Invisible" - Var SugarState3 = "PressForever" + Var SugarState2 = "PressForever" + Var SugarState3 = "Enable" Var SugarState4 = "Enable" Var SugarState5 = "Enable" Var BGSugar = "Enable" @@ -344,14 +351,15 @@ SoundVolume - If TOPPING1 = "Powder Sugar Premix 25" Then + If TOPPING1 = "Sugar Premix 25" Then Var SugarState1 = "Invisible" Var SugarState2 = "Invisible" - Var topping1 = "1" + Var topping1 = toppingID1index1 Else Var SugarState1 = "PressForever" Var SugarState2 = "Enable" - Var topping1 = "1" + Var topping1 = toppingID1index1 + EndIf Var SugarState3 = "Enable" @@ -364,7 +372,7 @@ ; sugar2