MYS: promotion yuzu with double pro

This commit is contained in:
Pakin 2024-07-01 16:51:58 +07:00
parent c0fb028576
commit ceb9480332
14 changed files with 2196 additions and 75 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 226 KiB

View file

@ -163,6 +163,14 @@
Var DirImageAlter = "ROOT/taobin_project/image/page3_2/"
EndIf
DEBUGVAR FromFruityRaya
DEBUGVAR FromProThaiTea
DEBUGVAR FromProYuzu
Var FromFruityRaya = 0
Var FromProThaiTea = 0
Var FromProYuzu = 0
</EventOpen>
@ -182,13 +190,13 @@
Var block_index_move = 0
</Script>
;dummy_layout.inc
;block1
<Block>
<State> PromotionState1 </State>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 484 </Width>
<Height> 602 </Height>
;block1
<Block>
<State> PromotionState1 </State>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 484 </Width>
<Height> 602 </Height>
<Button>
@ -226,16 +234,16 @@
</EventOnClick>
</Button>
</Block>
</Button>
</Block>
;endblock1
;block2
<Block>
<State> PromotionState2 </State>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 484 </Width>
<Height> 602 </Height>
;block2
<Block>
<State> PromotionState2 </State>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 484 </Width>
<Height> 602 </Height>
<Button>
@ -243,27 +251,27 @@
<Filename>
eval(
If show_eng = "true" Then
Var return = "ROOT/taobin_project/inter/mys/image/event/pro_thai_tea/pro_thai_tea_big_btn.png"
Var return = "ROOT/taobin_project/inter/mys/image/event/pro_yuzu/pro_yuzu_big_btn.png"
Else
Var return = "ROOT/taobin_project/inter/mys/image/event/pro_thai_tea/pro_thai_tea_big_btn.png"
Var return = "ROOT/taobin_project/inter/mys/image/event/pro_yuzu/pro_yuzu_big_btn.png"
EndIf
)
</Filename>
<FilenamePress>
eval(
If show_eng = "true" Then
Var return = "ROOT/taobin_project/inter/mys/image/event/pro_thai_tea/pro_thai_tea_big_btn.png"
Var return = "ROOT/taobin_project/inter/mys/image/event/pro_yuzu/pro_yuzu_big_btn.png"
Else
Var return = "ROOT/taobin_project/inter/mys/image/event/pro_thai_tea/pro_thai_tea_big_btn.png"
Var return = "ROOT/taobin_project/inter/mys/image/event/pro_yuzu/pro_yuzu_big_btn.png"
EndIf
)
</FilenamePress>
<FilenameDisable>
eval(
If show_eng = "true" Then
Var return = "ROOT/taobin_project/inter/mys/image/event/pro_thai_tea/pro_thai_tea_big_btn.png"
Var return = "ROOT/taobin_project/inter/mys/image/event/pro_yuzu/pro_yuzu_big_btn.png"
Else
Var return = "ROOT/taobin_project/inter/mys/image/event/pro_thai_tea/pro_thai_tea_big_btn.png"
Var return = "ROOT/taobin_project/inter/mys/image/event/pro_yuzu/pro_yuzu_big_btn.png"
EndIf
)
</FilenameDisable>
@ -273,8 +281,8 @@
</EventOnClick>
</Button>
</Block>
</Button>
</Block>
;endblock2
;block3
<Block>

View file

