From e5ce7f228d1d91dd5daffd07fdcd537b29e26023 Mon Sep 17 00:00:00 2001 From: wanlop run Date: Tue, 8 Oct 2024 15:12:28 +0700 Subject: [PATCH] 9.02 snap --- adv/sync_1.file | 4 ++-- animation01/play_list.tsv | 26 ++++++++++++++++++++++++++ inc/remove_cup_step.inc | 14 ++++++++------ menu/new-layout.tsv | 30 +++++++++++++++--------------- ui/lang.tsv | 2 +- video/sync_1.file | 6 +++--- xml/event/tricker.ev | 6 ++++++ xml/page_NewBrewing3.xml | 6 ++++-- xml/page_drinkfail2.xml | 2 ++ xml/page_drinkfail3.xml | 2 +- xml/page_drinkok.xml | 10 +++++++++- xml/page_remove_cup.xml | 38 +++++++++++++++++++++++++++++--------- xml/page_thankyouConti.xml | 2 +- xml_main/startup.xml | 4 ++-- 14 files changed, 109 insertions(+), 43 deletions(-) diff --git a/adv/sync_1.file b/adv/sync_1.file index 7e5a592b..c9ff30ee 100644 --- a/adv/sync_1.file +++ b/adv/sync_1.file @@ -1,5 +1,5 @@ -total 248776 --rw-rw---- 1 root sdcard_rw 0 2024-09-16 10:55 sync_1.file +total 248764 +-rw-rw---- 1 root sdcard_rw 0 2024-10-08 10:51 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 3647528 2023-09-18 18:44 taobin_adv_01.mp4 -rw-rw---- 1 root sdcard_rw 8456105 2024-03-18 16:14 taobin_adv_02.mp4 diff --git a/animation01/play_list.tsv b/animation01/play_list.tsv index f9b64808..c717e0fc 100644 --- a/animation01/play_list.tsv +++ b/animation01/play_list.tsv @@ -1165,3 +1165,29 @@ Iced Americano 12-21-02-0081 1 2 3 4 5 23 16 24 133 2:13 22 เจมิลาเซเว่นอัพโซดาปั่น 12-05-03-0126 1 63 18 23 13 41 24 133 18:13 22 เจมิลามะนาวปั่น 12-05-03-0127 1 63 12 23 41 24 133 19:13 22 เจมิลามะลิปั่น 12-02-03-0070 1 63 10 23 41 24 133 20:13 22 + + + + + + + +Strawberry milk 7Up lime 12-03-03-0084 1 18 19 6 23 41 24 133 20:13 22 +Matcha 7Up Lime Soda 12-02-02-0080 1 18 8 9 12 23 13 24 133 21:13 22 +Strawberry energy 7Up lime smoothie 12-05-03-0128 1 18 19 34 23 41 24 133 22:13 22 +Strawberry milk 7Up lime 12-03-03-0084 1 18 19 6 23 41 24 133 23:13 22 +Lychee milk 7Up lime 12-03-03-0085 1 18 11 17 23 41 24 133 0:13 22 +Thai tea strawberry 7up 12-02-02-0081 1 18 10 19 23 24 133 1:13 22 +Jasmine plum 7Up soda 12-02-02-0082 1 18 10 33 23 13 24 133 2:13 22 +Hot ginger strawberry 7up tea 12-02-01-0079 1 18 10 19 10 24 133 3:13 22 +Caramel milk 7up smoothie top ovaltine 12-03-03-0081 1 18 22 17 23 41 51 24 133 4:13 22 +Coffee 7Up Lime Soda 12-01-02-0082 1 18 2 3 4 5 12 23 13 24 133 5:13 22 +Coffee 7Up Lime Soda (s) 12-21-02-0082 1 18 2 3 4 5 12 23 13 24 133 6:13 22 +Pepsi thai milk tea 12-03-02-0080 1 14 10 23 24 133 7:13 22 +Pepsi caramel milk smoothie 12-03-03-0080 1 14 22 6 23 41 24 133 8:13 22 +Hot Pepsi lime ginger jasmine tea 12-02-01-0078 1 14 12 10 24 133 9:13 22 +Strawberry americano 7up soda 12-01-02-0083 1 18 2 3 4 5 13 24 133 10:13 22 +Strawberry americano 7up soda 12-21-02-0083 1 18 2 3 4 5 13 24 133 11:13 22 +Caramel milk 7up smoothie 12-03-03-0082 1 18 22 6 23 41 24 133 12:13 22 +Strawberry milk 7Up lime top ovaltine 12-03-03-0083 1 18 19 17 23 41 51 24 133 13:13 22 + 24 133 14:13 22 diff --git a/inc/remove_cup_step.inc b/inc/remove_cup_step.inc index fd538ff6..fa1ced76 100644 --- a/inc/remove_cup_step.inc +++ b/inc/remove_cup_step.inc @@ -3,16 +3,18 @@ DEBUGVAR TimeoutForProtectButtonHideLongTime DEBUGVAR TiemoutForDoorCupOpenLongTime -Var TimeoutForProtectButtonHideLongTime = TimeoutForProtectButtonHideLongTime + 1 -If TimeoutForProtectButtonHideLongTime > 45 Then - Var TimeoutForProtectButtonHideLongTime = 0 - If buttonRemoveCup = "Enable" Then +If buttonRemoveCup = "Enable" Then - Else +Else + + Var TimeoutForProtectButtonHideLongTime = TimeoutForProtectButtonHideLongTime + 1 + + If TimeoutForProtectButtonHideLongTime > 120 Then + Var TimeoutForProtectButtonHideLongTime = 0 If DoorCupPosition = "bottom" Then SAVELOG "Check Cup all from Long time button hide" - Machine CheckCupAll + Var buttonRemoveCup = "Enable" EndIf EndIf EndIf diff --git a/menu/new-layout.tsv b/menu/new-layout.tsv index 9586ab7d..8922dd64 100644 --- a/menu/new-layout.tsv +++ b/menu/new-layout.tsv @@ -959,21 +959,21 @@ Name=jemila,file=page_catalog_group_pro_jemila.skt รวินทร์วรกานต์มะลิ RAVINWORAGARN'S\nJASMINE เจมิลา ชามะลิ และน้ำแข็ง Jemila, Jasmine tea and Ice - 12-02-02-0070 12-02-03-0070 bn_jasmine_tea_jemila_pro.png - - - posi1 Name=halloween,file=page_catalog_group_pro_halloween.skt - โหด โฉด สยอง BRUTAL, WICKED, HORRIFYING Matcha, 7Up, Lime and Soda - 12-02-02-0080 posi1 - ปอบเมืองลับแล LIVER OF THE LOST Strawberry syrup, Energy drink syrup, 7Up and Lime - - 12-05-03-0128 posi1 - หมู่บ้านเลี้ยงผี THE VILLAGE THAT FEEDS GHOSTS Strawberry syrup, Milk, 7Up and Lime - - 12-03-03-0084 posi1 - วิวาห์อาถรรพ์ CURSED CUISINE Lychee syrup, Milk, 7Up and Lime - - 12-03-03-0085 posi1 - เสน่ห์-บาตรแตก Broken Bowl Charm Thai tea, Strawberry syrup and 7Up - 12-02-02-0081 - posi1 - เมตามหาโสมม Foul Metta Jasmine tea, Ume syrup, 7Up and Soda - 12-02-02-0082 - posi1 - Ghost House กินอยู่กับผี GHOSTLY GRUB Ginger, Strawberry Syrup and 7Up 12-02-01-0079 - - posi1 - ผงกระดูกสัมภเวสี BONE-CHILLING BITES Caramel syrup, Milk, 7Up and Ovaltine - - 12-03-03-0081 posi1 - Cast แสดงเพื่อนผี PHANTOM ACTRESS Coffee, 7Up, Lime and Soda - 12-01-02-0082 - posi1 - ไสยเวทย์สังหาร SPOOKY SPELLS Pepsi, Thai tea , Milk and Ice - 12-03-02-0080 - posi1 - Mortuary ห้องเก็บเธอ MORTUARY: STORING HER Pepsi, Caramel, Milk and Ice - - 12-03-03-0080 posi1 - โค้งต้องคำสาป CURSED CURVE Pepsi, Lime, Ginger, Jasmin tea 12-02-01-0078 - - posi1 - เสกซากผี SUMMONING THE CORPSE Strawberry syrup, Coffee, 7Up and Soda - 12-01-02-0083 - posi1 - คนทรงผี SPIRIT MEDIUM Caramel syrup, Milk, 7Up and Ice - - 12-03-03-0082 posi1 - เลี้ยงลูกผี RAISING A GHOST CHILD Strawberry syrup, Milk, 7Up, Lime and Ovaltine - - 12-03-03-0083 posi1 + โหด โฉด สยอง BRUTAL, WICKED, \nHORRIFYING มัทฉะ 7up มะนาว และโซดา Matcha, 7Up, Lime and Soda - 12-02-02-0080 - bn_7UP_Matcha_Lime_Soda_halloween.png - - - posi1 + ปอบเมืองลับแล LIVER OF THE LOST น้ำเชื่อมสตรอเบอร์รี่ เต่าทรงพลัง 7up\nและมะนาว Strawberry syrup, Energy\ndrink syrup, 7Up and Lime - - 12-05-03-0128 bn_7UP_strawberry_Energy_lime_halloween.png - - - posi1 + หมู่บ้านเลี้ยงผี THE VILLAGE THAT\nFEEDS GHOSTS น้ำเชื่อมสตรอเบอร์รี่ นม 7up\nและมะนาว Strawberry syrup, Milk, 7Up\nand Lime - - 12-03-03-0084 bn_7UP_Strawberry_Milk_lime_halloween.png - - - posi1 + วิวาห์อาถรรพ์ CURSED CUISINE น้ำเชื่อมลิ้นจี่ นม 7up และมะนาว Lychee syrup, Milk, 7Up and Lime - - 12-03-03-0085 bn_7UP_Lychee_Milk_lime_halloween.png - - - posi1 + เสน่ห์-บาตรแตก Broken Bowl Charm ชาไทย น้ำเชื่อมสตรอเบอร์รี่ และ7up Thai tea, Strawberry syrup\nand 7Up - 12-02-02-0081 - bn_7UP_ThaiTea_Strawberry_Soda_halloween.png - - - posi1 + เมตามหาโสมม Foul Metta ชามะลิ น้ำเชี่ยมสละ 7up และโซดา Jasmine tea, Ume syrup, 7Up \nand Soda - 12-02-02-0082 - bn_7UP_Jasmin_Plum_Soda_halloween.png - - - posi1 + Ghost House\nกินอยู่กับผี GHOSTLY GRUB ขิง น้ำเชื่อมสตรอเบอร์รี่ และ7up Ginger, Strawberry Syrup and 7Up 12-02-01-0079 - - bn_hot_Ginger_tea_7UP_Strawberry_halloween.png - - - posi1 + ผงกระดูกสัมภเวสี BONE-CHILLING\nBITES น้ำเชื่อมคาราเมล นม 7up และโอวัลติน Caramel syrup, Milk, 7Up\nand Ovaltine - - 12-03-03-0081 Caramel_milk_7up_smoothie_top_ovaltine_halloween.png - - - posi1 + Cast แสดงเพื่อนผี PHANTOM ACTRESS กาแฟ 7up มะนาว และโซดา Coffee, 7Up, Lime and Soda - 12-01-02-0082 - bn_7up_americano_lime_soda_halloween.png - - - posi1 + ไสยเวทย์สังหาร SPOOKY SPELLS Pepsi ชาไทย นม และนำ้แข็ง Pepsi, Thai tea , Milk and Ice - 12-03-02-0080 - bn_Pepsi_thai_milk_tea_halloween.png - - - posi1 + Mortuary\nห้องเก็บเธอ MORTUARY: STORING\nHER Pepsi คาลาเมล นม และน้ำแข็ง Pepsi, Caramel, Milk and Ice - - 12-03-03-0080 bn_Pepsi_caramel_milk_smoothie_halloween.png - - - posi1 + โค้งต้องคำสาป CURSED CURVE Pepsi มะนาว ขิง และชามะลิ Pepsi, Lime, Ginger, Jasmin tea 12-02-01-0078 - - bn_Hot_Pepsi_lime_ginger_jasmine_tea_halloween.png - - - posi1 + เสกซากผี SUMMONING THE\nCORPSE น้ำเชื่อมสตรอเบอร์รี่ กาแฟ 7up\nและโซดา Strawberry syrup, Coffee, 7Up\nand Soda - 12-01-02-0083 - bn_7up_Coffee_Strawberry_soda_halloween.png - - - posi1 + คนทรงผี SPIRIT MEDIUM น้ำเชื่อมคาราเมล นม 7up และโซดา Caramel syrup, Milk, 7Up and Ice - - 12-03-03-0082 Caramel_milk_7up_smoothie_halloween.png - - - posi1 + เลี้ยงลูกผี RAISING A GHOST\nCHILD น้ำเชื่อมสตรอเบอร์รี่ นม 7up มะนาว\nและโอวัลติน Strawberry syrup, Milk, 7Up, Lime\nand Ovaltine - - 12-03-03-0083 Strawberry_milk_7Up_lime__top_ovaltine_halloween.png - - - posi1 Name=bubble tea,file=page_catalog_group_pro_buble_tea.skt ลาเต้ LATTE กาแฟ นม และ ฟองนม Espresso, Milk, Foamed milk - 12-21-62-0002 12-21-63-0002 diff --git a/ui/lang.tsv b/ui/lang.tsv index f70f9e69..06d2e4fb 100644 --- a/ui/lang.tsv +++ b/ui/lang.tsv @@ -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/sync_1.file b/video/sync_1.file index 4163c168..f207199e 100644 --- a/video/sync_1.file +++ b/video/sync_1.file @@ -1,4 +1,4 @@ -total 184336 +total 184304 -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 @@ -24,11 +24,11 @@ total 184336 -rw-rw---- 1 root sdcard_rw 42967 2024-07-19 18:16 brewing_txt_adv4_en.png -rw-rw---- 1 root sdcard_rw 17402219 2024-07-16 14:21 main_page.mp4 -rw-rw---- 1 root sdcard_rw 9673549 2024-07-25 10:29 main_page_event.mp4 --rw-rw---- 1 root sdcard_rw 1217 2024-07-25 11:20 script1.ev +-rw-rw---- 1 root sdcard_rw 1217 2024-10-07 17:50 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 7200 2024-10-04 13:58 script3_first_brewing.ev --rw-rw---- 1 root sdcard_rw 0 2024-10-04 14:41 sync_1.file +-rw-rw---- 1 root sdcard_rw 0 2024-10-08 10:51 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 diff --git a/xml/event/tricker.ev b/xml/event/tricker.ev index 662183b2..29e68031 100644 --- a/xml/event/tricker.ev +++ b/xml/event/tricker.ev @@ -443,6 +443,12 @@ If BoxID = 200000 Then Var NewFlowPaymentCode = 1 EndIf + +If BoxID = 176757 Then + Var New_Payment = 1 + Var NewFlowPaymentCode = 1 +EndIf + ; If BoxID > 200000 Then If BoxID < 200400 Then diff --git a/xml/page_NewBrewing3.xml b/xml/page_NewBrewing3.xml index faa13281..718144a6 100644 --- a/xml/page_NewBrewing3.xml +++ b/xml/page_NewBrewing3.xml @@ -15,10 +15,12 @@ Var CountUpWhenBREW_CNT = 0 DEBUGVAR TxRef1 - SAVELOG "page_Newbrewing3.xml" + SAVELOG "page_Newbrewing3.xml version 2" DEBUGVAR MachineStage + DEBUGVAR Seeker.ORDER_ID - Machine NewPaymentOpenBrewingXML + + __CMD "PayWasSent" Seeker.ORDER_ID "-" "-" Var PictureFileTextDesctionState = "Enable" diff --git a/xml/page_drinkfail2.xml b/xml/page_drinkfail2.xml index 427386fc..4608ca3b 100644 --- a/xml/page_drinkfail2.xml +++ b/xml/page_drinkfail2.xml @@ -183,6 +183,8 @@ DEBUGVAR CountryName DEBUGVAR MaxPhoneNumber + Machine NewPaymentOpenBrewingXML + 1000 diff --git a/xml/page_drinkfail3.xml b/xml/page_drinkfail3.xml index 94fc2b2b..05e8c6f3 100644 --- a/xml/page_drinkfail3.xml +++ b/xml/page_drinkfail3.xml @@ -104,7 +104,7 @@ TransferVar "next" "curr" Var Seeker = "curr" - SAVELOG "Remove cup" + SAVELOG "Remove cup drink fail " Open "ROOT/taobin_project/xml/page_thankyouConti.xml" Else diff --git a/xml/page_drinkok.xml b/xml/page_drinkok.xml index cbd18e4c..6a95c0cf 100644 --- a/xml/page_drinkok.xml +++ b/xml/page_drinkok.xml @@ -216,7 +216,15 @@ AddData 50 dummyPhone param1 param2 param3 EndIf - SAVELOG "drinkok.xml version 1" + SAVELOG "drinkok.xml version 2" + + Var DrinkNameOnArm[DrinkArmCupID] = Seeker.showname + Var DrinkImageOnArm[DrinkArmCupID] = Seeker.PictureDrink + + DEBUGVAR DrinkArmCupID + + DEBUGVAR DrinkImageOnArm[DrinkArmCupID] + DEBUGVAR DrinkNameOnArm[DrinkArmCupID] 500 diff --git a/xml/page_remove_cup.xml b/xml/page_remove_cup.xml index e0e7a002..02bc0b73 100644 --- a/xml/page_remove_cup.xml +++ b/xml/page_remove_cup.xml @@ -47,6 +47,10 @@ ;include=ROOT/taobin_project/inc/remove_cup_event_open.inc Var ShowMenuNameAndImage = "Invisible" + Var RemoveCupOnArmID = -1 + Var remove_cup_name = "" + Var remove_cup_image = "" + 1000 @@ -59,13 +63,6 @@ EndIf - ;DEBUGVAR HaveCup - ;DEBUGVAR CupOnArm - ;DEBUGVAR DoorCupPosition - ;DEBUGVAR CupChecking - ;DEBUGVAR CupArmMove - ;DEBUGVAR buttonRemoveCup - ; Add haveCup false for block display abnormal. Alternate between page_board.xml and this file. If HaveCup = "false" Then If MachineStage = "show-menu" Then @@ -73,6 +70,12 @@ EndIf EndIf + If CupOnArm = "true" Then + If MachineStage = "show-menu" Then + Open "ROOT/taobin_project/xml/page_board.xml" + + EndIf + EndIf If MachineStage = "close-maintenance" Then Open "ROOT/taobin_project/xml/page_show_error.xml" @@ -81,6 +84,23 @@ ;include=ROOT/taobin_project/inc/remove_cup_step.inc + + Var RemoveCupOnArmID = 0 + If RemoveCupOnArmID > 0 Then + If DoorCupPosition = "bottom" Then + Var ShowMenuNameAndImage = "Invisible" + Var RemoveCupOnArmID = -1 + Else + DEBUGVAR RemoveCupOnArmID + DEBUGVAR DrinkImageOnArm[RemoveCupOnArmID] + DEBUGVAR DrinkNameOnArm[RemoveCupOnArmID] + + Var remove_cup_image = DrinkImageOnArm[RemoveCupOnArmID] + Var remove_cup_name = DrinkNameOnArm[RemoveCupOnArmID] + Var ShowMenuNameAndImage = "Enable" + EndIf + EndIf + Refresh TimerReset @@ -143,7 +163,7 @@ 300 320 ShowMenuNameAndImage - Seeker.PictureDrink + remove_cup_image @@ -157,7 +177,7 @@ HeadlineColor eval( - STRCONTAIN "size" Seeker.showname SizeFromSheet + STRCONTAIN "size" remove_cup_name SizeFromSheet If SizeFromSheet = "true" Then SPLIT Seeker.showname "###" 1 PureName Var return = PureName diff --git a/xml/page_thankyouConti.xml b/xml/page_thankyouConti.xml index 2459c1b6..0aeb9dc4 100644 --- a/xml/page_thankyouConti.xml +++ b/xml/page_thankyouConti.xml @@ -125,7 +125,7 @@ ;PendingFlag InternationalEnable ;PendingFlag New_Payment - ;PendingFlag New_Payment + ;PendingFlag diff --git a/xml_main/startup.xml b/xml_main/startup.xml index a09255db..10e7e450 100644 --- a/xml_main/startup.xml +++ b/xml_main/startup.xml @@ -108,8 +108,8 @@ Var RandomPromotionMyworld = 0 Var RandomSalePackage = 0 - Var XMLPageVersion = "9.00" - Var XMLPageVersionInt = 900 + Var XMLPageVersion = "9.02" + Var XMLPageVersionInt = 902 ;Oreo Var OreoGuarantee = 0