Merge branch 'masterpiece' of ssh://kong:/1TBHDD/ikong/taobin_project into masterpiece
|
|
@ -1,10 +1,10 @@
|
|||
total 131964
|
||||
-rw-rw---- 1 root sdcard_rw 0 2025-05-28 13:47 sync_1.file
|
||||
total 131968
|
||||
-rw-rw---- 1 root sdcard_rw 0 2025-06-12 15:11 sync_1.file
|
||||
-rw-rw---- 1 root sdcard_rw 3772465 2023-09-18 18:44 taobin_adv_00.mp4
|
||||
-rw-rw---- 1 root sdcard_rw 2625751 2023-09-18 18:44 taobin_adv_menu_00.mp4
|
||||
-rw-rw---- 1 root sdcard_rw 7417004 2024-07-23 09:12 taobin_adv_menu_01.mp4
|
||||
-rw-rw---- 1 root sdcard_rw 7570852 2025-05-16 09:08 taobin_adv_menu_02.mp4
|
||||
-rw-rw---- 1 root sdcard_rw 11268391 1980-01-01 00:00 taobin_adv_menu_03.mp4
|
||||
-rw-rw---- 1 root sdcard_rw 11272524 2025-06-12 15:08 taobin_adv_menu_03.mp4
|
||||
-rw-rw---- 1 root sdcard_rw 1209432 1980-01-01 00:00 taobin_adv_menu_04.mp4
|
||||
-rw-rw---- 1 root sdcard_rw 13899670 2025-03-04 15:57 taobin_adv_menu_05.mp4
|
||||
-rw-rw---- 1 root sdcard_rw 2625751 2023-09-18 18:44 taobin_adv_menu_06.mp4
|
||||
|
|
|
|||
|
|
@ -1415,3 +1415,29 @@ Macallan Lumina Mizuwari 11-99-05-0055 1 27 28 24 100 7:40 32
|
|||
แอปเปิ้ลอู่หลงร้อน 12-02-01-0101 1 66 16 10 24 100 7:40 32
|
||||
แอปเปิ้ลอู่หลงเย็น 12-02-02-0101 1 66 16 10 23 24 100 7:40 32
|
||||
แอปเปิ้ลอู่หลงปั่น 12-02-03-0101 1 66 16 10 23 41 24 100 7:40 32
|
||||
|
||||
ชานมไต้หวันยูซุร้อน 12-02-01-0109 1 10 70 53 24 100 7:40 32
|
||||
ชานมไต้หวันยูซุเย็น 12-02-02-0109 1 10 70 53 23 24 100 7:40 32
|
||||
ชานมไต้หวันยูซุปั่น 12-02-03-0109 1 10 70 53 23 41 24 100 7:40 32
|
||||
ชานมไต้หวันสตรอเบอรีร้อน 12-02-01-0110 1 10 70 19 24 100 7:40 32
|
||||
ชานมไต้หวันสตรอเบอรีเย็น 12-02-02-0110 1 10 70 19 23 24 100 7:40 32
|
||||
ชานมไต้หวันสตรอเบอรีปั่น 12-02-03-0110 1 10 70 19 23 41 24 100 7:40 32
|
||||
ชานมไต้หวันลิ้นจี่ร้อน 12-02-01-0111 1 10 70 11 24 100 7:40 32
|
||||
ชานมไต้หวันลิ้นจี่เย็น 12-02-02-0111 1 10 70 11 23 24 100 7:40 32
|
||||
ชานมไต้หวันลิ้นจี่ปั่น 12-02-03-0111 1 10 70 11 23 41 24 100 7:40 32
|
||||
ชานมไต้หวันมะพร้าวร้อน 12-02-01-0112 1 10 70 62 24 100 7:40 32
|
||||
ชานมไต้หวันมะพร้าวเย็น 12-02-02-0112 1 10 70 62 23 24 100 7:40 32
|
||||
ชานมไต้หวันมะพร้าวปั่น 12-02-03-0112 1 10 70 62 23 41 24 100 7:40 32
|
||||
ชานมไต้หวันสละร้อน 12-02-01-0113 1 10 70 21 24 100 7:40 32
|
||||
ชานมไต้หวันสละเย็น 12-02-02-0113 1 10 70 21 23 24 100 7:40 32
|
||||
ชานมไต้หวันสละปั่น 12-02-03-0113 1 10 70 21 23 41 24 100 7:40 32
|
||||
ชาไต้หวันยูซุเย็น 12-02-01-0114 1 10 53 23 24 100 7:40 32
|
||||
ชาไต้หวันยูซุปั่น 12-02-02-0114 1 10 53 23 41 24 100 7:40 32
|
||||
ชาไต้หวันสตรอเบอรีเย็น 12-02-01-0115 1 10 19 23 24 100 7:40 32
|
||||
ชาไต้หวันสตรอเบอรีปั่น 12-02-02-0115 1 10 19 23 41 24 100 7:40 32
|
||||
ชาไต้หวันลิ้นจี่เย็น 12-02-01-0116 1 10 11 23 24 100 7:40 32
|
||||
ชาไต้หวันลิ้นจี่ปั่น 12-02-02-0116 1 10 11 23 41 24 100 7:40 32
|
||||
ชาไต้หวันมะพร้าวเย็น 12-02-01-0117 1 10 62 23 24 100 7:40 32
|
||||
ชาไต้หวันมะพร้าวปั่น 12-02-02-0117 1 10 62 23 41 24 100 7:40 32
|
||||
ชาไต้หวันสละเย็น 12-02-01-0118 1 10 21 23 24 100 7:40 32
|
||||
ชาไต้หวันสละปั่น 12-02-02-0118 1 10 21 23 41 24 100 7:40 32
|
||||
|
|
|
|||
|
Can't render this file because it has a wrong number of fields in line 40.
|
|
|
@ -1,49 +1,3 @@
|
|||
|
||||
;DEBUGVAR SystemDateMonthInt
|
||||
;DEBUGVAR SystemDateDayInt
|
||||
|
||||
; Reset flag away.
|
||||
Var PromotionOreoToppingFreeEnable = 0
|
||||
|
||||
If SystemDateMonthInt = 9 Then
|
||||
|
||||
If SystemDateDayInt = 6 Then
|
||||
Var PromotionOreoToppingFreeEnable = 1
|
||||
|
||||
EndIf
|
||||
If SystemDateDayInt = 7 Then
|
||||
Var PromotionOreoToppingFreeEnable = 1
|
||||
|
||||
EndIf
|
||||
If SystemDateDayInt = 8 Then
|
||||
Var PromotionOreoToppingFreeEnable = 1
|
||||
|
||||
EndIf
|
||||
If SystemDateDayInt = 9 Then
|
||||
Var PromotionOreoToppingFreeEnable = 1
|
||||
|
||||
EndIf
|
||||
If SystemDateDayInt = 10 Then
|
||||
Var PromotionOreoToppingFreeEnable = 1
|
||||
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
|
||||
Var PromotionOreoToppingFreeEnable = 0
|
||||
|
||||
If PromotionOreoToppingFreeEnable = 1 Then
|
||||
|
||||
SAVELOG "PromotionOreoToppingFreeEnable set!"
|
||||
Var toppingID6price2 = 0
|
||||
If show_eng = "true" Then
|
||||
|
||||
Var text_price_6 = "(9.9 FREE DEAL)"
|
||||
Else
|
||||
Var text_price_6 = "(9.9 แจกจัดหนัก)"
|
||||
EndIf
|
||||
|
||||
Var text_color_6 = "0x2741A2"
|
||||
Else
|
||||
Var text_color_6 = "0x84776F"
|
||||
EndIf
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
normal_thai=ROOT/taobin_project/image/event/oreo_volcano/oreo_volcano_banner.png
|
||||
press_thai=ROOT/taobin_project/image/event/oreo_volcano/oreo_volcano_banner.png
|
||||
disable_thai=ROOT/taobin_project/image/event/oreo_volcano/oreo_volcano_banner.png
|
||||
normal_thai=ROOT/taobin_project/image/event/taiwanese_tea/taiwanese_tea_banner.png
|
||||
press_thai=ROOT/taobin_project/image/event/taiwanese_tea/taiwanese_tea_banner.png
|
||||
disable_thai=ROOT/taobin_project/image/event/taiwanese_tea/taiwanese_tea_banner.png
|
||||
|
|
@ -1,3 +1,3 @@
|
|||
normal_thai=ROOT/taobin_project/image/event/school_ovaltine/school_ovaltine.png
|
||||
press_thai=ROOT/taobin_project/image/event/school_ovaltine/school_ovaltine.png
|
||||
disable_thai=ROOT/taobin_project/image/event/school_ovaltine/school_ovaltine.png
|
||||
normal_thai=ROOT/taobin_project/image/event/school_ovaltine/school_ovaltine2.png
|
||||
press_thai=ROOT/taobin_project/image/event/school_ovaltine/school_ovaltine2.png
|
||||
disable_thai=ROOT/taobin_project/image/event/school_ovaltine/school_ovaltine2.png
|
||||
|
|
|
|||
BIN
image/event/school_ovaltine/school_ovaltine2.png
Normal file
|
After Width: | Height: | Size: 586 KiB |
BIN
image/event/taiwanese_tea/taiwanese_tea_banner.png
Normal file
|
After Width: | Height: | Size: 620 KiB |
|
Before Width: | Height: | Size: 50 KiB After Width: | Height: | Size: 43 KiB |
|
Before Width: | Height: | Size: 49 KiB After Width: | Height: | Size: 43 KiB |
|
Before Width: | Height: | Size: 58 KiB After Width: | Height: | Size: 74 KiB |
|
Before Width: | Height: | Size: 60 KiB After Width: | Height: | Size: 74 KiB |
|
Before Width: | Height: | Size: 60 KiB After Width: | Height: | Size: 74 KiB |
BIN
image/page_drink_disable_n2/bn_Taiwanese _Tea_Coconut.png
Normal file
|
After Width: | Height: | Size: 75 KiB |
BIN
image/page_drink_disable_n2/bn_Taiwanese _Tea_Strawberry.png
Normal file
|
After Width: | Height: | Size: 75 KiB |
BIN
image/page_drink_disable_n2/bn_Taiwanese_Milk_Tea_Coconut.png
Normal file
|
After Width: | Height: | Size: 74 KiB |
BIN
image/page_drink_disable_n2/bn_Taiwanese_Milk_Tea_Lychee.png
Normal file
|
After Width: | Height: | Size: 74 KiB |
BIN
image/page_drink_disable_n2/bn_Taiwanese_Milk_Tea_Salak.png
Normal file
|
After Width: | Height: | Size: 74 KiB |
BIN
image/page_drink_disable_n2/bn_Taiwanese_Milk_Tea_Yuzu.png
Normal file
|
After Width: | Height: | Size: 74 KiB |
BIN
image/page_drink_disable_n2/bn_Taiwanese_Tea_Lychee.png
Normal file
|
After Width: | Height: | Size: 76 KiB |
BIN
image/page_drink_disable_n2/bn_Taiwanese_Tea_Salak.png
Normal file
|
After Width: | Height: | Size: 75 KiB |
BIN
image/page_drink_disable_n2/bn_Taiwanese_Tea_Yuzu.png
Normal file
|
After Width: | Height: | Size: 75 KiB |
|
Before Width: | Height: | Size: 68 KiB After Width: | Height: | Size: 74 KiB |
|
Before Width: | Height: | Size: 68 KiB After Width: | Height: | Size: 70 KiB |
|
Before Width: | Height: | Size: 69 KiB After Width: | Height: | Size: 70 KiB |
|
Before Width: | Height: | Size: 64 KiB After Width: | Height: | Size: 79 KiB |
|
Before Width: | Height: | Size: 67 KiB After Width: | Height: | Size: 79 KiB |
|
Before Width: | Height: | Size: 66 KiB After Width: | Height: | Size: 79 KiB |
BIN
image/page_drink_n/bn_Taiwanese _Tea_Coconut.png
Normal file
|
After Width: | Height: | Size: 80 KiB |
BIN
image/page_drink_n/bn_Taiwanese _Tea_Strawberry.png
Normal file
|
After Width: | Height: | Size: 81 KiB |
BIN
image/page_drink_n/bn_Taiwanese_Milk_Tea_Coconut.png
Normal file
|
After Width: | Height: | Size: 79 KiB |
BIN
image/page_drink_n/bn_Taiwanese_Milk_Tea_Lychee.png
Normal file
|
After Width: | Height: | Size: 79 KiB |
BIN
image/page_drink_n/bn_Taiwanese_Milk_Tea_Salak.png
Normal file
|
After Width: | Height: | Size: 79 KiB |
BIN
image/page_drink_n/bn_Taiwanese_Milk_Tea_Yuzu.png
Normal file
|
After Width: | Height: | Size: 79 KiB |
BIN
image/page_drink_n/bn_Taiwanese_Tea_Lychee.png
Normal file
|
After Width: | Height: | Size: 81 KiB |
BIN
image/page_drink_n/bn_Taiwanese_Tea_Salak.png
Normal file
|
After Width: | Height: | Size: 80 KiB |
BIN
image/page_drink_n/bn_Taiwanese_Tea_Yuzu.png
Normal file
|
After Width: | Height: | Size: 81 KiB |
|
Before Width: | Height: | Size: 74 KiB After Width: | Height: | Size: 79 KiB |
|
Before Width: | Height: | Size: 74 KiB After Width: | Height: | Size: 75 KiB |
|
Before Width: | Height: | Size: 75 KiB After Width: | Height: | Size: 76 KiB |
|
Before Width: | Height: | Size: 8 KiB After Width: | Height: | Size: 11 KiB |
|
Before Width: | Height: | Size: 8 KiB After Width: | Height: | Size: 11 KiB |
|
Before Width: | Height: | Size: 7.9 KiB After Width: | Height: | Size: 12 KiB |
BIN
image/page_drink_picture2_n/bn_Taiwanese _Tea_Coconut.png
Normal file
|
After Width: | Height: | Size: 19 KiB |
BIN
image/page_drink_picture2_n/bn_Taiwanese _Tea_Strawberry.png
Normal file
|
After Width: | Height: | Size: 18 KiB |
BIN
image/page_drink_picture2_n/bn_Taiwanese_Milk_Tea_Coconut.png
Normal file
|
After Width: | Height: | Size: 19 KiB |
BIN
image/page_drink_picture2_n/bn_Taiwanese_Milk_Tea_Lychee.png
Normal file
|
After Width: | Height: | Size: 17 KiB |
BIN
image/page_drink_picture2_n/bn_Taiwanese_Milk_Tea_Salak.png
Normal file
|
After Width: | Height: | Size: 17 KiB |
BIN
image/page_drink_picture2_n/bn_Taiwanese_Milk_Tea_Yuzu.png
Normal file
|
After Width: | Height: | Size: 17 KiB |
BIN
image/page_drink_picture2_n/bn_Taiwanese_Tea_Lychee.png
Normal file
|
After Width: | Height: | Size: 17 KiB |
BIN
image/page_drink_picture2_n/bn_Taiwanese_Tea_Salak.png
Normal file
|
After Width: | Height: | Size: 16 KiB |
BIN
image/page_drink_picture2_n/bn_Taiwanese_Tea_Yuzu.png
Normal file
|
After Width: | Height: | Size: 16 KiB |
BIN
image/page_drink_picture2_n/bn_taiwan_milk_tea.png
Normal file
|
After Width: | Height: | Size: 11 KiB |
BIN
image/page_drink_picture2_n/bn_taiwan_milk_tea_cocoa.png
Normal file
|
After Width: | Height: | Size: 11 KiB |
BIN
image/page_drink_picture2_n/bn_taiwanese Tea Cafe Latte.png
Normal file
|
After Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 23 KiB After Width: | Height: | Size: 19 KiB |
|
Before Width: | Height: | Size: 64 KiB After Width: | Height: | Size: 79 KiB |
|
Before Width: | Height: | Size: 67 KiB After Width: | Height: | Size: 79 KiB |
|
Before Width: | Height: | Size: 66 KiB After Width: | Height: | Size: 79 KiB |
BIN
image/page_drink_press_n/bn_Taiwanese _Tea_Coconut.png
Normal file
|
After Width: | Height: | Size: 80 KiB |
BIN
image/page_drink_press_n/bn_Taiwanese _Tea_Strawberry.png
Normal file
|
After Width: | Height: | Size: 81 KiB |
BIN
image/page_drink_press_n/bn_Taiwanese_Milk_Tea_Coconut.png
Normal file
|
After Width: | Height: | Size: 79 KiB |
BIN
image/page_drink_press_n/bn_Taiwanese_Milk_Tea_Lychee.png
Normal file
|
After Width: | Height: | Size: 79 KiB |
BIN
image/page_drink_press_n/bn_Taiwanese_Milk_Tea_Salak.png
Normal file
|
After Width: | Height: | Size: 79 KiB |
BIN
image/page_drink_press_n/bn_Taiwanese_Milk_Tea_Yuzu.png
Normal file
|
After Width: | Height: | Size: 79 KiB |
BIN
image/page_drink_press_n/bn_Taiwanese_Tea_Lychee.png
Normal file
|
After Width: | Height: | Size: 81 KiB |
BIN
image/page_drink_press_n/bn_Taiwanese_Tea_Salak.png
Normal file
|
After Width: | Height: | Size: 81 KiB |
BIN
image/page_drink_press_n/bn_Taiwanese_Tea_Yuzu.png
Normal file
|
After Width: | Height: | Size: 81 KiB |
|
Before Width: | Height: | Size: 74 KiB After Width: | Height: | Size: 79 KiB |
|
Before Width: | Height: | Size: 74 KiB After Width: | Height: | Size: 75 KiB |
|
Before Width: | Height: | Size: 75 KiB After Width: | Height: | Size: 76 KiB |
BIN
image/page_payment_en/page_payment/img_popup_ukb.png
Normal file
|
After Width: | Height: | Size: 14 KiB |
BIN
image/topping_revamp_inter/bg_custom_espesso_healthy_level.png
Normal file
|
After Width: | Height: | Size: 2.7 KiB |
BIN
image/topping_revamp_inter/bg_custom_taiwanese_tea_powder.png
Normal file
|
After Width: | Height: | Size: 2.5 KiB |
BIN
image/topping_revamp_mmr/bg_top_cocoa.png
Normal file
|
After Width: | Height: | Size: 8.3 KiB |
BIN
image/topping_revamp_mmr/bg_top_oreo.png
Normal file
|
After Width: | Height: | Size: 11 KiB |
BIN
image/topping_revamp_mmr/bg_top_ovaltine.png
Normal file
|
After Width: | Height: | Size: 9.9 KiB |
BIN
image/topping_revamp_mmr/bg_top_popup.png
Normal file
|
After Width: | Height: | Size: 13 KiB |
BIN
image/topping_revamp_mmr/bn_accept.png
Normal file
|
After Width: | Height: | Size: 3.9 KiB |
BIN
image/topping_revamp_mmr/bn_accept2.png
Normal file
|
After Width: | Height: | Size: 6.8 KiB |
BIN
image/topping_revamp_mmr/bp_accept.png
Normal file
|
After Width: | Height: | Size: 3.6 KiB |
BIN
image/topping_revamp_mmr/bp_accept2.png
Normal file
|
After Width: | Height: | Size: 7.2 KiB |
BIN
image/topping_revamp_msc/bg_bottom.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
image/topping_revamp_msc/bg_top_cocoa.png
Normal file
|
After Width: | Height: | Size: 5.3 KiB |
BIN
image/topping_revamp_msc/bg_top_oreo.png
Normal file
|
After Width: | Height: | Size: 8.3 KiB |
BIN
image/topping_revamp_msc/bg_top_ovaltine.png
Normal file
|
After Width: | Height: | Size: 7.6 KiB |
BIN
image/topping_revamp_msc/bg_top_popup.png
Normal file
|
After Width: | Height: | Size: 13 KiB |
BIN
image/topping_revamp_msc/bn_accept.png
Normal file
|
After Width: | Height: | Size: 3.1 KiB |
BIN
image/topping_revamp_msc/bn_accept2.png
Normal file
|
After Width: | Height: | Size: 5.4 KiB |
BIN
image/topping_revamp_msc/bp_accept.png
Normal file
|
After Width: | Height: | Size: 2.9 KiB |
BIN
image/topping_revamp_msc/bp_accept2.png
Normal file
|
After Width: | Height: | Size: 5.5 KiB |
|
|
@ -1,7 +1,7 @@
|
|||
<Button>
|
||||
<X> btnRemoveCupX </X>
|
||||
<Y> btnRemoveCupYNotPageBoard </Y>
|
||||
<State> buttonRemoveCup </State>
|
||||
<State> buttonRemoveCupOnArm </State>
|
||||
;<Color> "0x00BDFF" </Color>
|
||||
<Interval> 500 </Interval>
|
||||
<Filename> bnRemoveCup </Filename>
|
||||
|
|
@ -9,6 +9,16 @@
|
|||
<EventClick>
|
||||
Machine RemoveCup
|
||||
Machine DoorLidOpen
|
||||
Var buttonRemoveCup = "Invisible"
|
||||
SAVELOG "Press button remove cup on-arm"
|
||||
Var buttonRemoveCupOnArm = "Invisible"
|
||||
|
||||
; protect value update too slow.
|
||||
Var DoorCupPosition = "-"
|
||||
|
||||
Var CheckCupStateDoorCupClose = "reset"
|
||||
Var CheckCupStateDoorCupCloseCnt = 30
|
||||
Var TimeoutForProtectButtonHideLongTime = 0
|
||||
|
||||
RefreshAll
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
|
@ -272,6 +272,7 @@ EndIf
|
|||
Var Seeker.topping9 = topping9
|
||||
Var Seeker.topping10 = topping10
|
||||
Var Seeker.topping11 = topping11
|
||||
var Seeker.topping11_2 = topping11_2
|
||||
Var Seeker.topping12 = topping12
|
||||
Var Seeker.topping13 = topping13
|
||||
|
||||
|
|
@ -286,6 +287,12 @@ EndIf
|
|||
Var Seeker.strMulti6_4 = strMulti6_4
|
||||
Var Seeker.strMulti6_5 = strMulti6_5
|
||||
Var Seeker.strMulti6_6 = strMulti6_6
|
||||
|
||||
Var Seeker.strMulti11_1 = strMulti11_1
|
||||
Var Seeker.strMulti11_2 = strMulti11_2
|
||||
Var Seeker.strMulti11_3 = strMulti11_3
|
||||
Var Seeker.strMulti11_4 = strMulti11_4
|
||||
Var Seeker.strMulti11_5 = strMulti11_5
|
||||
|
||||
|
||||
|
||||
|
|
@ -298,6 +305,7 @@ EndIf
|
|||
DEBUGVAR Seeker.topping9
|
||||
DEBUGVAR Seeker.topping10
|
||||
DEBUGVAR Seeker.topping11
|
||||
DEBUGVAR Seeker.topping11_2
|
||||
DEBUGVAR Seeker.topping12
|
||||
DEBUGVAR Seeker.topping13
|
||||
DEBUGVAR Seeker.get_a_straw
|
||||
|
|
@ -309,11 +317,22 @@ EndIf
|
|||
DEBUGVAR Seeker.strMulti6_4
|
||||
DEBUGVAR Seeker.strMulti6_5
|
||||
|
||||
DEBUGVAR Seeker.strMulti11_1
|
||||
DEBUGVAR Seeker.strMulti11_2
|
||||
DEBUGVAR Seeker.strMulti11_3
|
||||
DEBUGVAR Seeker.strMulti11_4
|
||||
DEBUGVAR Seeker.strMulti11_5
|
||||
|
||||
DEBUGVAR LidState
|
||||
DEBUGVAR StrawState
|
||||
DEBUGVAR UserSelectProductCode
|
||||
|
||||
|
||||
If Seeker.SmoothieToPayment = 1 Then
|
||||
Var StrawState = "Press"
|
||||
Var Seeker.thankStrawFlag = 1
|
||||
EndIf
|
||||
|
||||
If StrawState = "Press" Then
|
||||
Machine StrawOrder
|
||||
EndIf
|
||||
|
|
@ -337,7 +356,7 @@ EndIf
|
|||
Var LidState = "Enable"
|
||||
EndIf
|
||||
;
|
||||
|
||||
DEBUGVAR StrawState
|
||||
|
||||
DEBUGVAR PromotionIDCurrentOrder
|
||||
|
||||
|
|
@ -373,17 +392,6 @@ EndIf
|
|||
GetLongTimeInMinute LastTimeClickOrder
|
||||
|
||||
If CART_COUNT = 0 Then
|
||||
If UserSelectProductCode = "-" Then
|
||||
|
||||
Else
|
||||
|
||||
|
||||
If SelectDrinkType = 1 Then
|
||||
; Move to MenuReady
|
||||
;OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_blank.xml"
|
||||
;Open "ROOT/taobin_project/xml/page_payment.xml"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
DEBUGVAR SelectToppingType
|
||||
If SelectDrinkType = 0 Then
|
||||
|
|
|
|||
249
inc/remove_cup_on_arm_step.inc
Normal file
|
|
@ -0,0 +1,249 @@
|
|||
|
||||
;setvarint DebugRemoveCup 1
|
||||
;Var DebugRemoveCup = 1
|
||||
If DebugRemoveCup = 1 Then
|
||||
DEBUGVAR TimeoutForProtectButtonHideLongTime
|
||||
DEBUGVAR TimeoutForDoorCupOpenLongTime
|
||||
|
||||
|
||||
DEBUGVAR CupOnArm
|
||||
DEBUGVAR DoorCupPosition
|
||||
DEBUGVAR CupChecking
|
||||
DEBUGVAR CupArmMove
|
||||
DEBUGVAR buttonRemoveCupOnArm
|
||||
DEBUGVAR Seeker
|
||||
DEBUGVAR CountDownCupOnArmCertainStage
|
||||
|
||||
DEBUGVAR CountDownCupOnArmSuccessDelay
|
||||
DEBUGVAR CH9991_Status
|
||||
DEBUGVAR CH9992_Status
|
||||
DEBUGVAR CH9993_Status
|
||||
DEBUGVAR CH9994_Status
|
||||
EndIf
|
||||
|
||||
If TimeoutForDoorCupOpenLongTime = "" Then
|
||||
Var TimeoutForDoorCupOpenLongTime = 1
|
||||
EndIf
|
||||
|
||||
|
||||
If TimeoutInstance0 = "" Then
|
||||
Var TimeoutInstance0 = 0
|
||||
Var CountDownCupOnArmCertainStage = 0
|
||||
Var CountDownCupOnArmSuccessDelay = 8
|
||||
Var CountDownDrinkOK = 8
|
||||
EndIf
|
||||
|
||||
If TimeoutInstance0 = 3 Then
|
||||
SAVELOG "remove cup on arm 1.4"
|
||||
EndIf
|
||||
|
||||
Var CupOnAnyArm = 0
|
||||
|
||||
If CH9991_Status = "SUCCESS" Then
|
||||
Var CupOnAnyArm = 1
|
||||
EndIf
|
||||
If CH9992_Status = "SUCCESS" Then
|
||||
Var CupOnAnyArm = 1
|
||||
EndIf
|
||||
If CH9993_Status = "SUCCESS" Then
|
||||
Var CupOnAnyArm = 1
|
||||
EndIf
|
||||
If CH9994_Status = "SUCCESS" Then
|
||||
Var CupOnAnyArm = 1
|
||||
EndIf
|
||||
|
||||
; from drink_ok.xml break show button.
|
||||
If CountDownDrinkOK > 0 Then
|
||||
If DoorCupPosition = "bottom" Then
|
||||
Var CountDownDrinkOK = CountDownDrinkOK - 1
|
||||
DEBUGVAR CountDownDrinkOK
|
||||
Var CountDownCupOnArmSuccessDelay = 10
|
||||
EndIf
|
||||
Var CupOnAnyArm = 0
|
||||
Else
|
||||
|
||||
EndIf
|
||||
|
||||
|
||||
If CupOnAnyArm = 1 Then
|
||||
If CountDownCupOnArmSuccessDelay = 0 Then
|
||||
|
||||
Else
|
||||
Var CountDownCupOnArmSuccessDelay = CountDownCupOnArmSuccessDelay - 1
|
||||
Var CupOnAnyArm = 0
|
||||
DEBUGVAR CountDownCupOnArmSuccessDelay
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If CupOnAnyArm = 0 Then
|
||||
If Seeker = "curr" Then
|
||||
If CupOnArm = "true" Then
|
||||
Var CupOnAnyArm = 1
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If CurrentXMLFileName0 = "/mnt/sdcard/coffeevending/taobin_project/xml/page_remove_cup.xml" Then
|
||||
Var CupOnAnyArm = 0
|
||||
EndIf
|
||||
|
||||
DEBUGVAR CupOnAnyArm
|
||||
|
||||
If CupOnAnyArm = 1 Then
|
||||
Var CountDownCupOnArmCertainStage = 3
|
||||
|
||||
If buttonRemoveCupOnArm = "Enable" Then
|
||||
|
||||
Else
|
||||
Var TimeoutForProtectButtonHideLongTime = TimeoutForProtectButtonHideLongTime + 1
|
||||
|
||||
If TimeoutForProtectButtonHideLongTime > 60 Then
|
||||
Var TimeoutForProtectButtonHideLongTime = 0
|
||||
If DoorCupPosition = "bottom" Then
|
||||
SAVELOG "Check Cup all from Long time button cup on arm hide"
|
||||
Var buttonRemoveCupOnArm = "Enable"
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
If DoorCupPosition = "bottom" Then
|
||||
Var TimeoutForDoorCupOpenLongTime = 0
|
||||
Else
|
||||
Var TimeoutForDoorCupOpenLongTime = TimeoutForDoorCupOpenLongTime + 1
|
||||
EndIf
|
||||
|
||||
If TimeoutForDoorCupOpenLongTime > 40 Then
|
||||
Var TimeoutForDoorCupOpenLongTime = 0
|
||||
|
||||
If DoorCupPosition = "bottom" Then
|
||||
Var TimeoutForDoorCupOpenLongTime = 0
|
||||
Else
|
||||
Machine DoorClose
|
||||
Var DoorCloseFromTimeout = "set"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
; check cup now after door closed
|
||||
If PreviseDoorCupPosition = DoorCupPosition Then
|
||||
|
||||
Else
|
||||
DEBUGVAR PreviseDoorCupPosition
|
||||
DEBUGVAR DoorCupPosition
|
||||
|
||||
If DoorCupPosition = "bottom" Then
|
||||
Machine CheckCupLastIDProcess
|
||||
EndIf
|
||||
|
||||
Var PreviseDoorCupPosition = DoorCupPosition
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
; sound play
|
||||
If show_eng = "true" Then
|
||||
|
||||
Else
|
||||
If TimeoutInstance0 = 14 Then
|
||||
If buttonRemoveCupOnArm = "Enable" Then
|
||||
If CupChecking = "false" Then
|
||||
If DoorCupPosition = "bottom" Then
|
||||
If InternationalEnable = 1 Then
|
||||
|
||||
Else
|
||||
Play "/mnt/sdcard/coffeevending/taobin_project/sound_thai/remove_cup.mp3"
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
If CupArmMove = "false" Then
|
||||
If DoorCupPosition = "bottom" Then
|
||||
If InternationalEnable = 1 Then
|
||||
|
||||
Else
|
||||
Play "/mnt/sdcard/coffeevending/taobin_project/sound_thai/remove_cup.mp3"
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
Var TimeoutInstance0 = TimeoutInstance0 + 1
|
||||
|
||||
|
||||
; Logic have differrent drinkfail3.xml
|
||||
; protect lock
|
||||
;
|
||||
|
||||
If CheckCupStateDoorCupCloseCnt > 0 Then
|
||||
Var CheckCupStateDoorCupCloseCnt = CheckCupStateDoorCupCloseCnt - 1
|
||||
DEBUGVAR CheckCupStateDoorCupCloseCnt
|
||||
|
||||
If CheckCupStateDoorCupCloseCnt = 0 Then
|
||||
Var CheckCupStateDoorCupClose = ""
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
|
||||
If CoundUpDelayCertainStage = "" Then
|
||||
Var CoundUpDelayCertainStage = 0
|
||||
EndIf
|
||||
|
||||
|
||||
If DoorCupPosition = "bottom" Then
|
||||
|
||||
Var CoundUpDelayCertainStage = CoundUpDelayCertainStage + 1
|
||||
DEBUGVAR CoundUpDelayCertainStage
|
||||
If CoundUpDelayCertainStage > 10 Then
|
||||
|
||||
Var buttonRemoveCupOnArm = "Invisible"
|
||||
|
||||
EndIf
|
||||
|
||||
Else
|
||||
Var CoundUpDelayCertainStage = 0
|
||||
|
||||
EndIf
|
||||
|
||||
|
||||
; zone cup on arm
|
||||
If buttonRemoveCupOnArm = "Enable" Then
|
||||
If DoorCupPosition = "top" Then
|
||||
Var buttonRemoveCupOnArm = "Invisible"
|
||||
EndIf
|
||||
Else
|
||||
If DoorCupPosition = "top" Then
|
||||
Var buttonRemoveCupOnArm = "Invisible"
|
||||
Else
|
||||
If CheckCupStateDoorCupClose = "" Then
|
||||
Var buttonRemoveCupOnArm = "Enable"
|
||||
EndIf
|
||||
|
||||
If CheckCupStateDoorCupClose = "done" Then
|
||||
Var buttonRemoveCupOnArm = "Enable"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
|
||||
DEBUGVAR buttonRemoveCupOnArm
|
||||
|
||||
Else
|
||||
|
||||
If CountDownCupOnArmCertainStage > 0 Then
|
||||
Var CountDownCupOnArmCertainStage = CountDownCupOnArmCertainStage - 1
|
||||
EndIf
|
||||
|
||||
|
||||
; Next hide away
|
||||
If CountDownCupOnArmCertainStage = 0 Then
|
||||
Var buttonRemoveCupOnArm = "Invisible"
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
|
||||
; cfe cup-on-arm-reset
|
||||
; cfe cup-on-arm-flag
|
||||
; setvarint DebugRemoveCup 1
|
||||
|
|
@ -3,6 +3,9 @@
|
|||
DEBUGVAR TimeoutForProtectButtonHideLongTime
|
||||
DEBUGVAR TiemoutForDoorCupOpenLongTime
|
||||
|
||||
If TimeoutInstance0 = "" Then
|
||||
Var TimeoutInstance0 = 0
|
||||
EndIf
|
||||
|
||||
If TimeoutInstance0 = 3 Then
|
||||
SAVELOG "remove cup step version 1.1"
|
||||
|
|
@ -24,7 +27,6 @@ Else
|
|||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
Var TiemoutForDoorCupOpenLongTime = TiemoutForDoorCupOpenLongTime + 1
|
||||
If TiemoutForDoorCupOpenLongTime > 60 Then
|
||||
Var TiemoutForDoorCupOpenLongTime = 0
|
||||
|
|
|
|||
31
inc/remove_cup_tag_on_arm.inc
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
|
||||
<EventMachineCupReady>
|
||||
SAVELOG "EventMachineCupReady"
|
||||
|
||||
|
||||
Refresh
|
||||
|
||||
</EventMachineCupReady>
|
||||
|
||||
<EventMachineCupNotReady>
|
||||
SAVELOG "EventMachineCupNotReady"
|
||||
</EventMachineCupNotReady>
|
||||
|
||||
<EventDrink>
|
||||
SAVELOG "EVDrink"
|
||||
DEBUGVAR HaveCup
|
||||
DEBUGVAR CupOnArm
|
||||
DEBUGVAR DoorCupPosition
|
||||
DEBUGVAR CupChecking
|
||||
DEBUGVAR CupArmMove
|
||||
If CupOnArm = "false" Then
|
||||
SAVELOG " ============================= >button remove cup on arm hide "
|
||||
Var buttonRemoveCupOnArm = "Invisible"
|
||||
Else
|
||||
Var buttonRemoveCupOnArm = "Enable"
|
||||
|
||||
EindIf
|
||||
Refresh
|
||||
|
||||
</EventDrink>
|
||||
|
||||
|
|
@ -34,6 +34,16 @@
|
|||
Topping "Multiply6-ID" Seeker.strMulti6_1
|
||||
Topping "Multiply6-ID" Seeker.strMulti6_2
|
||||
Topping "Multiply6-ID" Seeker.strMulti6_3
|
||||
|
||||
If Seeker.topping11_2 = "" Then
|
||||
|
||||
Else
|
||||
Topping "Multiply11-ID" Seeker.strMulti11_1
|
||||
Topping "Multiply11-ID" Seeker.strMulti11_2
|
||||
Topping "Multiply11-ID" Seeker.strMulti11_3
|
||||
Topping "Multiply11-ID" Seeker.strMulti11_4
|
||||
Topping "Multiply11-ID" Seeker.strMulti11_5
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
Topping "Pack" ExtendDataCurr
|
||||
|
|
|
|||