@ -16,12 +16,12 @@
"name": "yuzu",
"template": "/event/promotion_template.inc",
"config": {
"normal_eng": "ROOT/taobin_project/inter/mys/image/event/pro_thai_tea/pro_thai_tea_big_btn.png",
"normal_thai": "ROOT/taobin_project/inter/mys/image/event/pro_thai_tea/pro_thai_tea_big_btn.png",
"press_eng": "ROOT/taobin_project/inter/mys/image/event/pro_thai_tea/pro_thai_tea_big_btn.png",
"press_thai": "ROOT/taobin_project/inter/mys/image/event/pro_thai_tea/pro_thai_tea_big_btn.png",
"disable_eng": "ROOT/taobin_project/inter/mys/image/event/pro_thai_tea/pro_thai_tea_big_btn.png",
"disable_thai": "ROOT/taobin_project/inter/mys/image/event/pro_thai_tea/pro_thai_tea_big_btn.png",
"normal_eng": "ROOT/taobin_project/inter/mys/image/event/pro_yuzu/pro_yuzu_big_btn.png",
"normal_thai": "ROOT/taobin_project/inter/mys/image/event/pro_yuzu/pro_yuzu_big_btn.png",
"press_eng": "ROOT/taobin_project/inter/mys/image/event/pro_yuzu/pro_yuzu_big_btn.png",
"press_thai": "ROOT/taobin_project/inter/mys/image/event/pro_yuzu/pro_yuzu_big_btn.png",
"disable_eng": "ROOT/taobin_project/inter/mys/image/event/pro_yuzu/pro_yuzu_big_btn.png",
"disable_thai": "ROOT/taobin_project/inter/mys/image/event/pro_yuzu/pro_yuzu_big_btn.png",
"event_on_click": "ROOT/taobin_project/inter/mys/xml/page_catalog_group_pro_yuzu.lxml"
}
}

View file

@ -163,6 +163,15 @@
Var DirImageAlter = "ROOT/taobin_project/image/page3_2/"
EndIf
DEBUGVAR FromFruityRaya
DEBUGVAR FromProThaiTea
DEBUGVAR FromProYuzu
Var FromFruityRaya = 0
Var FromProThaiTea = 0
Var FromProYuzu = 0
</EventOpen>

View file

@ -16,6 +16,10 @@ Var FromFruityRaya = 0
Var ProThaiTeaEnable = 0
Var FromProThaiTea = 0
; Yuzu Promo
Var ProYuzuEnable = 0
Var FromProYuzu = 0
If SystemDateMonthInt = 6 Then
If SystemDateDayInt >= 15 Then
Var ProThaiTeaEnable = 1

View file

@ -25,22 +25,24 @@
Else
DEBUGVAR Seeker.TNumberTaobinMember
DEBUGVAR TelephoneNumber
Var Seeker.TNumberTaobinMember = TelephoneNumber
DEBUGVAR Seeker.TNumberTaobinMember
; Telephone must not empty
If Seeker.CodeChannel = 1 Then
DEBUGVAR Seeker.CodeChannel
Var Seeker.UseProYuzuCode = 1
Var Seeker.ProYuzu = 1
Else
DEBUGVAR Seeker.TNumberTaobinMember
DEBUGVAR TelephoneNumber
Var Seeker.TNumberTaobinMember = TelephoneNumber
DEBUGVAR Seeker.TNumberTaobinMember
Var Seeker.ProYuzu = 1
Var Seeker.UseProYuzuCode = 0
DEBUGVAR Seeker.ProYuzu
DEBUGVAR Seeker.UseProYuzuCode
; support-for-multi-pro-with-same-cid
Var param1 = "701"
Var param1 = "703"
AddData Cid TelephoneNumber param1 param2 param3
EndIf

File diff suppressed because it is too large Load diff

View file

@ -526,8 +526,15 @@
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
DEBUGVAR "back"
DEBUGVAR FromFruityRaya
DEBUGVAR FromProThaiTea
DEBUGVAR FromProYuzu
Var FromFruityRaya = 0
Var FromProThaiTea = 0
Var FromProYuzu = 0
;Open PreviseXMLFileName2
DEBUGVAR OpenFromXML
@ -3394,6 +3401,15 @@
<Volume> SoundVolume </Volume>
<EventClick>
DEBUGVAR "back.cancel"
DEBUGVAR FromFruityRaya
DEBUGVAR FromProThaiTea
DEBUGVAR FromProYuzu
Var FromFruityRaya = 0
Var FromProThaiTea = 0
Var FromProYuzu = 0
If Seeker = "next" Then
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_blank.xml"
Open "ROOT/taobin_project/xml/page_brewing3Conti.xml"

