fix page_NewCannotConti.xml
This commit is contained in:
parent
4030e08026
commit
b4ad407074
16 changed files with 3153 additions and 181 deletions
|
|
@ -1,5 +1,5 @@
|
||||||
total 252288
|
total 252284
|
||||||
-rw-rw---- 1 root sdcard_rw 0 2021-03-18 16:21 sync_1.file
|
-rw-rw---- 1 root sdcard_rw 0 2024-10-17 09:24 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 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 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
|
-rw-rw---- 1 root sdcard_rw 8456105 2024-03-18 16:14 taobin_adv_02.mp4
|
||||||
|
|
|
||||||
|
|
@ -1184,3 +1184,25 @@ 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
|
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
|
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
|
24 133 14:13 22
|
||||||
|
|
||||||
|
พรีเมียมเอสเพรสโซ่คาราเมลโอริโอ้ 12-01-03-0078 1 2 3 4 5 22 40 41 24 133 14:13 22
|
||||||
|
พรีเมียมมัทฉะคาราเมลโอริโอ้ 12-02-03-0057 1 6 22 40 8 9 23 41 24 133 14:13 22
|
||||||
|
พรีเมียมชาไทยคาราเมลโอริโอ้ 12-02-03-0058 1 1 6 10 22 40 23 41 24 133 14:13 22
|
||||||
|
พรีเมียมเอสเพรสโซ่คาราเมลโอริโอ้ 12-99-03-0078 1 2 3 4 5 22 40 41 24 133 14:13 22
|
||||||
|
พรีเมียมมัทฉะคาราเมลโอริโอ้ 12-99-03-0057 1 6 22 40 8 9 23 41 24 133 14:13 22
|
||||||
|
พรีเมียมชาไทยคาราเมลโอริโอ้ 12-99-03-0058 1 1 6 10 22 40 23 41 24 133 14:13 22
|
||||||
|
|
||||||
|
ซูเปอร์โกโก้เข้ม คูณ 3 12-03-03-0067 1 15 6 7 23 41 24 133 14:13 22
|
||||||
|
ซูเปอร์โกโก้เข้ม คูณ 2 12-03-03-0065 1 15 6 7 23 41 24 133 14:13 22
|
||||||
|
อเมริกาโน่โซดา 12-21-02-0041 1 2 3 4 5 23 16 13 24 133 14:13 22
|
||||||
|
|
||||||
|
มะพร้าวน้ำหอมปั่นนมนิวซีแลนด์ 12-99-03-0058 1 7 62 23 41 24 133 14:13 22
|
||||||
|
นมสตอเบอร์รี่ปั่น 12-99-03-0011 1 1 17 19 23 41 24 133 14:13 22
|
||||||
|
มะพร้าวโกโก้ปั่นนมนิวซีแลนด์ 12-99-03-0059 1 7 15 62 23 41 24 133 14:13 22
|
||||||
|
มะพร้าวชาไทยนมนิวซีแลนด์ 12-99-03-0062 1 10 7 62 23 41 24 133 14:13 22
|
||||||
|
คาราเมลโกโก้ปั่น 12-99-03-0004 1 15 22 17 23 41 24 133 14:13 22
|
||||||
|
โกโก้สตอเบอร์รี่ปั่น
12-99-03-0010 1 15 17 19 23 41 24 133 14:13 22
|
||||||
|
ซูเปอร์โอริภูเขาไฟ 12-99-03-0032 1 17 23 40 41 24 133 14:13 22
|
||||||
|
ซูเปอร์โกโก้เข้ม คูณ 3 12-99-03-0067 1 15 6 7 23 41 24 133 14:13 22
|
||||||
|
ซูเปอร์โกโก้เข้ม คูณ 2 12-99-03-0065 1 15 6 7 23 41 24 133 14:13 22
|
||||||
|
อเมริกาโน่โซดา 12-99-02-0041 1 2 3 4 5 23 16 13 24 133 14:13 22
|
||||||
|
|
|
||||||
|
Can't render this file because it has a wrong number of fields in line 40.
|
|
|
@ -1,25 +1,31 @@
|
||||||
|
|
||||||
SAVELOG "RoadShow.ev Sep 18 19"
|
SAVELOG "RoadShow.ev Oct 18 19 201193 200587"
|
||||||
|
|
||||||
Var RoadShow = "false"
|
Var RoadShow = "false"
|
||||||
|
|
||||||
DEBUGVAR SystemDateDayInt
|
DEBUGVAR SystemDateDayInt
|
||||||
|
|
||||||
|
;DEBUGVAR SystemTimeMinuteInt
|
||||||
|
;DEBUGVAR SystemTimeHourInt
|
||||||
|
|
||||||
If SystemDateYearInt = 2024 Then
|
If SystemDateYearInt = 2024 Then
|
||||||
|
|
||||||
|
If BoxID = 201193 Then
|
||||||
|
Var HalloweenPro = 1
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If BoxID = 173249 Then
|
||||||
|
Var HalloweenPro = 1
|
||||||
|
EndIf
|
||||||
|
|
||||||
If SystemDateMonthInt = 9 Then
|
If SystemDateMonthInt = 10 Then
|
||||||
|
|
||||||
DEBUGVAR SystemTimeMinuteInt
|
|
||||||
DEBUGVAR SystemTimeHourInt
|
|
||||||
|
|
||||||
If BoxID = 201193 Then
|
|
||||||
Var HalloweenPro = 1
|
|
||||||
EndIf
|
|
||||||
|
|
||||||
If BoxID = 173249 Then
|
If SystemDateDayInt = 17 Then
|
||||||
Var HalloweenPro = 1
|
If BoxID = 200587 Then
|
||||||
|
Var RoadShow = "true"
|
||||||
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,6 +4,9 @@ Name=recommend,file=page_catalog_group_recommend.skt
|
||||||
TAGESP
|
TAGESP
|
||||||
ชานมไทย THAI MILK TEA ชาไทย และ นม Thai tea, Sugar, milk 12-02-01-0039 12-02-02-0039 12-02-03-0039 bn_thai_milk_tea_SingPark.png - - - posi1 #REF! #REF! #REF! #REF! #REF!
|
ชานมไทย THAI MILK TEA ชาไทย และ นม Thai tea, Sugar, milk 12-02-01-0039 12-02-02-0039 12-02-03-0039 bn_thai_milk_tea_SingPark.png - - - posi1 #REF! #REF! #REF! #REF! #REF!
|
||||||
TAGESP
|
TAGESP
|
||||||
|
พรีเมียมเอสเพรสโซ่คาราเมลโอริโอ้ PREMIUM ESPRESSO CARAMEL OREO กาแฟ นม คาลาเมล และ Oreo Coffee, Milk, Caramel Syrup, Oreo - - 12-01-03-0078 bn_Caramel_Espresso_Oreo_smoothie_weekday_discount.png - - - posi1
|
||||||
|
พรีเมียมมัทฉะคาราเมลโอริโอ้ PREMIUM GREEN TEA CARAMEL OREO มัทฉะ นม คาลาเมล และ Oreo Matcha, Milk, Caramel Syrup, Oreo - - 12-02-03-0057 bn_Caramel_GreenTea_Oreo_smoothie_weekday_discount.png - - - posi1
|
||||||
|
พรีเมียมชาไทยคาราเมลโอริโอ้ PREMIUM THAI TEA CARAMEL OREO ชาไทย นม คาลาเมล และ Oreo Thai Tea, Milk, Caramel Syrup, Oreo - - 12-02-03-0058 bn_Caramel_ThaiTea_Oreo_smoothie_weekday_discount.png - - - posi1
|
||||||
มะพร้าวน้ำหอมปั่น Coconut smoothie น้ำเชื่อมมะพร้าว และน้ำ Coconut Syrup and Water - - 12-05-03-0092 bn_smoothie_coconut.png - - - posi1
|
มะพร้าวน้ำหอมปั่น Coconut smoothie น้ำเชื่อมมะพร้าว และน้ำ Coconut Syrup and Water - - 12-05-03-0092 bn_smoothie_coconut.png - - - posi1
|
||||||
มะพร้าวน้ำหอมปั่น\nนมนิวซีแลนด์ coconut milk น้ำเชื่อมมะพร้าว นม และน้ำ Coconut syrup, Milk,\nWater - 12-03-02-0058 12-03-03-0058 bn_iced_milk_coconut.png - - - posi1
|
มะพร้าวน้ำหอมปั่น\nนมนิวซีแลนด์ coconut milk น้ำเชื่อมมะพร้าว นม และน้ำ Coconut syrup, Milk,\nWater - 12-03-02-0058 12-03-03-0058 bn_iced_milk_coconut.png - - - posi1
|
||||||
IGNORE เป๊ปซี่นมโอริโอ้ภูเขาไฟ Pepsi Oreo เป๊ปซี่ นม และโอริโอ้ Pepsi, Milk, Oreo and Ice - - 12-99-03-0066 bn_PEPSI_OREO.png - - - posi1
|
IGNORE เป๊ปซี่นมโอริโอ้ภูเขาไฟ Pepsi Oreo เป๊ปซี่ นม และโอริโอ้ Pepsi, Milk, Oreo and Ice - - 12-99-03-0066 bn_PEPSI_OREO.png - - - posi1
|
||||||
|
|
@ -261,7 +264,7 @@ Name=Tea,file=page_catalog_group_tea.skt
|
||||||
|
|
||||||
Name=Other,file=page_catalog_group_other.skt
|
Name=Other,file=page_catalog_group_other.skt
|
||||||
เป๊ปซี่น้ำแข็ง PEPSI เป๊ปซี่ Pepsi & Ice - 12-05-02-0007 12-05-03-0007 bn_iced_pepsi.png - - - posi1 - #REF! #REF! #REF! #REF!
|
เป๊ปซี่น้ำแข็ง PEPSI เป๊ปซี่ Pepsi & Ice - 12-05-02-0007 12-05-03-0007 bn_iced_pepsi.png - - - posi1 - #REF! #REF! #REF! #REF!
|
||||||
IGNORE PEPSI MAX 12-05-02-0062 12-05-03-0062 posi1
|
IGNORE PEPSI MAX - 12-05-02-0062 12-05-03-0062 posi1
|
||||||
เป๊ปซี่น้ำแข็ง PEPSI เป๊ปซี่ Pepsi & Ice - 12-05-02-0094 12-05-03-0094 bn_iced_pepsi.png - - - posi1 - #REF! #REF! #REF! #REF!
|
เป๊ปซี่น้ำแข็ง PEPSI เป๊ปซี่ Pepsi & Ice - 12-05-02-0094 12-05-03-0094 bn_iced_pepsi.png - - - posi1 - #REF! #REF! #REF! #REF!
|
||||||
เซเว่นอัพ 7UP เซเว่นอัพ 7UP & Ice - 12-05-02-0095 - bn_iced_7up.png - - - posi2 - #REF! - #REF! #REF!
|
เซเว่นอัพ 7UP เซเว่นอัพ 7UP & Ice - 12-05-02-0095 - bn_iced_7up.png - - - posi2 - #REF! - #REF! #REF!
|
||||||
เต่าทรงพลังโซดา TAO POWER \nDRINK SODA เครื่องดื่มเต่าทรงพลัง โซดา \n(มีคาเฟอีน) Medicine drink, Soda & Ice - 12-05-02-0035 12-05-03-0035 bn_iced_energy_drink_soda.png - - - posi1 - #REF! #REF! #REF! #REF!
|
เต่าทรงพลังโซดา TAO POWER \nDRINK SODA เครื่องดื่มเต่าทรงพลัง โซดา \n(มีคาเฟอีน) Medicine drink, Soda & Ice - 12-05-02-0035 12-05-03-0035 bn_iced_energy_drink_soda.png - - - posi1 - #REF! #REF! #REF! #REF!
|
||||||
|
|
@ -350,7 +353,7 @@ IGNORE มะนาวกัญชาโซดา LIMENADE \nCANNABIS SODA น
|
||||||
Name=pepsi-7up,file=page_catalog_group_pepsi_7up.skt
|
Name=pepsi-7up,file=page_catalog_group_pepsi_7up.skt
|
||||||
|
|
||||||
เป๊ปซี่น้ำแข็ง PEPSI เป๊ปซี่ Pepsi & Ice - 12-05-02-0007 12-05-03-0007 bn_iced_pepsi.png - - - posi1 - #REF! #REF! #REF! #REF!
|
เป๊ปซี่น้ำแข็ง PEPSI เป๊ปซี่ Pepsi & Ice - 12-05-02-0007 12-05-03-0007 bn_iced_pepsi.png - - - posi1 - #REF! #REF! #REF! #REF!
|
||||||
IGNORE PEPSI MAX 12-05-02-0062 12-05-03-0062 posi1
|
IGNORE PEPSI MAX - 12-05-02-0062 12-05-03-0062 posi1
|
||||||
เป๊ปซี่น้ำแข็ง PEPSI เป๊ปซี่ Pepsi & Ice - 12-05-02-0094 12-05-03-0094 bn_iced_pepsi.png - - - posi1
|
เป๊ปซี่น้ำแข็ง PEPSI เป๊ปซี่ Pepsi & Ice - 12-05-02-0094 12-05-03-0094 bn_iced_pepsi.png - - - posi1
|
||||||
เซเว่นอัพ 7UP เซเว่นอัพ 7UP & Ice - 12-05-02-0095 - bn_iced_7up.png - - - posi2
|
เซเว่นอัพ 7UP เซเว่นอัพ 7UP & Ice - 12-05-02-0095 - bn_iced_7up.png - - - posi2
|
||||||
เซเว่นอัพชูกำลัง\nบ๊วยโซดา 7UP TAO POWER\nPLUM SODA เซเว่นอัพ เครื่องดื่มเต่าทรงพลัง 7UP , Medicine drink, Ume, Ice - 12-05-02-0096 - bn_iced_7up_Energy_PLUM.png - - - posi1 - #REF! - #REF! #REF!
|
เซเว่นอัพชูกำลัง\nบ๊วยโซดา 7UP TAO POWER\nPLUM SODA เซเว่นอัพ เครื่องดื่มเต่าทรงพลัง 7UP , Medicine drink, Ume, Ice - 12-05-02-0096 - bn_iced_7up_Energy_PLUM.png - - - posi1 - #REF! - #REF! #REF!
|
||||||
|
|
@ -387,7 +390,7 @@ IGNORE PEPSI MAX 12-05-02-0062 12-05-03-0062 posi1
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Name=Other,file=page_catalog_group_other_other.skt
|
Name=Other,file=page_catalog_group_other_other.skt
|
||||||
|
|
||||||
เต่าทรงพลังโซดา TAO POWER \nDRINK SODA เครื่องดื่มเต่าทรงพลัง โซดา \n(มีคาเฟอีน) Medicine drink, Soda & Ice - 12-05-02-0035 12-05-03-0035 bn_iced_energy_drink_soda.png - - - posi1 - #REF! #REF! #REF! #REF!
|
เต่าทรงพลังโซดา TAO POWER \nDRINK SODA เครื่องดื่มเต่าทรงพลัง โซดา \n(มีคาเฟอีน) Medicine drink, Soda & Ice - 12-05-02-0035 12-05-03-0035 bn_iced_energy_drink_soda.png - - - posi1 - #REF! #REF! #REF! #REF!
|
||||||
เมล่อนโซดา MELON SODA น้ำเชื่อมเมล่อน โซดา \nและน้ำแข็ง Melon Syrup, Soda, Ice - 12-05-02-0044 - bn_iced_melon_soda.png - - - posi1 - #REF! - #REF! #REF!
|
เมล่อนโซดา MELON SODA น้ำเชื่อมเมล่อน โซดา \nและน้ำแข็ง Melon Syrup, Soda, Ice - 12-05-02-0044 - bn_iced_melon_soda.png - - - posi1 - #REF! - #REF! #REF!
|
||||||
|
|
@ -964,7 +967,7 @@ Name=halloween,file=page_catalog_group_pro_halloween.skt
|
||||||
หมู่บ้านเลี้ยงผี 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
|
หมู่บ้านเลี้ยงผี 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
|
วิวาห์อาถรรพ์ 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
|
เสน่ห์-บาตรแตก 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
|
เมตามหาโสมม 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
|
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
|
ผงกระดูกสัมภเวสี 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 - 12-21-02-0082 - posi1
|
Cast แสดงเพื่อนผี PHANTOM ACTRESS กาแฟ 7up มะนาว และโซดา Coffee, 7Up, Lime and Soda - 12-01-02-0082 - bn_7up_americano_lime_soda_halloween.png - 12-21-02-0082 - posi1
|
||||||
|
|
@ -975,6 +978,36 @@ Name=halloween,file=page_catalog_group_pro_halloween.skt
|
||||||
คนทรงผี SPIRIT MEDIUM น้ำเชื่อมคาราเมล นม 7up และโซดา Caramel syrup, Milk, 7Up and Ice - - 12-03-03-0082 Caramel_milk_7up_smoothie_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
|
เลี้ยงลูกผี 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=WeekdayDiscount,file=page_catalog_group_pro_weekday_discount.skt
|
||||||
|
พรีเมียมเอสเพรสโซ่คาราเมลโอริโอ้ PREMIUM ESPRESSO CARAMEL OREO กาแฟ นม คาลาเมล และ Oreo Coffee, Milk, Caramel Syrup, Oreo - - 12-01-03-0078 bn_Caramel_Espresso_Oreo_smoothie_weekday_discount.png - - - posi1
|
||||||
|
พรีเมียมมัทฉะคาราเมลโอริโอ้ PREMIUM GREEN TEA CARAMEL OREO มัทฉะ นม คาลาเมล และ Oreo Matcha, Milk, Caramel Syrup, Oreo - - 12-02-03-0057 bn_Caramel_GreenTea_Oreo_smoothie_weekday_discount.png - - - posi1
|
||||||
|
พรีเมียมชาไทยคาราเมลโอริโอ้ PREMIUM THAI TEA CARAMEL OREO ชาไทย นม คาลาเมล และ Oreo Thai Tea, Milk, Caramel Syrup, Oreo - - 12-02-03-0058 bn_Caramel_ThaiTea_Oreo_smoothie_weekday_discount.png - - - posi1
|
||||||
|
มะพร้าวน้ำหอมปั่นนมนิวซีแลนด์ COCONUT MILK SMOOTHIE น้ำเชื่อมมะพร้าว และนม Coconut syrup, Milk - - 12-03-03-0058 bn_smoothie_coconut_weekday_discount.png - - - posi1
|
||||||
|
นมสตอเบอร์รี่ปั่น STRAW MILK SMOOTHIE น้ำเชื่อมสตอเบอร์รี่ นม และน้ำตาล Strawberry syrup, Milk, Sugar - - 12-03-03-0011 bn_iced_strawberrymilk_smoothie_weekday_discount.png - - - posi1
|
||||||
|
มะพร้าวโกโก้ปั่นนมนิวซีแลนด์ COCONUT COCOA SMOOTHIE น้ำเชื่อมมะพร้าว โกโก้ และนม Coconut syrup, Cocoa, Milk - - 12-03-03-0059 bn_smoothie_coconut_cocoa_weekday_discount.png - - - posi1
|
||||||
|
มะพร้าวชาไทยนมนิวซีแลนด์ ICED THAI MILK TEA COCONUT น้ำเชื่อมมะพร้าว ชาไทย และนม Coconut syrup, Thai tea, Milk - - 12-02-03-0062 bn_smoothie_coconut_thai_tea_weekday_discount.png - - - posi1
|
||||||
|
คาราเมลโกโก้ปั่น CARAMEL COCOA SMOOTHIE โกโก้ คาาลาเมล และนม Cocoa, Caramel, Milk - - 12-03-03-0004 bn_smoothie_cocoa_caramel_weekday_discount.png - - - posi1
|
||||||
|
โกโก้สตอเบอร์รี่ปั่น
COCOA STRAW SMOOTHIE โกโก้ น้ำเชื่อมสตอเบอร์รี่ และนม Cocoa, Strawberry syrup, Milk - - 12-03-03-0010 bn_iced_strawberrycocoa_smoothie_weekday_discount.png - - - posi1
|
||||||
|
ซูเปอร์โอริภูเขาไฟ SUPER VOCANO นม น้ำตาล และ Oreo Milk, Sugar, Oreo - - 12-03-03-0032 bn_super_oreo_volcano_weekday_discount.png - - - posi1
|
||||||
|
ซูเปอร์โกโก้เข้ม คูณ 3 ICED SUPER COCOA X3 นม โกโก้ และน้ำตาล Milk, Cocoa, Sugar - - 12-03-03-0067 bn_smoothie_super_cocoa_x3_weekday_discount.png - - - posi1
|
||||||
|
ซูเปอร์โกโก้เข้ม คูณ 2 ICE SUPER COCOA X2 นม โกโก้ และน้ำตาล Milk, Cocoa, Sugar - - 12-03-03-0065 bn_smoothie_super_cocoa_x2_weekday_discount.png - - - posi1
|
||||||
|
อเมริกาโน่โซดา AMERICANO SODA กาแฟ และโซดา Coffee, Soda - - - bn_iced_americano_soda_weekday_discount.png - 12-21-02-0041 - posi1
|
||||||
|
|
||||||
|
Name=WeekdayDiscount,file=page_catalog_group_pro_weekday_discount_event_on.skt
|
||||||
|
พรีเมียมเอสเพรสโซ่คาราเมลโอริโอ้ PREMIUM ESPRESSO CARAMEL OREO กาแฟ นม คาลาเมล และ Oreo Coffee, Milk, Caramel Syrup, Oreo - - 12-99-03-0078 bn_Caramel_Espresso_Oreo_smoothie_weekday_discount_event_on.png - - - posi1
|
||||||
|
พรีเมียมมัทฉะคาราเมลโอริโอ้ PREMIUM GREEN TEA CARAMEL OREO มัทฉะ นม คาลาเมล และ Oreo Matcha, Milk, Caramel Syrup, Oreo - - 12-99-03-0057 bn_Caramel_GreenTea_Oreo_smoothie_weekday_discount_event_on.png - - - posi1
|
||||||
|
พรีเมียมชาไทยคาราเมลโอริโอ้ PREMIUM THAI TEA CARAMEL OREO ชาไทย นม คาลาเมล และ Oreo Thai Tea, Milk, Caramel Syrup, Oreo - - 12-99-03-0058 bn_Caramel_ThaiTea_Oreo_smoothie_weekday_discount_event_on.png - - - posi1
|
||||||
|
มะพร้าวน้ำหอมปั่นนมนิวซีแลนด์ COCONUT MILK SMOOTHIE น้ำเชื่อมมะพร้าว และนม Coconut syrup, Milk - - 12-99-03-0058 bn_smoothie_coconut_weekday_discount_event_on.png - - - posi1
|
||||||
|
นมสตอเบอร์รี่ปั่น STRAW MILK SMOOTHIE น้ำเชื่อมสตอเบอร์รี่ นม และน้ำตาล Strawberry syrup, Milk, Sugar - - 12-99-03-0011 bn_iced_strawberrymilk_smoothie_weekday_discount_event_on.png - - - posi1
|
||||||
|
มะพร้าวโกโก้ปั่นนมนิวซีแลนด์ COCONUT COCOA SMOOTHIE น้ำเชื่อมมะพร้าว โกโก้ และนม Coconut syrup, Cocoa, Milk - - 12-99-03-0059 bn_smoothie_coconut_cocoa_weekday_discount_event_on.png - - - posi1
|
||||||
|
มะพร้าวชาไทยนมนิวซีแลนด์ ICED THAI MILK TEA COCONUT น้ำเชื่อมมะพร้าว ชาไทย และนม Coconut syrup, Thai tea, Milk - - 12-99-03-0062 bn_smoothie_coconut_thai_tea_weekday_discount_event_on.png - - - posi1
|
||||||
|
คาราเมลโกโก้ปั่น CARAMEL COCOA SMOOTHIE โกโก้ คาาลาเมล และนม Cocoa, Caramel, Milk - - 12-99-03-0004 bn_smoothie_cocoa_caramel_weekday_discount_event_on.png - - - posi1
|
||||||
|
โกโก้สตอเบอร์รี่ปั่น
COCOA STRAW SMOOTHIE โกโก้ น้ำเชื่อมสตอเบอร์รี่ และนม Cocoa, Strawberry syrup, Milk - - 12-99-03-0010 bn_iced_strawberrycocoa_smoothie_weekday_discount_event_on.png - - - posi1
|
||||||
|
ซูเปอร์โอริภูเขาไฟ SUPER VOCANO นม น้ำตาล และ Oreo Milk, Sugar, Oreo - - 12-99-03-0032 bn_super_oreo_volcano_weekday_discount_event_on.png - - - posi1
|
||||||
|
ซูเปอร์โกโก้เข้ม คูณ 3 ICED SUPER COCOA X3 นม โกโก้ และน้ำตาล Milk, Cocoa, Sugar - - 12-99-03-0067 bn_smoothie_super_cocoa_x3_weekday_discount_event_on.png - - - posi1
|
||||||
|
ซูเปอร์โกโก้เข้ม คูณ 2 ICE SUPER COCOA X2 นม โกโก้ และน้ำตาล Milk, Cocoa, Sugar - - 12-99-03-0065 bn_smoothie_super_cocoa_x2_weekday_discount_event_on.png - - - posi1
|
||||||
|
อเมริกาโน่โซดา AMERICANO SODA กาแฟ และโซดา Coffee, Soda - - - bn_iced_americano_soda_weekday_discount_event_on.png - 12-99-02-0041 - posi1
|
||||||
|
|
||||||
Name=bubble tea,file=page_catalog_group_pro_buble_tea.skt
|
Name=bubble tea,file=page_catalog_group_pro_buble_tea.skt
|
||||||
ลาเต้ LATTE กาแฟ นม และ ฟองนม Espresso, Milk, Foamed milk - 12-21-62-0002 12-21-63-0002
|
ลาเต้ LATTE กาแฟ นม และ ฟองนม Espresso, Milk, Foamed milk - 12-21-62-0002 12-21-63-0002
|
||||||
มอคค่า MOCHA กาแฟ นม โกโก้ และ น้ำตาล Espresso, Cocoa, Milk, Sugar - 12-21-62-0003 12-21-63-0003
|
มอคค่า MOCHA กาแฟ นม โกโก้ และ น้ำตาล Espresso, Cocoa, Milk, Sugar - 12-21-62-0003 12-21-63-0003
|
||||||
|
|
|
||||||
|
Can't render this file because it has a wrong number of fields in line 3.
|
|
|
@ -1076,7 +1076,7 @@
|
||||||
1300016 Brew time:sec เวลาชง: วินาที
|
1300016 Brew time:sec เวลาชง: วินาที
|
||||||
1300017 Test grind sizes ทดสอบขนาดบด
|
1300017 Test grind sizes ทดสอบขนาดบด
|
||||||
1300018 Coffee module type : ประเภทชุดกาแฟ :
|
1300018 Coffee module type : ประเภทชุดกาแฟ :
|
||||||
1300019 1. Select grind sizes 1. เลือกขนาดบด
|
1300019 1. Select grind sizes 1. เลือกขนาดการบด
|
||||||
1300020 More coarse หยาบขึ้น
|
1300020 More coarse หยาบขึ้น
|
||||||
1300021 More fine ละเอียดขึ้น
|
1300021 More fine ละเอียดขึ้น
|
||||||
1300022 2. Test grinding 2. ทดสอบการบด
|
1300022 2. Test grinding 2. ทดสอบการบด
|
||||||
|
|
@ -1184,7 +1184,7 @@
|
||||||
1600002 1. Select powder slot 1. เลือกสล็อตผง
|
1600002 1. Select powder slot 1. เลือกสล็อตผง
|
||||||
1600003 2. Select position 2. เลือกตำแหน่ง
|
1600003 2. Select position 2. เลือกตำแหน่ง
|
||||||
1600004 Pay จ่าย
|
1600004 Pay จ่าย
|
||||||
1600005 Change เปลี่ยน
|
1600005 Move to front เปลี่ยน
|
||||||
1600006 Pay powder จ่ายผง
|
1600006 Pay powder จ่ายผง
|
||||||
1600007
|
1600007
|
||||||
|
|
||||||
|
|
@ -1204,7 +1204,7 @@
|
||||||
1800002 Set Ice ตั้งน้ำแข็ง
|
1800002 Set Ice ตั้งน้ำแข็ง
|
||||||
1800003 Moving Test
|
1800003 Moving Test
|
||||||
1800004 Check bucket position ตรวจสอบตำแหน่งถัง
|
1800004 Check bucket position ตรวจสอบตำแหน่งถัง
|
||||||
1800005 Check bucket shutter ตรวจสอบชัตเตอร์ถัง
|
1800005 Check ice shutter ตรวจสอบชัตเตอร์ถัง
|
||||||
1800006 Bucket move to fill ice success ถังน้ำแข็งเคลื่อนที่เพื่อเติมน้ำแข็งสำเร็จ
|
1800006 Bucket move to fill ice success ถังน้ำแข็งเคลื่อนที่เพื่อเติมน้ำแข็งสำเร็จ
|
||||||
1800007 Weight scale motor move timeout มอเตอร์เครื่องชั่งน้ำหนักหมดเวลา
|
1800007 Weight scale motor move timeout มอเตอร์เครื่องชั่งน้ำหนักหมดเวลา
|
||||||
1800008 Bucket move to pay ice success ถังน้ำแข็งเคลื่อนที่เพื่อจ่ายน้ำแข็งสำเร็จ
|
1800008 Bucket move to pay ice success ถังน้ำแข็งเคลื่อนที่เพื่อจ่ายน้ำแข็งสำเร็จ
|
||||||
|
|
|
||||||
|
Can't render this file because it has a wrong number of fields in line 21.
|
|
|
@ -76,7 +76,6 @@ If brewing_adv11_size = "" Then
|
||||||
GetFileSizeK "taobin_project/video/brewing_adv11.mp4" brewing_adv11_size
|
GetFileSizeK "taobin_project/video/brewing_adv11.mp4" brewing_adv11_size
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
Var HalloweenPro = 1
|
|
||||||
|
|
||||||
DEBUGVAR brewing_adv11_size
|
DEBUGVAR brewing_adv11_size
|
||||||
If brewing_adv11_size = 9800005 Then
|
If brewing_adv11_size = 9800005 Then
|
||||||
|
|
|
||||||
|
|
@ -1331,6 +1331,759 @@
|
||||||
</Text>
|
</Text>
|
||||||
</Block>
|
</Block>
|
||||||
; menu_new_li;TAGESP
|
; menu_new_li;TAGESP
|
||||||
|
; ==================> Len = 12
|
||||||
|
; - - 12-01-03-0078
|
||||||
|
<Block>
|
||||||
|
<MarginLeft> 33 </MarginLeft>
|
||||||
|
<MarginTop> 22 </MarginTop>
|
||||||
|
<Width> 225 </Width>
|
||||||
|
<Height> 296 </Height>
|
||||||
|
<State> Flag( 12-01-03-0078.Button,Disable=Invisible,$Sum1201030078) </State>
|
||||||
|
<Button>
|
||||||
|
<State> $Sum1201030078 </State>
|
||||||
|
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_Caramel_Espresso_Oreo_smoothie_weekday_discount.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_Caramel_Espresso_Oreo_smoothie_weekday_discount.png" </FilenamePress>
|
||||||
|
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_Caramel_Espresso_Oreo_smoothie_weekday_discount.png" </FilenameDisable>
|
||||||
|
<OverlayImage> xmlpro( 12-01-03-0078, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||||||
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventOnClick>
|
||||||
|
Var NameDrink = "PREMIUM ESPRESSO CARAMEL OREO"
|
||||||
|
Var NameDrinkTH = "พรีเมียมเอสเพรสโซ่คาราเมลโอริโอ้"
|
||||||
|
Var DrinkDescriptionTH = "กาแฟ นม คาลาเมล และ Oreo"
|
||||||
|
Var DrinkDescription = "Coffee, Milk, Caramel Syrup, Oreo"
|
||||||
|
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_Caramel_Espresso_Oreo_smoothie_weekday_discount.png"
|
||||||
|
Var OpenFromXML = CurrentXMLFileName2
|
||||||
|
Var PriceD1 = $-.Price
|
||||||
|
Var PriceD2 = $-.Price
|
||||||
|
Var PriceD3 = $12-01-03-0078.Price
|
||||||
|
Var PD_CODE1 = "##-##-##-####"
|
||||||
|
Var PD_CODE2 = "##-##-##-####"
|
||||||
|
Var PD_CODE3 = "12-01-03-0078"
|
||||||
|
Var PD_STAGE_1 = "Disable2"
|
||||||
|
Var PD_STAGE_2 = "Disable2"
|
||||||
|
Var PD_STAGE_3 = $12-01-03-0078.Button
|
||||||
|
Var OverlayMenuFilter !assigned xmlpro( 12-01-03-0078, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
||||||
|
DEBUGVAR OverlayMenuFilter
|
||||||
|
Var SelectCountDrinkType = 0
|
||||||
|
Var DefaultDrinkType = 0
|
||||||
|
If PD_STAGE_1 = "Enable" Then
|
||||||
|
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
||||||
|
Var DefaultDrinkType = 1
|
||||||
|
EndIf
|
||||||
|
If PD_STAGE_2 = "Enable" Then
|
||||||
|
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
||||||
|
Var DefaultDrinkType = 2
|
||||||
|
EndIf
|
||||||
|
If PD_STAGE_3 = "Enable" Then
|
||||||
|
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
||||||
|
Var DefaultDrinkType = 3
|
||||||
|
EndIf
|
||||||
|
If PD_STAGE_2 = "Enable" Then
|
||||||
|
Topping "Load" "-"
|
||||||
|
Else
|
||||||
|
If PD_STAGE_1 = "Enable" Then
|
||||||
|
Topping "Load" "-"
|
||||||
|
Else
|
||||||
|
Topping "Load" "12-01-03-0078"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
Var menu_name_eng_hot = $##-##-##-####.NameE
|
||||||
|
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
||||||
|
Var menu_name_thai_hot = $##-##-##-####.Name
|
||||||
|
Var menu_desc_thai_hot = $##-##-##-####.description
|
||||||
|
|
||||||
|
Var menu_name_eng_cold = $##-##-##-####.NameE
|
||||||
|
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
|
||||||
|
Var menu_name_thai_cold = $##-##-##-####.Name
|
||||||
|
Var menu_desc_thai_cold = $##-##-##-####.description
|
||||||
|
|
||||||
|
Var menu_name_eng_blender = $12-01-03-0078.NameE
|
||||||
|
Var menu_desc_eng_blender = $12-01-03-0078.descriptionE
|
||||||
|
Var menu_name_thai_blender = $12-01-03-0078.Name
|
||||||
|
Var menu_desc_thai_blender = $12-01-03-0078.description
|
||||||
|
|
||||||
|
DEBUGVAR PD_STAGE_1
|
||||||
|
DEBUGVAR PD_STAGE_2
|
||||||
|
DEBUGVAR PD_STAGE_3
|
||||||
|
Var SelectDrinkType = 0
|
||||||
|
|
||||||
|
Var OpenFromInstMenuTab = 0
|
||||||
|
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
||||||
|
|
||||||
|
</EventOnClick>
|
||||||
|
</Button>
|
||||||
|
<Text>
|
||||||
|
<X> 16 </X>
|
||||||
|
<Y> 164 </Y>
|
||||||
|
<Size> 24 </Size>
|
||||||
|
<Width>220</Width>
|
||||||
|
<Mode> "multi2" </Mode>
|
||||||
|
<Font> KanitMediumTTF </Font>
|
||||||
|
<Color> 0x322B26 </Color>
|
||||||
|
<State> showthaiText </State>
|
||||||
|
<Value> "พรีเมียมเอสเพรสโซ่คาราเมลโอริโอ้" </Value>
|
||||||
|
</Text>
|
||||||
|
<Text>
|
||||||
|
<X> 16 </X>
|
||||||
|
<Y> 220 </Y>
|
||||||
|
<Size> 14 </Size>
|
||||||
|
<Width>220</Width>
|
||||||
|
<Font> KanitMediumTTF </Font>
|
||||||
|
<Color> 0x6F5F51 </Color>
|
||||||
|
<State> showthaiText </State>
|
||||||
|
<Value> "กาแฟ นม คาลาเมล และ Oreo" </Value>
|
||||||
|
</Text>
|
||||||
|
<Text>
|
||||||
|
<X> 16 </X>
|
||||||
|
<Y> 164 </Y>
|
||||||
|
<Size> 22 </Size>
|
||||||
|
<Width>220</Width>
|
||||||
|
<Mode> "multi2" </Mode>
|
||||||
|
<Font> KanitMediumTTF </Font>
|
||||||
|
<Color> 0x322B26 </Color>
|
||||||
|
<State> showengText </State>
|
||||||
|
<Value> "PREMIUM ESPRESSO CARAMEL OREO" </Value>
|
||||||
|
</Text>
|
||||||
|
<Text>
|
||||||
|
<X> 16 </X>
|
||||||
|
<Y> 220 </Y>
|
||||||
|
<Size> 14 </Size>
|
||||||
|
<Width>220</Width>
|
||||||
|
<Font> KanitMediumTTF </Font>
|
||||||
|
<Color> 0x6F5F51 </Color>
|
||||||
|
<State> showengText </State>
|
||||||
|
<Value> "Coffee, Milk, Caramel Syrup, Oreo" </Value>
|
||||||
|
</Text>
|
||||||
|
<Image>
|
||||||
|
<X> 16 </X>
|
||||||
|
<Y> 264 </Y>
|
||||||
|
<Filename> Var( DirImage2 + "option_deactive.png" ) </Filename>
|
||||||
|
</Image>
|
||||||
|
<Image>
|
||||||
|
<X> 16 </X>
|
||||||
|
<Y> 264 </Y>
|
||||||
|
<State> "Invisible" </State>
|
||||||
|
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
|
||||||
|
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
|
||||||
|
</Image>
|
||||||
|
<Text>
|
||||||
|
<X> 50 </X>
|
||||||
|
<Y> TextPriceMenuY </Y>
|
||||||
|
<Size> TextPriceMenuSize </Size>
|
||||||
|
<Width>220</Width>
|
||||||
|
<Font> KanitMediumTTF </Font>
|
||||||
|
<Color> 0x6F5F51 </Color>
|
||||||
|
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||||
|
<State> "Invisible" </State>
|
||||||
|
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||||
|
</Text>
|
||||||
|
<Image>
|
||||||
|
<X> 81 </X>
|
||||||
|
<Y> 264 </Y>
|
||||||
|
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
||||||
|
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
||||||
|
<State> "Invisible" </State>
|
||||||
|
</Image>
|
||||||
|
<Text>
|
||||||
|
<X> 115 </X>
|
||||||
|
<Y> TextPriceMenuY </Y>
|
||||||
|
<Size> TextPriceMenuSize </Size>
|
||||||
|
<Width>220</Width>
|
||||||
|
<Font> KanitMediumTTF </Font>
|
||||||
|
<Color> 0x6F5F51 </Color>
|
||||||
|
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||||
|
<State> "Invisible" </State>
|
||||||
|
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||||
|
</Text>
|
||||||
|
<Image>
|
||||||
|
<X> 146 </X>
|
||||||
|
<Y> 264 </Y>
|
||||||
|
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||||||
|
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||||||
|
<State> $12-01-03-0078.Button </State>
|
||||||
|
</Image>
|
||||||
|
<Text>
|
||||||
|
<X> 180 </X>
|
||||||
|
<Y> TextPriceMenuY </Y>
|
||||||
|
<Size> TextPriceMenuSize </Size>
|
||||||
|
<Width>220</Width>
|
||||||
|
<Font> KanitRegularTTF </Font>
|
||||||
|
<Color> 0x6F5F51 </Color>
|
||||||
|
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||||
|
<State> $12-01-03-0078.Button </State>
|
||||||
|
<Value> StringFmt( $12-01-03-0078.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||||
|
</Text>
|
||||||
|
<Image>
|
||||||
|
<X> 81 </X>
|
||||||
|
<Y> 264 </Y>
|
||||||
|
<State>
|
||||||
|
eval(
|
||||||
|
If ICE_PROCESS_STATUS = 2 Then
|
||||||
|
|
||||||
|
Var ice_tab_process_show = "Invisible"
|
||||||
|
|
||||||
|
Else
|
||||||
|
Var ice_tab_process_show = "Invisible"
|
||||||
|
EndIf
|
||||||
|
Var return = ice_tab_process_show
|
||||||
|
)
|
||||||
|
</State>
|
||||||
|
<Filename> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </Filename>
|
||||||
|
<FilenameDisable> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </FilenameDisable>
|
||||||
|
</Image>
|
||||||
|
<Image>
|
||||||
|
<X> 49 </X>
|
||||||
|
<Y> 117 </Y>
|
||||||
|
<State>
|
||||||
|
eval(
|
||||||
|
If $Sum1201030078 = "Disable" Then
|
||||||
|
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||||||
|
STRCONTAIN "ERR" $##-##-##-####.TAG tag2_is_disable
|
||||||
|
STRCONTAIN "ERR" $12-01-03-0078.TAG tag3_is_disable
|
||||||
|
Var return = "Invisible"
|
||||||
|
If tag1_is_disable = "true" Then
|
||||||
|
Var return = "Enable"
|
||||||
|
EndIf
|
||||||
|
If tag2_is_disable = "true" Then
|
||||||
|
Var return = "Enable"
|
||||||
|
EndIf
|
||||||
|
If tag3_is_disable = "true" Then
|
||||||
|
Var return = "Enable"
|
||||||
|
EndIf
|
||||||
|
Else
|
||||||
|
Var return = "Invisible"
|
||||||
|
EndIf
|
||||||
|
)
|
||||||
|
</State>
|
||||||
|
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
||||||
|
</Image>
|
||||||
|
<Text>
|
||||||
|
<X> 84 </X>
|
||||||
|
<Y> 266 </Y>
|
||||||
|
<Size> 10 </Size>
|
||||||
|
<Font> OpunMediumTTF </Font>
|
||||||
|
<Color> 0xDE794E </Color>
|
||||||
|
<State> ice_tab_process_show </State>
|
||||||
|
<Value> ice_show_open </Value>
|
||||||
|
</Text>
|
||||||
|
<Text>
|
||||||
|
<X> 48 </X>
|
||||||
|
<Y> 116 </Y>
|
||||||
|
<Size> 32 </Size>
|
||||||
|
<Width>128</Width>
|
||||||
|
<Height>64</Height>
|
||||||
|
<Font> MITRegularTTF </Font>
|
||||||
|
<Color> 0x5A5A5A </Color>
|
||||||
|
<Mode> "disable-show" </Mode>
|
||||||
|
<State> $Sum1201030078 </State>
|
||||||
|
<Value> text_unavailable </Value>
|
||||||
|
<Align> center-vertical-horizontal </Align>
|
||||||
|
</Text>
|
||||||
|
</Block>
|
||||||
|
; - - -
|
||||||
|
; ==================> Len = 12
|
||||||
|
; - - 12-02-03-0057
|
||||||
|
<Block>
|
||||||
|
<MarginLeft> 33 </MarginLeft>
|
||||||
|
<MarginTop> 22 </MarginTop>
|
||||||
|
<Width> 225 </Width>
|
||||||
|
<Height> 296 </Height>
|
||||||
|
<State> Flag( 12-02-03-0057.Button,Disable=Invisible,$Sum1202030057) </State>
|
||||||
|
<Button>
|
||||||
|
<State> $Sum1202030057 </State>
|
||||||
|
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_Caramel_GreenTea_Oreo_smoothie_weekday_discount.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_Caramel_GreenTea_Oreo_smoothie_weekday_discount.png" </FilenamePress>
|
||||||
|
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_Caramel_GreenTea_Oreo_smoothie_weekday_discount.png" </FilenameDisable>
|
||||||
|
<OverlayImage> xmlpro( 12-02-03-0057, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||||||
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventOnClick>
|
||||||
|
Var NameDrink = "PREMIUM GREEN TEA CARAMEL OREO"
|
||||||
|
Var NameDrinkTH = "พรีเมียมมัทฉะคาราเมลโอริโอ้"
|
||||||
|
Var DrinkDescriptionTH = "มัทฉะ นม คาลาเมล และ Oreo"
|
||||||
|
Var DrinkDescription = "Matcha, Milk, Caramel Syrup, Oreo"
|
||||||
|
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_Caramel_GreenTea_Oreo_smoothie_weekday_discount.png"
|
||||||
|
Var OpenFromXML = CurrentXMLFileName2
|
||||||
|
Var PriceD1 = $-.Price
|
||||||
|
Var PriceD2 = $-.Price
|
||||||
|
Var PriceD3 = $12-02-03-0057.Price
|
||||||
|
Var PD_CODE1 = "##-##-##-####"
|
||||||
|
Var PD_CODE2 = "##-##-##-####"
|
||||||
|
Var PD_CODE3 = "12-02-03-0057"
|
||||||
|
Var PD_STAGE_1 = "Disable2"
|
||||||
|
Var PD_STAGE_2 = "Disable2"
|
||||||
|
Var PD_STAGE_3 = $12-02-03-0057.Button
|
||||||
|
Var OverlayMenuFilter !assigned xmlpro( 12-02-03-0057, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
||||||
|
DEBUGVAR OverlayMenuFilter
|
||||||
|
Var SelectCountDrinkType = 0
|
||||||
|
Var DefaultDrinkType = 0
|
||||||
|
If PD_STAGE_1 = "Enable" Then
|
||||||
|
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
||||||
|
Var DefaultDrinkType = 1
|
||||||
|
EndIf
|
||||||
|
If PD_STAGE_2 = "Enable" Then
|
||||||
|
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
||||||
|
Var DefaultDrinkType = 2
|
||||||
|
EndIf
|
||||||
|
If PD_STAGE_3 = "Enable" Then
|
||||||
|
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
||||||
|
Var DefaultDrinkType = 3
|
||||||
|
EndIf
|
||||||
|
If PD_STAGE_2 = "Enable" Then
|
||||||
|
Topping "Load" "-"
|
||||||
|
Else
|
||||||
|
If PD_STAGE_1 = "Enable" Then
|
||||||
|
Topping "Load" "-"
|
||||||
|
Else
|
||||||
|
Topping "Load" "12-02-03-0057"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
Var menu_name_eng_hot = $##-##-##-####.NameE
|
||||||
|
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
||||||
|
Var menu_name_thai_hot = $##-##-##-####.Name
|
||||||
|
Var menu_desc_thai_hot = $##-##-##-####.description
|
||||||
|
|
||||||
|
Var menu_name_eng_cold = $##-##-##-####.NameE
|
||||||
|
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
|
||||||
|
Var menu_name_thai_cold = $##-##-##-####.Name
|
||||||
|
Var menu_desc_thai_cold = $##-##-##-####.description
|
||||||
|
|
||||||
|
Var menu_name_eng_blender = $12-02-03-0057.NameE
|
||||||
|
Var menu_desc_eng_blender = $12-02-03-0057.descriptionE
|
||||||
|
Var menu_name_thai_blender = $12-02-03-0057.Name
|
||||||
|
Var menu_desc_thai_blender = $12-02-03-0057.description
|
||||||
|
|
||||||
|
DEBUGVAR PD_STAGE_1
|
||||||
|
DEBUGVAR PD_STAGE_2
|
||||||
|
DEBUGVAR PD_STAGE_3
|
||||||
|
Var SelectDrinkType = 0
|
||||||
|
|
||||||
|
Var OpenFromInstMenuTab = 0
|
||||||
|
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
||||||
|
|
||||||
|
</EventOnClick>
|
||||||
|
</Button>
|
||||||
|
<Text>
|
||||||
|
<X> 16 </X>
|
||||||
|
<Y> 164 </Y>
|
||||||
|
<Size> 24 </Size>
|
||||||
|
<Width>220</Width>
|
||||||
|
<Mode> "multi2" </Mode>
|
||||||
|
<Font> KanitMediumTTF </Font>
|
||||||
|
<Color> 0x322B26 </Color>
|
||||||
|
<State> showthaiText </State>
|
||||||
|
<Value> "พรีเมียมมัทฉะคาราเมลโอริโอ้" </Value>
|
||||||
|
</Text>
|
||||||
|
<Text>
|
||||||
|
<X> 16 </X>
|
||||||
|
<Y> 220 </Y>
|
||||||
|
<Size> 14 </Size>
|
||||||
|
<Width>220</Width>
|
||||||
|
<Font> KanitMediumTTF </Font>
|
||||||
|
<Color> 0x6F5F51 </Color>
|
||||||
|
<State> showthaiText </State>
|
||||||
|
<Value> "มัทฉะ นม คาลาเมล และ Oreo" </Value>
|
||||||
|
</Text>
|
||||||
|
<Text>
|
||||||
|
<X> 16 </X>
|
||||||
|
<Y> 164 </Y>
|
||||||
|
<Size> 22 </Size>
|
||||||
|
<Width>220</Width>
|
||||||
|
<Mode> "multi2" </Mode>
|
||||||
|
<Font> KanitMediumTTF </Font>
|
||||||
|
<Color> 0x322B26 </Color>
|
||||||
|
<State> showengText </State>
|
||||||
|
<Value> "PREMIUM GREEN TEA CARAMEL OREO" </Value>
|
||||||
|
</Text>
|
||||||
|
<Text>
|
||||||
|
<X> 16 </X>
|
||||||
|
<Y> 220 </Y>
|
||||||
|
<Size> 14 </Size>
|
||||||
|
<Width>220</Width>
|
||||||
|
<Font> KanitMediumTTF </Font>
|
||||||
|
<Color> 0x6F5F51 </Color>
|
||||||
|
<State> showengText </State>
|
||||||
|
<Value> "Matcha, Milk, Caramel Syrup, Oreo" </Value>
|
||||||
|
</Text>
|
||||||
|
<Image>
|
||||||
|
<X> 16 </X>
|
||||||
|
<Y> 264 </Y>
|
||||||
|
<Filename> Var( DirImage2 + "option_deactive.png" ) </Filename>
|
||||||
|
</Image>
|
||||||
|
<Image>
|
||||||
|
<X> 16 </X>
|
||||||
|
<Y> 264 </Y>
|
||||||
|
<State> "Invisible" </State>
|
||||||
|
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
|
||||||
|
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
|
||||||
|
</Image>
|
||||||
|
<Text>
|
||||||
|
<X> 50 </X>
|
||||||
|
<Y> TextPriceMenuY </Y>
|
||||||
|
<Size> TextPriceMenuSize </Size>
|
||||||
|
<Width>220</Width>
|
||||||
|
<Font> KanitMediumTTF </Font>
|
||||||
|
<Color> 0x6F5F51 </Color>
|
||||||
|
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||||
|
<State> "Invisible" </State>
|
||||||
|
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||||
|
</Text>
|
||||||
|
<Image>
|
||||||
|
<X> 81 </X>
|
||||||
|
<Y> 264 </Y>
|
||||||
|
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
||||||
|
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
||||||
|
<State> "Invisible" </State>
|
||||||
|
</Image>
|
||||||
|
<Text>
|
||||||
|
<X> 115 </X>
|
||||||
|
<Y> TextPriceMenuY </Y>
|
||||||
|
<Size> TextPriceMenuSize </Size>
|
||||||
|
<Width>220</Width>
|
||||||
|
<Font> KanitMediumTTF </Font>
|
||||||
|
<Color> 0x6F5F51 </Color>
|
||||||
|
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||||
|
<State> "Invisible" </State>
|
||||||
|
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||||
|
</Text>
|
||||||
|
<Image>
|
||||||
|
<X> 146 </X>
|
||||||
|
<Y> 264 </Y>
|
||||||
|
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||||||
|
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||||||
|
<State> $12-02-03-0057.Button </State>
|
||||||
|
</Image>
|
||||||
|
<Text>
|
||||||
|
<X> 180 </X>
|
||||||
|
<Y> TextPriceMenuY </Y>
|
||||||
|
<Size> TextPriceMenuSize </Size>
|
||||||
|
<Width>220</Width>
|
||||||
|
<Font> KanitRegularTTF </Font>
|
||||||
|
<Color> 0x6F5F51 </Color>
|
||||||
|
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||||
|
<State> $12-02-03-0057.Button </State>
|
||||||
|
<Value> StringFmt( $12-02-03-0057.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||||
|
</Text>
|
||||||
|
<Image>
|
||||||
|
<X> 81 </X>
|
||||||
|
<Y> 264 </Y>
|
||||||
|
<State>
|
||||||
|
eval(
|
||||||
|
If ICE_PROCESS_STATUS = 2 Then
|
||||||
|
|
||||||
|
Var ice_tab_process_show = "Invisible"
|
||||||
|
|
||||||
|
Else
|
||||||
|
Var ice_tab_process_show = "Invisible"
|
||||||
|
EndIf
|
||||||
|
Var return = ice_tab_process_show
|
||||||
|
)
|
||||||
|
</State>
|
||||||
|
<Filename> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </Filename>
|
||||||
|
<FilenameDisable> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </FilenameDisable>
|
||||||
|
</Image>
|
||||||
|
<Image>
|
||||||
|
<X> 49 </X>
|
||||||
|
<Y> 117 </Y>
|
||||||
|
<State>
|
||||||
|
eval(
|
||||||
|
If $Sum1202030057 = "Disable" Then
|
||||||
|
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||||||
|
STRCONTAIN "ERR" $##-##-##-####.TAG tag2_is_disable
|
||||||
|
STRCONTAIN "ERR" $12-02-03-0057.TAG tag3_is_disable
|
||||||
|
Var return = "Invisible"
|
||||||
|
If tag1_is_disable = "true" Then
|
||||||
|
Var return = "Enable"
|
||||||
|
EndIf
|
||||||
|
If tag2_is_disable = "true" Then
|
||||||
|
Var return = "Enable"
|
||||||
|
EndIf
|
||||||
|
If tag3_is_disable = "true" Then
|
||||||
|
Var return = "Enable"
|
||||||
|
EndIf
|
||||||
|
Else
|
||||||
|
Var return = "Invisible"
|
||||||
|
EndIf
|
||||||
|
)
|
||||||
|
</State>
|
||||||
|
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
||||||
|
</Image>
|
||||||
|
<Text>
|
||||||
|
<X> 84 </X>
|
||||||
|
<Y> 266 </Y>
|
||||||
|
<Size> 10 </Size>
|
||||||
|
<Font> OpunMediumTTF </Font>
|
||||||
|
<Color> 0xDE794E </Color>
|
||||||
|
<State> ice_tab_process_show </State>
|
||||||
|
<Value> ice_show_open </Value>
|
||||||
|
</Text>
|
||||||
|
<Text>
|
||||||
|
<X> 48 </X>
|
||||||
|
<Y> 116 </Y>
|
||||||
|
<Size> 32 </Size>
|
||||||
|
<Width>128</Width>
|
||||||
|
<Height>64</Height>
|
||||||
|
<Font> MITRegularTTF </Font>
|
||||||
|
<Color> 0x5A5A5A </Color>
|
||||||
|
<Mode> "disable-show" </Mode>
|
||||||
|
<State> $Sum1202030057 </State>
|
||||||
|
<Value> text_unavailable </Value>
|
||||||
|
<Align> center-vertical-horizontal </Align>
|
||||||
|
</Text>
|
||||||
|
</Block>
|
||||||
|
; - - -
|
||||||
|
; ==================> Len = 12
|
||||||
|
; - - 12-02-03-0058
|
||||||
|
<Block>
|
||||||
|
<MarginLeft> 33 </MarginLeft>
|
||||||
|
<MarginTop> 22 </MarginTop>
|
||||||
|
<Width> 225 </Width>
|
||||||
|
<Height> 296 </Height>
|
||||||
|
<State> Flag( 12-02-03-0058.Button,Disable=Invisible,$Sum1202030058) </State>
|
||||||
|
<Button>
|
||||||
|
<State> $Sum1202030058 </State>
|
||||||
|
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_Caramel_ThaiTea_Oreo_smoothie_weekday_discount.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_Caramel_ThaiTea_Oreo_smoothie_weekday_discount.png" </FilenamePress>
|
||||||
|
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_Caramel_ThaiTea_Oreo_smoothie_weekday_discount.png" </FilenameDisable>
|
||||||
|
<OverlayImage> xmlpro( 12-02-03-0058, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||||||
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventOnClick>
|
||||||
|
Var NameDrink = "PREMIUM THAI TEA CARAMEL OREO"
|
||||||
|
Var NameDrinkTH = "พรีเมียมชาไทยคาราเมลโอริโอ้"
|
||||||
|
Var DrinkDescriptionTH = "ชาไทย นม คาลาเมล และ Oreo"
|
||||||
|
Var DrinkDescription = "Thai Tea, Milk, Caramel Syrup, Oreo"
|
||||||
|
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_Caramel_ThaiTea_Oreo_smoothie_weekday_discount.png"
|
||||||
|
Var OpenFromXML = CurrentXMLFileName2
|
||||||
|
Var PriceD1 = $-.Price
|
||||||
|
Var PriceD2 = $-.Price
|
||||||
|
Var PriceD3 = $12-02-03-0058.Price
|
||||||
|
Var PD_CODE1 = "##-##-##-####"
|
||||||
|
Var PD_CODE2 = "##-##-##-####"
|
||||||
|
Var PD_CODE3 = "12-02-03-0058"
|
||||||
|
Var PD_STAGE_1 = "Disable2"
|
||||||
|
Var PD_STAGE_2 = "Disable2"
|
||||||
|
Var PD_STAGE_3 = $12-02-03-0058.Button
|
||||||
|
Var OverlayMenuFilter !assigned xmlpro( 12-02-03-0058, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
||||||
|
DEBUGVAR OverlayMenuFilter
|
||||||
|
Var SelectCountDrinkType = 0
|
||||||
|
Var DefaultDrinkType = 0
|
||||||
|
If PD_STAGE_1 = "Enable" Then
|
||||||
|
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
||||||
|
Var DefaultDrinkType = 1
|
||||||
|
EndIf
|
||||||
|
If PD_STAGE_2 = "Enable" Then
|
||||||
|
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
||||||
|
Var DefaultDrinkType = 2
|
||||||
|
EndIf
|
||||||
|
If PD_STAGE_3 = "Enable" Then
|
||||||
|
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
||||||
|
Var DefaultDrinkType = 3
|
||||||
|
EndIf
|
||||||
|
If PD_STAGE_2 = "Enable" Then
|
||||||
|
Topping "Load" "-"
|
||||||
|
Else
|
||||||
|
If PD_STAGE_1 = "Enable" Then
|
||||||
|
Topping "Load" "-"
|
||||||
|
Else
|
||||||
|
Topping "Load" "12-02-03-0058"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
Var menu_name_eng_hot = $##-##-##-####.NameE
|
||||||
|
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
||||||
|
Var menu_name_thai_hot = $##-##-##-####.Name
|
||||||
|
Var menu_desc_thai_hot = $##-##-##-####.description
|
||||||
|
|
||||||
|
Var menu_name_eng_cold = $##-##-##-####.NameE
|
||||||
|
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
|
||||||
|
Var menu_name_thai_cold = $##-##-##-####.Name
|
||||||
|
Var menu_desc_thai_cold = $##-##-##-####.description
|
||||||
|
|
||||||
|
Var menu_name_eng_blender = $12-02-03-0058.NameE
|
||||||
|
Var menu_desc_eng_blender = $12-02-03-0058.descriptionE
|
||||||
|
Var menu_name_thai_blender = $12-02-03-0058.Name
|
||||||
|
Var menu_desc_thai_blender = $12-02-03-0058.description
|
||||||
|
|
||||||
|
DEBUGVAR PD_STAGE_1
|
||||||
|
DEBUGVAR PD_STAGE_2
|
||||||
|
DEBUGVAR PD_STAGE_3
|
||||||
|
Var SelectDrinkType = 0
|
||||||
|
|
||||||
|
Var OpenFromInstMenuTab = 0
|
||||||
|
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
||||||
|
|
||||||
|
</EventOnClick>
|
||||||
|
</Button>
|
||||||
|
<Text>
|
||||||
|
<X> 16 </X>
|
||||||
|
<Y> 164 </Y>
|
||||||
|
<Size> 24 </Size>
|
||||||
|
<Width>220</Width>
|
||||||
|
<Mode> "multi2" </Mode>
|
||||||
|
<Font> KanitMediumTTF </Font>
|
||||||
|
<Color> 0x322B26 </Color>
|
||||||
|
<State> showthaiText </State>
|
||||||
|
<Value> "พรีเมียมชาไทยคาราเมลโอริโอ้" </Value>
|
||||||
|
</Text>
|
||||||
|
<Text>
|
||||||
|
<X> 16 </X>
|
||||||
|
<Y> 220 </Y>
|
||||||
|
<Size> 14 </Size>
|
||||||
|
<Width>220</Width>
|
||||||
|
<Font> KanitMediumTTF </Font>
|
||||||
|
<Color> 0x6F5F51 </Color>
|
||||||
|
<State> showthaiText </State>
|
||||||
|
<Value> "ชาไทย นม คาลาเมล และ Oreo" </Value>
|
||||||
|
</Text>
|
||||||
|
<Text>
|
||||||
|
<X> 16 </X>
|
||||||
|
<Y> 164 </Y>
|
||||||
|
<Size> 22 </Size>
|
||||||
|
<Width>220</Width>
|
||||||
|
<Mode> "multi2" </Mode>
|
||||||
|
<Font> KanitMediumTTF </Font>
|
||||||
|
<Color> 0x322B26 </Color>
|
||||||
|
<State> showengText </State>
|
||||||
|
<Value> "PREMIUM THAI TEA CARAMEL OREO" </Value>
|
||||||
|
</Text>
|
||||||
|
<Text>
|
||||||
|
<X> 16 </X>
|
||||||
|
<Y> 220 </Y>
|
||||||
|
<Size> 14 </Size>
|
||||||
|
<Width>220</Width>
|
||||||
|
<Font> KanitMediumTTF </Font>
|
||||||
|
<Color> 0x6F5F51 </Color>
|
||||||
|
<State> showengText </State>
|
||||||
|
<Value> "Thai Tea, Milk, Caramel Syrup, Oreo" </Value>
|
||||||
|
</Text>
|
||||||
|
<Image>
|
||||||
|
<X> 16 </X>
|
||||||
|
<Y> 264 </Y>
|
||||||
|
<Filename> Var( DirImage2 + "option_deactive.png" ) </Filename>
|
||||||
|
</Image>
|
||||||
|
<Image>
|
||||||
|
<X> 16 </X>
|
||||||
|
<Y> 264 </Y>
|
||||||
|
<State> "Invisible" </State>
|
||||||
|
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
|
||||||
|
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
|
||||||
|
</Image>
|
||||||
|
<Text>
|
||||||
|
<X> 50 </X>
|
||||||
|
<Y> TextPriceMenuY </Y>
|
||||||
|
<Size> TextPriceMenuSize </Size>
|
||||||
|
<Width>220</Width>
|
||||||
|
<Font> KanitMediumTTF </Font>
|
||||||
|
<Color> 0x6F5F51 </Color>
|
||||||
|
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||||
|
<State> "Invisible" </State>
|
||||||
|
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||||
|
</Text>
|
||||||
|
<Image>
|
||||||
|
<X> 81 </X>
|
||||||
|
<Y> 264 </Y>
|
||||||
|
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
||||||
|
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
||||||
|
<State> "Invisible" </State>
|
||||||
|
</Image>
|
||||||
|
<Text>
|
||||||
|
<X> 115 </X>
|
||||||
|
<Y> TextPriceMenuY </Y>
|
||||||
|
<Size> TextPriceMenuSize </Size>
|
||||||
|
<Width>220</Width>
|
||||||
|
<Font> KanitMediumTTF </Font>
|
||||||
|
<Color> 0x6F5F51 </Color>
|
||||||
|
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||||
|
<State> "Invisible" </State>
|
||||||
|
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||||
|
</Text>
|
||||||
|
<Image>
|
||||||
|
<X> 146 </X>
|
||||||
|
<Y> 264 </Y>
|
||||||
|
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||||||
|
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||||||
|
<State> $12-02-03-0058.Button </State>
|
||||||
|
</Image>
|
||||||
|
<Text>
|
||||||
|
<X> 180 </X>
|
||||||
|
<Y> TextPriceMenuY </Y>
|
||||||
|
<Size> TextPriceMenuSize </Size>
|
||||||
|
<Width>220</Width>
|
||||||
|
<Font> KanitRegularTTF </Font>
|
||||||
|
<Color> 0x6F5F51 </Color>
|
||||||
|
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||||
|
<State> $12-02-03-0058.Button </State>
|
||||||
|
<Value> StringFmt( $12-02-03-0058.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||||
|
</Text>
|
||||||
|
<Image>
|
||||||
|
<X> 81 </X>
|
||||||
|
<Y> 264 </Y>
|
||||||
|
<State>
|
||||||
|
eval(
|
||||||
|
If ICE_PROCESS_STATUS = 2 Then
|
||||||
|
|
||||||
|
Var ice_tab_process_show = "Invisible"
|
||||||
|
|
||||||
|
Else
|
||||||
|
Var ice_tab_process_show = "Invisible"
|
||||||
|
EndIf
|
||||||
|
Var return = ice_tab_process_show
|
||||||
|
)
|
||||||
|
</State>
|
||||||
|
<Filename> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </Filename>
|
||||||
|
<FilenameDisable> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </FilenameDisable>
|
||||||
|
</Image>
|
||||||
|
<Image>
|
||||||
|
<X> 49 </X>
|
||||||
|
<Y> 117 </Y>
|
||||||
|
<State>
|
||||||
|
eval(
|
||||||
|
If $Sum1202030058 = "Disable" Then
|
||||||
|
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||||||
|
STRCONTAIN "ERR" $##-##-##-####.TAG tag2_is_disable
|
||||||
|
STRCONTAIN "ERR" $12-02-03-0058.TAG tag3_is_disable
|
||||||
|
Var return = "Invisible"
|
||||||
|
If tag1_is_disable = "true" Then
|
||||||
|
Var return = "Enable"
|
||||||
|
EndIf
|
||||||
|
If tag2_is_disable = "true" Then
|
||||||
|
Var return = "Enable"
|
||||||
|
EndIf
|
||||||
|
If tag3_is_disable = "true" Then
|
||||||
|
Var return = "Enable"
|
||||||
|
EndIf
|
||||||
|
Else
|
||||||
|
Var return = "Invisible"
|
||||||
|
EndIf
|
||||||
|
)
|
||||||
|
</State>
|
||||||
|
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
||||||
|
</Image>
|
||||||
|
<Text>
|
||||||
|
<X> 84 </X>
|
||||||
|
<Y> 266 </Y>
|
||||||
|
<Size> 10 </Size>
|
||||||
|
<Font> OpunMediumTTF </Font>
|
||||||
|
<Color> 0xDE794E </Color>
|
||||||
|
<State> ice_tab_process_show </State>
|
||||||
|
<Value> ice_show_open </Value>
|
||||||
|
</Text>
|
||||||
|
<Text>
|
||||||
|
<X> 48 </X>
|
||||||
|
<Y> 116 </Y>
|
||||||
|
<Size> 32 </Size>
|
||||||
|
<Width>128</Width>
|
||||||
|
<Height>64</Height>
|
||||||
|
<Font> MITRegularTTF </Font>
|
||||||
|
<Color> 0x5A5A5A </Color>
|
||||||
|
<Mode> "disable-show" </Mode>
|
||||||
|
<State> $Sum1202030058 </State>
|
||||||
|
<Value> text_unavailable </Value>
|
||||||
|
<Align> center-vertical-horizontal </Align>
|
||||||
|
</Text>
|
||||||
|
</Block>
|
||||||
|
; - - -
|
||||||
; ==================> Len = 12
|
; ==================> Len = 12
|
||||||
; - - 12-05-03-0092
|
; - - 12-05-03-0092
|
||||||
<Block>
|
<Block>
|
||||||
|
|
|
||||||
|
|
@ -1892,6 +1892,765 @@
|
||||||
</Text>
|
</Text>
|
||||||
</Block>
|
</Block>
|
||||||
; menu_new_li;TAGESP
|
; menu_new_li;TAGESP
|
||||||
|
; ==================> Len = 12
|
||||||
|
; - - 12-01-03-0078
|
||||||
|
<Block>
|
||||||
|
<MarginLeft> 33 </MarginLeft>
|
||||||
|
<MarginTop> 22 </MarginTop>
|
||||||
|
<Width> 225 </Width>
|
||||||
|
<Height> 296 </Height>
|
||||||
|
<State> Flag( 12-01-03-0078.Button,Disable=Invisible,$Sum1201030078) </State>
|
||||||
|
<Button>
|
||||||
|
<State> $Sum1201030078 </State>
|
||||||
|
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_Caramel_Espresso_Oreo_smoothie_weekday_discount.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_Caramel_Espresso_Oreo_smoothie_weekday_discount.png" </FilenamePress>
|
||||||
|
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_Caramel_Espresso_Oreo_smoothie_weekday_discount.png" </FilenameDisable>
|
||||||
|
<OverlayImage> xmlpro( 12-01-03-0078, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||||||
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventOnClick>
|
||||||
|
Var NameDrink = "PREMIUM ESPRESSO CARAMEL OREO"
|
||||||
|
Var NameDrinkTH = "พรีเมียมเอสเพรสโซ่คาราเมลโอริโอ้"
|
||||||
|
Var DrinkDescriptionTH = "กาแฟ นม คาลาเมล และ Oreo"
|
||||||
|
Var DrinkDescription = "Coffee, Milk, Caramel Syrup, Oreo"
|
||||||
|
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_Caramel_Espresso_Oreo_smoothie_weekday_discount.png"
|
||||||
|
Var OpenFromXML = CurrentXMLFileName2
|
||||||
|
GetInstanceIDMenuTab OpenFromInstMenuTab
|
||||||
|
Var PriceD1 = $-.Price
|
||||||
|
Var PriceD2 = $-.Price
|
||||||
|
Var PriceD3 = $12-01-03-0078.Price
|
||||||
|
Var PD_CODE1 = "##-##-##-####"
|
||||||
|
Var PD_CODE2 = "##-##-##-####"
|
||||||
|
Var PD_CODE3 = "12-01-03-0078"
|
||||||
|
Var PD_STAGE_1 = "Disable2"
|
||||||
|
Var PD_STAGE_2 = "Disable2"
|
||||||
|
Var PD_STAGE_3 = $12-01-03-0078.Button
|
||||||
|
Var OverlayMenuFilter !assigned xmlpro( 12-01-03-0078, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
||||||
|
DEBUGVAR OverlayMenuFilter
|
||||||
|
Var SelectCountDrinkType = 0
|
||||||
|
Var DefaultDrinkType = 0
|
||||||
|
If PD_STAGE_1 = "Enable" Then
|
||||||
|
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
||||||
|
Var DefaultDrinkType = 1
|
||||||
|
EndIf
|
||||||
|
If PD_STAGE_2 = "Enable" Then
|
||||||
|
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
||||||
|
Var DefaultDrinkType = 2
|
||||||
|
EndIf
|
||||||
|
If PD_STAGE_3 = "Enable" Then
|
||||||
|
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
||||||
|
Var DefaultDrinkType = 3
|
||||||
|
EndIf
|
||||||
|
If PD_STAGE_2 = "Enable" Then
|
||||||
|
Topping "Load" "-"
|
||||||
|
Else
|
||||||
|
If PD_STAGE_1 = "Enable" Then
|
||||||
|
Topping "Load" "-"
|
||||||
|
Else
|
||||||
|
Topping "Load" "12-01-03-0078"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
Var menu_name_eng_hot = $##-##-##-####.NameE
|
||||||
|
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
||||||
|
Var menu_name_thai_hot = $##-##-##-####.Name
|
||||||
|
Var menu_desc_thai_hot = $##-##-##-####.description
|
||||||
|
|
||||||
|
Var menu_name_eng_cold = $##-##-##-####.NameE
|
||||||
|
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
|
||||||
|
Var menu_name_thai_cold = $##-##-##-####.Name
|
||||||
|
Var menu_desc_thai_cold = $##-##-##-####.description
|
||||||
|
|
||||||
|
Var menu_name_eng_blender = $12-01-03-0078.NameE
|
||||||
|
Var menu_desc_eng_blender = $12-01-03-0078.descriptionE
|
||||||
|
Var menu_name_thai_blender = $12-01-03-0078.Name
|
||||||
|
Var menu_desc_thai_blender = $12-01-03-0078.description
|
||||||
|
|
||||||
|
DEBUGVAR PD_STAGE_1
|
||||||
|
DEBUGVAR PD_STAGE_2
|
||||||
|
DEBUGVAR PD_STAGE_3
|
||||||
|
Var SelectDrinkType = 0
|
||||||
|
|
||||||
|
|
||||||
|
TabMenuVisibleInst 99
|
||||||
|
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_topping_select5.xml"
|
||||||
|
|
||||||
|
</EventOnClick>
|
||||||
|
</Button>
|
||||||
|
<Text>
|
||||||
|
<X> 16 </X>
|
||||||
|
<Y> 164 </Y>
|
||||||
|
<Size> 24 </Size>
|
||||||
|
<Width>220</Width>
|
||||||
|
<Mode> "multi2" </Mode>
|
||||||
|
<Font> KanitMediumTTF </Font>
|
||||||
|
<Color> 0x322B26 </Color>
|
||||||
|
<State> showthaiText </State>
|
||||||
|
<Value> "พรีเมียมเอสเพรสโซ่คาราเมลโอริโอ้" </Value>
|
||||||
|
</Text>
|
||||||
|
<Text>
|
||||||
|
<X> 16 </X>
|
||||||
|
<Y> 220 </Y>
|
||||||
|
<Size> 14 </Size>
|
||||||
|
<Width>220</Width>
|
||||||
|
<Font> KanitMediumTTF </Font>
|
||||||
|
<Color> 0x6F5F51 </Color>
|
||||||
|
<State> showthaiText </State>
|
||||||
|
<Value> "กาแฟ นม คาลาเมล และ Oreo" </Value>
|
||||||
|
</Text>
|
||||||
|
<Text>
|
||||||
|
<X> 16 </X>
|
||||||
|
<Y> 164 </Y>
|
||||||
|
<Size> 22 </Size>
|
||||||
|
<Width>220</Width>
|
||||||
|
<Mode> "multi2" </Mode>
|
||||||
|
<Font> KanitMediumTTF </Font>
|
||||||
|
<Color> 0x322B26 </Color>
|
||||||
|
<State> showengText </State>
|
||||||
|
<Value> "PREMIUM ESPRESSO CARAMEL OREO" </Value>
|
||||||
|
</Text>
|
||||||
|
<Text>
|
||||||
|
<X> 16 </X>
|
||||||
|
<Y> 220 </Y>
|
||||||
|
<Size> 14 </Size>
|
||||||
|
<Width>220</Width>
|
||||||
|
<Font> KanitMediumTTF </Font>
|
||||||
|
<Color> 0x6F5F51 </Color>
|
||||||
|
<State> showengText </State>
|
||||||
|
<Value> "Coffee, Milk, Caramel Syrup, Oreo" </Value>
|
||||||
|
</Text>
|
||||||
|
<Image>
|
||||||
|
<X> 16 </X>
|
||||||
|
<Y> 264 </Y>
|
||||||
|
<Filename> Var( DirImageDrinkOption + "option_deactive.png" ) </Filename>
|
||||||
|
</Image>
|
||||||
|
<Image>
|
||||||
|
<X> 16 </X>
|
||||||
|
<Y> 264 </Y>
|
||||||
|
<State> "Invisible" </State>
|
||||||
|
<Filename> Var( DirImageDrinkOption + "hot.png" ) </Filename>
|
||||||
|
<FilenameDisable> Var( DirImageDrinkOption + "hot_db.png" ) </FilenameDisable>
|
||||||
|
</Image>
|
||||||
|
<Text>
|
||||||
|
<X> 50 </X>
|
||||||
|
<Y> 265 </Y>
|
||||||
|
<Size> 14 </Size>
|
||||||
|
<Width>220</Width>
|
||||||
|
<Font> KanitMediumTTF </Font>
|
||||||
|
<Color> 0x6F5F51 </Color>
|
||||||
|
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||||
|
<State> "Invisible" </State>
|
||||||
|
<Value> Var( "฿" + $-.Price ) </Value>
|
||||||
|
</Text>
|
||||||
|
<Image>
|
||||||
|
<X> 81 </X>
|
||||||
|
<Y> 264 </Y>
|
||||||
|
<Filename> Var( DirImageDrinkOption + "cold.png" ) </Filename>
|
||||||
|
<FilenameDisable> Var( DirImageDrinkOption + "cold_db.png" ) </FilenameDisable>
|
||||||
|
<State> "Invisible" </State>
|
||||||
|
</Image>
|
||||||
|
<Text>
|
||||||
|
<X> 115 </X>
|
||||||
|
<Y> 265 </Y>
|
||||||
|
<Size> 14 </Size>
|
||||||
|
<Width>220</Width>
|
||||||
|
<Font> KanitMediumTTF </Font>
|
||||||
|
<Color> 0x6F5F51 </Color>
|
||||||
|
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||||
|
<State> "Invisible" </State>
|
||||||
|
<Value> Var( "฿" + $-.Price ) </Value>
|
||||||
|
</Text>
|
||||||
|
<Image>
|
||||||
|
<X> 146 </X>
|
||||||
|
<Y> 264 </Y>
|
||||||
|
<Filename> Var( DirImageDrinkOption + "blend.png" ) </Filename>
|
||||||
|
<FilenameDisable> Var( DirImageDrinkOption + "blend_db.png" ) </FilenameDisable>
|
||||||
|
<State> $12-01-03-0078.Button </State>
|
||||||
|
</Image>
|
||||||
|
<Text>
|
||||||
|
<X> 183 </X>
|
||||||
|
<Y> 264 </Y>
|
||||||
|
<Size> 14 </Size>
|
||||||
|
<Width>220</Width>
|
||||||
|
<Font> KanitMediumTTF </Font>
|
||||||
|
<Color> 0x6F5F51 </Color>
|
||||||
|
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||||
|
<State> $12-01-03-0078.Button </State>
|
||||||
|
<Value> Var( "฿" + $12-01-03-0078.Price ) </Value>
|
||||||
|
</Text>
|
||||||
|
<Image>
|
||||||
|
<X> 81 </X>
|
||||||
|
<Y> 264 </Y>
|
||||||
|
<State>
|
||||||
|
eval(
|
||||||
|
If ICE_PROCESS_STATUS = 2 Then
|
||||||
|
|
||||||
|
Var ice_tab_process_show = "Invisible"
|
||||||
|
|
||||||
|
Else
|
||||||
|
Var ice_tab_process_show = "Invisible"
|
||||||
|
EndIf
|
||||||
|
Var return = ice_tab_process_show
|
||||||
|
)
|
||||||
|
</State>
|
||||||
|
<Filename> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </Filename>
|
||||||
|
<FilenameDisable> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </FilenameDisable>
|
||||||
|
</Image>
|
||||||
|
<Image>
|
||||||
|
<X> 49 </X>
|
||||||
|
<Y> 117 </Y>
|
||||||
|
<State>
|
||||||
|
eval(
|
||||||
|
If $Sum1201030078 = "Disable" Then
|
||||||
|
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||||||
|
STRCONTAIN "ERR" $##-##-##-####.TAG tag2_is_disable
|
||||||
|
STRCONTAIN "ERR" $12-01-03-0078.TAG tag3_is_disable
|
||||||
|
Var return = "Invisible"
|
||||||
|
If tag1_is_disable = "true" Then
|
||||||
|
Var return = "Enable"
|
||||||
|
EndIf
|
||||||
|
If tag2_is_disable = "true" Then
|
||||||
|
Var return = "Enable"
|
||||||
|
EndIf
|
||||||
|
If tag3_is_disable = "true" Then
|
||||||
|
Var return = "Enable"
|
||||||
|
EndIf
|
||||||
|
Else
|
||||||
|
Var return = "Invisible"
|
||||||
|
EndIf
|
||||||
|
)
|
||||||
|
</State>
|
||||||
|
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
||||||
|
</Image>
|
||||||
|
<Text>
|
||||||
|
<X> 84 </X>
|
||||||
|
<Y> 266 </Y>
|
||||||
|
<Size> 10 </Size>
|
||||||
|
<Font> OpunMediumTTF </Font>
|
||||||
|
<Color> 0xDE794E </Color>
|
||||||
|
<State> ice_tab_process_show </State>
|
||||||
|
<Value> ice_show_open </Value>
|
||||||
|
</Text>
|
||||||
|
<Text>
|
||||||
|
<X> 48 </X>
|
||||||
|
<Y> 116 </Y>
|
||||||
|
<Size> 32 </Size>
|
||||||
|
<Width>128</Width>
|
||||||
|
<Height>64</Height>
|
||||||
|
<Font> MITRegularTTF </Font>
|
||||||
|
<Color> 0x5A5A5A </Color>
|
||||||
|
<Mode> "disable-show" </Mode>
|
||||||
|
<State> $Sum1201030078 </State>
|
||||||
|
<Value> text_unavailable </Value>
|
||||||
|
<Align> center-vertical-horizontal </Align>
|
||||||
|
</Text>
|
||||||
|
</Block>
|
||||||
|
; - - -
|
||||||
|
; ==================> Len = 12
|
||||||
|
; - - 12-02-03-0057
|
||||||
|
<Block>
|
||||||
|
<MarginLeft> 33 </MarginLeft>
|
||||||
|
<MarginTop> 22 </MarginTop>
|
||||||
|
<Width> 225 </Width>
|
||||||
|
<Height> 296 </Height>
|
||||||
|
<State> Flag( 12-02-03-0057.Button,Disable=Invisible,$Sum1202030057) </State>
|
||||||
|
<Button>
|
||||||
|
<State> $Sum1202030057 </State>
|
||||||
|
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_Caramel_GreenTea_Oreo_smoothie_weekday_discount.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_Caramel_GreenTea_Oreo_smoothie_weekday_discount.png" </FilenamePress>
|
||||||
|
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_Caramel_GreenTea_Oreo_smoothie_weekday_discount.png" </FilenameDisable>
|
||||||
|
<OverlayImage> xmlpro( 12-02-03-0057, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||||||
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventOnClick>
|
||||||
|
Var NameDrink = "PREMIUM GREEN TEA CARAMEL OREO"
|
||||||
|
Var NameDrinkTH = "พรีเมียมมัทฉะคาราเมลโอริโอ้"
|
||||||
|
Var DrinkDescriptionTH = "มัทฉะ นม คาลาเมล และ Oreo"
|
||||||
|
Var DrinkDescription = "Matcha, Milk, Caramel Syrup, Oreo"
|
||||||
|
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_Caramel_GreenTea_Oreo_smoothie_weekday_discount.png"
|
||||||
|
Var OpenFromXML = CurrentXMLFileName2
|
||||||
|
GetInstanceIDMenuTab OpenFromInstMenuTab
|
||||||
|
Var PriceD1 = $-.Price
|
||||||
|
Var PriceD2 = $-.Price
|
||||||
|
Var PriceD3 = $12-02-03-0057.Price
|
||||||
|
Var PD_CODE1 = "##-##-##-####"
|
||||||
|
Var PD_CODE2 = "##-##-##-####"
|
||||||
|
Var PD_CODE3 = "12-02-03-0057"
|
||||||
|
Var PD_STAGE_1 = "Disable2"
|
||||||
|
Var PD_STAGE_2 = "Disable2"
|
||||||
|
Var PD_STAGE_3 = $12-02-03-0057.Button
|
||||||
|
Var OverlayMenuFilter !assigned xmlpro( 12-02-03-0057, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
||||||
|
DEBUGVAR OverlayMenuFilter
|
||||||
|
Var SelectCountDrinkType = 0
|
||||||
|
Var DefaultDrinkType = 0
|
||||||
|
If PD_STAGE_1 = "Enable" Then
|
||||||
|
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
||||||
|
Var DefaultDrinkType = 1
|
||||||
|
EndIf
|
||||||
|
If PD_STAGE_2 = "Enable" Then
|
||||||
|
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
||||||
|
Var DefaultDrinkType = 2
|
||||||
|
EndIf
|
||||||
|
If PD_STAGE_3 = "Enable" Then
|
||||||
|
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
||||||
|
Var DefaultDrinkType = 3
|
||||||
|
EndIf
|
||||||
|
If PD_STAGE_2 = "Enable" Then
|
||||||
|
Topping "Load" "-"
|
||||||
|
Else
|
||||||
|
If PD_STAGE_1 = "Enable" Then
|
||||||
|
Topping "Load" "-"
|
||||||
|
Else
|
||||||
|
Topping "Load" "12-02-03-0057"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
Var menu_name_eng_hot = $##-##-##-####.NameE
|
||||||
|
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
||||||
|
Var menu_name_thai_hot = $##-##-##-####.Name
|
||||||
|
Var menu_desc_thai_hot = $##-##-##-####.description
|
||||||
|
|
||||||
|
Var menu_name_eng_cold = $##-##-##-####.NameE
|
||||||
|
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
|
||||||
|
Var menu_name_thai_cold = $##-##-##-####.Name
|
||||||
|
Var menu_desc_thai_cold = $##-##-##-####.description
|
||||||
|
|
||||||
|
Var menu_name_eng_blender = $12-02-03-0057.NameE
|
||||||
|
Var menu_desc_eng_blender = $12-02-03-0057.descriptionE
|
||||||
|
Var menu_name_thai_blender = $12-02-03-0057.Name
|
||||||
|
Var menu_desc_thai_blender = $12-02-03-0057.description
|
||||||
|
|
||||||
|
DEBUGVAR PD_STAGE_1
|
||||||
|
DEBUGVAR PD_STAGE_2
|
||||||
|
DEBUGVAR PD_STAGE_3
|
||||||
|
Var SelectDrinkType = 0
|
||||||
|
|
||||||
|
|
||||||
|
TabMenuVisibleInst 99
|
||||||
|
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_topping_select5.xml"
|
||||||
|
|
||||||
|
</EventOnClick>
|
||||||
|
</Button>
|
||||||
|
<Text>
|
||||||
|
<X> 16 </X>
|
||||||
|
<Y> 164 </Y>
|
||||||
|
<Size> 24 </Size>
|
||||||
|
<Width>220</Width>
|
||||||
|
<Mode> "multi2" </Mode>
|
||||||
|
<Font> KanitMediumTTF </Font>
|
||||||
|
<Color> 0x322B26 </Color>
|
||||||
|
<State> showthaiText </State>
|
||||||
|
<Value> "พรีเมียมมัทฉะคาราเมลโอริโอ้" </Value>
|
||||||
|
</Text>
|
||||||
|
<Text>
|
||||||
|
<X> 16 </X>
|
||||||
|
<Y> 220 </Y>
|
||||||
|
<Size> 14 </Size>
|
||||||
|
<Width>220</Width>
|
||||||
|
<Font> KanitMediumTTF </Font>
|
||||||
|
<Color> 0x6F5F51 </Color>
|
||||||
|
<State> showthaiText </State>
|
||||||
|
<Value> "มัทฉะ นม คาลาเมล และ Oreo" </Value>
|
||||||
|
</Text>
|
||||||
|
<Text>
|
||||||
|
<X> 16 </X>
|
||||||
|
<Y> 164 </Y>
|
||||||
|
<Size> 22 </Size>
|
||||||
|
<Width>220</Width>
|
||||||
|
<Mode> "multi2" </Mode>
|
||||||
|
<Font> KanitMediumTTF </Font>
|
||||||
|
<Color> 0x322B26 </Color>
|
||||||
|
<State> showengText </State>
|
||||||
|
<Value> "PREMIUM GREEN TEA CARAMEL OREO" </Value>
|
||||||
|
</Text>
|
||||||
|
<Text>
|
||||||
|
<X> 16 </X>
|
||||||
|
<Y> 220 </Y>
|
||||||
|
<Size> 14 </Size>
|
||||||
|
<Width>220</Width>
|
||||||
|
<Font> KanitMediumTTF </Font>
|
||||||
|
<Color> 0x6F5F51 </Color>
|
||||||
|
<State> showengText </State>
|
||||||
|
<Value> "Matcha, Milk, Caramel Syrup, Oreo" </Value>
|
||||||
|
</Text>
|
||||||
|
<Image>
|
||||||
|
<X> 16 </X>
|
||||||
|
<Y> 264 </Y>
|
||||||
|
<Filename> Var( DirImageDrinkOption + "option_deactive.png" ) </Filename>
|
||||||
|
</Image>
|
||||||
|
<Image>
|
||||||
|
<X> 16 </X>
|
||||||
|
<Y> 264 </Y>
|
||||||
|
<State> "Invisible" </State>
|
||||||
|
<Filename> Var( DirImageDrinkOption + "hot.png" ) </Filename>
|
||||||
|
<FilenameDisable> Var( DirImageDrinkOption + "hot_db.png" ) </FilenameDisable>
|
||||||
|
</Image>
|
||||||
|
<Text>
|
||||||
|
<X> 50 </X>
|
||||||
|
<Y> 265 </Y>
|
||||||
|
<Size> 14 </Size>
|
||||||
|
<Width>220</Width>
|
||||||
|
<Font> KanitMediumTTF </Font>
|
||||||
|
<Color> 0x6F5F51 </Color>
|
||||||
|
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||||
|
<State> "Invisible" </State>
|
||||||
|
<Value> Var( "฿" + $-.Price ) </Value>
|
||||||
|
</Text>
|
||||||
|
<Image>
|
||||||
|
<X> 81 </X>
|
||||||
|
<Y> 264 </Y>
|
||||||
|
<Filename> Var( DirImageDrinkOption + "cold.png" ) </Filename>
|
||||||
|
<FilenameDisable> Var( DirImageDrinkOption + "cold_db.png" ) </FilenameDisable>
|
||||||
|
<State> "Invisible" </State>
|
||||||
|
</Image>
|
||||||
|
<Text>
|
||||||
|
<X> 115 </X>
|
||||||
|
<Y> 265 </Y>
|
||||||
|
<Size> 14 </Size>
|
||||||
|
<Width>220</Width>
|
||||||
|
<Font> KanitMediumTTF </Font>
|
||||||
|
<Color> 0x6F5F51 </Color>
|
||||||
|
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||||
|
<State> "Invisible" </State>
|
||||||
|
<Value> Var( "฿" + $-.Price ) </Value>
|
||||||
|
</Text>
|
||||||
|
<Image>
|
||||||
|
<X> 146 </X>
|
||||||
|
<Y> 264 </Y>
|
||||||
|
<Filename> Var( DirImageDrinkOption + "blend.png" ) </Filename>
|
||||||
|
<FilenameDisable> Var( DirImageDrinkOption + "blend_db.png" ) </FilenameDisable>
|
||||||
|
<State> $12-02-03-0057.Button </State>
|
||||||
|
</Image>
|
||||||
|
<Text>
|
||||||
|
<X> 183 </X>
|
||||||
|
<Y> 264 </Y>
|
||||||
|
<Size> 14 </Size>
|
||||||
|
<Width>220</Width>
|
||||||
|
<Font> KanitMediumTTF </Font>
|
||||||
|
<Color> 0x6F5F51 </Color>
|
||||||
|
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||||
|
<State> $12-02-03-0057.Button </State>
|
||||||
|
<Value> Var( "฿" + $12-02-03-0057.Price ) </Value>
|
||||||
|
</Text>
|
||||||
|
<Image>
|
||||||
|
<X> 81 </X>
|
||||||
|
<Y> 264 </Y>
|
||||||
|
<State>
|
||||||
|
eval(
|
||||||
|
If ICE_PROCESS_STATUS = 2 Then
|
||||||
|
|
||||||
|
Var ice_tab_process_show = "Invisible"
|
||||||
|
|
||||||
|
Else
|
||||||
|
Var ice_tab_process_show = "Invisible"
|
||||||
|
EndIf
|
||||||
|
Var return = ice_tab_process_show
|
||||||
|
)
|
||||||
|
</State>
|
||||||
|
<Filename> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </Filename>
|
||||||
|
<FilenameDisable> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </FilenameDisable>
|
||||||
|
</Image>
|
||||||
|
<Image>
|
||||||
|
<X> 49 </X>
|
||||||
|
<Y> 117 </Y>
|
||||||
|
<State>
|
||||||
|
eval(
|
||||||
|
If $Sum1202030057 = "Disable" Then
|
||||||
|
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||||||
|
STRCONTAIN "ERR" $##-##-##-####.TAG tag2_is_disable
|
||||||
|
STRCONTAIN "ERR" $12-02-03-0057.TAG tag3_is_disable
|
||||||
|
Var return = "Invisible"
|
||||||
|
If tag1_is_disable = "true" Then
|
||||||
|
Var return = "Enable"
|
||||||
|
EndIf
|
||||||
|
If tag2_is_disable = "true" Then
|
||||||
|
Var return = "Enable"
|
||||||
|
EndIf
|
||||||
|
If tag3_is_disable = "true" Then
|
||||||
|
Var return = "Enable"
|
||||||
|
EndIf
|
||||||
|
Else
|
||||||
|
Var return = "Invisible"
|
||||||
|
EndIf
|
||||||
|
)
|
||||||
|
</State>
|
||||||
|
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
||||||
|
</Image>
|
||||||
|
<Text>
|
||||||
|
<X> 84 </X>
|
||||||
|
<Y> 266 </Y>
|
||||||
|
<Size> 10 </Size>
|
||||||
|
<Font> OpunMediumTTF </Font>
|
||||||
|
<Color> 0xDE794E </Color>
|
||||||
|
<State> ice_tab_process_show </State>
|
||||||
|
<Value> ice_show_open </Value>
|
||||||
|
</Text>
|
||||||
|
<Text>
|
||||||
|
<X> 48 </X>
|
||||||
|
<Y> 116 </Y>
|
||||||
|
<Size> 32 </Size>
|
||||||
|
<Width>128</Width>
|
||||||
|
<Height>64</Height>
|
||||||
|
<Font> MITRegularTTF </Font>
|
||||||
|
<Color> 0x5A5A5A </Color>
|
||||||
|
<Mode> "disable-show" </Mode>
|
||||||
|
<State> $Sum1202030057 </State>
|
||||||
|
<Value> text_unavailable </Value>
|
||||||
|
<Align> center-vertical-horizontal </Align>
|
||||||
|
</Text>
|
||||||
|
</Block>
|
||||||
|
; - - -
|
||||||
|
; ==================> Len = 12
|
||||||
|
; - - 12-02-03-0058
|
||||||
|
<Block>
|
||||||
|
<MarginLeft> 33 </MarginLeft>
|
||||||
|
<MarginTop> 22 </MarginTop>
|
||||||
|
<Width> 225 </Width>
|
||||||
|
<Height> 296 </Height>
|
||||||
|
<State> Flag( 12-02-03-0058.Button,Disable=Invisible,$Sum1202030058) </State>
|
||||||
|
<Button>
|
||||||
|
<State> $Sum1202030058 </State>
|
||||||
|
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_Caramel_ThaiTea_Oreo_smoothie_weekday_discount.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_Caramel_ThaiTea_Oreo_smoothie_weekday_discount.png" </FilenamePress>
|
||||||
|
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_Caramel_ThaiTea_Oreo_smoothie_weekday_discount.png" </FilenameDisable>
|
||||||
|
<OverlayImage> xmlpro( 12-02-03-0058, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||||||
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventOnClick>
|
||||||
|
Var NameDrink = "PREMIUM THAI TEA CARAMEL OREO"
|
||||||
|
Var NameDrinkTH = "พรีเมียมชาไทยคาราเมลโอริโอ้"
|
||||||
|
Var DrinkDescriptionTH = "ชาไทย นม คาลาเมล และ Oreo"
|
||||||
|
Var DrinkDescription = "Thai Tea, Milk, Caramel Syrup, Oreo"
|
||||||
|
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_Caramel_ThaiTea_Oreo_smoothie_weekday_discount.png"
|
||||||
|
Var OpenFromXML = CurrentXMLFileName2
|
||||||
|
GetInstanceIDMenuTab OpenFromInstMenuTab
|
||||||
|
Var PriceD1 = $-.Price
|
||||||
|
Var PriceD2 = $-.Price
|
||||||
|
Var PriceD3 = $12-02-03-0058.Price
|
||||||
|
Var PD_CODE1 = "##-##-##-####"
|
||||||
|
Var PD_CODE2 = "##-##-##-####"
|
||||||
|
Var PD_CODE3 = "12-02-03-0058"
|
||||||
|
Var PD_STAGE_1 = "Disable2"
|
||||||
|
Var PD_STAGE_2 = "Disable2"
|
||||||
|
Var PD_STAGE_3 = $12-02-03-0058.Button
|
||||||
|
Var OverlayMenuFilter !assigned xmlpro( 12-02-03-0058, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
||||||
|
DEBUGVAR OverlayMenuFilter
|
||||||
|
Var SelectCountDrinkType = 0
|
||||||
|
Var DefaultDrinkType = 0
|
||||||
|
If PD_STAGE_1 = "Enable" Then
|
||||||
|
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
||||||
|
Var DefaultDrinkType = 1
|
||||||
|
EndIf
|
||||||
|
If PD_STAGE_2 = "Enable" Then
|
||||||
|
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
||||||
|
Var DefaultDrinkType = 2
|
||||||
|
EndIf
|
||||||
|
If PD_STAGE_3 = "Enable" Then
|
||||||
|
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
||||||
|
Var DefaultDrinkType = 3
|
||||||
|
EndIf
|
||||||
|
If PD_STAGE_2 = "Enable" Then
|
||||||
|
Topping "Load" "-"
|
||||||
|
Else
|
||||||
|
If PD_STAGE_1 = "Enable" Then
|
||||||
|
Topping "Load" "-"
|
||||||
|
Else
|
||||||
|
Topping "Load" "12-02-03-0058"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
Var menu_name_eng_hot = $##-##-##-####.NameE
|
||||||
|
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
||||||
|
Var menu_name_thai_hot = $##-##-##-####.Name
|
||||||
|
Var menu_desc_thai_hot = $##-##-##-####.description
|
||||||
|
|
||||||
|
Var menu_name_eng_cold = $##-##-##-####.NameE
|
||||||
|
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
|
||||||
|
Var menu_name_thai_cold = $##-##-##-####.Name
|
||||||
|
Var menu_desc_thai_cold = $##-##-##-####.description
|
||||||
|
|
||||||
|
Var menu_name_eng_blender = $12-02-03-0058.NameE
|
||||||
|
Var menu_desc_eng_blender = $12-02-03-0058.descriptionE
|
||||||
|
Var menu_name_thai_blender = $12-02-03-0058.Name
|
||||||
|
Var menu_desc_thai_blender = $12-02-03-0058.description
|
||||||
|
|
||||||
|
DEBUGVAR PD_STAGE_1
|
||||||
|
DEBUGVAR PD_STAGE_2
|
||||||
|
DEBUGVAR PD_STAGE_3
|
||||||
|
Var SelectDrinkType = 0
|
||||||
|
|
||||||
|
|
||||||
|
TabMenuVisibleInst 99
|
||||||
|
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_topping_select5.xml"
|
||||||
|
|
||||||
|
</EventOnClick>
|
||||||
|
</Button>
|
||||||
|
<Text>
|
||||||
|
<X> 16 </X>
|
||||||
|
<Y> 164 </Y>
|
||||||
|
<Size> 24 </Size>
|
||||||
|
<Width>220</Width>
|
||||||
|
<Mode> "multi2" </Mode>
|
||||||
|
<Font> KanitMediumTTF </Font>
|
||||||
|
<Color> 0x322B26 </Color>
|
||||||
|
<State> showthaiText </State>
|
||||||
|
<Value> "พรีเมียมชาไทยคาราเมลโอริโอ้" </Value>
|
||||||
|
</Text>
|
||||||
|
<Text>
|
||||||
|
<X> 16 </X>
|
||||||
|
<Y> 220 </Y>
|
||||||
|
<Size> 14 </Size>
|
||||||
|
<Width>220</Width>
|
||||||
|
<Font> KanitMediumTTF </Font>
|
||||||
|
<Color> 0x6F5F51 </Color>
|
||||||
|
<State> showthaiText </State>
|
||||||
|
<Value> "ชาไทย นม คาลาเมล และ Oreo" </Value>
|
||||||
|
</Text>
|
||||||
|
<Text>
|
||||||
|
<X> 16 </X>
|
||||||
|
<Y> 164 </Y>
|
||||||
|
<Size> 22 </Size>
|
||||||
|
<Width>220</Width>
|
||||||
|
<Mode> "multi2" </Mode>
|
||||||
|
<Font> KanitMediumTTF </Font>
|
||||||
|
<Color> 0x322B26 </Color>
|
||||||
|
<State> showengText </State>
|
||||||
|
<Value> "PREMIUM THAI TEA CARAMEL OREO" </Value>
|
||||||
|
</Text>
|
||||||
|
<Text>
|
||||||
|
<X> 16 </X>
|
||||||
|
<Y> 220 </Y>
|
||||||
|
<Size> 14 </Size>
|
||||||
|
<Width>220</Width>
|
||||||
|
<Font> KanitMediumTTF </Font>
|
||||||
|
<Color> 0x6F5F51 </Color>
|
||||||
|
<State> showengText </State>
|
||||||
|
<Value> "Thai Tea, Milk, Caramel Syrup, Oreo" </Value>
|
||||||
|
</Text>
|
||||||
|
<Image>
|
||||||
|
<X> 16 </X>
|
||||||
|
<Y> 264 </Y>
|
||||||
|
<Filename> Var( DirImageDrinkOption + "option_deactive.png" ) </Filename>
|
||||||
|
</Image>
|
||||||
|
<Image>
|
||||||
|
<X> 16 </X>
|
||||||
|
<Y> 264 </Y>
|
||||||
|
<State> "Invisible" </State>
|
||||||
|
<Filename> Var( DirImageDrinkOption + "hot.png" ) </Filename>
|
||||||
|
<FilenameDisable> Var( DirImageDrinkOption + "hot_db.png" ) </FilenameDisable>
|
||||||
|
</Image>
|
||||||
|
<Text>
|
||||||
|
<X> 50 </X>
|
||||||
|
<Y> 265 </Y>
|
||||||
|
<Size> 14 </Size>
|
||||||
|
<Width>220</Width>
|
||||||
|
<Font> KanitMediumTTF </Font>
|
||||||
|
<Color> 0x6F5F51 </Color>
|
||||||
|
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||||
|
<State> "Invisible" </State>
|
||||||
|
<Value> Var( "฿" + $-.Price ) </Value>
|
||||||
|
</Text>
|
||||||
|
<Image>
|
||||||
|
<X> 81 </X>
|
||||||
|
<Y> 264 </Y>
|
||||||
|
<Filename> Var( DirImageDrinkOption + "cold.png" ) </Filename>
|
||||||
|
<FilenameDisable> Var( DirImageDrinkOption + "cold_db.png" ) </FilenameDisable>
|
||||||
|
<State> "Invisible" </State>
|
||||||
|
</Image>
|
||||||
|
<Text>
|
||||||
|
<X> 115 </X>
|
||||||
|
<Y> 265 </Y>
|
||||||
|
<Size> 14 </Size>
|
||||||
|
<Width>220</Width>
|
||||||
|
<Font> KanitMediumTTF </Font>
|
||||||
|
<Color> 0x6F5F51 </Color>
|
||||||
|
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||||
|
<State> "Invisible" </State>
|
||||||
|
<Value> Var( "฿" + $-.Price ) </Value>
|
||||||
|
</Text>
|
||||||
|
<Image>
|
||||||
|
<X> 146 </X>
|
||||||
|
<Y> 264 </Y>
|
||||||
|
<Filename> Var( DirImageDrinkOption + "blend.png" ) </Filename>
|
||||||
|
<FilenameDisable> Var( DirImageDrinkOption + "blend_db.png" ) </FilenameDisable>
|
||||||
|
<State> $12-02-03-0058.Button </State>
|
||||||
|
</Image>
|
||||||
|
<Text>
|
||||||
|
<X> 183 </X>
|
||||||
|
<Y> 264 </Y>
|
||||||
|
<Size> 14 </Size>
|
||||||
|
<Width>220</Width>
|
||||||
|
<Font> KanitMediumTTF </Font>
|
||||||
|
<Color> 0x6F5F51 </Color>
|
||||||
|
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||||
|
<State> $12-02-03-0058.Button </State>
|
||||||
|
<Value> Var( "฿" + $12-02-03-0058.Price ) </Value>
|
||||||
|
</Text>
|
||||||
|
<Image>
|
||||||
|
<X> 81 </X>
|
||||||
|
<Y> 264 </Y>
|
||||||
|
<State>
|
||||||
|
eval(
|
||||||
|
If ICE_PROCESS_STATUS = 2 Then
|
||||||
|
|
||||||
|
Var ice_tab_process_show = "Invisible"
|
||||||
|
|
||||||
|
Else
|
||||||
|
Var ice_tab_process_show = "Invisible"
|
||||||
|
EndIf
|
||||||
|
Var return = ice_tab_process_show
|
||||||
|
)
|
||||||
|
</State>
|
||||||
|
<Filename> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </Filename>
|
||||||
|
<FilenameDisable> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </FilenameDisable>
|
||||||
|
</Image>
|
||||||
|
<Image>
|
||||||
|
<X> 49 </X>
|
||||||
|
<Y> 117 </Y>
|
||||||
|
<State>
|
||||||
|
eval(
|
||||||
|
If $Sum1202030058 = "Disable" Then
|
||||||
|
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||||||
|
STRCONTAIN "ERR" $##-##-##-####.TAG tag2_is_disable
|
||||||
|
STRCONTAIN "ERR" $12-02-03-0058.TAG tag3_is_disable
|
||||||
|
Var return = "Invisible"
|
||||||
|
If tag1_is_disable = "true" Then
|
||||||
|
Var return = "Enable"
|
||||||
|
EndIf
|
||||||
|
If tag2_is_disable = "true" Then
|
||||||
|
Var return = "Enable"
|
||||||
|
EndIf
|
||||||
|
If tag3_is_disable = "true" Then
|
||||||
|
Var return = "Enable"
|
||||||
|
EndIf
|
||||||
|
Else
|
||||||
|
Var return = "Invisible"
|
||||||
|
EndIf
|
||||||
|
)
|
||||||
|
</State>
|
||||||
|
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
||||||
|
</Image>
|
||||||
|
<Text>
|
||||||
|
<X> 84 </X>
|
||||||
|
<Y> 266 </Y>
|
||||||
|
<Size> 10 </Size>
|
||||||
|
<Font> OpunMediumTTF </Font>
|
||||||
|
<Color> 0xDE794E </Color>
|
||||||
|
<State> ice_tab_process_show </State>
|
||||||
|
<Value> ice_show_open </Value>
|
||||||
|
</Text>
|
||||||
|
<Text>
|
||||||
|
<X> 48 </X>
|
||||||
|
<Y> 116 </Y>
|
||||||
|
<Size> 32 </Size>
|
||||||
|
<Width>128</Width>
|
||||||
|
<Height>64</Height>
|
||||||
|
<Font> MITRegularTTF </Font>
|
||||||
|
<Color> 0x5A5A5A </Color>
|
||||||
|
<Mode> "disable-show" </Mode>
|
||||||
|
<State> $Sum1202030058 </State>
|
||||||
|
<Value> text_unavailable </Value>
|
||||||
|
<Align> center-vertical-horizontal </Align>
|
||||||
|
</Text>
|
||||||
|
</Block>
|
||||||
|
; - - -
|
||||||
; ==================> Len = 12
|
; ==================> Len = 12
|
||||||
; - - 12-05-03-0092
|
; - - 12-05-03-0092
|
||||||
<Block>
|
<Block>
|
||||||
|
|
|
||||||
|
|
@ -655,7 +655,7 @@
|
||||||
</QRCode>
|
</QRCode>
|
||||||
</Block>
|
</Block>
|
||||||
;dummy_layout.inc
|
;dummy_layout.inc
|
||||||
; menu_new_list 51
|
; menu_new_list 54
|
||||||
;TAGESP
|
;TAGESP
|
||||||
; ==================> Len = 17
|
; ==================> Len = 17
|
||||||
; 12-02-01-0039 12-02-02-0039 12-02-03-0039
|
; 12-02-01-0039 12-02-02-0039 12-02-03-0039
|
||||||
|
|
@ -916,6 +916,765 @@
|
||||||
; - - -
|
; - - -
|
||||||
;TAGESP
|
;TAGESP
|
||||||
; ==================> Len = 12
|
; ==================> Len = 12
|
||||||
|
; - - 12-01-03-0078
|
||||||
|
<Block>
|
||||||
|
<MarginLeft> 33 </MarginLeft>
|
||||||
|
<MarginTop> 22 </MarginTop>
|
||||||
|
<Width> 225 </Width>
|
||||||
|
<Height> 296 </Height>
|
||||||
|
<State> Flag( 12-01-03-0078.Button,Disable=Invisible,$Sum1201030078) </State>
|
||||||
|
<Button>
|
||||||
|
<State> $Sum1201030078 </State>
|
||||||
|
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_Caramel_Espresso_Oreo_smoothie_weekday_discount.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_Caramel_Espresso_Oreo_smoothie_weekday_discount.png" </FilenamePress>
|
||||||
|
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_Caramel_Espresso_Oreo_smoothie_weekday_discount.png" </FilenameDisable>
|
||||||
|
<OverlayImage> xmlpro( 12-01-03-0078, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||||||
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventOnClick>
|
||||||
|
Var NameDrink = "PREMIUM ESPRESSO CARAMEL OREO"
|
||||||
|
Var NameDrinkTH = "พรีเมียมเอสเพรสโซ่คาราเมลโอริโอ้"
|
||||||
|
Var DrinkDescriptionTH = "กาแฟ นม คาลาเมล และ Oreo"
|
||||||
|
Var DrinkDescription = "Coffee, Milk, Caramel Syrup, Oreo"
|
||||||
|
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_Caramel_Espresso_Oreo_smoothie_weekday_discount.png"
|
||||||
|
Var OpenFromXML = CurrentXMLFileName2
|
||||||
|
GetInstanceIDMenuTab OpenFromInstMenuTab
|
||||||
|
Var PriceD1 = $-.Price
|
||||||
|
Var PriceD2 = $-.Price
|
||||||
|
Var PriceD3 = $12-01-03-0078.Price
|
||||||
|
Var PD_CODE1 = "##-##-##-####"
|
||||||
|
Var PD_CODE2 = "##-##-##-####"
|
||||||
|
Var PD_CODE3 = "12-01-03-0078"
|
||||||
|
Var PD_STAGE_1 = "Disable2"
|
||||||
|
Var PD_STAGE_2 = "Disable2"
|
||||||
|
Var PD_STAGE_3 = $12-01-03-0078.Button
|
||||||
|
Var OverlayMenuFilter !assigned xmlpro( 12-01-03-0078, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
||||||
|
DEBUGVAR OverlayMenuFilter
|
||||||
|
Var SelectCountDrinkType = 0
|
||||||
|
Var DefaultDrinkType = 0
|
||||||
|
If PD_STAGE_1 = "Enable" Then
|
||||||
|
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
||||||
|
Var DefaultDrinkType = 1
|
||||||
|
EndIf
|
||||||
|
If PD_STAGE_2 = "Enable" Then
|
||||||
|
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
||||||
|
Var DefaultDrinkType = 2
|
||||||
|
EndIf
|
||||||
|
If PD_STAGE_3 = "Enable" Then
|
||||||
|
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
||||||
|
Var DefaultDrinkType = 3
|
||||||
|
EndIf
|
||||||
|
If PD_STAGE_2 = "Enable" Then
|
||||||
|
Topping "Load" "-"
|
||||||
|
Else
|
||||||
|
If PD_STAGE_1 = "Enable" Then
|
||||||
|
Topping "Load" "-"
|
||||||
|
Else
|
||||||
|
Topping "Load" "12-01-03-0078"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
Var menu_name_eng_hot = $##-##-##-####.NameE
|
||||||
|
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
||||||
|
Var menu_name_thai_hot = $##-##-##-####.Name
|
||||||
|
Var menu_desc_thai_hot = $##-##-##-####.description
|
||||||
|
|
||||||
|
Var menu_name_eng_cold = $##-##-##-####.NameE
|
||||||
|
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
|
||||||
|
Var menu_name_thai_cold = $##-##-##-####.Name
|
||||||
|
Var menu_desc_thai_cold = $##-##-##-####.description
|
||||||
|
|
||||||
|
Var menu_name_eng_blender = $12-01-03-0078.NameE
|
||||||
|
Var menu_desc_eng_blender = $12-01-03-0078.descriptionE
|
||||||
|
Var menu_name_thai_blender = $12-01-03-0078.Name
|
||||||
|
Var menu_desc_thai_blender = $12-01-03-0078.description
|
||||||
|
|
||||||
|
DEBUGVAR PD_STAGE_1
|
||||||
|
DEBUGVAR PD_STAGE_2
|
||||||
|
DEBUGVAR PD_STAGE_3
|
||||||
|
Var SelectDrinkType = 0
|
||||||
|
|
||||||
|
|
||||||
|
TabMenuVisibleInst 99
|
||||||
|
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_topping_select5.xml"
|
||||||
|
|
||||||
|
</EventOnClick>
|
||||||
|
</Button>
|
||||||
|
<Text>
|
||||||
|
<X> 16 </X>
|
||||||
|
<Y> 164 </Y>
|
||||||
|
<Size> 24 </Size>
|
||||||
|
<Width>220</Width>
|
||||||
|
<Mode> "multi2" </Mode>
|
||||||
|
<Font> KanitMediumTTF </Font>
|
||||||
|
<Color> 0x322B26 </Color>
|
||||||
|
<State> showthaiText </State>
|
||||||
|
<Value> "พรีเมียมเอสเพรสโซ่คาราเมลโอริโอ้" </Value>
|
||||||
|
</Text>
|
||||||
|
<Text>
|
||||||
|
<X> 16 </X>
|
||||||
|
<Y> 220 </Y>
|
||||||
|
<Size> 14 </Size>
|
||||||
|
<Width>220</Width>
|
||||||
|
<Font> KanitMediumTTF </Font>
|
||||||
|
<Color> 0x6F5F51 </Color>
|
||||||
|
<State> showthaiText </State>
|
||||||
|
<Value> "กาแฟ นม คาลาเมล และ Oreo" </Value>
|
||||||
|
</Text>
|
||||||
|
<Text>
|
||||||
|
<X> 16 </X>
|
||||||
|
<Y> 164 </Y>
|
||||||
|
<Size> 22 </Size>
|
||||||
|
<Width>220</Width>
|
||||||
|
<Mode> "multi2" </Mode>
|
||||||
|
<Font> KanitMediumTTF </Font>
|
||||||
|
<Color> 0x322B26 </Color>
|
||||||
|
<State> showengText </State>
|
||||||
|
<Value> "PREMIUM ESPRESSO CARAMEL OREO" </Value>
|
||||||
|
</Text>
|
||||||
|
<Text>
|
||||||
|
<X> 16 </X>
|
||||||
|
<Y> 220 </Y>
|
||||||
|
<Size> 14 </Size>
|
||||||
|
<Width>220</Width>
|
||||||
|
<Font> KanitMediumTTF </Font>
|
||||||
|
<Color> 0x6F5F51 </Color>
|
||||||
|
<State> showengText </State>
|
||||||
|
<Value> "Coffee, Milk, Caramel Syrup, Oreo" </Value>
|
||||||
|
</Text>
|
||||||
|
<Image>
|
||||||
|
<X> 16 </X>
|
||||||
|
<Y> 264 </Y>
|
||||||
|
<Filename> Var( DirImageDrinkOption + "option_deactive.png" ) </Filename>
|
||||||
|
</Image>
|
||||||
|
<Image>
|
||||||
|
<X> 16 </X>
|
||||||
|
<Y> 264 </Y>
|
||||||
|
<State> "Invisible" </State>
|
||||||
|
<Filename> Var( DirImageDrinkOption + "hot.png" ) </Filename>
|
||||||
|
<FilenameDisable> Var( DirImageDrinkOption + "hot_db.png" ) </FilenameDisable>
|
||||||
|
</Image>
|
||||||
|
<Text>
|
||||||
|
<X> 50 </X>
|
||||||
|
<Y> 265 </Y>
|
||||||
|
<Size> 14 </Size>
|
||||||
|
<Width>220</Width>
|
||||||
|
<Font> KanitMediumTTF </Font>
|
||||||
|
<Color> 0x6F5F51 </Color>
|
||||||
|
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||||
|
<State> "Invisible" </State>
|
||||||
|
<Value> Var( "฿" + $-.Price ) </Value>
|
||||||
|
</Text>
|
||||||
|
<Image>
|
||||||
|
<X> 81 </X>
|
||||||
|
<Y> 264 </Y>
|
||||||
|
<Filename> Var( DirImageDrinkOption + "cold.png" ) </Filename>
|
||||||
|
<FilenameDisable> Var( DirImageDrinkOption + "cold_db.png" ) </FilenameDisable>
|
||||||
|
<State> "Invisible" </State>
|
||||||
|
</Image>
|
||||||
|
<Text>
|
||||||
|
<X> 115 </X>
|
||||||
|
<Y> 265 </Y>
|
||||||
|
<Size> 14 </Size>
|
||||||
|
<Width>220</Width>
|
||||||
|
<Font> KanitMediumTTF </Font>
|
||||||
|
<Color> 0x6F5F51 </Color>
|
||||||
|
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||||
|
<State> "Invisible" </State>
|
||||||
|
<Value> Var( "฿" + $-.Price ) </Value>
|
||||||
|
</Text>
|
||||||
|
<Image>
|
||||||
|
<X> 146 </X>
|
||||||
|
<Y> 264 </Y>
|
||||||
|
<Filename> Var( DirImageDrinkOption + "blend.png" ) </Filename>
|
||||||
|
<FilenameDisable> Var( DirImageDrinkOption + "blend_db.png" ) </FilenameDisable>
|
||||||
|
<State> $12-01-03-0078.Button </State>
|
||||||
|
</Image>
|
||||||
|
<Text>
|
||||||
|
<X> 183 </X>
|
||||||
|
<Y> 264 </Y>
|
||||||
|
<Size> 14 </Size>
|
||||||
|
<Width>220</Width>
|
||||||
|
<Font> KanitMediumTTF </Font>
|
||||||
|
<Color> 0x6F5F51 </Color>
|
||||||
|
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||||
|
<State> $12-01-03-0078.Button </State>
|
||||||
|
<Value> Var( "฿" + $12-01-03-0078.Price ) </Value>
|
||||||
|
</Text>
|
||||||
|
<Image>
|
||||||
|
<X> 81 </X>
|
||||||
|
<Y> 264 </Y>
|
||||||
|
<State>
|
||||||
|
eval(
|
||||||
|
If ICE_PROCESS_STATUS = 2 Then
|
||||||
|
|
||||||
|
Var ice_tab_process_show = "Invisible"
|
||||||
|
|
||||||
|
Else
|
||||||
|
Var ice_tab_process_show = "Invisible"
|
||||||
|
EndIf
|
||||||
|
Var return = ice_tab_process_show
|
||||||
|
)
|
||||||
|
</State>
|
||||||
|
<Filename> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </Filename>
|
||||||
|
<FilenameDisable> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </FilenameDisable>
|
||||||
|
</Image>
|
||||||
|
<Image>
|
||||||
|
<X> 49 </X>
|
||||||
|
<Y> 117 </Y>
|
||||||
|
<State>
|
||||||
|
eval(
|
||||||
|
If $Sum1201030078 = "Disable" Then
|
||||||
|
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||||||
|
STRCONTAIN "ERR" $##-##-##-####.TAG tag2_is_disable
|
||||||
|
STRCONTAIN "ERR" $12-01-03-0078.TAG tag3_is_disable
|
||||||
|
Var return = "Invisible"
|
||||||
|
If tag1_is_disable = "true" Then
|
||||||
|
Var return = "Enable"
|
||||||
|
EndIf
|
||||||
|
If tag2_is_disable = "true" Then
|
||||||
|
Var return = "Enable"
|
||||||
|
EndIf
|
||||||
|
If tag3_is_disable = "true" Then
|
||||||
|
Var return = "Enable"
|
||||||
|
EndIf
|
||||||
|
Else
|
||||||
|
Var return = "Invisible"
|
||||||
|
EndIf
|
||||||
|
)
|
||||||
|
</State>
|
||||||
|
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
||||||
|
</Image>
|
||||||
|
<Text>
|
||||||
|
<X> 84 </X>
|
||||||
|
<Y> 266 </Y>
|
||||||
|
<Size> 10 </Size>
|
||||||
|
<Font> OpunMediumTTF </Font>
|
||||||
|
<Color> 0xDE794E </Color>
|
||||||
|
<State> ice_tab_process_show </State>
|
||||||
|
<Value> ice_show_open </Value>
|
||||||
|
</Text>
|
||||||
|
<Text>
|
||||||
|
<X> 48 </X>
|
||||||
|
<Y> 116 </Y>
|
||||||
|
<Size> 32 </Size>
|
||||||
|
<Width>128</Width>
|
||||||
|
<Height>64</Height>
|
||||||
|
<Font> MITRegularTTF </Font>
|
||||||
|
<Color> 0x5A5A5A </Color>
|
||||||
|
<Mode> "disable-show" </Mode>
|
||||||
|
<State> $Sum1201030078 </State>
|
||||||
|
<Value> text_unavailable </Value>
|
||||||
|
<Align> center-vertical-horizontal </Align>
|
||||||
|
</Text>
|
||||||
|
</Block>
|
||||||
|
; - - -
|
||||||
|
; ==================> Len = 12
|
||||||
|
; - - 12-02-03-0057
|
||||||
|
<Block>
|
||||||
|
<MarginLeft> 33 </MarginLeft>
|
||||||
|
<MarginTop> 22 </MarginTop>
|
||||||
|
<Width> 225 </Width>
|
||||||
|
<Height> 296 </Height>
|
||||||
|
<State> Flag( 12-02-03-0057.Button,Disable=Invisible,$Sum1202030057) </State>
|
||||||
|
<Button>
|
||||||
|
<State> $Sum1202030057 </State>
|
||||||
|
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_Caramel_GreenTea_Oreo_smoothie_weekday_discount.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_Caramel_GreenTea_Oreo_smoothie_weekday_discount.png" </FilenamePress>
|
||||||
|
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_Caramel_GreenTea_Oreo_smoothie_weekday_discount.png" </FilenameDisable>
|
||||||
|
<OverlayImage> xmlpro( 12-02-03-0057, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||||||
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventOnClick>
|
||||||
|
Var NameDrink = "PREMIUM GREEN TEA CARAMEL OREO"
|
||||||
|
Var NameDrinkTH = "พรีเมียมมัทฉะคาราเมลโอริโอ้"
|
||||||
|
Var DrinkDescriptionTH = "มัทฉะ นม คาลาเมล และ Oreo"
|
||||||
|
Var DrinkDescription = "Matcha, Milk, Caramel Syrup, Oreo"
|
||||||
|
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_Caramel_GreenTea_Oreo_smoothie_weekday_discount.png"
|
||||||
|
Var OpenFromXML = CurrentXMLFileName2
|
||||||
|
GetInstanceIDMenuTab OpenFromInstMenuTab
|
||||||
|
Var PriceD1 = $-.Price
|
||||||
|
Var PriceD2 = $-.Price
|
||||||
|
Var PriceD3 = $12-02-03-0057.Price
|
||||||
|
Var PD_CODE1 = "##-##-##-####"
|
||||||
|
Var PD_CODE2 = "##-##-##-####"
|
||||||
|
Var PD_CODE3 = "12-02-03-0057"
|
||||||
|
Var PD_STAGE_1 = "Disable2"
|
||||||
|
Var PD_STAGE_2 = "Disable2"
|
||||||
|
Var PD_STAGE_3 = $12-02-03-0057.Button
|
||||||
|
Var OverlayMenuFilter !assigned xmlpro( 12-02-03-0057, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
||||||
|
DEBUGVAR OverlayMenuFilter
|
||||||
|
Var SelectCountDrinkType = 0
|
||||||
|
Var DefaultDrinkType = 0
|
||||||
|
If PD_STAGE_1 = "Enable" Then
|
||||||
|
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
||||||
|
Var DefaultDrinkType = 1
|
||||||
|
EndIf
|
||||||
|
If PD_STAGE_2 = "Enable" Then
|
||||||
|
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
||||||
|
Var DefaultDrinkType = 2
|
||||||
|
EndIf
|
||||||
|
If PD_STAGE_3 = "Enable" Then
|
||||||
|
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
||||||
|
Var DefaultDrinkType = 3
|
||||||
|
EndIf
|
||||||
|
If PD_STAGE_2 = "Enable" Then
|
||||||
|
Topping "Load" "-"
|
||||||
|
Else
|
||||||
|
If PD_STAGE_1 = "Enable" Then
|
||||||
|
Topping "Load" "-"
|
||||||
|
Else
|
||||||
|
Topping "Load" "12-02-03-0057"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
Var menu_name_eng_hot = $##-##-##-####.NameE
|
||||||
|
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
||||||
|
Var menu_name_thai_hot = $##-##-##-####.Name
|
||||||
|
Var menu_desc_thai_hot = $##-##-##-####.description
|
||||||
|
|
||||||
|
Var menu_name_eng_cold = $##-##-##-####.NameE
|
||||||
|
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
|
||||||
|
Var menu_name_thai_cold = $##-##-##-####.Name
|
||||||
|
Var menu_desc_thai_cold = $##-##-##-####.description
|
||||||
|
|
||||||
|
Var menu_name_eng_blender = $12-02-03-0057.NameE
|
||||||
|
Var menu_desc_eng_blender = $12-02-03-0057.descriptionE
|
||||||
|
Var menu_name_thai_blender = $12-02-03-0057.Name
|
||||||
|
Var menu_desc_thai_blender = $12-02-03-0057.description
|
||||||
|
|
||||||
|
DEBUGVAR PD_STAGE_1
|
||||||
|
DEBUGVAR PD_STAGE_2
|
||||||
|
DEBUGVAR PD_STAGE_3
|
||||||
|
Var SelectDrinkType = 0
|
||||||
|
|
||||||
|
|
||||||
|
TabMenuVisibleInst 99
|
||||||
|
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_topping_select5.xml"
|
||||||
|
|
||||||
|
</EventOnClick>
|
||||||
|
</Button>
|
||||||
|
<Text>
|
||||||
|
<X> 16 </X>
|
||||||
|
<Y> 164 </Y>
|
||||||
|
<Size> 24 </Size>
|
||||||
|
<Width>220</Width>
|
||||||
|
<Mode> "multi2" </Mode>
|
||||||
|
<Font> KanitMediumTTF </Font>
|
||||||
|
<Color> 0x322B26 </Color>
|
||||||
|
<State> showthaiText </State>
|
||||||
|
<Value> "พรีเมียมมัทฉะคาราเมลโอริโอ้" </Value>
|
||||||
|
</Text>
|
||||||
|
<Text>
|
||||||
|
<X> 16 </X>
|
||||||
|
<Y> 220 </Y>
|
||||||
|
<Size> 14 </Size>
|
||||||
|
<Width>220</Width>
|
||||||
|
<Font> KanitMediumTTF </Font>
|
||||||
|
<Color> 0x6F5F51 </Color>
|
||||||
|
<State> showthaiText </State>
|
||||||
|
<Value> "มัทฉะ นม คาลาเมล และ Oreo" </Value>
|
||||||
|
</Text>
|
||||||
|
<Text>
|
||||||
|
<X> 16 </X>
|
||||||
|
<Y> 164 </Y>
|
||||||
|
<Size> 22 </Size>
|
||||||
|
<Width>220</Width>
|
||||||
|
<Mode> "multi2" </Mode>
|
||||||
|
<Font> KanitMediumTTF </Font>
|
||||||
|
<Color> 0x322B26 </Color>
|
||||||
|
<State> showengText </State>
|
||||||
|
<Value> "PREMIUM GREEN TEA CARAMEL OREO" </Value>
|
||||||
|
</Text>
|
||||||
|
<Text>
|
||||||
|
<X> 16 </X>
|
||||||
|
<Y> 220 </Y>
|
||||||
|
<Size> 14 </Size>
|
||||||
|
<Width>220</Width>
|
||||||
|
<Font> KanitMediumTTF </Font>
|
||||||
|
<Color> 0x6F5F51 </Color>
|
||||||
|
<State> showengText </State>
|
||||||
|
<Value> "Matcha, Milk, Caramel Syrup, Oreo" </Value>
|
||||||
|
</Text>
|
||||||
|
<Image>
|
||||||
|
<X> 16 </X>
|
||||||
|
<Y> 264 </Y>
|
||||||
|
<Filename> Var( DirImageDrinkOption + "option_deactive.png" ) </Filename>
|
||||||
|
</Image>
|
||||||
|
<Image>
|
||||||
|
<X> 16 </X>
|
||||||
|
<Y> 264 </Y>
|
||||||
|
<State> "Invisible" </State>
|
||||||
|
<Filename> Var( DirImageDrinkOption + "hot.png" ) </Filename>
|
||||||
|
<FilenameDisable> Var( DirImageDrinkOption + "hot_db.png" ) </FilenameDisable>
|
||||||
|
</Image>
|
||||||
|
<Text>
|
||||||
|
<X> 50 </X>
|
||||||
|
<Y> 265 </Y>
|
||||||
|
<Size> 14 </Size>
|
||||||
|
<Width>220</Width>
|
||||||
|
<Font> KanitMediumTTF </Font>
|
||||||
|
<Color> 0x6F5F51 </Color>
|
||||||
|
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||||
|
<State> "Invisible" </State>
|
||||||
|
<Value> Var( "฿" + $-.Price ) </Value>
|
||||||
|
</Text>
|
||||||
|
<Image>
|
||||||
|
<X> 81 </X>
|
||||||
|
<Y> 264 </Y>
|
||||||
|
<Filename> Var( DirImageDrinkOption + "cold.png" ) </Filename>
|
||||||
|
<FilenameDisable> Var( DirImageDrinkOption + "cold_db.png" ) </FilenameDisable>
|
||||||
|
<State> "Invisible" </State>
|
||||||
|
</Image>
|
||||||
|
<Text>
|
||||||
|
<X> 115 </X>
|
||||||
|
<Y> 265 </Y>
|
||||||
|
<Size> 14 </Size>
|
||||||
|
<Width>220</Width>
|
||||||
|
<Font> KanitMediumTTF </Font>
|
||||||
|
<Color> 0x6F5F51 </Color>
|
||||||
|
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||||
|
<State> "Invisible" </State>
|
||||||
|
<Value> Var( "฿" + $-.Price ) </Value>
|
||||||
|
</Text>
|
||||||
|
<Image>
|
||||||
|
<X> 146 </X>
|
||||||
|
<Y> 264 </Y>
|
||||||
|
<Filename> Var( DirImageDrinkOption + "blend.png" ) </Filename>
|
||||||
|
<FilenameDisable> Var( DirImageDrinkOption + "blend_db.png" ) </FilenameDisable>
|
||||||
|
<State> $12-02-03-0057.Button </State>
|
||||||
|
</Image>
|
||||||
|
<Text>
|
||||||
|
<X> 183 </X>
|
||||||
|
<Y> 264 </Y>
|
||||||
|
<Size> 14 </Size>
|
||||||
|
<Width>220</Width>
|
||||||
|
<Font> KanitMediumTTF </Font>
|
||||||
|
<Color> 0x6F5F51 </Color>
|
||||||
|
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||||
|
<State> $12-02-03-0057.Button </State>
|
||||||
|
<Value> Var( "฿" + $12-02-03-0057.Price ) </Value>
|
||||||
|
</Text>
|
||||||
|
<Image>
|
||||||
|
<X> 81 </X>
|
||||||
|
<Y> 264 </Y>
|
||||||
|
<State>
|
||||||
|
eval(
|
||||||
|
If ICE_PROCESS_STATUS = 2 Then
|
||||||
|
|
||||||
|
Var ice_tab_process_show = "Invisible"
|
||||||
|
|
||||||
|
Else
|
||||||
|
Var ice_tab_process_show = "Invisible"
|
||||||
|
EndIf
|
||||||
|
Var return = ice_tab_process_show
|
||||||
|
)
|
||||||
|
</State>
|
||||||
|
<Filename> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </Filename>
|
||||||
|
<FilenameDisable> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </FilenameDisable>
|
||||||
|
</Image>
|
||||||
|
<Image>
|
||||||
|
<X> 49 </X>
|
||||||
|
<Y> 117 </Y>
|
||||||
|
<State>
|
||||||
|
eval(
|
||||||
|
If $Sum1202030057 = "Disable" Then
|
||||||
|
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||||||
|
STRCONTAIN "ERR" $##-##-##-####.TAG tag2_is_disable
|
||||||
|
STRCONTAIN "ERR" $12-02-03-0057.TAG tag3_is_disable
|
||||||
|
Var return = "Invisible"
|
||||||
|
If tag1_is_disable = "true" Then
|
||||||
|
Var return = "Enable"
|
||||||
|
EndIf
|
||||||
|
If tag2_is_disable = "true" Then
|
||||||
|
Var return = "Enable"
|
||||||
|
EndIf
|
||||||
|
If tag3_is_disable = "true" Then
|
||||||
|
Var return = "Enable"
|
||||||
|
EndIf
|
||||||
|
Else
|
||||||
|
Var return = "Invisible"
|
||||||
|
EndIf
|
||||||
|
)
|
||||||
|
</State>
|
||||||
|
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
||||||
|
</Image>
|
||||||
|
<Text>
|
||||||
|
<X> 84 </X>
|
||||||
|
<Y> 266 </Y>
|
||||||
|
<Size> 10 </Size>
|
||||||
|
<Font> OpunMediumTTF </Font>
|
||||||
|
<Color> 0xDE794E </Color>
|
||||||
|
<State> ice_tab_process_show </State>
|
||||||
|
<Value> ice_show_open </Value>
|
||||||
|
</Text>
|
||||||
|
<Text>
|
||||||
|
<X> 48 </X>
|
||||||
|
<Y> 116 </Y>
|
||||||
|
<Size> 32 </Size>
|
||||||
|
<Width>128</Width>
|
||||||
|
<Height>64</Height>
|
||||||
|
<Font> MITRegularTTF </Font>
|
||||||
|
<Color> 0x5A5A5A </Color>
|
||||||
|
<Mode> "disable-show" </Mode>
|
||||||
|
<State> $Sum1202030057 </State>
|
||||||
|
<Value> text_unavailable </Value>
|
||||||
|
<Align> center-vertical-horizontal </Align>
|
||||||
|
</Text>
|
||||||
|
</Block>
|
||||||
|
; - - -
|
||||||
|
; ==================> Len = 12
|
||||||
|
; - - 12-02-03-0058
|
||||||
|
<Block>
|
||||||
|
<MarginLeft> 33 </MarginLeft>
|
||||||
|
<MarginTop> 22 </MarginTop>
|
||||||
|
<Width> 225 </Width>
|
||||||
|
<Height> 296 </Height>
|
||||||
|
<State> Flag( 12-02-03-0058.Button,Disable=Invisible,$Sum1202030058) </State>
|
||||||
|
<Button>
|
||||||
|
<State> $Sum1202030058 </State>
|
||||||
|
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_Caramel_ThaiTea_Oreo_smoothie_weekday_discount.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_Caramel_ThaiTea_Oreo_smoothie_weekday_discount.png" </FilenamePress>
|
||||||
|
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_Caramel_ThaiTea_Oreo_smoothie_weekday_discount.png" </FilenameDisable>
|
||||||
|
<OverlayImage> xmlpro( 12-02-03-0058, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||||||
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventOnClick>
|
||||||
|
Var NameDrink = "PREMIUM THAI TEA CARAMEL OREO"
|
||||||
|
Var NameDrinkTH = "พรีเมียมชาไทยคาราเมลโอริโอ้"
|
||||||
|
Var DrinkDescriptionTH = "ชาไทย นม คาลาเมล และ Oreo"
|
||||||
|
Var DrinkDescription = "Thai Tea, Milk, Caramel Syrup, Oreo"
|
||||||
|
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_Caramel_ThaiTea_Oreo_smoothie_weekday_discount.png"
|
||||||
|
Var OpenFromXML = CurrentXMLFileName2
|
||||||
|
GetInstanceIDMenuTab OpenFromInstMenuTab
|
||||||
|
Var PriceD1 = $-.Price
|
||||||
|
Var PriceD2 = $-.Price
|
||||||
|
Var PriceD3 = $12-02-03-0058.Price
|
||||||
|
Var PD_CODE1 = "##-##-##-####"
|
||||||
|
Var PD_CODE2 = "##-##-##-####"
|
||||||
|
Var PD_CODE3 = "12-02-03-0058"
|
||||||
|
Var PD_STAGE_1 = "Disable2"
|
||||||
|
Var PD_STAGE_2 = "Disable2"
|
||||||
|
Var PD_STAGE_3 = $12-02-03-0058.Button
|
||||||
|
Var OverlayMenuFilter !assigned xmlpro( 12-02-03-0058, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
||||||
|
DEBUGVAR OverlayMenuFilter
|
||||||
|
Var SelectCountDrinkType = 0
|
||||||
|
Var DefaultDrinkType = 0
|
||||||
|
If PD_STAGE_1 = "Enable" Then
|
||||||
|
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
||||||
|
Var DefaultDrinkType = 1
|
||||||
|
EndIf
|
||||||
|
If PD_STAGE_2 = "Enable" Then
|
||||||
|
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
||||||
|
Var DefaultDrinkType = 2
|
||||||
|
EndIf
|
||||||
|
If PD_STAGE_3 = "Enable" Then
|
||||||
|
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
||||||
|
Var DefaultDrinkType = 3
|
||||||
|
EndIf
|
||||||
|
If PD_STAGE_2 = "Enable" Then
|
||||||
|
Topping "Load" "-"
|
||||||
|
Else
|
||||||
|
If PD_STAGE_1 = "Enable" Then
|
||||||
|
Topping "Load" "-"
|
||||||
|
Else
|
||||||
|
Topping "Load" "12-02-03-0058"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
Var menu_name_eng_hot = $##-##-##-####.NameE
|
||||||
|
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
||||||
|
Var menu_name_thai_hot = $##-##-##-####.Name
|
||||||
|
Var menu_desc_thai_hot = $##-##-##-####.description
|
||||||
|
|
||||||
|
Var menu_name_eng_cold = $##-##-##-####.NameE
|
||||||
|
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
|
||||||
|
Var menu_name_thai_cold = $##-##-##-####.Name
|
||||||
|
Var menu_desc_thai_cold = $##-##-##-####.description
|
||||||
|
|
||||||
|
Var menu_name_eng_blender = $12-02-03-0058.NameE
|
||||||
|
Var menu_desc_eng_blender = $12-02-03-0058.descriptionE
|
||||||
|
Var menu_name_thai_blender = $12-02-03-0058.Name
|
||||||
|
Var menu_desc_thai_blender = $12-02-03-0058.description
|
||||||
|
|
||||||
|
DEBUGVAR PD_STAGE_1
|
||||||
|
DEBUGVAR PD_STAGE_2
|
||||||
|
DEBUGVAR PD_STAGE_3
|
||||||
|
Var SelectDrinkType = 0
|
||||||
|
|
||||||
|
|
||||||
|
TabMenuVisibleInst 99
|
||||||
|
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_topping_select5.xml"
|
||||||
|
|
||||||
|
</EventOnClick>
|
||||||
|
</Button>
|
||||||
|
<Text>
|
||||||
|
<X> 16 </X>
|
||||||
|
<Y> 164 </Y>
|
||||||
|
<Size> 24 </Size>
|
||||||
|
<Width>220</Width>
|
||||||
|
<Mode> "multi2" </Mode>
|
||||||
|
<Font> KanitMediumTTF </Font>
|
||||||
|
<Color> 0x322B26 </Color>
|
||||||
|
<State> showthaiText </State>
|
||||||
|
<Value> "พรีเมียมชาไทยคาราเมลโอริโอ้" </Value>
|
||||||
|
</Text>
|
||||||
|
<Text>
|
||||||
|
<X> 16 </X>
|
||||||
|
<Y> 220 </Y>
|
||||||
|
<Size> 14 </Size>
|
||||||
|
<Width>220</Width>
|
||||||
|
<Font> KanitMediumTTF </Font>
|
||||||
|
<Color> 0x6F5F51 </Color>
|
||||||
|
<State> showthaiText </State>
|
||||||
|
<Value> "ชาไทย นม คาลาเมล และ Oreo" </Value>
|
||||||
|
</Text>
|
||||||
|
<Text>
|
||||||
|
<X> 16 </X>
|
||||||
|
<Y> 164 </Y>
|
||||||
|
<Size> 22 </Size>
|
||||||
|
<Width>220</Width>
|
||||||
|
<Mode> "multi2" </Mode>
|
||||||
|
<Font> KanitMediumTTF </Font>
|
||||||
|
<Color> 0x322B26 </Color>
|
||||||
|
<State> showengText </State>
|
||||||
|
<Value> "PREMIUM THAI TEA CARAMEL OREO" </Value>
|
||||||
|
</Text>
|
||||||
|
<Text>
|
||||||
|
<X> 16 </X>
|
||||||
|
<Y> 220 </Y>
|
||||||
|
<Size> 14 </Size>
|
||||||
|
<Width>220</Width>
|
||||||
|
<Font> KanitMediumTTF </Font>
|
||||||
|
<Color> 0x6F5F51 </Color>
|
||||||
|
<State> showengText </State>
|
||||||
|
<Value> "Thai Tea, Milk, Caramel Syrup, Oreo" </Value>
|
||||||
|
</Text>
|
||||||
|
<Image>
|
||||||
|
<X> 16 </X>
|
||||||
|
<Y> 264 </Y>
|
||||||
|
<Filename> Var( DirImageDrinkOption + "option_deactive.png" ) </Filename>
|
||||||
|
</Image>
|
||||||
|
<Image>
|
||||||
|
<X> 16 </X>
|
||||||
|
<Y> 264 </Y>
|
||||||
|
<State> "Invisible" </State>
|
||||||
|
<Filename> Var( DirImageDrinkOption + "hot.png" ) </Filename>
|
||||||
|
<FilenameDisable> Var( DirImageDrinkOption + "hot_db.png" ) </FilenameDisable>
|
||||||
|
</Image>
|
||||||
|
<Text>
|
||||||
|
<X> 50 </X>
|
||||||
|
<Y> 265 </Y>
|
||||||
|
<Size> 14 </Size>
|
||||||
|
<Width>220</Width>
|
||||||
|
<Font> KanitMediumTTF </Font>
|
||||||
|
<Color> 0x6F5F51 </Color>
|
||||||
|
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||||
|
<State> "Invisible" </State>
|
||||||
|
<Value> Var( "฿" + $-.Price ) </Value>
|
||||||
|
</Text>
|
||||||
|
<Image>
|
||||||
|
<X> 81 </X>
|
||||||
|
<Y> 264 </Y>
|
||||||
|
<Filename> Var( DirImageDrinkOption + "cold.png" ) </Filename>
|
||||||
|
<FilenameDisable> Var( DirImageDrinkOption + "cold_db.png" ) </FilenameDisable>
|
||||||
|
<State> "Invisible" </State>
|
||||||
|
</Image>
|
||||||
|
<Text>
|
||||||
|
<X> 115 </X>
|
||||||
|
<Y> 265 </Y>
|
||||||
|
<Size> 14 </Size>
|
||||||
|
<Width>220</Width>
|
||||||
|
<Font> KanitMediumTTF </Font>
|
||||||
|
<Color> 0x6F5F51 </Color>
|
||||||
|
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||||
|
<State> "Invisible" </State>
|
||||||
|
<Value> Var( "฿" + $-.Price ) </Value>
|
||||||
|
</Text>
|
||||||
|
<Image>
|
||||||
|
<X> 146 </X>
|
||||||
|
<Y> 264 </Y>
|
||||||
|
<Filename> Var( DirImageDrinkOption + "blend.png" ) </Filename>
|
||||||
|
<FilenameDisable> Var( DirImageDrinkOption + "blend_db.png" ) </FilenameDisable>
|
||||||
|
<State> $12-02-03-0058.Button </State>
|
||||||
|
</Image>
|
||||||
|
<Text>
|
||||||
|
<X> 183 </X>
|
||||||
|
<Y> 264 </Y>
|
||||||
|
<Size> 14 </Size>
|
||||||
|
<Width>220</Width>
|
||||||
|
<Font> KanitMediumTTF </Font>
|
||||||
|
<Color> 0x6F5F51 </Color>
|
||||||
|
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||||
|
<State> $12-02-03-0058.Button </State>
|
||||||
|
<Value> Var( "฿" + $12-02-03-0058.Price ) </Value>
|
||||||
|
</Text>
|
||||||
|
<Image>
|
||||||
|
<X> 81 </X>
|
||||||
|
<Y> 264 </Y>
|
||||||
|
<State>
|
||||||
|
eval(
|
||||||
|
If ICE_PROCESS_STATUS = 2 Then
|
||||||
|
|
||||||
|
Var ice_tab_process_show = "Invisible"
|
||||||
|
|
||||||
|
Else
|
||||||
|
Var ice_tab_process_show = "Invisible"
|
||||||
|
EndIf
|
||||||
|
Var return = ice_tab_process_show
|
||||||
|
)
|
||||||
|
</State>
|
||||||
|
<Filename> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </Filename>
|
||||||
|
<FilenameDisable> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </FilenameDisable>
|
||||||
|
</Image>
|
||||||
|
<Image>
|
||||||
|
<X> 49 </X>
|
||||||
|
<Y> 117 </Y>
|
||||||
|
<State>
|
||||||
|
eval(
|
||||||
|
If $Sum1202030058 = "Disable" Then
|
||||||
|
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||||||
|
STRCONTAIN "ERR" $##-##-##-####.TAG tag2_is_disable
|
||||||
|
STRCONTAIN "ERR" $12-02-03-0058.TAG tag3_is_disable
|
||||||
|
Var return = "Invisible"
|
||||||
|
If tag1_is_disable = "true" Then
|
||||||
|
Var return = "Enable"
|
||||||
|
EndIf
|
||||||
|
If tag2_is_disable = "true" Then
|
||||||
|
Var return = "Enable"
|
||||||
|
EndIf
|
||||||
|
If tag3_is_disable = "true" Then
|
||||||
|
Var return = "Enable"
|
||||||
|
EndIf
|
||||||
|
Else
|
||||||
|
Var return = "Invisible"
|
||||||
|
EndIf
|
||||||
|
)
|
||||||
|
</State>
|
||||||
|
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
||||||
|
</Image>
|
||||||
|
<Text>
|
||||||
|
<X> 84 </X>
|
||||||
|
<Y> 266 </Y>
|
||||||
|
<Size> 10 </Size>
|
||||||
|
<Font> OpunMediumTTF </Font>
|
||||||
|
<Color> 0xDE794E </Color>
|
||||||
|
<State> ice_tab_process_show </State>
|
||||||
|
<Value> ice_show_open </Value>
|
||||||
|
</Text>
|
||||||
|
<Text>
|
||||||
|
<X> 48 </X>
|
||||||
|
<Y> 116 </Y>
|
||||||
|
<Size> 32 </Size>
|
||||||
|
<Width>128</Width>
|
||||||
|
<Height>64</Height>
|
||||||
|
<Font> MITRegularTTF </Font>
|
||||||
|
<Color> 0x5A5A5A </Color>
|
||||||
|
<Mode> "disable-show" </Mode>
|
||||||
|
<State> $Sum1202030058 </State>
|
||||||
|
<Value> text_unavailable </Value>
|
||||||
|
<Align> center-vertical-horizontal </Align>
|
||||||
|
</Text>
|
||||||
|
</Block>
|
||||||
|
; - - -
|
||||||
|
; ==================> Len = 12
|
||||||
; - - 12-05-03-0092
|
; - - 12-05-03-0092
|
||||||
<Block>
|
<Block>
|
||||||
<MarginLeft> 33 </MarginLeft>
|
<MarginLeft> 33 </MarginLeft>
|
||||||
|
|
|
||||||
|
|
@ -258,6 +258,13 @@
|
||||||
Var EnableTopupCreditBetweenBrew = "Invisible"
|
Var EnableTopupCreditBetweenBrew = "Invisible"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
If ModeFreeEnable = 1 Then
|
||||||
|
Var SelectMenuBetweenBrewEnable1Blink = "Invisible"
|
||||||
|
Var SelectMenuBetweenBrewEnable1 = "Invisible"
|
||||||
|
Var EnableTopupCreditBetweenBrew = "Invisible"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
If SELLSTATUS = "DEACTIVE" Then
|
If SELLSTATUS = "DEACTIVE" Then
|
||||||
Var SelectMenuBetweenBrewEnable1Blink = "Invisible"
|
Var SelectMenuBetweenBrewEnable1Blink = "Invisible"
|
||||||
Var SelectMenuBetweenBrewEnable1 = "Invisible"
|
Var SelectMenuBetweenBrewEnable1 = "Invisible"
|
||||||
|
|
|
||||||
|
|
@ -354,6 +354,35 @@
|
||||||
Var PayO2 = Seeker.CoffeePinNumber
|
Var PayO2 = Seeker.CoffeePinNumber
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
; Reject by app close order
|
||||||
|
; XML must send pay detail by myself.
|
||||||
|
SAVELOG " Cannot conti with new payment"
|
||||||
|
|
||||||
|
If NextOrderStatus = "Disable" Then
|
||||||
|
Var PayDetail="1/F:1221/0/"
|
||||||
|
Var PayDetail = PayDetail + "/XML|"
|
||||||
|
Var PayDetail = PayDetail + Seeker.OrderChanel
|
||||||
|
Else
|
||||||
|
DEBUGVAR error_code_stop_now
|
||||||
|
|
||||||
|
If error_code_stop_now > 0 Then
|
||||||
|
Var PayDetail = "1/F:" + error_code_stop_now
|
||||||
|
Var PayDetail = PayDetail + "/0/"
|
||||||
|
Var PayDetail = PayDetail + "/XML|"
|
||||||
|
Var PayDetail = PayDetail + Seeker.OrderChanel
|
||||||
|
Else
|
||||||
|
|
||||||
|
Var PayDetail = "1/" + HURR_FOREVER
|
||||||
|
Var PayDetail = PayDetail + "/"
|
||||||
|
Var PayDetail = PayDetail + ""
|
||||||
|
Var PayDetail = PayDetail + "/"
|
||||||
|
Var PayDetail = PayDetail + ""
|
||||||
|
Var PayDetail = PayDetail + "/XML|"
|
||||||
|
Var PayDetail = PayDetail + Seeker.OrderChanel
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
Var ServiceType = "coffee-refund"
|
Var ServiceType = "coffee-refund"
|
||||||
Var ServiceCredit = SelectDrink
|
Var ServiceCredit = SelectDrink
|
||||||
Var SuggestID = ""
|
Var SuggestID = ""
|
||||||
|
|
|
||||||
|
|
@ -1320,7 +1320,7 @@ and 7Up" </Value>
|
||||||
<EventOnClick>
|
<EventOnClick>
|
||||||
Var NameDrink = "Foul Metta"
|
Var NameDrink = "Foul Metta"
|
||||||
Var NameDrinkTH = "เมตามหาโสมม"
|
Var NameDrinkTH = "เมตามหาโสมม"
|
||||||
Var DrinkDescriptionTH = "ชามะลิ น้ำเชี่ยมสละ 7up และโซดา"
|
Var DrinkDescriptionTH = "ชามะลิ น้ำเชี่อมสละ 7up และโซดา"
|
||||||
Var DrinkDescription = "Jasmine tea, Ume syrup, 7Up and Soda"
|
Var DrinkDescription = "Jasmine tea, Ume syrup, 7Up and Soda"
|
||||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_7UP_Jasmin_Plum_Soda_halloween.png"
|
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_7UP_Jasmin_Plum_Soda_halloween.png"
|
||||||
Var OpenFromXML = CurrentXMLFileName2
|
Var OpenFromXML = CurrentXMLFileName2
|
||||||
|
|
@ -1403,7 +1403,7 @@ and 7Up" </Value>
|
||||||
<Font> KanitMediumTTF </Font>
|
<Font> KanitMediumTTF </Font>
|
||||||
<Color> 0xFFFFFF </Color>
|
<Color> 0xFFFFFF </Color>
|
||||||
<State> showthaiText </State>
|
<State> showthaiText </State>
|
||||||
<Value> "ชามะลิ น้ำเชี่ยมสละ 7up และโซดา" </Value>
|
<Value> "ชามะลิ น้ำเชี่อมสละ 7up และโซดา" </Value>
|
||||||
</Text>
|
</Text>
|
||||||
<Text>
|
<Text>
|
||||||
<X> 16 </X>
|
<X> 16 </X>
|
||||||
|
|
|
||||||
|
|
@ -94,7 +94,7 @@
|
||||||
</QRCode>
|
</QRCode>
|
||||||
</Block>
|
</Block>
|
||||||
;dummy_layout.inc
|
;dummy_layout.inc
|
||||||
; menu_new_list 51
|
; menu_new_list 54
|
||||||
;TAGESP
|
;TAGESP
|
||||||
; ==================> Len = 17
|
; ==================> Len = 17
|
||||||
; 12-02-01-0039 12-02-02-0039 12-02-03-0039
|
; 12-02-01-0039 12-02-02-0039 12-02-03-0039
|
||||||
|
|
@ -353,6 +353,759 @@
|
||||||
; - - -
|
; - - -
|
||||||
;TAGESP
|
;TAGESP
|
||||||
; ==================> Len = 12
|
; ==================> Len = 12
|
||||||
|
; - - 12-01-03-0078
|
||||||
|
<Block>
|
||||||
|
<MarginLeft> 33 </MarginLeft>
|
||||||
|
<MarginTop> 22 </MarginTop>
|
||||||
|
<Width> 225 </Width>
|
||||||
|
<Height> 296 </Height>
|
||||||
|
<State> Flag( 12-01-03-0078.Button,Disable=Invisible,$Sum1201030078) </State>
|
||||||
|
<Button>
|
||||||
|
<State> $Sum1201030078 </State>
|
||||||
|
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_Caramel_Espresso_Oreo_smoothie_weekday_discount.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_Caramel_Espresso_Oreo_smoothie_weekday_discount.png" </FilenamePress>
|
||||||
|
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_Caramel_Espresso_Oreo_smoothie_weekday_discount.png" </FilenameDisable>
|
||||||
|
<OverlayImage> xmlpro( 12-01-03-0078, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||||||
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventOnClick>
|
||||||
|
Var NameDrink = "PREMIUM ESPRESSO CARAMEL OREO"
|
||||||
|
Var NameDrinkTH = "พรีเมียมเอสเพรสโซ่คาราเมลโอริโอ้"
|
||||||
|
Var DrinkDescriptionTH = "กาแฟ นม คาลาเมล และ Oreo"
|
||||||
|
Var DrinkDescription = "Coffee, Milk, Caramel Syrup, Oreo"
|
||||||
|
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_Caramel_Espresso_Oreo_smoothie_weekday_discount.png"
|
||||||
|
Var OpenFromXML = CurrentXMLFileName2
|
||||||
|
Var PriceD1 = $-.Price
|
||||||
|
Var PriceD2 = $-.Price
|
||||||
|
Var PriceD3 = $12-01-03-0078.Price
|
||||||
|
Var PD_CODE1 = "##-##-##-####"
|
||||||
|
Var PD_CODE2 = "##-##-##-####"
|
||||||
|
Var PD_CODE3 = "12-01-03-0078"
|
||||||
|
Var PD_STAGE_1 = "Disable2"
|
||||||
|
Var PD_STAGE_2 = "Disable2"
|
||||||
|
Var PD_STAGE_3 = $12-01-03-0078.Button
|
||||||
|
Var OverlayMenuFilter !assigned xmlpro( 12-01-03-0078, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
||||||
|
DEBUGVAR OverlayMenuFilter
|
||||||
|
Var SelectCountDrinkType = 0
|
||||||
|
Var DefaultDrinkType = 0
|
||||||
|
If PD_STAGE_1 = "Enable" Then
|
||||||
|
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
||||||
|
Var DefaultDrinkType = 1
|
||||||
|
EndIf
|
||||||
|
If PD_STAGE_2 = "Enable" Then
|
||||||
|
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
||||||
|
Var DefaultDrinkType = 2
|
||||||
|
EndIf
|
||||||
|
If PD_STAGE_3 = "Enable" Then
|
||||||
|
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
||||||
|
Var DefaultDrinkType = 3
|
||||||
|
EndIf
|
||||||
|
If PD_STAGE_2 = "Enable" Then
|
||||||
|
Topping "Load" "-"
|
||||||
|
Else
|
||||||
|
If PD_STAGE_1 = "Enable" Then
|
||||||
|
Topping "Load" "-"
|
||||||
|
Else
|
||||||
|
Topping "Load" "12-01-03-0078"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
Var menu_name_eng_hot = $##-##-##-####.NameE
|
||||||
|
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
||||||
|
Var menu_name_thai_hot = $##-##-##-####.Name
|
||||||
|
Var menu_desc_thai_hot = $##-##-##-####.description
|
||||||
|
|
||||||
|
Var menu_name_eng_cold = $##-##-##-####.NameE
|
||||||
|
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
|
||||||
|
Var menu_name_thai_cold = $##-##-##-####.Name
|
||||||
|
Var menu_desc_thai_cold = $##-##-##-####.description
|
||||||
|
|
||||||
|
Var menu_name_eng_blender = $12-01-03-0078.NameE
|
||||||
|
Var menu_desc_eng_blender = $12-01-03-0078.descriptionE
|
||||||
|
Var menu_name_thai_blender = $12-01-03-0078.Name
|
||||||
|
Var menu_desc_thai_blender = $12-01-03-0078.description
|
||||||
|
|
||||||
|
DEBUGVAR PD_STAGE_1
|
||||||
|
DEBUGVAR PD_STAGE_2
|
||||||
|
DEBUGVAR PD_STAGE_3
|
||||||
|
Var SelectDrinkType = 0
|
||||||
|
|
||||||
|
Var OpenFromInstMenuTab = 0
|
||||||
|
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
||||||
|
|
||||||
|
</EventOnClick>
|
||||||
|
</Button>
|
||||||
|
<Text>
|
||||||
|
<X> 16 </X>
|
||||||
|
<Y> 164 </Y>
|
||||||
|
<Size> 24 </Size>
|
||||||
|
<Width>220</Width>
|
||||||
|
<Mode> "multi2" </Mode>
|
||||||
|
<Font> KanitMediumTTF </Font>
|
||||||
|
<Color> 0x322B26 </Color>
|
||||||
|
<State> showthaiText </State>
|
||||||
|
<Value> "พรีเมียมเอสเพรสโซ่คาราเมลโอริโอ้" </Value>
|
||||||
|
</Text>
|
||||||
|
<Text>
|
||||||
|
<X> 16 </X>
|
||||||
|
<Y> 220 </Y>
|
||||||
|
<Size> 14 </Size>
|
||||||
|
<Width>220</Width>
|
||||||
|
<Font> KanitMediumTTF </Font>
|
||||||
|
<Color> 0x6F5F51 </Color>
|
||||||
|
<State> showthaiText </State>
|
||||||
|
<Value> "กาแฟ นม คาลาเมล และ Oreo" </Value>
|
||||||
|
</Text>
|
||||||
|
<Text>
|
||||||
|
<X> 16 </X>
|
||||||
|
<Y> 164 </Y>
|
||||||
|
<Size> 22 </Size>
|
||||||
|
<Width>220</Width>
|
||||||
|
<Mode> "multi2" </Mode>
|
||||||
|
<Font> KanitMediumTTF </Font>
|
||||||
|
<Color> 0x322B26 </Color>
|
||||||
|
<State> showengText </State>
|
||||||
|
<Value> "PREMIUM ESPRESSO CARAMEL OREO" </Value>
|
||||||
|
</Text>
|
||||||
|
<Text>
|
||||||
|
<X> 16 </X>
|
||||||
|
<Y> 220 </Y>
|
||||||
|
<Size> 14 </Size>
|
||||||
|
<Width>220</Width>
|
||||||
|
<Font> KanitMediumTTF </Font>
|
||||||
|
<Color> 0x6F5F51 </Color>
|
||||||
|
<State> showengText </State>
|
||||||
|
<Value> "Coffee, Milk, Caramel Syrup, Oreo" </Value>
|
||||||
|
</Text>
|
||||||
|
<Image>
|
||||||
|
<X> 16 </X>
|
||||||
|
<Y> 264 </Y>
|
||||||
|
<Filename> Var( DirImage2 + "option_deactive.png" ) </Filename>
|
||||||
|
</Image>
|
||||||
|
<Image>
|
||||||
|
<X> 16 </X>
|
||||||
|
<Y> 264 </Y>
|
||||||
|
<State> "Invisible" </State>
|
||||||
|
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
|
||||||
|
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
|
||||||
|
</Image>
|
||||||
|
<Text>
|
||||||
|
<X> 50 </X>
|
||||||
|
<Y> TextPriceMenuY </Y>
|
||||||
|
<Size> TextPriceMenuSize </Size>
|
||||||
|
<Width>220</Width>
|
||||||
|
<Font> KanitMediumTTF </Font>
|
||||||
|
<Color> 0x6F5F51 </Color>
|
||||||
|
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||||
|
<State> "Invisible" </State>
|
||||||
|
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||||
|
</Text>
|
||||||
|
<Image>
|
||||||
|
<X> 81 </X>
|
||||||
|
<Y> 264 </Y>
|
||||||
|
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
||||||
|
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
||||||
|
<State> "Invisible" </State>
|
||||||
|
</Image>
|
||||||
|
<Text>
|
||||||
|
<X> 115 </X>
|
||||||
|
<Y> TextPriceMenuY </Y>
|
||||||
|
<Size> TextPriceMenuSize </Size>
|
||||||
|
<Width>220</Width>
|
||||||
|
<Font> KanitMediumTTF </Font>
|
||||||
|
<Color> 0x6F5F51 </Color>
|
||||||
|
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||||
|
<State> "Invisible" </State>
|
||||||
|
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||||
|
</Text>
|
||||||
|
<Image>
|
||||||
|
<X> 146 </X>
|
||||||
|
<Y> 264 </Y>
|
||||||
|
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||||||
|
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||||||
|
<State> $12-01-03-0078.Button </State>
|
||||||
|
</Image>
|
||||||
|
<Text>
|
||||||
|
<X> 180 </X>
|
||||||
|
<Y> TextPriceMenuY </Y>
|
||||||
|
<Size> TextPriceMenuSize </Size>
|
||||||
|
<Width>220</Width>
|
||||||
|
<Font> KanitRegularTTF </Font>
|
||||||
|
<Color> 0x6F5F51 </Color>
|
||||||
|
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||||
|
<State> $12-01-03-0078.Button </State>
|
||||||
|
<Value> StringFmt( $12-01-03-0078.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||||
|
</Text>
|
||||||
|
<Image>
|
||||||
|
<X> 81 </X>
|
||||||
|
<Y> 264 </Y>
|
||||||
|
<State>
|
||||||
|
eval(
|
||||||
|
If ICE_PROCESS_STATUS = 2 Then
|
||||||
|
|
||||||
|
Var ice_tab_process_show = "Invisible"
|
||||||
|
|
||||||
|
Else
|
||||||
|
Var ice_tab_process_show = "Invisible"
|
||||||
|
EndIf
|
||||||
|
Var return = ice_tab_process_show
|
||||||
|
)
|
||||||
|
</State>
|
||||||
|
<Filename> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </Filename>
|
||||||
|
<FilenameDisable> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </FilenameDisable>
|
||||||
|
</Image>
|
||||||
|
<Image>
|
||||||
|
<X> 49 </X>
|
||||||
|
<Y> 117 </Y>
|
||||||
|
<State>
|
||||||
|
eval(
|
||||||
|
If $Sum1201030078 = "Disable" Then
|
||||||
|
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||||||
|
STRCONTAIN "ERR" $##-##-##-####.TAG tag2_is_disable
|
||||||
|
STRCONTAIN "ERR" $12-01-03-0078.TAG tag3_is_disable
|
||||||
|
Var return = "Invisible"
|
||||||
|
If tag1_is_disable = "true" Then
|
||||||
|
Var return = "Enable"
|
||||||
|
EndIf
|
||||||
|
If tag2_is_disable = "true" Then
|
||||||
|
Var return = "Enable"
|
||||||
|
EndIf
|
||||||
|
If tag3_is_disable = "true" Then
|
||||||
|
Var return = "Enable"
|
||||||
|
EndIf
|
||||||
|
Else
|
||||||
|
Var return = "Invisible"
|
||||||
|
EndIf
|
||||||
|
)
|
||||||
|
</State>
|
||||||
|
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
||||||
|
</Image>
|
||||||
|
<Text>
|
||||||
|
<X> 84 </X>
|
||||||
|
<Y> 266 </Y>
|
||||||
|
<Size> 10 </Size>
|
||||||
|
<Font> OpunMediumTTF </Font>
|
||||||
|
<Color> 0xDE794E </Color>
|
||||||
|
<State> ice_tab_process_show </State>
|
||||||
|
<Value> ice_show_open </Value>
|
||||||
|
</Text>
|
||||||
|
<Text>
|
||||||
|
<X> 48 </X>
|
||||||
|
<Y> 116 </Y>
|
||||||
|
<Size> 32 </Size>
|
||||||
|
<Width>128</Width>
|
||||||
|
<Height>64</Height>
|
||||||
|
<Font> MITRegularTTF </Font>
|
||||||
|
<Color> 0x5A5A5A </Color>
|
||||||
|
<Mode> "disable-show" </Mode>
|
||||||
|
<State> $Sum1201030078 </State>
|
||||||
|
<Value> text_unavailable </Value>
|
||||||
|
<Align> center-vertical-horizontal </Align>
|
||||||
|
</Text>
|
||||||
|
</Block>
|
||||||
|
; - - -
|
||||||
|
; ==================> Len = 12
|
||||||
|
; - - 12-02-03-0057
|
||||||
|
<Block>
|
||||||
|
<MarginLeft> 33 </MarginLeft>
|
||||||
|
<MarginTop> 22 </MarginTop>
|
||||||
|
<Width> 225 </Width>
|
||||||
|
<Height> 296 </Height>
|
||||||
|
<State> Flag( 12-02-03-0057.Button,Disable=Invisible,$Sum1202030057) </State>
|
||||||
|
<Button>
|
||||||
|
<State> $Sum1202030057 </State>
|
||||||
|
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_Caramel_GreenTea_Oreo_smoothie_weekday_discount.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_Caramel_GreenTea_Oreo_smoothie_weekday_discount.png" </FilenamePress>
|
||||||
|
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_Caramel_GreenTea_Oreo_smoothie_weekday_discount.png" </FilenameDisable>
|
||||||
|
<OverlayImage> xmlpro( 12-02-03-0057, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||||||
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventOnClick>
|
||||||
|
Var NameDrink = "PREMIUM GREEN TEA CARAMEL OREO"
|
||||||
|
Var NameDrinkTH = "พรีเมียมมัทฉะคาราเมลโอริโอ้"
|
||||||
|
Var DrinkDescriptionTH = "มัทฉะ นม คาลาเมล และ Oreo"
|
||||||
|
Var DrinkDescription = "Matcha, Milk, Caramel Syrup, Oreo"
|
||||||
|
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_Caramel_GreenTea_Oreo_smoothie_weekday_discount.png"
|
||||||
|
Var OpenFromXML = CurrentXMLFileName2
|
||||||
|
Var PriceD1 = $-.Price
|
||||||
|
Var PriceD2 = $-.Price
|
||||||
|
Var PriceD3 = $12-02-03-0057.Price
|
||||||
|
Var PD_CODE1 = "##-##-##-####"
|
||||||
|
Var PD_CODE2 = "##-##-##-####"
|
||||||
|
Var PD_CODE3 = "12-02-03-0057"
|
||||||
|
Var PD_STAGE_1 = "Disable2"
|
||||||
|
Var PD_STAGE_2 = "Disable2"
|
||||||
|
Var PD_STAGE_3 = $12-02-03-0057.Button
|
||||||
|
Var OverlayMenuFilter !assigned xmlpro( 12-02-03-0057, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
||||||
|
DEBUGVAR OverlayMenuFilter
|
||||||
|
Var SelectCountDrinkType = 0
|
||||||
|
Var DefaultDrinkType = 0
|
||||||
|
If PD_STAGE_1 = "Enable" Then
|
||||||
|
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
||||||
|
Var DefaultDrinkType = 1
|
||||||
|
EndIf
|
||||||
|
If PD_STAGE_2 = "Enable" Then
|
||||||
|
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
||||||
|
Var DefaultDrinkType = 2
|
||||||
|
EndIf
|
||||||
|
If PD_STAGE_3 = "Enable" Then
|
||||||
|
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
||||||
|
Var DefaultDrinkType = 3
|
||||||
|
EndIf
|
||||||
|
If PD_STAGE_2 = "Enable" Then
|
||||||
|
Topping "Load" "-"
|
||||||
|
Else
|
||||||
|
If PD_STAGE_1 = "Enable" Then
|
||||||
|
Topping "Load" "-"
|
||||||
|
Else
|
||||||
|
Topping "Load" "12-02-03-0057"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
Var menu_name_eng_hot = $##-##-##-####.NameE
|
||||||
|
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
||||||
|
Var menu_name_thai_hot = $##-##-##-####.Name
|
||||||
|
Var menu_desc_thai_hot = $##-##-##-####.description
|
||||||
|
|
||||||
|
Var menu_name_eng_cold = $##-##-##-####.NameE
|
||||||
|
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
|
||||||
|
Var menu_name_thai_cold = $##-##-##-####.Name
|
||||||
|
Var menu_desc_thai_cold = $##-##-##-####.description
|
||||||
|
|
||||||
|
Var menu_name_eng_blender = $12-02-03-0057.NameE
|
||||||
|
Var menu_desc_eng_blender = $12-02-03-0057.descriptionE
|
||||||
|
Var menu_name_thai_blender = $12-02-03-0057.Name
|
||||||
|
Var menu_desc_thai_blender = $12-02-03-0057.description
|
||||||
|
|
||||||
|
DEBUGVAR PD_STAGE_1
|
||||||
|
DEBUGVAR PD_STAGE_2
|
||||||
|
DEBUGVAR PD_STAGE_3
|
||||||
|
Var SelectDrinkType = 0
|
||||||
|
|
||||||
|
Var OpenFromInstMenuTab = 0
|
||||||
|
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
||||||
|
|
||||||
|
</EventOnClick>
|
||||||
|
</Button>
|
||||||
|
<Text>
|
||||||
|
<X> 16 </X>
|
||||||
|
<Y> 164 </Y>
|
||||||
|
<Size> 24 </Size>
|
||||||
|
<Width>220</Width>
|
||||||
|
<Mode> "multi2" </Mode>
|
||||||
|
<Font> KanitMediumTTF </Font>
|
||||||
|
<Color> 0x322B26 </Color>
|
||||||
|
<State> showthaiText </State>
|
||||||
|
<Value> "พรีเมียมมัทฉะคาราเมลโอริโอ้" </Value>
|
||||||
|
</Text>
|
||||||
|
<Text>
|
||||||
|
<X> 16 </X>
|
||||||
|
<Y> 220 </Y>
|
||||||
|
<Size> 14 </Size>
|
||||||
|
<Width>220</Width>
|
||||||
|
<Font> KanitMediumTTF </Font>
|
||||||
|
<Color> 0x6F5F51 </Color>
|
||||||
|
<State> showthaiText </State>
|
||||||
|
<Value> "มัทฉะ นม คาลาเมล และ Oreo" </Value>
|
||||||
|
</Text>
|
||||||
|
<Text>
|
||||||
|
<X> 16 </X>
|
||||||
|
<Y> 164 </Y>
|
||||||
|
<Size> 22 </Size>
|
||||||
|
<Width>220</Width>
|
||||||
|
<Mode> "multi2" </Mode>
|
||||||
|
<Font> KanitMediumTTF </Font>
|
||||||
|
<Color> 0x322B26 </Color>
|
||||||
|
<State> showengText </State>
|
||||||
|
<Value> "PREMIUM GREEN TEA CARAMEL OREO" </Value>
|
||||||
|
</Text>
|
||||||
|
<Text>
|
||||||
|
<X> 16 </X>
|
||||||
|
<Y> 220 </Y>
|
||||||
|
<Size> 14 </Size>
|
||||||
|
<Width>220</Width>
|
||||||
|
<Font> KanitMediumTTF </Font>
|
||||||
|
<Color> 0x6F5F51 </Color>
|
||||||
|
<State> showengText </State>
|
||||||
|
<Value> "Matcha, Milk, Caramel Syrup, Oreo" </Value>
|
||||||
|
</Text>
|
||||||
|
<Image>
|
||||||
|
<X> 16 </X>
|
||||||
|
<Y> 264 </Y>
|
||||||
|
<Filename> Var( DirImage2 + "option_deactive.png" ) </Filename>
|
||||||
|
</Image>
|
||||||
|
<Image>
|
||||||
|
<X> 16 </X>
|
||||||
|
<Y> 264 </Y>
|
||||||
|
<State> "Invisible" </State>
|
||||||
|
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
|
||||||
|
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
|
||||||
|
</Image>
|
||||||
|
<Text>
|
||||||
|
<X> 50 </X>
|
||||||
|
<Y> TextPriceMenuY </Y>
|
||||||
|
<Size> TextPriceMenuSize </Size>
|
||||||
|
<Width>220</Width>
|
||||||
|
<Font> KanitMediumTTF </Font>
|
||||||
|
<Color> 0x6F5F51 </Color>
|
||||||
|
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||||
|
<State> "Invisible" </State>
|
||||||
|
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||||
|
</Text>
|
||||||
|
<Image>
|
||||||
|
<X> 81 </X>
|
||||||
|
<Y> 264 </Y>
|
||||||
|
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
||||||
|
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
||||||
|
<State> "Invisible" </State>
|
||||||
|
</Image>
|
||||||
|
<Text>
|
||||||
|
<X> 115 </X>
|
||||||
|
<Y> TextPriceMenuY </Y>
|
||||||
|
<Size> TextPriceMenuSize </Size>
|
||||||
|
<Width>220</Width>
|
||||||
|
<Font> KanitMediumTTF </Font>
|
||||||
|
<Color> 0x6F5F51 </Color>
|
||||||
|
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||||
|
<State> "Invisible" </State>
|
||||||
|
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||||
|
</Text>
|
||||||
|
<Image>
|
||||||
|
<X> 146 </X>
|
||||||
|
<Y> 264 </Y>
|
||||||
|
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||||||
|
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||||||
|
<State> $12-02-03-0057.Button </State>
|
||||||
|
</Image>
|
||||||
|
<Text>
|
||||||
|
<X> 180 </X>
|
||||||
|
<Y> TextPriceMenuY </Y>
|
||||||
|
<Size> TextPriceMenuSize </Size>
|
||||||
|
<Width>220</Width>
|
||||||
|
<Font> KanitRegularTTF </Font>
|
||||||
|
<Color> 0x6F5F51 </Color>
|
||||||
|
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||||
|
<State> $12-02-03-0057.Button </State>
|
||||||
|
<Value> StringFmt( $12-02-03-0057.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||||
|
</Text>
|
||||||
|
<Image>
|
||||||
|
<X> 81 </X>
|
||||||
|
<Y> 264 </Y>
|
||||||
|
<State>
|
||||||
|
eval(
|
||||||
|
If ICE_PROCESS_STATUS = 2 Then
|
||||||
|
|
||||||
|
Var ice_tab_process_show = "Invisible"
|
||||||
|
|
||||||
|
Else
|
||||||
|
Var ice_tab_process_show = "Invisible"
|
||||||
|
EndIf
|
||||||
|
Var return = ice_tab_process_show
|
||||||
|
)
|
||||||
|
</State>
|
||||||
|
<Filename> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </Filename>
|
||||||
|
<FilenameDisable> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </FilenameDisable>
|
||||||
|
</Image>
|
||||||
|
<Image>
|
||||||
|
<X> 49 </X>
|
||||||
|
<Y> 117 </Y>
|
||||||
|
<State>
|
||||||
|
eval(
|
||||||
|
If $Sum1202030057 = "Disable" Then
|
||||||
|
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||||||
|
STRCONTAIN "ERR" $##-##-##-####.TAG tag2_is_disable
|
||||||
|
STRCONTAIN "ERR" $12-02-03-0057.TAG tag3_is_disable
|
||||||
|
Var return = "Invisible"
|
||||||
|
If tag1_is_disable = "true" Then
|
||||||
|
Var return = "Enable"
|
||||||
|
EndIf
|
||||||
|
If tag2_is_disable = "true" Then
|
||||||
|
Var return = "Enable"
|
||||||
|
EndIf
|
||||||
|
If tag3_is_disable = "true" Then
|
||||||
|
Var return = "Enable"
|
||||||
|
EndIf
|
||||||
|
Else
|
||||||
|
Var return = "Invisible"
|
||||||
|
EndIf
|
||||||
|
)
|
||||||
|
</State>
|
||||||
|
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
||||||
|
</Image>
|
||||||
|
<Text>
|
||||||
|
<X> 84 </X>
|
||||||
|
<Y> 266 </Y>
|
||||||
|
<Size> 10 </Size>
|
||||||
|
<Font> OpunMediumTTF </Font>
|
||||||
|
<Color> 0xDE794E </Color>
|
||||||
|
<State> ice_tab_process_show </State>
|
||||||
|
<Value> ice_show_open </Value>
|
||||||
|
</Text>
|
||||||
|
<Text>
|
||||||
|
<X> 48 </X>
|
||||||
|
<Y> 116 </Y>
|
||||||
|
<Size> 32 </Size>
|
||||||
|
<Width>128</Width>
|
||||||
|
<Height>64</Height>
|
||||||
|
<Font> MITRegularTTF </Font>
|
||||||
|
<Color> 0x5A5A5A </Color>
|
||||||
|
<Mode> "disable-show" </Mode>
|
||||||
|
<State> $Sum1202030057 </State>
|
||||||
|
<Value> text_unavailable </Value>
|
||||||
|
<Align> center-vertical-horizontal </Align>
|
||||||
|
</Text>
|
||||||
|
</Block>
|
||||||
|
; - - -
|
||||||
|
; ==================> Len = 12
|
||||||
|
; - - 12-02-03-0058
|
||||||
|
<Block>
|
||||||
|
<MarginLeft> 33 </MarginLeft>
|
||||||
|
<MarginTop> 22 </MarginTop>
|
||||||
|
<Width> 225 </Width>
|
||||||
|
<Height> 296 </Height>
|
||||||
|
<State> Flag( 12-02-03-0058.Button,Disable=Invisible,$Sum1202030058) </State>
|
||||||
|
<Button>
|
||||||
|
<State> $Sum1202030058 </State>
|
||||||
|
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_Caramel_ThaiTea_Oreo_smoothie_weekday_discount.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_Caramel_ThaiTea_Oreo_smoothie_weekday_discount.png" </FilenamePress>
|
||||||
|
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_Caramel_ThaiTea_Oreo_smoothie_weekday_discount.png" </FilenameDisable>
|
||||||
|
<OverlayImage> xmlpro( 12-02-03-0058, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||||||
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventOnClick>
|
||||||
|
Var NameDrink = "PREMIUM THAI TEA CARAMEL OREO"
|
||||||
|
Var NameDrinkTH = "พรีเมียมชาไทยคาราเมลโอริโอ้"
|
||||||
|
Var DrinkDescriptionTH = "ชาไทย นม คาลาเมล และ Oreo"
|
||||||
|
Var DrinkDescription = "Thai Tea, Milk, Caramel Syrup, Oreo"
|
||||||
|
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_Caramel_ThaiTea_Oreo_smoothie_weekday_discount.png"
|
||||||
|
Var OpenFromXML = CurrentXMLFileName2
|
||||||
|
Var PriceD1 = $-.Price
|
||||||
|
Var PriceD2 = $-.Price
|
||||||
|
Var PriceD3 = $12-02-03-0058.Price
|
||||||
|
Var PD_CODE1 = "##-##-##-####"
|
||||||
|
Var PD_CODE2 = "##-##-##-####"
|
||||||
|
Var PD_CODE3 = "12-02-03-0058"
|
||||||
|
Var PD_STAGE_1 = "Disable2"
|
||||||
|
Var PD_STAGE_2 = "Disable2"
|
||||||
|
Var PD_STAGE_3 = $12-02-03-0058.Button
|
||||||
|
Var OverlayMenuFilter !assigned xmlpro( 12-02-03-0058, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
||||||
|
DEBUGVAR OverlayMenuFilter
|
||||||
|
Var SelectCountDrinkType = 0
|
||||||
|
Var DefaultDrinkType = 0
|
||||||
|
If PD_STAGE_1 = "Enable" Then
|
||||||
|
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
||||||
|
Var DefaultDrinkType = 1
|
||||||
|
EndIf
|
||||||
|
If PD_STAGE_2 = "Enable" Then
|
||||||
|
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
||||||
|
Var DefaultDrinkType = 2
|
||||||
|
EndIf
|
||||||
|
If PD_STAGE_3 = "Enable" Then
|
||||||
|
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
||||||
|
Var DefaultDrinkType = 3
|
||||||
|
EndIf
|
||||||
|
If PD_STAGE_2 = "Enable" Then
|
||||||
|
Topping "Load" "-"
|
||||||
|
Else
|
||||||
|
If PD_STAGE_1 = "Enable" Then
|
||||||
|
Topping "Load" "-"
|
||||||
|
Else
|
||||||
|
Topping "Load" "12-02-03-0058"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
Var menu_name_eng_hot = $##-##-##-####.NameE
|
||||||
|
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
||||||
|
Var menu_name_thai_hot = $##-##-##-####.Name
|
||||||
|
Var menu_desc_thai_hot = $##-##-##-####.description
|
||||||
|
|
||||||
|
Var menu_name_eng_cold = $##-##-##-####.NameE
|
||||||
|
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
|
||||||
|
Var menu_name_thai_cold = $##-##-##-####.Name
|
||||||
|
Var menu_desc_thai_cold = $##-##-##-####.description
|
||||||
|
|
||||||
|
Var menu_name_eng_blender = $12-02-03-0058.NameE
|
||||||
|
Var menu_desc_eng_blender = $12-02-03-0058.descriptionE
|
||||||
|
Var menu_name_thai_blender = $12-02-03-0058.Name
|
||||||
|
Var menu_desc_thai_blender = $12-02-03-0058.description
|
||||||
|
|
||||||
|
DEBUGVAR PD_STAGE_1
|
||||||
|
DEBUGVAR PD_STAGE_2
|
||||||
|
DEBUGVAR PD_STAGE_3
|
||||||
|
Var SelectDrinkType = 0
|
||||||
|
|
||||||
|
Var OpenFromInstMenuTab = 0
|
||||||
|
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
||||||
|
|
||||||
|
</EventOnClick>
|
||||||
|
</Button>
|
||||||
|
<Text>
|
||||||
|
<X> 16 </X>
|
||||||
|
<Y> 164 </Y>
|
||||||
|
<Size> 24 </Size>
|
||||||
|
<Width>220</Width>
|
||||||
|
<Mode> "multi2" </Mode>
|
||||||
|
<Font> KanitMediumTTF </Font>
|
||||||
|
<Color> 0x322B26 </Color>
|
||||||
|
<State> showthaiText </State>
|
||||||
|
<Value> "พรีเมียมชาไทยคาราเมลโอริโอ้" </Value>
|
||||||
|
</Text>
|
||||||
|
<Text>
|
||||||
|
<X> 16 </X>
|
||||||
|
<Y> 220 </Y>
|
||||||
|
<Size> 14 </Size>
|
||||||
|
<Width>220</Width>
|
||||||
|
<Font> KanitMediumTTF </Font>
|
||||||
|
<Color> 0x6F5F51 </Color>
|
||||||
|
<State> showthaiText </State>
|
||||||
|
<Value> "ชาไทย นม คาลาเมล และ Oreo" </Value>
|
||||||
|
</Text>
|
||||||
|
<Text>
|
||||||
|
<X> 16 </X>
|
||||||
|
<Y> 164 </Y>
|
||||||
|
<Size> 22 </Size>
|
||||||
|
<Width>220</Width>
|
||||||
|
<Mode> "multi2" </Mode>
|
||||||
|
<Font> KanitMediumTTF </Font>
|
||||||
|
<Color> 0x322B26 </Color>
|
||||||
|
<State> showengText </State>
|
||||||
|
<Value> "PREMIUM THAI TEA CARAMEL OREO" </Value>
|
||||||
|
</Text>
|
||||||
|
<Text>
|
||||||
|
<X> 16 </X>
|
||||||
|
<Y> 220 </Y>
|
||||||
|
<Size> 14 </Size>
|
||||||
|
<Width>220</Width>
|
||||||
|
<Font> KanitMediumTTF </Font>
|
||||||
|
<Color> 0x6F5F51 </Color>
|
||||||
|
<State> showengText </State>
|
||||||
|
<Value> "Thai Tea, Milk, Caramel Syrup, Oreo" </Value>
|
||||||
|
</Text>
|
||||||
|
<Image>
|
||||||
|
<X> 16 </X>
|
||||||
|
<Y> 264 </Y>
|
||||||
|
<Filename> Var( DirImage2 + "option_deactive.png" ) </Filename>
|
||||||
|
</Image>
|
||||||
|
<Image>
|
||||||
|
<X> 16 </X>
|
||||||
|
<Y> 264 </Y>
|
||||||
|
<State> "Invisible" </State>
|
||||||
|
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
|
||||||
|
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
|
||||||
|
</Image>
|
||||||
|
<Text>
|
||||||
|
<X> 50 </X>
|
||||||
|
<Y> TextPriceMenuY </Y>
|
||||||
|
<Size> TextPriceMenuSize </Size>
|
||||||
|
<Width>220</Width>
|
||||||
|
<Font> KanitMediumTTF </Font>
|
||||||
|
<Color> 0x6F5F51 </Color>
|
||||||
|
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||||
|
<State> "Invisible" </State>
|
||||||
|
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||||
|
</Text>
|
||||||
|
<Image>
|
||||||
|
<X> 81 </X>
|
||||||
|
<Y> 264 </Y>
|
||||||
|
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
||||||
|
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
||||||
|
<State> "Invisible" </State>
|
||||||
|
</Image>
|
||||||
|
<Text>
|
||||||
|
<X> 115 </X>
|
||||||
|
<Y> TextPriceMenuY </Y>
|
||||||
|
<Size> TextPriceMenuSize </Size>
|
||||||
|
<Width>220</Width>
|
||||||
|
<Font> KanitMediumTTF </Font>
|
||||||
|
<Color> 0x6F5F51 </Color>
|
||||||
|
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||||
|
<State> "Invisible" </State>
|
||||||
|
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||||
|
</Text>
|
||||||
|
<Image>
|
||||||
|
<X> 146 </X>
|
||||||
|
<Y> 264 </Y>
|
||||||
|
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||||||
|
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||||||
|
<State> $12-02-03-0058.Button </State>
|
||||||
|
</Image>
|
||||||
|
<Text>
|
||||||
|
<X> 180 </X>
|
||||||
|
<Y> TextPriceMenuY </Y>
|
||||||
|
<Size> TextPriceMenuSize </Size>
|
||||||
|
<Width>220</Width>
|
||||||
|
<Font> KanitRegularTTF </Font>
|
||||||
|
<Color> 0x6F5F51 </Color>
|
||||||
|
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||||
|
<State> $12-02-03-0058.Button </State>
|
||||||
|
<Value> StringFmt( $12-02-03-0058.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||||
|
</Text>
|
||||||
|
<Image>
|
||||||
|
<X> 81 </X>
|
||||||
|
<Y> 264 </Y>
|
||||||
|
<State>
|
||||||
|
eval(
|
||||||
|
If ICE_PROCESS_STATUS = 2 Then
|
||||||
|
|
||||||
|
Var ice_tab_process_show = "Invisible"
|
||||||
|
|
||||||
|
Else
|
||||||
|
Var ice_tab_process_show = "Invisible"
|
||||||
|
EndIf
|
||||||
|
Var return = ice_tab_process_show
|
||||||
|
)
|
||||||
|
</State>
|
||||||
|
<Filename> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </Filename>
|
||||||
|
<FilenameDisable> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </FilenameDisable>
|
||||||
|
</Image>
|
||||||
|
<Image>
|
||||||
|
<X> 49 </X>
|
||||||
|
<Y> 117 </Y>
|
||||||
|
<State>
|
||||||
|
eval(
|
||||||
|
If $Sum1202030058 = "Disable" Then
|
||||||
|
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||||||
|
STRCONTAIN "ERR" $##-##-##-####.TAG tag2_is_disable
|
||||||
|
STRCONTAIN "ERR" $12-02-03-0058.TAG tag3_is_disable
|
||||||
|
Var return = "Invisible"
|
||||||
|
If tag1_is_disable = "true" Then
|
||||||
|
Var return = "Enable"
|
||||||
|
EndIf
|
||||||
|
If tag2_is_disable = "true" Then
|
||||||
|
Var return = "Enable"
|
||||||
|
EndIf
|
||||||
|
If tag3_is_disable = "true" Then
|
||||||
|
Var return = "Enable"
|
||||||
|
EndIf
|
||||||
|
Else
|
||||||
|
Var return = "Invisible"
|
||||||
|
EndIf
|
||||||
|
)
|
||||||
|
</State>
|
||||||
|
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
||||||
|
</Image>
|
||||||
|
<Text>
|
||||||
|
<X> 84 </X>
|
||||||
|
<Y> 266 </Y>
|
||||||
|
<Size> 10 </Size>
|
||||||
|
<Font> OpunMediumTTF </Font>
|
||||||
|
<Color> 0xDE794E </Color>
|
||||||
|
<State> ice_tab_process_show </State>
|
||||||
|
<Value> ice_show_open </Value>
|
||||||
|
</Text>
|
||||||
|
<Text>
|
||||||
|
<X> 48 </X>
|
||||||
|
<Y> 116 </Y>
|
||||||
|
<Size> 32 </Size>
|
||||||
|
<Width>128</Width>
|
||||||
|
<Height>64</Height>
|
||||||
|
<Font> MITRegularTTF </Font>
|
||||||
|
<Color> 0x5A5A5A </Color>
|
||||||
|
<Mode> "disable-show" </Mode>
|
||||||
|
<State> $Sum1202030058 </State>
|
||||||
|
<Value> text_unavailable </Value>
|
||||||
|
<Align> center-vertical-horizontal </Align>
|
||||||
|
</Text>
|
||||||
|
</Block>
|
||||||
|
; - - -
|
||||||
|
; ==================> Len = 12
|
||||||
; - - 12-05-03-0092
|
; - - 12-05-03-0092
|
||||||
<Block>
|
<Block>
|
||||||
<MarginLeft> 33 </MarginLeft>
|
<MarginLeft> 33 </MarginLeft>
|
||||||
|
|
|
||||||
|
|
@ -293,6 +293,12 @@
|
||||||
Var Seeker.CodeChannel = 1
|
Var Seeker.CodeChannel = 1
|
||||||
Var Seeker.CodeNumber = IDNum
|
Var Seeker.CodeNumber = IDNum
|
||||||
|
|
||||||
|
SAVELOG "ModeFreeEnable ModeFreeEnable ModeFreeEnable ModeFreeEnable ModeFreeEnable"
|
||||||
|
If New_Payment = 1 Then
|
||||||
|
Var Seeker.ORDER_ID = ""
|
||||||
|
GenHashWithTimeStamp Seeker.ORDER_ID
|
||||||
|
__CMD "SetPay" "coffee-payment" Seeker.VendingTSID Seeker.ORDER_ID
|
||||||
|
EndIf
|
||||||
|
|
||||||
Open "ROOT/taobin_project/xml/page_payment_cash.xml"
|
Open "ROOT/taobin_project/xml/page_payment_cash.xml"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -108,8 +108,8 @@
|
||||||
Var RandomPromotionMyworld = 0
|
Var RandomPromotionMyworld = 0
|
||||||
Var RandomSalePackage = 0
|
Var RandomSalePackage = 0
|
||||||
|
|
||||||
Var XMLPageVersion = "9.06"
|
Var XMLPageVersion = "9.07"
|
||||||
Var XMLPageVersionInt = 906
|
Var XMLPageVersionInt = 907
|
||||||
;Oreo
|
;Oreo
|
||||||
Var OreoGuarantee = 0
|
Var OreoGuarantee = 0
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,154 +0,0 @@
|
||||||
<BeginX>28</BeginX>
|
|
||||||
<BeginY>255</BeginY>
|
|
||||||
<OverrideBackground> "ROOT/ui/bg_main_menu2.png"</OverrideBackground>
|
|
||||||
<Page>
|
|
||||||
|
|
||||||
<Width> 1024 </Width>
|
|
||||||
<Height> 600 </Height>
|
|
||||||
<Background> "/ROOT/pictures/startup.bmp" </Background>
|
|
||||||
<Timeout> 3000 </Timeout>
|
|
||||||
<EventTimeout>
|
|
||||||
Open "/ROOT/xml/main.xml"
|
|
||||||
</EventTimeout>
|
|
||||||
<EventOpen>
|
|
||||||
Var video_main_0 = "/mnt/sdcard/coffeevending/taobin_project/adv/taobin_adv_00.mp4"
|
|
||||||
Var video_menu_0 = "/mnt/sdcard/coffeevending/taobin_project/adv/taobin_adv_menu_00.mp4"
|
|
||||||
Var video_menu_1 = "/mnt/sdcard/coffeevending/taobin_project/adv/taobin_adv_menu2_00.mp4"
|
|
||||||
Var MenuLangTH = 1
|
|
||||||
Var VendingCampaign = 0
|
|
||||||
Var VendingDiscount = 0
|
|
||||||
Var VendingClass = ""
|
|
||||||
TopView "hide"
|
|
||||||
Var NetworkStatus = "DOWN"
|
|
||||||
Var MachineErrorDetail = ""
|
|
||||||
Var SetVideo = 1
|
|
||||||
Var AdvSoundWorking = ""
|
|
||||||
Var AdvSoundWorking = "/ROOT/sounds/adv_working_01.wav"
|
|
||||||
Var AdvIndex = 1
|
|
||||||
Var SetSoundPlay = 0
|
|
||||||
Var CheckAutoZero = 0.0
|
|
||||||
Var DeffZero = 0.0
|
|
||||||
Var CountZero = 0
|
|
||||||
Var AdvWorking = ""
|
|
||||||
Var AdvCoin = ""
|
|
||||||
Var AdvAmount = ""
|
|
||||||
Var AdvMobile = ""
|
|
||||||
Var AdvId = "00"
|
|
||||||
;Var AdvertiseProfile = "00/00/00/00/00/00/00/00/00/00/00/00/00/00/00/00/00/00"
|
|
||||||
Var AdvertiseProfile1 = "00"
|
|
||||||
Var AdvertiseProfile2 = "00"
|
|
||||||
Var AdvertiseProfile3 = "00"
|
|
||||||
Var AdvertiseProfile4 = "00"
|
|
||||||
Var AdvertiseProfile5 = "00"
|
|
||||||
Var AdvertiseProfile6 = "00"
|
|
||||||
Var AdvertiseProfile7 = "00"
|
|
||||||
Var AdvertiseProfile8 = "00"
|
|
||||||
Var AdvertiseProfile9 = "00"
|
|
||||||
Var AdvertiseProfile10 = "00"
|
|
||||||
Var AdvertiseProfile11 = "00"
|
|
||||||
Var AdvertiseProfile12 = "00"
|
|
||||||
Var AdvertiseProfile13 = "00"
|
|
||||||
Var AdvertiseProfile14 = "00"
|
|
||||||
Var AdvertiseProfile15 = "00"
|
|
||||||
Var AdvertiseProfile16 = "00"
|
|
||||||
Var AdvertiseProfile17 = "00"
|
|
||||||
Var AdvertiseProfile18 = "00"
|
|
||||||
|
|
||||||
Var ExtSlot1 = ""
|
|
||||||
Var ExtSlot2 = ""
|
|
||||||
Var ExtSlot3 = ""
|
|
||||||
Var ExtSlot4 = ""
|
|
||||||
Var ExtSlot5 = ""
|
|
||||||
Var ExtSlot6 = ""
|
|
||||||
|
|
||||||
Var AdvExt1 = ".mp4"
|
|
||||||
Var AdvExt2 = ".mp4"
|
|
||||||
Var AdvExt3 = ".mp4"
|
|
||||||
Var AdvExt4 = ".bmp"
|
|
||||||
Var AdvExt5 = ".bmp"
|
|
||||||
Var AdvExt6 = ".bmp"
|
|
||||||
Var AdvExt7 = ".mp4"
|
|
||||||
Var AdvExt8 = ".mp4"
|
|
||||||
Var AdvExt9 = ".bmp"
|
|
||||||
Var AdvExt10 = ".bmp"
|
|
||||||
Var AdvExt11 = ".mp4"
|
|
||||||
Var AdvExt12 = ".bmp"
|
|
||||||
Var AdvExt13 = ".bmp"
|
|
||||||
Var AdvExt14 = ".bmp"
|
|
||||||
Var AdvExt15 = ".bmp"
|
|
||||||
Var AdvExt16 = ".mp4"
|
|
||||||
Var AdvExt17 = ".mp4"
|
|
||||||
Var AdvExt18 = ".bmp"
|
|
||||||
Var AdvExt19 = ".mp4"
|
|
||||||
Var AdvExt20 = ".bmp"
|
|
||||||
|
|
||||||
;Dtac
|
|
||||||
Var RandomPromotion = 0
|
|
||||||
;true_move
|
|
||||||
Var RandomPromotion1 = 0
|
|
||||||
Var RandomPromotionAIS = 0
|
|
||||||
Var RandomPromotionCAT = 0
|
|
||||||
Var RandomPromotionOper168 = 0
|
|
||||||
Var RandomPromotionImobile = 0
|
|
||||||
Var RandomPromotionWhitespace = 0
|
|
||||||
Var RandomPromotionTOT = 0
|
|
||||||
Var RandomPromotionMyworld = 0
|
|
||||||
Var RandomSalePackage = 0
|
|
||||||
|
|
||||||
Var XMLPageVersion = "6.51"
|
|
||||||
Var XMLPageVersionInt = 651
|
|
||||||
</EventOpen>
|
|
||||||
|
|
||||||
<Text>
|
|
||||||
<X> 644 </X>
|
|
||||||
<Y> 350 </Y>
|
|
||||||
<Size> 20 </Size>
|
|
||||||
<Font> fontType1 </Font>
|
|
||||||
<Color> 0xEA068A </Color>
|
|
||||||
<Transparent> 0 </Transparent>
|
|
||||||
<Value> "Engine" </Value>
|
|
||||||
</Text>
|
|
||||||
|
|
||||||
<Text>
|
|
||||||
<X> 724 </X>
|
|
||||||
<Y> 350 </Y>
|
|
||||||
<Size> 20 </Size>
|
|
||||||
<Font> fontType1 </Font>
|
|
||||||
<Color> 0xEA068A </Color>
|
|
||||||
<Transparent> 0 </Transparent>
|
|
||||||
<Value> SoftwareVersion </Value>
|
|
||||||
</Text>
|
|
||||||
|
|
||||||
<Text>
|
|
||||||
<X> 628 </X>
|
|
||||||
<Y> 380 </Y>
|
|
||||||
<Size> 20 </Size>
|
|
||||||
<Font> fontType1 </Font>
|
|
||||||
<Color> 0xEA068A </Color>
|
|
||||||
<Transparent> 0 </Transparent>
|
|
||||||
<Value> "Software version" </Value>
|
|
||||||
</Text>
|
|
||||||
|
|
||||||
<Text>
|
|
||||||
<X> 802 </X>
|
|
||||||
<Y> 380 </Y>
|
|
||||||
<Size> 20 </Size>
|
|
||||||
<Font> fontType1 </Font>
|
|
||||||
<Color> 0xEA068A </Color>
|
|
||||||
<Transparent> 0 </Transparent>
|
|
||||||
<Value> XMLPageVersion </Value>
|
|
||||||
</Text>
|
|
||||||
|
|
||||||
<TextRunner>
|
|
||||||
<Visible> False </Visible>
|
|
||||||
<Y> 430 </Y>
|
|
||||||
<Size> 50 </Size>
|
|
||||||
<Size> 20 </Size>
|
|
||||||
<Font> fontType1 </Font>
|
|
||||||
<Repeat> True </Repeat>
|
|
||||||
<Color> 0xFFFF00 </Color>
|
|
||||||
<BgColor> 0x0000A0 </BgColor>
|
|
||||||
<Filename> "/ROOT/text/runner.txt" </Filename>
|
|
||||||
</TextRunner>
|
|
||||||
|
|
||||||
</Page>
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue