Singapore started with sgp

This commit is contained in:
wanlop run 2024-01-13 22:50:18 +07:00
parent 3f9c4361a5
commit b3e6705aad
75 changed files with 146636 additions and 0 deletions

View file

@ -0,0 +1,853 @@
name New Code เล่น 4 วินาที ขั้นตอน 1 ขั้นตอน 2 ขั้นตอน 3 ขั้นตอน 4 ขั้นตอน 5 ขั้นตอน 6 ขั้นตอน 7 ขั้นตอน 8 จบ Time (sec) นาทีและวินาที ความยาวการเล่นของแต่ละขั้นตอน
Espresso 52-01-01-0001 1 2 3 4 5 24 66 1:06 16
double espresso 52-11-01-0001 1 2 3 4 5 116 1:56 28
Hot Americano 52-01-01-0003 1 2 3 4 5 16 24 88 1:28 17
Hot Latte 52-01-01-0004 1 2 3 4 5 6 7 24 117 1:57 19
Hot Cappucino 52-01-01-0005 1 2 3 4 5 6 7 24 136 2:16 22
Hot Mocha 52-01-01-0006 1 2 3 4 5 15 7 24 135 2:15 22
Hot Caramel Latte 52-01-01-0007 1 22 2 3 4 5 7 24 135 2:15 22
Hot Matcha café Latte 52-01-01-0008 1 2 3 4 5 8 9 7 24 140 2:20 19
Hot Taiwanese Tea café Latte 52-01-01-0009 1 2 3 4 5 10 24 136 2:16 26
Hot Thai Tea café Latte 52-01-01-0010 1 2 3 4 5 6 7 10 24 161 2:41 22
Hot Kokuto café Latte 52-01-01-0011 1 2 3 4 5 6 7 27 24 125 2:05 17
Lychee Americano 52-01-01-0012 1 2 3 4 5 11 16 24 98 1:38 16
Iced Espresso 52-11-02-0001 1 2 3 4 5 6 7 23 24 208 3:28 29
Iced Americano 52-01-02-0001 1 2 3 4 5 23 16 24 133 2:13 22
Iced Cafe Latte 52-01-02-0002 1 2 3 4 5 6 7 23 24 186 3:06 26
Iced Cappuccino 52-11-02-0002 1 2 3 4 5 6 7 23 24 190 3:10 27
Iced Mocha 52-01-02-0003 1 2 3 4 5 15 7 23 24 167 2:47 23
Iced Caramel café Latte 52-01-02-0004 1 22 2 3 4 5 7 23 24 182 3:02 25
Iced Matcha café Latte 52-01-02-0005 1 2 3 4 5 8 9 7 23 24 204 3:24 25
Iced Taiwanese Tea café Latte 52-01-02-0006 1 2 3 4 5 10 23 24 178 2:58 29
Iced Thai Tea café Latte 52-01-02-0007 1 2 3 4 5 6 7 10 23 24 190 3:10 23
Iced Kokuto café Latte 52-01-02-0008 1 2 3 4 5 6 7 27 23 24 186 3:06 23
Iced Lychee Americano 52-01-02-0009 1 2 3 4 5 11 16 23 24 105 1:45 14
Hot Caramel milk 52-03-01-0001 1 22 6 7 24 84 1:24 27
Hot Cocoa 52-03-01-0002 1 15 6 7 24 135 2:15 44
Hot Kokuto Milk 52-03-01-0003 1 27 6 7 24 84 1:24 27
Hot Caramel cocoa 52-03-01-0004 1 15 22 6 7 24 145 2:25 35
Hot Milk 52-03-01-0005 1 6 7 24 102 1:42 49
Iced Caramel milk 52-03-02-0001 1 22 17 23 24 113 1:53 36
Iced Cocoa 52-03-02-0002 1 15 17 23 24 125 2:05 40
Iced Kokuto Milk 52-03-02-0003 1 27 17 23 24 119 1:59 38
Iced Caramel cocoa 52-03-02-0004 1 15 22 17 23 24 166 2:46 41
Milk with Iced 52-03-02-0005 1 17 23 24 110 1:50 53
Iced Pink milk 52-03-02-0006 1 21 17 23 24 129 2:09 42
hot chrysanths tea 52-02-01-0001 1 10 24 65 1:05 61
Hot thai milk tea 52-02-01-0002 1 6 7 10 24 78 1:18 25
Hot Taiwanese Tea 52-02-01-0003 1 6 7 10 24 90 1:30 29
Hot matcha latte 52-02-01-0004 1 6 7 8 9 24 149 2:29 36
Hot black tea 52-02-01-0005
Hot Kokuto Tea 52-02-01-0006 1 6 7 10 27 24 133 2:13 32
Hot Limeade tea 52-02-01-0007 1 10 12 24 112 1:52 54
Hot Lychee tea 52-02-01-0008 1 10 11 24 112 1:52 54
Hot strawberry tea 52-02-01-0009 1 10 19 24 90 1:30 43
Hot blueberry tea 52-02-01-0010 1 10 20 24 87 1:27 42
Iced Chrysanths Tea 52-02-02-0001 1 10 23 24 88 1:28 42
Iced Thai milk Tea 52-02-02-0002 1 6 7 10 23 24 165 2:45 40
Iced Taiwanese Tea 52-02-02-0003 1 6 7 10 23 24 104 1:44 25
Iced matcha latte 52-02-02-0004 1 6 7 8 9 23 24 175 2:55 34
Iced black tea รอเทสชาดำใหม่ 52-02-02-0005
Iced Kokuto Tea 52-02-02-0006 1 6 7 10 27 23 24 131 2:11 25
Iced Lime tea 52-02-02-0007 1 10 12 23 24 130 2:10 42
Iced Lychee tea (สูตรแก้วร้อน ลดน้ำจาก 60+50 เป็น 50+40 52-02-02-0008 1 10 11 23 24 129 2:09 42
Iced strawberrry tea 52-02-02-0009 1 10 19 23 24 85 1:25 27
Iced blueberry tea 52-02-02-0010 1 10 20 23 24 85 1:25 27
HOT LIMENADE 52-05-01-0001 1 16 12 24 76 1:16 36
ICED LIMENADE 52-05-02-0001 1 16 12 23 24 100 1:40 32
ICED SALAK 52-05-02-0002 1 16 21 23 24 59 0:59 18
ICED LIME SALAK 52-05-02-0003 1 16 12 21 23 24 79 1:19 19
ICED LYCHEE 52-05-02-0004 1 16 11 23 24 82 1:22 26
ICED STRAWBERRY 52-05-02-0005 1 16 19 23 24 75 1:15 24
ICED BLUEBERRY 52-05-02-0006 1 16 20 23 24 75 1:15 24
Pepsi 52-05-02-0007 1 23 14 24 49 0:49 23
SALAK SODA 52-05-02-0008 1 21 23 13 24 44 0:44 13
LIME SALAK SODA 52-05-02-0009 1 21 23 12 13 24 79 1:19 19
LIMENADE SODA 52-05-02-0010 1 12 23 13 24 107 1:47 34
ICED LYCHEE SODA 52-05-02-0011 1 11 23 13 24 65 1:05 20
STRAWBERRY SODA 52-05-02-0012 1 19 23 13 24 55 0:55 17
BLUEBERRY SODA 52-05-02-0013 1 20 23 13 24 75 1:15 24
Soda 52-05-02-0014 1 13 24 24 0:24 20
Ice Soda 52-05-02-0015 1 23 13 24 27 0:27 12
DRINKING WATER 52-05-02-0016 1 16 24 60 1:00 56
Ice 52-05-02-0017 1 23 24 32 0:32 28
Iced water 52-05-02-0018 1 23 16 24 62 1:02 29
Hot Water 52-05-01-0002 1 16 24 55 0:55 51
Sprite 52-05-02-0020 1 23 18 24 20 0:20 8
7UP 52-05-02-0021 1 23 18 24 20 0:20 8
MATCHA SHAKE 52-04-02-0001 1 25 26 9 6 7 23 24 181 3:01 30
CHOCOLATE SHAKE 52-04-02-0002 1 25 26 6 7 15 23 24 219 3:39 36
STRAWBERRY SHAKE 52-04-02-0003 1 25 26 19 17 23 24 178 2:58 35
ESPRESSO SHAKE 52-04-02-0004 1 25 26 2 3 4 5 17 23 24 230 3:50 28
THAI TEA SHAKE 52-04-02-0005 1 25 26 6 7 10 23 24 223 3:43 37
KOKUTO SHAKE 52-04-02-0006 1 25 26 26 17 23 24 180 3:00 35
BLUEBERRY SHAKE 52-04-02-0007 1 25 26 20 17 23 24 171 2:51 33
TAIWANESE TEA SHAKE 52-04-02-0008 1 25 26 10 17 23 24 197 3:17 39
CARAMEL SHAKE 52-04-02-0009 1 25 26 22 17 23 24 196 3:16 38
MILK SHAKE 52-04-02-0010 1 25 26 6 7 23 24 120 2:00 23
PLAIN PROTEIN 52-04-02-0011 1 25 26 23 24 100 1:40 32
HOT PLUM TEA 52-02-01-0016 1 33 16 24 100 2:40 32
HOT \nCANNABIS TEA 52-02-01-0017 1 32 16 24 100 3:40 32
ICED PLUM TEA 52-02-02-0017 1 33 10 24 100 4:40 32
ICED \nCANNABIS TEA 52-02-02-0018 1 32 10 23 24 100 5:40 32
ICED PLUM SODA 52-05-02-0024 1 33 23 13 24 100 6:40 32
ICED PLUM LIMENADE SODA 52-05-02-0025 1 33 12 23 13 24 100 7:40 32
ICED PLUM DRINK 52-05-02-0026 1 33 23 24 100 8:40 32
ICED \nCANNABIS DRINK 52-05-02-0027 1 32 23 24 100 9:40 32
ICED \nCANNABIS SODA 52-05-02-0028 1 32 23 13 24 100 10:40 32
ICED LIMENADE \nCANNABIS SODA 52-05-02-0029 1 32 12 23 13 24 100 11:40 32
MANGO DRINK 52-05-02-0030 1 31 23 24 100 12:40 32
MANGO SODA 52-05-02-0031 1 31 23 13 24 100 13:40 32
HOT MATCHA 52-02-01-0011 1 16 8 9 24 100 14:40 32
ICED MATCHA 52-02-02-0011 1 16 8 9 23 24 100 15:40 32
HOT AMERICANO ETHIOPAI GUJI 52-01-01-0014 1 2 3 4 5 16 24 88 1:28 32
ICED AMERICANO ETHIOPAI GUJI 52-01-02-0011 1 2 3 4 5 23 16 24 133 2:13 32
ESPRESSO ETHIOPAI GUJI 52-01-01-0013 1 2 3 4 5 24 66 1:06 32
ICED MATCHA LIMENADE 52-02-02-0012 1 8 9 12 23 24 1 1 32
HOT MATCHA LIMENADE 52-02-01-0012 1 8 9 12 16 24 1 1 32
Energy drink 52-05-02-0034 1 34 23 24 100 3:40 32
Energy drink soda 52-05-02-0035 1 34 13 23 24 100 3:40 32
Mango milk 52-03-02-0007 1 31 7 31 23 24 100 4:40 32
ENERGY DRINK PEPSI 52-05-02-0036 1 34 14 23 24 100 5:40 32
ENERGY DRINK SODA 52-05-02-0035 1 34 13 23 24 100 6:40 32
ENERGY DRINK LIMENADE 52-05-02-0037 1 34 12 24 100 7:40 32
ICED ENERGY DRINK 52-05-02-0034 1 34 23 24 100 8:40 32
ICED BLACK TEA 52-02-02-0005 1 23 24 100 9:40 32
STRAWBERRY MILK 52-03-02-0007 1 23 24 100 10:40 32
ICED LYCHEE LIMENADE SODA 52-05-02-0022 1 11 13 23 24 100 11:40 32
iced strawlimenade soda 52-05-02-0023 1 19 13 23 24 100 12:40 32
none 52-02-02-0013 1 12 13 24 100 13:40 32
iced espresso L 52-01-02-0012 1 12 13 24 100 14:40 32
iced cappu L 52-01-02-0013 1 12 13 24 100 15:40 32
iced thai tea L 52-02-02-0015 1 12 13 24 100 16:40 32
ICED LYCHEE 52-05-02-0032 1 11 16 23 24 100 17:40 32
ICED LYCHEE SODA 52-05-02-0033 1 11 13 23 24 100 18:40 32
HOT LYCHEE TEA 52-02-01-0019 1 11 16 24 100 19:40 32
ICED LYCHEE TEA 52-02-02-0019 1 11 16 23 24 100 20:40 32
HOT LYCHEE AMERICANO 52-01-01-0017 1 2 3 4 5 11 16 24 100 21:40 32
ICED LYCHEE AMERICANO 52-01-02-0017 1 2 3 4 5 11 16 23 24 100 22:40 32
ETHIOPAI GUJI DIRTY 52-01-02-0018 1 7 2 3 4 5 24 100 22:40 32
HOT GINGER TEA 52-02-01-0020 1 10 24 88 1:28 42
HOT LIME \nGINGER TEA 52-02-01-0021 1 10 12 24 88 1:28 42
ICED GINGER TEA 52-02-02-0020 1 10 23 24 88 2:28 42
GINGER SODA 52-05-02-0038 1 10 13 23 24 88 3:28 42
GINGER LIME \nSODA 52-05-02-0039 1 10 13 12 23 24 88 4:28 42
STRAWBERRY SODA 52-05-02-0041 1 19 23 13 24 55 0:55 17
ICED STRAWBERRY 52-05-02-0040 1 16 19 23 24 75 1:15 24
Hot strawberry tea 52-02-01-0022 1 10 19 24 90 1:30 43
Iced strawberrry tea 52-02-02-0022 1 10 19 23 24 85 1:25 27
STRAWBERRY SHAKE 52-04-02-0013 1 25 26 19 17 23 24 178 2:58 35
ETHIOPAI BLUE DADDY DIRTY 52-01-02-0020 1 7 42 2 3 4 5 24 100 22:40 32
HOT AMERICANO BLUE DADDY 52-01-01-0019 1 2 42 3 4 5 16 24 88 1:28 32
ICED AMERICANO BLUE DADDY 52-01-02-0019 1 2 42 3 4 5 23 16 24 133 2:13 32
ESPRESSO BLUE DADDY 52-01-01-0020 1 2 42 3 4 5 24 66 1:06 32
MOZART ALMOST DIRTY 52-01-02-0022 1 7 43 2 3 4 5 24 100 22:40 32
อเมริกาโนร้อน 52-01-01-0021 1 2 43 3 4 5 16 24 88 1:28 32
อเมริกาโนเย็น 52-01-02-0021 1 2 43 3 4 5 23 16 24 133 2:13 32
เอสเพรสโซ่ช็อต 52-01-01-0022 1 2 43 3 3 5 24 66 1:06 32
HONDURAS SINGLE ORIGIN 52-01-02-0026 1 7 44 2 3 4 5 24 100 22:40 32
HONDURAS SINGLE ORIGIN 52-01-01-0025 1 2 44 3 4 5 16 24 88 1:28 32
HONDURAS SINGLE ORIGIN 52-01-02-0025 1 2 44 3 4 5 23 16 24 133 2:13 32
HONDURAS SINGLE ORIGIN 52-01-01-0026 1 2 44 3 4 5 24 66 1:06 32
SNOWWHITE 52-01-02-0024 1 7 45 2 3 4 5 24 100 22:40 32
SNOWWHITE 52-01-01-0023 1 2 45 3 4 5 16 24 88 1:28 32
SNOWWHITE 52-01-02-0023 1 2 45 3 4 5 23 16 24 133 2:13 32
SNOWWHITE 52-01-01-0024 1 2 45 3 4 5 24 66 1:06 32
PEACHER 52-01-02-0028 1 7 47 3 3 4 5 24 100 22:40 32
PEACHER 52-01-01-0027 1 2 47 3 4 5 16 24 88 1:28 32
PEACHER 52-01-02-0027 1 2 47 3 4 5 23 16 24 133 2:13 32
PEACHER 52-01-01-0028 1 2 47 3 4 5 24 66 1:06 32
Congee 52-06-01-0001 1 46 24 65 1:05 61
Pure beauty 52-01-02-0033 1 7 48 2 3 4 5 24 100 22:40 32
Pure beauty 52-01-01-0032 1 2 48 3 4 5 16 24 88 1:28 32
Pure beauty 52-01-02-0032 1 2 48 3 4 5 23 16 24 133 2:13 32
Pure beauty 52-01-01-0033 1 2 48 3 4 5 24 66 1:06 32
52-02-01-0031
52-02-01-0032
52-02-03-0031
52-02-03-0032
Geisha 52-01-02-0036 1 7 49 2 3 4 5 24 100 22:40 32
Geisha 52-01-01-0035 1 2 49 3 4 5 16 24 88 1:28 32
Geisha 52-01-02-0035 1 2 49 3 4 5 23 16 24 133 2:13 32
Geisha 52-01-01-0036 1 2 49 3 4 5 24 66 1:06 32
โจ๊กผักฮ้องกง 52-06-01-0002 1 46 24 66 1:06 32
โอวัลตินปั่นภูเขาไฟ 52-03-03-0020 1 51 17 23 41 24 66 2:06 32
โอวัลตินร้อน 52-03-01-0019 1 51 17 16 24 66 3:06 32
โอวัลตินเย็น 52-03-02-0019 1 51 17 23 24 66 4:06 32
โอวัลตินปั่น 52-03-03-0019 1 51 17 23 41 24 66 5:06 32
ROSALYN ALMOST DIRTY 52-01-02-0037 1 7 50 2 3 4 5 24 66 6:06 32
อเมริกาโนร้อน ROSALYN 52-01-01-0038 1 2 50 3 4 5 16 24 66 7:06 32
อเมริกาโนเย็น ROSALYN 52-01-02-0038 1 2 50 3 4 5 23 16 24 66 8:06 32
เอสเพรสโซ่ช็อต ROSALYN 52-01-01-0037 1 2 50 3 4 5 24 66 9:06 32
โกโก้โอดิบภูเขาไฟ 52-03-03-0021 1 51 15 17 23 41 51 24 66 5:06 32
นมยูซุร้อน 52-03-01-0023 1 53 6 16 24 120 3:00 23
นมยูซุเย็น 52-03-02-0023 1 53 6 23 24 120 4:00 23
นมยูซุปั่น 52-03-03-0023 1 53 6 23 41 24 120 5:00 23
ยูซุโซดา 52-05-02-0045 1 53 23 23 13 24 120 6:00 23
อเมริกาโซดา 52-01-02-0041 1 2 3 4 5 23 16 13 24 120 3:00 23
HOT MELON TAIWANESE 52-02-01-0035 1 6 7 10 25 24 120 7:00 23
24 120 8:00 23
นมเมล่อน 52-03-01-0022 1 17 52 24 1 1 32
นมเมล่อน 52-03-02-0022 1 17 52 23 24 1 1 32
นมเมล่อน 52-03-03-0022 1 17 52 23 41 24 1 1 32
เมล่อนโซดา 52-05-02-0044 1 52 13 23 24 120 4:00 23
อเมริกาโนเมล่อนร้อน 52-01-01-0039 1 2 3 4 5 52 24 120 5:00 23
อเมริกาโนเมล่อนเย็น 52-01-02-0039 1 2 3 4 5 52 23 24 120 6:00 23
เมล่อนโปรตีน 52-04-02-0018 1 26 6 52 25 24 120 2:00 23
เป๊ปซี่บ๊วย 52-05-02-0046 1 14 33 23 13 24 120 2:00 23
เป๊ปซี่บ๊วยปั่น 52-05-03-0046 1 14 33 23 41 13 24 120 3:00 23
เป๊ปซี่เมล่อน 52-05-02-0047 1 14 52 23 13 24 120 4:00 23
เป๊ปซี่เมล่อนปั่น 52-05-03-0047 1 14 52 23 41 13 24 120 5:00 23
24 120 6:00 23
สตอเบอร์รี่ปั่นโอริโอ้ภูเขาไฟ 52-03-03-0027 1 17 23 19 40 41 24 120 7:00 23
เมล่อนปั่นโอริโอ้ภูเขาไฟ 52-03-03-0028 1 17 23 52 40 41 24 120 8:00 23
นมกล้วยปั่นโอริโอ้ภูเขาไฟ 52-03-03-0029 1 17 23 56 40 41 24 120 9:00 23
โกโก้ปั่นโอริโอ้ภูเขาไฟ 52-03-03-0030 1 17 23 15 40 41 24 120 10:00 23
นมคาราเมลปั่นโอริโอ้ภูเขาไฟ 52-03-03-0031 1 17 23 22 40 41 24 120 11:00 23
ลาเต้ปั่น โอริโอ้ภูเขาไฟ 52-01-03-0043 1 17 23 5 40 41 24 120 12:00 23
โฮจิฉะโอริโอ้ภูเขาไฟ 52-02-03-0043 1 17 23 55 40 41 24 120 13:00 23
ชานมไทยโอริโอ้ภูเขาไฟ 52-02-03-0044 1 17 23 55 40 41 24 120 14:00 23
PEPSI YUZU 52-05-02-0053 1 14 53 23 13 24 120 4:00 23
PEPSI BANANA 52-05-02-0054 1 14 56 23 13 24 120 4:00 23
PEPSI LYCHEE 52-05-02-0048 1 14 11 23 13 24 120 4:00 23
น้ำแดงอยู่ข้างเป๊ปซี่นะคะ 52-99-02-0009 1 14 21 23 13 24 120 12:00 23
ชาดำครับจารย์ 52-99-02-0002 1 14 10 23 13 24 120 12:00 23
ถ้าเป๊ปดื้อ ยูจะดุไหม 52-99-02-0006 1 14 53 23 13 24 120 13:00 23
นี่นะหรือเป๊ปซี่กล้วย 52-99-02-0007 1 14 56 23 13 24 120 14:00 23
เป๊ปดี จี่ก็ว่าดี 52-99-02-0008 1 14 11 23 13 24 120 15:00 23
เข้มจัดเลยพี่เป๊ปซี่กาแฟ 52-99-02-0001 1 14 3 4 5 23 13 24 120 16:00 23
เป๊ปซี่นมแน่นะวิ 52-99-02-0003 1 14 7 23 13 24 120 17:00 23
เป๊ปซี่อย่าชี้หน้าเมล่อน 52-99-02-0005 1 14 52 23 13 24 120 18:00 23
เป๊ปซี่อย่าวีนบ๊วย 52-99-02-0004 1 14 33 23 13 24 120 19:00 23
Red Moon 52-99-05-0053 1
White Lady 52-99-05-0054 1
Mysterious\nmusic box 52-99-05-0055 1
Haunted Haze 52-99-05-0056 1
The Haunting of\nthe Past 52-99-05-0057 1
The dark lord 52-99-05-0058 1
Room no.13 52-99-05-0059 1
Haunted Harvest 52-99-05-0060 1
Cursed Coffee 52-99-05-0061 1
The Haunting\nHag of village 52-99-05-0062 1
Midnight's Enigma 52-99-05-0064 1
Unbelievers' Demise 52-99-05-0065 1
7 Haunted Woods 52-99-03-0066 1
โกโก้สตอเบอร์รี่เย็น 52-03-02-0010 1 15 17 19 23 24 125 2:05 40
โกโก้สตอเบอร์รี่ปั่น 52-03-03-0010 1 15 17 19 23 41 24 125 2:05 40
สตอเบอร์รี่มัชฉะลาเต้เย็ 52-02-02-0023 1 16 8 9 19 23 24 125 3:05 40
สตอเบอร์รี่มัชฉะลาเต้ปั่น 52-02-03-0023 1 16 8 9 19 23 41 24 125 4:05 40
นมสตอเบอร์รี่เย็น 52-03-02-0011 1 17 19 23 24 125 5:05 40
นมสตอเบอร์รี่ปั่น 52-03-03-0011 1 17 19 23 41 24 125 6:05 40
โอรีโอ้โปรตีน 52-04-02-0014 1 17 25 40 26 24 125 7:05 40
เอสเพรสโซ่ช็อต
Hot Thai Tea café Latte 52-01-01-0029 1 2 3 4 5 6 7 10 24 161 2:41 22
Hot Taiwanese Tea café Latte 52-01-01-0030 1 2 3 4 5 10 24 136 2:16 26
Hot Matcha café Latte 52-01-01-0031 1 2 3 4 5 8 9 7 24 140 2:20 19
Iced Thai Tea café Latte 52-01-02-0029 1 2 3 4 5 6 7 10 23 24 190 3:10 23
Iced Taiwanese Tea café Latte 52-01-02-0030 1 2 3 4 5 10 23 24 178 2:58 29
Iced Matcha café Latte 52-01-02-0031 1 2 3 4 5 8 9 7 23 24 204 3:24 25
Iced Thai Tea café Latte 52-01-03-0029 2 3 4 5 6 7 10 23 41 24 190 3:10 23
Iced Taiwanese Tea café Latte 52-01-03-0030 1 2 3 4 5 10 23 41 24 178 2:58 29
Iced Matcha café Latte 52-01-03-0031 2 3 4 5 8 9 7 23 41 24 204 3:24 25
Hot thai milk tea 52-02-01-0024 1 6 7 10 24 78 1:18 25
Hot Taiwanese Tea 52-02-01-0025 1 6 7 10 24 90 1:30 29
Hot matcha latte 52-02-01-0026 1 6 7 8 9 24 149 2:29 36
HOT MATCHA 52-02-01-0027 1 16 8 9 24 100 14:40 32
HOT MATCHA LIMENADE 52-02-01-0028 1 8 9 12 16 24 1 1 32
Iced Thai milk Tea 52-02-02-0024 1 6 7 10 23 24 165 2:45 40
Iced Taiwanese Tea 52-02-02-0025 1 6 7 10 23 24 104 1:44 25
Iced matcha latte 52-02-02-0026 1 6 7 8 9 23 24 175 2:55 34
ICED MATCHA 52-02-02-0027 1 16 8 9 23 24 100 15:40 32
ICED MATCHA LIMENADE 52-02-02-0028 1 8 9 12 23 24 1 1 32
Iced Thai milk Tea 52-02-03-0024 1 6 7 10 23 41 24 165 2:45 40
Iced Taiwanese Tea 52-02-03-0025 1 6 7 10 23 41 24 104 1:44 25
Iced matcha latte 52-02-03-0026 1 6 7 8 9 23 41 24 175 2:55 34
ICED MATCHA 52-02-03-0027 1 16 8 9 23 41 24 100 15:40 32
ICED MATCHA LIMENADE 52-02-03-0028 1 8 9 12 23 41 24 1 1 32
THAI TEA SHAKE 52-04-02-0015 1 25 26 6 7 10 23 24 223 3:43 37
MATCHA SHAKE 52-04-02-0016 1 25 26 9 6 7 23 24 181 3:01 30
TAIWANESE TEA SHAKE 52-04-02-0017 1 25 26 10 17 23 24 197 3:17 39
APP FAST ORIGINAL 52-04-02-1018 1 25 26 23 24 100 1:40 32
ESPRESSO SHAKE 52-04-02-1019 1 25 26 2 3 4 5 17 23 24 230 3:50 28
CHOCOLATE SHAKE 52-04-02-1020 1 25 26 6 7 15 23 24 219 3:39 36
THAI TEA SHAKE 52-04-02-1021 1 25 26 6 7 10 23 24 223 3:43 37
แอพ ฟาสท์ ชาเขียว 52-04-02-1022 1 25 26 9 6 7 23 24 181 3:01 30
ชาอู่หลงร้อน 52-02-01-0031 1 10 16 24 90 1:30 29
ชาอู่หลงเย็น 52-02-02-0031 1 10 16 23 24 104 1:44 25
- 52-02-03-0031 1 10 16 24 90 1:30 29
- 52-02-03-0032 1 10 16 24 104 1:44 25
ชาอู่หลงมะนาว ร้อน 52-02-01-0032 1 10 12 16 24 90 1:30 29
ชาอู่หลงมะนาว เย็น 52-02-02-0032 1 10 12 16 23 24 104 1:44 25
ชาดำร้อน 52-02-01-0029 1 10 16 24 90 1:30 29
ชาดำมะนาวร้อน 52-02-01-0030 1 10 12 16 24 104 1:44 25
ICED THAI TEA 52-02-02-0029 1 16 10 23 24 100 15:40 32
ICED THAI TEA LIMENADE 52-02-02-0030 1 10 12 23 24 1 1 32
24 1 1 32
HOT HOJICHA 52-02-01-0036 1 55 16 24 1 1 32
โฮจิฉะลาเต้ร้อน 52-02-01-0037 1 6 55 16 24 1 1 32
nUll 52-02-02-0036 24 1 1 32
โฮจิฉะลาเต้เย็น 52-02-02-0037 1 6 55 16 23 24 1 1 32
nUll 52-02-03-0036 24 1 1 32
nUll 52-02-03-0037 24 1 1 32
กาแฟดำร้อน(อเมริกาโน) 52-01-01-1003 1 2 3 4 5 16 24 1 1 32
ลาเต้ร้อน 52-01-01-1004 1 2 3 4 5 6 7 24 1 1 32
กาแฟดำเย็น(อเมริกาโน) 52-01-02-1001 1 2 3 4 5 16 23 24 1 1 32
ลาเต้เย็น 52-01-02-1002 1 2 3 4 5 6 7 23 24 1 1 32
มอคค่าเย็น 52-01-02-1003 1 2 3 4 5 15 7 23 24 1 1 32
ชานมไต้หวัน 52-02-02-1025 1 6 7 10 23 24 1 1 32
มัทฉะลาเต้เย็น 52-02-02-1026 1 6 7 8 9 23 24 1 1 32
ชาเขียวญี่ปุ่นเย็น 52-02-02-1027 1 16 8 9 23 24 1 1 32
ชาดำมะนาวเย็น 52-02-02-1030 1 10 12 23 24 1 1 32
ชานมไทยเย็น 52-02-02-1024 1 6 7 10 23 24 1 1 32
โกโก้ร้อน 52-03-01-1002 1 15 6 7 24 1 1 32
โกโก้เย็น 52-03-02-1002 1 15 6 7 23 24 1 1 32
น้ำมะนาวโซดา 52-05-02-1010 1 12 23 13 24 1 1 32
มอคค่าร้อน 52-01-01-1006 1 2 3 4 5 15 7 24 1 1 32
ชานมไทยร้อน 52-02-01-1024 1 6 7 10 24 1 1 32
ชานมไต้หวันร้อน 52-02-01-1025 1 6 7 10 23 24 1 1 32
มัทฉะลาเต้ร้อน 52-02-01-1026 1 6 7 8 9 24 1 1 32
ชาดำร้อน 52-02-01-1029 1 10 16 24 1 1 32
ชาดำมะนาวร้อน 52-02-01-1030 1 10 12 16 24 1 1 32
ชาดำไต้หวันร้อน 52-02-01-1031 1 10 16 24 1 1 32
โฮจิฉะลาเต้ร้อน 52-02-01-1037 1 6 55 16 24 1 1 32
ชาเขียวญี่ปุ่นร้อน 52-02-01-1027 1 16 8 9 24 1 1 32
ชาดำเย็น 52-02-02-1029 1 16 10 23 24 1 1 32
ชาดำไต้หวันเย็น 52-02-02-1031 1 10 16 23 24 1 1 32
นมร้อน 52-03-01-1005 1 6 7 24 1 1 32
นมเย็น 52-03-02-1005 1 6 7 23 24 1 1 32
น้ำมะนาวเย็น 52-05-01-1001 1 16 12 23 24 1 1 32
โฮจิฉะลาเต้เย็น 52-02-02-1037 1 6 55 16 23 24 1 1 32
คาปูชิโน่เย็น 52-01-02-1099 1 2 3 4 5 6 7 23 24 1 1 32
คาปูชิโน่ร้อน 52-01-01-1099 1 2 3 4 5 6 7 24 1 1 32
ICED LIMENADE 52-05-02-1001 1 16 12 23 24 100 1:40 32
อเมริกาโนยูซุร้อน 52-01-01-0040 1 53 3 5 6 7 24 49 0:49 23
อเมริกาโนยูซุเย็น 52-01-02-0040 1 53 3 5 6 7 23 24 49 0:49 23
ชายูซุร้อน 52-02-01-0038 1 10 16 53 24 49 1:49 23
ชายูซุเย็น 52-02-02-0038 1 10 16 53 23 24 49 2:49 23
โกโก้ยูซุเย็น 52-03-02-0025 1 15 7 53 24 49 3:49 23
โกโก้ยูซุร้อน 52-03-01-0025 1 15 7 53 23 24 49 4:49 23
โกโก้ยูซุปั่น 52-03-03-0025 1 15 7 53 23 41 24 49 5:49 23
HOT BANANA CAFE LATTE 52-01-01-0042 1 56 3 4 5 16 24 49 1 23
ICED BANANA CAFE LATTE 52-01-02-0042 1 56 3 4 5 23 24 49 1 23
BANANA CAFE LATTE 52-01-03-0042 1 56 3 4 5 23 41 24 49 1 23
นมช็อกโกโตเกียวบานาน่า 52-03-03-0024 1 17 56 23 15 41 24 49 1 23
นมช็อกโกโตเกียวบานาน่า 52-03-02-0024 1 17 56 23 15 24 49 1 23
นมช็อกโกโตเกียวบานาน่า 52-03-01-0024 1 17 56 15 24 49 1 23
CHOPIN ALMOST DIRTY 52-01-02-0045 1 7 57 2 3 4 5 24 49 1 23
อเมริกาโนร้อนCHOPIN 52-01-01-0044 1 2 57 3 4 5 16 24 49 1 23
อเมริกาโนเย็นCHOPIN 52-01-02-0044 1 2 57 3 4 5 23 16 24 49 1 23
เอสเพรสโซ่ช็อต CHOPIN 52-01-01-0043 1 2 57 3 3 5 24 49 1 23
24 49 1 23
MANDARINE-DIRTY 52-01-02-0048 1 7 2 3 4 5 24 49 1 23
MANDARINE-AMERI 52-01-01-0047 1 2 3 4 5 16 24 49 1 23
MANDARINE-AMERI 52-01-02-0047 1 2 3 4 5 23 16 24 49 1 23
MANDARINE-ESP 52-01-01-0046 1 2 3 3 5 24 49 1 23
OPUS-ONE-DIRTY 52-01-02-0051 1 7 2 3 4 5 24 49 1 23
OPUS-ONE-AMERI 52-01-01-0050 1 2 3 4 5 16 24 49 1 23
OPUS-ONE-AMERI 52-01-02-0050 1 2 3 4 5 23 16 24 49 1 23
OPUS-ONE-ESP 52-01-01-0049 1 2 3 3 5 24 49 1 23
น้ำเมียงู 52-01-02-0054 1 56 3 4 5 23 24 49 1 23
SNAKE WIFE AMERICANO 52-01-02-0053 1 21 3 4 5 23 24 49 1 23
ชาดำปาโป่ง 52-02-02-0043 1 10 12 23 13 24 49 1 23
บ้านผีปอบ 52-02-02-0044 1 19 8 9 23 13 24 49 1 23
โอวัลตินรถโรงเรียน 52-03-02-0026 1 51 17 23 24 49 1 23
โซดาสอยดาว 52-05-02-0055 1 12 33 11 23 13 24 49 1 23
โคล่าติมหลอด 52-05-02-0056 1 23 14 21 13 24 49 1 23
ชามะลิร้อน 52-02-01-0045 1 16 10 24 49 1 23
ชามะลิเย็น 52-02-02-0045 1 16 10 23 24 49 1 23
ชามะลิลาเต้ร้อน 52-02-01-0046 1 16 7 10 24 49 1 23
ชามะลิลาเต้เย็น 52-02-02-0046 1 16 7 10 23 24 49 1 23
ชามะลิลาเต้ปั่น 52-02-03-0046 1 16 7 10 23 41 24 49 1 23
Jasmine Tea soda 52-05-02-0059 1 16 10 23 13 24 49 1 23
JASMINE MILK TEA SMOOTHIE 52-02-03-0047 1 16 7 10 23 41 24 49 1 23
HOT JASMINE LIME 52-02-01-0048 1 16 10 12 24 49 1 23
ICED JASMINE LIME 52-02-02-0049 1 16 10 12 23 24 49 1 23
JASMINE MILK TEA OREO SMOOTHIE 52-02-03-0048 1 16 10 41 40 24 49 1 23
PEPSI JASMINE TEA 52-05-02-0061 1 14 10 23 13 24 49 1 23
PEPSI MAX 52-05-02-0062 1 14 23 13 24 49 1 23
เป๊ปซี่บ๊วย 52-05-02-0046 1 14 33 23 13 24 120 2:00 23
เป๊ปซี่บ๊วยปั่น 52-05-03-0046 1 14 33 23 41 13 24 120 3:00 23
เป๊ปซี่เมล่อน 52-05-02-0047 1 14 52 23 13 24 120 4:00 23
เป๊ปซี่เมล่อนปั่น 52-05-03-0047 1 14 52 23 41 13 24 120 5:00 23
PEPSI YUZU 52-05-02-0053 1 14 53 23 13 24 120 4:00 23
PEPSI BANANA 52-05-02-0054 1 14 56 23 13 24 120 4:00 23
Coke 52-05-02-0019 1 23 37 13 24 49 0:49 23
Coke 52-05-03-0019 1 23 37 13 41 24 49 0:49 23
OREO SMOOTHIE VOLCANO 52-03-03-0009 1 17 23 40 41 24 110 1:50 53
Supper oreo 52-03-03-0032 1 17 23 40 41 24 110 1:50 53
Iced Espresso 52-11-03-0001 1 2 3 4 5 6 7 23 41 24 208 3:28 29
Iced Americano 52-01-03-0001 1 2 3 4 5 23 16 41 24 133 2:13 22
Iced Cafe Latte 52-01-03-0002 1 2 3 4 5 6 7 23 41 24 186 3:06 26
Iced Cappuccino 52-11-03-0002 1 2 3 4 5 6 7 23 41 24 190 3:10 27
Iced Mocha 52-01-03-0003 1 2 3 4 5 15 7 23 41 24 167 2:47 23
Iced Caramel café Latte 52-01-03-0004 1 22 2 3 4 5 7 23 41 24 182 3:02 25
Iced Matcha café Latte 52-01-03-0005 2 3 4 5 8 9 7 23 41 24 204 3:24 25
Iced Taiwanese Tea café Latte 52-01-03-0006 1 2 3 4 5 10 23 41 24 178 2:58 29
Iced Thai Tea café Latte 52-01-03-0007 2 3 4 5 6 7 10 23 41 24 190 3:10 23
Iced Kokuto café Latte 52-01-03-0008 2 3 4 5 6 7 27 23 41 24 186 3:06 23
Iced Lychee Americano 52-01-03-0009 1 2 3 4 5 11 16 23 41 24 105 1:45 14
Iced Caramel milk 52-03-03-0001 1 22 17 23 41 24 113 1:53 36
Iced Cocoa 52-03-03-0002 1 15 17 23 41 24 125 2:05 40
Iced Kokuto Milk 52-03-03-0003 1 27 17 23 41 24 119 1:59 38
Iced Caramel cocoa 52-03-03-0004 1 15 22 17 23 41 24 166 2:46 41
Milk with Iced 52-03-03-0005 1 17 23 41 24 110 1:50 53
Iced Pink milk 52-03-03-0006 1 21 17 23 41 24 129 2:09 42
Pink milk-Oreo Vocalno 52-03-03-0026 1 21 17 40 41 40 24 129 2:09 42
Iced Chrysanths Tea 52-02-03-0001 1 10 23 41 24 88 1:28 42
Iced Thai milk Tea 52-02-03-0002 1 6 7 10 23 41 24 165 2:45 40
Iced Taiwanese Tea 52-02-03-0003 1 6 7 10 23 41 24 104 1:44 25
Iced matcha latte 52-02-03-0004 1 6 7 8 9 23 41 24 175 2:55 34
Iced Kokuto Tea 52-02-03-0006 1 6 7 10 27 23 41 24 131 2:11 25
Iced Lime tea 52-02-03-0007 1 10 12 23 41 24 130 2:10 42
Iced Lychee tea (สูตรแก้วร้อน ลดน้ำจาก 60+50 เป็น 50+40 52-02-03-0008 1 10 11 23 41 24 129 2:09 42
ICED LIMENADE 52-05-03-0001 1 16 12 23 41 24 100 1:40 32
ICED SALAK 52-05-03-0002 1 16 21 23 41 24 59 0:59 18
ICED LIME SALAK 52-05-03-0003 1 16 12 21 23 41 24 79 1:19 19
ICED LYCHEE 52-05-03-0004 1 16 11 23 41 24 82 1:22 26
Pepsi 52-05-03-0007 1 23 14 41 24 49 0:49 23
SALAK SODA 52-05-03-0008 1 21 23 13 41 24 44 0:44 13
LIME SALAK SODA 52-05-03-0009 1 21 23 12 13 41 24 79 1:19 19
LIMENADE SODA 52-05-03-0010 1 12 23 13 41 24 107 1:47 34
ICED LYCHEE SODA 52-05-03-0011 1 11 23 13 41 24 65 1:05 20
Sprite 52-05-03-0020 1 23 18 41 24 20 0:20 8
7UP 52-05-03-0021 1 23 18 41 24 20 0:20 8
MATCHA SHAKE 52-04-03-0001 1 25 26 9 6 7 23 41 24 181 3:01 30
CHOCOLATE SHAKE 52-04-03-0002 1 25 26 6 7 15 23 41 24 219 3:39 36
STRAWBERRY SHAKE 52-04-03-0003 1 25 26 19 17 23 41 24 178 2:58 35
ESPRESSO SHAKE 52-04-03-0004 1 25 26 2 3 4 5 17 23 41 230 3:50 28
THAI TEA SHAKE 52-04-03-0005 1 25 26 6 7 10 23 41 24 223 3:43 37
KOKUTO SHAKE 52-04-03-0006 1 25 26 26 17 23 41 24 180 3:00 35
TAIWANESE TEA SHAKE 52-04-03-0008 1 25 26 10 17 23 41 24 197 3:17 39
CARAMEL SHAKE 52-04-03-0009 1 25 26 22 17 23 41 24 196 3:16 38
MILK SHAKE 52-04-03-0010 1 25 26 6 7 23 41 24 120 2:00 23
PLAIN PROTEIN 52-04-03-0011 1 25 26 23 41 24 100 1:40 32
ICED PLUM TEA 52-02-03-0017 1 33 10 24 100 4:40 32
ICED PLUM SODA 52-05-03-0024 1 33 23 13 41 24 100 6:40 32
ICED PLUM LIMENADE SODA 52-05-03-0025 1 33 12 23 13 41 24 100 7:40 32
ICED PLUM DRINK 52-05-03-0026 1 33 23 41 24 100 8:40 32
ICED \nCANNABIS DRINK 52-05-03-0027 1 32 23 41 24 100 9:40 32
ICED \nCANNABIS SODA 52-05-03-0028 1 32 23 13 41 24 100 10:40 32
ICED LIMENADE \nCANNABIS SODA 52-05-03-0029 1 32 12 23 13 41 24 100 11:40 32
ICED MATCHA 52-02-03-0011 1 16 8 9 23 41 24 100 15:40 32
ICED AMERICANO ETHIOPAI GUJI 52-01-03-0011 1 2 3 4 5 23 16 41 24 133 2:13 32
ICED MATCHA LIMENADE 52-02-03-0012 1 8 9 12 23 41 24 1 1 32
Energy drink 52-05-03-0034 1 34 23 41 24 100 3:40 32
Energy drink soda 52-05-03-0035 1 34 13 23 41 24 100 3:40 32
ENERGY DRINK PEPSI 52-05-03-0036 1 34 14 23 41 24 100 5:40 32
ENERGY DRINK SODA 52-05-03-0035 1 34 13 23 41 24 100 6:40 32
ENERGY DRINK LIMENADE 52-05-03-0037 1 34 12 41 24 100 7:40 32
ICED ENERGY DRINK 52-05-03-0034 1 34 23 41 24 100 8:40 32
ICED LYCHEE LIMENADE SODA 52-05-03-0022 1 11 13 23 41 24 100 11:40 32
ICED LYCHEE 52-05-03-0032 1 11 16 23 41 24 100 17:40 32
ICED LYCHEE SODA 52-05-03-0033 1 11 13 23 41 24 100 18:40 32
ICED LYCHEE TEA 52-02-03-0019 1 11 16 23 41 24 100 20:40 32
ICED LYCHEE AMERICANO 52-01-03-0017 1 2 3 4 5 11 16 23 41 24 100 22:40 32
ICED GINGER TEA 52-02-03-0020 1 10 23 41 24 88 2:28 42
GINGER SODA 52-05-03-0038 1 10 13 23 41 24 88 3:28 42
GINGER LIME \nSODA 52-05-03-0039 1 10 13 12 23 24 88 4:28 42
STRAWBERRY SODA 52-05-03-0041 1 19 23 13 41 24 55 0:55 17
ICED STRAWBERRY 52-05-03-0040 1 16 19 23 41 24 75 1:15 24
Iced strawberrry tea 52-02-03-0022 1 10 19 23 41 24 85 1:25 27
STRAWBERRY SHAKE 52-04-03-0013 1 25 26 19 17 23 41 24 178 2:58 35
ICED AMERICANO BLUE DADDY 52-01-03-0019 1 2 36 3 4 5 23 16 41 24 133 2:13 32
Coke 52-05-03-0019 1 23 37 13 41 24 49 0:49 23
น้ำเชื่อมเมล่อน ผงมะนาว ชาไทย และน้ำแข็ง 52-99-02-0011 1 52 10 12 23 24 49 11:01 23
น้ำเชื่อมเมล่อน ชาเขียว นม และน้ำแข็ง 52-99-02-0013 1 52 8 9 24 49 12:01 23
น้ำเชื่อมเมล่อน น้ำเชื่อมสตรอเบอรี่ โซดา และน้ำแข็ง 52-99-02-0014 1 52 19 23 13 24 49 13:01 23
น้ำเชื่อมเมล่อน น้ำเชื่อมบ๊วย โซดา และน้ำแข็ง 52-99-02-0015 1 52 33 23 13 24 49 14:01 23
น้ำเชื่อมเมล่อน ผงมะนาว โซดา และน้ำแข็ง 52-99-02-0016 1 52 12 23 13 24 49 15:01 23
น้ำเชื่อมเมล่อน ชามะลิ และน้ำ 52-99-02-0018 1 10 52 23 24 49 10:01 23
กาแฟมินต์ลาเต้ปั่น 52-21-03-0057 1 2 3 5 59 7 41 24 120 12:00 23
กาแฟมินต์ลาเต้เย็น 52-21-02-0057 1 2 3 5 59 7 24 120 13:00 23
กาแฟมินต์ลาเต้ร้อน 52-21-01-0057 1 2 3 5 59 24 120 14:00 23
มินต์มะนาวโซดา 52-05-02-0060 1 12 59 13 23 24 120 19:00 23
สตรอเบอร์รี่มินต์โซดา 52-05-02-0063 1 19 59 13 23 24 120 20:00 23
ยูซุมินต์โซดา 52-05-02-0064 1 53 59 13 23 24 120 22:00 23
มินต์ลิ้นจี่มะนาวโซดา 52-05-02-0066 1 11 12 59 13 23 24 120 23:00 23
บ๊วยมะนาวมินต์โซดา 52-05-02-0065 1 12 33 59 12 23 24 120 0:00 23
มัทฉะลาเต้มินต์ 52-02-02-0050 1 6 59 8 9 23 24 120 1:00 23
มัทฉะลาเต้มินต์ 52-02-01-0050 1 6 59 8 9 24 120 2:00 23
มัทฉะลาเต้มินต์ 52-02-03-0050 1 6 59 8 9 23 41 24 120 3:00 23
มินต์กาโน่ร้อน 52-21-01-0058 1 2 3 5 59 16 24 120 4:00 23
มินต์กาโน่เย็น 52-21-02-0058 1 2 3 5 59 16 23 24 120 5:00 23
โกโก้มินต์ร้อน 52-03-01-0035 1 7 15 59 16 24 120 6:00 23
โกโก้มินต์เย็น 52-03-02-0035 1 7 15 59 16 23 24 120 7:00 23
โกโก้มินต์ปั่น 52-03-03-0035 1 7 15 59 16 23 41 24 120 8:00 23
นมมินต์ร้อน 52-03-01-0036 1 7 59 16 24 120 9:00 23
นมมินต์เย็น 52-03-02-0036 1 7 59 16 23 24 120 10:00 23
นมมินต์ปั่น 52-03-03-0036 1 7 59 16 23 41 24 120 11:00 23
เป๊ปซี่มินต์ 52-05-02-0067 1 14 59 12 23 24 120 12:00 23
นมสตรอร์เบอร์รี่มินต์เย็น 52-03-02-0037 1 19 59 24 120 13:00 23
มินต์โอริโอ้ภูเขาไฟ 52-03-03-0034 1 17 59 23 41 40 24 120 14:00 23
นมสตรอร์เบอร์รี่มินต์ปั่น 52-03-03-0037 1 17 59 19 41 24 120 15:00 23
Hot Latte 52-01-81-0004 1 2 3 4 5 6 70 24 1170 10:30 19
Hot Cappucino 52-01-81-0005 1 2 3 4 5 6 70 24 136 2:16 22
Hot Milk 52-03-81-0005 1 6 70 24 102 1:42 49
Hot Mocha 52-01-81-0006 1 2 3 4 5 15 70 24 135 2:15 22
Hot Cocoa 52-03-81-0002 1 15 6 70 24 135 2:15 44
Iced Espresso 52-11-82-0001 1 2 3 4 5 6 70 23 24 208 3:28 29
Iced Espresso 52-11-83-0001 1 2 3 4 5 6 70 23 41 24 208 3:28 29
Iced Cafe Latte 52-01-82-0002 1 2 3 4 5 6 70 23 24 186 3:06 26
Iced Cafe Latte 52-01-83-0002 1 2 3 4 5 6 70 23 41 24 186 3:06 26
Iced Cappuccino 52-11-82-0002 1 2 3 4 5 6 70 23 24 190 3:10 27
Iced Cappuccino 52-11-83-0002 1 2 3 4 5 6 70 23 41 24 190 3:10 27
Iced Mocha 52-01-82-0003 1 2 3 4 5 15 70 23 24 1670 9:50 23
Iced Mocha 52-01-83-0003 1 2 3 4 5 15 70 23 41 24 1670 9:50 23
Iced Cocoa 52-03-82-0002 1 15 17 23 24 125 2:05 40
Iced Cocoa 52-03-83-0002 1 15 17 23 41 24 125 2:05 40
Iced Thai milk Tea 52-02-82-0002 1 6 70 10 23 24 165 2:45 40
Iced Thai milk Tea 52-02-83-0002 1 6 70 10 23 41 24 165 2:45 40
Iced Caramel café Latte 52-01-82-0004 1 22 2 3 4 5 70 23 24 182 3:02 25
Iced Caramel café Latte 52-01-83-0004 1 22 2 3 4 5 70 23 41 24 182 3:02 25
ETHIOPAI GUJI DIRTY 52-01-82-0018 1 70 2 3 4 5 24 100 22:40 32
Iced Pink milk 52-03-82-0006 1 21 17 23 24 129 2:09 42
Iced Pink milk 52-03-83-0006 1 21 17 23 41 24 129 2:09 42
Pink milk-Oreo Vocalno 52-03-83-0026 1 21 17 40 41 40 24 129 2:09 42
Iced Caramel milk 52-03-82-0001 1 22 17 23 24 113 1:53 36
Iced Caramel milk 52-03-83-0001 1 22 17 23 41 24 113 1:53 36
Hot Caramel cocoa 52-03-81-0004 1 15 22 6 70 24 145 2:25 35
Hot Caramel milk 52-03-81-0001 1 22 6 70 24 84 1:24 27
CHOCOLATE SHAKE 52-04-82-0002 1 25 26 6 70 15 23 24 219 3:39 36
Hot Caramel Latte 52-01-81-0007 1 22 2 3 4 5 70 24 135 2:15 22
Hot Taiwanese Tea café Latte 52-01-81-0009 1 2 3 4 5 10 24 136 2:16 26
Hot Thai Tea café Latte 52-01-81-0010 1 2 3 4 5 6 70 10 24 161 2:41 22
Iced Thai Tea café Latte 52-01-82-0007 1 2 3 4 5 6 70 10 23 24 190 3:10 23
Iced Thai Tea café Latte 52-01-83-0007 2 3 4 5 6 70 10 23 41 24 190 3:10 23
Iced matcha latte 52-02-82-0004 1 6 70 8 9 23 24 175 2:55 34
Iced matcha latte 52-02-83-0004 1 6 70 8 9 23 41 24 175 2:55 34
Hot matcha latte 52-02-81-0004 1 6 70 8 9 24 149 2:29 36
Iced Kokuto Tea 52-02-82-0006 1 6 70 10 27 23 24 131 2:11 25
Iced Kokuto Tea 52-02-83-0006 1 6 70 10 27 23 41 24 131 2:11 25
Hot Matcha café Latte 52-01-81-0008 1 2 3 4 5 8 9 70 24 140 2:20 19
Hot Kokuto café Latte 52-01-81-0011 1 2 3 4 5 6 70 27 24 125 2:05 17
Hot Kokuto Milk 52-03-81-0003 1 27 6 70 70 24 84 1:24 27
Hot thai milk tea 52-02-81-0002 1 6 70 10 24 78 1:18 25
Hot Kokuto Tea 52-02-81-0006 1 6 70 10 27 24 133 2:13 32
MATCHA SHAKE 52-04-82-0001 1 25 26 9 6 70 23 24 181 3:01 30
Iced Matcha café Latte 52-01-82-0005 1 2 3 4 5 8 9 70 23 24 204 3:24 25
Iced Matcha café Latte 52-01-83-0005 2 3 4 5 8 9 70 23 41 24 204 3:24 25
Iced Kokuto café Latte 52-01-82-0008 1 2 3 4 5 6 70 27 23 24 186 3:06 23
Iced Kokuto café Latte 52-01-83-0008 2 3 4 5 6 70 27 23 41 24 186 3:06 23
Iced Kokuto Milk 52-03-82-0003 1 27 17 23 24 119 1:59 38
Iced Kokuto Milk 52-03-83-0003 1 27 17 23 41 24 119 1:59 38
Iced Caramel cocoa 52-03-82-0004 1 15 22 17 23 24 166 2:46 41
Iced Caramel cocoa 52-03-83-0004 1 15 22 17 23 41 24 166 2:46 41
Milk with Iced 52-03-82-0005 1 17 23 24 110 1:50 53
Milk with Iced 52-03-83-0005 1 17 23 41 24 110 1:50 53
STRAWBERRY SHAKE 52-04-82-0003 1 25 26 19 17 23 24 178 2:58 35
ESPRESSO SHAKE 52-04-82-0004 1 25 26 2 3 4 5 17 23 24 230 3:50 28
THAI TEA SHAKE 52-04-82-0005 1 25 26 6 70 10 23 24 223 3:43 37
KOKUTO SHAKE 52-04-82-0006 1 25 26 26 17 23 24 180 3:00 35
BLUEBERRY SHAKE 52-04-82-0007 1 25 26 20 17 23 24 171 2:51 33
CARAMEL SHAKE 52-04-82-0009 1 25 26 22 17 23 24 196 3:16 38
MILK SHAKE 52-04-82-0010 1 25 26 6 70 23 24 120 2:00 23
Mango milk 52-03-82-0007 1 31 70 31 23 24 100 4:40 32
STRAWBERRY SHAKE 52-04-82-0013 1 25 26 19 17 23 24 178 2:58 35
ETHIOPAI BLUE DADDY DIRTY 52-01-82-0020 1 70 42 2 3 4 5 24 100 22:40 32
OREO SMOOTHIE VOLCANO 52-03-83-0009 1 17 23 40 41 24 110 1:50 53
MOZART ALMOST DIRTY 52-01-82-0022 1 70 43 2 3 4 5 24 100 22:40 32
โกโก้สตอเบอร์รี่เย็น 52-03-82-0010 1 15 17 19 23 24 125 2:05 40
โกโก้สตอเบอร์รี่ปั่น 52-03-83-0010 1 15 17 19 23 41 24 125 2:05 40
นมสตอเบอร์รี่เย็น 52-03-82-0011 1 17 19 23 24 125 5:05 40
นมสตอเบอร์รี่ปั่น 52-03-83-0011 1 17 19 23 41 24 125 6:05 40
HONDURAS SINGLE ORIGIN 52-01-82-0026 1 70 44 2 3 4 5 24 100 22:40 32
SNOWWHITE 52-01-82-0024 1 70 45 2 3 4 5 24 100 22:40 32
PEACHER 52-01-82-0028 1 70 47 3 3 4 5 24 100 22:40 32
Hot Thai Tea café Latte 52-01-81-0029 1 2 3 4 5 6 70 10 24 161 2:41 22
Hot Taiwanese Tea café Latte 52-01-81-0030 1 2 3 4 5 10 24 136 2:16 26
Hot Matcha café Latte 52-01-81-0031 1 2 3 4 5 8 9 70 24 140 2:20 19
Iced Thai Tea café Latte 52-01-82-0029 1 2 3 4 5 6 70 10 23 24 190 3:10 23
Iced Thai Tea café Latte 52-01-83-0029 2 3 4 5 6 70 10 23 41 24 190 3:10 23
Iced Taiwanese Tea café Latte 52-01-82-0030 1 2 3 4 5 10 23 24 178 2:58 29
Iced Taiwanese Tea café Latte 52-01-83-0030 1 2 3 4 5 10 23 41 24 178 2:58 29
Iced Matcha café Latte 52-01-82-0031 1 2 3 4 5 8 9 70 23 24 204 3:24 25
Iced Matcha café Latte 52-01-83-0031 2 3 4 5 8 9 70 23 41 24 204 3:24 25
Hot thai milk tea 52-02-81-0024 1 6 70 10 24 78 1:18 25
Hot Taiwanese Tea 52-02-81-0025 1 6 70 10 24 90 1:30 29
Hot matcha latte 52-02-81-0026 1 6 70 8 9 24 149 2:29 36
Iced Thai milk Tea 52-02-82-0024 1 6 70 10 23 24 165 2:45 40
Iced Thai milk Tea 52-02-83-0024 1 6 70 10 23 41 24 165 2:45 40
Iced Taiwanese Tea 52-02-82-0025 1 6 70 10 23 24 104 1:44 25
Iced Taiwanese Tea 52-02-83-0025 1 6 70 10 23 41 24 104 1:44 25
Iced matcha latte 52-02-82-0026 1 6 70 8 9 23 24 175 2:55 34
Iced matcha latte 52-02-83-0026 1 6 70 8 9 23 41 24 175 2:55 34
THAI TEA SHAKE 52-04-82-0015 1 25 26 6 70 10 23 24 223 3:43 37
MATCHA SHAKE 52-04-82-0016 1 25 26 9 6 70 23 24 181 3:01 30
TAIWANESE TEA SHAKE 52-04-82-0017 1 25 26 10 17 23 24 1970 5:50 39
Pure beauty 52-01-82-0033 1 70 48 2 3 4 5 24 100 22:40 32
Geisha 52-01-82-0036 1 70 49 2 3 4 5 24 100 22:40 32
โอวัลตินปั่นภูเขาไฟ 52-03-83-0020 1 51 17 23 41 24 66 2:06 32
โอวัลตินร้อน 52-03-81-0019 1 51 17 16 24 66 3:06 32
โอวัลตินเย็น 52-03-82-0019 1 51 17 23 24 66 4:06 32
โอวัลตินปั่น 52-03-83-0019 1 51 17 23 41 24 66 5:06 32
ROSALYN ALMOST DIRTY 52-01-82-0037 1 70 50 2 3 4 5 24 66 6:06 32
นมเมล่อน 52-03-83-0022 1 17 52 23 41 24 1 1 32
โกโก้โอดิบภูเขาไฟ 52-03-83-0021 1 51 15 17 23 41 51 24 66 5:06 32
นมเมล่อน 52-03-81-0022 1 17 52 24 1 1 32
นมเมล่อน 52-03-82-0022 1 17 52 23 24 1 1 32
อเมริกาโนเมล่อนร้อน 52-01-81-0039 1 2 3 4 5 52 24 120 5:00 23
อเมริกาโนเมล่อนเย็น 52-01-82-0039 1 2 3 4 5 52 23 24 120 6:00 23
เมล่อนโปรตีน 52-04-82-0018 1 26 6 52 25 24 120 2:00 23
ลาเต้ร้อน 52-01-81-1004 1 2 3 4 5 6 70 24 1 1 32
ลาเต้เย็น 52-01-82-1002 1 2 3 4 5 6 70 23 24 1 1 32
มอคค่าเย็น 52-01-82-1003 1 2 3 4 5 15 70 23 24 1 1 32
ชานมไต้หวัน 52-02-82-1025 1 6 70 10 23 24 1 1 32
มัทฉะลาเต้เย็น 52-02-82-1026 1 6 70 8 9 23 24 1 1 32
ชานมไทยเย็น 52-02-82-1024 1 6 70 10 23 24 1 1 32
โกโก้ร้อน 52-03-81-1002 1 15 6 70 24 1 1 32
โกโก้เย็น 52-03-82-1002 1 15 6 70 23 24 1 1 32
มอคค่าร้อน 52-01-81-1006 1 2 3 4 5 15 70 24 1 1 32
ชานมไทยร้อน 52-02-81-1024 1 6 70 10 24 1 1 32
ชานมไต้หวันร้อน 52-02-81-1025 1 6 70 10 23 24 1 1 32
มัทฉะลาเต้ร้อน 52-02-81-1026 1 6 70 8 9 24 1 1 32
นมร้อน 52-03-81-1005 1 6 70 24 1 1 32
นมเย็น 52-03-82-1005 1 6 70 23 24 1 1 32
คาปูชิโน่เย็น 52-01-82-1099 1 2 3 4 5 6 70 23 24 1 1 32
คาปูชิโน่ร้อน 52-01-81-1099 1 2 3 4 5 6 70 24 1 1 32
Hot Latte 52-01-01-0004 1 2 3 4 5 6 70 24 1170 10:30 19
Hot Cappucino 52-01-01-0005 1 2 3 4 5 6 70 24 136 2:16 22
Hot Mocha 52-01-01-0006 1 2 3 4 5 15 70 24 135 2:15 22
Hot Caramel Latte 52-01-01-00070 1 22 2 3 4 5 70 24 135 2:15 22
Hot Matcha café Latte 52-01-01-0008 1 2 3 4 5 8 9 70 24 140 2:20 19
Hot Taiwanese Tea café Latte 52-01-01-0009 1 2 3 4 5 10 24 136 2:16 26
Hot Thai Tea café Latte 52-01-01-0010 1 2 3 4 5 6 70 10 24 161 2:41 22
Hot Kokuto café Latte 52-01-01-0011 1 2 3 4 5 6 70 27 24 125 2:05 17
Hot Thai Tea café Latte 52-01-01-0029 1 2 3 4 5 6 70 10 24 161 2:41 22
Hot Taiwanese Tea café Latte 52-01-01-0030 1 2 3 4 5 10 24 136 2:16 26
Hot Matcha café Latte 52-01-01-0031 1 2 3 4 5 8 9 70 24 140 2:20 19
อเมริกาโนเมล่อนร้อน 52-01-01-0039 1 2 3 4 5 52 24 120 5:00 23
Iced Cafe Latte 52-01-02-0002 1 2 3 4 5 6 70 23 24 186 3:06 26
Iced Cafe Latte 52-01-03-0002 1 2 3 4 5 6 70 23 41 24 186 3:06 26
Iced Mocha 52-01-02-0003 1 2 3 4 5 15 70 23 24 1670 9:50 23
Iced Mocha 52-01-03-0003 1 2 3 4 5 15 70 23 41 24 1670 9:50 23
Iced Caramel café Latte 52-01-02-0004 1 22 2 3 4 5 70 23 24 182 3:02 25
Iced Caramel café Latte 52-01-03-0004 1 22 2 3 4 5 70 23 41 24 182 3:02 25
Iced Matcha café Latte 52-01-02-0005 1 2 3 4 5 8 9 70 23 24 204 3:24 25
Iced Matcha café Latte 52-01-03-0005 2 3 4 5 8 9 70 23 41 24 204 3:24 25
Iced Thai Tea café Latte 52-01-02-0007 1 2 3 4 5 6 70 10 23 24 190 3:10 23
Iced Thai Tea café Latte 52-01-03-0007 2 3 4 5 6 70 10 23 41 24 190 3:10 23
Iced Kokuto café Latte 52-01-02-0008 1 2 3 4 5 6 70 27 23 24 186 3:06 23
Iced Kokuto café Latte 52-01-03-0008 2 3 4 5 6 70 27 23 41 24 186 3:06 23
Iced Thai Tea café Latte 52-01-02-0029 1 2 3 4 5 6 70 10 23 24 190 3:10 23
Iced Thai Tea café Latte 52-01-03-0029 2 3 4 5 6 70 10 23 41 24 190 3:10 23
Iced Taiwanese Tea café Latte 52-01-02-0030 1 2 3 4 5 10 23 24 178 2:58 29
Iced Taiwanese Tea café Latte 52-01-03-0030 1 2 3 4 5 10 23 41 24 178 2:58 29
Iced Matcha café Latte 52-01-02-0031 1 2 3 4 5 8 9 70 23 24 204 3:24 25
Iced Matcha café Latte 52-01-03-0031 2 3 4 5 8 9 70 23 41 24 204 3:24 25
อเมริกาโนเมล่อนเย็น 52-01-02-0039 1 2 3 4 5 52 23 24 120 6:00 23
Iced Espresso 52-11-02-0001 1 2 3 4 5 6 70 23 24 208 3:28 29
Iced Espresso 52-11-03-0001 1 2 3 4 5 6 70 23 41 24 208 3:28 29
Iced Cappuccino 52-11-02-0002 1 2 3 4 5 6 70 23 24 190 3:10 27
Iced Cappuccino 52-11-03-0002 1 2 3 4 5 6 70 23 41 24 190 3:10 27
โฮจิฉะลาเต้ร้อน 52-02-81-0037 1 6 55 16 24 1 1 32
โฮจิฉะลาเต้เย็น 52-02-82-0037 1 6 55 16 23 24 1 1 32
nUll 52-02-83-0037 24 1 1 32
โฮจิฉะลาเต้ร้อน 52-02-81-1037 1 6 55 16 24 1 1 32
โฮจิฉะลาเต้เย็น 52-02-82-1037 1 6 55 16 23 24 1 1 32
ลาเต้ร้อน 52-01-01-1004 1 2 3 4 5 6 70 24 1 1 32
มอคค่าร้อน 52-01-01-1006 1 2 3 4 5 15 70 24 1 1 32
คาปูชิโน่ร้อน 52-01-01-1099 1 2 3 4 5 6 70 24 1 1 32
ลาเต้เย็น 52-01-02-1002 1 2 3 4 5 6 70 23 24 1 1 32
มอคค่าเย็น 52-01-02-1003 1 2 3 4 5 15 70 23 24 1 1 32
คาปูชิโน่เย็น 52-01-02-1099 1 2 3 4 5 6 70 23 24 1 1 32
โกโก้ยูซุเย็น 52-03-82-0025 1 15 70 53 24 49 3:49 23
โกโก้ยูซุร้อน 52-03-81-0025 1 15 70 53 23 24 49 4:49 23
โกโก้ยูซุปั่น 52-03-83-0025 1 15 70 53 23 41 24 49 5:49 23
HOT BANANA CAFE LATTE 52-01-81-0042 1 56 3 4 5 16 24 49 1 23
ICED BANANA CAFE LATTE 52-01-82-0042 1 56 3 4 5 23 24 49 1 23
BANANA CAFE LATTE 52-01-83-0042 1 56 3 4 5 23 41 24 49 1 23
CHOPIN ALMOST DIRTY 52-01-82-0045 1 70 57 2 3 4 5 24 49 1 23
นมยูซุร้อน 52-03-81-0023 1 53 6 16 24 120 3:00 23
นมช็อกโกโตเกียวบานาน่า 52-03-81-0024 1 17 56 15 24 49 1 23
นมยูซุเย็น 52-03-82-0023 1 53 6 23 24 120 4:00 23
นมช็อกโกโตเกียวบานาน่า 52-03-83-0024 1 17 56 23 15 41 24 49 1 23
นมช็อกโกโตเกียวบานาน่า 52-03-82-0024 1 17 56 23 15 24 49 1 23
นมยูซุปั่น 52-03-83-0023 1 53 6 23 41 24 120 5:00 23
HOT BANANA CAFE LATTE 52-01-01-0042 1 56 3 4 5 16 24 49 1 23
ICED BANANA CAFE LATTE 52-01-02-0042 1 56 3 4 5 23 24 49 1 23
BANANA CAFE LATTE 52-01-03-0042 1 56 3 4 5 23 41 24 49 1 23
สตอเบอร์รี่ปั่นโอริโอ้ภูเขาไฟ 52-03-83-0027 1 17 23 19 40 41 24 120 7:00 23
เมล่อนปั่นโอริโอ้ภูเขาไฟ 52-03-83-0028 1 17 23 52 40 41 24 120 8:00 23
นมกล้วยปั่นโอริโอ้ภูเขาไฟ 52-03-83-0029 1 17 23 56 40 41 24 120 9:00 23
โกโก้ปั่นโอริโอ้ภูเขาไฟ 52-03-83-0030 1 17 23 15 40 41 24 120 10:00 23
นมคาราเมลปั่นโอริโอ้ภูเขาไฟ 52-03-83-0031 1 17 23 22 40 41 24 120 11:00 23
ลาเต้ปั่น โอริโอ้ภูเขาไฟ 52-01-83-0043 1 17 23 5 40 41 24 120 12:00 23
โฮจิฉะโอริโอ้ภูเขาไฟ 52-02-83-0043 1 17 23 55 40 41 24 120 13:00 23
ชานมไทยโอริโอ้ภูเขาไฟ 52-02-83-0044 1 17 23 55 40 41 24 120 14:00 23
MANDARINE-DIRTY 52-01-82-0048 1 70 2 3 4 5 24 49 1 23
OPUS-ONE-DIRTY 52-01-82-0051 1 70 2 3 4 5 24 49 1 23
โอวัลตินรถโรงเรียน 52-03-82-0026 1 51 17 23 24 49 1 23
Supper oreo 52-03-83-0032 1 17 23 40 41 24 110 1:50 53
ชามะลิลาเต้ร้อน 52-02-81-0046 1 16 70 10 24 49 1 23
ชามะลิลาเต้เย็น 52-02-82-0046 1 16 70 10 23 24 49 1 23
Hot thai milk tea 52-02-01-0024 1 6 70 10 24 78 1:18 25
Iced Thai milk Tea 52-02-02-0024 1 6 70 10 23 24 165 2:45 40
Iced Thai milk Tea 52-02-03-0024 1 6 70 10 23 41 24 165 2:45 40
ชานมไทยร้อน 52-02-01-1024 1 6 70 10 24 1 1 32
ชานมไทยเย็น 52-02-02-1024 1 6 70 10 23 24 1 1 32
Hot Thai Tea café Latte 52-01-01-0029 1 2 3 4 5 6 70 10 24 161 2:41 22
Iced Thai Tea café Latte 52-01-02-0029 1 2 3 4 5 6 70 10 23 24 190 3:10 23
Iced Thai Tea café Latte 52-01-03-0029 2 3 4 5 6 70 10 23 41 24 190 3:10 23
THAI TEA SHAKE 52-04-02-0015 1 25 26 6 70 10 23 24 223 3:43 37
Hot Thai Tea café Latte 52-01-01-0029 1 2 3 4 5 6 70 10 24 161 2:41 22
Iced Thai Tea café Latte 52-01-02-0029 1 2 3 4 5 6 70 10 23 24 190 3:10 23
Iced Thai Tea café Latte 52-01-03-0029 2 3 4 5 6 70 10 23 41 24 190 3:10 23
เป๊ปซี่นมแน่นะวิ 1 14 70 23 13 24 120 17:00 23
RandomCup1 52-99-03-0020 1 81 82 83 84 81 82 83 84 24 120 17:00 23
RandomCup2 52-99-03-0021 1 81 82 83 84 81 82 83 84 24 120 17:00 23
RandomCup3 52-99-03-0022 1 81 82 83 84 81 82 83 84 24 120 17:00 23
RandomCup4 52-99-03-0023 1 81 82 83 84 81 82 83 84 24 120 17:00 23
RandomCup5 52-99-03-0024 1 81 82 83 84 81 82 83 84 24 120 17:00 23
RandomCup6 52-99-03-0025 1 81 82 83 84 81 82 83 84 24 120 17:00 23
RandomCup7 52-99-03-0026 1 81 82 83 84 81 82 83 84 24 120 17:00 23
RandomCup8 52-99-03-0027 1 81 82 83 84 81 82 83 84 24 120 17:00 23
RandomCup9 52-99-03-0028 1 81 82 83 84 81 82 83 84 24 120 17:00 23
RandomCup10 52-99-03-0029 1 81 82 83 84 81 82 83 84 24 120 17:00 23
RandomCup11 52-99-03-0030 1 81 82 83 84 81 82 83 84 24 120 17:00 23
RandomCup12 52-99-03-0031 1 81 82 83 84 81 82 83 84 24 120 17:00 23
RandomCup13 52-99-03-0032 1 81 82 83 84 81 82 83 84 24 120 17:00 23
RandomCup14 52-99-03-0033 1 81 82 83 84 81 82 83 84 24 120 17:00 23
RandomCup15 52-99-03-0034 1 81 82 83 84 81 82 83 84 24 120 17:00 23
RandomCup16 52-99-03-0035 1 81 82 83 84 81 82 83 84 24 120 17:00 23
RandomCup17 52-99-03-0036 1 81 82 83 84 81 82 83 84 24 120 17:00 23
RandomCup18 52-99-03-0037 1 81 82 83 84 81 82 83 84 24 120 17:00 23
RandomCup19 52-99-03-0038 1 81 82 83 84 81 82 83 84 24 120 17:00 23
RandomCup20 52-99-03-0039 1 81 82 83 84 81 82 83 84 24 120 17:00 23
RandomCup21 52-99-03-0041 1 81 82 83 84 81 82 83 84 24 120 17:00 23
RandomCup22 52-99-03-0042 1 81 82 83 84 81 82 83 84 24 120 17:00 23
24 120 18:00 23
Red Moon 52-99-05-0053 1 14 19 12 23 13 24 120 19:00 23
White Lady 52-99-05-0054 1 14 10 12 11 23 13 24 120 20:00 23
Mysterious\nmusic box 52-99-05-0055 1 14 55 12 23 13 24 120 21:00 23
Haunted Haze 52-99-05-0056 1 14 11 33 12 23 13 24 120 22:00 23
The Haunting of\nthe Past 52-99-05-0057 1 14 34 23 13 24 120 23:00 23
The dark lord 52-99-05-0058 1 14 12 21 23 13 24 120 0:00 23
Room no.13 52-99-05-0059 1 14 11 12 23 13 24 120 1:00 23
Haunted Harvest 52-99-05-0060 1 14 8 9 23 13 24 120 2:00 23
Cursed Coffee 52-99-05-0061 1 14 53 4 5 23 13 24 120 3:00 23
The Haunting\nHag of village 52-99-05-0062 1 14 10 33 23 13 24 120 4:00 23
Midnight's Enigma 52-99-05-0064 1 14 33 12 23 13 24 120 5:00 23
Unbelievers' Demise 52-99-05-0065 1 14 52 55 23 13 24 120 6:00 23
7 Haunted Woods 52-99-03-0066 1 14 40 7 23 41 24 120 7:00 23
นมโอ๊ตยูซุเย็น 52-03-82-0041 1 7 53 23 24 120 7:00 23
นมโอ๊ตลิ้นจี่เย็น 52-03-82-0042 1 7 11 23 24 120 8:00 23
นมโอ๊ตมะนาวเย็น 52-03-82-0043 1 7 12 23 24 120 9:00 23
นมโอ๊ตยูซุปั่น 52-03-83-0041 1 7 53 23 41 24 120 10:00 23
นมโอ๊ตลิ้นจี่ปั่น 52-03-83-0042 1 7 11 23 41 24 120 11:00 23
นมโอ๊ตมะนาวปั่น 52-03-83-0043 1 7 12 23 41 24 120 12:00 23
Can't render this file because it has a wrong number of fields in line 40.

742
inter/sgp/menu/lang.tsv Normal file
View file

@ -0,0 +1,742 @@
TextID Note English Thai
Font=Montserrat,Type=Bold,Size=48,Color=0xEE8C62,Align=Center Font=Kanit,Type=Light,Size=48,Color=0xEE8C62,Align=Center
000001 Page catalog head Welcome ยินดีต้อนรับ
Font=Montserrat,Type=Bold,Size=64,Color=0x513C2F,Align=Center Font=Kanit,Type=Light,Size=64,Color=0x513C2F,Align=Center
000002 Please Select Drink Type กรุณาเลือกประเภทเครื่องดื่ม
Font=Kanit,Type=Medium,Size=32,Color=0x513C2F,Align=Center,LineHeight=30 Font=Kanit,Type=Medium,Size=32,Color=0x513C2F,Align=Center,LineHeight=30
000003 Page catalog body Best Sellers เมนูแนะนำ
000004 Vending\nMachine ตู้สินค้า
000005 Coffee กาแฟ
000006 Tea ชา
000007 Milk, Caramel\n& Cocoa นม, โกโก้ และ \nคาราเมล
000008 Protein\nShake โปรตีนเชค
000009 Soda & others โซดา และ อื่นๆ
000010 Healthier\nChoice ทางเลือกสุขภาพ\n[\nคุมจำนวน ไขมัน น้ำตาล โซเดียม\nแคลอรี่ต่ำ###Font=KanitRegular,Size=12,Align=Center]
000011 Kid Menu เมนูเด็ก
000012 App Fast แอพ ฟาสท์
Menu
Font=Kanit,Type=Regular,Size=16,Color=0x5A5A5A,Align=center-vertical-horizontal Font=Kanit,Type=Regular,Size=32,Color=0x5A5A5A,Align=center-vertical-horizontal
000013 UNAVAILABLE หมด
Font=Montserrat,Type=Regular,Size=20,Color=0x746253,Align=Center-All Font=Montserrat,Type=Regular,Size=24,Color=0x746253,Align=Center-All
Font=Montserrat,Type=Bold,Size=20,Color=0x746253,Align=Center-All Font=Montserrat,Type=Bold,Size=24,Color=0x746253,Align=Center-All
000014 our specialty เมนูแนะนำ
000015 Coffee กาแฟ
000016 Tea ชา
000017 Milk,\nCaramel\n& Cocoa นม โกโก้\nคาราเมล
000018 Protein\nShake โปรตีน
000019 APP FAST แอพ ฟาสท์
000020 Soda & others โซดา\nอื่นๆ
000021 Vending\nmachine ตู้สินค้า
000022 Kid\nMenu เมนูเด็ก
000023 Healthier\nOptions ทางเลือก\nสุขภาพ
000024 Cocktail ค็อกเทล
page_toopping_select
Font=Kanit,Type=Regular,Size=22,Color=0x513C2F,Align=Center Font=Kanit,Type=Regular,Size=24,Color=0x513C2F,Align=Center
Font=Kanit,Type=Medium,Size=22,Color=0x513C2F,Align=Center Font=Kanit,Type=Medium,Size=24,Color=0x513C2F,Align=Center
Font=Kanit,Type=Regular,Size=22,Color=0xCFCFCF,Align=Center Font=Kanit,Type=Regular,Size=24,Color=0xCFCFCF,Align=Center
000040 Not sweet ไม่หวาน
000041 Little หวานจุบจิบ
000042 Less หวานน้อย
000043 Perfect หวานพอดี
000044 Extra หวานจึ้ง
000045 Sweetest หวานสุขิต
Font=Kanit,Type=Regular,Size=14,Color=0x84776F,Align=Center Font=Kanit,Type=Regular,Size=14,Color=0x84776F,Align=Center
Font=Kanit,Type=Regular,Size=14,Color=0xEEEEEE,Align=Center Font=Kanit,Type=Regular,Size=14,Color=0xEEEEEE,Align=Center
Font=Kanit,Type=Regular,Size=14,Color=0xCFCFCF,Align=Center Font=Kanit,Type=Regular,Size=14,Color=0xCFCFCF,Align=Center
000046 0% 0%
000047 30% 30%
000048 60% 60%
000049 100% 100%
000050 120% 120%
000051 140% 140%
Font=Kanit,Type=Regular,Size=24,Color=0x513C2F,Align=Center Font=Kanit,Type=Regular,Size=24,Color=0x513C2F,Align=Center
Font=Kanit,Type=Bold,Size=24,Color=0x513C2F,Align=Center Font=Kanit,Type=Bold,Size=24,Color=0x513C2F,Align=Center
000052 No added sugar ไม่ใส่น้ำตาล
000053 Less sweet หวานกรุบกริบ
000054 Healthy sweet หวานรักสุขภาพ
000055 Just right หวานพอดี
Font=Kanit,Type=Regular,Size=15,Color=0x84776F,Align=Center Font=Kanit,Type=Regular,Size=15,Color=0x84776F,Align=Center
Font=Kanit,Type=Regular,Size=15,Color=0xEEEEEE,Align=Center Font=Kanit,Type=Regular,Size=15,Color=0xEEEEEE,Align=Center
000056 =+ SUGAR 0 g (0 cal) =+ น้ำตาล 0 g (0 cal)
000057 =+ SUGAR 3 g (11 cal) =+ น้ำตาล 3 g (11 cal)
000058 =+ SUGAR 7 g (26 cal) =+ น้ำตาล 7 g (26 cal)
000059 =+ SUGAR 10 g (38 cal) =+ น้ำตาล 10 g (38 cal)
000060 =+ SUGAR 0 g (0 cal) =+ น้ำตาล 0 g (0 cal)
000061 =+ SUGAR 2 g (8 cal) =+ น้ำตาล 2 g (8 cal)
000062 =+ SUGAR 5 g (19 cal) =+ น้ำตาล 5 g (19 cal)
000063 =+ SUGAR 7 g (26 cal) =+ น้ำตาล 7 g (26 cal)
Font=Kanit,Type=Medium,Size=36,Color=0xDE794E
000064 Extra topping เพิ่มส่วนผสมพิเศษ
000065 Sweetness level ระดับความหวาน
000066 Straw and Lid หลอด และ ฝา
000067 Drink Type ประเภทเครื่องดื่ม
000103 Vegan substitution นมทางเลือก
Text
Font=Kanit,Type=Regular,Size=36,Color=0x513C2F
000070 I want a straw รับหลอด
000071 I want a lid รับฝา
Font=Opun,Type=Medium,Size=10,Color=0xDE794E
000072 Ice will be ready at น้ำแข็งจะพร้อมเวลา
Font=Kanit,Type=Regular,Size=36,Color=0xFFFFFF
Font=Kanit,Type=Regular,Size=36,Color=0x746253
000073 Pay now ซื้อเลย
Font=Kanit,Type=Regular,Size=36,Color=0x746253
Font=Kanit,Type=Regular,Size=36,Color=0xFFFFFF
000074 Cancel ยกเลิก
Font=Kanit,Type=Light,Size=36,Color=0xFF0000
000075 Please choose drink type โปรดเลือกประเภทเครื่องดื่ม
Font=Kanit,Type=Regular,Size=28,Color=0x513C2F
Font=Kanit,Type=Medium,Size=28,Color=0x513C2F
Font=Kanit,Type=Regular,Size=28,Color=0x9D9D9D
Font=Kanit,Type=Regular,Size=28,Color=0xCFCFCF
000081 Hot ร้อน
000082 Iced เย็น
000083 Blend ปั่น
Font=Kanit,Type=Regular,Size=24,Color=0x513C2F
000084 Normal ปกติ
Left of check box
Font=Kanit,Type=Light,Size=29,Color=0x9D9D9D,Align=end-center-vertical,LineHeight=30
000090 Out of straw หลอดหมด
000091 Out of lid ฝาหมด
000092 Only smoothie\n avalible สำหรับเมนูปั่น
000093 Extra shot unavalible for\nsmoothie ไม่สามารถเพิ่มช็อต\nถ้าสั่งเมนูปั่น
Text topping extra
Font=Kanit,Type=Regular,Size=36,Color=0x513C2F,LineHeight=46
000100 1 Shot of Espresso\n[1 minutes will be added to the process.###Font=KanitLight,Size=15] เอสเพรสโซ่ 1 ช็อต\n[ใช้เวลาชงนานขึ้น 1 นาที###Font=KanitLight,Size=15]
000101 Add extra Oreo crunchy เพิ่มท็อปปิ้งโอริโอภูเขาไฟ
000102 1 Shot of Single Origin Espresso\n[1 minutes will be added to the process.###Font=KanitLight,Size=15] เอสเพรสโซ Single Origin 1 ช็อต\n[ใช้เวลาชงนานขึ้น 1 นาที###Font=KanitLight,Size=15]
000104 Oat milk\n[100% PLANT-BASED , No artificial colour or flavors, No preservatives, rich in dietary fiber###Font=KanitLight,Size=15] นมโอ๊ต
Font=Kanit,Type=Regular,Size=46,Color=0xFFFFFF,PressColor=0x746253
000200 Use/Check coupon ใช้/ดูคูปองสะสม
Page brewing
Font=Kanit,Type=Regular,Size=36,Color=0xFFFFFF,Align=Center,LineHeight=30
Font=Kanit,Type=Regular,Size=36,Color=0xDE794E,Align=Centerr,LineHeight=30
000400 Notify us about lid problem แจ้งเตือนฝาติด
000401 Notify us about straw problem แจ้งเตือนหลอดติด
Font=Kanit,Type=Regular,Size=36,Color=0xFFFFFF,Align=Center
Font=Kanit,Type=Regular,Size=36,Color=0x513C2F,Align=Center
000402 Get another straw ขอหลอดเพิ่ม
000403 Get a lid รับฝา
000404 In progress กำลังจ่ายฝา
Font=Kanit,Type=Medium,Size=34,Color=0x513C2F
000405 Ready in พร้อมเสิร์ฟใน
Font=Kanit,Type=Regular,Size=36,Color=0x513C2F
000406 Sec วินาที
Font=Kanit,Type=Regular,Size=36,Color=0xFFFFFF,Align=Center
Font=Kanit,Type=Regular,Size=36,Color=0x513C2F,Align=Center
Font=Kanit,Type=Regular,Size=36,Color=0x513C2F,Align=Center
000407 Order next drink สั่งแก้วถัดไป
Font=Kanit,Type=Regular,Size=56,Color=0xDE794E,Align=Center Font=Kanit,Type=Regular,Size=56,Color=0xDE794E,Align=Center
000408 Next customer can order while waiting ลูกค้าท่านถัดไปสั่งเครื่องดื่มรอได้เลย
Font=Roboto,Type=Bold,Size=80,Color=0x513C2F,Align=Center,LineHeight=90 Font=Roboto,Type=Bold,Size=80,Color=0x513C2F,Align=Center,LineHeight=90
000409 The Previous Drink\nHas Not Been Collected มีเครื่องดื่มค้างอยู่\nในช่องรับเครื่องดื่ม
Font=Roboto,Type=Regular,Size=36,Color=0x513C2F,Align=Center,LineHeight=50 Font=Roboto,Type=Regular,Size=43,Color=0x513C2F,Align=Center,LineHeight=40
000410 Please press the button below to open the door.\nTake the drink out.\nAnd start odering your drink. กรุณกดปุ่มเปิดช่องรับเครื่องดื่ม\nนำเครื่องดื่มที่ค้างอยู่ออกจากช่อง\nก่อนเริ่มสั่งเครื่องดื่มของคุณ
Font=Kanit,Type=Regular,Size=64,Color=0xFFFFFF,Align=Center,LineHeight=50 Font=Kanit,Type=Regular,Size=64,Color=0xFFFFFF,Align=Center,LineHeight=50
000411 Press Here กดที่นี่
img_active="ROOT/taobin_project/mage,img_press=,img_deactive=
Font=Roboto,Type=Black,Size=72,Color=0x513C2F
001001 Preparing Your Cup กำลังเตรียมแก้ว
001002 Blending Coffee Beans กำลังเตรียมเมล็ดกาแฟ
001003 Grinding Coffee Beans กำลังบดเมล็ดกาแฟ
001004 Tamping Coffee Grounds กำลังกดผงกาแฟ
001005 Brewing Your Coffee กำลังชงกาแฟ
001006 Adding Milk กำลังเติมนม
001007 Adding Milk กำลังเติมนม
Font=Roboto,Type=Regular,Size=48,Color=0x513C2F
001501 We serve hot drinks in a heat resistant\n2-layer paper cup. We serve cold drinks in\na food grade plastic cup. เต่าบินเสิร์ฟเครื่องดื่มร้อน ด้วยแก้วกระดาษ 2 ชั้น\nกันความร้อน และ เครื่องดื่มเย็นในแก้วพลาสติกมาตรฐาน
001502 We care about our coffee and only use the\nbest quality Arabica beans เราคัดสรรเมล็ดกาแฟคุณภาพสูงที่สุด และใช้เมล็ดกาแฟอาราบิก้า 100%
001503 Then we tamp coffee grounds\nwith the right pressure. เริ่มต้นด้วยการบดเมล็ดกาแฟ\nให้เป็นผงเนื้อละเอียด
001504 Then we tamp coffee grounds with\nthe right pressure. กดผงกาแฟที่บดแล้วให้แน่นกำลังดี
001505 Finally, we force hot water through\ncoffee grounds to extract\nrich and aromatic coffee flavours. ปล่อยน้ำร้อนแรงดันสูงไหลผ่านผงกาแฟ\nเพื่อสกัดรสชาติเข้มข้นหอมกรุ่น
001506 Made from 100% real milk.\nNo creamer added. ทำจากนมสดแท้ 100% แคลเซียมสูง\n[ไม่มีส่วนผสมของครีมเทียม###Font=RobotoBold,Size=48]
001507 Made from 100% real milk.\nNo creamer added. ทำจากนมสดแท้ 100% แคลเซียมสูง\n[ไม่มีส่วนผสมของครีมเทียม###Font=RobotoBold,Size=48]
Font=Roboto,Type=Medium,Size=60,Color=0x513C2F
001024 Please get a drink at the door below. กรุณารับเครื่องดื่มที่ช่องด้านล่าง
Font=Roboto,Type=Medium,Size=75,Color=0x513C2F
001524 Pull the cup straight out. ดึงแก้วออกตรงๆ ไม่ต้องยกแก้วค่ะ
Main Manu
800001 Admin Admin
800002 Recipe ปรุงสูตร
800003 Material วัตถุดิบ
800004 Test System ระบบทดสอบ
800005 Setting ตั้งค่า
800006 Spiral ตู้สินค้า
800007 ICE System ระบบน้ำแข็ง
800008 Soda System ระบบโซดา
800009 Material Setting. ติดตั้งวัตถุดิบ
800010 Refill เติมของ
800011 Cut-off/Collect money ตัดยอด/เก็บเงิน
800012 Waste water น้ำทิ้ง
800013 Coffee Ground กากกาแฟ
800014 Self-test ทดสอบระบบ
800015 AC-board AC board
800016 MCU board บอร์ดควบคุม
800017 OK OK
800018 Confirm ? ยืนยัน
800019 No ไม่ใช่
800020 Yes ใช่
800021 Cancel ยกเลิก
800022 Reset Coffee Ground Value? เริ่มนับกากกาแฟใหม่?
800023 Reset Waste Water Value? เริ่มนับน้ำทิ้งใหม่?
800024 List of disable. รายการที่ปิดบริการ
800025 Noted รับทราบ
800026 Do you cut-off cash box? ทำการตัดยอดหรือไม่?
800027 Please Open door cash box กรุณาเปิดประตูเก็บเงินก่อน
800028 Internal Communcation fail. ระบบสื่อสารมีปัญหาภายในตู้
ICE system
800030 Temperature อุณหภูมิ
800031 Make rate อัตราการผลิต
800032 gram/hour กรัม/ชม.
800033 close ice menu at ปิดเมนูน้ำแข็งที่
800034 test ice 100 gram ทดสอบน้ำแข็ง 100 กรัม
800035 Dump ICE เทน้ำแข็ง
800036 Press stop ICE Machine. กดเพื่อปิดเครื่องทำน้ำแข็ง
800037 Press start ICE Machine. กดเพื่อเปิดเครื่องทำน้ำแข็ง
800038 Reset amount ICE. เริ่มประมาณน้ำแข็งใหม่
800039 Last status. สถานะล่าสุด
800040
800041 ICE make system. ระบบทำน้ำแข็ง.
800042 Not cool system. ไม่ผ่านหล่อเย็น
800043 With Cool system. ผ่านหล่อเย็น
800044 Peeling start/stop แกนหมุด เริ่ม/หยุด
800045 Compresser start/stop คอมเพสเซอร์ เริ่ม/หยุด
800046 Ice bucket door ประตูถังน้ำแข็ง
800047 Water pump ปั๊มน้ำ
800048 Self test ทดสอบ ระบบ
800049 Ice Valve On/Off เปิด/ปิด วาล์วน้ำแข็ง.
800050 Soda Valve On/Off เปิด/ปิด วาล์วโซดา.
800051 Compresser คอมเพรสเซอร์
800052 Calibrate or not? Cal หรือไม่ ?
800053 Percent for close ice menu เปอร์เซ็น ปิดน้ำแข็ง
800054 Release all ICE. Confirm? ทิ้งหมดถัง แน่ใจ ?
800055 Reset Time bucket move. ลบค่า เวลาเคลื่อนที่ของกระบะ.
800056 Reset PWM of MIX1. เริ่มกำหนดค่า PWM ของ MIX1.
800057 Reset PWM of MIX2. เริ่มกำหนดค่า PWM ของ MIX2
800058 Clear Last Make Rate ลบค่า อัตราผลิตน้ำแข็งล่าสุด.
800059 Open เปิด
800060 Close ปิด
800061 success when สำเร็จ เมื่อ
800062 success สำเร็จ
800063 unsuccessful when ไมสำเร็จ เมื่อ
800064 unsuccessful ไม่สำเร็จ
800065 Processing. กำลังดำเนินการ.
800066
800067 Open. Confirm? คุณต้องการเปิด
800068 Close. Confirm? คุณต้องการปิด
800069 Select Material want to change. เลือก วัตถุดิบที่ต้องการเปลี่ยน
Soda System
800100 stop หยุด
800101 start machine เปิดเครื่องทำงาน
800102 Running ทำงาน
800103 Start Test เริ่มทดสอบ
800104 Stop Test หยุดทดสอบ
800105 Start Defrost ละลายน้ำแข็ง
800106 Cancel Defrost ยกเลิกละลายน้ำแข็ง
800107 Processing ดำเนินการ
800108 Temperature อุณหภูมิ
800109 Soda not full โซดาไม่เต็ม
800110 Soda Full โซดาเต็ม
800111 Pressure ความดัน
800112 Last ล่าสุด
800113 Start make soda เริ่มทำโซดา
800114 Stop make soda หยุดทำโซดา
800115 Wait รอ
800116 Minute นาที
800117 Make time เวลาทำ
800118 Consumption ปริมาณการใช้ไฟฟ้า
800119 Consumption ปริมาณการใช้ไฟฟ้า
800120 Voltage แรงดันไฟฟ้า
800121 Current กระแสไฟฟ้า
800122 Soda โซดา
Test
800200 Status สถานะ
800201 Boiler หม้อต้ม
800202 Celsius เซสเซียส
800203 Soda โซดา
800204 ICE น้ำแข็ง
800205 Normal ปกติ
800206 Not full ไม่เต็มถัง
800207 Full เต็มถัง
800208
800209
800210 Door Cup ประตูรับแก้ว
800211 Door Lid/Straw ประตูรับฝา
800212 object not found ไม่พบวัตถุ
800213 object detected พบวัตถุ
800214 Main Gate ประตูหลัก
800215 Door Cash ประตูเก็บเงิน
800216 Open เปิด
800217 Close ปิด
800218 Arm แขน
800219 CUP แก้ว
800220 No ไม่มี
800221 Have มี
800222 Weight น้ำหนัก
800223 Gram กรัม
800224 Bean เมล็ด
800225 Cam setting กำหนดค่าลูกเบี้ยว
800226 Reset Grinder Value เริ่มต้นเฟืองบด
800227 Reset PWM Value ลบค่า PWM
800228
800229 Release CUP ปล่อยแก้ว
800230 Check CUP ตรวจสอบแก้ว
800231 Check All Arm ตรวจทุกแขน
800232 Release LID ปล่อยฝา
800233 LID found มีฝาที่ช่องรับ
800234 Straw หลอด
800235 Open Door Cup. เปิดประตูรับแก้ว
800236 Close Door Cup. ปิดประตูรับแก้ว.
800237 Open Door Lid. เปิดประตูรับฝา.
800238 Close Door Lid ปิดประตูรับฝา.
800239 Switch Arm สวิตแขน
800240 Lid sensor status Sensor LID ( มีฝาที่ช่องรับ )
800241 Powder \nposition หมุนจานรับผง
800242 Whipper \nposition หมุนจาน ชง
800243 Take Cup \nposition หมุนจาน หยิบแก้ว
800244 Soda\nposition หมุนจาน โซดา
800245 Ice \nposition หมุนจาน น้ำแข็ง
800246 Water/Espreso \nposition หมุนจาน น้ำ/กาแฟ
800247 Clean \nposition หมุนจาน ล้าง
800248 Waste Water \nposition หมุนจาน ทิ้งน้ำ
800249 CUP Detect. เจอแก้ว
800250 Test equipment ทดสอบอุปกรณ์
800251 Test communication ทดสอบการสื่อสาร
800252 Clean System ระบบล้าง
800253 Clean\nWhipper ล้างหัวชง
800254 Clean espresso ล้างกาแฟ
800255 Bean System ระบบจ่ายเมล็ด
800256 Bean เมล็ด
800257 Grinder บด
800258 Tray Bean\nOpen/close ถาดชั่งเมล็ด\n( เปิด/ปิด)
800259 Switch\nTray สวิทซ์\nถาด
800260
800261 Test by weight scale ( With CUP C1 ) ทดสอบปล่อยลงแก้วในตู้ ( มีแก้วและนับ stock ( เฉพาะแก้วกระดาษ ))
800262 Soda / Postmix โซดา / โพสต์มิกซ์
800263 Syrup น้ำเชื่อม
800264 Test by pay with time ( Without cup ) ทดสอบการใช้งาน / ล้างท่อ ( ไม่สนใจแก้ว )
800265 Clean Syrup pipe ล้างสาย
800266 Rotation backword หมุนกลับ
800267
800268 ICE น้ำแข็ง
800269 Get ice รับน้ำแข็ง
800270 Pay ice เทน้ำแข็ง
800271 Shutter Open ฝาเปิด
800272 Shutter Close ฝาปิด
800273
800274 Powder disc ถาดหมุนผง
800275 Powder move to front ตำแหน่งเปลี่ยนผง(หมุนมาด้านหน้า)
800276 Test pay with sec ทดสอบผง(​วิ)
800277 Test pay with weight ทดสอบผง(กรัม)
800278 Test Powder ทดสอบผง
800279 Whipper หัวชง
800280 Blender ปั่น
800281 Clean posistion ตำแหน่งล้าง
800282 Whip ชง
800283 Clean ล้าง
800284 Hot ร้อน
800285 Cold เย็น
800286
800287 Test Water ทดสอบปริมาณน้ำ
800288 Hot water น้ำร้อน
800289 Water น้ำปกติ
800290
800291 Sound Volumn ปรับระดับเสียง
800292 E-lock สถานะ E-Lock
800293 Test all system ทดสอบทั้งหมด.
800294 Test Coffee ทดสอบกาแฟ.
800295 Test Whipper ทดสอบหัวชง
800296
800297 Machine Status สถานะตู้
800298 Setting / Calibration กำหนดค่า / ปรับเทียบ
800299 Machanic Test ทดสอบกลไก
800300 Clean system | Bean pay system ล้างเครื่อง | ระบบจ่ายเมล็ด
800301
800302 All line ทุกเส้น
800303 Line เส้นที่
800304 Must check pipe before start clean! กรุณาตรวจสอบอุปกรณ์ ก่อนกดปุ่มล้าง
800305 Clean ล้าง
800306 Start เริ่ม
800307 Not support. ไม่รองรับ
800308 Last encoder count จำนวนรอบของหัวชงล่าสุด
800309 Whipper ชง
800310 Sec วิ
800311 End จบวิ้ง
800312 Wait รอ
800313 Pump ปั๊ม
800314 Running. ทำงาน
800315 Time เวลา
800316 Open เปิด
800317 Close ปิด
800318 No have cup. ไม่มีแก้ว
800319 Have cup มีแก้ว
800320 Bill Count. จำนวนแบงค์
800321 Coin Count. จำนวนเหรียญ
800322 Have you collect of coins and bills? เก็บหเรียญและแบงค์หมดหรือยังครับ?
800323 Exit? "ต้องการออก?"
800324 Overall. รวมทั้งหมด
800325 Overall Coin Change. รวมเงินทอน
800326 Reset grinder. Confirm? นับจุดเริ่มใหม่ หรือไม่?
800327 Do you want unlock? ต้องการ unlock หรือไม่?
800328 UV Turn on หลอดUV ช่องรับฝา
800329 UV Turn off ปิด UV
800330 Bucket move to pay success. กระบะ เท่ OK.
800331 Error! Bucket move timeout. กระบะ error move timeout.
800332 Bucket move to receive success. กระบะ รับ OK.
800333 Shutter OK. ชัตเตอร์ OK.
800334 Shutter Open fail. ชัตเตอร์ เปิด fail.
800335 Shutter Close fail. ชัตเตอร์ ปิด fail.
800336 Error! Shutter move timeout. ชัตเตอร์ error move timeout.
800337
800338 Not detect. ไม่พบวัตถุ
800339 Detected พบวัตถุ
800340 Door cup = ประตูแก้ว =
800341 Door lid = ประตูรับฝา =
800342 OK ตกลง
800343 syrup slot. ไซรัป ช่อง
800344 Warning. แจ้งเตือน
800345 Ice Not full น้ำแข็งไม่เต็มถัง
800346 Ice full น้ำแข็งเต็มถัง
800347 No full ไม่เต็ม
800348 Full เต็ม
800349 Weight น้ำหนักชั่ง
800350 Bean 1 เมล็ด 1
800351 Bean 2 เมล็ด 2
800352 Bean 3 เมล็ด 3
800353
800354
800355 Mainboard ( Espresso board) บอร์ด หลัก ( esp )
800356 Ice and Soda board. บอร์ด น้ำแข็ง/โซดา ( Ice/Soda )
800357 Top board . ( Disc top ) บอร์ด จานหมุนบน ( Disc-board top )
800358 Bottom board . ( Disc bottom) บอร์ด จานหมุนล่าง ( Disc-board bottom )
800359 Front board. ( Door ) บอร์ด ประตู ( Door board )
800360 MCU on android Board. บอร์ด android ( mcu on-board )
800361 Changer and bill board. บอร์ด ( Coin/Bill )
800362 AC hub board. บอร์ดวัดไฟ ( AC Hub )
800363 Xcoin Xcoin
800364 Refill board. บอร์ดเติมของ( Refill board)
800365 Do you want upgrade? ต้องการ upgrade ?
800366 File upgrade not found! ไฟล์อัพเกรดไม่มี !!!
800367 Straw 1 หลอด 1.
800368 Straw 2 หลอด 2.
800369 Pay Lid slot 1 ปล่อยฝา 1
800370 Pay Lid slot 2 ปล่อยฝา 2
800371 Out of Lid or Pick a Lid at door. ฝาหมด/หยิบฝาออกจากช่อง
800372 A lid at sensor! มีฝาอยู่ที่ประตู
800373 Slot ช่อง
800374 Out of Lid ไม่มีฝา
800375
800376 Pay bean slot 1. Confirm ? จ่ายเมล็ด 1 แน่ใจ?
800377 Pay bean slot 2. Confirm ? จ่ายเมล็ด 2 แน่ใจ?
800378 Pay bean slot 3. Confirm ? จ่ายเมล็ด 3 แน่ใจ?
800379 Select Arm เลือกแขน
800380
800381 Please remove cup! กรุณานำแก้วออกก่อนครับ/คะ
800382 Test all powder slot. ทดสอบจ่ายผงทุกช่อง
800383
800384 Normal Water น้ำปกติ
800385 Hot Water น้ำร้อน
800386 Clean Water น้ำล้าง
800387 Espress water น้ำกาแฟ
800388
800389 Powder set ชุดผง
800390 ARM แขน
800391 Whipper หัวชง
800392
800393 Password รหัสผ่าน
800394 Collect money เก็บเงิน.
800395 Refill เติมของ.
800396 Test/Check ตรวจสอบ.
800397 CUP must be on arm. กรุณาวางแก้วไว้บนแขน
800398
800399 Inventory เติมของ
800400 Refill with order เติมของตามใบ
800401 Back กลับเมนูหลัก
800402
800403 Save บันทึก
800404 Cancel ยกเลิก
800405 Edit แก้ไข
800406
800407 Current value ปริมาตรปัจจุบัน
800408 Refill/Remove เติม/ลด
800409 gram กรัม
800410 Enter new value ใส่จำนวนใหม่
800411 bag ถุง
800412 piece ชิ้น
800413 Slot ช่อง
800414 ID รหัสวัตถุดิบ
800415 Code รหัสสินค้า
800416 Name ชื่อวัตถุดิบ
800417 tank ถัง
800418 Replace เปลี่ยนถุงใหม่
800419 Replace เปลี่ยนถังใหม่
800420 Enter number ใส่จำนวนกรัม
800421 Enter number ใส่จำนวนชิ้น
800422 Enter number ใส่จำนวนถุง
800423 Enter number ใส่จำนวนถัง
800424 Replace เปลี่ยน
800425 New value ปริมาตรใหม่
800426 Over limit เกินลิมิต
800427 Warning แจ้งเตือน
800428 Found refilling that have not been recorded. ตรวจพบรายการเติมของที่ยังไม่ได้บันทึกข้อมูล
800429 Has restored the latest filling data ได้ทำการกู้ข้อมูลการเติมของล่าสุดแล้ว
800430 Alert ยกเลิกการชั่งน้ำหนัก
800431 Do you want to cancel the result of weighing ต้องการยกเลิกการชั่งน้ำหนัก
800432 Detail of weighing ข้อมูลการชั่งน้ำหนัก
800433 Old weight (before using the scale) น้ำหนักเก่า (ก่อนใช้เครื่องชั่ง)
800434 Box weight น้ำหนักกล่อง
800435 Weight before refill (include box weight) น้ำหนักชั่งก่อนเติม(รวมกล่อง)
800436 Weight before refill (exclude box weight) น้ำหนักชั่งก่อนเติม(ไม่รวมกล่อง)
800437 Refilling weight น้ำหนักที่เติมวัตถุดิบ
800438 Weight after refill (exclude box weight) น้ำหนักชั่งหลังเติม(ไม่รวมกล่อง)
800439 Alert ยกเลิกการเติมของ
800440 Do you want to cancel this refill? ต้องการยกเลิกการเติมของใช่หรือไม่?
800441 Alert ยืนยันการเติมของ
800442 Please refill material to machine. เติมของเข้าตู้ให้เรียบร้อย
800443 And adjust number of material before press submit. ปรับตัวเลขวัตถุดิบหน้าตู้ก่อนกดปุ่มยืนยัน
800444 Alert พบข้อผิดพลาด
800445 Found refill over limit as below ตรวจพบรายการเติมเกินลิมิตดังนี้
800446 Please decrease number of refill to lower than limit. กรุณาปรับลดจำนวนการเติมให้ต่ำกว่าลิมิตที่กำหนดไว้
800447 New value is over limit ปริมาณใหม่มีค่าเกินที่กำหนด
800448 File not found ไม่พบไฟล์
800449 File problem (Json problem) ใบเติมของมีปัญหา (json problem)
800450 File problem (Json invalid) ใบเติมของมีปัญหา (json invalid)
800451 File problem (machineId=null) ใบเติมของมีปัญหา (machineId=null)
800452 File problem (refillOrderId=null) ใบเติมของมีปัญหา (refillOrderId=null)
800453 File problem (material=null) ใบเติมของมีปัญหา (materials=null)
800454 File problem (materials.id=null) ใบเติมของมีปัญหา (materials.id=null)
800455 File problem (materials.id parse error) ใบเติมของมีปัญหา (materials.id parse error)
800456 File problem (materials.refill=null) ใบเติมของมีปัญหา (materials.refill=null)
800457 File problem (materials.refill parse error) ใบเติมของมีปัญหา (materials.refill parse error)
800458 Limit is สูงสุดคือ
800459 File problem (slot is redundance) ใบเติมของมีปัญหา (slot is redundance)
800460 File problem (Not found refill detail) ใบเติมของมีปัญหา (ไม่พบข้อมูลการเติม)
800461 Alert ตรวจสอบใบงาน
800462 Please check the last 4 digits of refill order before press submit. ตรวจสอบเลขท้าย4ตัวของใบงานแล้วกดยืนยัน
800463 refill-order-id หมายเลขใบงาน
800464 Error refill-order-id (less than 4 digits) หมายเลขใบงานไม่ถูกต้อง (น้อยกว่า4หลัก)
800465 Inventory Inventory (เติมของ)
800466 BACK BACK / กลับสู่เมนู
800467 REFILL ORDER REFILL / เติมของตามใบ
800468 SAVE SAVE / บันทึก
800469 CANCEL CANCEL / ยกเลิก
800470 SUBMIT SUBMIT / ยืนยัน
800471 NO NO / ไม่ใช่
800472 YES YES / ใช่
800473 Slot Slot\n(ช่อง)
800474 ID ID\n(รหัสวัตถุดิบ)
800475 Code Code\n(รหัสสินค้า)
800476 Name Name (ชื่อวัตถุดิบ)
800477 Gram Gram\n(ปริมาตร)
800478 Refill Refill\n(เติมของ)
800479 Reset Reset\n(เคลียร์ของ)
800480 EDIT EDIT / แก้ไข
800481 Choose type เลือกประเภทกล่อง
800482 CLOSE CLOSE / ปิด
800483 Status สถานะ
800484 Description คำอธิบาย
800485 Machine can not communicate to weight scale. ไม่สามารถติดต่อเครื่องชั่งน้ำหนักได้
800486 Please complete the calibration and then press the ESC to exit this mode. กรุณา calibrate ให้เสร็จเรียบร้อย แล้วกดปุ่ม ESC เพื่อออกจากโหมดนี้
800487 Machine is initializing the weight scale. ระบบกำลังกำหนดค่าเริ่มต้นการทำงานด้วยเครื่องชั่ง
800488 Press the BACK/NEXT button to select slot that you want. กดปุ่ม BACK/NEXT เพื่อเลือกช่องที่ต้องการเติมวัตถุดิบ
800489 Press the SET to go to STEP 2. กดปุ่ม SET เพื่อไปยัง STEP 2
800490 Bring the box of material to weigh. ยกกล่องผงมาชั่ง
800491 Please wait for the weight to stabilize. รอให้น้ำหนักคงที่
800492 Press the SET to go to STEP 3. กดปุ่ม SET เพื่อไปยัง STEP 3
800493 Please add materials to the box. The screen will show the weight that is added continuously. กรุณาเติมวัตถุดิบลงกล่อง โดยหน้าจอจะแสดงน้ำหนักที่เติมเรื่อยๆ
800494 When you complete adding materials, press the SET to record the weight. เมื่อเติมวัตถุดิบเสร็จแล้ว ให้กดปุ่ม SET เพื่อบันทึกน้ำหนักหลังเติม
800495 Machine will update the refilling result to the screen and return to STEP 1. ระบบจะอัพเดทข้อมูลการเติมไปที่หน้าจอเติมของและกลับไป STEP 1
800496 Note: Hold ESC for 2 seconds and release to go to STEP 1. หมายเหตุ กด ESC ค้าง2วินาทีแล้วปล่อย เพื่อไปยัง STEP 1
800497 There are no this material in the machine. ไม่มีวัตถุดิบอยู่ในระบบ
800498 Detected material box mismatch. ตรวจพบกล่องใส่วัตถุดิบไม่ตรงกัน
800499 Detected material mismatch. ตรวจพบวัตถุดิบไม่ตรงกัน
800500 Detected box type mismatch. ตรวจพบชนิดกล่องไม่ตรงกัน
800501 Can not press the SET (because there was an ERROR scan in this STEP) ไม่สามารถกด SET ได้ (เพราะเคยมีการสแกน ERROR ใน STEP นี้)
800502 Used ใช้แล้ว
800503 Cancel ยกเลิก
800504 Slot Slot\n(ช่อง)
800505 ID ID\n(รหัสวัตถุดิบ)
800506 Box Name Box Name\n(ประเภทกล่อง)
800507 Box Weight Box Weight\n(น้ำหนักกล่อง)
800508 Set up material box ตั้งค่ากล่องใส่วัตถุดิบ
800509 Old ค่าเก่า
800510 Not support (1) ไม่รองรับถอนวัตถุดิบ
800511 Not support (2) ใบเติมของไม่รองรับ
800512 Order problem คำนวณผิดพลาด
800513 Upgrade weight scale อัพเกรดเครื่องชั่ง
800514 Do you want to upgrade weight scale? ต้องการอัพเกรดเครื่องชั่งใช่หรือไม่
800515 Current version เวอร์ชันปัจจุบัน
800516 Last version เวอร์ชันล่าสุด
800517 Upgrade status สถานะอัพเกรด
800518 Select file เลือกไฟล์
800600 Turn around หมุนกลับ
800601 Call arm Call แขน
800602 Yes or Not. If yes. Must remove all CUP at arm. ใหม่หรือไม่ ถ้าใช่ นำแก้วออกจากแขน!
800603
800604 Calibrate Success Calibrate สำเร็จ
800605 200g place at ARM and press Yes. นำ 200g วางที่แขน แล้วกด ใช่
800606
800607
800608 Bean tray no close ถาดเมล็ดกาแฟปิดไม่สนิท
800609 Door cash not close. ประตูเก็บเงินเปิด
800610 Powder and arm not close. ชุดแขน (ผง แก้ว) ปิดไม่สนิท
800611 Coffee ground is full. กากกาแฟเต็ม
800612 Waste water full น้ำทิ้งเต็ม
800613 Main Gate still open. ประตูตู้เปิด
800614
800615 LID 1 disable ฝาช่องที่ 1 ปิด
800616 LID 2 disable ฝาช่องที่ 2 ปิด
Test (New UI)
800700 Active ทำงาน
800701 Done จบการทำงาน
800702 Disabled ปิด
800703 Running กำลังทำงาน
800704 Pause หยุดทำงาน
800705 Error มีปัญหา
800706 Confused กำลังตรวจสอบ
800707 Success สำเร็จ
800708 Fail ไม่สำเร็จ
800709 Hide ซ่อน
800710 Systems ระบบ
800711 Mechanic กลไก
800712 Cleaning & Pay การล้าง & ระบบจ่าย
800713 Soda & Syrup โซดา & น้ำเชื่อม
800714 ICE น้ำแข็ง
800715 Tray ถาดหมุน
800716 Whip & Water ชง & น้ำ
800717 Volume & Tests เสียง & ทดสอบ
800718 Machine Test (New UI) ทดสอบเครื่อง (UI ใหม่)
800719 Machine Status สถานะเครื่อง
800720 Settings ตั้งค่า
800721 Notification แจ้งเตือน
800722 Edit แก้ไข
800723 Save บันทึก
800724 Temperature อุณหภูมิ
800725 Cam ลูกเบี้ยว
800726 Ok โอเค
800727 Cancel ยกเลิก
800728 Arm แขน
800729 Bean เมล็ด
800730 Reset PWM Door Cup รีเซ็ต PWM ประตูแก้ว
800731 Reset PWM Door Lid & Straw รีเซ็ต PWM ประตูฝา & หลอด
800732 Set Zero เซ็ต ซีโร่
800733 Are you sure to "Set Zero Arm %s" คุณต้องการ "เซ็ต ซีโร่ แขน %s" ใช่หรือไม่
800734 "Door CUP PWM" will be reset "PWM ประตูแก้ว" จะรีเซ็ต
800735 "Door Lid/Straw PWM" will be reset "PWM ประตู ฝา/หลอด" จะรีเซ็ต
800736 Confirmation ยืนยัน
800737 Calibration Arm %s (continue) Calibrate แขน %s (ต่อ)
800738 Calibration Result Arm %s Calibration Result แขน %s
800739 Slot ช่อง
800740 Water ปริมาณน้ำ
800741 Rotate to pay หมุนจ่าย
800742 Rotate back หมุนเก็บ
800743 จ่าย ช่อง %d ผง %d ใน 0.1 วิ Pay slot %d powder %d in 0.1 sec
800744 จ่าย %s ผง %d ใน 0.1 วิ Pay %s powder %d in 0.1 sec
800745 จ่าย %s ผง %d กรัม Pay %s powder %d gram
800746 หมุนล้าง Rotate clean
800747 หมุนชง Rotate brew
Can't render this file because it has a wrong number of fields in line 21.

File diff suppressed because it is too large Load diff

View file

View file

@ -0,0 +1,166 @@
if False:
print("params=" + param)
print( "dir= " + directory_to_process + "/page_catalog_group_recommend.lxml");
file_xml = open(directory_to_process + "/page_catalog_group_recommend.lxml", 'r')
file_content_main = file_xml.read()
#print(file_xml.read())
# ; include-file=dummy_layout.inc
file_inc = open(directory_to_process + "/dummy_layout.inc", 'r')
file_inc_content = file_inc.read()
file_xml.close()
file_inc2 = open(directory_to_process + "/event/promotion_template1.inc", 'r')
file_inc2_content = file_inc2.read()
file_inc_img = open(directory_to_process + "/../image/event/image_template1", 'r')
file_inc2_img_content = file_inc_img.read()
# replace key.
sp_key = file_inc2_img_content.split("\n")
print("sp_key = " + str(len( sp_key)))
for sp_line in sp_key:
sp_line = sp_line.strip()
key_val = sp_line.split("=")
if len( key_val) == 2:
print("k = " + key_val[0] + " val=" + key_val[1])
file_inc2_content = file_inc2_content.replace( "###" + key_val[0], '"' + key_val[1].strip() + '"')
file_inc_event_click = open(directory_to_process + "/event/promotion_onclick1.inc", 'r')
file_inc_event_click_content = file_inc_event_click.read()
file_inc2_content = file_inc2_content.replace("###EventOnClick", file_inc_event_click_content)
print(file_inc2_content)
#print( file_inc_content)
content_data_was_repack = file_content_main.replace(";dummy_layout.inc", file_inc_content)
content_data = content_data_was_repack.replace(";BigLogoLayout", file_inc2_content)
begin_text = content_data.index(";TAGESP")
end_text = content_data.index(";TAGESP", begin_text + 7)
print("TAGESP sub text = " + str(begin_text) + " end = " + str(end_text))
tmp1 = content_data[: begin_text - 7]
tmp2 = content_data[ end_text:-1]
#print("tmp1=" + tmp1)
#print("tmp2=" + tmp2)
content_data = tmp1 + tmp2
file_xml3_out = open(directory_to_process + "/event/out_put_file1.txt", 'r')
file_xml3_out_content = file_xml3_out.read()
file_xml3_out_content = file_xml3_out_content.strip()
file_xml3_out_content = file_xml3_out_content.replace("\r", "")
file_xml3_out_content = file_xml3_out_content.replace("\n", "")
file_xml3 = open(directory_to_process + file_xml3_out_content, 'w')
file_xml3.write( content_data)
file_xml3.close()
file_inc2 = open(directory_to_process + "/event/promotion_template2.inc", 'r')
file_inc2_content = file_inc2.read()
file_inc_img = open(directory_to_process + "/../image/event/image_template2", 'r')
file_inc2_img_content = file_inc_img.read()
# replace key.
sp_key = file_inc2_img_content.split("\n")
print("sp_key = " + str(len( sp_key)))
for sp_line in sp_key:
sp_line = sp_line.strip()
key_val = sp_line.split("=")
if len( key_val) == 2:
print("k = " + key_val[0] + " val=" + key_val[1])
file_inc2_content = file_inc2_content.replace( "###" + key_val[0], '"' + key_val[1].strip() + '"')
file_inc_event_click = open(directory_to_process + "/event/promotion_onclick2.inc", 'r')
file_inc_event_click_content = file_inc_event_click.read()
file_inc2_content = file_inc2_content.replace("###EventOnClick", file_inc_event_click_content)
print(file_inc2_content)
#print( file_inc_content)
content_data_was_repack = file_content_main.replace(";dummy_layout.inc", file_inc_content)
content_data = content_data_was_repack.replace(";BigLogoLayout", file_inc2_content)
begin_text = content_data.index(";TAGESP")
end_text = content_data.index(";TAGESP", begin_text + 7)
#print("sub text = " + str(begin_text) + " end = " + str(end_text))
tmp1 = content_data[: begin_text - 7]
tmp2 = content_data[ end_text:-1]
#print("tmp1=" + tmp1)
#print("tmp2=" + tmp2)
content_data = tmp1 + tmp2
file_xml3_out = open(directory_to_process + "/event/out_put_file2.txt", 'r')
file_xml3_out_content = file_xml3_out.read()
file_xml3_out_content = file_xml3_out_content.strip()
file_xml3_out_content = file_xml3_out_content.replace("\r", "")
file_xml3_out_content = file_xml3_out_content.replace("\n", "")
file_xml3 = open(directory_to_process + file_xml3_out_content, 'w')
file_xml3.write( content_data)
file_xml3.close()
file_inc3 = open(directory_to_process + "/event/promotion_template3.inc", 'r')
file_inc3_content = file_inc3.read()
file_inc_img = open(directory_to_process + "/../image/event/image_template3", 'r')
file_inc3_img_content = file_inc_img.read()
# replace key.
sp_key = file_inc3_img_content.split("\n")
print("sp_key = " + str(len( sp_key)))
for sp_line in sp_key:
sp_line = sp_line.strip()
key_val = sp_line.split("=")
print("Kenta420:", key_val)
if len( key_val) == 2:
print("k = " + key_val[0] + " val=" + key_val[1])
file_inc3_content = file_inc3_content.replace( "###" + key_val[0], '"' + key_val[1].strip() + '"')
file_inc_event_click = open(directory_to_process + "/event/promotion_onclick3.inc", 'r')
file_inc_event_click_content = file_inc_event_click.read()
file_inc3_content = file_inc3_content.replace("###EventOnClick", file_inc_event_click_content)
print(file_inc3_content)
#print( file_inc_content)
content_data_was_repack = file_content_main.replace(";dummy_layout.inc", file_inc_content)
content_data = content_data_was_repack.replace(";BigLogoLayout", file_inc3_content)
begin_text = content_data.index(";TAGESP")
end_text = content_data.index(";TAGESP", begin_text + 7)
#print("sub text = " + str(begin_text) + " end = " + str(end_text))
tmp1 = content_data[: begin_text - 7]
tmp3 = content_data[ end_text:-1]
#print("tmp1=" + tmp1)
#print("tmp3=" + tmp3)
content_data = tmp1 + tmp3
file_xml3_out = open(directory_to_process + "/event/out_put_file3.txt", 'r')
file_xml3_out_content = file_xml3_out.read()
file_xml3_out_content = file_xml3_out_content.strip()
file_xml3_out_content = file_xml3_out_content.replace("\r", "")
file_xml3_out_content = file_xml3_out_content.replace("\n", "")
file_xml3 = open(directory_to_process + file_xml3_out_content, 'w')
file_xml3.write( content_data)
file_xml3.close()

View file

@ -0,0 +1 @@
/event/promotion_pepsi_099.lxml

View file

@ -0,0 +1 @@
/event/promotion_2.xml

View file

@ -0,0 +1 @@
/event/promotion_3.xml

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,48 @@
{
"recommendPath": "/sdcard/coffeevending/taobin_project/xml/page_catalog_group_recommend.xml",
"dummyLayoutPath": "/sdcard/coffeevending/taobin_project/xml/dummy_layout.inc",
"trickerYamlPath": "/sdcard/coffeevending/taobin_project/xml/event/tricker.yaml",
"outDir": "/sdcard/coffeevending/taobin_project/xml/event/",
"templates": [
{
"name": "promotion_pepsi",
"path": "/sdcard/coffeevending/taobin_project/xml/event/promotion_template1.inc",
"onclickFile": "/sdcard/coffeevending/taobin_project/xml/event/promotion_onclick1.inc",
"imagesTemplate": {
"normal_eng": "ROOT/taobin_project/image/event/welcomedrink_en.png",
"normal_thai": "ROOT/taobin_project/image/event/welcomedrink.png",
"press_eng": "ROOT/taobin_project/image/event/welcomedrink_en.png",
"press_thai": "ROOT/taobin_project/image/event/welcomedrink.png",
"disable_eng": "ROOT/taobin_project/image/event/welcomedrink_en.png",
"disable_thai": "ROOT/taobin_project/image/event/welcomedrink.png"
}
},
{
"name": "promotion_pepsi_end",
"path": "/sdcard/coffeevending/taobin_project/xml/event/promotion_template2.inc",
"onclickFile": "/sdcard/coffeevending/taobin_project/xml/event/promotion_onclick2.inc",
"imagesTemplate": {
"normal_eng": "ROOT/taobin_project/image/event/bn_pepsi_buy2_save_move_end_en.png",
"normal_thai": "ROOT/taobin_project/image/event/bn_pepsi_buy2_save_move_end_th.png",
"press_eng": "ROOT/taobin_project/image/event/bn_pepsi_buy2_save_move_end_en.png",
"press_thai": "ROOT/taobin_project/image/event/bn_pepsi_buy2_save_move_end_th.png",
"disable_eng": "ROOT/taobin_project/image/event/bn_pepsi_buy2_save_move_end_en.png",
"disable_thai": "ROOT/taobin_project/image/event/bn_pepsi_buy2_save_move_end_th.png"
}
},
{
"name": "promotion_mystery_cup_35",
"path": "/sdcard/coffeevending/taobin_project/xml/event/promotion_template3.inc",
"onclickFile": "/sdcard/coffeevending/taobin_project/xml/event/promotion_onclick3.inc",
"imagesTemplate": {
"normal_eng": "ROOT/taobin_project/image/event/pro_mystery_cup_en.png",
"normal_thai": "ROOT/taobin_project/image/event/pro_mystery_cup_th.png",
"press_eng": "ROOT/taobin_project/image/event/pro_mystery_cup_en.png",
"press_thai": "ROOT/taobin_project/image/event/pro_mystery_cup_th.png",
"disable_eng": "ROOT/taobin_project/image/event/pro_mystery_cup_en.png",
"disable_thai": "ROOT/taobin_project/image/event/pro_mystery_cup_th.png"
}
}
]
}

View file

@ -0,0 +1,84 @@
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_iced_pepsi.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $-.Price
Var PriceD2 = 99
Var PriceD3 = $12-05-03-0007.Price
Var PD_CODE1 = "##-##-##-####"
Var PD_CODE2 = "12-05-02-0007"
Var PD_CODE3 = "12-05-03-0007"
; begin lang
Var aliasName[0] = "PEPSI"
Var aliasDesc[0] = "Pepsi & Ice"
Var aliasName[1] = "เป๊ปซี่น้ำแข็ง"
Var aliasDesc[1] = "เป๊ปซี่"
Var aliasName[2] = "-"
Var aliasDesc[2] = "-"
Var aliasName[3] = "-"
Var aliasDesc[3] = "-"
Var aliasName[4] = "PEPSI"
Var aliasDesc[4] = "Pepsi, Ais"
Var NameLang[0][0] = ""
Var NameLang[0][1] = ""
Var NameLang[0][2] = ""
Var NameLang[0][3] = ""
Var NameLang[0][4] = ""
Var DescLang[0][0] = ""
Var DescLang[0][1] = ""
Var DescLang[0][2] = ""
Var DescLang[0][3] = ""
Var DescLang[0][4] = ""
Var NameLang[1][0] = "PEPSI"
Var NameLang[1][1] = "เป๊ปซี่น้ำแข็ง"
Var NameLang[1][2] = ""
Var NameLang[1][3] = ""
Var NameLang[1][4] = "PEPSI"
Var DescLang[1][0] = "Pepsi, Ice"
Var DescLang[1][1] = "เป๊ปซี่ และน้ำแข็ง"
Var DescLang[1][2] = ""
Var DescLang[1][3] = ""
Var DescLang[1][4] = "Pepsi, Ais"
Var NameLang[2][0] = "TAO SLUSHIE"
Var NameLang[2][1] = "เต่าสลัชชี่"
Var NameLang[2][2] = ""
Var NameLang[2][3] = ""
Var NameLang[2][4] = "TAO SLUSHIE"
Var DescLang[2][0] = "Pepsi, Ice"
Var DescLang[2][1] = "เป๊ปซี่ และน้ำแข็ง"
Var DescLang[2][2] = ""
Var DescLang[2][3] = ""
Var DescLang[2][4] = "Pepsi, Ais"
; end lang
Var PD_STAGE_1 = "Disable2"
Var PD_STAGE_2 = $12-05-02-0007.Button
Var PD_STAGE_3 = $12-05-03-0007.Button
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" "12-05-02-0007"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "-"
Else
Topping "Load" "12-05-03-0007"
EndIf
EndIf
DEBUGVAR PD_STAGE_1
DEBUGVAR PD_STAGE_2
DEBUGVAR PD_STAGE_3
Var SelectDrinkType = 0
Open "ROOT/taobin_project/xml/page_topping_select6.lxml"

View file

@ -0,0 +1 @@
Open "ROOT/taobin_project/xml/page_catalog_momday.xml"

View file

@ -0,0 +1,320 @@
Var BigButtonEnable = "Invisible"
DEBUGVAR BigButtonEnable
DEBUGVAR OreoGuarantee
; Enable all 4 buttons
Var SubRandMilkButtonEnable = "Enable"
DEBUGVAR SubRandMilkButtonEnable
Var SubRandTeaButtonEnable = "Enable"
DEBUGVAR SubRandTeaButtonEnable
Var SubRandCoffButtonEnable = "Enable"
DEBUGVAR SubRandCoffButtonEnable
Var SubRandAllButtonEnable = "Enable"
DEBUGVAR SubRandAllButtonEnable
; For real, yeah for real
; All random cup
Var IndexOfAllRandom = 0
Var IndexOfMilk = 0
Var IndexOfTea = 0
Var IndexOfCoffee = 0
Var IndexOfRateupOreoAll = 0
Var IndexOfRateupOreoMilk = 0
Var IndexOfRateupOreoTea = 0
Var IndexOfRateupOreoCoffee = 0
; Oreo smoothie volcano
If $12-99-03-0020.Button = "Enable" Then
Var ListOfAllRandom[IndexOfAllRandom] = "12-99-03-0020"
Var ListOfMilk[IndexOfMilk] = "12-99-03-0020"
Var ListOfOreoAll[IndexOfRateupOreoAll] = "12-99-03-0020"
Var ListOfOreoMilk[IndexOfRateupOreoMilk] = "12-99-03-0020"
Var IndexOfAllRandom = IndexOfAllRandom + 1
Var IndexOfMilk = IndexOfMilk + 1
Var IndexOfRateupOreoAll = IndexOfRateupOreoAll + 1
Var IndexOfRateupOreoMilk = IndexOfRateupOreoMilk + 1
EndIf
; Pink milk oreo volcano
If $12-99-03-0021.Button = "Enable" Then
Var ListOfAllRandom[IndexOfAllRandom] = "12-99-03-0021"
Var ListOfMilk[IndexOfMilk] = "12-99-03-0021"
Var ListOfOreoAll[IndexOfRateupOreoAll] = "12-99-03-0021"
Var ListOfOreoMilk[IndexOfRateupOreoMilk] = "12-99-03-0021"
Var IndexOfAllRandom = IndexOfAllRandom + 1
Var IndexOfMilk = IndexOfMilk + 1
Var IndexOfRateupOreoAll = IndexOfRateupOreoAll + 1
Var IndexOfRateupOreoMilk = IndexOfRateupOreoMilk + 1
EndIf
; Choco oreo volcano
If $12-99-03-0022.Button = "Enable" Then
Var ListOfAllRandom[IndexOfAllRandom] = "12-99-03-0022"
Var ListOfMilk[IndexOfMilk] = "12-99-03-0022"
Var ListOfOreoAll[IndexOfRateupOreoAll] = "12-99-03-0022"
Var ListOfOreoMilk[IndexOfRateupOreoMilk] = "12-99-03-0022"
Var IndexOfAllRandom = IndexOfAllRandom + 1
Var IndexOfMilk = IndexOfMilk + 1
Var IndexOfRateupOreoAll = IndexOfRateupOreoAll + 1
Var IndexOfRateupOreoMilk = IndexOfRateupOreoMilk + 1
EndIf
; Caramel milk oreo volcano
If $12-99-03-0023.Button = "Enable" Then
Var ListOfAllRandom[IndexOfAllRandom] = "12-99-03-0023"
Var ListOfMilk[IndexOfMilk] = "12-99-03-0023"
Var IndexOfAllRandom = IndexOfAllRandom + 1
Var IndexOfMilk = IndexOfMilk + 1
Var ListOfOreoAll[IndexOfRateupOreoAll] = "12-99-03-0023"
Var ListOfOreoMilk[IndexOfRateupOreoMilk] = "12-99-03-0023"
Var IndexOfRateupOreoAll = IndexOfRateupOreoAll + 1
Var IndexOfRateupOreoMilk = IndexOfRateupOreoMilk + 1
EndIf
; Thai milk tea oreo smoothie
If $12-99-03-0024.Button = "Enable" Then
Var ListOfAllRandom[IndexOfAllRandom] = "12-99-03-0024"
Var ListOfTea[IndexOfTea] = "12-99-03-0024"
Var IndexOfAllRandom = IndexOfAllRandom + 1
Var IndexOfTea = IndexOfTea + 1
Var ListOfOreoAll[IndexOfRateupOreoAll] = "12-99-03-0024"
Var ListOfOreoTea[IndexOfRateupOreoTea] = "12-99-03-0024"
Var IndexOfRateupOreoAll = IndexOfRateupOreoAll + 1
Var IndexOfRateupOreoTea = IndexOfRateupOreoTea + 1
EndIf
; Cafe late oreo smoothie
If $12-99-03-0025.Button = "Enable" Then
Var ListOfAllRandom[IndexOfAllRandom] = "12-99-03-0025"
Var ListOfCoffee[IndexOfCoffee] = "12-99-03-0025"
Var IndexOfAllRandom = IndexOfAllRandom + 1
Var IndexOfCoffee = IndexOfCoffee + 1
Var ListOfOreoAll[IndexOfRateupOreoAll] = "12-99-03-0025"
Var ListOfOreoCoffee[IndexOfRateupOreoCoffee] = "12-99-03-0025"
Var IndexOfRateupOreoAll = IndexOfRateupOreoAll + 1
Var IndexOfRateupOreoCoffee = IndexOfRateupOreoCoffee + 1
EndIf
; Strawberry milk oreo volcano
If $12-99-03-0026.Button = "Enable" Then
Var ListOfAllRandom[IndexOfAllRandom] = "12-99-03-0026"
Var ListOfMilk[IndexOfMilk] = "12-99-03-0026"
Var IndexOfAllRandom = IndexOfAllRandom + 1
Var IndexOfMilk = IndexOfMilk + 1
Var ListOfOreoAll[IndexOfRateupOreoAll] = "12-99-03-0026"
Var ListOfOreoMilk[IndexOfRateupOreoMilk] = "12-99-03-0026"
Var IndexOfRateupOreoAll = IndexOfRateupOreoAll + 1
Var IndexOfRateupOreoMilk = IndexOfRateupOreoMilk + 1
EndIf
; Melon milk oreo volcano
If $12-99-03-0027.Button = "Enable" Then
Var ListOfAllRandom[IndexOfAllRandom] = "12-99-03-0027"
Var ListOfMilk[IndexOfMilk] = "12-99-03-0027"
Var IndexOfAllRandom = IndexOfAllRandom + 1
Var IndexOfMilk = IndexOfMilk + 1
Var ListOfOreoAll[IndexOfRateupOreoAll] = "12-99-03-0027"
Var ListOfOreoMilk[IndexOfRateupOreoMilk] = "12-99-03-0027"
Var IndexOfRateupOreoAll = IndexOfRateupOreoAll + 1
Var IndexOfRateupOreoMilk = IndexOfRateupOreoMilk + 1
EndIf
; Bana^2 milk oreo volcano
If $12-99-03-0028.Button = "Enable" Then
Var ListOfAllRandom[IndexOfAllRandom] = "12-99-03-0028"
Var ListOfMilk[IndexOfMilk] = "12-99-03-0028"
Var IndexOfAllRandom = IndexOfAllRandom + 1
Var IndexOfMilk = IndexOfMilk + 1
Var ListOfOreoAll[IndexOfRateupOreoAll] = "12-99-03-0028"
Var ListOfOreoMilk[IndexOfRateupOreoMilk] = "12-99-03-0028"
Var IndexOfRateupOreoAll = IndexOfRateupOreoAll + 1
Var IndexOfRateupOreoMilk = IndexOfRateupOreoMilk + 1
EndIf
; Hojicha oreo volcano
If $12-99-03-0028.Button = "Enable" Then
Var ListOfAllRandom[IndexOfAllRandom] = "12-99-03-0029"
Var ListOfTea[IndexOfTea] = "12-99-03-0029"
Var IndexOfAllRandom = IndexOfAllRandom + 1
Var IndexOfTea = IndexOfTea + 1
Var ListOfOreoAll[IndexOfRateupOreoAll] = "12-99-03-0029"
Var ListOfOreoTea[IndexOfRateupOreoTea] = "12-99-03-0029"
Var IndexOfRateupOreoAll = IndexOfRateupOreoAll + 1
Var IndexOfRateupOreoMilk = IndexOfRateupOreoMilk + 1
EndIf
; Thai milk tea smoothie
If $12-99-03-0030.Button = "Enable" Then
Var ListOfAllRandom[IndexOfAllRandom] = "12-99-03-0030"
Var ListOfTea[IndexOfTea] = "12-99-03-0030"
Var IndexOfAllRandom = IndexOfAllRandom + 1
Var IndexOfTea = IndexOfTea + 1
EndIf
; Melon milk smoothie
If $12-99-03-0031.Button = "Enable" Then
Var ListOfAllRandom[IndexOfAllRandom] = "12-99-03-0031"
Var ListOfMilk[IndexOfMilk] = "12-99-03-0031"
Var IndexOfAllRandom = IndexOfAllRandom + 1
Var IndexOfMilk = IndexOfMilk + 1
EndIf
; Taiwanese tea smoothie
If $12-99-03-0032.Button = "Enable" Then
Var ListOfAllRandom[IndexOfAllRandom] = "12-99-03-0032"
Var ListOfTea[IndexOfTea] = "12-99-03-0032"
Var IndexOfAllRandom = IndexOfAllRandom + 1
Var IndexOfTea = IndexOfTea + 1
EndIf
; THAI MILK TEA OREO SMOOTHIE
If $12-99-03-0040.Button = "Enable" Then
Var ListOfAllRandom[IndexOfAllRandom] = "12-99-03-0040"
Var ListOfTea[IndexOfTea] = "12-99-03-0040"
Var IndexOfAllRandom = IndexOfAllRandom + 1
Var IndexOfTea = IndexOfTea + 1
Var ListOfOreoAll[IndexOfRateupOreoAll] = "12-99-03-0040"
Var ListOfOreoTea[IndexOfRateupOreoTea] = "12-99-03-0040"
Var IndexOfRateupOreoAll = IndexOfRateupOreoAll + 1
Var IndexOfRateupOreoTea = IndexOfRateupOreoTea + 1
EndIf
; THAI MILK TEA SMOOTHIE
If $12-99-03-0041.Button = "Enable" Then
Var ListOfAllRandom[IndexOfAllRandom] = "12-99-03-0041"
Var ListOfTea[IndexOfTea] = "12-99-03-0041"
Var IndexOfAllRandom = IndexOfAllRandom + 1
Var IndexOfTea = IndexOfTea + 1
EndIf
; Tokyo bana^2 milk smoothie
If $12-99-03-0033.Button = "Enable" Then
Var ListOfAllRandom[IndexOfAllRandom] = "12-99-03-0033"
Var ListOfMilk[IndexOfMilk] = "12-99-03-0033"
Var IndexOfAllRandom = IndexOfAllRandom + 1
Var IndexOfMilk = IndexOfMilk + 1
EndIf
; Hojicha smoothie
If $12-99-03-0034.Button = "Enable" Then
Var ListOfAllRandom[IndexOfAllRandom] = "12-99-03-0034"
Var ListOfTea[IndexOfTea] = "12-99-03-0034"
Var IndexOfAllRandom = IndexOfAllRandom + 1
Var IndexOfTea = IndexOfTea + 1
EndIf
; Cocoa bana^2 smoothie
If $12-99-03-0035.Button = "Enable" Then
Var ListOfAllRandom[IndexOfAllRandom] = "12-99-03-0035"
Var ListOfMilk[IndexOfMilk] = "12-99-03-0035"
Var IndexOfAllRandom = IndexOfAllRandom + 1
Var IndexOfMilk = IndexOfMilk + 1
EndIf
; Taiwanese tea cafe latte smoothie
If $12-99-03-0036.Button = "Enable" Then
Var ListOfAllRandom[IndexOfAllRandom] = "12-99-03-0036"
Var ListOfCoffee[IndexOfCoffee] = "12-99-03-0036"
Var IndexOfAllRandom = IndexOfAllRandom + 1
Var IndexOfCoffee = IndexOfCoffee + 1
EndIf
; Melon cafe latte smoothie
If $12-99-03-0037.Button = "Enable" Then
Var ListOfAllRandom[IndexOfAllRandom] = "12-99-03-0037"
Var ListOfCoffee[IndexOfCoffee] = "12-99-03-0037"
Var IndexOfAllRandom = IndexOfAllRandom + 1
Var IndexOfCoffee = IndexOfCoffee + 1
EndIf
; Taiwanese tea cafe latte smoothie v2
If $12-99-03-0038.Button = "Enable" Then
Var ListOfAllRandom[IndexOfAllRandom] = "12-99-03-0038"
Var ListOfCoffee[IndexOfCoffee] = "12-99-03-0038"
Var IndexOfAllRandom = IndexOfAllRandom + 1
Var IndexOfCoffee = IndexOfCoffee + 1
EndIf
; Melon cafe latte smoothie v2
If $12-99-03-0039.Button = "Enable" Then
Var ListOfAllRandom[IndexOfAllRandom] = "12-99-03-0039"
Var ListOfCoffee[IndexOfCoffee] = "12-99-03-0039"
Var IndexOfAllRandom = IndexOfAllRandom + 1
Var IndexOfCoffee = IndexOfCoffee + 1
EndIf
DEBUGVAR IndexOfAllRandom
DEBUGVAR IndexOfCoffee
DEBUGVAR IndexOfMilk
DEBUGVAR IndexOfTea
DEBUGVAR IndexOfRateupOreoAll
DEBUGVAR IndexOfRateupOreoCoffee
DEBUGVAR IndexOfRateupOreoMilk
DEBUGVAR IndexOfRateupOreoTea
If IndexOfAllRandom = 0 Then
Var SubRandAllButtonEnable = "Disable"
EndIf
If IndexOfCoffee = 0 Then
Var SubRandCoffButtonEnable = "Disable"
EndIf
If IndexOfMilk = 0 Then
Var SubRandMilkButtonEnable = "Disable"
EndIf
If IndexOfTea = 0 Then
Var SubRandTeaButtonEnable = "Disable"
EndIf
If IndexOfRateupOreoAll = 0 Then
Var SubRandAllButtonEnable = "Disable"
EndIf
If IndexOfRateupOreoCoffee = 0 Then
Var SubRandCoffButtonEnable = "Disable"
EndIf
If IndexOfRateupOreoMilk = 0 Then
Var SubRandMilkButtonEnable = "Disable"
EndIf
If IndexOfRateupOreoTea = 0 Then
Var SubRandTeaButtonEnable = "Disable"
EndIf
Var ResultRandomIndex = 0
Refresh

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,48 @@
<Button>
<X> 42 </X>
<Y> 520 </Y>
<State> BigButtonEnable </State>
<Filename>
eval(
If show_eng = "true" Then
Var return = ###normal_eng
Else
Var return = ###normal_thai
EndIf
)
</Filename>
<FilenamePress>
eval(
If show_eng = "true" Then
Var return = ###press_eng
Else
Var return = ###press_thai
EndIf
)
</FilenamePress>
<FilenameDisable>
eval(
If show_eng = "true" Then
Var return = ###disable_eng
Else
Var return = ###disable_thai
EndIf
)
</FilenameDisable>
<EventOnClick>
###EventOnClick
</EventOnClick>
</Button>
<EventUnitTest1>
Var BigButtonEnable = "Enable"
Refresh
</EventUnitTest1>
<EventUnitTest2>
Var BigButtonEnable = "Invisible"
Refresh
</EventUnitTest2>

View file

@ -0,0 +1,47 @@
<Button>
<X> 42 </X>
<Y> 520 </Y>
<State> BigButtonEnable </State>
<Filename>
eval(
If show_eng = "true" Then
Var return = ###normal_eng
Else
Var return = ###normal_thai
EndIf
)
</Filename>
<FilenamePress>
eval(
If show_eng = "true" Then
Var return = ###press_eng
Else
Var return = ###press_thai
EndIf
)
</FilenamePress>
<FilenameDisable>
eval(
If show_eng = "true" Then
Var return = ###disable_eng
Else
Var return = ###disable_thai
EndIf
)
</FilenameDisable>
<EventOnClick>
###EventOnClick
</EventOnClick>
</Button>
<EventUnitTest1>
Var BigButtonEnable = "Enable"
Refresh
</EventUnitTest1>
<EventUnitTest2>
Var BigButtonEnable = "Invisible"
Refresh
</EventUnitTest2>

View file

@ -0,0 +1,305 @@
;
;
;
; Sub-button for 4 random menu
;
;
;
<Button>
<X> 43 </X>
<Y> 519 </Y>
<State> SubRandMilkButtonEnable </State>
<Filename>
eval(
Var return = "ROOT/taobin_project/image/event/bn_random_milk.png"
)
</Filename>
<FilenamePress>
eval(
Var return = "ROOT/taobin_project/image/event/bn_random_milk.png"
)
</FilenamePress>
<FilenameDisable>
eval(
Var return = "ROOT/taobin_project/image/event/bd_random_milk.png"
)
</FilenameDisable>
<EventClick>
Var OreoGuarantee = OreoGuarantee + 1
Var ResultRandomIndex = 0
DEBUGVAR OreoGuarantee
If OreoGuarantee > 4 Then
Var IndexOfMilk = IndexOfMilk - 1
Random2 0 IndexOfMilk ResultRandomIndex
Var ProductCodeRandom = ListOfMilk[ResultRandomIndex]
DEBUGVAR ListOfMilk[ResultRandomIndex]
Var OreoGuarantee = 0
Else
Var IndexOfRateupOreoMilk = IndexOfRateupOreoMilk - 1
Random2 0 IndexOfRateupOreoMilk ResultRandomIndex
Var ProductCodeRandom = ListOfOreoMilk[ResultRandomIndex]
DEBUGVAR ListOfOreoMilk[ResultRandomIndex]
EndIf
DEBUGVAR ResultRandomIndex
Topping "Load" ProductCodeRandom
Var OpenFromXML = CurrentXMLFileName2
Open "ROOT/taobin_project/xml/page_topping_select_35.xml"
</EventClick>
</Button>
<Text>
<X> 91</X>
<Y> 635 </Y>
<Size> 32 </Size>
<Width>128</Width>
<Height>64</Height>
<Font> MITRegularTTF </Font>
<Color> 0x5A5A5A </Color>
<Mode> "disable-show" </Mode>
<State> SubRandMilkButtonEnable </State>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
<Button>
<X> 301 </X>
<Y> 519 </Y>
<State> SubRandTeaButtonEnable </State>
<Filename>
eval(
Var return = "ROOT/taobin_project/image/event/bn_random_tea.png"
)
</Filename>
<FilenamePress>
eval(
Var return = "ROOT/taobin_project/image/event/bn_random_tea.png"
)
</FilenamePress>
<FilenameDisable>
eval(
Var return = "ROOT/taobin_project/image/event/bd_random_tea.png"
)
</FilenameDisable>
<EventClick>
Var OreoGuarantee = OreoGuarantee + 1
Var ResultRandomIndex = 0
DEBUGVAR OreoGuarantee
DEBUGVAR IndexOfTea
DEBUGVAR IndexOfRateupOreoTea
If OreoGuarantee > 4 Then
Var IndexOfTea = IndexOfTea - 1
Random2 0 IndexOfTea ResultRandomIndex
Var ProductCodeRandom = ListOfTea[ResultRandomIndex]
DEBUGVAR ListOfTea[ResultRandomIndex]
Var OreoGuarantee = 0
Else
Var IndexOfRateupOreoTea = IndexOfRateupOreoTea - 1
Random2 0 IndexOfRateupOreoTea ResultRandomIndex
Var ProductCodeRandom = ListOfOreoTea[ResultRandomIndex]
DEBUGVAR ListOfOreoTea[ResultRandomIndex]
EndIf
DEBUGVAR ResultRandomIndex
Topping "Load" ProductCodeRandom
Var OpenFromXML = CurrentXMLFileName2
Open "ROOT/taobin_project/xml/page_topping_select_35.xml"
</EventClick>
</Button>
<Text>
<X> 349 </X>
<Y> 635 </Y>
<Size> 32 </Size>
<Width>128</Width>
<Height>64</Height>
<Font> MITRegularTTF </Font>
<Color> 0x5A5A5A </Color>
<Mode> "disable-show" </Mode>
<State> SubRandTeaButtonEnable </State>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
<Button>
<X> 43 </X>
<Y> 837 </Y>
<State> SubRandCoffButtonEnable </State>
<Filename>
eval(
Var return = "ROOT/taobin_project/image/event/bn_random_coffee.png"
)
</Filename>
<FilenamePress>
eval(
Var return = "ROOT/taobin_project/image/event/bn_random_coffee.png"
)
</FilenamePress>
<FilenameDisable>
eval(
Var return = "ROOT/taobin_project/image/event/bd_random_coffee.png"
)
</FilenameDisable>
<EventClick>
Var OreoGuarantee = OreoGuarantee + 1
Var ResultRandomIndex = 0
DEBUGVAR OreoGuarantee
DEBUGVAR IndexOfCoffee
DEBUGVAR IndexOfRateupOreoCoffee
If OreoGuarantee > 4 Then
Var IndexOfCoffee = IndexOfCoffee - 1
Random2 0 IndexOfCoffee ResultRandomIndex
Var ProductCodeRandom = ListOfCoffee[ResultRandomIndex]
DEBUGVAR ListOfCoffee[ResultRandomIndex]
Var OreoGuarantee = 0
Else
Var IndexOfRateupOreoCoffee = IndexOfRateupOreoCoffee - 1
Random2 0 IndexOfRateupOreoCoffee ResultRandomIndex
Var ProductCodeRandom = ListOfOreoCoffee[ResultRandomIndex]
DEBUGVAR ListOfOreoCoffee[ResultRandomIndex]
EndIf
DEBUGVAR ResultRandomIndex
Topping "Load" ProductCodeRandom
Var OpenFromXML = CurrentXMLFileName2
Open "ROOT/taobin_project/xml/page_topping_select_35.xml"
</EventClick>
</Button>
<Text>
<X> 91</X>
<Y> 953 </Y>
<Size> 32 </Size>
<Width>128</Width>
<Height>64</Height>
<Font> MITRegularTTF </Font>
<Color> 0x5A5A5A </Color>
<Mode> "disable-show" </Mode>
<State> SubRandCoffButtonEnable </State>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
<Button>
<X> 301 </X>
<Y> 837 </Y>
<State> SubRandAllButtonEnable </State>
<Filename>
eval(
Var return = "ROOT/taobin_project/image/event/bn_random_all.png"
)
</Filename>
<FilenamePress>
eval(
Var return = "ROOT/taobin_project/image/event/bn_random_all.png"
)
</FilenamePress>
<FilenameDisable>
eval(
Var return = "ROOT/taobin_project/image/event/bd_random_all.png"
)
</FilenameDisable>
<EventClick>
Var OreoGuarantee = OreoGuarantee + 1
Var ResultRandomIndex = 0
DEBUGVAR OreoGuarantee
If OreoGuarantee > 4 Then
Var IndexOfAllRandom = IndexOfAllRandom - 1
Random2 0 IndexOfAllRandom ResultRandomIndex
Var ProductCodeRandom = ListOfAllRandom[ResultRandomIndex]
DEBUGVAR ListOfAllRandom[ResultRandomIndex]
Var OreoGuarantee = 0
Else
Var IndexOfRateupOreoAll = IndexOfRateupOreoAll - 1
Random2 0 IndexOfRateupOreoAll ResultRandomIndex
Var ProductCodeRandom = ListOfOreoAll[ResultRandomIndex]
DEBUGVAR ListOfOreoAll[ResultRandomIndex]
EndIf
DEBUGVAR ResultRandomIndex
Topping "Load" ProductCodeRandom
Var OpenFromXML = CurrentXMLFileName2
Open "ROOT/taobin_project/xml/page_topping_select_35.xml"
</EventClick>
</Button>
<Text>
<X> 349</X>
<Y> 953 </Y>
<Size> 32 </Size>
<Width>128</Width>
<Height>64</Height>
<Font> MITRegularTTF </Font>
<Color> 0x5A5A5A </Color>
<Mode> "disable-show" </Mode>
<State> SubRandAllButtonEnable </State>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
;
;
;
;
; Big button for mys event
;
;
;
<Button>
<X> 42 </X>
<Y> 518 </Y>
<State> BigButtonEnable </State>
<Filename>
eval(
If show_eng = "true" Then
Var return = "ROOT/taobin_project/image/event/pro_mystery_cup_en.png"
Else
Var return = "ROOT/taobin_project/image/event/pro_mystery_cup_th.png"
EndIf
)
</Filename>
<FilenamePress>
eval(
If show_eng = "true" Then
Var return = "ROOT/taobin_project/image/event/pro_mystery_cup_en.png"
Else
Var return = "ROOT/taobin_project/image/event/pro_mystery_cup_th.png"
EndIf
)
</FilenamePress>
<FilenameDisable>
eval(
If show_eng = "true" Then
Var return = "ROOT/taobin_project/image/event/pro_mystery_cup_en.png"
Else
Var return = "ROOT/taobin_project/image/event/pro_mystery_cup_th.png"
EndIf
)
</FilenameDisable>
<EventOnClick>
###EventOnClick
</EventOnClick>
</Button>
<EventUnitTest1>
Var BigButtonEnable = "Enable"
Refresh
</EventUnitTest1>
<EventUnitTest2>
Var BigButtonEnable = "Invisible"
Refresh
</EventUnitTest2>

View file

@ -0,0 +1,13 @@
; australia
; zone promote
If OpenFromPageBoard = 1 Then
OpenInst 2 "ROOT/taobin_project/inter/aus/xml/page_catalog_group_recommend.lxml"
Else
Open "ROOT/taobin_project/inter/aus/xml/page_catalog_group_recommend.lxml"
EndIf
Var OpenFromPageBoard = 0

View file

@ -0,0 +1,11 @@
; australia
;DEBUGVAR SystemDateMonthInt
;DEBUGVAR SystemDateDayInt
; Reset flag away.
DEBUGVAR Propepsi99Enable
DEBUGVAR DisplayFormatFull

View file

@ -0,0 +1,117 @@
Var NextPage = "-"
DEBUGVAR ICE_PROCESS_STATUS
DEBUGVAR ICE_PROCESS_TXT
DEBUGVAR LanguageShow
DEBUGVAR CountryName
If LanguageShow = "ENG" Then
Var DirImage2 = "ROOT/taobin_project/image/drink_option_en/"
Var DirImageAlter = "ROOT/taobin_project/image/page3_2_en/"
Var DirImage = "ROOT/taobin_project/image/page3_en"
Var ice_tab_text = "Ice will be ready at "
EndIf
If LanguageShow = "THAI" Then
Var DirImage2 = "ROOT/taobin_project/image/drink_option/"
Var DirImageAlter = "ROOT/taobin_project/image/page3_2/"
Var ice_tab_text = "น้ำแข็งจะพร้อมเวลา "
Var DirImage = "ROOT/taobin_project/image/page3"
EndIf
If CountryName = "Malaysia" Then
Var DirImage2 = "ROOT/taobin_project/image/drink_option_myr/"
Var DirImageAlter = "ROOT/taobin_project/image/page3_2_en/"
Var DirImage = "ROOT/taobin_project/image/page3_en"
Var ice_tab_text = "Ice will be ready at "
EndIf
If CountryName = "Australia" Then
Var DirImage2 = "ROOT/taobin_project/image/drink_option_myr/"
Var DirImageAlter = "ROOT/taobin_project/image/page3_2_en/"
Var DirImage = "ROOT/taobin_project/image/page3_en"
Var ice_tab_text = "Ice will be ready at "
EndIf
If ICE_PROCESS_STATUS = 2 Then
Var ice_tab_process_show = "Enable"
Var ice_show_open = ice_tab_text + ICE_PROCESS_TXT
Else
Var ice_tab_process_show = "Invisible"
EndIf
; SpiralOnline
Var MenuVSelected2 = "Invisible"
Var Menu1Selected2 = "Invisible"
Var Menu2Selected2 = "Invisible"
Var Menu3Selected2 = "Invisible"
Var Menu4Selected2 = "Invisible"
Var Menu6Selected2 = "Invisible"
Var Menu7Selected2 = "Invisible"
Var MenuVSelected2 = "Invisible"
Var Menu11Selected2 = "Invisible"
Var Menu21Selected2 = "Invisible"
Var MenuVSelected2 = "Invisible"
If SpiralOnline = "true" Then
If Seeker = "curr" Then
Var MenuVSelected2 = "Enable"
EndIf
EndIf
; init default
Var Menu1Selected = "Enable"
Var Menu2Selected = "Enable"
Var Menu3Selected = "Enable"
Var Menu4Selected = "Enable"
; 5 fruit
Var Menu5Selected = "Invisible"
Var Menu6Selected = "Enable"
Var Menu7Selected = "Enable"
; 8 cocktail
Var Menu8Selected = "Invisible"
If CocktailShow = "true" Then
Var Menu7Selected = "Invisible"
Var Menu8Selected = "Enable"
EndIf
If AppFastEnable = "true" Then
Var Menu11Selected = "Enable"
Var Menu21Selected = "Invisible"
Var Menu7Selected = "Invisible"
Else
If MenuKidEnable = "true" Then
Var Menu11Selected = "Invisible"
Var Menu21Selected = "Enable"
Var Menu7Selected = "Invisible"
Else
Var Menu11Selected = "Invisible"
Var Menu21Selected = "Invisible"
Var Menu7Selected = "Enable"
EndIf
EndIf
If CocktailShow = "true" Then
Var Menu7Selected = "Invisible"
EndIf
If RecipeTag1 = "HealthTurnOn" Then
Var Menu22Selected = "Enable"
Else
Var Menu22Selected = "Invisible"
EndIf
;

View file

@ -0,0 +1,12 @@
if "v2" in param:
print("new menu_catalog_default_init catalog ============================> inter.")
f = open( directory_to_process + "/menu_catalog_default_init.lxml", "r")
#print(f.read())
out_xml(f.read())
f.close()
else:
print("new menu_catalog_default_init catalog enable.")
f = open( directory_to_process + "/menu_catalog_default_init.xml", "r")
#print(f.read())
out_xml(f.read())
f.close()

View file

@ -0,0 +1,106 @@
Var NextPage = "-"
DEBUGVAR ICE_PROCESS_STATUS
DEBUGVAR ICE_PROCESS_TXT
If show_eng = "true" Then
Var showthaiText = "Invisible"
Var showengText = "Enable"
Var DirImage = "ROOT/taobin_project/image/page3_en"
Var show_btp = "ROOT/taobin_project/image/page2/bn_thai_lang_press_2.png"
Var show_btn = "ROOT/taobin_project/image/page2/bn_thai_lang_2.png"
Var ice_tab_text = "Ice will be ready at "
Var text_unavailable = "UNAVAILABLE###size=16"
Else
Var showengText = "Invisible"
Var showthaiText = "Enable"
Var DirImage = "ROOT/taobin_project/image/page3"
Var show_btp = "ROOT/taobin_project/image/page2/bn_eng_lang_2.png"
Var show_btn = "ROOT/taobin_project/image/page2/bn_eng_lang_2.png"
Var ice_tab_text = "น้ำแข็งจะพร้อมเวลา "
Var text_unavailable = "หมด###size=32"
EndIf
If ICE_PROCESS_STATUS = 2 Then
Var ice_tab_process_show = "Enable"
Var ice_show_open = ice_tab_text + ICE_PROCESS_TXT
Else
Var ice_tab_process_show = "Invisible"
EndIf
; SpiralOnline
Var MenuVSelected2 = "Invisible"
Var Menu1Selected2 = "Invisible"
Var Menu2Selected2 = "Invisible"
Var Menu3Selected2 = "Invisible"
Var Menu4Selected2 = "Invisible"
Var Menu6Selected2 = "Invisible"
Var Menu7Selected2 = "Invisible"
Var MenuVSelected2 = "Invisible"
Var Menu11Selected2 = "Invisible"
Var Menu21Selected2 = "Invisible"
Var MenuVSelected2 = "Invisible"
If SpiralOnline = "true" Then
If Seeker = "curr" Then
Var MenuVSelected2 = "Enable"
EndIf
EndIf
; init default
Var Menu1Selected = "Enable"
Var Menu2Selected = "Enable"
Var Menu3Selected = "Enable"
Var Menu4Selected = "Enable"
; 5 fruit
Var Menu5Selected = "Invisible"
Var Menu6Selected = "Enable"
Var Menu7Selected = "Enable"
; 8 cocktail
Var Menu8Selected = "Invisible"
If CocktailShow = "true" Then
Var Menu7Selected = "Invisible"
Var Menu8Selected = "Enable"
EndIf
If AppFastEnable = "true" Then
Var Menu11Selected = "Enable"
Var Menu21Selected = "Invisible"
Var Menu7Selected = "Invisible"
Else
If MenuKidEnable = "true" Then
Var Menu11Selected = "Invisible"
Var Menu21Selected = "Enable"
Var Menu7Selected = "Invisible"
Else
Var Menu11Selected = "Invisible"
Var Menu21Selected = "Invisible"
Var Menu7Selected = "Enable"
EndIf
EndIf
If CocktailShow = "true" Then
Var Menu7Selected = "Invisible"
EndIf
If RecipeTag1 = "HealthTurnOn" Then
Var Menu22Selected = "Enable"
Else
Var Menu22Selected = "Invisible"
EndIf
;

View file

@ -0,0 +1,466 @@
; notice enable heathy menu
<Image>
<X> 0 </X>
<Y> 380 </Y>
<Width> 1080 </Width>
<Height> 1540 </Height>
<Color> "0xeae6e1" </Color>
</Image>
<Timeout> 1000 </Timeout>
<EventTimeout>
;DEBUGVAR ICE_PROCESS_STATUS
If ICE_PROCESS_STATUS = 2 Then
Var ice_tab_process_show = "Enable"
Var ice_show_open = ice_tab_text + ICE_PROCESS_TXT
Else
Var ice_tab_process_show = "Invisible"
EndIf
If NextPage = "-" Then
Else
If CupOnArm = "true" Then
If Timeout > 9 Then
SAVELOG "COA9"
Open NextPage
EndIf
Else
If Timeout > 30 Then
SAVELOG "COA30"
Open NextPage
EndIf
EndIf
EndIf
If Timeout > 60 Then
SAVELOG "Timeout"
If Seeker = "next" Then
Open "ROOT/taobin_project/xml/page_brewing3Conti.xml"
Else
SAVELOG "Back"
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
EndIf
EndIf
If BrewCommand = "RefreshAll" Then
Var BrewCommand = "-"
Open CurrentXMLFileName2
EndIf
If Seeker = "curr" Then
If DoorCupPosition = "bottom" Then
; It normal
Var EmergencyStop = "false"
Else
Var EmergencyStop = "true"
;Open "ROOT/taobin_project/xml/page_back_to_error.xml"
EndIf
EndIf
If IgnoreNetCore = "true" Then
Else
;stop_now
If NETCORE_LOST_CNT > 120 Then
Var stop_now = "true"
Var MachineErrorDetailAll = "???"
SAVELOG "NETCORE_LOST_CNT"
Open "ROOT/taobin_project/xml/page_back_to_error.xml"
EndIf
EndIf
Var Timeout = Timeout + 1
TimerReset
</EventTimeout>
<EventLanguageOnChange>
DEBUGVAR LanguageShow
If LanguageShow = "ENG" Then
Var DirImage2 = "ROOT/taobin_project/image/drink_option_en/"
Var DirImageAlter = "ROOT/taobin_project/image/page3_2_en/"
EndIf
If LanguageShow = "THAI" Then
Var DirImage2 = "ROOT/taobin_project/image/drink_option/"
Var DirImageAlter = "ROOT/taobin_project/image/page3_2/"
EndIf
If CountryName = "Malaysia" Then
Var DirImage2 = "ROOT/taobin_project/image/drink_option_myr/"
Var DirImageAlter = "ROOT/taobin_project/image/page3_2_en/"
Var DirImage = "ROOT/taobin_project/image/page3_en"
Var ice_tab_text = "Ice will be ready at "
EndIf
SAVELOG "EventLanguageOnChange menu -list"
Refresh
Var LanguageButtonEnable = "Enable"
Var ButtonLanguageCurrentXPosition = 990
Var ButtonLanguageCurrentYPosition = 438 - 38
Var ButtonLanguageListXPosition = 970
Var ButtonLanguageListYPosition = 430 - 38
OpenInst 3 "ROOT/taobin_project/xml/topview2.xml"
</EventLanguageOnChange>
; under line
<Image>
<X> 0 </X>
<Y> 494 </Y>
<Filename> "ROOT/taobin_project/image/page3/tab_line_bottom.png" </Filename>
</Image>
; under line
<Image>
<X> 0 </X>
<Y> 358 </Y>
<Filename> "ROOT/taobin_project/image/page3/bg1.png" </Filename>
</Image>
; back
<Button>
<X> 19 </X>
<Y> 381 </Y>
<Filename> "ROOT/taobin_project/image/page2/bn_back_arrow_2.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page2/bn_back_arrow_2.png" </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
If SpiralOnline = "true" Then
If Seeker = "curr" Then
Open "ROOT/taobin_project/xml/page_catalog_with_vending.xml"
Else
Open "ROOT/taobin_project/xml/page_catalog.lxml"
EndIf
Else
Open "ROOT/taobin_project/xml/page_catalog.lxml"
EndIf
</EventClick>
</Button>
<ListView1>
<Width> 1080 </Width>
<Height> "auto" </Height>
<X> 0 </X>
<Y> 395 </Y>
<Row2>
<State>"Enable"</State>
<Width> 896 </Width>
<Height> 102 </Height>
<Button>
<Layout> "linear" </Layout>
<State> Menu1Selected </State>
<Filename> Var( DirImageAlter + "/bn_recommend3.png" )</Filename>
<FilenamePress> Var( DirImageAlter + "/bp_recommend3.png") </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
SAVELOG "Click rec"
Var NextPage = "-"
Var OpenFileXML = CountryRootPath + "xml/page_catalog_group_recommend.lxml"
DEBUGVAR CountryRootPath
DEBUGVAR OpenFileXML
If CountryName = "Thailand" Then
Open "ROOT/taobin_project/xml/page_catalog_group_recommend.lxml"
Else
Open OpenFileXML
EndIf
</EventClick>
</Button>
<Button>
<Layout> "linear" </Layout>
<State> Menu2Selected </State>
<Filename> Var( DirImageAlter + "/bn_coffee2.png") </Filename>
<FilenamePress> Var( DirImageAlter + "/bp_coffee2.png") </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var NextPage = "-"
;Open "ROOT/taobin_project/xml/page_catalog_group_coffee.lxml"
Var OpenFileXML = CountryRootPath + "xml/page_catalog_group_coffee.lxml"
DEBUGVAR CountryRootPath
DEBUGVAR OpenFileXML
If CountryName = "Thailand" Then
Open "ROOT/taobin_project/xml/page_catalog_group_coffee.lxml"
Else
Open OpenFileXML
EndIf
</EventClick>
</Button>
<Button>
<Layout> "linear" </Layout>
<State> Menu3Selected </State>
<Filename> Var( DirImageAlter + "/bn_tea2.png") </Filename>
<FilenamePress> Var( DirImageAlter + "/bp_tea2.png") </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var NextPage = "-"
;Open "ROOT/taobin_project/xml/page_catalog_group_tea.lxml"
Var OpenFileXML = CountryRootPath + "xml/page_catalog_group_tea.lxml"
DEBUGVAR CountryRootPath
DEBUGVAR OpenFileXML
If CountryName = "Thailand" Then
Open "ROOT/taobin_project/xml/page_catalog_group_tea.lxml"
Else
Open OpenFileXML
EndIf
</EventClick>
</Button>
<Button>
<Layout> "linear" </Layout>
<State> Menu4Selected </State>
<Filename> Var( DirImageAlter + "/bn_cho_ca2.png") </Filename>
<FilenamePress> Var( DirImageAlter + "/bp_cho_ca2.png") </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var NextPage = "-"
;Open "ROOT/taobin_project/xml/page_catalog_group_milk.lxml"
Var OpenFileXML = CountryRootPath + "xml/page_catalog_group_milk.lxml"
DEBUGVAR CountryRootPath
DEBUGVAR OpenFileXML
If CountryName = "Thailand" Then
Open "ROOT/taobin_project/xml/page_catalog_group_milk.lxml"
Else
Open OpenFileXML
EndIf
</EventClick>
</Button>
<Button>
<Layout> "linear" </Layout>
<State> Menu7Selected </State>
<Filename> Var( DirImageAlter + "/bn_protein2.png") </Filename>
<FilenamePress> Var( DirImageAlter + "/bp_protein2.png") </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var NextPage = "-"
;Open "ROOT/taobin_project/xml/page_catalog_group_whey.lxml"
Var OpenFileXML = CountryRootPath + "xml/page_catalog_group_whey.lxml"
DEBUGVAR CountryRootPath
DEBUGVAR OpenFileXML
If CountryName = "Thailand" Then
Open "ROOT/taobin_project/xml/page_catalog_group_whey.lxml"
Else
Open OpenFileXML
EndIf
</EventClick>
</Button>
<Button>
<Layout> "linear" </Layout>
<State> Menu11Selected </State>
<Filename> Var( DirImageAlter + "/bn_appfast2.png") </Filename>
<FilenamePress> Var( DirImageAlter + "/bp_appfast2.png") </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var NextPage = "-"
;Open "ROOT/taobin_project/xml/page_catalog_group_appfast.lxml"
Var OpenFileXML = CountryRootPath + "xml/page_catalog_group_appfast.lxml"
DEBUGVAR CountryRootPath
DEBUGVAR OpenFileXML
If CountryName = "Thailand" Then
Open "ROOT/taobin_project/xml/page_catalog_group_appfast.lxml"
Else
Open OpenFileXML
EndIf
</EventClick>
</Button>
<Button>
<Layout> "linear" </Layout>
<State> Menu21Selected </State>
<Filename> Var( DirImageAlter + "/bn_forkid2.png") </Filename>
<FilenamePress> Var( DirImageAlter + "/bp_forkid2.png") </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var NextPage = "-"
;Open "ROOT/taobin_project/xml/page_catalog_group_forkid.lxml"
Var OpenFileXML = CountryRootPath + "xml/page_catalog_group_forkid.lxml"
DEBUGVAR CountryRootPath
DEBUGVAR OpenFileXML
If CountryName = "Thailand" Then
Open "ROOT/taobin_project/xml/page_catalog_group_forkid.lxml"
Else
Open OpenFileXML
EndIf
</EventClick>
</Button>
<Button>
<Layout> "linear" </Layout>
<State> Menu22Selected </State>
<Filename> Var( DirImageAlter + "/bn_health.png") </Filename>
<FilenamePress> Var( DirImageAlter + "/bp_health.png") </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var NextPage = "-"
;Open "ROOT/taobin_project/xml/page_catalog_group_health.lxml"
Var OpenFileXML = CountryRootPath + "xml/page_catalog_group_health.lxml"
DEBUGVAR CountryRootPath
DEBUGVAR OpenFileXML
If CountryName = "Thailand" Then
Open "ROOT/taobin_project/xml/page_catalog_group_health.lxml"
Else
Open OpenFileXML
EndIf
</EventClick>
</Button>
<Button>
<Layout> "linear" </Layout>
<State> Menu8Selected </State>
<Filename> Var( DirImageAlter + "/bn_cocktail.png") </Filename>
<FilenamePress> Var( DirImageAlter + "/bp_cocktail.png") </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var NextPage = "-"
;Open "ROOT/taobin_project/xml/page_catalog_group_cocktail.lxml"
Var OpenFileXML = CountryRootPath + "xml/page_catalog_group_cocktail.lxml"
DEBUGVAR CountryRootPath
DEBUGVAR OpenFileXML
If CountryName = "Thailand" Then
Open "ROOT/taobin_project/xml/page_catalog_group_cocktail.lxml"
Else
Open OpenFileXML
EndIf
</EventClick>
</Button>
<Button>
<Layout> "linear" </Layout>
<State> Menu6Selected </State>
<Filename> Var( DirImageAlter + "/bn_sodada2.png") </Filename>
<FilenamePress> Var( DirImageAlter + "/bp_sodada2.png") </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var NextPage = "-"
;Open "ROOT/taobin_project/xml/page_catalog_group_other.lxml"
Var OpenFileXML = CountryRootPath + "xml/page_catalog_group_other.lxml"
DEBUGVAR CountryRootPath
DEBUGVAR OpenFileXML
If CountryName = "Thailand" Then
Open "ROOT/taobin_project/xml/page_catalog_group_other.lxml"
Else
Open OpenFileXML
EndIf
</EventClick>
</Button>
<Button>
<Layout> "linear" </Layout>
<State> MenuVSelected2 </State>
<Filename> Var( DirImageAlter + "/bn_vending2.png") </Filename>
<FilenamePress> Var( DirImageAlter + "/bp_vending2.png") </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var NextPage = "-"
Open "ROOT/taobin_project/spiral/xml/page_catalog_vending_machine.xml"
</EventClick>
</Button>
</Row2>
</ListView1>
<Text>
<X> 940 </X>
<Y> 462 </Y>
<Size> 22 </Size>
<Width> 170 </Width>
<Height> 30 </Height>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<Value> PriceUnitText </Value>
</Text>
<EventWebApp>
DEBUGVAR web_ready
If web_ready = "true" Then
If web_ref = QRCODE99x Then
Var web_readyOK = web_ready
Var web_telnumOK = web_telnum
Var web_app_prepar = "true"
Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_payment.xml"
EndIf
Else
EndIf
</EventWebApp>

View file

@ -0,0 +1,22 @@
print("directory_to_process =" + directory_to_process)
if param == "old":
print("old layout catalog enable.")
f = open( directory_to_process + "/menu_catalog.xml", "r")
#print(f.read())
out_xml(f.read())
f.close()
else:
if "v2" in param:
print("new layout catalog ============================> inter.")
f = open( directory_to_process + "/menu_catalog_new.lxml", "r")
#print(f.read())
out_xml(f.read())
f.close()
else:
print("new layout catalog enable.")
f = open( directory_to_process + "/menu_catalog_new.xml", "r")
#print(f.read())
out_xml(f.read())
f.close()

View file

@ -0,0 +1,9 @@
If show_eng = "true" Then
Var DirImage2 = "ROOT/taobin_project/image/drink_option_en/"
Var DirImageAlter = "ROOT/taobin_project/image/page3_2_en/"
Else
Var DirImage2 = "ROOT/taobin_project/image/drink_option/"
Var DirImageAlter = "ROOT/taobin_project/image/page3_2/"
EndIf

View file

@ -0,0 +1,12 @@
if "v2" in param:
print("new menu_catalog_new_menu catalog ============================> inter.")
f = open( directory_to_process + "/menu_catalog_new_menu.lxml", "r")
#print(f.read())
out_xml(f.read())
f.close()
else:
print("new menu_catalog_new_menu catalog enable.")
f = open( directory_to_process + "/menu_catalog_new_menu.xml", "r")
#print(f.read())
out_xml(f.read())
f.close()

View file

@ -0,0 +1,9 @@
If show_eng = "true" Then
Var DirImage2 = "ROOT/taobin_project/image/drink_option_en/"
Var DirImageAlter = "ROOT/taobin_project/image/page3_2_en/"
Else
Var DirImage2 = "ROOT/taobin_project/image/drink_option/"
Var DirImageAlter = "ROOT/taobin_project/image/page3_2/"
EndIf

149
inter/sgp/xml/menu_gen.py Normal file
View file

@ -0,0 +1,149 @@
out_xml('<FrameScroll> \r\n')
out_xml('<X> 10 </X>\r\n')
out_xml('<Y> 497 </Y>\r\n')
out_xml('<Width> 1080 </Width>\r\n')
out_xml('<ScrollHeight> "auto" </ScrollHeight>\r\n')
out_xml('<Scroll> "Vertical" </Scroll>\r\n')
out_xml('<Column> 4 </Column>\r\n')
for i in range( menu_count):
i_str = str(i + 1)
out_xml( '\t; button i='+ i_str + ' ' + product_code[i]+ ' \r\n')
out_xml( '<Block>\r\n')
out_xml('\t<MarginLeft> 33 </MarginLeft>\r\n')
out_xml('\t<MarginTop> 22 </MarginTop>\r\n')
out_xml('\t<Width> 225 </Width>\r\n')
out_xml('\t<Height> 296 </Height>\r\n')
out_xml( '\t<State> $' + product_code[i] + '.Button </State> \r\n')
out_xml( '\t<Button>\r\n')
out_xml( '\t<State> $' + product_code[i] + '.Button </State> \r\n')
out_xml( '\t<Filename> Var( "' + default_dir + '" + $'+ product_code[i] +'.image ) </Filename>\r\n')
out_xml( '\t<FilenamePress> Var( "' + default_dir_press + '" + $'+ product_code[i] +'.image ) " </FilenamePress>\r\n')
out_xml( '\t<FilenameDisable> Var( "' + default_dir_disable + '" + $'+ product_code[i] +'.image ) " </FilenameDisable>\r\n')
out_xml( '\t<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>\r\n')
out_xml( '\t<Volume> SoundVolume </Volume>\r\n')
out_xml( '\t<EventOnClick> \r\n')
out_xml( '\t\tVar SelectDrink = $'+ product_code[i] +'.Self\r\n')
out_xml( '\t\tVar NameDrink = $' + product_code[i] + '.NameE\r\n')
out_xml( '\t\tVar NameDrinkTH = $' + product_code[i] + '.Name\r\n')
out_xml( '\t\tVar DrinkDescriptionTH = $' + product_code[i] + '.description\r\n')
out_xml( '\t\tVar DrinkDescription = $' + product_code[i] + '.descriptionE\r\n')
out_xml( '\t\tVar PriceDrink = $' + product_code[i] + '.Price\r\n')
out_xml( '\t\tVar PictureDrink = "' + default_dir2 + '" + $'+ product_code[i] +'.image\r\n')
out_xml( '\t\tTopping "Load" SelectDrink\r\n')
out_xml( '\t\tSAVELOG NameDrink\r\n')
out_xml( '\t\tVar PriceShowValue = charOfBaht + PriceDrink\r\n')
#out_xml( '\t\tVar PriceShowValue = "Free"\r\n')
out_xml( '\t\tVar OpenFromXML = CurrentXMLFileName2\r\n')
out_xml( '\t\tSTRCONTAIN "Smoothie" $' + product_code[i] + '.Button IsSmoRet\r\n')
out_xml( '\t\tOpen "ROOT/taobin_project/xml/page_topping_select.xml"\r\n')
out_xml( '\t</EventOnClick>\r\n')
out_xml( '\t</Button>\r\n')
out_xml( '\t<Text>\r\n')
out_xml( '\t<X> 182 </X>\r\n')
out_xml( '\t<Y> 12 </Y>\r\n')
out_xml( '\t<State> ShowPrice </State>\r\n')
out_xml( '\t<Align> "Hurr" </Align>\r\n')
out_xml( '\t<Width>150</Width>\r\n')
out_xml( '\t<Size> 27 </Size>\r\n')
out_xml( '\t<Font> KanitTTF </Font>\r\n')
out_xml( '\t<Color> 0xB78F24 </Color>\r\n')
out_xml( '\t<Value> $' + product_code[i] + '.Price </Value>\r\n')
#out_xml( '\t<Value> eval( STRCONTAIN "Smoothie" $' + product_code[i] + '.Button SmoRet \n If SmoRet = "true" Then\n Var return = "Enable"\n Else\n Var return = "Invisible"\n EndIf\n) </Value> \r\n')
out_xml( '\t</Text>\r\n')
out_xml( '\t<Text>\r\n')
out_xml( '\t<X> 164 </X>\r\n')
out_xml( '\t<Y> 12 </Y>\r\n')
out_xml( '\t<State> ShowPrice </State>\r\n')
out_xml( '\t<Width>20</Width>\r\n')
out_xml( '\t<Size> 27 </Size>\r\n')
out_xml( '\t<Font> KanitTTF </Font>\r\n')
out_xml( '\t<Color> 0xB78F24 </Color>\r\n')
out_xml( '\t<Value> "฿"" </Value>\r\n')
out_xml( '\t</Text>\r\n')
out_xml( '\t<Text>\r\n')
out_xml( '\t<X> 16 </X>\r\n')
out_xml( '\t<Y> 190 </Y>\r\n')
out_xml( '\t<Size> 24 </Size>\r\n')
out_xml( '\t<Width>220</Width>\r\n')
out_xml( '\t<Mode> "multi2" </Mode>\r\n')
out_xml( '\t<Font> KanitMediumTTF </Font>\r\n')
out_xml( '\t<Color> 0x322B26 </Color>\r\n')
out_xml( '\t<State> showthaiText </State>\r\n')
out_xml( '\t<Value> $' + product_code[i] + '.Name </Value>\r\n')
out_xml( '\t</Text>\r\n')
out_xml( '\t<Text>\r\n')
out_xml( '\t<X> 16 </X>\r\n')
out_xml( '\t<Y> 246 </Y>\r\n')
out_xml( '\t<Size> 14 </Size>\r\n')
out_xml( '\t<Width>220</Width>\r\n')
out_xml( '\t<Font> KanitMediumTTF </Font>\r\n')
out_xml( '\t<Color> 0x6F5F51 </Color>\r\n')
out_xml( '\t<State> showthaiText </State>\r\n')
out_xml( '\t<Value> $' + product_code[i] + '.description </Value>\r\n')
out_xml( '\t</Text>\r\n')
out_xml( '\t<Text>\r\n')
out_xml( '\t<X> 16 </X>\r\n')
out_xml( '\t<Y> 190 </Y>\r\n')
out_xml( '\t<Size> 22 </Size>\r\n')
out_xml( '\t<Width>220</Width>\r\n')
out_xml( '\t<Mode> "multi2" </Mode>\r\n')
out_xml( '\t<Font> KanitMediumTTF </Font>\r\n')
out_xml( '\t<Color> 0x322B26 </Color>\r\n')
out_xml( '\t<State> showengText </State>\r\n')
out_xml( '\t<Value> $' + product_code[i] + '.NameE </Value>\r\n')
out_xml( '\t</Text>\r\n')
out_xml( '\t<Text>\r\n')
out_xml( '\t<X> 16 </X>\r\n')
out_xml( '\t<Y> 246 </Y>\r\n')
out_xml( '\t<Size> 14 </Size>\r\n')
out_xml( '\t<Width>220</Width>\r\n')
out_xml( '\t<Font> KanitMediumTTF </Font>\r\n')
out_xml( '\t<Color> 0x6F5F51 </Color>\r\n')
out_xml( '\t<State> showengText </State>\r\n')
out_xml( '\t<Value> $' + product_code[i] + '.descriptionE </Value>\r\n')
out_xml( '\t</Text>\r\n')
out_xml( '\t<Image>\r\n')
out_xml( '\t<X> 2 </X>\r\n')
out_xml( '\t<Y> 2 </Y>\r\n')
out_xml( '\t<State> eval( STRCONTAIN "Smoothie" $' + product_code[i] + '.Button SmoRet \n If SmoRet = "true" Then\n Var return = "Enable"\n Else\n Var return = "Invisible"\n EndIf\n) </State> \r\n')
out_xml( '\t<Filename> "ROOT/taobin_project/image/topping2/blender_icon.png" </Filename>\r\n')
out_xml( '\t</Image>\r\n')
out_xml( '</Block>\r\n')
out_xml('</FrameScroll>\r\n')
out_xml('; Cart\r\n')
out_xml('<Button>\r\n')
out_xml('<X> 915 </X>\r\n')
out_xml('<Y> 1769 </Y>\r\n')
out_xml('<State> showCart </State>\r\n')
out_xml('<Filename> cart_image_bn </Filename>\r\n')
out_xml('<FilenamePress> cart_image_bp </FilenamePress>\r\n')
out_xml('<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>\r\n')
out_xml('<Volume> SoundVolume </Volume>\r\n')
out_xml('<EventClick> \r\n')
out_xml('\tOpen "ROOT/taobin_project/xml/page_payment_multi.xml"\r\n')
out_xml('</EventClick>\r\n')
out_xml('</Button>\r\n')

View file

@ -0,0 +1,118 @@
out_xml('<FrameScroll> \r\n')
out_xml('<X> 10 </X>\r\n')
out_xml('<Y> 497 </Y>\r\n')
out_xml('<Width> 1080 </Width>\r\n')
out_xml('<ScrollHeight> "auto" </ScrollHeight>\r\n')
out_xml('<Scroll> "Vertical" </Scroll>\r\n')
out_xml('<Column> 4 </Column>\r\n')
for i in range( menu_count):
i_str = str(i + 1)
out_xml( '\t; button i='+ i_str + ' ' + product_code[i]+ ' \r\n')
out_xml( '<Block>\r\n')
out_xml('\t<MarginLeft> 33 </MarginLeft>\r\n')
out_xml('\t<MarginTop> 22 </MarginTop>\r\n')
out_xml('\t<Width> 225 </Width>\r\n')
out_xml('\t<Height> 296 </Height>\r\n')
out_xml( '\t<State> $' + product_code[i] + '.Button </State> \r\n')
out_xml( '\t<Button>\r\n')
out_xml( '\t<Filename> Var( "' + default_dir + '" + $'+ product_code[i] +'.image ) </Filename>\r\n')
out_xml( '\t<FilenamePress> Var( "' + default_dir_press + '" + $'+ product_code[i] +'.image ) " </FilenamePress>\r\n')
out_xml( '\t<FilenameDisable> Var( "' + default_dir_disable + '" + $'+ product_code[i] +'.image ) " </FilenameDisable>\r\n')
out_xml( '\t<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>\r\n')
out_xml( '\t<Volume> SoundVolume </Volume>\r\n')
out_xml( '\t<EventOnClick> \r\n')
out_xml( '\t\tVar SelectDrink = "'+ product_code[i] +'"\r\n')
out_xml( '\t\tVar NameDrink = $' + product_code[i] + '.NameE\r\n')
out_xml( '\t\tVar NameDrinkTH = $' + product_code[i] + '.Name\r\n')
out_xml( '\t\tVar DrinkDescriptionTH = $' + product_code[i] + '.description\r\n')
out_xml( '\t\tVar DrinkDescription = $' + product_code[i] + '.descriptionE\r\n')
out_xml( '\t\tVar PriceDrink = $' + product_code[i] + '.Price\r\n')
out_xml( '\t\tVar PictureDrink = "' + default_dir2 + '" + $'+ product_code[i] +'.image\r\n')
out_xml( '\t\tTopping "Load" SelectDrink\r\n')
out_xml( '\t\tSAVELOG NameDrink\r\n')
out_xml( '\t\tVar PriceShowValue = charOfBaht + PriceDrink\r\n')
#out_xml( '\t\tVar PriceShowValue = "Free"\r\n')
out_xml( '\t\tOpen "ROOT/taobin_project/xml/page_topping_alter.xml"\r\n')
out_xml( '\t</EventOnClick>\r\n')
out_xml( '\t</Button>\r\n')
out_xml( '\t<Text>\r\n')
out_xml( '\t<X> 182 </X>\r\n')
out_xml( '\t<Y> 12 </Y>\r\n')
out_xml( '\t<State> ShowPrice </State>\r\n')
out_xml( '\t<Align> "Hurr" </Align>\r\n')
out_xml( '\t<Width>150</Width>\r\n')
out_xml( '\t<Size> 27 </Size>\r\n')
out_xml( '\t<Font> KanitTTF </Font>\r\n')
out_xml( '\t<Color> 0xB78F24 </Color>\r\n')
out_xml( '\t<Value> $' + product_code[i] + '.Price </Value>\r\n')
out_xml( '\t</Text>\r\n')
out_xml( '\t<Text>\r\n')
out_xml( '\t<X> 164 </X>\r\n')
out_xml( '\t<Y> 12 </Y>\r\n')
out_xml( '\t<State> ShowPrice </State>\r\n')
out_xml( '\t<Width>20</Width>\r\n')
out_xml( '\t<Size> 27 </Size>\r\n')
out_xml( '\t<Font> KanitTTF </Font>\r\n')
out_xml( '\t<Color> 0xB78F24 </Color>\r\n')
out_xml( '\t<Value> "฿"" </Value>\r\n')
out_xml( '\t</Text>\r\n')
out_xml( '\t<Text>\r\n')
out_xml( '\t<X> 16 </X>\r\n')
out_xml( '\t<Y> 190 </Y>\r\n')
out_xml( '\t<Size> 24 </Size>\r\n')
out_xml( '\t<Width>220</Width>\r\n')
out_xml( '\t<Mode> "multi2" </Mode>\r\n')
out_xml( '\t<Font> KanitMediumTTF </Font>\r\n')
out_xml( '\t<Color> 0x322B26 </Color>\r\n')
out_xml( '\t<State> showthaiText </State>\r\n')
out_xml( '\t<Value> $' + product_code[i] + '.Name </Value>\r\n')
out_xml( '\t</Text>\r\n')
out_xml( '\t<Text>\r\n')
out_xml( '\t<X> 16 </X>\r\n')
out_xml( '\t<Y> 246 </Y>\r\n')
out_xml( '\t<Size> 14 </Size>\r\n')
out_xml( '\t<Width>220</Width>\r\n')
out_xml( '\t<Font> KanitMediumTTF </Font>\r\n')
out_xml( '\t<Color> 0x6F5F51 </Color>\r\n')
out_xml( '\t<State> showthaiText </State>\r\n')
out_xml( '\t<Value> $' + product_code[i] + '.description </Value>\r\n')
out_xml( '\t</Text>\r\n')
out_xml( '\t<Text>\r\n')
out_xml( '\t<X> 16 </X>\r\n')
out_xml( '\t<Y> 190 </Y>\r\n')
out_xml( '\t<Size> 22 </Size>\r\n')
out_xml( '\t<Width>220</Width>\r\n')
out_xml( '\t<Mode> "multi2" </Mode>\r\n')
out_xml( '\t<Font> KanitMediumTTF </Font>\r\n')
out_xml( '\t<Color> 0x322B26 </Color>\r\n')
out_xml( '\t<State> showengText </State>\r\n')
out_xml( '\t<Value> $' + product_code[i] + '.NameE </Value>\r\n')
out_xml( '\t</Text>\r\n')
out_xml( '\t<Text>\r\n')
out_xml( '\t<X> 16 </X>\r\n')
out_xml( '\t<Y> 246 </Y>\r\n')
out_xml( '\t<Size> 14 </Size>\r\n')
out_xml( '\t<Width>220</Width>\r\n')
out_xml( '\t<Font> KanitMediumTTF </Font>\r\n')
out_xml( '\t<Color> 0x6F5F51 </Color>\r\n')
out_xml( '\t<State> showengText </State>\r\n')
out_xml( '\t<Value> $' + product_code[i] + '.descriptionE </Value>\r\n')
out_xml( '\t</Text>\r\n')
out_xml( '</Block>\r\n')
out_xml('</FrameScroll>\r\n')

View file

@ -0,0 +1,132 @@
if menu_count >= 16:
scroll_height = 1670
else:
scroll_height = 1400
out_xml('<FrameScroll> \r\n')
out_xml('<X> 0 </X>\r\n')
out_xml('<Y> 497 </Y>\r\n')
out_xml('<Width> 1080 </Width>\r\n')
out_xml('<Height> 1500 </Height>\r\n')
out_xml('<ScrollHeight> ' + str(scroll_height) + ' </ScrollHeight>\r\n')
out_xml('<Scroll> "Vertical" </Scroll>\r\n')
for i in range( menu_count):
i_str = str(i + 1)
out_xml( '\t; button i='+ i_str + ' ' + product_code[i]+ ' \r\n')
out_xml( '\t<Button>\r\n')
out_xml( '\t<X> ' + str(x_button[i]) + ' </X> \r\n')
out_xml( '\t<Y> ' + str(y_button[i]) + ' </Y> \r\n')
out_xml( '\t<State> $' + product_code[i] + '.Button </State> \r\n')
out_xml( '\t<Filename> Var( "' + default_dir + '" + $'+ product_code[i] +'.image ) </Filename>\r\n')
out_xml( '\t<FilenamePress> Var( "' + default_dir_press + '" + $'+ product_code[i] +'.image ) " </FilenamePress>\r\n')
out_xml( '\t<FilenameDisable> Var( "' + default_dir_disable + '" + $'+ product_code[i] +'.image ) " </FilenameDisable>\r\n')
out_xml( '\t<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>\r\n')
out_xml( '\t<Volume> SoundVolume </Volume>\r\n')
out_xml( '\t<EventOnClick> \r\n')
out_xml( '\t\tVar SelectDrink = "'+ product_code[i] +'"\r\n')
out_xml( '\t\tVar NameDrink = $' + product_code[i] + '.NameE\r\n')
out_xml( '\t\tVar NameDrinkTH = $' + product_code[i] + '.Name\r\n')
out_xml( '\t\tVar DrinkDescriptionTH = $' + product_code[i] + '.description\r\n')
out_xml( '\t\tVar DrinkDescription = $' + product_code[i] + '.descriptionE\r\n')
out_xml( '\t\tVar PriceDrink = $' + product_code[i] + '.Price\r\n')
out_xml( '\t\tVar PictureDrink = "' + default_dir2 + '" + $'+ product_code[i] +'.image\r\n')
out_xml( '\t\tTopping "Load" SelectDrink\r\n')
#out_xml( '\t\tSAVELOG NameDrink\r\n')
out_xml( '\t\tVar PriceShowValue = charOfBaht + PriceDrink\r\n')
#out_xml( '\t\tVar PriceShowValue = "Free"\r\n')
out_xml( '\t\tOpen "ROOT/taobin_project/xml/page_topping_alter.xml"\r\n')
out_xml( '\t</EventOnClick>\r\n')
out_xml( '\t</Button>\r\n')
for i in range( menu_count):
if RoadShow :
out_xml( '\t<Text>\r\n')
out_xml( '\t<X> ' + str(x_button[i] + 164) + ' </X>\r\n')
out_xml( '\t<Y> ' + str(y_button[i] + 12) + ' </Y>\r\n')
out_xml( '\t<Width>200</Width>\r\n')
out_xml( '\t<Size> 27 </Size>\r\n')
out_xml( '\t<Font> KanitTTF </Font>\r\n')
out_xml( '\t<Color> 0xB78F24 </Color>\r\n')
out_xml( '\t<Value> "Free!" </Value>\r\n')
out_xml( '\t</Text>\r\n')
out_xml( '\t<Text>\r\n')
else:
out_xml( '\t<Text>\r\n')
out_xml( '\t<X> ' + str(x_button[i] + 182) + ' </X>\r\n')
out_xml( '\t<Y> ' + str(y_button[i] + 12) + ' </Y>\r\n')
out_xml( '\t<State> ShowPrice </State>\r\n')
out_xml( '\t<Align> "Hurr" </Align>\r\n')
out_xml( '\t<Width>150</Width>\r\n')
out_xml( '\t<Size> 27 </Size>\r\n')
out_xml( '\t<Font> KanitTTF </Font>\r\n')
out_xml( '\t<Color> 0xB78F24 </Color>\r\n')
out_xml( '\t<Value> $' + product_code[i] + '.Price </Value>\r\n')
out_xml( '\t</Text>\r\n')
out_xml( '\t<Text>\r\n')
out_xml( '\t<X> ' + str(x_button[i] + 164) + ' </X>\r\n')
out_xml( '\t<Y> ' + str(y_button[i] + 12) + ' </Y>\r\n')
out_xml( '\t<State> ShowPrice </State>\r\n')
out_xml( '\t<Width>20</Width>\r\n')
out_xml( '\t<Size> 27 </Size>\r\n')
out_xml( '\t<Font> KanitTTF </Font>\r\n')
out_xml( '\t<Color> 0xB78F24 </Color>\r\n')
out_xml( '\t<Value> "฿"" </Value>\r\n')
out_xml( '\t</Text>\r\n')
out_xml( '\t<Text>\r\n')
out_xml( '\t<X> ' + str(x_button[i] + 16) + ' </X>\r\n')
out_xml( '\t<Y> ' + str(y_button[i] + 190) + ' </Y>\r\n')
out_xml( '\t<Size> 24 </Size>\r\n')
out_xml( '\t<Width>220</Width>\r\n')
out_xml( '\t<Mode> "multi2" </Mode>\r\n')
out_xml( '\t<Font> KanitMediumTTF </Font>\r\n')
out_xml( '\t<Color> 0x322B26 </Color>\r\n')
out_xml( '\t<State> showthaiText </State>\r\n')
out_xml( '\t<Value> $' + product_code[i] + '.Name </Value>\r\n')
out_xml( '\t</Text>\r\n')
out_xml( '\t<Text>\r\n')
out_xml( '\t<X> ' + str(x_button[i] + 16) + ' </X>\r\n')
out_xml( '\t<Y> ' + str(y_button[i] + 246) + ' </Y>\r\n')
out_xml( '\t<Size> 14 </Size>\r\n')
out_xml( '\t<Width>220</Width>\r\n')
out_xml( '\t<Font> KanitMediumTTF </Font>\r\n')
out_xml( '\t<Color> 0x6F5F51 </Color>\r\n')
out_xml( '\t<State> showthaiText </State>\r\n')
out_xml( '\t<Value> $' + product_code[i] + '.description </Value>\r\n')
out_xml( '\t</Text>\r\n')
out_xml( '\t<Text>\r\n')
out_xml( '\t<X> ' + str(x_button[i] + 16) + ' </X>\r\n')
out_xml( '\t<Y> ' + str(y_button[i] + 190) + ' </Y>\r\n')
out_xml( '\t<Size> 22 </Size>\r\n')
out_xml( '\t<Width>220</Width>\r\n')
out_xml( '\t<Mode> "multi2" </Mode>\r\n')
out_xml( '\t<Font> KanitMediumTTF </Font>\r\n')
out_xml( '\t<Color> 0x322B26 </Color>\r\n')
out_xml( '\t<State> showengText </State>\r\n')
out_xml( '\t<Value> $' + product_code[i] + '.NameE </Value>\r\n')
out_xml( '\t</Text>\r\n')
out_xml( '\t<Text>\r\n')
out_xml( '\t<X> ' + str(x_button[i] + 16) + ' </X>\r\n')
out_xml( '\t<Y> ' + str(y_button[i] + 246) + ' </Y>\r\n')
out_xml( '\t<Size> 14 </Size>\r\n')
out_xml( '\t<Width>220</Width>\r\n')
out_xml( '\t<Font> KanitMediumTTF </Font>\r\n')
out_xml( '\t<Color> 0x6F5F51 </Color>\r\n')
out_xml( '\t<State> showengText </State>\r\n')
out_xml( '\t<Value> $' + product_code[i] + '.descriptionE </Value>\r\n')
out_xml( '\t</Text>\r\n')
out_xml('</FrameScroll>\r\n')

106
inter/sgp/xml/menu_head.py Normal file
View file

@ -0,0 +1,106 @@
RoadShow = False
default_dir = 'ROOT/taobin_project/image/page_drink/'
default_dir2 = 'ROOT/taobin_project/image/page_drink_select/'
default_dir_press = 'ROOT/taobin_project/image/page_drink_press/'
default_dir_disable = 'ROOT/taobin_project/image/page_drink_disable/'
new_default_dir = 'ROOT/taobin_project/inter/aus/image/page_drink_n/'
new_default_dir2 = 'ROOT/taobin_project/inter/aus/image/page_drink_picture2_n/'
new_default_dir_press = 'ROOT/taobin_project/inter/aus/image/page_drink_press_n/'
new_default_dir_disable = 'ROOT/taobin_project/inter/aus/image/page_drink_disable_n2/'
menu_count = 0
x1 = 44
x2 = 301
x3 = 558
x4 = 815
ystep = 899 - 571
y1 = 20
y2 = y1 + ystep*1
y3 = y1 + ystep*2
y4 = y1 + ystep*3
y5 = y1 + ystep*4
y6 = y1 + ystep*5
y7 = y1 + ystep*6
x_button = [
x1,
x2,
x3,
x4,
x1,
x2,
x3,
x4,
x1,
x2,
x3,
x4,
x1,
x2,
x3,
x4,
x1,
x2,
x3,
x4,
x1,
x2,
x3,
x4,
x1,
x2,
x3,
x4
]
y_button = [
y1,
y1,
y1,
y1,
y2,
y2,
y2,
y2,
y3,
y3,
y3,
y3,
y4,
y4,
y4,
y4,
y5,
y5,
y5,
y5,
y6,
y6,
y6,
y6,
y7,
y7,
y7,
y7
]

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,619 @@
if "v2" in param:
def GenMenuProductCodeBlock( str_hot_product_code, str_cold_product_code, str_blend_product_code):
print(" size " + str( len(spl)) + " img=" + spl[ idx_img][1] )
out_xml( '\t; ==================> Len = ' + str(len(spl)) + '\r\n')
menu_img = spl[ idx_img][1]
out_xml( '\t; '+ str_hot_product_code + ' ' + str_cold_product_code + ' ' + str_blend_product_code+ ' \r\n')
out_xml( '<Block>\r\n')
out_xml('\t<MarginLeft> 33 </MarginLeft>\r\n')
out_xml('\t<MarginTop> 22 </MarginTop>\r\n')
out_xml('\t<Width> 225 </Width>\r\n')
out_xml('\t<Height> 296 </Height>\r\n')
str_con = ""
str_con_var = ""
#print("#########################################################################################################################")
#print( str( spl))
#print("#########################################################################################################################")
if str_hot_product_code != '-':
str_con += str_hot_product_code + '.Button,'
if str_cold_product_code != '-':
str_con += str_cold_product_code + '.Button,'
if str_blend_product_code != '-':
str_con += str_blend_product_code + '.Button,'
if str_hot_product_code != '-':
str_con_var += str_hot_product_code + '-'
if str_cold_product_code != '-':
str_con_var += str_cold_product_code + '-'
if str_blend_product_code != '-':
str_con_var += str_blend_product_code + '-'
str_con_var = str_con_var.replace("-", "")
if touch_less_gen == True:
str_con += "Disable=Invisible,"
str_con += "$Sum" + str_con_var
out_xml( '\t<State> Flag( '+ str_con + ') </State> \r\n')
pd_code_1 = str_hot_product_code
pd_stage1 = '$' + str_hot_product_code + '.Button'
if str_hot_product_code == "-" or len(str_hot_product_code) == 0 :
pd_code_1 = pd_code_available
pd_stage1 = '"Disable2"'
pd_code_2 = str_cold_product_code
pd_stage2 = '$' + str_cold_product_code + '.Button'
if str_cold_product_code == "-" or len(str_cold_product_code) == 0:
pd_code_2 = pd_code_available
pd_stage2 = '"Disable2"'
pd_code_3 = str_blend_product_code
pd_stage3 = '$' + str_blend_product_code + '.Button'
if str_blend_product_code == "-" or len(str_blend_product_code) == 0:
pd_code_3 = pd_code_available
pd_stage3 = '"Disable2"'
out_xml( '\t<Button>\r\n')
out_xml( '\t<State> $Sum' + str_con_var +' </State> \r\n')
out_xml( '\t<Filename> "' + new_default_dir + '/'+ menu_img +'" </Filename>\r\n')
out_xml( '\t<FilenamePress> "' + new_default_dir_press + '/'+ menu_img +'" </FilenamePress>\r\n')
out_xml( '\t<FilenameDisable> "' + new_default_dir_disable + '/'+ menu_img +'" </FilenameDisable>\r\n')
out_xml( '\t<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>\r\n')
out_xml( '\t<Volume> SoundVolume </Volume>\r\n')
out_xml( '\t<EventOnClick> \r\n')
# Default
#out_xml( '\t\tVar NameDrink = "' + spl[ idx_of_eng_des].replace("\\n", " ") + '"\r\n')
#out_xml( '\t\tVar NameDrinkTH = "' + spl[ idx_of_eng].replace("\\n", " ") + '"\r\n')
#out_xml( '\t\tVar DrinkDescriptionTH = "' + spl[ idx_of_thai].replace("\\n", " ") + '"\r\n')
#out_xml( '\t\tVar DrinkDescription = "' + spl[ idx_of_thai_des].replace("\\n", " ") + '"\r\n')
out_xml( '\t\tVar PictureDrink = "' + new_default_dir2 + '" + \"' + menu_img + '\"\r\n')
out_xml( '\t\tVar OpenFromXML = CurrentXMLFileName2\r\n')
out_xml( '\t\tVar PriceD1 = $' + str_hot_product_code + '.Price\r\n')
out_xml( '\t\tVar PriceD2 = $' + str_cold_product_code + '.Price\r\n')
out_xml( '\t\tVar PriceD3 = $' + str_blend_product_code + '.Price\r\n')
out_xml( '\t\tVar PD_CODE1 = "' + pd_code_1 + '"\r\n')
out_xml( '\t\tVar PD_CODE2 = "' + pd_code_2 + '"\r\n')
out_xml( '\t\tVar PD_CODE3 = "' + pd_code_3 + '"\r\n')
out_xml( '\t\t; begin lang \r\n')
for x in range( max_can_have_lang):
if x < len( spl[ idx_name]):
out_xml( '\t\tVar aliasName['+ str(x) +'] = "'+ spl[ idx_name][ x + 1]+'"\r\n')
out_xml( '\t\tVar aliasDesc['+ str(x) +'] = "'+ spl[ idx_desc][ x + 1]+'"\r\n')
for x in range( max_can_have_lang):
out_xml( '\t\tVar NameLang[0]['+ str(x) +'] = "'+ get_name_lang( pd_code_1 , x)+'"\r\n')
for x in range( max_can_have_lang):
out_xml( '\t\tVar DescLang[0]['+ str(x) +'] = "'+ get_desc_lang( pd_code_1 , x)+'"\r\n')
for x in range( max_can_have_lang):
out_xml( '\t\tVar NameLang[1]['+ str(x) +'] = "'+ get_name_lang( pd_code_2 , x)+'"\r\n')
for x in range( max_can_have_lang):
out_xml( '\t\tVar DescLang[1]['+ str(x) +'] = "'+ get_desc_lang( pd_code_2 , x)+'"\r\n')
for x in range( max_can_have_lang):
out_xml( '\t\tVar NameLang[2]['+ str(x) +'] = "'+ get_name_lang( pd_code_3 , x)+'"\r\n')
for x in range( max_can_have_lang):
out_xml( '\t\tVar DescLang[2]['+ str(x) +'] = "'+ get_desc_lang( pd_code_3 , x)+'"\r\n')
out_xml( '\t\t; end lang \r\n')
out_xml( '\t\tVar PD_STAGE_1 = ' + pd_stage1 + '\r\n')
out_xml( '\t\tVar PD_STAGE_2 = ' + pd_stage2 + '\r\n')
out_xml( '\t\tVar PD_STAGE_3 = ' + pd_stage3 + '\r\n')
out_xml( '\t\tVar SelectCountDrinkType = 0\r\n')
out_xml( '\t\tVar DefaultDrinkType = 0\r\n')
out_xml( '\t\tIf PD_STAGE_1 = "Enable" Then\r\n')
out_xml( '\t\t\tVar SelectCountDrinkType = SelectCountDrinkType + 1\r\n')
out_xml( '\t\t\tVar DefaultDrinkType = 1\r\n')
out_xml( '\t\tEndIf\r\n')
out_xml( '\t\tIf PD_STAGE_2 = "Enable" Then\r\n')
out_xml( '\t\t\tVar SelectCountDrinkType = SelectCountDrinkType + 1\r\n')
out_xml( '\t\t\tVar DefaultDrinkType = 2\r\n')
out_xml( '\t\tEndIf\r\n')
out_xml( '\t\tIf PD_STAGE_3 = "Enable" Then\r\n')
out_xml( '\t\t\tVar SelectCountDrinkType = SelectCountDrinkType + 1\r\n')
out_xml( '\t\t\tVar DefaultDrinkType = 3\r\n')
out_xml( '\t\tEndIf\r\n')
out_xml( '\t\tIf PD_STAGE_2 = "Enable" Then\r\n')
#out_xml( '\t\t\tVar PD_STAGE_2 = "Enable"\r\n')
out_xml( '\t\t\tTopping "Load" "'+ str_cold_product_code +'"\r\n')
out_xml( '\t\tElse\r\n')
out_xml( '\t\t\tIf PD_STAGE_1 = "Enable" Then\r\n')
#out_xml( '\t\t\t\tVar PD_STAGE_1 = "Enable"\r\n')
out_xml( '\t\t\tTopping "Load" "'+ str_hot_product_code +'"\r\n')
out_xml( '\t\t\tElse\r\n')
#out_xml( '\t\t\t\tVar PD_STAGE_3 = "Enable"\r\n')
out_xml( '\t\t\tTopping "Load" "'+ str_blend_product_code +'"\r\n')
out_xml( '\t\t\tEndIf\r\n')
out_xml( '\t\tEndIf\r\n')
#out_xml( '\t\tVar menu_name_eng_hot = $' + pd_code_1 + '.NameE\r\n')
#out_xml( '\t\tVar menu_desc_eng_hot = $' + pd_code_1 + '.descriptionE\r\n')
#out_xml( '\t\tVar menu_name_thai_hot = $' + pd_code_1 + '.Name\r\n')
#out_xml( '\t\tVar menu_desc_thai_hot = $' + pd_code_1 + '.description\r\n')
#out_xml( '\t\t\r\n')
#out_xml( '\t\tVar menu_name_eng_cold = $' + pd_code_2 + '.NameE\r\n')
#out_xml( '\t\tVar menu_desc_eng_cold = $' + pd_code_2 + '.descriptionE\r\n')
#out_xml( '\t\tVar menu_name_thai_cold = $' + pd_code_2 + '.Name\r\n')
#out_xml( '\t\tVar menu_desc_thai_cold = $' + pd_code_2 + '.description\r\n')
#out_xml( '\t\t\r\n')
#out_xml( '\t\tVar menu_name_eng_blender = $' + pd_code_3 + '.NameE\r\n')
#out_xml( '\t\tVar menu_desc_eng_blender = $' + pd_code_3 + '.descriptionE\r\n')
#out_xml( '\t\tVar menu_name_thai_blender = $' + pd_code_3 + '.Name\r\n')
#out_xml( '\t\tVar menu_desc_thai_blender = $' + pd_code_3 + '.description\r\n')
out_xml( '\t\t\r\n')
out_xml( '\t\tDEBUGVAR PD_STAGE_1\r\n')
out_xml( '\t\tDEBUGVAR PD_STAGE_2\r\n')
out_xml( '\t\tDEBUGVAR PD_STAGE_3\r\n')
out_xml( '\t\tVar SelectDrinkType = 0\r\n')
out_xml( '\t\t\r\n')
out_xml( '\t\t\r\n')
out_xml( '\t\tOpen "ROOT/taobin_project/xml/page_topping_select6.lxml"\r\n')
out_xml( '\t\t\r\n')
out_xml( '\t</EventOnClick>\r\n')
out_xml( '\t</Button>\r\n')
out_xml( '\t<Text>\r\n')
out_xml( '\t<X> 16 </X>\r\n')
out_xml( '\t<Y> 164 </Y>\r\n')
out_xml( '\t<Size> 22 </Size>\r\n')
out_xml( '\t<Width>222</Width>\r\n')
out_xml( '\t<Mode> "multi2" </Mode>\r\n')
out_xml( '\t<Font> KanitMediumTTF </Font>\r\n')
out_xml( '\t<Color> 0x322B26 </Color>\r\n')
out_xml( '\t<LanguageGroup>\r\n')
out_xml( '\t\t<LanguageSlot1>' + spl[ idx_name][ idx_lang_eng] + '</LanguageSlot1>\r\n')
out_xml( '\t\t<LanguageSlot2>' + spl[ idx_name][ idx_lang_thai] + '</LanguageSlot2>\r\n')
out_xml( '\t\t<LanguageSlot3>' + spl[ idx_name][ idx_lang_eng] + '</LanguageSlot3>\r\n')
out_xml( '\t\t<LanguageSlot4>' + spl[ idx_name][ idx_lang_thai] + '</LanguageSlot4>\r\n')
out_xml( '\t\t<LanguageSlot5>' + spl[ idx_name][ idx_lang_malay] + '</LanguageSlot5>\r\n')
out_xml( '\t\t<LanguageSlot6>' + spl[ idx_name][ idx_lang_thai] + '</LanguageSlot6>\r\n')
out_xml( '\t</LanguageGroup>\r\n')
out_xml( '\t</Text>\r\n')
out_xml( '\t<Text>\r\n')
out_xml( '\t<X> 16 </X>\r\n')
out_xml( '\t<Y> 220 </Y>\r\n')
out_xml( '\t<Size> 14 </Size>\r\n')
out_xml( '\t<Width>222</Width>\r\n')
out_xml( '\t<Font> KanitMediumTTF </Font>\r\n')
out_xml( '\t<Color> 0x6F5F51 </Color>\r\n')
#out_xml( '\t<State> showthaiText </State>\r\n')
out_xml( '\t<LanguageGroup>\r\n')
out_xml( '\t\t<LanguageSlot1>' + spl[ idx_desc][ idx_lang_eng] + '</LanguageSlot1>\r\n')
out_xml( '\t\t<LanguageSlot2>' + spl[ idx_desc][ idx_lang_thai] + '</LanguageSlot2>\r\n')
out_xml( '\t\t<LanguageSlot3>' + spl[ idx_desc][ idx_lang_eng] + '</LanguageSlot3>\r\n')
out_xml( '\t\t<LanguageSlot4>' + spl[ idx_desc][ idx_lang_thai] + '</LanguageSlot4>\r\n')
out_xml( '\t\t<LanguageSlot5>' + spl[ idx_desc][ idx_lang_malay] + '</LanguageSlot5>\r\n')
out_xml( '\t\t<LanguageSlot6>' + spl[ idx_desc][ idx_lang_thai] + '</LanguageSlot6>\r\n')
out_xml( '\t</LanguageGroup>\r\n')
out_xml( '\t</Text>\r\n')
out_xml( '\t<Image>\r\n')
out_xml( '\t<X> 16 </X>\r\n')
out_xml( '\t<Y> 264 </Y>\r\n')
out_xml( '\t<Filename> Var( DirImage2 + "option_deactive.png" ) </Filename>\r\n')
out_xml( '\t</Image>\r\n')
ice_tab_hot_show = True
shw = "$" + str_hot_product_code + ".Button"
if str_hot_product_code == "-" :
shw = '"Invisible"'
ice_tab_hot_show = False
if len(str_hot_product_code) == 0 :
shw = '"Invisible"'
ice_tab_hot_show = False
out_xml( '\t<Image>\r\n')
out_xml( '\t<X> 16 </X>\r\n')
out_xml( '\t<Y> 264 </Y>\r\n')
out_xml( '\t<State> ' + shw + ' </State>\r\n')
out_xml( '\t<Filename> Var( DirImage2 + "hot.png" ) </Filename>\r\n')
out_xml( '\t<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>\r\n')
out_xml( '\t</Image>\r\n')
out_xml( '\t<Text>\r\n')
out_xml( '\t<X> TextPriceMenuHotX </X>\r\n')
out_xml( '\t<Y> TextPriceMenuY </Y>\r\n')
out_xml( '\t<Size> TextPriceMenuSize </Size>\r\n')
out_xml( '\t<Width>220</Width>\r\n')
out_xml( '\t<Font> KanitMediumTTF </Font>\r\n')
out_xml( '\t<Color> 0x6F5F51 </Color>\r\n')
out_xml( '\t<ColorDisable> 0xEAE6E1 </ColorDisable>\r\n')
out_xml( '\t<State> ' + shw + ' </State>\r\n')
#out_xml( '\t<Value> Var( "฿" + $' + spl[ idx_hot_product_code] + '.Price ) </Value>\r\n')
if "inter" in param:
if "free" in param:
out_xml( '\t<Value> "Free" </Value>\r\n')
else:
out_xml( '\t<Value> StringFmt( $' + str_hot_product_code + '.Price , DisplayFormat, PreScaleConvertShow) </Value>; test\r\n')
else:
out_xml( '\t<Value> Var( "฿" + $' + str_hot_product_code + '.Price ) </Value>\r\n')
out_xml( '\t</Text>\r\n')
ice_tab_ice_show = True
shw = "$" + str_cold_product_code + ".Button"
if str_cold_product_code == "-" :
shw = '"Invisible"'
ice_tab_ice_show = False
if len(str_cold_product_code) == 0 :
shw = '"Invisible"'
ice_tab_ice_show = False
out_xml( '\t<Image>\r\n')
out_xml( '\t<X> 81 </X>\r\n')
out_xml( '\t<Y> 264 </Y>\r\n')
if pd_code_2 == "51-05-02-0016":
out_xml( '\t<Filename> Var( DirImage2 + "normal.png" ) </Filename>\r\n')
out_xml( '\t<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>\r\n')
else:
out_xml( '\t<Filename> Var( DirImage2 + "cold.png" ) </Filename>\r\n')
out_xml( '\t<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>\r\n')
out_xml( '\t<State> ' + shw + ' </State>\r\n')
out_xml( '\t</Image>\r\n')
out_xml( '\t<Text>\r\n')
out_xml( '\t<X> 113 </X>\r\n')
out_xml( '\t<Y> TextPriceMenuY </Y>\r\n')
out_xml( '\t<Size> TextPriceMenuSize </Size>\r\n')
out_xml( '\t<Width>220</Width>\r\n')
out_xml( '\t<Font> KanitMediumTTF </Font>\r\n')
out_xml( '\t<Color> 0x6F5F51 </Color>\r\n')
out_xml( '\t<ColorDisable> 0xEAE6E1 </ColorDisable>\r\n')
out_xml( '\t<State> ' + shw + ' </State>\r\n')
if "inter" in param:
if "free" in param:
out_xml( '\t<Value> "Free" </Value>\r\n')
else:
out_xml( '\t<Value> StringFmt( $' + str_cold_product_code + '.Price , DisplayFormat, PreScaleConvertShow) </Value>; test\r\n')
else:
out_xml( '\t<Value> Var( "฿" + $' + str_cold_product_code + '.Price ) </Value>\r\n')
out_xml( '\t</Text>\r\n')
ice_tab_blend_show = True
shw = "$" + str_blend_product_code + ".Button"
if str_blend_product_code == "-" :
shw = '"Invisible"'
ice_tab_blend_show = False
if len(str_blend_product_code) == 0 :
shw = '"Invisible"'
ice_tab_blend_show = False
out_xml( '\t<Image>\r\n')
out_xml( '\t<X> 146 </X>\r\n')
out_xml( '\t<Y> 264 </Y>\r\n')
out_xml( '\t<Filename> Var( DirImage2 + "blend.png" ) </Filename>\r\n')
out_xml( '\t<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>\r\n')
out_xml( '\t<State> ' + shw + ' </State>\r\n')
out_xml( '\t</Image>\r\n')
out_xml( '\t<Text>\r\n')
out_xml( '\t<X> TextPriceMenuBlendX </X>\r\n')
out_xml( '\t<Y> TextPriceMenuY </Y>\r\n')
out_xml( '\t<Size> TextPriceMenuSize </Size>\r\n')
out_xml( '\t<Width>220</Width>\r\n')
out_xml( '\t<Font> KanitRegularTTF </Font>\r\n')
#out_xml( '\t<Align> end </Align>\r\n')
out_xml( '\t<Color> 0x6F5F51 </Color>\r\n')
out_xml( '\t<ColorDisable> 0xEAE6E1 </ColorDisable>\r\n')
out_xml( '\t<State> ' + shw + ' </State>\r\n')
if "inter" in param:
if "free" in param:
out_xml( '\t<Value> " Free" </Value>\r\n')
else:
out_xml( '\t<Value> StringFmt( $' + str_blend_product_code + '.Price , DisplayFormat, PreScaleConvertShow) </Value>; test\r\n')
else:
out_xml( '\t<Value> Var( "฿" + $' + str_blend_product_code + '.Price ) </Value>\r\n')
out_xml( '\t</Text>\r\n')
out_xml( '\t<Image>\r\n')
out_xml( '\t<X> 81 </X>\r\n')
out_xml( '\t<Y> 264 </Y>\r\n')
out_xml( '\t<State> \r\n')
out_xml( '\t\teval( \r\n')
out_xml( '\t\tIf ICE_PROCESS_STATUS = 2 Then\r\n')
out_xml( '\t\t\r\n')
if ice_tab_hot_show == True:
#out_xml( '\t\t\tDEBUGVAR $Sum' + str_con_var +'\r\n')
out_xml( '\t\t\tIf $Sum' + str_con_var +' = "Disable" Then\r\n')
out_xml( '\t\t\t\tVar ice_tab_process_show = "Disable"\r\n')
out_xml( '\t\t\tElse\r\n')
out_xml( '\t\t\t\tVar ice_tab_process_show = "Enable"\r\n')
out_xml( '\t\t\tEndIf\r\n')
else:
out_xml( '\t\t\tVar ice_tab_process_show = "Invisible"\r\n')
out_xml( '\t\t\r\n')
out_xml( '\t\tElse\r\n')
out_xml( '\t\t\tVar ice_tab_process_show = "Invisible"\r\n')
out_xml( '\t\tEndIf\r\n')
out_xml( '\t\tVar return = ice_tab_process_show\r\n')
out_xml( '\t\t)\r\n')
out_xml( '\t</State>\r\n')
out_xml( '\t<Filename> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </Filename>\r\n')
out_xml( '\t<FilenameDisable> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </FilenameDisable>\r\n')
out_xml( '\t</Image>\r\n')
out_xml( '\t<Image>\r\n')
out_xml( '\t<X> 49 </X>\r\n')
out_xml( '\t<Y> 117 </Y>\r\n')
out_xml( '\t<State> \r\n')
out_xml( '\t\teval( \r\n')
out_xml( '\t\t\tIf $Sum' + str_con_var +' = "Disable" Then\r\n')
out_xml( '\t\t\t\tSTRCONTAIN "ERR" $' + pd_code_1 + '.TAG tag1_is_disable\r\n')
out_xml( '\t\t\t\tSTRCONTAIN "ERR" $' + pd_code_2 + '.TAG tag2_is_disable\r\n')
out_xml( '\t\t\t\tSTRCONTAIN "ERR" $' + pd_code_3 + '.TAG tag3_is_disable\r\n')
#out_xml( '\t\t\t\tDEBUGVAR $' + pd_code_1 + '.TAG\r\n')
#out_xml( '\t\t\t\tDEBUGVAR $' + pd_code_2 + '.TAG\r\n')
#out_xml( '\t\t\t\tDEBUGVAR $' + pd_code_3 + '.TAG\r\n')
out_xml( '\t\t\t\tVar return = "Invisible"\r\n')
out_xml( '\t\t\t\tIf tag1_is_disable = "true" Then\r\n')
out_xml( '\t\t\t\t\tVar return = "Enable"\r\n')
out_xml( '\t\t\t\tEndIf\r\n')
out_xml( '\t\t\t\tIf tag2_is_disable = "true" Then\r\n')
out_xml( '\t\t\t\t\tVar return = "Enable"\r\n')
out_xml( '\t\t\t\tEndIf\r\n')
out_xml( '\t\t\t\tIf tag3_is_disable = "true" Then\r\n')
out_xml( '\t\t\t\t\tVar return = "Enable"\r\n')
out_xml( '\t\t\t\tEndIf\r\n')
out_xml( '\t\t\tElse\r\n')
out_xml( '\t\t\t\t\tVar return = "Invisible"\r\n')
out_xml( '\t\t\tEndIf\r\n')
out_xml( '\t\t)\r\n')
out_xml( '\t</State>\r\n')
out_xml( '\t<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>\r\n')
out_xml( '\t</Image>\r\n')
out_xml( '\t<Text>\r\n')
out_xml( '\t<X> 84 </X>\r\n')
out_xml( '\t<Y> 266 </Y>\r\n')
out_xml( '\t<Size> 10 </Size>\r\n')
out_xml( '\t<Font> OpunMediumTTF </Font>\r\n')
out_xml( '\t<Color> 0xDE794E </Color>\r\n')
out_xml( '\t<State> ice_tab_process_show </State>\r\n')
out_xml( '\t<Value> ice_show_open </Value>\r\n')
out_xml( '\t</Text>\r\n')
out_xml( '\t<Text>\r\n')
out_xml( '\t<X> 48 </X>\r\n')
out_xml( '\t<Y> 116 </Y>\r\n')
out_xml( '\t<Size> 32 </Size>\r\n')
out_xml( '\t<Width>128</Width>\r\n')
out_xml( '\t<Height>64</Height>\r\n')
out_xml( '\t<Mode> "disable-show" </Mode>\r\n')
out_xml( '\t<State> $Sum' + str_con_var +' </State> \r\n')
out_xml( '\t<Language>\r\n')
out_xml( '\t\t<ID> 000013 </ID> \r\n')
out_xml( '\t</Language>\r\n')
out_xml( '\t<Align> center-vertical-horizontal </Align>\r\n')
out_xml( '\t</Text>\r\n')
out_xml( '</Block>\r\n')
def GenMenuBlock( idx_hot_product_code, idx_cold_product_code, idx_blend_product_code):
GenMenuProductCodeBlock( spl[ idx_name][ idx_hot_product_code], spl[ idx_name][ idx_cold_product_code] , spl[ idx_name][ idx_blend_product_code] )
idx_lang_malay = 5
idx_lang_japan = 4
idx_lang_china = 3
idx_lang_thai = 2
idx_lang_eng = 1
idx_name = 0
idx_desc = 1
idx_img = 2
idx_hot_product_code = 7
idx_cold_product_code = idx_hot_product_code + 1
idx_blend_product_code = idx_cold_product_code + 1
#
idx_hot_product_code2 = idx_blend_product_code + 1
idx_cold_product_code2 = idx_hot_product_code2 + 1
idx_blend_product_code2 = idx_cold_product_code2 + 1
idx_of_eng = 2
idx_of_eng_des = 3
idx_of_thai = 0
idx_of_thai_des = 1
print ("--------------------------------------------------------------------------------------------------------------------------")
if current_file_name == "page_catalog_group_recommend.skt":
touch_less_gen = True
else:
touch_less_gen = False
out_xml('<FrameScroll> \r\n')
if touch_less_gen == True:
out_xml('<Max> 16 </Max>\r\n')
out_xml('<X> 10 </X>\r\n')
out_xml('<Y> 497 </Y>\r\n')
out_xml('<Width> 1080 </Width>\r\n')
out_xml('<ScrollHeight> "auto" </ScrollHeight>\r\n')
out_xml('<Scroll> "Vertical" </Scroll>\r\n')
out_xml('<Column> 4 </Column>\r\n')
out_xml('<Script>\r\n')
print("current_file_name " + current_file_name)
if touch_less_gen == False:
out_xml('\t Var block_index_override = 0\r\n')
out_xml('\t Var block_index_move = 0\r\n')
else:
out_xml('\t Var block_index_override = 0\r\n')
out_xml('\t Var block_index_move = 0\r\n')
#out_xml('\t Var block_index_override = 4\r\n')
#out_xml('\t Var block_index_move = 1\r\n')
#out_xml('\tIf Seeker = "curr" Then\r\n')
#out_xml('\t\tVar TouchLessStg = "Enable"\r\n')
#out_xml('\t\tVar TouchLessQrStg = "Enable"\r\n')
#out_xml('\tElse\r\n')
#out_xml('\t\tVar TouchLessStg = "Disable"\r\n')
#out_xml('\t\tVar TouchLessQrStg = "Invisible"\r\n')
#out_xml('\tEndIf\r\n')
#out_xml('\tIf WebAppShow = "Invisible" Then\r\n')
#out_xml('\t\tVar TouchLessStg = "Disable"\r\n')
#out_xml('\t\tVar TouchLessQrStg = "Invisible"\r\n')
#out_xml('\tEndIf\r\n')
out_xml('</Script>\r\n')
pd_code_available = '##-##-##-####'
count = 0
count_test = 0
#if touch_less_gen == True:
# out_xml( '<Block>\r\n')
# out_xml('\t<MarginLeft> 33 </MarginLeft>\r\n')
# out_xml('\t<MarginTop> 22 </MarginTop>\r\n')
# out_xml('\t<Width> 225 </Width>\r\n')
# out_xml('\t<Height> 296 </Height>\r\n')
# out_xml('\t<State> "Enable" </State> \r\n')
# out_xml('\t<Image>\r\n')
# out_xml('\t<X> 0 </X>\r\n')
# out_xml('\t<Y> 0 </Y>\r\n')
# out_xml('\t<State> TouchLessStg </State> \r\n')
# out_xml('\t<Filename> Var( DirImage + "/touch_less_order.png" )</Filename>\r\n')
# out_xml('\t<FilenameDisable> Var( DirImage + "/touch_less_order_db.png" )</FilenameDisable>\r\n')
# out_xml('\t</Image>\r\n')
# out_xml('\t<QRCode>\r\n')
# out_xml('\t<X> 40 </X>\r\n')
# out_xml('\t<Y> 153 </Y>\r\n')
# out_xml('\t<Width> 150 </Width>\r\n')
# out_xml('\t<Color> "0xeae6e1" </Color>\r\n')
# out_xml('\t<QRColor> "0x513C2F" </Color>\r\n')
# out_xml('\t<Height> 150 </Height>\r\n')
#
# #out_xml('\t<State> TouchLessQrStg </State>\r\n')
# #out_xml('\t<Service> "Herr" </Service>\r\n')
# out_xml('\t<State> TouchLessQrStg </State>\r\n')
# out_xml('\t<Service> testservice </Service>\r\n')
#
# out_xml('\t</QRCode>\r\n')
# out_xml('</Block>\r\n')
out_xml(';dummy_layout.inc\r\n')
#
#out_xml('; menu_new_list '+ str(len(menu_new_list))+'\r\n')
for spl in menu_new_list:
#product_code = s
#if spl[ idx_of_eng] == "IGNORE":
# continue
if len(spl) == 1:
if spl[0].startswith("TAG"):
out_xml( '\t;' + spl[0] + '\r\n')
print("Have TAGESP")
continue
print( '==>\t; '+ spl[ idx_name][ idx_hot_product_code] + ' ' + spl[ idx_name][ idx_cold_product_code] + ' ' + spl[ idx_name][ idx_blend_product_code] + ' \r\n')
if "," in spl[ idx_name][ idx_hot_product_code] and "," in spl[ idx_name][ idx_cold_product_code] and "," in spl[ idx_name][ idx_blend_product_code]:
#print(" hot = " + spl[ idx_name][ idx_hot_product_code])
hot_pd = spl[ idx_name][ idx_hot_product_code].split(',')
cold_pd = spl[ idx_name][ idx_cold_product_code].split(',')
blend_pd = spl[ idx_name][ idx_blend_product_code].split(',')
#print(' size = ' + str( len( hot_pd)) + ' size = ' + str( len( cold_pd)) + ' size = ' + str( len( blend_pd)) + '\r\n')
list_size = len( hot_pd)
for idx in range( list_size):
print(' hot = ' + hot_pd[ idx] + ' cold = ' + cold_pd[ idx]+ ' blend_pd = ' + blend_pd[ idx] + '\r\n')
if hot_pd[ idx] == '-' and cold_pd[ idx] == '-' and blend_pd[ idx] == '-':
print("\t\t==> ignore ")
else:
print("\t\t==> gen ")
GenMenuProductCodeBlock( hot_pd[ idx], cold_pd[ idx], blend_pd[ idx] )
else:
GenMenuBlock( idx_hot_product_code, idx_cold_product_code, idx_blend_product_code)
#out_xml( '\t; parallel '+ spl[ idx_name][ idx_hot_product_code2] + ' ' + spl[ idx_name][ idx_cold_product_code2] + ' ' + spl[ idx_name][ idx_blend_product_code2] + ' \r\n')
#print("++++++++++++++++++++++++++++++ " + str( count_test) )
#count_test = count_test + 1
#if count_test > 5 :
# break
if len( spl[idx_name] ) >= 11:
if spl[ idx_name][ idx_hot_product_code2] != "-" or spl[ idx_name][ idx_cold_product_code2] != "-" or spl[ idx_name][ idx_blend_product_code2] != "-":
GenMenuBlock( idx_hot_product_code2, idx_cold_product_code2, idx_blend_product_code2)
out_xml('</FrameScroll>\r\n')
out_xml('; Cart\r\n')
out_xml('<Button>\r\n')
out_xml('<X> 915 </X>\r\n')
out_xml('<Y> 1769 </Y>\r\n')
out_xml('<State> showCart </State>\r\n')
out_xml('<Filename> cart_image_bn </Filename>\r\n')
out_xml('<FilenamePress> cart_image_bp </FilenamePress>\r\n')
out_xml('<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>\r\n')
out_xml('<Volume> SoundVolume </Volume>\r\n')
out_xml('<EventClick> \r\n')
out_xml('\tOpen "ROOT/taobin_project/xml/page_payment_multi.xml"\r\n')
out_xml('</EventClick>\r\n')
out_xml('</Button>\r\n')
# if "v2" in param:

75
inter/sgp/xml/menu_tab.py Normal file
View file

@ -0,0 +1,75 @@
out_xml(' ; bn_bestseller
<Button>
<X> 92 </X>
<Y> 418 </Y>
<State> "PressForever" </State>
<Filename> Var( DirName + "/bn_bestseller.png" )</Filename>
<FilenamePress> Var( DirName + "/bp_bestseller.png") </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Open "ROOT/taobin_project/xml/page_catalog_choose_drink1.xml"
</EventClick>
</Button>
<Button>
<X> 243 </X>
<Y> 418 </Y>
<Filename> Var( DirName + "/bn_coffee.png") </Filename>
<FilenamePress> Var( DirName + "/bp_coffee.png") </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Open "ROOT/taobin_project/xml/page_catalog_choose_drink2.xml"
</EventClick>
</Button>
<Button>
<X> 397 </X>
<Y> 418 </Y>
<Filename> Var( DirName + "/bn_tea.png") </Filename>
<FilenamePress> Var( DirName + "/bp_tea.png") </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Open "ROOT/taobin_project/xml/page_catalog_choose_drink3.xml"
</EventClick>
</Button>
<Button>
<X> 545 </X>
<Y> 418 </Y>
<Filename> Var( DirName + "/bn_cho_ca.png") </Filename>
<FilenamePress> Var( DirName + "/bp_cho_ca.png") </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Open "ROOT/taobin_project/xml/page_catalog_choose_drink4.xml"
</EventClick>
</Button>
<Button>
<X> 696 </X>
<Y> 418 </Y>
<Filename> Var( DirName + "/bn_fruit.png") </Filename>
<FilenamePress> Var( DirName + "/bp_fruit.png") </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Open "ROOT/taobin_project/xml/page_catalog_choose_drink5.xml"
</EventClick>
</Button>
<Button>
<X> 847 </X>
<Y> 418 </Y>
<Filename> Var( DirName + "/bn_sodada.png") </Filename>
<FilenamePress> Var( DirName + "/bp_sodada.png") </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Open "ROOT/taobin_project/xml/page_catalog_choose_drink6.xml"
</EventClick>
</Button>

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,60 @@
<?hurr
#include=menu_head.py
echo param
?>
<Popup>
<Cache> "Enable" </Cache>
<Width> 1080 </Width>
<Height> 1920 </Height>
;<Background> "0xeae6e1" </Background>
<Volume> SoundVolume </Volume>
<EventOpen>
; On open
<?hurr
#include=menu_catalog_default_init.py
?>
If AppFastEnable = "true" Then
Var Menu11Selected = "PressForever"
Var Menu7Selected = "Invisible"
Else
Var Menu11Selected = "Invisible"
Var Menu7Selected = "PressForever"
EndIf
SAVELOG PreviseXMLFileName2
Var Timeout = 0
<?hurr
#include=menu_catalog_new_menu.py
?>
</EventOpen>
<?hurr
#include=menu_catalog_new.py
?>
<?hurr
#include=menu_new_layout_gen_v2.py
?>
<?hurr
#include=menu_new_layout_gen.py
?>
</Popup>

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,50 @@
<?hurr
#include=menu_head.py
?>
<Popup>
<Cache> "Enable" </Cache>
<Width> 1080 </Width>
<Height> 1920 </Height>
;<Background> "0xeae6e1" </Background>
<Volume> SoundVolume </Volume>
<EventOpen>
; On open
<?hurr
#include=menu_catalog_default_init.xml
?>
Var Menu8Selected = "PressForever"
SAVELOG PreviseXMLFileName2
Var Timeout = 0
<?hurr
#include=menu_catalog_new_menu.xml
?>
</EventOpen>
<?hurr
#include=menu_catalog_new.py
?>
<?hurr
#include=menu_new_layout_gen_v2.py
?>
<?hurr
#include=menu_new_layout_gen.py
?>
</Popup>

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,51 @@
<?hurr
#include=menu_head.py
?>
<Popup>
<Cache> "Enable" </Cache>
<Width> 1080 </Width>
<Height> 1920 </Height>
;<Background> "0xeae6e1" </Background>
<Volume> SoundVolume </Volume>
<EventOpen>
; On open
<?hurr
#include=menu_catalog_default_init.py
?>
Var Menu2Selected = "PressForever"
SAVELOG PreviseXMLFileName2
Var Timeout = 0
<?hurr
#include=menu_catalog_new_menu.py
?>
</EventOpen>
<?hurr
#include=menu_catalog_new.py
?>
<?hurr
#include=menu_new_layout_gen_v2.py
?>
<?hurr
#include=menu_new_layout_gen.py
?>
</Popup>

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,60 @@
<?hurr
#include=menu_head.py
touch_less_gen = False
?>
<Popup>
<Cache> "Enable" </Cache>
<Width> 1080 </Width>
<Height> 1920 </Height>
;<Background> "0xeae6e1" </Background>
<Volume> SoundVolume </Volume>
<EventOpen>
; On open
<?hurr
#include=menu_catalog_default_init.py
?>
; protein
If AppFastEnable = "true" Then
Var Menu11Selected = "PressForever"
Var Menu7Selected = "Invisible"
Var Menu21Selected = "Invisible"
Else
Var Menu11Selected = "Invisible"
Var Menu7Selected = "Invisible"
Var Menu21Selected = "PressForever"
EndIf
SAVELOG PreviseXMLFileName2
Var Timeout = 0
<?hurr
#include=menu_catalog_new_menu.py
?>
</EventOpen>
<?hurr
#include=menu_catalog_new.py
?>
<?hurr
#include=menu_new_layout_gen_v2.py
?>
<?hurr
#include=menu_new_layout_gen.py
?>
</Popup>

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,47 @@
<?hurr
#include=menu_head.py
touch_less_gen = False
?>
<Popup>
<Cache> "Enable" </Cache>
<Width> 1080 </Width>
<Height> 1920 </Height>
;<Background> "0xeae6e1" </Background>
<Volume> SoundVolume </Volume>
<EventOpen>
; On open
<?hurr
#include=menu_catalog_default_init.py
?>
Var Menu22Selected = "PressForever"
SAVELOG PreviseXMLFileName2
Var Timeout = 0
<?hurr
#include=menu_catalog_new_menu.py
?>
</EventOpen>
<?hurr
#include=menu_catalog_new.py
?>
<?hurr
#include=menu_new_layout_gen_v2.py
?>
<?hurr
#include=menu_new_layout_gen.py
?>
</Popup>

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,55 @@
<?hurr
#include=menu_head.py
?>
<Popup>
<Cache> "Enable" </Cache>
<Width> 1080 </Width>
<Height> 1920 </Height>
;<Background> "0xeae6e1" </Background>
<Volume> SoundVolume </Volume>
<EventOpen>
; On open
<?hurr
#include=menu_catalog_default_init.py
?>
Var Menu4Selected = "PressForever"
SAVELOG PreviseXMLFileName2
Var Timeout = 0
<?hurr
#include=menu_catalog_new_menu.py
?>
</EventOpen>
<?hurr
#include=menu_catalog_new.py
?>
<?hurr
#include=menu_new_layout_gen_v2.py
?>
<?hurr
#include=menu_new_layout_gen.py
?>
<?hurr
#include=./event/dummy_layout_promotion.py
?>
<EventUnitTest4>
RefreshAll
</EventUnitTest4>
</Popup>

View file

@ -0,0 +1,509 @@
<Popup>
<Cache> "Enable" </Cache>
<Width> 1080 </Width>
<Height> 1920 </Height>
;<Background> "0xeae6e1" </Background>
<Volume> SoundVolume </Volume>
<EventOpen>
; On open
Var NextPage = "-"
DEBUGVAR ICE_PROCESS_STATUS
DEBUGVAR ICE_PROCESS_TXT
If show_eng = "true" Then
Var showthaiText = "Invisible"
Var showengText = "Enable"
Var DirImage = "ROOT/taobin_project/image/page3_en"
Var show_btp = "ROOT/taobin_project/image/page2/bn_thai_lang_press_2.png"
Var show_btn = "ROOT/taobin_project/image/page2/bn_thai_lang_2.png"
Var ice_tab_text = "Ice will be ready at "
Var text_unavailable = "UNAVAILABLE###size=16"
Else
Var showengText = "Invisible"
Var showthaiText = "Enable"
Var DirImage = "ROOT/taobin_project/image/page3"
Var show_btp = "ROOT/taobin_project/image/page2/bn_eng_lang_2.png"
Var show_btn = "ROOT/taobin_project/image/page2/bn_eng_lang_2.png"
Var ice_tab_text = "น้ำแข็งจะพร้อมเวลา "
Var text_unavailable = "หมด###size=32"
EndIf
If ICE_PROCESS_STATUS = 2 Then
Var ice_tab_process_show = "Enable"
Var ice_show_open = ice_tab_text + ICE_PROCESS_TXT
Else
Var ice_tab_process_show = "Invisible"
EndIf
; SpiralOnline
Var MenuVSelected2 = "Invisible"
Var Menu1Selected2 = "Invisible"
Var Menu2Selected2 = "Invisible"
Var Menu3Selected2 = "Invisible"
Var Menu4Selected2 = "Invisible"
Var Menu6Selected2 = "Invisible"
Var Menu7Selected2 = "Invisible"
Var MenuVSelected2 = "Invisible"
Var Menu11Selected2 = "Invisible"
Var Menu21Selected2 = "Invisible"
Var MenuVSelected2 = "Invisible"
If SpiralOnline = "true" Then
If Seeker = "curr" Then
Var MenuVSelected2 = "Enable"
EndIf
EndIf
; init default
Var Menu1Selected = "Enable"
Var Menu2Selected = "Enable"
Var Menu3Selected = "Enable"
Var Menu4Selected = "Enable"
; 5 fruit
Var Menu5Selected = "Invisible"
Var Menu6Selected = "Enable"
Var Menu7Selected = "Enable"
; 8 cocktail
Var Menu8Selected = "Invisible"
If CocktailShow = "true" Then
Var Menu7Selected = "Invisible"
Var Menu8Selected = "Enable"
EndIf
If AppFastEnable = "true" Then
Var Menu11Selected = "Enable"
Var Menu21Selected = "Invisible"
Var Menu7Selected = "Invisible"
Else
If MenuKidEnable = "true" Then
Var Menu11Selected = "Invisible"
Var Menu21Selected = "Enable"
Var Menu7Selected = "Invisible"
Else
Var Menu11Selected = "Invisible"
Var Menu21Selected = "Invisible"
Var Menu7Selected = "Enable"
EndIf
EndIf
If CocktailShow = "true" Then
Var Menu7Selected = "Invisible"
EndIf
If RecipeTag1 = "HealthTurnOn" Then
Var Menu22Selected = "Enable"
Else
Var Menu22Selected = "Invisible"
EndIf
;
Var Timeout = 0
If show_eng = "true" Then
Var DirImage2 = "ROOT/taobin_project/image/drink_option_en/"
Var DirImageAlter = "ROOT/taobin_project/image/page3_2_en/"
Else
Var DirImage2 = "ROOT/taobin_project/image/drink_option/"
Var DirImageAlter = "ROOT/taobin_project/image/page3_2/"
EndIf
</EventOpen>
; notice enable heathy menu
<Image>
<X> 0 </X>
<Y> 380 </Y>
<Width> 1080 </Width>
<Height> 1540 </Height>
<Color> "0xeae6e1" </Color>
</Image>
<Timeout> 1000 </Timeout>
<EventTimeout>
;DEBUGVAR ICE_PROCESS_STATUS
If ICE_PROCESS_STATUS = 2 Then
Var ice_tab_process_show = "Enable"
Var ice_show_open = ice_tab_text + ICE_PROCESS_TXT
Else
Var ice_tab_process_show = "Invisible"
EndIf
If NextPage = "-" Then
Else
If CupOnArm = "true" Then
If Timeout > 9 Then
SAVELOG "COA9"
Open NextPage
EndIf
Else
If Timeout > 30 Then
SAVELOG "COA30"
Open NextPage
EndIf
EndIf
EndIf
If Timeout > 60 Then
SAVELOG "Timeout"
If Seeker = "next" Then
Open "ROOT/taobin_project/xml/page_brewing3Conti.xml"
Else
SAVELOG "Back"
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
EndIf
EndIf
If BrewCommand = "RefreshAll" Then
Var BrewCommand = "-"
Open CurrentXMLFileName2
EndIf
If Seeker = "curr" Then
If DoorCupPosition = "bottom" Then
; It normal
Var EmergencyStop = "false"
Else
Var EmergencyStop = "true"
;Open "ROOT/taobin_project/xml/page_back_to_error.xml"
EndIf
EndIf
If IgnoreNetCore = "true" Then
Else
;stop_now
If NETCORE_LOST_CNT > 120 Then
Var stop_now = "true"
Var MachineErrorDetailAll = "???"
SAVELOG "NETCORE_LOST_CNT"
Open "ROOT/taobin_project/xml/page_back_to_error.xml"
EndIf
EndIf
Var Timeout = Timeout + 1
TimerReset
</EventTimeout>
<EventLanguageOnChange>
DEBUGVAR LanguageShow
If LanguageShow = "ENG" Then
Var DirImage2 = "ROOT/taobin_project/image/drink_option_en/"
Var DirImageAlter = "ROOT/taobin_project/image/page3_2_en/"
EndIf
If LanguageShow = "THAI" Then
Var DirImage2 = "ROOT/taobin_project/image/drink_option/"
Var DirImageAlter = "ROOT/taobin_project/image/page3_2/"
EndIf
RefreshAll
</EventLanguageOnChange>
; under line
<Image>
<X> 0 </X>
<Y> 494 </Y>
<Filename> "ROOT/taobin_project/image/page3/tab_line_bottom.png" </Filename>
</Image>
; under line
<Image>
<X> 0 </X>
<Y> 358 </Y>
<Filename> "ROOT/taobin_project/image/page3/bg1.png" </Filename>
</Image>
; back
<Button>
<X> 19 </X>
<Y> 381 </Y>
<Filename> "ROOT/taobin_project/image/page2/bn_back_arrow_2.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page2/bn_back_arrow_2.png" </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
If SpiralOnline = "true" Then
If Seeker = "curr" Then
Open "ROOT/taobin_project/xml/page_catalog_with_vending.xml"
Else
Open "ROOT/taobin_project/xml/page_catalog.lxml"
EndIf
Else
Open "ROOT/taobin_project/xml/page_catalog.lxml"
EndIf
</EventClick>
</Button>
<LangSwitch>
<X> 1000 </X>
<Y> 381 </Y>
<Filename> show_btn </Filename>
<FilenamePress> show_btp </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
;
</EventClick>
</LangSwitch>
<ListView1>
<Width> 1080 </Width>
<Height> "auto" </Height>
<X> 0 </X>
<Y> 395 </Y>
<Row2>
<State>"Enable"</State>
<Width> 896 </Width>
<Height> 102 </Height>
<Button>
<Layout> "linear" </Layout>
<State> Menu1Selected </State>
<Filename> Var( DirImageAlter + "/bn_recommend2.png" )</Filename>
<FilenamePress> Var( DirImageAlter + "/bp_recommend2.png") </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
SAVELOG "Click rec"
Var NextPage = "-"
Open "ROOT/taobin_project/xml/page_catalog_group_recommend.lxml"
</EventClick>
</Button>
<Button>
<Layout> "linear" </Layout>
<State> Menu2Selected </State>
<Filename> Var( DirImageAlter + "/bn_coffee2.png") </Filename>
<FilenamePress> Var( DirImageAlter + "/bp_coffee2.png") </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var NextPage = "-"
Open "ROOT/taobin_project/xml/page_catalog_group_coffee.lxml"
</EventClick>
</Button>
<Button>
<Layout> "linear" </Layout>
<State> Menu3Selected </State>
<Filename> Var( DirImageAlter + "/bn_tea2.png") </Filename>
<FilenamePress> Var( DirImageAlter + "/bp_tea2.png") </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var NextPage = "-"
Open "ROOT/taobin_project/xml/page_catalog_group_tea.lxml"
</EventClick>
</Button>
<Button>
<Layout> "linear" </Layout>
<State> Menu4Selected </State>
<Filename> Var( DirImageAlter + "/bn_cho_ca2.png") </Filename>
<FilenamePress> Var( DirImageAlter + "/bp_cho_ca2.png") </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var NextPage = "-"
Open "ROOT/taobin_project/xml/page_catalog_group_milk.lxml"
</EventClick>
</Button>
<Button>
<Layout> "linear" </Layout>
<State> Menu7Selected </State>
<Filename> Var( DirImageAlter + "/bn_protein2.png") </Filename>
<FilenamePress> Var( DirImageAlter + "/bp_protein2.png") </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var NextPage = "-"
Open "ROOT/taobin_project/xml/page_catalog_group_whey.lxml"
</EventClick>
</Button>
<Button>
<Layout> "linear" </Layout>
<State> Menu11Selected </State>
<Filename> Var( DirImageAlter + "/bn_appfast2.png") </Filename>
<FilenamePress> Var( DirImageAlter + "/bp_appfast2.png") </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var NextPage = "-"
Open "ROOT/taobin_project/xml/page_catalog_group_appfast.lxml"
</EventClick>
</Button>
<Button>
<Layout> "linear" </Layout>
<State> Menu21Selected </State>
<Filename> Var( DirImageAlter + "/bn_forkid2.png") </Filename>
<FilenamePress> Var( DirImageAlter + "/bp_forkid2.png") </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var NextPage = "-"
Open "ROOT/taobin_project/xml/page_catalog_group_forkid.lxml"
</EventClick>
</Button>
<Button>
<Layout> "linear" </Layout>
<State> Menu22Selected </State>
<Filename> Var( DirImageAlter + "/bn_health.png") </Filename>
<FilenamePress> Var( DirImageAlter + "/bp_health.png") </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var NextPage = "-"
Open "ROOT/taobin_project/xml/page_catalog_group_health.lxml"
</EventClick>
</Button>
<Button>
<Layout> "linear" </Layout>
<State> Menu8Selected </State>
<Filename> Var( DirImageAlter + "/bn_cocktail.png") </Filename>
<FilenamePress> Var( DirImageAlter + "/bp_cocktail.png") </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var NextPage = "-"
Open "ROOT/taobin_project/xml/page_catalog_group_cocktail.lxml"
</EventClick>
</Button>
<Button>
<Layout> "linear" </Layout>
<State> Menu6Selected </State>
<Filename> Var( DirImageAlter + "/bn_sodada2.png") </Filename>
<FilenamePress> Var( DirImageAlter + "/bp_sodada2.png") </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var NextPage = "-"
Open "ROOT/taobin_project/xml/page_catalog_group_other.lxml"
</EventClick>
</Button>
<Button>
<Layout> "linear" </Layout>
<State> MenuVSelected2 </State>
<Filename> Var( DirImageAlter + "/bn_vending2.png") </Filename>
<FilenamePress> Var( DirImageAlter + "/bp_vending2.png") </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var NextPage = "-"
Open "ROOT/taobin_project/spiral/xml/page_catalog_vending_machine.xml"
</EventClick>
</Button>
</Row2>
</ListView1>
<EventWebApp>
DEBUGVAR web_ready
If web_ready = "true" Then
If web_ref = QRCODE99x Then
Var web_readyOK = web_ready
Var web_telnumOK = web_telnum
Var web_app_prepar = "true"
Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_payment.xml"
EndIf
Else
EndIf
</EventWebApp>
<FrameScroll>
<X> 10 </X>
<Y> 497 </Y>
<Width> 1080 </Width>
<ScrollHeight> "auto" </ScrollHeight>
<Scroll> "Vertical" </Scroll>
<Column> 4 </Column>
<Script>
Var block_index_override = 0
Var block_index_move = 0
</Script>
</FrameScroll>
; Cart
<Button>
<X> 915 </X>
<Y> 1769 </Y>
<State> showCart </State>
<Filename> cart_image_bn </Filename>
<FilenamePress> cart_image_bp </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Open "ROOT/taobin_project/xml/page_payment_multi.xml"
</EventClick>
</Button>
</Popup>

View file

@ -0,0 +1,45 @@
<?hurr
#include=menu_head.py
?>
<Popup>
<Cache> "Enable" </Cache>
<Width> 1080 </Width>
<Height> 1920 </Height>
;<Background> "0xeae6e1" </Background>
<Volume> SoundVolume </Volume>
<EventOpen>
; On open
<?hurr
#include=menu_catalog_default_init.py
?>
Var Timeout = 0
<?hurr
#include=menu_catalog_new_menu.py
?>
</EventOpen>
<?hurr
#include=menu_catalog_new.py
?>
<?hurr
#include=menu_new_layout_gen_v2.py
?>
<?hurr
#include=menu_new_layout_gen.py
?>
</Popup>

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,49 @@
<?hurr
#include=menu_head.py
echo param
?>
<Popup>
<Cache> "Enable" </Cache>
<Width> 1080 </Width>
<Height> 1920 </Height>
;<Background> "0xeae6e1" </Background>
<Volume> SoundVolume </Volume>
<EventOpen>
; On open
<?hurr
#include=menu_catalog_default_init.py
?>
; soda and other
Var Menu6Selected = "PressForever"
SAVELOG PreviseXMLFileName2
Var Timeout = 0
<?hurr
#include=menu_catalog_new_menu.py
?>
</EventOpen>
<?hurr
#include=menu_catalog_new.py
?>
<?hurr
#include=menu_new_layout_gen_v2.py
?>
<?hurr
#include=menu_new_layout_gen.py
?>
</Popup>

View file

@ -0,0 +1,45 @@
<?hurr
#include=menu_head.py
?>
<Popup>
<Cache> "Enable" </Cache>
<Width> 1080 </Width>
<Height> 1920 </Height>
;<Background> "0xeae6e1" </Background>
<Volume> SoundVolume </Volume>
<EventOpen>
; On open
<?hurr
#include=menu_catalog_default_init.py
?>
Var Timeout = 0
<?hurr
#include=menu_catalog_new_menu.py
?>
</EventOpen>
<?hurr
#include=menu_catalog_new.py
?>
<?hurr
#include=menu_new_layout_gen_v2.py
?>
<?hurr
#include=menu_new_layout_gen.py
?>
</Popup>

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,83 @@
<?hurr
#include=menu_head.py
?>
<Popup>
<Cache> "Enable" </Cache>
<Width> 1080 </Width>
<Height> 1920 </Height>
;<Background> "0xeae6e1" </Background>
<Volume> SoundVolume </Volume>
<EventOpen>
; On open
<?hurr
#include=menu_catalog_default_init.xml
?>
Var Menu1Selected = "PressForever"
Var OreoBigButtonEnable = "Enable"
If $12-01-01-0001.Button = "Invisible" Then
Var esp102101001Enable = "Invisible"
Var esp122101001Enable = "Enable"
Else
Var esp102101001Enable = "Enable"
Var esp122101001Enable = "Invisible"
EndIf
SAVELOG PreviseXMLFileName2
Var Timeout = 0
If show_eng = "true" Then
Var text_unavailable = "UNAVAILABLE###size=16"
Else
Var text_unavailable = "หมด###size=32"
EndIf
<?hurr
#include=menu_catalog_new_menu.xml
?>
</EventOpen>
<?hurr
#include=menu_catalog_new.py
?>
<?hurr
#include=menu_new_layout_gen_v2.py
?>
<?hurr
#include=menu_new_layout_gen.py
?>
<Button>
<X> 780 </X>
<Y> 500 </Y>
<State> buttonRemoveCup </State>
;<Color> "0x00BDFF" </Color>
<Interval> 500 </Interval>
<Filename> "ROOT/taobin_project/image/main_page/bn_remove_cup.png" </Filename>
<Filename> "ROOT/taobin_project/image/main_page/bp_remove_cup.png" </Filename>
<EventClick>
Machine RemoveCup
Machine DoorLidOpen
Var buttonRemoveCup = "Invisible"
</EventClick>
</Button>
;BigLogoLayout
</Popup>

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,52 @@
<?hurr
#include=menu_head.py
touch_less_gen = False
?>
<Popup>
<Cache> "Enable" </Cache>
<Width> 1080 </Width>
<Height> 1920 </Height>
;<Background> "0xeae6e1" </Background>
<Volume> SoundVolume </Volume>
<EventOpen>
; On open
<?hurr
#include=menu_catalog_default_init.py
?>
Var Menu3Selected = "PressForever"
SAVELOG PreviseXMLFileName2
Var Timeout = 0
<?hurr
#include=menu_catalog_new_menu.py
?>
</EventOpen>
<?hurr
#include=menu_catalog_new.py
?>
<?hurr
#include=menu_new_layout_gen_v2.py
?>
<?hurr
#include=menu_new_layout_gen.py
?>
</Popup>

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,55 @@
<?hurr
#include=menu_head.py
touch_less_gen = False
?>
<Popup>
<Cache> "Enable" </Cache>
<Width> 1080 </Width>
<Height> 1920 </Height>
;<Background> "0xeae6e1" </Background>
<Volume> SoundVolume </Volume>
<EventOpen>
; On open
<?hurr
#include=menu_catalog_default_init.py
?>
If AppFastEnable = "true" Then
Var Menu11Selected = "PressForever"
Var Menu7Selected = "Invisible"
Else
Var Menu11Selected = "Invisible"
Var Menu7Selected = "PressForever"
EndIf
SAVELOG PreviseXMLFileName2
Var Timeout = 0
<?hurr
#include=menu_catalog_new_menu.py
?>
</EventOpen>
<?hurr
#include=menu_catalog_new.py
?>
<?hurr
#include=menu_new_layout_gen_v2.py
?>
<?hurr
#include=menu_new_layout_gen.py
?>
</Popup>

View file

@ -0,0 +1,656 @@
<Popup>
<Cache> "Enable" </Cache>
<Width> 1080 </Width>
<Height> 1920 </Height>
<Background> "0xEFEDEA" </Background>
<Volume> SoundVolume </Volume>
<Refresh> "Partial" </Refresh>
<EventOpen>
; On open
DEBUGVAR "Open page_check_member Australia"
Var Timeout = 0
Var TelephoneNumber = ""
Var ShowTextNumber = "Enable"
Var ShowErrorText = "Invisible"
Var ShowErrorText2 = "Invisible"
Var Tel_Confirm_State = "Invisible"
Var GetCreditFlag = 0
Var DirImage = "ROOT/taobin_project/image/collectiing_en"
Var Xtext19 = 154
Var show_btp = "ROOT/taobin_project/image/bn_thai_lang_press.png"
Var show_btn = "ROOT/taobin_project/image/bn_thai_lang.png"
Var StepX = 2
Var TaobinCredit = 0
PlayLong "/mnt/sdcard/coffeevending/taobin_project/sound_eng/Please_enter_your_mobile_to_credit_balance.mp3"
Var MinNumber = 10
Var MaxNumber = 10
</EventOpen>
<EventLanguageOnChange>
DEBUGVAR LanguageShow
If LanguageShow = "ENG" Then
EndIf
If LanguageShow = "THAI" Then
EndIf
Refresh
</EventLanguageOnChange>
<Timeout> 1000 </Timeout>
<EventTimeout>
Var Timeout = Timeout + 1
If Timeout > 30 Then
Open "ROOT/taobin_project/xml/page_catalog.lxml"
EndIf
TimerReset
</EventTimeout>
<EventIDCard>
</EventIDCard>
<EventActionOk>
If StepX = 0 Then
If Ext1a = "ok" Then
Var TaobinName = Ext1d
Var TaobinCoupons = Ext1g
Var TaobinExpire = Ext1f
Var TaobinLevel = Ext1e
Var TNumberTaobinMemberXXX = TelephoneNumber
Var CoffeePointRank = Ext1b
INT CoffeePointRank
Var CoffeePointRankTmp = CoffeePointRank
GETACCEXT TelephoneNumber 15
Var StepX = 1
Else
Var ShowErrorText = "Enable"
EndIf
Else
If StepX = 1 Then
Var PolygonST1 = "Invisible"
Var PolygonST2 = "Invisible"
Var CouponSTA = "Invisible"
Var CouponSTB = "Invisible"
Var CouponPage = 1
Var MakeDrinkState = 0
Var CouponInfo1 = Ext1a
Var CouponInfo2 = Ext1b
Var CouponInfo3 = Ext1c
Var CouponInfo4 = Ext1d
Var CouponInfo5 = Ext1e
Var CouponInfo6 = Ext1f
Var CouponInfo7 = Ext1g
Var CouponInfo8 = Ext1h
Var CouponInfo9 = Ext1i
Var CouponInfo10 = Ext1j
Var CheckMemberPage2 = CountryRootPath + "xml/page_check_member2.lxml"
Open CheckMemberPage2
;GETACCEXT TelephoneNumber 13
;Var StepX = 2
Else
Var CouponPage = 1
Var MakeDrinkState = 0
;Var TaobinCredit = Ext1b
;GETACCEXT TelephoneNumber 14
;Var StepX = 0
;Open "ROOT/taobin_project/xml/page_check_member1.xml"
If Ext1a = "ok" Then
Var CheckMemberPage1 = CountryRootPath + "xml/page_check_member1.lxml"
Open CheckMemberPage1
Else
If Ext1a = "new customer" Then
Var CheckNewMember1 = CountryRootPath + "xml/page_check_newmember1.lxml"
Open CheckNewMember1
EndIf
EndIf
EndIf
EndIf
Refresh
</EventActionOk>
<EventActionError>
Var ShowErrorText = "Enable"
Refresh
</EventActionError>
<Button>
<X> 333 </X>
<Y> 1004 </Y>
<Filename> "ROOT/taobin_project/image/collectiing/bn_1.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_1.png" </FilenamePress>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var Timeout = 0
Var TelephoneNumber = TelephoneNumber + "1"
Var ShowTextNumber = "Invisible"
Trim TelephoneNumber MaxNumber
StrLen TelephoneNumber TelNumLen
If TelNumLen >= MinNumber Then
Var Tel_Confirm_State = "Enable"
EndIf
Var ShowErrorText = "Invisible"
Var ShowErrorText2 = "Invisible"
TimerReset
Refresh
</EventClick>
</Button>
<Button>
<X> 477 </X>
<Y> 1004 </Y>
<Filename> "ROOT/taobin_project/image/collectiing/bn_2.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_2.png" </FilenamePress>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var Timeout = 0
Var TelephoneNumber = TelephoneNumber + "2"
Var ShowTextNumber = "Invisible"
Trim TelephoneNumber MaxNumber
TimerReset
Refresh
StrLen TelephoneNumber TelNumLen
If TelNumLen >= MinNumber Then
Var Tel_Confirm_State = "Enable"
EndIf
Var ShowErrorText = "Invisible"
Var ShowErrorText2 = "Invisible"
TimerReset
Refresh
</EventClick>
</Button>
<Button>
<X> 620 </X>
<Y> 1004 </Y>
<Filename> "ROOT/taobin_project/image/collectiing/bn_3.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_3.png" </FilenamePress>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var Timeout = 0
Var TelephoneNumber = TelephoneNumber + "3"
Var ShowTextNumber = "Invisible"
Trim TelephoneNumber MaxNumber
TimerReset
Refresh
StrLen TelephoneNumber TelNumLen
If TelNumLen >= MinNumber Then
Var Tel_Confirm_State = "Enable"
EndIf
Var ShowErrorText = "Invisible"
Var ShowErrorText2 = "Invisible"
TimerReset
Refresh
</EventClick>
</Button>
<Button>
<X> 333 </X>
<Y> 1148 </Y>
<Filename> "ROOT/taobin_project/image/collectiing/bn_4.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_4.png" </FilenamePress>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var Timeout = 0
Var TelephoneNumber = TelephoneNumber + "4"
Var ShowTextNumber = "Invisible"
Trim TelephoneNumber MaxNumber
TimerReset
Refresh
StrLen TelephoneNumber TelNumLen
If TelNumLen >= MinNumber Then
Var Tel_Confirm_State = "Enable"
EndIf
Var ShowErrorText = "Invisible"
Var ShowErrorText2 = "Invisible"
TimerReset
Refresh
</EventClick>
</Button>
<Button>
<X> 477 </X>
<Y> 1148 </Y>
<Filename> "ROOT/taobin_project/image/collectiing/bn_5.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_5.png" </FilenamePress>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var Timeout = 0
Var TelephoneNumber = TelephoneNumber + "5"
Var ShowTextNumber = "Invisible"
Trim TelephoneNumber MaxNumber
TimerReset
Refresh
StrLen TelephoneNumber TelNumLen
If TelNumLen >= MinNumber Then
Var Tel_Confirm_State = "Enable"
EndIf
Var ShowErrorText = "Invisible"
Var ShowErrorText2 = "Invisible"
TimerReset
Refresh
</EventClick>
</Button>
<Button>
<X> 620 </X>
<Y> 1148 </Y>
<Filename> "ROOT/taobin_project/image/collectiing/bn_6.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_6.png" </FilenamePress>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var Timeout = 0
Var TelephoneNumber = TelephoneNumber + "6"
Var ShowTextNumber = "Invisible"
Trim TelephoneNumber MaxNumber
TimerReset
Refresh
StrLen TelephoneNumber TelNumLen
If TelNumLen >= MinNumber Then
Var Tel_Confirm_State = "Enable"
EndIf
Var ShowErrorText = "Invisible"
Var ShowErrorText2 = "Invisible"
TimerReset
Refresh
</EventClick>
</Button>
<Button>
<X> 333 </X>
<Y> 1292 </Y>
<Filename> "ROOT/taobin_project/image/collectiing/bn_7.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_7.png" </FilenamePress>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var Timeout = 0
Var TelephoneNumber = TelephoneNumber + "7"
Var ShowTextNumber = "Invisible"
Trim TelephoneNumber MaxNumber
TimerReset
Refresh
StrLen TelephoneNumber TelNumLen
If TelNumLen >= MinNumber Then
Var Tel_Confirm_State = "Enable"
EndIf
Var ShowErrorText = "Invisible"
Var ShowErrorText2 = "Invisible"
TimerReset
Refresh
</EventClick>
</Button>
<Button>
<X> 477 </X>
<Y> 1292 </Y>
<Filename> "ROOT/taobin_project/image/collectiing/bn_8.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_8.png" </FilenamePress>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var Timeout = 0
Var TelephoneNumber = TelephoneNumber + "8"
Var ShowTextNumber = "Invisible"
Trim TelephoneNumber MaxNumber
TimerReset
Refresh
StrLen TelephoneNumber TelNumLen
If TelNumLen >= MinNumber Then
Var Tel_Confirm_State = "Enable"
EndIf
Var ShowErrorText = "Invisible"
Var ShowErrorText2 = "Invisible"
TimerReset
Refresh
</EventClick>
</Button>
<Button>
<X> 620 </X>
<Y> 1292 </Y>
<Filename> "ROOT/taobin_project/image/collectiing/bn_9.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_9.png" </FilenamePress>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var Timeout = 0
Var TelephoneNumber = TelephoneNumber + "9"
Var ShowTextNumber = "Invisible"
Trim TelephoneNumber MaxNumber
TimerReset
Refresh
StrLen TelephoneNumber TelNumLen
If TelNumLen >= MinNumber Then
Var Tel_Confirm_State = "Enable"
EndIf
Var ShowErrorText = "Invisible"
Var ShowErrorText2 = "Invisible"
TimerReset
Refresh
</EventClick>
</Button>
<Button>
<X> 477 </X>
<Y> 1432 </Y>
<Filename> "ROOT/taobin_project/image/collectiing/bn_0.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_0.png" </FilenamePress>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var Timeout = 0
Var TelephoneNumber = TelephoneNumber + "0"
Trim TelephoneNumber MaxNumber
StrLen TelephoneNumber TelNumLen
If TelNumLen >= MinNumber Then
Var Tel_Confirm_State = "Enable"
EndIf
Var ShowTextNumber = "Invisible"
TimerReset
Refresh
Var ShowErrorText = "Invisible"
Var ShowErrorText2 = "Invisible"
TimerReset
Refresh
</EventClick>
</Button>
<Button>
<X> 620 </X>
<Y> 1432 </Y>
<Filename> "ROOT/taobin_project/image/collectiing/bn_back-1.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_back-1.png" </FilenamePress>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var Timeout = 0
Trim TelephoneNumber -1
StrLen TelephoneNumber TelNumLen
If TelNumLen < MinNumber Then
Var Tel_Confirm_State = "Invisible"
EndIf
If TelNumLen = 0 Then
Var ShowTextNumber = "Enable"
EndIf
;Var ShowErrorText = "Invisible"
Var ShowErrorText2 = "Invisible"
TimerReset
Refresh
</EventClick>
</Button>
<Button>
<X> 44 </X>
<Y> 1783 </Y>
<Filename> Var( DirImage + "/bn_back.png" )</Filename>
<FilenamePress> Var( DirImage + "/bp_back.png" )</FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Open "ROOT/taobin_project/xml/page_catalog.xml"
</EventClick>
</Button>
<Button>
<X> 750 </X>
<Y> 1783 </Y>
<Refresh> "Enable" </Refresh>
<State> Tel_Confirm_State </State>
<Filename> Var( DirImage + "/bn_confirm.png" ) </Filename>
<FilenamePress> Var( DirImage + "/bp_confirm.png" )</FilenamePress>
<FilenameDisable> Var( DirImage + "/bn_confirm.png" )</FilenameDisable>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var Tel2DFlag = 0
Var Tel2D = TelephoneNumber
Trim Tel2D 1
If Tel2D = "0" Then
Var Tel2DFlag = 1
EndIf
If Tel2DFlag = 1 Then
GETACCEXT TelephoneNumber 19
Else
Var ShowErrorText2 = "Enable"
;Var TelephoneNumber = ""
Var Tel_Confirm_State = "Invisible"
Refresh
EndIf
</EventClick>
</Button>
<Image>
<X> 217 </X>
<Y> 784 </Y>
<Filename> Var( DirImage + "/img3.png" ) </Filename>
</Image>
<Image>
<X> 349 </X>
<Y> 825 </Y>
<State> ShowTextNumber </State>
<Refresh> "Enable" </Refresh>
<Filename> Var( DirImage + "/text15.png" )</Filename>
</Image>
<Image>
<X> 248 </X>
<Y> 800 </Y>
<State> ShowTextNumber </State>
<Refresh> "Enable" </Refresh>
<Filename> Var( DirImage + "/Group.png" )</Filename>
</Image>
<Text>
<X> 0 </X>
<Y> 797 </Y>
<Width> 1080 </Width>
<Align> Center </Align>
<Size> 62 </Size>
<Font> RobotoBlack </Font>
<Color> 0x513C2F </Color>
<Refresh> "Enable" </Refresh>
<Value> TelephoneNumber </Value>
<Format> Telnum-mask-1 </Format>
</Text>
<Image>
<X> Xtext19 </X>
<Y> 521 </Y>
<Filename> Var( DirImage + "/text_19.png" )</Filename>
</Image>
<Image>
<X> 430 </X>
<Y> 942 </Y>
<State> ShowErrorText </State>
<Refresh> "Enable" </Refresh>
<Filename> Var( DirImage + "/text_show_notfound.png") </Filename>
</Image>
<Image>
<X> 152 </X>
<Y> 910 </Y>
<State> ShowErrorText2 </State>
<Refresh> "Enable" </Refresh>
<Filename> Var( DirImage + "/text_show_error5.png") </Filename>
</Image>
<Video>
<X> 0 </X>
<Y> 0 </Y>
<Width> 1080</Width>
<Height> 380 </Height>
<Loop> "true" </Loop>
<Filename> video_menu_0 </Filename>
</Video>
<EventSecurity>
Open "/media/bt/xml/security_alarm.xml"
</EventSecurity>
<EventMachine>
</EventMachine>
<EventUnitTest1>
Var CheckNewMemberPage1 = CountryRootPath + "xml/page_check_newmember1.lxml"
Open CheckNewMemberPage1
</EventUnitTest1>
<EventUnitTest4>
Var CheckMemberPage1 = CountryRootPath + "xml/page_check_member1.lxml"
Open CheckMemberPage1
</EventUnitTest4>
</Popup>

View file

@ -0,0 +1,835 @@
<Popup>
<Cache> "Enable" </Cache>
<Width> 1080 </Width>
<Height> 1920 </Height>
<Background> "0xeae6e1" </Background>
<Volume> SoundVolume </Volume>
<Refresh> "Partial" </Refresh>
<EventOpen>
; On open
Var Timeout = 0
Var TimeoutSMS = 0
Var StateBGetSMS = "Enable"
Var ShowSentSmsText = "Invisible"
Var ShowTextNumber1 = "Invisible"
Var ShowTextNumber2 = "Invisible"
Var ShowTextNumber3 = "Invisible"
Var ShowTextNumber4 = "Invisible"
Var ShowText = "Enable"
Var ShowErrorText = "Invisible"
Var Tel_Confirm_State = "Invisible"
Var PinNumber = ""
Var ReqFlag = 0
Var DirImage = "ROOT/taobin_project/image/collectiing_en"
Var Xtext = 246
Var Ext1a = ""
Var GetAccFlag = 0
Var StepX = 0
PlayLong "/mnt/sdcard/coffeevending/taobin_project/sound_eng/Please_enter_your_4_digits_pin.mp3"
</EventOpen>
<Timeout> 1000 </Timeout>
<EventTimeout>
Var Timeout = Timeout + 1
If Timeout > 30 Then
Var CheckMemberPage = CountryRootPath + "xml/page_check_member.lxml"
Open CheckMemberPage
EndIf
TimerReset
Refresh
</EventTimeout>
<EventActionOk>
If StepX = 1 Then
If Ext1a = "ok" Then
Var TaobinName = Ext1d
Var TaobinCoupons = Ext1g
Var TaobinExpire = Ext1f
Var TaobinLevel = Ext1e
Var TNumberTaobinMemberXXX = TelephoneNumber
Var CoffeePointRank = Ext1b
INT CoffeePointRank
Var CoffeePointRankTmp = CoffeePointRank
GETACCEXT TelephoneNumber 15
Var StepX = 2
Var Ext1a = ""
Else
Var ShowErrorText = "Enable"
Var ShowText = "Invisible"
EndIf
Else
If StepX = 2 Then
Var PolygonST1 = "Invisible"
Var PolygonST2 = "Invisible"
Var CouponSTA = "Invisible"
Var CouponSTB = "Invisible"
Var CouponPage = 1
Var MakeDrinkState = 0
Var CouponInfo1 = Ext1a
Var CouponInfo2 = Ext1b
Var CouponInfo3 = Ext1c
Var CouponInfo4 = Ext1d
Var CouponInfo5 = Ext1e
Var CouponInfo6 = Ext1f
Var CouponInfo7 = Ext1g
Var CouponInfo8 = Ext1h
Var CouponInfo9 = Ext1i
Var CouponInfo10 = Ext1j
Var CheckMemberPage2 = CountryRootPath + "xml/page_check_member2.lxml"
Open CheckMemberPage2
EndIf
EndIf
If GetAccFlag = 1 Then
Var GetAccFlag = 0
If Ext1a = "ok" Then
Var TaobinCredit = Ext1b
GETACCEXT TelephoneNumber 14
Var StepX = 1
Var Ext1a = ""
;Open "ROOT/taobin_project/xml/page_check_member2.xml"
Else
Var ShowErrorText = "Enable"
Var ShowText = "Invisible"
Var ShowTextNumber1 = "Invisible"
Var ShowTextNumber2 = "Invisible"
Var ShowTextNumber3 = "Invisible"
Var ShowTextNumber4 = "Invisible"
Var PinNumber = ""
Var Tel_Confirm_State = "Invisible"
EndIf
EndIf
Refresh
</EventActionOk>
<EventActionError>
If GetAccFlag = 1 Then
Var ShowErrorText = "Enable"
Var ShowText = "Invisible"
Var GetAccFlag = 0
Var ShowTextNumber1 = "Invisible"
Var ShowTextNumber2 = "Invisible"
Var ShowTextNumber3 = "Invisible"
Var ShowTextNumber4 = "Invisible"
Var PinNumber = ""
Var Tel_Confirm_State = "Invisible"
EndIf
If StepX = 1 Then
Var ShowErrorText = "Enable"
Var ShowText = "Invisible"
EndIf
If StepX = 2 Then
Var ShowErrorText = "Enable"
Var ShowText = "Invisible"
EndIf
Refresh
</EventActionError>
<Image>
<X> 0 </X>
<Y> 380 </Y>
<Filename> "ROOT/taobin_project/image/collectiing/alpha.png" </Filename>
</Image>
<Image>
<X> 158 </X>
<Y> 601 </Y>
<Filename> "ROOT/taobin_project/image/collectiing/img_popup1.png" </Filename>
</Image>
<Button>
<X> 333 </X>
<Y> 1004 </Y>
<Filename> "ROOT/taobin_project/image/collectiing/bn_1.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_1.png" </FilenamePress>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var Timeout = 0
Var PinNumber = PinNumber + "1"
Var ShowTextNumber = "Invisible"
Trim PinNumber 4
StrLen PinNumber TelNumLen
If TelNumLen >= 4 Then
Var Tel_Confirm_State = "Enable"
EndIf
Var ShowErrorText = "Invisible"
Var ShowText = "Enable"
If TelNumLen > 0 Then
Var ShowTextNumber1 = "Enable"
EndIf
If TelNumLen > 1 Then
Var ShowTextNumber2= "Enable"
EndIf
If TelNumLen > 2 Then
Var ShowTextNumber3= "Enable"
EndIf
If TelNumLen > 3 Then
Var ShowTextNumber4= "Enable"
EndIf
Var ShowSentSmsText = "Invisible"
TimerReset
Refresh
</EventClick>
</Button>
<Button>
<X> 477 </X>
<Y> 1004 </Y>
<Filename> "ROOT/taobin_project/image/collectiing/bn_2.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_2.png" </FilenamePress>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var Timeout = 0
Var PinNumber = PinNumber + "2"
Var ShowTextNumber = "Invisible"
Trim PinNumber 4
StrLen PinNumber TelNumLen
If TelNumLen >= 4 Then
Var Tel_Confirm_State = "Enable"
EndIf
Var ShowErrorText = "Invisible"
Var ShowText = "Enable"
If TelNumLen > 0 Then
Var ShowTextNumber1 = "Enable"
EndIf
If TelNumLen > 1 Then
Var ShowTextNumber2= "Enable"
EndIf
If TelNumLen > 2 Then
Var ShowTextNumber3= "Enable"
EndIf
If TelNumLen > 3 Then
Var ShowTextNumber4= "Enable"
EndIf
Var ShowSentSmsText = "Invisible"
TimerReset
Refresh
</EventClick>
</Button>
<Button>
<X> 620 </X>
<Y> 1004 </Y>
<Filename> "ROOT/taobin_project/image/collectiing/bn_3.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_3.png" </FilenamePress>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var Timeout = 0
Var PinNumber = PinNumber + "3"
Var ShowTextNumber = "Invisible"
Trim PinNumber 4
StrLen PinNumber TelNumLen
If TelNumLen >= 4 Then
Var Tel_Confirm_State = "Enable"
EndIf
Var ShowErrorText = "Invisible"
Var ShowText = "Enable"
If TelNumLen > 0 Then
Var ShowTextNumber1 = "Enable"
EndIf
If TelNumLen > 1 Then
Var ShowTextNumber2= "Enable"
EndIf
If TelNumLen > 2 Then
Var ShowTextNumber3= "Enable"
EndIf
If TelNumLen > 3 Then
Var ShowTextNumber4= "Enable"
EndIf
Var ShowSentSmsText = "Invisible"
TimerReset
Refresh
</EventClick>
</Button>
<Button>
<X> 333 </X>
<Y> 1148 </Y>
<Filename> "ROOT/taobin_project/image/collectiing/bn_4.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_4.png" </FilenamePress>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var Timeout = 0
Var PinNumber = PinNumber + "4"
Var ShowTextNumber = "Invisible"
Trim PinNumber 4
StrLen PinNumber TelNumLen
If TelNumLen >= 4 Then
Var Tel_Confirm_State = "Enable"
EndIf
Var ShowErrorText = "Invisible"
Var ShowText = "Enable"
If TelNumLen > 0 Then
Var ShowTextNumber1 = "Enable"
EndIf
If TelNumLen > 1 Then
Var ShowTextNumber2= "Enable"
EndIf
If TelNumLen > 2 Then
Var ShowTextNumber3= "Enable"
EndIf
If TelNumLen > 3 Then
Var ShowTextNumber4= "Enable"
EndIf
Var ShowSentSmsText = "Invisible"
TimerReset
Refresh
</EventClick>
</Button>
<Button>
<X> 477 </X>
<Y> 1148 </Y>
<Filename> "ROOT/taobin_project/image/collectiing/bn_5.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_5.png" </FilenamePress>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var Timeout = 0
Var PinNumber = PinNumber + "5"
Var ShowTextNumber = "Invisible"
Trim PinNumber 4
StrLen PinNumber TelNumLen
If TelNumLen >= 4 Then
Var Tel_Confirm_State = "Enable"
EndIf
Var ShowErrorText = "Invisible"
Var ShowText = "Enable"
If TelNumLen > 0 Then
Var ShowTextNumber1 = "Enable"
EndIf
If TelNumLen > 1 Then
Var ShowTextNumber2= "Enable"
EndIf
If TelNumLen > 2 Then
Var ShowTextNumber3= "Enable"
EndIf
If TelNumLen > 3 Then
Var ShowTextNumber4= "Enable"
EndIf
Var ShowSentSmsText = "Invisible"
TimerReset
Refresh
</EventClick>
</Button>
<Button>
<X> 620 </X>
<Y> 1148 </Y>
<Filename> "ROOT/taobin_project/image/collectiing/bn_6.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_6.png" </FilenamePress>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var Timeout = 0
Var PinNumber = PinNumber + "6"
Var ShowTextNumber = "Invisible"
Trim PinNumber 4
StrLen PinNumber TelNumLen
If TelNumLen >= 4 Then
Var Tel_Confirm_State = "Enable"
EndIf
Var ShowErrorText = "Invisible"
Var ShowText = "Enable"
If TelNumLen > 0 Then
Var ShowTextNumber1 = "Enable"
EndIf
If TelNumLen > 1 Then
Var ShowTextNumber2= "Enable"
EndIf
If TelNumLen > 2 Then
Var ShowTextNumber3= "Enable"
EndIf
If TelNumLen > 3 Then
Var ShowTextNumber4= "Enable"
EndIf
Var ShowSentSmsText = "Invisible"
TimerReset
Refresh
</EventClick>
</Button>
<Button>
<X> 333 </X>
<Y> 1292 </Y>
<Filename> "ROOT/taobin_project/image/collectiing/bn_7.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_7.png" </FilenamePress>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var Timeout = 0
Var PinNumber = PinNumber + "7"
Var ShowTextNumber = "Invisible"
Trim PinNumber 4
StrLen PinNumber TelNumLen
If TelNumLen >= 4 Then
Var Tel_Confirm_State = "Enable"
EndIf
Var ShowErrorText = "Invisible"
Var ShowText = "Enable"
If TelNumLen > 0 Then
Var ShowTextNumber1 = "Enable"
EndIf
If TelNumLen > 1 Then
Var ShowTextNumber2= "Enable"
EndIf
If TelNumLen > 2 Then
Var ShowTextNumber3= "Enable"
EndIf
If TelNumLen > 3 Then
Var ShowTextNumber4= "Enable"
EndIf
Var ShowSentSmsText = "Invisible"
TimerReset
Refresh
</EventClick>
</Button>
<Button>
<X> 477 </X>
<Y> 1292 </Y>
<Filename> "ROOT/taobin_project/image/collectiing/bn_8.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_8.png" </FilenamePress>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var Timeout = 0
Var PinNumber = PinNumber + "8"
Var ShowTextNumber = "Invisible"
Trim PinNumber 4
StrLen PinNumber TelNumLen
If TelNumLen >= 4 Then
Var Tel_Confirm_State = "Enable"
EndIf
Var ShowErrorText = "Invisible"
Var ShowText = "Enable"
If TelNumLen > 0 Then
Var ShowTextNumber1 = "Enable"
EndIf
If TelNumLen > 1 Then
Var ShowTextNumber2= "Enable"
EndIf
If TelNumLen > 2 Then
Var ShowTextNumber3= "Enable"
EndIf
If TelNumLen > 3 Then
Var ShowTextNumber4= "Enable"
EndIf
Var ShowSentSmsText = "Invisible"
TimerReset
Refresh
</EventClick>
</Button>
<Button>
<X> 620 </X>
<Y> 1292 </Y>
<Filename> "ROOT/taobin_project/image/collectiing/bn_9.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_9.png" </FilenamePress>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var Timeout = 0
Var PinNumber = PinNumber + "9"
Var ShowTextNumber = "Invisible"
Trim PinNumber 4
StrLen PinNumber TelNumLen
If TelNumLen >= 4 Then
Var Tel_Confirm_State = "Enable"
EndIf
Var ShowErrorText = "Invisible"
Var ShowText = "Enable"
If TelNumLen > 0 Then
Var ShowTextNumber1 = "Enable"
EndIf
If TelNumLen > 1 Then
Var ShowTextNumber2= "Enable"
EndIf
If TelNumLen > 2 Then
Var ShowTextNumber3= "Enable"
EndIf
If TelNumLen > 3 Then
Var ShowTextNumber4= "Enable"
EndIf
Var ShowSentSmsText = "Invisible"
TimerReset
Refresh
</EventClick>
</Button>
<Button>
<X> 477 </X>
<Y> 1432 </Y>
<Filename> "ROOT/taobin_project/image/collectiing/bn_0.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_0.png" </FilenamePress>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var Timeout = 0
Var PinNumber = PinNumber + "0"
Trim PinNumber 4
StrLen PinNumber TelNumLen
If TelNumLen >= 4 Then
Var Tel_Confirm_State = "Enable"
EndIf
Var ShowTextNumber = "Invisible"
Var ShowErrorText = "Invisible"
Var ShowText = "Enable"
If TelNumLen > 0 Then
Var ShowTextNumber1 = "Enable"
EndIf
If TelNumLen > 1 Then
Var ShowTextNumber2= "Enable"
EndIf
If TelNumLen > 2 Then
Var ShowTextNumber3= "Enable"
EndIf
If TelNumLen > 3 Then
Var ShowTextNumber4= "Enable"
EndIf
Var ShowSentSmsText = "Invisible"
TimerReset
Refresh
</EventClick>
</Button>
<Button>
<X> 620 </X>
<Y> 1432 </Y>
<Filename> "ROOT/taobin_project/image/collectiing/bn_back-1.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_back-1.png" </FilenamePress>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var Timeout = 0
Trim PinNumber -1
Var Tel_Confirm_State = "Invisible"
StrLen PinNumber TelNumLen
If TelNumLen = 0 Then
Var ShowTextNumber = "Enable"
EndIf
;Var ShowErrorText = "Invisible"
TimerReset
Refresh
If TelNumLen < 1 Then
Var ShowTextNumber1 = "Invisible"
EndIf
If TelNumLen < 2 Then
Var ShowTextNumber2= "Invisible"
EndIf
If TelNumLen < 3 Then
Var ShowTextNumber3= "Invisible"
EndIf
If TelNumLen < 4 Then
Var ShowTextNumber4= "Invisible"
EndIf
Var ShowSentSmsText = "Invisible"
Var ShowErrorText = "Invisible"
Var ShowText = "Enable"
TimerReset
Refresh
</EventClick>
</Button>
<Button>
<X> 398 </X>
<Y> 1600 </Y>
<Refresh> "Enable" </Refresh>
<State> Tel_Confirm_State </State>
<Filename> Var( DirImage + "/bn_confirm.png" ) </Filename>
<FilenamePress> Var( DirImage + "/bp_confirm.png" )</FilenamePress>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
If GetAccFlag = 0 Then
Var DataTmp = TelephoneNumber + "/"
Var DataTmp = DataTmp + PinNumber
GETACCEXT DataTmp 19
Var GetAccFlag = 1
EndIf
</EventClick>
</Button>
<Button>
<X> 333 </X>
<Y> 1432 </Y>
<Filename> Var( DirImage + "/bn_getPin.png") </Filename>
<FilenamePress> Var( DirImage + "/bp_getPin.png") </FilenamePress>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var BmiYear = ""
Var PointCrm = ""
Var GetScore = ""
AddData 13 TelephoneNumber BmiYear PointCrm GetScore
Var PinSMSFlag = 1
Var ChangePinPageSMS = CountryRootPath + "xml/page_payment_changePinSMS.lxml"
Open ChangePinPageSMS
</EventClick>
</Button>
<Image>
<X> 242 </X>
<Y> 830 </Y>
<Filename> Var( DirImage + "/img4.png" ) </Filename>
</Image>
<Image>
<X> 289 </X>
<Y> 870 </Y>
<State> ShowTextNumber1 </State>
<Refresh> "Enable" </Refresh>
<Filename> Var( DirImage + "/text_X.png" )</Filename>
</Image>
<Image>
<X> 446 </X>
<Y> 870 </Y>
<State> ShowTextNumber2 </State>
<Refresh> "Enable" </Refresh>
<Filename> Var( DirImage + "/text_X.png" )</Filename>
</Image>
<Image>
<X> 603 </X>
<Y> 870 </Y>
<State> ShowTextNumber3 </State>
<Refresh> "Enable" </Refresh>
<Filename> Var( DirImage + "/text_X.png" )</Filename>
</Image>
<Image>
<X> 758 </X>
<Y> 870 </Y>
<State> ShowTextNumber4 </State>
<Refresh> "Enable" </Refresh>
<Filename> Var( DirImage + "/text_X.png" )</Filename>
</Image>
<Image>
<X> 188 </X>
<Y> 640 </Y>
<Refresh> "Enable" </Refresh>
<State> ShowText </State>
<Filename> Var( DirImage + "/text_16.png" )</Filename>
</Image>
<Image>
<X> 188 </X>
<Y> 638 </Y>
<Refresh> "Enable" </Refresh>
<State> ShowErrorText </State>
<Filename> Var( DirImage + "/text_25.png") </Filename>
</Image>
<Button>
<X> 859 </X>
<Y> 628 </Y>
<Filename> Var( DirImage + "/Exit.png" ) </Filename>
<FilenamePress> Var( DirImage + "/Exit.png" )</FilenamePress>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var CheckMemberPage = CountryRootPath + "xml/page_check_member.lxml"
Open CheckMemberPage
</EventClick>
</Button>
<Video>
<X> 0 </X>
<Y> 0 </Y>
<Width> 1080</Width>
<Height> 380 </Height>
<Loop> "true" </Loop>
<Filename> video_menu_0 </Filename>
</Video>
<EventSecurity>
Open "/media/bt/xml/security_alarm.xml"
</EventSecurity>
<EventUnitTest4>
Var CheckMemberPage2 = CountryRootPath + "xml/page_check_member2.lxml"
Open CheckMemberPage2
</EventUnitTest4>
</Popup>

View file

@ -0,0 +1,851 @@
<Popup>
<Cache> "Enable" </Cache>
<Width> 1080 </Width>
<Height> 1920 </Height>
<Background> "0xeae6e1" </Background>
<Volume> SoundVolume </Volume>
<EventOpen>
; On open
Var Timeout = 0
Var DirImage = "ROOT/taobin_project/image/display_point_en"
Var page_doing_show_time_image = "ROOT/taobin_project/image/page_doing/img2.png"
Var show_btp = "ROOT/taobin_project/image/bn_thai_lang_press.png"
Var show_btn = "ROOT/taobin_project/image/bn_thai_lang.png"
Var CoffeePointRank = CoffeePointRankTmp
;Var PointDiff = 150 - CoffeePointRank
Var TaobinExpireDay = ""
Var TaobinExpireMonth = ""
Var TaobinExpireMonthX = ""
Var TaobinExpireYear = ""
Var buttonState = "Enable"
If MakeDrinkState = 1 Then
Var buttonState = "Invisible"
EndIf
SPLIT TaobinExpire "/" 1 TaobinExpireDay
SPLIT TaobinExpire "/" 2 TaobinExpireMonth
SPLIT TaobinExpire "/" 3 TaobinExpireYear
If TaobinExpireMonth = "01" Then
Var TaobinExpireMonth = "Jan"
Var TaobinExpireMonthX = "January"
EndIf
If TaobinExpireMonth = "02" Then
Var TaobinExpireMonth = "Feb"
Var TaobinExpireMonthX = "February"
EndIf
If TaobinExpireMonth = "03" Then
Var TaobinExpireMonth = "Mar"
Var TaobinExpireMonthX = "March"
EndIf
If TaobinExpireMonth = "04" Then
Var TaobinExpireMonth = "Apr"
Var TaobinExpireMonthX = "April"
EndIf
If TaobinExpireMonth = "05" Then
Var TaobinExpireMonth = "May"
Var TaobinExpireMonthX = "May"
EndIf
If TaobinExpireMonth = "06" Then
Var TaobinExpireMonth = "Jun"
Var TaobinExpireMonthX = "June"
EndIf
If TaobinExpireMonth = "07" Then
Var TaobinExpireMonth = "Jul"
Var TaobinExpireMonthX = "July"
EndIf
If TaobinExpireMonth = "08" Then
Var TaobinExpireMonth = "Aug"
Var TaobinExpireMonthX = "August"
EndIf
If TaobinExpireMonth = "09" Then
Var TaobinExpireMonth = "Sep"
Var TaobinExpireMonthX = "September"
EndIf
If TaobinExpireMonth = "10" Then
Var TaobinExpireMonth = "Oct"
Var TaobinExpireMonthX = "October"
EndIf
If TaobinExpireMonth = "11" Then
Var TaobinExpireMonth = "Nov"
Var TaobinExpireMonthX = "November"
EndIf
If TaobinExpireMonth = "12" Then
Var TaobinExpireMonth = "Dec"
Var TaobinExpireMonthX = "December"
EndIf
INT TaobinExpireYear
INT TaobinExpireDay
Var TaobinExpireYear = TaobinExpireYear + 0
Var ExpireStrTmp = ""
Var ExpireStrTmp = ExpireStrTmp + TaobinExpireDay
Var ExpireStrTmp = ExpireStrTmp + " "
Var ExpireStrTmp = ExpireStrTmp + TaobinExpireMonth
Var ExpireStrTmp = ExpireStrTmp + " "
Var ExpireStrTmp = ExpireStrTmp + TaobinExpireYear
If TaobinLevel = "1" Then
Var TaobinLevelDesc1 = "Shy turtle level"
Var TaobinLevelDesc2 = ""
Var TaobinLeveImg = "/taoLevel1.png"
EndIf
If TaobinLevel = "2" Then
Var TaobinLevelDesc1 = "Walking turtle level"
Var PointDiff = 150 - CoffeePointRank
Var TaobinLevelDesc2 = "Earn " + PointDiff
Var TaobinLevelDesc2 = TaobinLevelDesc2 + " shells "
Var TaobinLevelDesc2 = TaobinLevelDesc2 + "to move to Flying turtle level"
Var TaobinLeveImg = "/taoLevel2.png"
If CoffeePointRank > 149 Then
;Var TaobinLeveImg = "/taoLevel3.png"
;Var TaobinLevelDesc1 = "Flying turtle level "
Var TaobinLevelDesc2 = ""
;Var CoffeePointRank = CoffeePointRank - 150
EndIf
EndIf
If TaobinLevel = "3" Then
Var TaobinLevelDesc1 = "Flying turtle level until " + ExpireStrTmp
Var PointDiff = 200 - CoffeePointRank
Var TaobinLevelDesc2 = "Earn " + PointDiff
Var TaobinLevelDesc2 = TaobinLevelDesc2 + " shells "
Var TaobinLevelDesc2 = TaobinLevelDesc2 + "to move to Master turtle level"
Var TaobinLeveImg = "/taoLevel3.png"
If CoffeePointRank > 199 Then
;Var TaobinLeveImg = "/taoLevel4.png"
;Var TaobinLevelDesc1 = "Master turtle level "
Var TaobinLevelDesc2 = ""
;Var CoffeePointRank = CoffeePointRank - 350
EndIf
EndIf
If TaobinLevel = "4" Then
Var TaobinLevelDesc1 = "Master turtle level until " + ExpireStrTmp
Var TaobinLevelDesc2 = ""
Var TaobinLeveImg = "/taoLevel4.png"
EndIf
Var PolygonST1 = "Invisible"
Var PolygonST2 = "Invisible"
;Var CouponInfo1 = Ext1a
;Var CouponInfo2 = Ext1b
;Var CouponInfo3 = Ext1c
;Var CouponInfo4 = Ext1d
;Var CouponInfo5 = Ext1e
;Var CouponInfo6 = Ext1f
;Var CouponInfo7 = Ext1g
;Var CouponInfo8 = Ext1h
;Var CouponInfo9 = Ext1i
;Var CouponInfo10 = Ext1j
Var CouponInfoA = ""
Var CouponInfoB = ""
Var CouponSTA = "Invisible"
Var CouponSTB = "Invisible"
Var CouponExpireA = ""
Var CouponExpireB = ""
Var CouponIDA = ""
Var CouponIDB = ""
Var CouponNum = TaobinCoupons
If CouponPage = 1 Then
If CouponInfo3 = "" Then
Else
Var PolygonST2 = "Enable"
EndIf
Var PolygonST1 = "Invisible"
Var CouponInfoA = CouponInfo1
Var CouponInfoB = CouponInfo2
SPLIT CouponInfoA "/" 1 CouponIDA
SPLIT CouponInfoB "/" 1 CouponIDB
EndIf
If CouponPage = 2 Then
If CouponInfo5 = "" Then
Else
Var PolygonST2 = "Enable"
EndIf
Var PolygonST1 = "Enable"
Var CouponInfoA = CouponInfo3
Var CouponInfoB = CouponInfo4
SPLIT CouponInfoA "/" 1 CouponIDA
SPLIT CouponInfoB "/" 1 CouponIDB
EndIf
If CouponPage = 3 Then
If CouponInfo7 = "" Then
Else
Var PolygonST2 = "Enable"
EndIf
Var PolygonST1 = "Enable"
Var CouponInfoA = CouponInfo5
Var CouponInfoB = CouponInfo6
SPLIT CouponInfoA "/" 1 CouponIDA
SPLIT CouponInfoB "/" 1 CouponIDB
EndIf
If CouponPage = 4 Then
If CouponInfo9 = "" Then
Else
Var PolygonST2 = "Enable"
EndIf
Var PolygonST1 = "Enable"
Var CouponInfoA = CouponInfo7
Var CouponInfoB = CouponInfo8
SPLIT CouponInfoA "/" 1 CouponIDA
SPLIT CouponInfoB "/" 1 CouponIDB
EndIf
If CouponPage = 5 Then
Var PolygonST1 = "Enable"
Var PolygonST2 = "Invisible"
Var CouponInfoA = CouponInfo9
Var CouponInfoB = CouponInfo10
SPLIT CouponInfoA "/" 1 CouponIDA
SPLIT CouponInfoB "/" 1 CouponIDB
EndIf
If CouponIDA = "" Then
Else
Var CouponSTA = "Enable"
Var CouponExireA_D = ""
Var CouponExireA_M = ""
Var CouponExireA_Y = ""
Var CouponTypeA = ""
Var CouponNameA = ""
SPLIT CouponInfoA "/" 2 CouponTypeA
SPLIT CouponInfoA "/" 4 CouponExireA_D
SPLIT CouponInfoA "/" 5 CouponExireA_M
SPLIT CouponInfoA "/" 6 CouponExireA_Y
If CouponTypeA = "100" Then
Var CouponNameA = "/imgCouponC33.png"
EndIf
If CouponTypeA = "101" Then
Var CouponNameA = "/imgCouponC44.png"
EndIf
If CouponTypeA = "102" Then
Var CouponNameA = "/imgCouponC39.png"
EndIf
If CouponTypeA = "103" Then
Var CouponNameA = "/imgCouponC40.png"
EndIf
If CouponTypeA = "105" Then
Var CouponNameA = "/imgCouponC38.png"
EndIf
If CouponTypeA = "106" Then
Var CouponNameA = "/imgCouponC41.png"
EndIf
If CouponTypeA = "107" Then
Var CouponNameA = "/imgCouponC42.png"
EndIf
If CouponTypeA = "109" Then
Var CouponNameA = "/imgCouponC33.png"
EndIf
If CouponTypeA = "112" Then
Var CouponNameA = "/imgCoupon112.png"
EndIf
If CouponTypeA = "113" Then
Var CouponNameA = "/imgCoupon113.png"
EndIf
INT CouponExireA_D
INT CouponExireA_Y
Var CouponExireA_Y = CouponExireA_Y + 0
If CouponExireA_M = "01" Then
Var CouponExireA_M = "January"
EndIf
If CouponExireA_M = "02" Then
Var CouponExireA_M = "February"
EndIf
If CouponExireA_M = "03" Then
Var CouponExireA_M = "March"
EndIf
If CouponExireA_M = "04" Then
Var CouponExireA_M = "April"
EndIf
If CouponExireA_M = "05" Then
Var CouponExireA_M = "May"
EndIf
If CouponExireA_M = "06" Then
Var CouponExireA_M = "June"
EndIf
If CouponExireA_M = "07" Then
Var CouponExireA_M = "July"
EndIf
If CouponExireA_M = "08" Then
Var CouponExireA_M = "August"
EndIf
If CouponExireA_M = "09" Then
Var CouponExireA_M = "September"
EndIf
If CouponExireA_M = "10" Then
Var CouponExireA_M = "October"
EndIf
If CouponExireA_M = "11" Then
Var CouponExireA_M = "November"
EndIf
If CouponExireA_M = "12" Then
Var CouponExireA_M = "December"
EndIf
Var CouponExpireA = CouponExpireA + CouponExireA_D
Var CouponExpireA = CouponExpireA + " "
Var CouponExpireA = CouponExpireA + CouponExireA_M
Var CouponExpireA = CouponExpireA + " "
Var CouponExpireA = CouponExpireA + CouponExireA_Y
Var CouponExpireA = "Expires " + CouponExpireA
EndIf
If CouponIDB = "" Then
Else
Var CouponSTB = "Enable"
Var CouponExireB_D = ""
Var CouponExireB_M = ""
Var CouponExireB_Y = ""
Var CouponTypeB = ""
Var CouponNameB = ""
SPLIT CouponInfoB "/" 2 CouponTypeB
SPLIT CouponInfoB "/" 4 CouponExireB_D
SPLIT CouponInfoB "/" 5 CouponExireB_M
SPLIT CouponInfoB "/" 6 CouponExireB_Y
If CouponTypeB = "100" Then
Var CouponNameB = "/imgCouponC33.png"
EndIf
If CouponTypeB = "101" Then
Var CouponNameB = "/imgCouponC44.png"
EndIf
If CouponTypeB = "102" Then
Var CouponNameB = "/imgCouponC39.png"
EndIf
If CouponTypeB = "103" Then
Var CouponNameB = "/imgCouponC40.png"
EndIf
If CouponTypeB = "105" Then
Var CouponNameB = "/imgCouponC38.png"
EndIf
If CouponTypeB = "106" Then
Var CouponNameB = "/imgCouponC41.png"
EndIf
If CouponTypeB = "107" Then
Var CouponNameB = "/imgCouponC42.png"
EndIf
If CouponTypeB = "109" Then
Var CouponNameB = "/imgCouponC33.png"
EndIf
If CouponTypeB = "112" Then
Var CouponNameB = "/imgCoupon112.png"
EndIf
If CouponTypeB = "113" Then
Var CouponNameB = "/imgCoupon113.png"
EndIf
INT CouponExireB_D
INT CouponExireB_Y
Var CouponExireB_Y = CouponExireB_Y + 0
If CouponExireB_M = "01" Then
Var CouponExireB_M = "January"
EndIf
If CouponExireB_M = "02" Then
Var CouponExireB_M = "February"
EndIf
If CouponExireB_M = "03" Then
Var CouponExireB_M = "March"
EndIf
If CouponExireB_M = "04" Then
Var CouponExireB_M = "April"
EndIf
If CouponExireB_M = "05" Then
Var CouponExireB_M = "May"
EndIf
If CouponExireB_M = "06" Then
Var CouponExireB_M = "June"
EndIf
If CouponExireB_M = "07" Then
Var CouponExireB_M = "July"
EndIf
If CouponExireB_M = "08" Then
Var CouponExireB_M = "August"
EndIf
If CouponExireB_M = "09" Then
Var CouponExireB_M = "September"
EndIf
If CouponExireB_M = "10" Then
Var CouponExireB_M = "October"
EndIf
If CouponExireB_M = "11" Then
Var CouponExireB_M = "November"
EndIf
If CouponExireB_M = "12" Then
Var CouponExireB_M = "December"
EndIf
Var CouponExpireB = CouponExpireB + CouponExireB_D
Var CouponExpireB = CouponExpireB + " "
Var CouponExpireB = CouponExpireB + CouponExireB_M
Var CouponExpireB = CouponExpireB + " "
Var CouponExpireB = CouponExpireB + CouponExireB_Y
Var CouponExpireB = "Expires " + CouponExpireB
EndIf
Var CouponText = "Coupons (" + CouponNum
Var CouponText = CouponText + ")"
If MakeDrinkState = 1 Then
Var bn_exit = "/bn_cancel2.png"
Var bp_exit = "/bp_cancel2.png"
Else
Var bn_exit = "/bn_main.png"
Var bp_exit = "/bp_main.png"
EndIf
Var text5Img = "/text5-AUS.png"
INT TaobinCredit
Var TaobinCreditStr !assigned StringFmt( TaobinCredit, DisplayFormat, PreScaleConvertShow )
</EventOpen>
<Timeout> 1000 </Timeout>
<EventTimeout>
Var Timeout = Timeout + 1
If Timeout > 30 Then
If MakeDrinkState = 1 Then
If PromotionIDCurrentOrder > 1 Then
Open "ROOT/taobin_project/xml/page_display_Promo1Get1Free.xml"
EndIf
Open "ROOT/taobin_project/xml/page_lid_straw.xml"
EndIf
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
EndIf
TimerReset
Refresh
</EventTimeout>
<EventSecurity>
Open "/media/bt/xml/security_alarm.xml"
</EventSecurity>
<EventActionOk>
Var CheckMemberPage2 = CountryRootPath + "xml/page_check_member2.lxml"
Open CheckMemberPage2
</EventActionOk>
<EventMachine>
If MachineStage = "drink-success" Then
Var MachineState_Result = 1
EndIf
If MachineStage = "drink-failed" Then
Var MachineState_Result = 2
EndIf
</EventMachine>
;<Image>
;<X> 0 </X>
;<Y> 0 </Y>
;<Filename> "ROOT/taobin_project/image/ad_medium_2.png" </Filename>
;</Image>
<Video>
<X> 0 </X>
<Y> 0 </Y>
<Width> 1080</Width>
<Height> 380 </Height>
<Loop> "true" </Loop>
<Filename> video_menu_0 </Filename>
</Video>
<Button>
<X> 433 </X>
<Y> 411 </Y>
<State> buttonState </State>
<Filename> Var( DirImage + "/bn_topupCredit.png" )</Filename>
<FilenamePress> Var( DirImage + "/bn_topupCredit.png" )</FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var MemberTopup = CountryRootPath + "xml/page_member_topup.lxml"
Open MemberTopup
</EventClick>
</Button>
<Button>
<X> 719 </X>
<Y> 411 </Y>
<State> buttonState </State>
<Filename> Var( DirImage + "/bn_changePin.png" )</Filename>
<FilenamePress> Var( DirImage + "/bn_changePin.png" )</FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var ChangePinPage1 = CountryRootPath + "xml/page_payment_changePin1.lxml"
Open ChangePinPage1
</EventClick>
</Button>
<Image>
<X> 162 </X>
<Y> 560 </Y>
<Filename> Var( DirImage + text5Img )</Filename>
</Image>
<Image>
<X> 617 </X>
<Y> 587 </Y>
<Filename> Var( DirImage + TaobinLeveImg )</Filename>
</Image>
;
<Text>
<X> 253 </X>
<Y> 669 </Y>
<Size> 35 </Size>
<Width> 1000 </Width>
<Font> KanitRegularTTF </Font>
<Color> 0xFFFFFF </Color>
<Value> TaobinName </Value>
</Text>
<Text>
<X> 253 </X>
<Y> 720 </Y>
<Size> 20 </Size>
<Width> 1000 </Width>
<Font> KanitRegularTTF </Font>
<Color> 0xFFFFFF </Color>
<Value> TNumberTaobinMemberXXX </Value>
<Format> Telnum-mask-1 </Format>
</Text>
<Text>
<X> 546 </X>
<Y> 865 </Y>
<Size> 70 </Size>
<Width> 384 </Width>
<Align> Center </Align>
<Font> KanitRegularTTF </Font>
<Color> 0xDE794E </Color>
<Value> CoffeePointRank </Value>
</Text>
<Text>
<X> 162 </X>
<Y> 865 </Y>
<Size> 70 </Size>
<Width> 384 </Width>
<Align> Center </Align>
<Font> KanitRegularTTF </Font>
<Color> 0xDE794E </Color>
<Value> TaobinCreditStr </Value>
</Text>
<Text>
<X> 159 </X>
<Y> 1000 </Y>
<Size> 25 </Size>
<Width> 1000 </Width>
<Font> KanitRegularTTF </Font>
<Color> 0xDE794E </Color>
<Value> TaobinLevelDesc1 </Value>
</Text>
<Text>
<X> 159 </X>
<Y> 1032 </Y>
<Size> 20 </Size>
<Width> 1000 </Width>
<Font> KanitRegularTTF </Font>
<Color> 0x746253 </Color>
<Value> TaobinLevelDesc2 </Value>
</Text>
<Button>
<X> 397 </X>
<Y> 1746 </Y>
<Filename> Var( DirImage + bn_exit )</Filename>
<FilenamePress> Var( DirImage + bp_exit )</FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
; goto lid straw
If MakeDrinkState = 1 Then
If PromotionIDCurrentOrder > 1 Then
Open "ROOT/taobin_project/xml/page_display_Promo1Get1Free.xml"
EndIf
Open "ROOT/taobin_project/xml/page_lid_straw.xml"
EndIf
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
</EventClick>
</Button>
<Text>
<X> 159 </X>
<Y> 1121 </Y>
<Size> 36 </Size>
<Width> 240 </Width>
<Font> KanitRegularTTF </Font>
<Color> 0x513C2F </Color>
<Value> CouponText </Value>
</Text>
<Button>
<X> 166 </X>
<Y> 1228 </Y>
<State> CouponSTA </State>
<Filename> Var( DirImage + CouponNameA )</Filename>
<FilenamePress> Var( DirImage + CouponNameA )</FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
; goto lid straw
Var CouponSendSms = CouponIDA
Var CouponExpireDate = CouponExpireA
Var CouponName = CouponNameA
Var BmiYear = CouponSendSms
Var PointCrm = ""
Var GetScore = ""
AddData 12 TelephoneNumber BmiYear PointCrm GetScore
Var CheckMemberPage3 = CountryRootPath + "xml/page_check_member3.lxml"
Open CheckMemberPage3
</EventClick>
</Button>
<Text>
<X> 372 </X>
<Y> 1370 </Y>
<Size> 15 </Size>
<Width> 600 </Width>
<Font> KanitRegularTTF </Font>
<Color> 0x746253 </Color>
<Value> CouponExpireA </Value>
</Text>
<Button>
<X> 166 </X>
<Y> 1470 </Y>
<State> CouponSTB </State>
<Filename> Var( DirImage + CouponNameB )</Filename>
<FilenamePress> Var( DirImage + CouponNameB )</FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
; goto lid straw
Var CouponSendSms = CouponIDB
Var CouponExpireDate = CouponExpireB
Var CouponName = CouponNameB
Var BmiYear = CouponSendSms
Var PointCrm = ""
Var GetScore = ""
AddData 12 TelephoneNumber BmiYear PointCrm GetScore
Var CheckMemberPage3 = CountryRootPath + "xml/page_check_member3.lxml"
Open CheckMemberPage3
</EventClick>
</Button>
<Text>
<X> 372 </X>
<Y> 1613 </Y>
<Size> 15 </Size>
<Width> 600 </Width>
<Font> KanitRegularTTF </Font>
<Color> 0x746253 </Color>
<Value> CouponExpireB </Value>
</Text>
<Button>
<X> 65 </X>
<Y> 1405 </Y>
<State> PolygonST1 </State>
<Filename> "ROOT/taobin_project/image/display_point/Polygon1.png"</Filename>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var CouponPage = CouponPage - 1
Var CheckMemberPage2 = CountryRootPath + "xml/page_check_member2.lxml"
Open CheckMemberPage2
</EventClick>
</Button>
<Button>
<X> 990 </X>
<Y> 1405 </Y>
<State> PolygonST2 </State>
<Filename> "ROOT/taobin_project/image/display_point/Polygon2.png"</Filename>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var CouponPage = CouponPage + 1
Var CheckMemberPage2 = CountryRootPath + "xml/page_check_member2.lxml"
Open CheckMemberPage2
</EventClick>
</Button>
<EventUnitTest4>
Var CheckMemberPage3 = CountryRootPath + "xml/page_check_member3.lxml"
Open CheckMemberPage3
</EventUnitTest4>
</Popup>

View file

@ -0,0 +1,195 @@
<Popup>
<Cache> "Enable" </Cache>
<Width> 1080 </Width>
<Height> 1920 </Height>
<Background> "0xeae6e1" </Background>
<Volume> SoundVolume </Volume>
<EventOpen>
; On open
Var Timeout = 0
Var DirImage = "ROOT/taobin_project/image/display_point_en"
Var page_doing_show_time_image = "ROOT/taobin_project/image/page_doing/img2.png"
</EventOpen>
<Timeout> 1000 </Timeout>
<EventTimeout>
Var Timeout = Timeout + 1
If Timeout > 30 Then
If MakeDrinkState = 1 Then
If PromotionIDCurrentOrder > 1 Then
Open "ROOT/taobin_project/xml/page_display_Promo1Get1Free.xml"
EndIf
Open "ROOT/taobin_project/xml/page_lid_straw.xml"
EndIf
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
EndIf
TimerReset
Refresh
</EventTimeout>
<EventSecurity>
Open "/media/bt/xml/security_alarm.xml"
</EventSecurity>
<EventActionOk>
;Open "ROOT/taobin_project/xml/page_check_member2.xml"
</EventActionOk>
<EventMachine>
If MachineStage = "drink-success" Then
Var MachineState_Result = 1
EndIf
If MachineStage = "drink-failed" Then
Var MachineState_Result = 2
EndIf
</EventMachine>
;<Image>
;<X> 0 </X>
;<Y> 0 </Y>
;<Filename> "ROOT/taobin_project/image/ad_medium_2.png" </Filename>
;</Image>
<Video>
<X> 0 </X>
<Y> 0 </Y>
<Width> 1080</Width>
<Height> 380 </Height>
<Loop> "true" </Loop>
<Filename> video_menu_0 </Filename>
</Video>
;
<Image>
<X> 158 </X>
<Y> 593 </Y>
<Filename> Var( DirImage + "/img_popup4.png" )</Filename>
</Image>
<Button>
<X> 237 </X>
<Y> 1480 </Y>
<Filename> Var( DirImage + "/bn_useCoupon.png" )</Filename>
<FilenamePress> Var( DirImage + "/bp_useCoupon.png" )</FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
; goto lid straw
If MakeDrinkState = 1 Then
If PromotionIDCurrentOrder > 1 Then
Open "ROOT/taobin_project/xml/page_display_Promo1Get1Free.xml"
EndIf
Open "ROOT/taobin_project/xml/page_lid_straw.xml"
EndIf
Open "ROOT/taobin_project/xml/page_catalog.xml"
</EventClick>
</Button>
<Button>
<X> 398 </X>
<Y> 1597 </Y>
<Filename> Var( DirImage + "/bn_cancel2.png" )</Filename>
<FilenamePress> Var( DirImage + "/bp_cancel2.png" )</FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
; goto lid straw
;Var BmiYear = "30/30"
;Var PointCrm = ""
;Var GetScore = ""
;AddData 11 TelephoneNumber BmiYear PointCrm GetScore
If MakeDrinkState = 1 Then
If PromotionIDCurrentOrder > 1 Then
Open "ROOT/taobin_project/xml/page_display_Promo1Get1Free.xml"
EndIf
Open "ROOT/taobin_project/xml/page_lid_straw.xml"
EndIf
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
</EventClick>
</Button>
<Button>
<X> 158 </X>
<Y> 661 </Y>
<Filename> Var( DirImage + CouponName )</Filename>
<FilenamePress> Var( DirImage + CouponName )</FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
</EventClick>
</Button>
<Text>
<X> 415 </X>
<Y> 815 </Y>
<Size> 15 </Size>
<Width> 300 </Width>
<Font> KanitRegularTTF </Font>
<Color> 0x746253 </Color>
<Value> CouponExpireDate </Value>
</Text>
</Popup>

View file

@ -0,0 +1,710 @@
<Popup>
<Cache> "Enable" </Cache>
<Width> 1080 </Width>
<Height> 1920 </Height>
<Background> "0xeae6e1" </Background>
<Volume> SoundVolume </Volume>
<Refresh> "Partial" </Refresh>
<EventOpen>
; On open
Var Timeout = 0
Var TimeoutSMS = 0
Var StateBGetSMS = "Enable"
Var ShowSentSmsText = "Invisible"
Var ShowTextNumber1 = "Invisible"
Var ShowTextNumber2 = "Invisible"
Var ShowTextNumber3 = "Invisible"
Var ShowTextNumber4 = "Invisible"
Var ShowText = "Enable"
Var ShowErrorText = "Invisible"
Var Tel_Confirm_State = "Invisible"
Var PinNumber = ""
Var ReqFlag = 0
Var DirImage = "ROOT/taobin_project/image/collectiing_en"
Var Xtext = 246
Var Ext1a = ""
Var GetAccFlag = 0
Var StepX = 0
PlayLong "/mnt/sdcard/coffeevending/taobin_project/sound_eng/Please_create_new_pin.mp3"
</EventOpen>
<Timeout> 1000 </Timeout>
<EventTimeout>
Var Timeout = Timeout + 1
If Timeout > 30 Then
Var CheckMemberPage = CountryRootPath + "xml/page_check_member.lxml"
Open CheckMemberPage
EndIf
TimerReset
Refresh
</EventTimeout>
<EventActionOk>
Refresh
</EventActionOk>
<EventActionError>
Refresh
</EventActionError>
<Image>
<X> 0 </X>
<Y> 380 </Y>
<Filename> "ROOT/taobin_project/image/collectiing/alpha.png" </Filename>
</Image>
<Image>
<X> 158 </X>
<Y> 601 </Y>
<Filename> "ROOT/taobin_project/image/collectiing/img_popup1.png" </Filename>
</Image>
<Button>
<X> 333 </X>
<Y> 1004 </Y>
<Filename> "ROOT/taobin_project/image/collectiing/bn_1.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_1.png" </FilenamePress>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var Timeout = 0
Var PinNumber = PinNumber + "1"
Var ShowTextNumber = "Invisible"
Trim PinNumber 4
StrLen PinNumber TelNumLen
If TelNumLen >= 4 Then
Var Tel_Confirm_State = "Enable"
EndIf
Var ShowErrorText = "Invisible"
Var ShowText = "Enable"
If TelNumLen > 0 Then
Var ShowTextNumber1 = "Enable"
EndIf
If TelNumLen > 1 Then
Var ShowTextNumber2= "Enable"
EndIf
If TelNumLen > 2 Then
Var ShowTextNumber3= "Enable"
EndIf
If TelNumLen > 3 Then
Var ShowTextNumber4= "Enable"
EndIf
Var ShowSentSmsText = "Invisible"
TimerReset
Refresh
</EventClick>
</Button>
<Button>
<X> 477 </X>
<Y> 1004 </Y>
<Filename> "ROOT/taobin_project/image/collectiing/bn_2.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_2.png" </FilenamePress>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var Timeout = 0
Var PinNumber = PinNumber + "2"
Var ShowTextNumber = "Invisible"
Trim PinNumber 4
StrLen PinNumber TelNumLen
If TelNumLen >= 4 Then
Var Tel_Confirm_State = "Enable"
EndIf
Var ShowErrorText = "Invisible"
Var ShowText = "Enable"
If TelNumLen > 0 Then
Var ShowTextNumber1 = "Enable"
EndIf
If TelNumLen > 1 Then
Var ShowTextNumber2= "Enable"
EndIf
If TelNumLen > 2 Then
Var ShowTextNumber3= "Enable"
EndIf
If TelNumLen > 3 Then
Var ShowTextNumber4= "Enable"
EndIf
Var ShowSentSmsText = "Invisible"
TimerReset
Refresh
</EventClick>
</Button>
<Button>
<X> 620 </X>
<Y> 1004 </Y>
<Filename> "ROOT/taobin_project/image/collectiing/bn_3.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_3.png" </FilenamePress>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var Timeout = 0
Var PinNumber = PinNumber + "3"
Var ShowTextNumber = "Invisible"
Trim PinNumber 4
StrLen PinNumber TelNumLen
If TelNumLen >= 4 Then
Var Tel_Confirm_State = "Enable"
EndIf
Var ShowErrorText = "Invisible"
Var ShowText = "Enable"
If TelNumLen > 0 Then
Var ShowTextNumber1 = "Enable"
EndIf
If TelNumLen > 1 Then
Var ShowTextNumber2= "Enable"
EndIf
If TelNumLen > 2 Then
Var ShowTextNumber3= "Enable"
EndIf
If TelNumLen > 3 Then
Var ShowTextNumber4= "Enable"
EndIf
Var ShowSentSmsText = "Invisible"
TimerReset
Refresh
</EventClick>
</Button>
<Button>
<X> 333 </X>
<Y> 1148 </Y>
<Filename> "ROOT/taobin_project/image/collectiing/bn_4.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_4.png" </FilenamePress>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var Timeout = 0
Var PinNumber = PinNumber + "4"
Var ShowTextNumber = "Invisible"
Trim PinNumber 4
StrLen PinNumber TelNumLen
If TelNumLen >= 4 Then
Var Tel_Confirm_State = "Enable"
EndIf
Var ShowErrorText = "Invisible"
Var ShowText = "Enable"
If TelNumLen > 0 Then
Var ShowTextNumber1 = "Enable"
EndIf
If TelNumLen > 1 Then
Var ShowTextNumber2= "Enable"
EndIf
If TelNumLen > 2 Then
Var ShowTextNumber3= "Enable"
EndIf
If TelNumLen > 3 Then
Var ShowTextNumber4= "Enable"
EndIf
Var ShowSentSmsText = "Invisible"
TimerReset
Refresh
</EventClick>
</Button>
<Button>
<X> 477 </X>
<Y> 1148 </Y>
<Filename> "ROOT/taobin_project/image/collectiing/bn_5.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_5.png" </FilenamePress>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var Timeout = 0
Var PinNumber = PinNumber + "5"
Var ShowTextNumber = "Invisible"
Trim PinNumber 4
StrLen PinNumber TelNumLen
If TelNumLen >= 4 Then
Var Tel_Confirm_State = "Enable"
EndIf
Var ShowErrorText = "Invisible"
Var ShowText = "Enable"
If TelNumLen > 0 Then
Var ShowTextNumber1 = "Enable"
EndIf
If TelNumLen > 1 Then
Var ShowTextNumber2= "Enable"
EndIf
If TelNumLen > 2 Then
Var ShowTextNumber3= "Enable"
EndIf
If TelNumLen > 3 Then
Var ShowTextNumber4= "Enable"
EndIf
Var ShowSentSmsText = "Invisible"
TimerReset
Refresh
</EventClick>
</Button>
<Button>
<X> 620 </X>
<Y> 1148 </Y>
<Filename> "ROOT/taobin_project/image/collectiing/bn_6.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_6.png" </FilenamePress>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var Timeout = 0
Var PinNumber = PinNumber + "6"
Var ShowTextNumber = "Invisible"
Trim PinNumber 4
StrLen PinNumber TelNumLen
If TelNumLen >= 4 Then
Var Tel_Confirm_State = "Enable"
EndIf
Var ShowErrorText = "Invisible"
Var ShowText = "Enable"
If TelNumLen > 0 Then
Var ShowTextNumber1 = "Enable"
EndIf
If TelNumLen > 1 Then
Var ShowTextNumber2= "Enable"
EndIf
If TelNumLen > 2 Then
Var ShowTextNumber3= "Enable"
EndIf
If TelNumLen > 3 Then
Var ShowTextNumber4= "Enable"
EndIf
Var ShowSentSmsText = "Invisible"
TimerReset
Refresh
</EventClick>
</Button>
<Button>
<X> 333 </X>
<Y> 1292 </Y>
<Filename> "ROOT/taobin_project/image/collectiing/bn_7.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_7.png" </FilenamePress>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var Timeout = 0
Var PinNumber = PinNumber + "7"
Var ShowTextNumber = "Invisible"
Trim PinNumber 4
StrLen PinNumber TelNumLen
If TelNumLen >= 4 Then
Var Tel_Confirm_State = "Enable"
EndIf
Var ShowErrorText = "Invisible"
Var ShowText = "Enable"
If TelNumLen > 0 Then
Var ShowTextNumber1 = "Enable"
EndIf
If TelNumLen > 1 Then
Var ShowTextNumber2= "Enable"
EndIf
If TelNumLen > 2 Then
Var ShowTextNumber3= "Enable"
EndIf
If TelNumLen > 3 Then
Var ShowTextNumber4= "Enable"
EndIf
Var ShowSentSmsText = "Invisible"
TimerReset
Refresh
</EventClick>
</Button>
<Button>
<X> 477 </X>
<Y> 1292 </Y>
<Filename> "ROOT/taobin_project/image/collectiing/bn_8.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_8.png" </FilenamePress>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var Timeout = 0
Var PinNumber = PinNumber + "8"
Var ShowTextNumber = "Invisible"
Trim PinNumber 4
StrLen PinNumber TelNumLen
If TelNumLen >= 4 Then
Var Tel_Confirm_State = "Enable"
EndIf
Var ShowErrorText = "Invisible"
Var ShowText = "Enable"
If TelNumLen > 0 Then
Var ShowTextNumber1 = "Enable"
EndIf
If TelNumLen > 1 Then
Var ShowTextNumber2= "Enable"
EndIf
If TelNumLen > 2 Then
Var ShowTextNumber3= "Enable"
EndIf
If TelNumLen > 3 Then
Var ShowTextNumber4= "Enable"
EndIf
Var ShowSentSmsText = "Invisible"
TimerReset
Refresh
</EventClick>
</Button>
<Button>
<X> 620 </X>
<Y> 1292 </Y>
<Filename> "ROOT/taobin_project/image/collectiing/bn_9.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_9.png" </FilenamePress>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var Timeout = 0
Var PinNumber = PinNumber + "9"
Var ShowTextNumber = "Invisible"
Trim PinNumber 4
StrLen PinNumber TelNumLen
If TelNumLen >= 4 Then
Var Tel_Confirm_State = "Enable"
EndIf
Var ShowErrorText = "Invisible"
Var ShowText = "Enable"
If TelNumLen > 0 Then
Var ShowTextNumber1 = "Enable"
EndIf
If TelNumLen > 1 Then
Var ShowTextNumber2= "Enable"
EndIf
If TelNumLen > 2 Then
Var ShowTextNumber3= "Enable"
EndIf
If TelNumLen > 3 Then
Var ShowTextNumber4= "Enable"
EndIf
Var ShowSentSmsText = "Invisible"
TimerReset
Refresh
</EventClick>
</Button>
<Button>
<X> 477 </X>
<Y> 1432 </Y>
<Filename> "ROOT/taobin_project/image/collectiing/bn_0.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_0.png" </FilenamePress>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var Timeout = 0
Var PinNumber = PinNumber + "0"
Trim PinNumber 4
StrLen PinNumber TelNumLen
If TelNumLen >= 4 Then
Var Tel_Confirm_State = "Enable"
EndIf
Var ShowTextNumber = "Invisible"
Var ShowErrorText = "Invisible"
Var ShowText = "Enable"
If TelNumLen > 0 Then
Var ShowTextNumber1 = "Enable"
EndIf
If TelNumLen > 1 Then
Var ShowTextNumber2= "Enable"
EndIf
If TelNumLen > 2 Then
Var ShowTextNumber3= "Enable"
EndIf
If TelNumLen > 3 Then
Var ShowTextNumber4= "Enable"
EndIf
Var ShowSentSmsText = "Invisible"
TimerReset
Refresh
</EventClick>
</Button>
<Button>
<X> 620 </X>
<Y> 1432 </Y>
<Filename> "ROOT/taobin_project/image/collectiing/bn_back-1.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_back-1.png" </FilenamePress>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var Timeout = 0
Trim PinNumber -1
Var Tel_Confirm_State = "Invisible"
StrLen PinNumber TelNumLen
If TelNumLen = 0 Then
Var ShowTextNumber = "Enable"
EndIf
;Var ShowErrorText = "Invisible"
TimerReset
Refresh
If TelNumLen < 1 Then
Var ShowTextNumber1 = "Invisible"
EndIf
If TelNumLen < 2 Then
Var ShowTextNumber2= "Invisible"
EndIf
If TelNumLen < 3 Then
Var ShowTextNumber3= "Invisible"
EndIf
If TelNumLen < 4 Then
Var ShowTextNumber4= "Invisible"
EndIf
Var ShowSentSmsText = "Invisible"
Var ShowErrorText = "Invisible"
Var ShowText = "Enable"
TimerReset
Refresh
</EventClick>
</Button>
<Button>
<X> 398 </X>
<Y> 1600 </Y>
<Refresh> "Enable" </Refresh>
<State> Tel_Confirm_State </State>
<Filename> Var( DirImage + "/bn_confirm.png" ) </Filename>
<FilenamePress> Var( DirImage + "/bp_confirm.png" )</FilenamePress>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
If GetAccFlag = 0 Then
Var PinNumber_New = PinNumber
Var CheckNewMember2 = CountryRootPath + "xml/page_check_newmember2.lxml"
Open CheckNewMember2
EndIf
</EventClick>
</Button>
<Image>
<X> 242 </X>
<Y> 830 </Y>
<Filename> Var( DirImage + "/img4.png" ) </Filename>
</Image>
<Image>
<X> 289 </X>
<Y> 870 </Y>
<State> ShowTextNumber1 </State>
<Refresh> "Enable" </Refresh>
<Filename> Var( DirImage + "/text_X.png" )</Filename>
</Image>
<Image>
<X> 446 </X>
<Y> 870 </Y>
<State> ShowTextNumber2 </State>
<Refresh> "Enable" </Refresh>
<Filename> Var( DirImage + "/text_X.png" )</Filename>
</Image>
<Image>
<X> 603 </X>
<Y> 870 </Y>
<State> ShowTextNumber3 </State>
<Refresh> "Enable" </Refresh>
<Filename> Var( DirImage + "/text_X.png" )</Filename>
</Image>
<Image>
<X> 758 </X>
<Y> 870 </Y>
<State> ShowTextNumber4 </State>
<Refresh> "Enable" </Refresh>
<Filename> Var( DirImage + "/text_X.png" )</Filename>
</Image>
<Image>
<X> 188 </X>
<Y> 640 </Y>
<Refresh> "Enable" </Refresh>
<State> ShowText </State>
<Filename> Var( DirImage + "/text_23.png" )</Filename>
</Image>
<Image>
<X> 188 </X>
<Y> 638 </Y>
<Refresh> "Enable" </Refresh>
<State> ShowErrorText </State>
<Filename> Var( DirImage + "/text_25.png") </Filename>
</Image>
<Button>
<X> 859 </X>
<Y> 628 </Y>
<Filename> Var( DirImage + "/Exit.png" ) </Filename>
<FilenamePress> Var( DirImage + "/Exit.png" )</FilenamePress>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var CheckMemberPage = CountryRootPath + "xml/page_check_member.lxml"
Open CheckMemberPage
</EventClick>
</Button>
<Video>
<X> 0 </X>
<Y> 0 </Y>
<Width> 1080</Width>
<Height> 380 </Height>
<Loop> "true" </Loop>
<Filename> video_menu_0 </Filename>
</Video>
<EventSecurity>
Open "/media/bt/xml/security_alarm.xml"
</EventSecurity>
</Popup>

View file

@ -0,0 +1,865 @@
<Popup>
<Cache> "Enable" </Cache>
<Width> 1080 </Width>
<Height> 1920 </Height>
<Background> "0xeae6e1" </Background>
<Volume> SoundVolume </Volume>
<Refresh> "Partial" </Refresh>
<EventOpen>
; On open
Var Timeout = 0
Var TimeoutSMS = 0
Var StateBGetSMS = "Enable"
Var ShowSentSmsText = "Invisible"
Var ShowTextNumber1 = "Invisible"
Var ShowTextNumber2 = "Invisible"
Var ShowTextNumber3 = "Invisible"
Var ShowTextNumber4 = "Invisible"
Var ShowText = "Enable"
Var ShowErrorText = "Invisible"
Var Tel_Confirm_State = "Invisible"
Var PinNumber = ""
Var ReqFlag = 0
Var DirImage = "ROOT/taobin_project/image/collectiing_en"
Var Xtext = 246
Var Ext1a = "ok"
Var GetAccFlag = 0
Var StepX = 0
PlayLong "/mnt/sdcard/coffeevending/taobin_project/sound_eng/Please_confirm_your_pin_again.mp3"
</EventOpen>
<Timeout> 1000 </Timeout>
<EventTimeout>
Var Timeout = Timeout + 1
If Timeout > 40 Then
Var CheckMemberPage = CountryRootPath + "xml/page_check_member.lxml"
Open CheckMemberPage
EndIf
TimerReset
Refresh
</EventTimeout>
<EventActionOk>
If StepX = 1 Then
If Ext1a = "ok" Then
Var TaobinName = Ext1d
Var TaobinCoupons = Ext1g
Var TaobinExpire = Ext1f
Var TaobinLevel = Ext1e
Var TNumberTaobinMemberXXX = TelephoneNumber
Var CoffeePointRank = Ext1b
INT CoffeePointRank
Var CoffeePointRankTmp = CoffeePointRank
GETACCEXT TelephoneNumber 15
Var StepX = 2
Var Ext1a = ""
Else
Var ShowErrorText = "Enable"
Var ShowText = "Invisible"
EndIf
Else
If StepX = 2 Then
Var PolygonST1 = "Invisible"
Var PolygonST2 = "Invisible"
Var CouponSTA = "Invisible"
Var CouponSTB = "Invisible"
Var CouponPage = 1
Var MakeDrinkState = 0
Var CouponInfo1 = Ext1a
Var CouponInfo2 = Ext1b
Var CouponInfo3 = Ext1c
Var CouponInfo4 = Ext1d
Var CouponInfo5 = Ext1e
Var CouponInfo6 = Ext1f
Var CouponInfo7 = Ext1g
Var CouponInfo8 = Ext1h
Var CouponInfo9 = Ext1i
Var CouponInfo10 = Ext1j
Var GetAccFlag = 0
Var CheckMemberPage2 = CountryRootPath + "xml/page_check_member2.lxml"
Open CheckMemberPage2
EndIf
EndIf
If GetAccFlag = 1 Then
Var GetAccFlag = 2
If Ext1a = "ok" Then
Var TaobinName = ""
Var TaobinCoupons = ""
Var TaobinExpire = ""
Var TaobinLevel = ""
Var TNumberTaobinMemberXXX = TelephoneNumber
Var CoffeePointRank = 0
INT CoffeePointRank
Var CoffeePointRankTmp = CoffeePointRank
Var PolygonST1 = "Invisible"
Var PolygonST2 = "Invisible"
Var CouponSTA = "Invisible"
Var CouponSTB = "Invisible"
Var CouponPage = 1
Var MakeDrinkState = 0
Var CouponInfo1 = ""
Var CouponInfo2 = ""
Var CouponInfo3 = ""
Var CouponInfo4 = ""
Var CouponInfo5 = ""
Var CouponInfo6 = ""
Var CouponInfo7 = ""
Var CouponInfo8 = ""
Var CouponInfo9 = ""
Var CouponInfo10 = ""
Var TaobinCredit = 0
GETACCEXT TelephoneNumber 14
Var StepX = 1
Var Ext1a = "ok"
;Open "ROOT/taobin_project/xml/page_check_member2.xml"
Else
Var ShowErrorText = "Enable"
Var ShowText = "Invisible"
Var ShowTextNumber1 = "Invisible"
Var ShowTextNumber2 = "Invisible"
Var ShowTextNumber3 = "Invisible"
Var ShowTextNumber4 = "Invisible"
Var PinNumber = ""
Var Tel_Confirm_State = "Invisible"
EndIf
EndIf
Refresh
</EventActionOk>
<EventActionError>
If GetAccFlag > 0 Then
Var ShowErrorText = "Enable"
Var ShowText = "Invisible"
Var GetAccFlag = 0
Var ShowTextNumber1 = "Invisible"
Var ShowTextNumber2 = "Invisible"
Var ShowTextNumber3 = "Invisible"
Var ShowTextNumber4 = "Invisible"
Var PinNumber = ""
Var Tel_Confirm_State = "Invisible"
EndIf
If StepX = 1 Then
Var ShowErrorText = "Enable"
Var ShowText = "Invisible"
EndIf
If StepX = 2 Then
Var ShowErrorText = "Enable"
Var ShowText = "Invisible"
EndIf
Refresh
</EventActionError>
<Image>
<X> 0 </X>
<Y> 380 </Y>
<Filename> "ROOT/taobin_project/image/collectiing/alpha.png" </Filename>
</Image>
<Image>
<X> 158 </X>
<Y> 601 </Y>
<Filename> "ROOT/taobin_project/image/collectiing/img_popup1.png" </Filename>
</Image>
<Button>
<X> 333 </X>
<Y> 1004 </Y>
<Filename> "ROOT/taobin_project/image/collectiing/bn_1.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_1.png" </FilenamePress>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var Timeout = 0
Var PinNumber = PinNumber + "1"
Var ShowTextNumber = "Invisible"
Trim PinNumber 4
StrLen PinNumber TelNumLen
If TelNumLen >= 4 Then
Var Tel_Confirm_State = "Enable"
EndIf
Var ShowErrorText = "Invisible"
Var ShowText = "Enable"
If TelNumLen > 0 Then
Var ShowTextNumber1 = "Enable"
EndIf
If TelNumLen > 1 Then
Var ShowTextNumber2= "Enable"
EndIf
If TelNumLen > 2 Then
Var ShowTextNumber3= "Enable"
EndIf
If TelNumLen > 3 Then
Var ShowTextNumber4= "Enable"
EndIf
Var ShowSentSmsText = "Invisible"
TimerReset
Refresh
</EventClick>
</Button>
<Button>
<X> 477 </X>
<Y> 1004 </Y>
<Filename> "ROOT/taobin_project/image/collectiing/bn_2.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_2.png" </FilenamePress>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var Timeout = 0
Var PinNumber = PinNumber + "2"
Var ShowTextNumber = "Invisible"
Trim PinNumber 4
StrLen PinNumber TelNumLen
If TelNumLen >= 4 Then
Var Tel_Confirm_State = "Enable"
EndIf
Var ShowErrorText = "Invisible"
Var ShowText = "Enable"
If TelNumLen > 0 Then
Var ShowTextNumber1 = "Enable"
EndIf
If TelNumLen > 1 Then
Var ShowTextNumber2= "Enable"
EndIf
If TelNumLen > 2 Then
Var ShowTextNumber3= "Enable"
EndIf
If TelNumLen > 3 Then
Var ShowTextNumber4= "Enable"
EndIf
Var ShowSentSmsText = "Invisible"
TimerReset
Refresh
</EventClick>
</Button>
<Button>
<X> 620 </X>
<Y> 1004 </Y>
<Filename> "ROOT/taobin_project/image/collectiing/bn_3.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_3.png" </FilenamePress>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var Timeout = 0
Var PinNumber = PinNumber + "3"
Var ShowTextNumber = "Invisible"
Trim PinNumber 4
StrLen PinNumber TelNumLen
If TelNumLen >= 4 Then
Var Tel_Confirm_State = "Enable"
EndIf
Var ShowErrorText = "Invisible"
Var ShowText = "Enable"
If TelNumLen > 0 Then
Var ShowTextNumber1 = "Enable"
EndIf
If TelNumLen > 1 Then
Var ShowTextNumber2= "Enable"
EndIf
If TelNumLen > 2 Then
Var ShowTextNumber3= "Enable"
EndIf
If TelNumLen > 3 Then
Var ShowTextNumber4= "Enable"
EndIf
Var ShowSentSmsText = "Invisible"
TimerReset
Refresh
</EventClick>
</Button>
<Button>
<X> 333 </X>
<Y> 1148 </Y>
<Filename> "ROOT/taobin_project/image/collectiing/bn_4.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_4.png" </FilenamePress>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var Timeout = 0
Var PinNumber = PinNumber + "4"
Var ShowTextNumber = "Invisible"
Trim PinNumber 4
StrLen PinNumber TelNumLen
If TelNumLen >= 4 Then
Var Tel_Confirm_State = "Enable"
EndIf
Var ShowErrorText = "Invisible"
Var ShowText = "Enable"
If TelNumLen > 0 Then
Var ShowTextNumber1 = "Enable"
EndIf
If TelNumLen > 1 Then
Var ShowTextNumber2= "Enable"
EndIf
If TelNumLen > 2 Then
Var ShowTextNumber3= "Enable"
EndIf
If TelNumLen > 3 Then
Var ShowTextNumber4= "Enable"
EndIf
Var ShowSentSmsText = "Invisible"
TimerReset
Refresh
</EventClick>
</Button>
<Button>
<X> 477 </X>
<Y> 1148 </Y>
<Filename> "ROOT/taobin_project/image/collectiing/bn_5.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_5.png" </FilenamePress>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var Timeout = 0
Var PinNumber = PinNumber + "5"
Var ShowTextNumber = "Invisible"
Trim PinNumber 4
StrLen PinNumber TelNumLen
If TelNumLen >= 4 Then
Var Tel_Confirm_State = "Enable"
EndIf
Var ShowErrorText = "Invisible"
Var ShowText = "Enable"
If TelNumLen > 0 Then
Var ShowTextNumber1 = "Enable"
EndIf
If TelNumLen > 1 Then
Var ShowTextNumber2= "Enable"
EndIf
If TelNumLen > 2 Then
Var ShowTextNumber3= "Enable"
EndIf
If TelNumLen > 3 Then
Var ShowTextNumber4= "Enable"
EndIf
Var ShowSentSmsText = "Invisible"
TimerReset
Refresh
</EventClick>
</Button>
<Button>
<X> 620 </X>
<Y> 1148 </Y>
<Filename> "ROOT/taobin_project/image/collectiing/bn_6.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_6.png" </FilenamePress>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var Timeout = 0
Var PinNumber = PinNumber + "6"
Var ShowTextNumber = "Invisible"
Trim PinNumber 4
StrLen PinNumber TelNumLen
If TelNumLen >= 4 Then
Var Tel_Confirm_State = "Enable"
EndIf
Var ShowErrorText = "Invisible"
Var ShowText = "Enable"
If TelNumLen > 0 Then
Var ShowTextNumber1 = "Enable"
EndIf
If TelNumLen > 1 Then
Var ShowTextNumber2= "Enable"
EndIf
If TelNumLen > 2 Then
Var ShowTextNumber3= "Enable"
EndIf
If TelNumLen > 3 Then
Var ShowTextNumber4= "Enable"
EndIf
Var ShowSentSmsText = "Invisible"
TimerReset
Refresh
</EventClick>
</Button>
<Button>
<X> 333 </X>
<Y> 1292 </Y>
<Filename> "ROOT/taobin_project/image/collectiing/bn_7.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_7.png" </FilenamePress>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var Timeout = 0
Var PinNumber = PinNumber + "7"
Var ShowTextNumber = "Invisible"
Trim PinNumber 4
StrLen PinNumber TelNumLen
If TelNumLen >= 4 Then
Var Tel_Confirm_State = "Enable"
EndIf
Var ShowErrorText = "Invisible"
Var ShowText = "Enable"
If TelNumLen > 0 Then
Var ShowTextNumber1 = "Enable"
EndIf
If TelNumLen > 1 Then
Var ShowTextNumber2= "Enable"
EndIf
If TelNumLen > 2 Then
Var ShowTextNumber3= "Enable"
EndIf
If TelNumLen > 3 Then
Var ShowTextNumber4= "Enable"
EndIf
Var ShowSentSmsText = "Invisible"
TimerReset
Refresh
</EventClick>
</Button>
<Button>
<X> 477 </X>
<Y> 1292 </Y>
<Filename> "ROOT/taobin_project/image/collectiing/bn_8.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_8.png" </FilenamePress>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var Timeout = 0
Var PinNumber = PinNumber + "8"
Var ShowTextNumber = "Invisible"
Trim PinNumber 4
StrLen PinNumber TelNumLen
If TelNumLen >= 4 Then
Var Tel_Confirm_State = "Enable"
EndIf
Var ShowErrorText = "Invisible"
Var ShowText = "Enable"
If TelNumLen > 0 Then
Var ShowTextNumber1 = "Enable"
EndIf
If TelNumLen > 1 Then
Var ShowTextNumber2= "Enable"
EndIf
If TelNumLen > 2 Then
Var ShowTextNumber3= "Enable"
EndIf
If TelNumLen > 3 Then
Var ShowTextNumber4= "Enable"
EndIf
Var ShowSentSmsText = "Invisible"
TimerReset
Refresh
</EventClick>
</Button>
<Button>
<X> 620 </X>
<Y> 1292 </Y>
<Filename> "ROOT/taobin_project/image/collectiing/bn_9.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_9.png" </FilenamePress>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var Timeout = 0
Var PinNumber = PinNumber + "9"
Var ShowTextNumber = "Invisible"
Trim PinNumber 4
StrLen PinNumber TelNumLen
If TelNumLen >= 4 Then
Var Tel_Confirm_State = "Enable"
EndIf
Var ShowErrorText = "Invisible"
Var ShowText = "Enable"
If TelNumLen > 0 Then
Var ShowTextNumber1 = "Enable"
EndIf
If TelNumLen > 1 Then
Var ShowTextNumber2= "Enable"
EndIf
If TelNumLen > 2 Then
Var ShowTextNumber3= "Enable"
EndIf
If TelNumLen > 3 Then
Var ShowTextNumber4= "Enable"
EndIf
Var ShowSentSmsText = "Invisible"
TimerReset
Refresh
</EventClick>
</Button>
<Button>
<X> 477 </X>
<Y> 1432 </Y>
<Filename> "ROOT/taobin_project/image/collectiing/bn_0.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_0.png" </FilenamePress>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var Timeout = 0
Var PinNumber = PinNumber + "0"
Trim PinNumber 4
StrLen PinNumber TelNumLen
If TelNumLen >= 4 Then
Var Tel_Confirm_State = "Enable"
EndIf
Var ShowTextNumber = "Invisible"
Var ShowErrorText = "Invisible"
Var ShowText = "Enable"
If TelNumLen > 0 Then
Var ShowTextNumber1 = "Enable"
EndIf
If TelNumLen > 1 Then
Var ShowTextNumber2= "Enable"
EndIf
If TelNumLen > 2 Then
Var ShowTextNumber3= "Enable"
EndIf
If TelNumLen > 3 Then
Var ShowTextNumber4= "Enable"
EndIf
Var ShowSentSmsText = "Invisible"
TimerReset
Refresh
</EventClick>
</Button>
<Button>
<X> 620 </X>
<Y> 1432 </Y>
<Filename> "ROOT/taobin_project/image/collectiing/bn_back-1.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_back-1.png" </FilenamePress>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var Timeout = 0
Trim PinNumber -1
Var Tel_Confirm_State = "Invisible"
StrLen PinNumber TelNumLen
If TelNumLen = 0 Then
Var ShowTextNumber = "Enable"
EndIf
;Var ShowErrorText = "Invisible"
TimerReset
Refresh
If TelNumLen < 1 Then
Var ShowTextNumber1 = "Invisible"
EndIf
If TelNumLen < 2 Then
Var ShowTextNumber2= "Invisible"
EndIf
If TelNumLen < 3 Then
Var ShowTextNumber3= "Invisible"
EndIf
If TelNumLen < 4 Then
Var ShowTextNumber4= "Invisible"
EndIf
Var ShowSentSmsText = "Invisible"
Var ShowErrorText = "Invisible"
Var ShowText = "Enable"
TimerReset
Refresh
</EventClick>
</Button>
<Button>
<X> 398 </X>
<Y> 1600 </Y>
<Refresh> "Enable" </Refresh>
<State> Tel_Confirm_State </State>
<Filename> Var( DirImage + "/bn_confirm.png" ) </Filename>
<FilenamePress> Var( DirImage + "/bp_confirm.png" )</FilenamePress>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
If GetAccFlag = 0 Then
If PinNumber_New = PinNumber Then
Var BmiYear = PinNumber_New
Var PointCrm = ""
Var GetScore = "setPin"
AddData 21 TelephoneNumber BmiYear PointCrm GetScore
Var GetAccFlag = 1
Else
Var ShowErrorText = "Enable"
Var ShowText = "Invisible"
Var GetAccFlag = 0
Var ShowTextNumber1 = "Invisible"
Var ShowTextNumber2 = "Invisible"
Var ShowTextNumber3 = "Invisible"
Var ShowTextNumber4 = "Invisible"
Var PinNumber = ""
Var Tel_Confirm_State = "Invisible"
EndIf
EndIf
</EventClick>
</Button>
<Image>
<X> 242 </X>
<Y> 830 </Y>
<Filename> Var( DirImage + "/img4.png" ) </Filename>
</Image>
<Image>
<X> 289 </X>
<Y> 870 </Y>
<State> ShowTextNumber1 </State>
<Refresh> "Enable" </Refresh>
<Filename> Var( DirImage + "/text_X.png" )</Filename>
</Image>
<Image>
<X> 446 </X>
<Y> 870 </Y>
<State> ShowTextNumber2 </State>
<Refresh> "Enable" </Refresh>
<Filename> Var( DirImage + "/text_X.png" )</Filename>
</Image>
<Image>
<X> 603 </X>
<Y> 870 </Y>
<State> ShowTextNumber3 </State>
<Refresh> "Enable" </Refresh>
<Filename> Var( DirImage + "/text_X.png" )</Filename>
</Image>
<Image>
<X> 758 </X>
<Y> 870 </Y>
<State> ShowTextNumber4 </State>
<Refresh> "Enable" </Refresh>
<Filename> Var( DirImage + "/text_X.png" )</Filename>
</Image>
<Image>
<X> 188 </X>
<Y> 640 </Y>
<Refresh> "Enable" </Refresh>
<State> ShowText </State>
<Filename> Var( DirImage + "/text_30.png" )</Filename>
</Image>
<Image>
<X> 188 </X>
<Y> 638 </Y>
<Refresh> "Enable" </Refresh>
<State> ShowErrorText </State>
<Filename> Var( DirImage + "/text_25.png") </Filename>
</Image>
<Button>
<X> 859 </X>
<Y> 628 </Y>
<Filename> Var( DirImage + "/Exit.png" ) </Filename>
<FilenamePress> Var( DirImage + "/Exit.png" )</FilenamePress>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var CheckMemberPage = CountryRootPath + "xml/page_check_member.lxml"
Open CheckMemberPage
</EventClick>
</Button>
<Video>
<X> 0 </X>
<Y> 0 </Y>
<Width> 1080</Width>
<Height> 380 </Height>
<Loop> "true" </Loop>
<Filename> video_menu_0 </Filename>
</Video>
<EventSecurity>
Open "/media/bt/xml/security_alarm.xml"
</EventSecurity>
</Popup>

View file

@ -0,0 +1,370 @@
<Popup>
<Cache> "Enable" </Cache>
<Width> 1080 </Width>
<Height> 1920 </Height>
<Background> "0xeae6e1" </Background>
<Volume> SoundVolume </Volume>
<EventOpen>
; On open
Var Timeout = 0
Var SumCreditAmount = TaobinCredit
Var CashlessPayFlag = 0
Var LOADING_STATE = "Invisible"
Var alphaState = "Invisible"
Var PayAmount = 0
Var AdditionalAmount = 0
Var ChangeOK = 0
Var QRErrorState = "Invisible"
Var DirImage = "ROOT/taobin_project/image/page_payment_en/page_payment"
Var DirImage2 = "ROOT/taobin_project/inter/aus/image/page_member_topup"
Var page_doing_show_time_image = "ROOT/taobin_project/image/page_doing/img2.png"
Var show_btp = "ROOT/taobin_project/image/bn_thai_lang_press.png"
Var show_btn = "ROOT/taobin_project/image/bn_thai_lang.png"
Var text_4 = "/text_4-AUS.png"
Var PayCreditChannel = "credit-card"
Var OptionAmount1 = 2900
Var OptionAmount2 = 3900
Var OptionAmount3 = 4900
Var AmountAdditionCredit1 = 0
Var AmountAdditionCredit2 = 0
Var AmountAdditionCredit3 = 0
; Enable / Disable promotion additional credit
Var PromotionAdditionCredit = 1
If PromotionAdditionCredit = 1 Then
Var AmountAdditionCredit1 = 300
Var AmountAdditionCredit2 = 500
Var AmountAdditionCredit3 = 800
EndIf
INT TaobinCredit
Var TaobinCreditStr !assigned StringFmt( TaobinCredit, DisplayFormat, PreScaleConvertShow )
</EventOpen>
<Timeout> 1000 </Timeout>
<EventTimeout>
Var Timeout = Timeout + 1
If Timeout > 30 Then
Var alphaState = "Invisible"
Var LOADING_STATE = "Invisible"
Var QRErrorState = "Invisible"
If CashlessPayFlag = 1 Then
Var CashlessPayFlag = 0
CashlessReq FAIL
Else
CashlessReq OFF
EndIf
Var CheckMemberPage2 = CountryRootPath + "xml/page_check_member2.lxml"
Open CheckMemberPage2
EndIf
TimerReset
Refresh
</EventTimeout>
<EventSecurity>
Open "/media/bt/xml/security_alarm.xml"
</EventSecurity>
<EventActionOk>
If VendingCashless = "OK" Then
CashlessReq SUCCESS
Var ToppupSuccessPage = CountryRootPath + "xml/page_member_topupSuccess.lxml"
Open ToppupSuccessPage
EndIf
</EventActionOk>
<EventActionError>
If VendingCashless = "ERROR" Then
Var Timeout = 0
;Var QRErrorFlag = 1
If alphaState = "Enable" Then
Var QRErrorState = "Enable"
Var LOADING_STATE = "Invisible"
EndIf
CashlessReq FAIL
EndIf
Refresh
</EventActionError>
<EventCashlessCard>
Var CreditCardRef = ""
GenHashWithTimeStamp CreditCardRef
DEBUGVAR VendingCashless
If VendingCashless = "READY" Then
Var Timeout = 0
Var QRErrorState = "Invisible"
Var QR_POPUP = "/img_popup8-2.png"
Var VendingCashless = "-"
Var LOADING_STATE = "Enable"
Var alphaState = "Enable"
Var TopupAmount = PayAmount
Var PromoAmount = AdditionalAmount
CashlessPayV2 TopupAmount CreditCardRef PromoAmount
Var CashlessPayFlag = 1
EndIf
Refresh
</EventCashlessCard>
<Video>
<X> 0 </X>
<Y> 0 </Y>
<Width> 1080</Width>
<Height> 380 </Height>
<Loop> "true" </Loop>
<Filename> video_menu_0 </Filename>
</Video>
<Image>
<X> 70 </X>
<Y> 499 </Y>
<Filename> Var( DirImage + "/text_3.png" )</Filename>
</Image>
<Image>
<X> 252 </X>
<Y> 1223 </Y>
<Filename> Var( DirImage + text_4 )</Filename>
</Image>
<Text>
<X> 0 </X>
<Y> 1280 </Y>
<Size> 120 </Size>
<Align> Center </Align>
<Width> 1080 </Width>
<Font> KanitRegularTTF </Font>
<Color> 0xDE794E </Color>
<Value> TaobinCreditStr </Value>
</Text>
<Button>
<X> 287 </X>
<Y> 670 </Y>
<Filename> Var( DirImage2 + "/bn_topup_29.png") </Filename>
<FilenamePress> Var( DirImage2 + "/bp_topup_29.png") </FilenamePress>
<FilenameDisable> Var( DirImage2 + "/bp_topup_29.png") </FilenameDisable>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var PayAmount = OptionAmount1
Var Timeout = 0
If PromotionAdditionCredit = 1 Then
Var AdditionalAmount = AmountAdditionCredit1
EndIf
If alphaState = "Invisible" Then
Var QR_POPUP = "/img_popup8.png"
Var alphaState = "Enable"
Coin CARD
EndIf
</EventClick>
</Button>
<Button>
<X> 287 </X>
<Y> 800 </Y>
<Filename> Var( DirImage2 + "/bn_topup_39.png") </Filename>
<FilenamePress> Var( DirImage2 + "/bp_topup_39.png") </FilenamePress>
<FilenameDisable> Var( DirImage2 + "/bp_topup_39.png") </FilenameDisable>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var PayAmount = OptionAmount2
Var Timeout = 0
If PromotionAdditionCredit = 1 Then
Var AdditionalAmount = AmountAdditionCredit2
EndIf
If alphaState = "Invisible" Then
Var QR_POPUP = "/img_popup8.png"
Var alphaState = "Enable"
Coin CARD
EndIf
</EventClick>
</Button>
<Button>
<X> 287 </X>
<Y> 930 </Y>
<Filename> Var( DirImage2 + "/bn_topup_49.png") </Filename>
<FilenamePress> Var( DirImage2 + "/bp_topup_49.png") </FilenamePress>
<FilenameDisable> Var( DirImage2 + "/bp_topup_49.png") </FilenameDisable>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var PayAmount = OptionAmount3
Var Timeout = 0
If PromotionAdditionCredit = 1 Then
Var AdditionalAmount = AmountAdditionCredit3
EndIf
If alphaState = "Invisible" Then
Var QR_POPUP = "/img_popup8.png"
Var alphaState = "Enable"
Coin CARD
EndIf
</EventClick>
</Button>
<Button>
<X> 397 </X>
<Y> 1622 </Y>
<Filename> Var( DirImage + "/bn_cancel2.png" )</Filename>
<FilenamePress> Var( DirImage + "/bp_cancel2.png" )</FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
If CashlessPayFlag = 1 Then
Var CashlessPayFlag = 0
CashlessReq FAIL
EndIf
Var CheckMemberPage2 = CountryRootPath + "xml/page_check_member2.lxml"
Open CheckMemberPage2
</EventClick>
</Button>
; QR popup
<Image>
<X> 0 </X>
<Y> 380 </Y>
<State> alphaState </State>
<Filename> "ROOT/taobin_project/image/page_payment/alpha.png" </Filename>
</Image>
<Image>
<X> 249 </X>
<Y> 748 </Y>
<State> alphaState </State>
<Filename> Var( DirImage + QR_POPUP )</Filename>
</Image>
<Image>
<X> 267 </X>
<Y> 1065 </Y>
<State> LOADING_STATE </State>
<Filename> Var( DirImage + "/loadingText.png" )</Filename>
</Image>
<GIF>
<X> 493 </X>
<Y> 968 </Y>
<Width> 94 </Width>
<Height> 94 </Height>
<State> LOADING_STATE </State>
<Filename> Var( DirImage + "/loading.gif" )</Filename>
</GIF>
<Button>
<X> 438 </X>
<Y> 1345 </Y>
<State> alphaState </State>
<Filename> Var( DirImage + "/bn_cancel.png" )</Filename>
<FilenamePress> Var( DirImage + "/bp_cancel.png" )</FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var LOADING_STATE = "Invisible"
Var QRErrorState = "Invisible"
Var alphaState = "Invisible"
CashlessReq OFF
If CashlessPayFlag = 1 Then
Var CashlessPayFlag = 0
CashlessReq FAIL
EndIf
DEBUGVAR LOADING_STATE
DEBUGVAR QRErrorState
DEBUGVAR alphaState
Refresh
</EventClick>
</Button>
<Button>
<X> 267 </X>
<Y> 960 </Y>
<State>QRErrorState</State>
<Filename> Var( DirImage + "/QRError.png" ) </Filename>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
</EventClick>
</Button>
<EventUnitTest4>
Var MemberToppupSuccessPage = CountryRootPath + "xml/page_member_topupSuccess.lxml"
Open MemberToppupSuccessPage
</EventUnitTest4>
</Popup>

View file

@ -0,0 +1,168 @@
<Popup>
<Cache> "Enable" </Cache>
<Width> 1080 </Width>
<Height> 1920 </Height>
<Background> "0xeae6e1" </Background>
<Volume> SoundVolume </Volume>
<EventOpen>
; On open
Var Timeout = 0
DEBUGVAR PayAmount
DEBUGVAR PromotionAdditionCredit
DEBUGVAR AdditionalAmount
DEBUGVAR TaobinCredit
INT TaobinCredit
INT PayAmount
INT AdditionalAmount
Var SumCreditAmount = TaobinCredit + PayAmount
Var SumCreditAmount = SumCreditAmount + AdditionalAmount
Var ServiceAmount2 = PayAmount
Var ServiceCharge = 0
Var Donate = ""
Var SuggestID = ""
Var SumCreditAmountStr !assigned StringFmt( SumCreditAmount, DisplayFormat, PreScaleConvertShow )
Var text_4 = "/text_4-AUS.png"
Var DirImage = "ROOT/taobin_project/image/page_payment_en/page_payment"
Var DirImage2 = "ROOT/taobin_project/image/page_payment_cash_extend_en"
Var page_doing_show_time_image = "ROOT/taobin_project/image/page_doing/img2.png"
Var show_btp = "ROOT/taobin_project/image/bn_thai_lang_press.png"
Var show_btn = "ROOT/taobin_project/image/bn_thai_lang.png"
Var FlagPayCredit = 1
Var ExitState = "Disable"
</EventOpen>
<Timeout> 1000 </Timeout>
<EventTimeout>
If Timeout > 1 Then
If FlagPayCredit = 1 Then
If PayCreditChannel = "credit-card" Then
Var TelephoneNumber = TelephoneNumber
Var VendingDiscount = 0
Var VendingCampaign = 0
Var ServiceType = "credit"
Var SessionID2 = "00-00-00-0000"
Var ServiceCredit = "coffee"
Pay ServiceType TelephoneNumber ServiceCredit SuggestID SessionID2 ServiceAmount2 ServiceCharge Donate
Var FlagPayCredit = 0
EndIf
EndIf
Var ExitState = "Enable"
EndIf
Var Timeout = Timeout + 1
If Timeout > 30 Then
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
EndIf
TimerReset
Refresh
</EventTimeout>
<EventSecurity>
Open "/media/bt/xml/security_alarm.xml"
</EventSecurity>
<EventActionOk>
</EventActionOk>
<EventMachine>
</EventMachine>
<Video>
<X> 0 </X>
<Y> 0 </Y>
<Width> 1080</Width>
<Height> 380 </Height>
<Loop> "true" </Loop>
<Filename> video_menu_0 </Filename>
</Video>
<Image>
<X> 70 </X>
<Y> 741 </Y>
<Filename> Var( DirImage + "/PaymentSuccess.png" )</Filename>
</Image>
<Image>
<X> 252 </X>
<Y> 1053 </Y>
<Filename> Var( DirImage + text_4 )</Filename>
</Image>
<Text>
<X> 0 </X>
<Y> 1123 </Y>
<Size> 120 </Size>
<Align> Center </Align>
<Width> 1080 </Width>
<Font> KanitRegularTTF </Font>
<Color> 0xDE794E </Color>
<Value> SumCreditAmountStr </Value>
</Text>
<Button>
<X> 99 </X>
<Y> 1688 </Y>
<State> ExitState </State>
<Filename> Var( DirImage + "/bn_main.png" )</Filename>
<FilenamePress> Var( DirImage + "/bp_main.png" )</FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
If Timeout > 2 Then
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
EndIf
</EventClick>
</Button>
<Button>
<X> 695 </X>
<Y> 1688 </Y>
<State> ExitState </State>
<Filename> Var( DirImage + "/bn_drink.png" )</Filename>
<FilenamePress> Var( DirImage + "/bp_drink.png" )</FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
If Timeout > 2 Then
Open "ROOT/taobin_project/xml/page_catalog.xml"
EndIf
</EventClick>
</Button>
</Popup>

View file

@ -0,0 +1,761 @@
<Popup>
<Cache> "Enable" </Cache>
<Width> 1080 </Width>
<Height> 1920 </Height>
<Background> "0xeae6e1" </Background>
<Volume> SoundVolume </Volume>
<Refresh> "Partial" </Refresh>
<EventOpen>
; On open
Var Timeout = 0
Var TimeoutSMS = 0
Var StateBGetSMS = "Enable"
Var ShowSentSmsText = "Invisible"
Var ShowTextNumber1 = "Invisible"
Var ShowTextNumber2 = "Invisible"
Var ShowTextNumber3 = "Invisible"
Var ShowTextNumber4 = "Invisible"
Var ShowText = "Enable"
Var ShowErrorText = "Invisible"
Var Tel_Confirm_State = "Invisible"
Var PinNumber = ""
Var ReqFlag = 0
Var DirImage = "ROOT/taobin_project/image/collectiing_en"
Var Xtext = 246
Var Ext1a = ""
Var GetAccFlag = 0
</EventOpen>
<Timeout> 1000 </Timeout>
<EventTimeout>
Var Timeout = Timeout + 1
If Timeout > 30 Then
Var CheckMemberPage2 = CountryRootPath + "xml/page_check_member2.lxml"
Open CheckMemberPage2
EndIf
TimerReset
Refresh
</EventTimeout>
<EventActionOk>
If GetAccFlag = 1 Then
If Ext1a = "ok" Then
Var ChangePinPage2 = CountryRootPath + "xml/page_payment_changePin2.lxml"
Open ChangePinPage2
Else
Var ShowErrorText = "Enable"
Var ShowText = "Invisible"
Var GetAccFlag = 0
Var ShowTextNumber1 = "Invisible"
Var ShowTextNumber2 = "Invisible"
Var ShowTextNumber3 = "Invisible"
Var ShowTextNumber4 = "Invisible"
Var PinNumber = ""
Var Tel_Confirm_State = "Invisible"
EndIf
EndIf
Refresh
</EventActionOk>
<EventActionError>
If GetAccFlag = 1 Then
Var ShowErrorText = "Enable"
Var ShowText = "Invisible"
Var GetAccFlag = 0
Var ShowTextNumber1 = "Invisible"
Var ShowTextNumber2 = "Invisible"
Var ShowTextNumber3 = "Invisible"
Var ShowTextNumber4 = "Invisible"
Var PinNumber = ""
Var Tel_Confirm_State = "Invisible"
EndIf
Refresh
</EventActionError>
<Image>
<X> 0 </X>
<Y> 380 </Y>
<Filename> "ROOT/taobin_project/image/collectiing/alpha.png" </Filename>
</Image>
<Image>
<X> 158 </X>
<Y> 601 </Y>
<Filename> "ROOT/taobin_project/image/collectiing/img_popup1.png" </Filename>
</Image>
<Button>
<X> 333 </X>
<Y> 1004 </Y>
<Filename> "ROOT/taobin_project/image/collectiing/bn_1.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_1.png" </FilenamePress>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var Timeout = 0
Var PinNumber = PinNumber + "1"
Var ShowTextNumber = "Invisible"
Trim PinNumber 4
StrLen PinNumber TelNumLen
If TelNumLen >= 4 Then
Var Tel_Confirm_State = "Enable"
EndIf
Var ShowErrorText = "Invisible"
Var ShowText = "Enable"
If TelNumLen > 0 Then
Var ShowTextNumber1 = "Enable"
EndIf
If TelNumLen > 1 Then
Var ShowTextNumber2= "Enable"
EndIf
If TelNumLen > 2 Then
Var ShowTextNumber3= "Enable"
EndIf
If TelNumLen > 3 Then
Var ShowTextNumber4= "Enable"
EndIf
Var ShowSentSmsText = "Invisible"
TimerReset
Refresh
</EventClick>
</Button>
<Button>
<X> 477 </X>
<Y> 1004 </Y>
<Filename> "ROOT/taobin_project/image/collectiing/bn_2.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_2.png" </FilenamePress>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var Timeout = 0
Var PinNumber = PinNumber + "2"
Var ShowTextNumber = "Invisible"
Trim PinNumber 4
StrLen PinNumber TelNumLen
If TelNumLen >= 4 Then
Var Tel_Confirm_State = "Enable"
EndIf
Var ShowErrorText = "Invisible"
Var ShowText = "Enable"
If TelNumLen > 0 Then
Var ShowTextNumber1 = "Enable"
EndIf
If TelNumLen > 1 Then
Var ShowTextNumber2= "Enable"
EndIf
If TelNumLen > 2 Then
Var ShowTextNumber3= "Enable"
EndIf
If TelNumLen > 3 Then
Var ShowTextNumber4= "Enable"
EndIf
Var ShowSentSmsText = "Invisible"
TimerReset
Refresh
</EventClick>
</Button>
<Button>
<X> 620 </X>
<Y> 1004 </Y>
<Filename> "ROOT/taobin_project/image/collectiing/bn_3.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_3.png" </FilenamePress>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var Timeout = 0
Var PinNumber = PinNumber + "3"
Var ShowTextNumber = "Invisible"
Trim PinNumber 4
StrLen PinNumber TelNumLen
If TelNumLen >= 4 Then
Var Tel_Confirm_State = "Enable"
EndIf
Var ShowErrorText = "Invisible"
Var ShowText = "Enable"
If TelNumLen > 0 Then
Var ShowTextNumber1 = "Enable"
EndIf
If TelNumLen > 1 Then
Var ShowTextNumber2= "Enable"
EndIf
If TelNumLen > 2 Then
Var ShowTextNumber3= "Enable"
EndIf
If TelNumLen > 3 Then
Var ShowTextNumber4= "Enable"
EndIf
Var ShowSentSmsText = "Invisible"
TimerReset
Refresh
</EventClick>
</Button>
<Button>
<X> 333 </X>
<Y> 1148 </Y>
<Filename> "ROOT/taobin_project/image/collectiing/bn_4.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_4.png" </FilenamePress>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var Timeout = 0
Var PinNumber = PinNumber + "4"
Var ShowTextNumber = "Invisible"
Trim PinNumber 4
StrLen PinNumber TelNumLen
If TelNumLen >= 4 Then
Var Tel_Confirm_State = "Enable"
EndIf
Var ShowErrorText = "Invisible"
Var ShowText = "Enable"
If TelNumLen > 0 Then
Var ShowTextNumber1 = "Enable"
EndIf
If TelNumLen > 1 Then
Var ShowTextNumber2= "Enable"
EndIf
If TelNumLen > 2 Then
Var ShowTextNumber3= "Enable"
EndIf
If TelNumLen > 3 Then
Var ShowTextNumber4= "Enable"
EndIf
Var ShowSentSmsText = "Invisible"
TimerReset
Refresh
</EventClick>
</Button>
<Button>
<X> 477 </X>
<Y> 1148 </Y>
<Filename> "ROOT/taobin_project/image/collectiing/bn_5.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_5.png" </FilenamePress>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var Timeout = 0
Var PinNumber = PinNumber + "5"
Var ShowTextNumber = "Invisible"
Trim PinNumber 4
StrLen PinNumber TelNumLen
If TelNumLen >= 4 Then
Var Tel_Confirm_State = "Enable"
EndIf
Var ShowErrorText = "Invisible"
Var ShowText = "Enable"
If TelNumLen > 0 Then
Var ShowTextNumber1 = "Enable"
EndIf
If TelNumLen > 1 Then
Var ShowTextNumber2= "Enable"
EndIf
If TelNumLen > 2 Then
Var ShowTextNumber3= "Enable"
EndIf
If TelNumLen > 3 Then
Var ShowTextNumber4= "Enable"
EndIf
Var ShowSentSmsText = "Invisible"
TimerReset
Refresh
</EventClick>
</Button>
<Button>
<X> 620 </X>
<Y> 1148 </Y>
<Filename> "ROOT/taobin_project/image/collectiing/bn_6.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_6.png" </FilenamePress>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var Timeout = 0
Var PinNumber = PinNumber + "6"
Var ShowTextNumber = "Invisible"
Trim PinNumber 4
StrLen PinNumber TelNumLen
If TelNumLen >= 4 Then
Var Tel_Confirm_State = "Enable"
EndIf
Var ShowErrorText = "Invisible"
Var ShowText = "Enable"
If TelNumLen > 0 Then
Var ShowTextNumber1 = "Enable"
EndIf
If TelNumLen > 1 Then
Var ShowTextNumber2= "Enable"
EndIf
If TelNumLen > 2 Then
Var ShowTextNumber3= "Enable"
EndIf
If TelNumLen > 3 Then
Var ShowTextNumber4= "Enable"
EndIf
Var ShowSentSmsText = "Invisible"
TimerReset
Refresh
</EventClick>
</Button>
<Button>
<X> 333 </X>
<Y> 1292 </Y>
<Filename> "ROOT/taobin_project/image/collectiing/bn_7.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_7.png" </FilenamePress>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var Timeout = 0
Var PinNumber = PinNumber + "7"
Var ShowTextNumber = "Invisible"
Trim PinNumber 4
StrLen PinNumber TelNumLen
If TelNumLen >= 4 Then
Var Tel_Confirm_State = "Enable"
EndIf
Var ShowErrorText = "Invisible"
Var ShowText = "Enable"
If TelNumLen > 0 Then
Var ShowTextNumber1 = "Enable"
EndIf
If TelNumLen > 1 Then
Var ShowTextNumber2= "Enable"
EndIf
If TelNumLen > 2 Then
Var ShowTextNumber3= "Enable"
EndIf
If TelNumLen > 3 Then
Var ShowTextNumber4= "Enable"
EndIf
Var ShowSentSmsText = "Invisible"
TimerReset
Refresh
</EventClick>
</Button>
<Button>
<X> 477 </X>
<Y> 1292 </Y>
<Filename> "ROOT/taobin_project/image/collectiing/bn_8.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_8.png" </FilenamePress>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var Timeout = 0
Var PinNumber = PinNumber + "8"
Var ShowTextNumber = "Invisible"
Trim PinNumber 4
StrLen PinNumber TelNumLen
If TelNumLen >= 4 Then
Var Tel_Confirm_State = "Enable"
EndIf
Var ShowErrorText = "Invisible"
Var ShowText = "Enable"
If TelNumLen > 0 Then
Var ShowTextNumber1 = "Enable"
EndIf
If TelNumLen > 1 Then
Var ShowTextNumber2= "Enable"
EndIf
If TelNumLen > 2 Then
Var ShowTextNumber3= "Enable"
EndIf
If TelNumLen > 3 Then
Var ShowTextNumber4= "Enable"
EndIf
Var ShowSentSmsText = "Invisible"
TimerReset
Refresh
</EventClick>
</Button>
<Button>
<X> 620 </X>
<Y> 1292 </Y>
<Filename> "ROOT/taobin_project/image/collectiing/bn_9.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_9.png" </FilenamePress>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var Timeout = 0
Var PinNumber = PinNumber + "9"
Var ShowTextNumber = "Invisible"
Trim PinNumber 4
StrLen PinNumber TelNumLen
If TelNumLen >= 4 Then
Var Tel_Confirm_State = "Enable"
EndIf
Var ShowErrorText = "Invisible"
Var ShowText = "Enable"
If TelNumLen > 0 Then
Var ShowTextNumber1 = "Enable"
EndIf
If TelNumLen > 1 Then
Var ShowTextNumber2= "Enable"
EndIf
If TelNumLen > 2 Then
Var ShowTextNumber3= "Enable"
EndIf
If TelNumLen > 3 Then
Var ShowTextNumber4= "Enable"
EndIf
Var ShowSentSmsText = "Invisible"
TimerReset
Refresh
</EventClick>
</Button>
<Button>
<X> 477 </X>
<Y> 1432 </Y>
<Filename> "ROOT/taobin_project/image/collectiing/bn_0.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_0.png" </FilenamePress>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var Timeout = 0
Var PinNumber = PinNumber + "0"
Trim PinNumber 4
StrLen PinNumber TelNumLen
If TelNumLen >= 4 Then
Var Tel_Confirm_State = "Enable"
EndIf
Var ShowTextNumber = "Invisible"
Var ShowErrorText = "Invisible"
Var ShowText = "Enable"
If TelNumLen > 0 Then
Var ShowTextNumber1 = "Enable"
EndIf
If TelNumLen > 1 Then
Var ShowTextNumber2= "Enable"
EndIf
If TelNumLen > 2 Then
Var ShowTextNumber3= "Enable"
EndIf
If TelNumLen > 3 Then
Var ShowTextNumber4= "Enable"
EndIf
Var ShowSentSmsText = "Invisible"
TimerReset
Refresh
</EventClick>
</Button>
<Button>
<X> 620 </X>
<Y> 1432 </Y>
<Filename> "ROOT/taobin_project/image/collectiing/bn_back-1.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_back-1.png" </FilenamePress>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var Timeout = 0
Trim PinNumber -1
Var Tel_Confirm_State = "Invisible"
StrLen PinNumber TelNumLen
If TelNumLen = 0 Then
Var ShowTextNumber = "Enable"
EndIf
;Var ShowErrorText = "Invisible"
TimerReset
Refresh
If TelNumLen < 1 Then
Var ShowTextNumber1 = "Invisible"
EndIf
If TelNumLen < 2 Then
Var ShowTextNumber2= "Invisible"
EndIf
If TelNumLen < 3 Then
Var ShowTextNumber3= "Invisible"
EndIf
If TelNumLen < 4 Then
Var ShowTextNumber4= "Invisible"
EndIf
Var ShowSentSmsText = "Invisible"
Var ShowErrorText = "Invisible"
Var ShowText = "Enable"
TimerReset
Refresh
</EventClick>
</Button>
<Button>
<X> 188 </X>
<Y> 1600 </Y>
<Filename> Var( DirImage + "/bn_getSMSPage.png") </Filename>
<FilenamePress> Var( DirImage + "/bp_getSMSPage.png") </FilenamePress>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var BmiYear = ""
Var PointCrm = ""
Var GetScore = ""
AddData 13 TelephoneNumber BmiYear PointCrm GetScore
Var PinSMSFlag = 0
Var ChangePinPageSMS = CountryRootPath + "xml/page_payment_changePinSMS.lxml"
Open ChangePinPageSMS
</EventClick>
</Button>
<Button>
<X> 616 </X>
<Y> 1600 </Y>
<Refresh> "Enable" </Refresh>
<State> Tel_Confirm_State </State>
<Filename> Var( DirImage + "/bn_continue.png" ) </Filename>
<FilenamePress> Var( DirImage + "/bp_continue.png" )</FilenamePress>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
If GetAccFlag = 0 Then
Var DataTmp = TelephoneNumber + "/"
Var DataTmp = DataTmp + PinNumber
GETACCEXT DataTmp 13
Var GetAccFlag = 1
EndIf
</EventClick>
</Button>
<Image>
<X> 242 </X>
<Y> 830 </Y>
<Filename> Var( DirImage + "/img4.png" ) </Filename>
</Image>
<Image>
<X> 289 </X>
<Y> 870 </Y>
<State> ShowTextNumber1 </State>
<Refresh> "Enable" </Refresh>
<Filename> Var( DirImage + "/text_X.png" )</Filename>
</Image>
<Image>
<X> 446 </X>
<Y> 870 </Y>
<State> ShowTextNumber2 </State>
<Refresh> "Enable" </Refresh>
<Filename> Var( DirImage + "/text_X.png" )</Filename>
</Image>
<Image>
<X> 603 </X>
<Y> 870 </Y>
<State> ShowTextNumber3 </State>
<Refresh> "Enable" </Refresh>
<Filename> Var( DirImage + "/text_X.png" )</Filename>
</Image>
<Image>
<X> 758 </X>
<Y> 870 </Y>
<State> ShowTextNumber4 </State>
<Refresh> "Enable" </Refresh>
<Filename> Var( DirImage + "/text_X.png" )</Filename>
</Image>
<Image>
<X> 188 </X>
<Y> 640 </Y>
<Refresh> "Enable" </Refresh>
<State> ShowText </State>
<Filename> Var( DirImage + "/text_21.png" )</Filename>
</Image>
<Image>
<X> 188 </X>
<Y> 638 </Y>
<Refresh> "Enable" </Refresh>
<State> ShowErrorText </State>
<Filename> Var( DirImage + "/text_25.png") </Filename>
</Image>
<Button>
<X> 859 </X>
<Y> 628 </Y>
<Filename> Var( DirImage + "/Exit.png" ) </Filename>
<FilenamePress> Var( DirImage + "/Exit.png" )</FilenamePress>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var CheckMemberPage2 = CountryRootPath + "xml/page_check_member2.lxml"
Open CheckMemberPage2
</EventClick>
</Button>
<Video>
<X> 0 </X>
<Y> 0 </Y>
<Width> 1080</Width>
<Height> 380 </Height>
<Loop> "true" </Loop>
<Filename> video_menu_0 </Filename>
</Video>
<EventSecurity>
Open "/media/bt/xml/security_alarm.xml"
</EventSecurity>
</Popup>

View file

@ -0,0 +1,783 @@
<Popup>
<Cache> "Enable" </Cache>
<Width> 1080 </Width>
<Height> 1920 </Height>
<Background> "0xeae6e1" </Background>
<Volume> SoundVolume </Volume>
<Refresh> "Partial" </Refresh>
<EventOpen>
; On open
Var Timeout = 0
Var TimeoutSMS = 0
Var StateBGetSMS = "Enable"
Var ShowSentSmsText = "Invisible"
Var ShowTextNumber1 = "Invisible"
Var ShowTextNumber2 = "Invisible"
Var ShowTextNumber3 = "Invisible"
Var ShowTextNumber4 = "Invisible"
Var ShowErrorText = "Invisible"
Var Tel_Confirm_State = "Invisible"
Var PinNumber = ""
Var PinNumberNew = ""
Var ReqFlag = 0
Var ReqT = 0
Var Xtext = 246
If show_eng = "true" Then
Var DirImage = "ROOT/taobin_project/image/collectiing_en"
Var Xtext = 246
Else
Var DirImage = "ROOT/taobin_project/image/collectiing"
EndIf
Var Ext1a = ""
Var TextWaiting = ""
</EventOpen>
<Timeout> 1000 </Timeout>
<EventTimeout>
Var Timeout = Timeout + 1
If Timeout > 30 Then
If ReqFlag = 0 Then
Var CheckMemberPage2 = CountryRootPath + "xml/page_check_member2.lxml"
Open CheckMemberPage2
EndIf
Var ChangePinPageFailed = CountryRootPath + "xml/page_payment_changePinFailed.lxml"
Open ChangePinPageFailed
EndIf
If ReqFlag = 1 Then
Var TimeoutSMS = TimeoutSMS + 1
If TimeoutSMS > 10 Then
Var DataTmp = TelephoneNumber
GETACCEXT DataTmp 13
Var ReqFlag = 2
EndIf
EndIf
TimerReset
Refresh
</EventTimeout>
<EventIDCard>
</EventIDCard>
<EventCoin>
</EventCoin>
<EventActionOk>
If ReqFlag = 1 Then
Var DataTmp = TelephoneNumber
GETACCEXT DataTmp 13
Var ReqFlag = 2
Else
If ReqFlag = 2 Then
If Ext1a = "ok" Then
Var PinNumberServer = Ext1c
If PinNumberServer = PinNumberNew Then
Var ChangePinPageSuccess = CountryRootPath + "xml/page_payment_changePinSuccess.lxml"
Open ChangePinPageSuccess
Else
Var DataTmp = TelephoneNumber
GETACCEXT DataTmp 13
Var ReqFlag = 2
EndIf
Else
Var ChangePinPageFailed = CountryRootPath + "xml/page_payment_changePinFailed.lxml"
Open ChangePinPageFailed
Var ShowErrorText = "Enable"
EndIf
EndIf
EndIf
TimerReset
Refresh
</EventActionOk>
<EventActionError>
If ReqFlag = 1 Then
Var ChangePinPageFailed = CountryRootPath + "xml/page_payment_changePinFailed.lxml"
Open ChangePinPageFailed
Else
If ReqFlag = 2 Then
Var ChangePinPageFailed = CountryRootPath + "xml/page_payment_changePinFailed.lxml"
Open ChangePinPageFailed
EndIf
EndIf
TimerReset
Refresh
</EventActionError>
<Image>
<X> 0 </X>
<Y> 380 </Y>
<Filename> "ROOT/taobin_project/image/collectiing/alpha.png" </Filename>
</Image>
<Image>
<X> 158 </X>
<Y> 601 </Y>
<Filename> "ROOT/taobin_project/image/collectiing/img_popup1.png" </Filename>
</Image>
<Button>
<X> 333 </X>
<Y> 1004 </Y>
<Filename> "ROOT/taobin_project/image/collectiing/bn_1.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_1.png" </FilenamePress>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var Timeout = 0
Var PinNumber = PinNumber + "1"
Var ShowTextNumber = "Invisible"
Trim PinNumber 4
StrLen PinNumber TelNumLen
If TelNumLen >= 4 Then
Var Tel_Confirm_State = "Enable"
EndIf
Var ShowErrorText = "Invisible"
If TelNumLen > 0 Then
Var ShowTextNumber1 = "Enable"
EndIf
If TelNumLen > 1 Then
Var ShowTextNumber2= "Enable"
EndIf
If TelNumLen > 2 Then
Var ShowTextNumber3= "Enable"
EndIf
If TelNumLen > 3 Then
Var ShowTextNumber4= "Enable"
EndIf
Var ShowSentSmsText = "Invisible"
TimerReset
Refresh
</EventClick>
</Button>
<Button>
<X> 477 </X>
<Y> 1004 </Y>
<Filename> "ROOT/taobin_project/image/collectiing/bn_2.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_2.png" </FilenamePress>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var Timeout = 0
Var PinNumber = PinNumber + "2"
Var ShowTextNumber = "Invisible"
Trim PinNumber 4
StrLen PinNumber TelNumLen
If TelNumLen >= 4 Then
Var Tel_Confirm_State = "Enable"
EndIf
Var ShowErrorText = "Invisible"
If TelNumLen > 0 Then
Var ShowTextNumber1 = "Enable"
EndIf
If TelNumLen > 1 Then
Var ShowTextNumber2= "Enable"
EndIf
If TelNumLen > 2 Then
Var ShowTextNumber3= "Enable"
EndIf
If TelNumLen > 3 Then
Var ShowTextNumber4= "Enable"
EndIf
Var ShowSentSmsText = "Invisible"
TimerReset
Refresh
</EventClick>
</Button>
<Button>
<X> 620 </X>
<Y> 1004 </Y>
<Filename> "ROOT/taobin_project/image/collectiing/bn_3.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_3.png" </FilenamePress>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var Timeout = 0
Var PinNumber = PinNumber + "3"
Var ShowTextNumber = "Invisible"
Trim PinNumber 4
StrLen PinNumber TelNumLen
If TelNumLen >= 4 Then
Var Tel_Confirm_State = "Enable"
EndIf
Var ShowErrorText = "Invisible"
If TelNumLen > 0 Then
Var ShowTextNumber1 = "Enable"
EndIf
If TelNumLen > 1 Then
Var ShowTextNumber2= "Enable"
EndIf
If TelNumLen > 2 Then
Var ShowTextNumber3= "Enable"
EndIf
If TelNumLen > 3 Then
Var ShowTextNumber4= "Enable"
EndIf
Var ShowSentSmsText = "Invisible"
TimerReset
Refresh
</EventClick>
</Button>
<Button>
<X> 333 </X>
<Y> 1148 </Y>
<Filename> "ROOT/taobin_project/image/collectiing/bn_4.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_4.png" </FilenamePress>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var Timeout = 0
Var PinNumber = PinNumber + "4"
Var ShowTextNumber = "Invisible"
Trim PinNumber 4
StrLen PinNumber TelNumLen
If TelNumLen >= 4 Then
Var Tel_Confirm_State = "Enable"
EndIf
Var ShowErrorText = "Invisible"
If TelNumLen > 0 Then
Var ShowTextNumber1 = "Enable"
EndIf
If TelNumLen > 1 Then
Var ShowTextNumber2= "Enable"
EndIf
If TelNumLen > 2 Then
Var ShowTextNumber3= "Enable"
EndIf
If TelNumLen > 3 Then
Var ShowTextNumber4= "Enable"
EndIf
Var ShowSentSmsText = "Invisible"
TimerReset
Refresh
</EventClick>
</Button>
<Button>
<X> 477 </X>
<Y> 1148 </Y>
<Filename> "ROOT/taobin_project/image/collectiing/bn_5.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_5.png" </FilenamePress>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var Timeout = 0
Var PinNumber = PinNumber + "5"
Var ShowTextNumber = "Invisible"
Trim PinNumber 4
StrLen PinNumber TelNumLen
If TelNumLen >= 4 Then
Var Tel_Confirm_State = "Enable"
EndIf
Var ShowErrorText = "Invisible"
If TelNumLen > 0 Then
Var ShowTextNumber1 = "Enable"
EndIf
If TelNumLen > 1 Then
Var ShowTextNumber2= "Enable"
EndIf
If TelNumLen > 2 Then
Var ShowTextNumber3= "Enable"
EndIf
If TelNumLen > 3 Then
Var ShowTextNumber4= "Enable"
EndIf
Var ShowSentSmsText = "Invisible"
TimerReset
Refresh
</EventClick>
</Button>
<Button>
<X> 620 </X>
<Y> 1148 </Y>
<Filename> "ROOT/taobin_project/image/collectiing/bn_6.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_6.png" </FilenamePress>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var Timeout = 0
Var PinNumber = PinNumber + "6"
Var ShowTextNumber = "Invisible"
Trim PinNumber 4
StrLen PinNumber TelNumLen
If TelNumLen >= 4 Then
Var Tel_Confirm_State = "Enable"
EndIf
Var ShowErrorText = "Invisible"
If TelNumLen > 0 Then
Var ShowTextNumber1 = "Enable"
EndIf
If TelNumLen > 1 Then
Var ShowTextNumber2= "Enable"
EndIf
If TelNumLen > 2 Then
Var ShowTextNumber3= "Enable"
EndIf
If TelNumLen > 3 Then
Var ShowTextNumber4= "Enable"
EndIf
Var ShowSentSmsText = "Invisible"
TimerReset
Refresh
</EventClick>
</Button>
<Button>
<X> 333 </X>
<Y> 1292 </Y>
<Filename> "ROOT/taobin_project/image/collectiing/bn_7.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_7.png" </FilenamePress>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var Timeout = 0
Var PinNumber = PinNumber + "7"
Var ShowTextNumber = "Invisible"
Trim PinNumber 4
StrLen PinNumber TelNumLen
If TelNumLen >= 4 Then
Var Tel_Confirm_State = "Enable"
EndIf
Var ShowErrorText = "Invisible"
If TelNumLen > 0 Then
Var ShowTextNumber1 = "Enable"
EndIf
If TelNumLen > 1 Then
Var ShowTextNumber2= "Enable"
EndIf
If TelNumLen > 2 Then
Var ShowTextNumber3= "Enable"
EndIf
If TelNumLen > 3 Then
Var ShowTextNumber4= "Enable"
EndIf
Var ShowSentSmsText = "Invisible"
TimerReset
Refresh
</EventClick>
</Button>
<Button>
<X> 477 </X>
<Y> 1292 </Y>
<Filename> "ROOT/taobin_project/image/collectiing/bn_8.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_8.png" </FilenamePress>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var Timeout = 0
Var PinNumber = PinNumber + "8"
Var ShowTextNumber = "Invisible"
Trim PinNumber 4
StrLen PinNumber TelNumLen
If TelNumLen >= 4 Then
Var Tel_Confirm_State = "Enable"
EndIf
Var ShowErrorText = "Invisible"
If TelNumLen > 0 Then
Var ShowTextNumber1 = "Enable"
EndIf
If TelNumLen > 1 Then
Var ShowTextNumber2= "Enable"
EndIf
If TelNumLen > 2 Then
Var ShowTextNumber3= "Enable"
EndIf
If TelNumLen > 3 Then
Var ShowTextNumber4= "Enable"
EndIf
Var ShowSentSmsText = "Invisible"
TimerReset
Refresh
</EventClick>
</Button>
<Button>
<X> 620 </X>
<Y> 1292 </Y>
<Filename> "ROOT/taobin_project/image/collectiing/bn_9.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_9.png" </FilenamePress>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var Timeout = 0
Var PinNumber = PinNumber + "9"
Var ShowTextNumber = "Invisible"
Trim PinNumber 4
StrLen PinNumber TelNumLen
If TelNumLen >= 4 Then
Var Tel_Confirm_State = "Enable"
EndIf
Var ShowErrorText = "Invisible"
If TelNumLen > 0 Then
Var ShowTextNumber1 = "Enable"
EndIf
If TelNumLen > 1 Then
Var ShowTextNumber2= "Enable"
EndIf
If TelNumLen > 2 Then
Var ShowTextNumber3= "Enable"
EndIf
If TelNumLen > 3 Then
Var ShowTextNumber4= "Enable"
EndIf
Var ShowSentSmsText = "Invisible"
TimerReset
Refresh
</EventClick>
</Button>
<Button>
<X> 477 </X>
<Y> 1432 </Y>
<Filename> "ROOT/taobin_project/image/collectiing/bn_0.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_0.png" </FilenamePress>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var Timeout = 0
Var PinNumber = PinNumber + "0"
Trim PinNumber 4
StrLen PinNumber TelNumLen
If TelNumLen >= 4 Then
Var Tel_Confirm_State = "Enable"
EndIf
Var ShowTextNumber = "Invisible"
Var ShowErrorText = "Invisible"
If TelNumLen > 0 Then
Var ShowTextNumber1 = "Enable"
EndIf
If TelNumLen > 1 Then
Var ShowTextNumber2= "Enable"
EndIf
If TelNumLen > 2 Then
Var ShowTextNumber3= "Enable"
EndIf
If TelNumLen > 3 Then
Var ShowTextNumber4= "Enable"
EndIf
Var ShowSentSmsText = "Invisible"
TimerReset
Refresh
</EventClick>
</Button>
<Button>
<X> 620 </X>
<Y> 1432 </Y>
<Filename> "ROOT/taobin_project/image/collectiing/bn_back-1.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_back-1.png" </FilenamePress>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var Timeout = 0
Trim PinNumber -1
Var Tel_Confirm_State = "Invisible"
StrLen PinNumber TelNumLen
If TelNumLen = 0 Then
Var ShowTextNumber = "Enable"
EndIf
;Var ShowErrorText = "Invisible"
TimerReset
Refresh
If TelNumLen < 1 Then
Var ShowTextNumber1 = "Invisible"
EndIf
If TelNumLen < 2 Then
Var ShowTextNumber2= "Invisible"
EndIf
If TelNumLen < 3 Then
Var ShowTextNumber3= "Invisible"
EndIf
If TelNumLen < 4 Then
Var ShowTextNumber4= "Invisible"
EndIf
Var ShowSentSmsText = "Invisible"
Var ShowErrorText = "Invisible"
TimerReset
Refresh
</EventClick>
</Button>
<Button>
<X> 397 </X>
<Y> 1600 </Y>
<Refresh> "Enable" </Refresh>
<State> Tel_Confirm_State </State>
<Filename> Var( DirImage + "/bn_continue.png" ) </Filename>
<FilenamePress> Var( DirImage + "/bn_continue.png" )</FilenamePress>
<FilenameDisable> Var( DirImage + "/bn_continue.png" )</FilenameDisable>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
If ReqFlag = 0 Then
Var BmiYear = PinNumber
Var PointCrm = ""
Var GetScore = "1"
Var PinNumberNew = PinNumber
AddData 20 TelephoneNumber BmiYear PointCrm GetScore
Var ReqFlag = 1
Var Tel_Confirm_State = "Invisible"
Var Timeout = 0
If show_eng = "true" Then
Var TextWaiting = "Please wait..."
Else
Var TextWaiting = "กรุณารอซักครู่..."
EndIf
EndIf
Refresh
</EventClick>
</Button>
<Image>
<X> 242 </X>
<Y> 830 </Y>
<Filename> Var( DirImage + "/img4.png" ) </Filename>
</Image>
<Image>
<X> 289 </X>
<Y> 870 </Y>
<State> ShowTextNumber1 </State>
<Refresh> "Enable" </Refresh>
<Filename> Var( DirImage + "/text_X.png" )</Filename>
</Image>
<Image>
<X> 446 </X>
<Y> 870 </Y>
<State> ShowTextNumber2 </State>
<Refresh> "Enable" </Refresh>
<Filename> Var( DirImage + "/text_X.png" )</Filename>
</Image>
<Image>
<X> 603 </X>
<Y> 870 </Y>
<State> ShowTextNumber3 </State>
<Refresh> "Enable" </Refresh>
<Filename> Var( DirImage + "/text_X.png" )</Filename>
</Image>
<Image>
<X> 758 </X>
<Y> 870 </Y>
<State> ShowTextNumber4 </State>
<Refresh> "Enable" </Refresh>
<Filename> Var( DirImage + "/text_X.png" )</Filename>
</Image>
<Text>
<X> 5 </X>
<Y> 1700 </Y>
<Refresh> "Enable" </Refresh>
<Size> 30 </Size>
<Align> Center </Align>
<Width> 1080 </Width>
<Font> RobotoRegular </Font>
<Color> 0xFF0000 </Color>
<Value> TextWaiting </Value>
</Text>
<Image>
<X> 188 </X>
<Y> 640 </Y>
<Filename> Var( DirImage + "/text_23.png" )</Filename>
</Image>
<Button>
<X> 859 </X>
<Y> 628 </Y>
<Filename> Var( DirImage + "/Exit.png" ) </Filename>
<FilenamePress> Var( DirImage + "/Exit.png" )</FilenamePress>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var CheckMemberPage2 = CountryRootPath + "xml/page_check_member2.lxml"
Open CheckMemberPage2
</EventClick>
</Button>
<Video>
<X> 0 </X>
<Y> 0 </Y>
<Width> 1080</Width>
<Height> 380 </Height>
<Loop> "true" </Loop>
<Filename> video_menu_0 </Filename>
</Video>
<EventSecurity>
Open "/media/bt/xml/security_alarm.xml"
</EventSecurity>
</Popup>

View file

@ -0,0 +1,133 @@
<Popup>
<Cache> "Enable" </Cache>
<Width> 1080 </Width>
<Height> 1920 </Height>
<Background> "0xeae6e1" </Background>
<Volume> SoundVolume </Volume>
<Refresh> "Partial" </Refresh>
<EventOpen>
; On open
Var Timeout = 0
Var Tel_Confirm_State = "Enable"
If show_eng = "true" Then
Var DirImage = "ROOT/taobin_project/image/collectiing_en"
Else
Var DirImage = "ROOT/taobin_project/image/collectiing"
EndIf
</EventOpen>
<Timeout> 1000 </Timeout>
<EventTimeout>
Var Timeout = Timeout + 1
If Timeout > 30 Then
Var CheckMemberPage2 = CountryRootPath + "xml/page_check_member2.lxml"
Open CheckMemberPage2
EndIf
TimerReset
Refresh
</EventTimeout>
<EventActionOk>
</EventActionOk>
<EventActionError>
</EventActionError>
<Image>
<X> 0 </X>
<Y> 380 </Y>
<Filename> "ROOT/taobin_project/image/collectiing/alpha.png" </Filename>
</Image>
<Image>
<X> 158 </X>
<Y> 601 </Y>
<Filename> "ROOT/taobin_project/image/collectiing/img_popup1.png" </Filename>
</Image>
<Button>
<X> 248 </X>
<Y> 1600 </Y>
<Refresh> "Enable" </Refresh>
<State> Tel_Confirm_State </State>
<Filename> Var( DirImage + "/bn_back3.png" ) </Filename>
<FilenamePress> Var( DirImage + "/bp_back3.png" )</FilenamePress>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
</EventClick>
</Button>
<Button>
<X> 558 </X>
<Y> 1600 </Y>
<Refresh> "Enable" </Refresh>
<State> Tel_Confirm_State </State>
<Filename> Var( DirImage + "/bn_tryAgainPin.png" ) </Filename>
<FilenamePress> Var( DirImage + "/bp_tryAgainPin.png" )</FilenamePress>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var ChangePinPage1 = CountryRootPath + "xml/page_payment_changePin1.lxml"
Open ChangePinPage1
</EventClick>
</Button>
<Image>
<X> 189 </X>
<Y> 1004 </Y>
<Filename> Var( DirImage + "/PinFailed.png" ) </Filename>
</Image>
<Button>
<X> 859 </X>
<Y> 628 </Y>
<Filename> Var( DirImage + "/Exit.png" ) </Filename>
<FilenamePress> Var( DirImage + "/Exit.png" )</FilenamePress>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var CheckMemberPage2 = CountryRootPath + "xml/page_check_member2.lxml"
Open CheckMemberPage2
</EventClick>
</Button>
<Video>
<X> 0 </X>
<Y> 0 </Y>
<Width> 1080</Width>
<Height> 380 </Height>
<Loop> "true" </Loop>
<Filename> video_menu_0 </Filename>
</Video>
<EventSecurity>
Open "/media/bt/xml/security_alarm.xml"
</EventSecurity>
</Popup>

View file

@ -0,0 +1,138 @@
<Popup>
<Cache> "Enable" </Cache>
<Width> 1080 </Width>
<Height> 1920 </Height>
<Background> "0xeae6e1" </Background>
<Volume> SoundVolume </Volume>
<Refresh> "Partial" </Refresh>
<EventOpen>
; On open
Var Timeout = 0
Var Tel_Confirm_State = "Enable"
If show_eng = "true" Then
Var DirImage = "ROOT/taobin_project/image/collectiing_en"
Else
Var DirImage = "ROOT/taobin_project/image/collectiing"
EndIf
If PinSMSFlag = 1 Then
If show_eng = "true" Then
PlayLong "/mnt/sdcard/coffeevending/taobin_project/sound_eng/Press_next_to_receive_code_via_SMS.mp3"
Else
PlayLong "/mnt/sdcard/coffeevending/taobin_project/sound_thai/Press_next_to_receive_code_via_SMS.mp3"
EndIf
EndIf
</EventOpen>
<Timeout> 1000 </Timeout>
<EventTimeout>
Var Timeout = Timeout + 1
If Timeout > 30 Then
If PinSMSFlag = 1 Then
Var CheckMemberPage1 = CountryRootPath + "xml/page_check_member1.lxml"
Open CheckMemberPage1
Else
Var CheckMemberPage2 = CountryRootPath + "xml/page_check_member2.lxml"
Open CheckMemberPage2
EndIf
EndIf
</EventTimeout>
<EventActionOk>
</EventActionOk>
<EventActionError>
</EventActionError>
<Image>
<X> 0 </X>
<Y> 380 </Y>
<Filename> "ROOT/taobin_project/image/collectiing/alpha.png" </Filename>
</Image>
<Image>
<X> 158 </X>
<Y> 601 </Y>
<Filename> "ROOT/taobin_project/image/collectiing/img_popup1.png" </Filename>
</Image>
<Button>
<X> 397 </X>
<Y> 1600 </Y>
<Refresh> "Enable" </Refresh>
<State> Tel_Confirm_State </State>
<Filename> Var( DirImage + "/bn_continue.png" ) </Filename>
<FilenamePress> Var( DirImage + "/bn_continue.png" )</FilenamePress>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
If PinSMSFlag = 1 Then
Var CheckMemberPage1 = CountryRootPath + "xml/page_check_member1.lxml"
Open CheckMemberPage1
Else
Var ChangePinPage1 = CountryRootPath + "xml/page_payment_changePin1.lxml"
Open ChangePinPage1
EndIf
</EventClick>
</Button>
<Image>
<X> 189 </X>
<Y> 965 </Y>
<Filename> Var( DirImage + "/smartphone.png" ) </Filename>
</Image>
<Button>
<X> 859 </X>
<Y> 628 </Y>
<Filename> Var( DirImage + "/Exit.png" ) </Filename>
<FilenamePress> Var( DirImage + "/Exit.png" )</FilenamePress>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
If PinSMSFlag = 1 Then
Var CheckMemberPage1 = CountryRootPath + "xml/page_check_member1.lxml"
Open CheckMemberPage1
Else
Var CheckMemberPage2 = CountryRootPath + "xml/page_check_member2.lxml"
Open CheckMemberPage2
EndIf
</EventClick>
</Button>
<Video>
<X> 0 </X>
<Y> 0 </Y>
<Width> 1080</Width>
<Height> 380 </Height>
<Loop> "true" </Loop>
<Filename> video_menu_0 </Filename>
</Video>
<EventSecurity>
Open "/media/bt/xml/security_alarm.xml"
</EventSecurity>
</Popup>

View file

@ -0,0 +1,129 @@
<Popup>
<Cache> "Enable" </Cache>
<Width> 1080 </Width>
<Height> 1920 </Height>
<Background> "0xeae6e1" </Background>
<Volume> SoundVolume </Volume>
<Refresh> "Partial" </Refresh>
<EventOpen>
; On open
Var Timeout = 0
Var Tel_Confirm_State = "Enable"
If show_eng = "true" Then
Var DirImage = "ROOT/taobin_project/image/collectiing_en"
Else
Var DirImage = "ROOT/taobin_project/image/collectiing"
EndIf
</EventOpen>
<Timeout> 1000 </Timeout>
<EventTimeout>
Var Timeout = Timeout + 1
If Timeout > 30 Then
Var CheckMemberPage2 = CountryRootPath + "xml/page_check_member2.lxml"
Open CheckMemberPage2
EndIf
TimerReset
Refresh
</EventTimeout>
<EventActionOk>
</EventActionOk>
<EventActionError>
</EventActionError>
<Image>
<X> 0 </X>
<Y> 380 </Y>
<Filename> "ROOT/taobin_project/image/collectiing/alpha.png" </Filename>
</Image>
<Image>
<X> 158 </X>
<Y> 601 </Y>
<Filename> "ROOT/taobin_project/image/collectiing/img_popup1.png" </Filename>
</Image>
<Button>
<X> 248 </X>
<Y> 1600 </Y>
<Refresh> "Enable" </Refresh>
<State> Tel_Confirm_State </State>
<Filename> Var( DirImage + "/bn_back3.png" ) </Filename>
<FilenamePress> Var( DirImage + "/bp_back3.png" )</FilenamePress>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
</EventClick>
</Button>
<Button>
<X> 558 </X>
<Y> 1600 </Y>
<Refresh> "Enable" </Refresh>
<State> Tel_Confirm_State </State>
<Filename> Var( DirImage + "/bn_catalog.png" ) </Filename>
<FilenamePress> Var( DirImage + "/bp_catalog.png" )</FilenamePress>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Open "ROOT/taobin_project/xml/page_catalog.xml"
</EventClick>
</Button>
<Image>
<X> 189 </X>
<Y> 1004 </Y>
<Filename> Var( DirImage + "/PinSuccess.png" ) </Filename>
</Image>
<Button>
<X> 859 </X>
<Y> 628 </Y>
<Filename> Var( DirImage + "/Exit.png" ) </Filename>
<FilenamePress> Var( DirImage + "/Exit.png" )</FilenamePress>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var CheckMemberPage2 = CountryRootPath + "xml/page_check_member2.lxml"
Open CheckMemberPage2
</EventClick>
</Button>
<Video>
<X> 0 </X>
<Y> 0 </Y>
<Width> 1080</Width>
<Height> 380 </Height>
<Loop> "true" </Loop>
<Filename> video_menu_0 </Filename>
</Video>
<EventSecurity>
Open "/media/bt/xml/security_alarm.xml"
</EventSecurity>
</Popup>

View file

@ -0,0 +1,149 @@
<Page>
<X> 0 </X>
<Y> 608 </Y>
<Cache> "Enable" </Cache>
<Width> 1080 </Width>
<Height> 1312 </Height>
<Background> "0xEFEDEA" </Background>
<Volume> SoundVolume </Volume>
<EventOpen>
Var countClick = 0
Var countClick2 = 0
Var CountryName = "Australia"
DEBUGVAR "AUS Remove Cup"
Var DirImage = "ROOT/taobin_project/inter/common/image/user_take_cup_en/"
LED LedDoorDoor 5 255 255 255 255
Var CheckCupStateDoorCupClose = ""
Var CheckCupStateDoorCupCloseCnt = 0
DEBUGVAR DoorCupPosition
If DoorCupPosition = "bottom" Then
Var buttonRemoveCup = "Enable"
EndIf
</EventOpen>
<Timeout> 1000 </Timeout>
<EventTimeout>
;SAVELOG MachineErrorDetail
Var MachineErrorDetailAll = MachineErrorDetail + " / "
Var MachineErrorDetailAll = MachineErrorDetailAll + MachineErrorDetailEng
If MachineStage = "show-menu" Then
Open "ROOT/taobin_project/xml/page_board.xml"
EndIf
If MachineStage = "close-maintenance" Then
Open "ROOT/taobin_project/xml/page_show_error.lxml"
EndIf
Var Timeout = Timeout + 1
DEBUGVAR Timeout
If Timeout > 5 Then
Var Timeout = 0
DEBUGVAR DoorCupPosition
If DoorCupPosition = "bottom" Then
Var buttonRemoveCup = "Enable"
EndIf
EndIf
; Logic have differrent drinkfail3.xml
; protect lock
;
If CheckCupStateDoorCupCloseCnt > 0 Then
Var CheckCupStateDoorCupCloseCnt = CheckCupStateDoorCupCloseCnt - 1
EndIf
If CheckCupStateDoorCupCloseCnt = 0 Then
Var CheckCupStateDoorCupClose = ""
EndIf
DEBUGVAR HaveCup
If HaveCup = "true" Then
Else
If buttonRemoveCup = "Enable" Then
Var buttonRemoveCup = "Invisible"
EndIf
EndIf
DEBUGVAR buttonRemoveCup
DEBUGVAR CheckCupStateDoorCupClose
Refresh
TimerReset
</EventTimeout>
<Text>
<X> 50 </X>
<Y> 852 </Y>
<Width> 1000 </Width>
<Height> 300 </Height>
<Language>
<ID> 000409 </ID>
</Language>
</Text>
<Text>
<X> 50 </X>
<Y> 1200 </Y>
<Width> 1000 </Width>
<Height> 200 </Height>
<Language>
<ID> 000410 </ID>
</Language>
</Text>
<Button>
<X> 212 </X>
<Y> 1661 </Y>
<Filename> Var( DirImage + "/bn_door_open.png" ) </Filename>
<FilenamePress> Var( DirImage + "/bp_door_open.png" )</FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<State> buttonRemoveCup </State>
<EventClick>
Machine RemoveCup
Machine DoorLidOpen
Var buttonRemoveCup = "Invisible"
Var CheckCupStateDoorCupClose = "reset"
Var CheckCupStateDoorCupCloseCnt = 30
</EventClick>
<Language>
<ID> 000411 </ID>
<X> 80 </X>
<Y> 40 </Y>
<Width> 500 </Width>
<Height> 50 <Height>
</Language>
</Button>
<Text>
<X> 5 </X>
<Y> 1868 </Y>
<Size> 24 </Size>
<Align> Center </Align>
<Width> 1080 </Width>
<Font> RobotoRegular </Font>
<Color> 0xDE794E </Color>
<Value> MachineErrorDetailAll </Value>
</Text>
</Page>