View file

@ -889,10 +889,10 @@
Calibrate
1100000 Calibrate คาลิเบรท
1100001 Select Module เลือกโมดูล
1100002 Module โมดูล
1100003 Please check that there is no object on the selected module ตรวจสอบว่าไม่มีวัตถุอยู่บนโมดูลที่เลือก
1100004 Put weight 200 g on the selected module วางน้ำหนัก 200 กรัมลงบนโมดูลที่เลือก
1100001 Select Module เลือกชุด
1100002 Module ชุด
1100003 Please check that there is no object on the selected module ตรวจสอบว่าไม่มีวัตถุอยู่บนชุดที่เลือก
1100004 Put weight 200 g on the selected module วางน้ำหนัก 200 กรัมลงบนชุดที่เลือก
1100005 Calibrate failed คาริเบรทล้มเหลว
1100006 Calibrate again คาริเบรทอีกครั้ง
1100007 Arms แขน
@ -901,48 +901,164 @@
1100010 weight น้ำหนัก
1100011 Timeout หมดเวลา
1100012 Board offline บอร์ดออฟไลน์
1100013 Make sure weight 200 g is ตรวจสอบว่าน้ำหนัก 200 กรัม
1100013 Make sure weight 200 g is \n ตรวจสอบว่าน้ำหนัก 200 กรัม \n
1100014 properly placed on ได้วางลงบน
1100015 Calibrate successfully คาริเบรทสำเร็จ
1100016 selected arm แขนที่เลือก
Cups & Arms
1200000 Cups & Arms แก้ว & แขน
1200001
1200002
1200003
1200004
1200005
1200006
1200007
1200001 Move & Pay หมุน & จ่าย
1200002 Set Arms ตั้งค่าแขน
1200003 Move arms & pay cups หมุนแขน & จ่ายแก้ว
1200004 Move all arms หมุนทุกแขน
1200005 1. Select arm 1. เลือกแขน
1200006 2. Select cup slot 2. เลือกแก้ว
1200007 Paper Cup แก้วกระดาษ
1200008 Shot Cup แก้วช็อต
1200009 Plastic Cup แก้วพลาสติก
1200010 3. Select position 3. เลือกตำแหน่ง
1200011 Serve & brew เสิร์ฟ & ชง
1200012 Pay ingredient จ่ายวัตถุดิบ
1200013 Maintain เก็บ
1200014 Current position ตำแหน่งปัจจุบัน
1200015 Pick-up หยิบ
1200016 Whipper หัวชง
1200017 Powder ผง
1200018 Ice นำ้แข็ง
1200019 Soda / Mix 1 โซดา / มิกซ์ 1
1200020 Water / Coffee / Syrup น้ำ / กาแฟ / ไซรัป
1200021 Check Cup เช็คแก้ว
1200022 Clean ล้าง
1200023 Waste ทิ้ง
1200024 Arms operation ปิด-เปิดแขน
1200025 Close Arm ปิดแขน
1200026 Open Arm เปิดแขน
1200027 The selected arm will * operate \n แขนทีถูกเลือกจะ * ทำงาน \n
1200028 while the machine is open for sale ในขณะที่เครื่องกำลังเปิดการขาย
1200029 Opening and closing arms will affect machine's service when it is open for sale การเปิดและปิดแขนจะส่งผลต่อการบริการของเครื่องในขณะที่กำลังเปิดขาย
Coffee
1300000 Coffee กาแฟ
1300001
1300002
1300003
1300004
1300005
1300006
1300007
1300001 Pay & Grind จ่าย & บด
1300002 Brew test ทดสอบชง
1300003 Beans module ชุดเมล็ดกาแฟ
1300004 Bean tray ถาดใส่เมล็ดกาแฟ
1300005 Switch tray : สวิตซ์ถาด :
1300006 Check tray shutter ตรวจสอบชัตเตอร์ถาด
1300007 Pay beans จ่ายถั่ว
1300008 1. Select beans 1. เลือกเมล็ดกาแฟ
1300009 2. Select direction 2. เลือกทิศทาง
1300010 Draw back หมุนกลับ
1300011 Grind beans บดถั่ว
1300012 Grind sizes ขนาดบด
1300013 Standard มาตรฐาน
1300014 Result ผลลัพธ์
1300015 Bean weight:g น้ำหนักถั่ว:กรัม
1300016 Brew time:sec เวลาชง: วินาที
1300017 Test grind sizes ทดสอบขนาดบด
1300018 Coffee module type : ประเภทชุดกาแฟ :
1300019 1. Select grind sizes 1. เลือกขนาดการบด
1300020 More coarse หยาบขึ้น
1300021 More fine ละเอียดขึ้น
1300022 2. Test grinding 2. ทดสอบการบด
1300023 (To see grind sizes fineness before brewing.) (เพื่อดูความละเอียดของขนาดบดก่อนปรุง)
1300024 3. Test brew coffee 3. ทดสอบการชงกาแฟ
1300025 View recipes ดูสูตร
1300026 Brew now Brew now
1300027 4. Adjust grind sizes and test again if results (weight, brewing\n 4. ปรับขนาดการบดและทดสอบอีกครั้งว่าได้ผล (น้ำหนัก การชง\n
1300028 time) aren't up to standard. เวลา) ตามมาตรฐานหรือไม่
1300029 Set grind sizes กำหนดขนาดบด
1300030 Set as default ตั้งให้เป็นค่าเริ่มต้น
1300031 (Set as default when meet standard) (ตั้งเป็นค่าเริ่มต้นเมื่อเป็นไปตามมาตรฐาน)
1300032 Brew recipes สูตรชง
1300033 Brew order ลำดับการชง
1300034 Ingredient วัตถุดิบ
1300035 Recipes สูตรอาหาร
1300036 Save editing บันทึกการแก้ไข
1300037 Cancel edting ยกเลิกการแก้ไข
1300038 1. Recheck selected grind sizes and brew recipes 1. ตรวจสอบขนาดการบดที่เลือกและสูตรการชงอีกครั้ง
1300039 Insert cup manually ใส่ถ้วยด้วยตนเอง
1300040 2. Select arm 2. เลือกแขน
1300041 3. Please insert cup into selected arm 3. กรุณาใส่ถ้วยลงในแขนที่เลือก
1300042 Test ทดสอบ
1300043 Grind บด
1300044 Pay beans from slot * จ่ายเมล็ดกาแฟจาก *
1300045 Draw back from slot * หมุนกลับจาก *
1300046 Grind beans for * sec. บดเมล็ดกาแฟ * วินาที
Whipper
1400000 Whipper หัวชง
1400001
1400002
1400003
1400004
1400005
1400006
1400007
1400001 Move เคลื่อน
1400002 Speed ความเร็ว
1400003 Blend test ทดสอบหัวชง
1400004 Latest cycles number : จำนวนรอบการหมุนล่าสุด :
1400005 rounds/minute รอบ/นาที
1400006 Moving test ทดสอบการเคลื่อนที่
1400007 Current position & level : ตำแหน่งปัจจุบัน & ระดับ
1400008 1. Select position 1. เลือกตำแหน่ง
1400009 Brew ชง
1400010 Clean ล้าง
1400011 2. Select level 2. เลือกระดับ
1400012 Check level ระดับตรวจสอบ
1400013 Blend level ระดับปั่น
1400014 Maintain level ระดับเก็บ
1400015 Home Home
1400016 Hot Hot
1400017 Cold Cold
1400018 Speed test ทดสอบความเร็ว
1400019 Standard speed: ความเร็วมาตรฐาน:
1400020 Please enter an odd number for testing กรุณาใส่เลขคี่เพื่อทดสอบ
1400021 Direction ทิศทาง
1400022 Brew ชง
1400023 Cycles : rounds/minute รอบ : รอบ/นาที
1400024 Blending การปั่น
1400025 Blend now Blend now
1400026 Blend * sec with speed * % ปั่น * วินาที ด้วยความเร็ว * %
1400027 Please be careful and step away โปรดระวังและออกห่าง
1400028 from mechanism before starting away จากกลไกก่อนที่จะเริ่ม
1400029 Blend test dont pass the standard. Please check the whipper, maybe it's time to replace
1400030 1. Recheck brew recipes 1. ตรวจสอบสูตรชงอีกครั้ง
1400031
1400032
1400033
1400034
1400035
Soda & Syrup
1500000 Soda & Syrup โซดา & ไซรัป
1500001
1500002
1500003
1500004
1500005
1500006
1500007
1500001 Pay จ่าย
1500002 Set soda ตั้งค่าโซดา
1500003 Pay soda & syrup จ่ายโซดา & ไซรัป
1500004 1. Select stock type 1. เลือกประเภทสต็อก
1500005 Count stock นับสต็อก
1500006 Not count stock ไม่นับสต็อก
1500007 2. Select slot 2. เลือกช่อง
1500008 3. Select pay option 3. เลือกตัวเลือกการจ่าย
1500009 Please ensure there is always a cup or container available to receive the syrup กรุณาตรวจสอบว่ามีแก้วหรือภาชนะพร้อมสำหรับการรับไซรัป
1500010 Clean pipe ล้างท่อ
1500011 Select pipe เลือกท่อ
1500012 Pipe ท่อ
1500013 Cleaning time ระยะเวลาการล้าง
1500014 4. Select arm & cup 4. เลือกแก้ว & แขน
1500015 * syrup with # * ไซรัปด้วย #
1500016 * syrup from # * ไซรัปจากช่อง #
1500017 Soda module ชุดโซดา
1500018 Soda quantity ปริมาณโซดา
1500019 Probe 1 Probe 1
1500020 Probe 2 Probe 2
1500021 Water probe Water probe
1500022 Temperature อุณหภูมิ
1500023 Pressure ความดัน
1500024 P1 always more than P2 P1 ต้องมากกว่า P2 เสมอ
1500025 Standard value not more than 100 - 200 ค่ามาตรฐานต้องไม่มากกว่า 100 ถึง 200
1500026 Module shutdown automatic when reaches 2 °C ชุดโซดาจะปิดการทำงานอัตโนมัติเมื่ออุณหภูมิถึง 2 °C
1500027 Standard value around 85 psi ค่ามาตรฐานควรอยู่ประมาณ 85 psi
1500028 Defrost cooling tank ละลายถังทำความเย็น
1500029 More soda log detail - view factory config รายละเอียดบันทึกโซดาเพิ่มเติม - ดูการตั้งค่าโรงงาน
1500030 View ดู
1500031 idle idle
1500032
Powder
1600000 Powder ผง

Can't render this file because it has a wrong number of fields in line 21.

View file

@ -10,6 +10,16 @@
TRY "/mnt/sdcard/coffeevending/taobin_project/inter/aus/xml/open_page_catalog.ev"
EndIf
If CountryName = "Malaysia" Then
DEBUGVAR FromFruityRaya
DEBUGVAR FromProThaiTea
DEBUGVAR FromProYuzu
Var FromFruityRaya = 0
Var FromProThaiTea = 0
Var FromProYuzu = 0
EndIf
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert.xml"

View file

@ -135,6 +135,7 @@
DEBUGVAR FromFruityRaya
DEBUGVAR ProThaiTeaEnable
DEBUGVAR FromProThaiTea
DEBUGVAR FromProYuzu
If Seeker.TNumberTaobinCredit = "" Then
@ -202,6 +203,14 @@
EndIf
EndIf
DEBUGVAR ProYuzuEnable
DEBUGVAR FromProYuzu
If ProYuzuEnable = 1 Then
If FromProYuzu = 1 Then
Open "ROOT/taobin_project/inter/mys/xml/event/yuzu/page_get_free_1_yuzu.lxml"
EndIf
EndIf
If PepweenEnable = 1 Then
If PepweenCollectPoint = 0 Then
GETACCEXT TelephoneNumber 31
@ -317,6 +326,14 @@
Open "ROOT/taobin_project/inter/mys/xml/event/thai_tea/page_get_free_1_thai_tea.lxml"
EndIf
EndIf
DEBUGVAR ProYuzuEnable
DEBUGVAR FromProYuzu
If ProYuzuEnable = 1 Then
If FromProYuzu = 1 Then
Open "ROOT/taobin_project/inter/mys/xml/event/yuzu/page_get_free_1_yuzu.lxml"
EndIf
EndIf
If ProBadValentineEnable = 1 Then
If FromBadValentinePro = 1 Then
@ -845,6 +862,14 @@
EndIf
EndIf
DEBUGVAR ProYuzuEnable
DEBUGVAR FromProYuzu
If ProYuzuEnable = 1 Then
If FromProYuzu = 1 Then
Open "ROOT/taobin_project/inter/mys/xml/event/yuzu/page_get_free_1_yuzu.lxml"
EndIf
EndIf
If MyMintEnable = 1 Then
If FromMyMintPro = 1 Then
GETACCEXT TelephoneNumber 32
@ -952,7 +977,11 @@
If FromProThaiTea = 1 Then
Var return = "Invisible"
Else
Var return = "Enable"
If FromProYuzu = 1 Then
Var return = "Invisible"
Else
Var return = "Enable"
EndIf
EndIf
) </State>
<Filename> Var( DirImage + "/text_2.png") </Filename>
@ -965,7 +994,11 @@
If FromProThaiTea = 1 Then
Var return = "Enable"
Else
Var return = "Invisible"
If FromProYuzu = 1 Then
Var return = "Invisible"
Else
Var return = "Enable"
EndIf
EndIf
) </State>
<Filename> Var( DirImage + "/edit.png") </Filename>

