diff --git a/sheet/best_seller.tsv b/sheet/best_seller.tsv
index a0653641..76e49c6e 100644
--- a/sheet/best_seller.tsv
+++ b/sheet/best_seller.tsv
@@ -4,6 +4,7 @@
12-02-03-0004
12-05-03-0007
12-05-03-0019
+12-01-01-0021
12-01-01-0001
12-01-01-0004
12-01-02-0020
diff --git a/xml/page_board.xml b/xml/page_board.xml
index 011af9c6..47dbfb03 100644
--- a/xml/page_board.xml
+++ b/xml/page_board.xml
@@ -486,7 +486,7 @@
ShowButtonClick
; "0x00BDFF"
"ROOT/taobin_project/image/main_page/bp_main_page_start.png"
- "/mnt/sdcard/coffeevending/wav/click.wav"
+; "/mnt/sdcard/coffeevending/wav/click.wav"
SoundVolume
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert.xml"
@@ -610,7 +610,7 @@
50
SoundVolume
- Var countClick = countClick + 1
+ ;Var countClick = countClick + 1
If countClick = 3 Then
;Var TestLoopMakeDrink = 1
diff --git a/xml/page_catalog_choose_drink2.pml b/xml/page_catalog_choose_drink2.pml
index 38c3d561..de4b9877 100644
--- a/xml/page_catalog_choose_drink2.pml
+++ b/xml/page_catalog_choose_drink2.pml
@@ -8,13 +8,17 @@
product_code = []
product_code.append('12-01-01-0001')
+ # esp
product_code.append('12-01-01-0013')
product_code.append('12-01-01-0020')
+ product_code.append('12-01-01-0022')
product_code.append('12-11-01-0001')
product_code.append('12-01-01-0003')
+ # hot ameri
product_code.append('12-01-01-0014')
product_code.append('12-01-01-0019')
+ product_code.append('12-01-01-0021')
product_code.append('12-01-01-0004')
@@ -28,14 +32,18 @@
product_code.append('12-01-01-0011')
product_code.append('12-01-01-0012')
product_code.append('12-01-01-0017')
+ # Dirty
product_code.append('12-01-02-0018')
product_code.append('12-01-02-0020')
-
+ product_code.append('12-01-02-0022')
product_code.append('12-11-02-0001')
product_code.append('12-01-02-0001')
+
+ # Ice ameri
product_code.append('12-01-02-0011')
product_code.append('12-01-02-0019')
+ product_code.append('12-01-02-0021')
product_code.append('12-01-02-0002')
product_code.append('12-11-02-0002')
diff --git a/xml/page_catalog_choose_drink2.xml b/xml/page_catalog_choose_drink2.xml
index 7a3c3a65..19f4dbc0 100644
--- a/xml/page_catalog_choose_drink2.xml
+++ b/xml/page_catalog_choose_drink2.xml
@@ -544,7 +544,100 @@
$12-01-01-0020.descriptionE
- ; button i=4 12-11-01-0001
+ ; button i=4 12-01-01-0022
+
+ 33
+ 22
+ 225
+ 296
+ $12-01-01-0022.Button
+
+
+ 182
+ 12
+ ShowPrice
+ "Hurr"
+ 150
+ 27
+ KanitTTF
+ 0xB78F24
+ $12-01-01-0022.Price
+
+
+ 164
+ 12
+ ShowPrice
+ 20
+ 27
+ KanitTTF
+ 0xB78F24
+ "฿""
+
+
+ 16
+ 190
+ 24
+ 220
+ "multi2"
+ KanitMediumTTF
+ 0x322B26
+ showthaiText
+ $12-01-01-0022.Name
+
+
+ 16
+ 246
+ 14
+ 220
+ KanitMediumTTF
+ 0x6F5F51
+ showthaiText
+ $12-01-01-0022.description
+
+
+ 16
+ 190
+ 22
+ 220
+ "multi2"
+ KanitMediumTTF
+ 0x322B26
+ showengText
+ $12-01-01-0022.NameE
+
+
+ 16
+ 246
+ 14
+ 220
+ KanitMediumTTF
+ 0x6F5F51
+ showengText
+ $12-01-01-0022.descriptionE
+
+
+ ; button i=5 12-11-01-0001
33
22
@@ -637,7 +730,7 @@
$12-11-01-0001.descriptionE
- ; button i=5 12-01-01-0003
+ ; button i=6 12-01-01-0003
33
22
@@ -730,7 +823,7 @@
$12-01-01-0003.descriptionE
- ; button i=6 12-01-01-0014
+ ; button i=7 12-01-01-0014
33
22
@@ -823,7 +916,7 @@
$12-01-01-0014.descriptionE
- ; button i=7 12-01-01-0019
+ ; button i=8 12-01-01-0019
33
22
@@ -916,7 +1009,100 @@
$12-01-01-0019.descriptionE
- ; button i=8 12-01-01-0004
+ ; button i=9 12-01-01-0021
+
+ 33
+ 22
+ 225
+ 296
+ $12-01-01-0021.Button
+
+
+ 182
+ 12
+ ShowPrice
+ "Hurr"
+ 150
+ 27
+ KanitTTF
+ 0xB78F24
+ $12-01-01-0021.Price
+
+
+ 164
+ 12
+ ShowPrice
+ 20
+ 27
+ KanitTTF
+ 0xB78F24
+ "฿""
+
+
+ 16
+ 190
+ 24
+ 220
+ "multi2"
+ KanitMediumTTF
+ 0x322B26
+ showthaiText
+ $12-01-01-0021.Name
+
+
+ 16
+ 246
+ 14
+ 220
+ KanitMediumTTF
+ 0x6F5F51
+ showthaiText
+ $12-01-01-0021.description
+
+
+ 16
+ 190
+ 22
+ 220
+ "multi2"
+ KanitMediumTTF
+ 0x322B26
+ showengText
+ $12-01-01-0021.NameE
+
+
+ 16
+ 246
+ 14
+ 220
+ KanitMediumTTF
+ 0x6F5F51
+ showengText
+ $12-01-01-0021.descriptionE
+
+
+ ; button i=10 12-01-01-0004
33
22
@@ -1009,7 +1195,7 @@
$12-01-01-0004.descriptionE
- ; button i=9 12-01-01-0005
+ ; button i=11 12-01-01-0005
33
22
@@ -1102,7 +1288,7 @@
$12-01-01-0005.descriptionE
- ; button i=10 12-01-01-0006
+ ; button i=12 12-01-01-0006
33
22
@@ -1195,7 +1381,7 @@
$12-01-01-0006.descriptionE
- ; button i=11 12-01-01-0007
+ ; button i=13 12-01-01-0007
33
22
@@ -1288,7 +1474,7 @@
$12-01-01-0007.descriptionE
- ; button i=12 12-01-01-0009
+ ; button i=14 12-01-01-0009
33
22
@@ -1381,7 +1567,7 @@
$12-01-01-0009.descriptionE
- ; button i=13 12-01-01-0010
+ ; button i=15 12-01-01-0010
33
22
@@ -1474,7 +1660,7 @@
$12-01-01-0010.descriptionE
- ; button i=14 12-01-01-0011
+ ; button i=16 12-01-01-0011
33
22
@@ -1567,7 +1753,7 @@
$12-01-01-0011.descriptionE
- ; button i=15 12-01-01-0012
+ ; button i=17 12-01-01-0012
33
22
@@ -1660,7 +1846,7 @@
$12-01-01-0012.descriptionE
- ; button i=16 12-01-01-0017
+ ; button i=18 12-01-01-0017
33
22
@@ -1753,7 +1939,7 @@
$12-01-01-0017.descriptionE
- ; button i=17 12-01-02-0018
+ ; button i=19 12-01-02-0018
33
22
@@ -1846,7 +2032,7 @@
$12-01-02-0018.descriptionE
- ; button i=18 12-01-02-0020
+ ; button i=20 12-01-02-0020
33
22
@@ -1939,7 +2125,100 @@
$12-01-02-0020.descriptionE
- ; button i=19 12-11-02-0001
+ ; button i=21 12-01-02-0022
+
+ 33
+ 22
+ 225
+ 296
+ $12-01-02-0022.Button
+
+
+ 182
+ 12
+ ShowPrice
+ "Hurr"
+ 150
+ 27
+ KanitTTF
+ 0xB78F24
+ $12-01-02-0022.Price
+
+
+ 164
+ 12
+ ShowPrice
+ 20
+ 27
+ KanitTTF
+ 0xB78F24
+ "฿""
+
+
+ 16
+ 190
+ 24
+ 220
+ "multi2"
+ KanitMediumTTF
+ 0x322B26
+ showthaiText
+ $12-01-02-0022.Name
+
+
+ 16
+ 246
+ 14
+ 220
+ KanitMediumTTF
+ 0x6F5F51
+ showthaiText
+ $12-01-02-0022.description
+
+
+ 16
+ 190
+ 22
+ 220
+ "multi2"
+ KanitMediumTTF
+ 0x322B26
+ showengText
+ $12-01-02-0022.NameE
+
+
+ 16
+ 246
+ 14
+ 220
+ KanitMediumTTF
+ 0x6F5F51
+ showengText
+ $12-01-02-0022.descriptionE
+
+
+ ; button i=22 12-11-02-0001
33
22
@@ -2032,7 +2311,7 @@
$12-11-02-0001.descriptionE
- ; button i=20 12-01-02-0001
+ ; button i=23 12-01-02-0001
33
22
@@ -2125,7 +2404,7 @@
$12-01-02-0001.descriptionE
- ; button i=21 12-01-02-0011
+ ; button i=24 12-01-02-0011
33
22
@@ -2218,7 +2497,7 @@
$12-01-02-0011.descriptionE
- ; button i=22 12-01-02-0019
+ ; button i=25 12-01-02-0019
33
22
@@ -2311,7 +2590,100 @@
$12-01-02-0019.descriptionE
- ; button i=23 12-01-02-0002
+ ; button i=26 12-01-02-0021
+
+ 33
+ 22
+ 225
+ 296
+ $12-01-02-0021.Button
+
+
+ 182
+ 12
+ ShowPrice
+ "Hurr"
+ 150
+ 27
+ KanitTTF
+ 0xB78F24
+ $12-01-02-0021.Price
+
+
+ 164
+ 12
+ ShowPrice
+ 20
+ 27
+ KanitTTF
+ 0xB78F24
+ "฿""
+
+
+ 16
+ 190
+ 24
+ 220
+ "multi2"
+ KanitMediumTTF
+ 0x322B26
+ showthaiText
+ $12-01-02-0021.Name
+
+
+ 16
+ 246
+ 14
+ 220
+ KanitMediumTTF
+ 0x6F5F51
+ showthaiText
+ $12-01-02-0021.description
+
+
+ 16
+ 190
+ 22
+ 220
+ "multi2"
+ KanitMediumTTF
+ 0x322B26
+ showengText
+ $12-01-02-0021.NameE
+
+
+ 16
+ 246
+ 14
+ 220
+ KanitMediumTTF
+ 0x6F5F51
+ showengText
+ $12-01-02-0021.descriptionE
+
+
+ ; button i=27 12-01-02-0002
33
22
@@ -2404,7 +2776,7 @@
$12-01-02-0002.descriptionE
- ; button i=24 12-11-02-0002
+ ; button i=28 12-11-02-0002
33
22
@@ -2497,7 +2869,7 @@
$12-11-02-0002.descriptionE
- ; button i=25 12-01-02-0003
+ ; button i=29 12-01-02-0003
33
22
@@ -2590,7 +2962,7 @@
$12-01-02-0003.descriptionE
- ; button i=26 12-01-02-0004
+ ; button i=30 12-01-02-0004
33
22
@@ -2683,7 +3055,7 @@
$12-01-02-0004.descriptionE
- ; button i=27 12-01-02-0005
+ ; button i=31 12-01-02-0005
33
22
@@ -2776,7 +3148,7 @@
$12-01-02-0005.descriptionE
- ; button i=28 12-01-02-0007
+ ; button i=32 12-01-02-0007
33
22
@@ -2869,7 +3241,7 @@
$12-01-02-0007.descriptionE
- ; button i=29 12-01-02-0008
+ ; button i=33 12-01-02-0008
33
22
@@ -2962,7 +3334,7 @@
$12-01-02-0008.descriptionE
- ; button i=30 12-01-02-0009
+ ; button i=34 12-01-02-0009
33
22
@@ -3055,7 +3427,7 @@
$12-01-02-0009.descriptionE
- ; button i=31 12-01-02-0017
+ ; button i=35 12-01-02-0017
33
22
@@ -3148,7 +3520,7 @@
$12-01-02-0017.descriptionE
- ; button i=32 11-01-02-0009
+ ; button i=36 11-01-02-0009
33
22
diff --git a/xml/page_payment_multi.xml b/xml/page_payment_multi.xml
index 65320e15..ed4f0e8c 100644
--- a/xml/page_payment_multi.xml
+++ b/xml/page_payment_multi.xml
@@ -100,80 +100,13 @@
DEBUGVAR CART2_PRICE
DEBUGVAR CART3_PRICE
-
+Open "ROOT/taobin_project/xml/page_back_to_main.xml"
+
- 900
+ 5000
-
- If ReadyForBrew = "false" Then
- Open "ROOT/taobin_project/xml/page_back_to_main.xml"
- Var ReadyForBrew = "false"
- EndIf
-
- If MachineStage = "remove-cup" Then
- Open "ROOT/taobin_project/xml/page_back_to_remove_cup.xml"
-
- EndIf
-
- Var CountStepPackPayment = CountStepPackPayment + 1
- If CountStepPackPayment = 1 Then
-
-
-
- SAVELOG ExtendData
-
- If GetPayInfoFlag = 0 Then
- If RoadShow = "false" Then
- ;CoinVending ON
- CoinVending XBILL
- EndIf
-
-
- Var RemainAmount = 0
-
-
-
- Var SessionID2 = SelectSlot + ":"
- Var SessionID2 = SessionID2 + ExtendData
-
- Var CreditAmount1 = ""
- Var ServiceAmountFlow = ""
- Var TelephoneNumberQR = "0899999999"
- Var ServiceType = "coffee"
- Var ECommerceQR = ""
- Var ECommerceQR = ECommerceQR + PriceDrink
- Var ECommerceQR = ECommerceQR + "/"
- Var ECommerceQR = ECommerceQR + DiscountDrink
- Var ECommerceQR = ECommerceQR + "/"
- Var ECommerceQR = ECommerceQR + SessionID2
- Var ECommerceQR = ECommerceQR + "/"
- Var ECommerceQR = ECommerceQR + SelectDrink
- Var ECommerceQR = ECommerceQR + "/"
- Var ECommerceQR = ECommerceQR + "KBA:2"
- Var ServiceParameter = "max"
- Var ServiceCharge = 0
- Var AccountType = "new"
- Var testservice = "kbank"
- Var tc = ""
- Var GetScore = ""
- Var OperatorName = ""
- Var SessionID = ""
-
-
- GetPayInfo TelephoneNumberQR ECommerceQR ServiceType ServiceParameter SessionID OperatorName CreditAmount1 ServiceAmountFlow GetScore tc
- Var Timeout = 0
- Var GetPayInfoFlag = 1
- Var ReqPayInfoFlag = 1
-
- EndIf
-
- ; Reset
- Var MachineState_Result = 0
- Open "ROOT/taobin_project/xml/page_payment_cash.xml"
-
- EndIf
-
+ Open "ROOT/taobin_project/xml/page_back_to_main.xml"
TimerReset
Refresh
@@ -201,6 +134,10 @@
331
435
PictureDrink
+
+ Open "ROOT/taobin_project/xml/page_back_to_main.xml"
+
+
diff --git a/xml/page_show_error.xml b/xml/page_show_error.xml
index a3c9251f..55e7643f 100644
--- a/xml/page_show_error.xml
+++ b/xml/page_show_error.xml
@@ -11,13 +11,51 @@
Var countClick2 = 0
- If show_eng = "true" Then
- Var DirImage = "ROOT/taobin_project/image/close_en/"
-
- Else
- Var DirImage = "ROOT/taobin_project/image/close_th"
+ ;DEBUGVAR MachineStage
+ ;DEBUGVAR stop_now
+
+ Var show_error_normal = "Invisible"
+ Var show_error_sp1 = "Enable"
+
+ If MachineStage = "mcu-upgrade" Then
+ If show_eng = "true" Then
+ Var DirImage = "ROOT/taobin_project/image/vending_error_en/"
+ Else
+ Var DirImage = "ROOT/taobin_project/image/vending_error"
+ EndIf
EndIf
+ If NeedUpgrade = "true" Then
+ If show_eng = "true" Then
+ Var DirImage = "ROOT/taobin_project/image/vending_error_en/"
+
+ Else
+ Var DirImage = "ROOT/taobin_project/image/vending_error"
+ EndIf
+ EndIf
+
+
+ If MachineStage = "close-maintenance" Then
+ If stop_now = "true" Then
+ If show_eng = "true" Then
+ Var DirImage = "ROOT/taobin_project/image/vending_error_en/"
+
+ Else
+ Var DirImage = "ROOT/taobin_project/image/vending_error"
+ EndIf
+ Else
+ Var show_error_normal = "Enable"
+ Var show_error_sp1 = "Invisible"
+ If show_eng = "true" Then
+ Var DirImage = "ROOT/taobin_project/image/close_en/"
+
+ Else
+ Var DirImage = "ROOT/taobin_project/image/close_th"
+ EndIf
+ EndIf
+ EndIf
+
+
StopLongPlay
If LEDSet = "true" Then
@@ -70,17 +108,58 @@
+ show_error_normal
127
688
Var(DirImage + "/img1.png")
+ show_error_normal
0
924
RandomImage
+
+ show_error_sp1
+ 0
+ 897
+ Var(DirImage + "/img1.png")
+
+
+
+ show_error_sp1
+ 0
+ 694
+ Var(DirImage + "/text1.png")
+
+
+
+ show_error_sp1
+ 0
+ 1685
+ Var(DirImage + "/text2.png")
+
+
+
+
diff --git a/xml/page_topping_select2.xml b/xml/page_topping_select2.xml
index 1564cf8b..07167955 100644
--- a/xml/page_topping_select2.xml
+++ b/xml/page_topping_select2.xml
@@ -86,6 +86,14 @@
Var bg_straw_only = DirImage + "/bg_straw_only.png"
Var bg_lid_only = DirImage + "/bg_lid_only.png"
+
+
+ Var backGroundAddExtra = DirImage + "/bg_add_shot_coffee_only.png"
+ Var backGroundAddExtra2 = DirImage + "/bg_add_shot_coffee_only.png"
+
+ Var backGroundAddShotPremium = DirImage + "/bg_add_shot_coffee2_only.png"
+ Var backGroundAddShotPremiumWith = DirImage + "/bg_add_shot_coffee_only.png"
+
; Move to catalog.
;Machine DoorClose
@@ -99,12 +107,6 @@
Var ShiftSugarStep = 1
-
- Var backGroundAddExtra = DirImage + "/bg_add_shot_coffee_only.png"
- Var backGroundAddExtra2 = DirImage + "/bg_add_shot_coffee_only.png"
-
- Var backGroundAddShotPremium = DirImage + "/bg_add_shot_coffee2_only.png"
- Var backGroundAddShotPremiumWith = DirImage + "/bg_add_shot_coffee_only.png"
CRLFToSpace showname
CRLFToSpace showdesc
@@ -192,8 +194,19 @@
Var backGroundAddExtra = DirImage + "/bg_add_shot_coffee_only.png"
Var backGroundAddExtra2 = DirImage + "/bg_add_shot_coffee_only.png"
+ Var bg_strawlid = DirImage + "/bg_strawlid.png"
+ Var bg_straw_only = DirImage + "/bg_straw_only.png"
+ Var bg_lid_only = DirImage + "/bg_lid_only.png"
+
+ Var backGroundAddExtra = DirImage + "/bg_add_shot_coffee_only.png"
+ Var backGroundAddExtra2 = DirImage + "/bg_add_shot_coffee_only.png"
+
+ Var backGroundAddShotPremium = DirImage + "/bg_add_shot_coffee2_only.png"
+ Var backGroundAddShotPremiumWith = DirImage + "/bg_add_shot_coffee_only.png"
+
+
CRLFToSpace showname
CRLFToSpace showdesc
@@ -544,6 +557,14 @@
Var ShotCoffeePremium = "Enable"
Var showShotEnable = "Enable"
+ DEBUGVAR TOPPING2
+ Refresh
+ EndIf
+ If TOPPING2 = "shot coffee 1008" Then
+
+ Var ShotCoffeePremium = "Enable"
+ Var showShotEnable = "Enable"
+
DEBUGVAR TOPPING2
Refresh
EndIf
diff --git a/xml_main/startup.xml b/xml_main/startup.xml
index 4710e883..844c4cee 100644
--- a/xml_main/startup.xml
+++ b/xml_main/startup.xml
@@ -95,7 +95,7 @@
Var RandomPromotionMyworld = 0
Var RandomSalePackage = 0
- Var XMLPageVersion = "5.62"
+ Var XMLPageVersion = "5.63"