View file

@ -440,6 +440,12 @@
Var Seeker.FreeVendingCampaign = 0
EndIf
; mys pro yuzu
If FromProYuzu = 1 Then
Var Seeker.VendingCode = "YZ1F1"
Var Seeker.FreeVendingCampaign = 0
EndIf
; Oreo free
If PromotionIDOreoBuyTwoSaveMore = 1 Then
Var PromotionIDOreoBuyTwoSaveMore = 0

View file

@ -725,14 +725,22 @@
Var TelephoneNumber = "0859586589"
WRITE_FILE "/mnt/sdcard/config_taobingame.yaml" ""
;APPEND_FILE "/mnt/sdcard/config_taobingame.yaml" "API_ENDPOINT: &#34http://10.0.16.233:30487/taobingame&#34\r\n"
If CountryName = "Australia" Then
APPEND_FILE "/mnt/sdcard/config_taobingame.yaml" "API_ENDPOINT: &#34http://game.au.taobin.local:26969&#34\r\n"
If InternationalEnable = 1 Then
If CountryName = "Australia" Then
APPEND_FILE "/mnt/sdcard/config_taobingame.yaml" "API_ENDPOINT: &#34http://game.au.taobin.local:26969&#34\r\n"
EndIf
If CountryName = "Malaysia" Then
APPEND_FILE "/mnt/sdcard/config_taobingame.yaml" "API_ENDPOINT: &#34http://game.my.taobin.local:26969&#34\r\n"
EndIf
Else
APPEND_FILE "/mnt/sdcard/config_taobingame.yaml" "API_ENDPOINT: &#34http://10.0.16.231:30460&#34\r\n"
EndIf
Var ACCString !assigned SprintFmt("ACC: &#34%s&#34\r\n", TelephoneNumber)
DEBUGVAR ACCString

View file

@ -108,8 +108,8 @@
Var RandomPromotionMyworld = 0
Var RandomSalePackage = 0
Var XMLPageVersion = "8.61"
Var XMLPageVersionInt = 861
Var XMLPageVersion = "8.63"
Var XMLPageVersionInt = 863
;Oreo
Var OreoGuarantee = 0