Merge branch 'master' of ssh://192.168.10.159:/1TBHDD/ikong/taobin_project

This commit is contained in:
pichet 2023-01-18 15:30:59 +07:00
commit 8aa3bee6fd
86 changed files with 61328 additions and 35205 deletions

View file

@ -1,5 +1,5 @@
total 251164
-rw-rw---- 1 root sdcard_rw 0 2023-01-06 13:12 sync_1.file
total 265716
-rw-rw---- 1 root sdcard_rw 0 2023-01-17 16:25 sync_1.file
-rw-rw---- 1 root sdcard_rw 3772465 2021-07-07 16:02 taobin_adv_00.mp4
-rw-rw---- 1 root sdcard_rw 3647528 2021-07-06 15:30 taobin_adv_01.mp4
-rw-rw---- 1 root sdcard_rw 3184464 2021-06-22 14:08 taobin_adv_02.mp4
@ -8,10 +8,10 @@ total 251164
-rw-rw---- 1 root sdcard_rw 2211917 2021-09-23 10:57 taobin_adv_05.mp4
-rw-rw---- 1 root sdcard_rw 3772465 2021-07-07 16:02 taobin_adv_06.mp4
-rw-rw---- 1 root sdcard_rw 8251798 2023-01-05 17:28 taobin_adv_07.mp4
-rw-rw---- 1 root sdcard_rw 1962660 2021-09-17 16:42 taobin_adv_08.mp4
-rw-rw---- 1 root sdcard_rw 8448989 2023-01-17 11:44 taobin_adv_08.mp4
-rw-rw---- 1 root sdcard_rw 2461527 2022-06-10 14:31 taobin_adv_09.mp4
-rw-rw---- 1 root sdcard_rw 10011292 2022-12-19 15:25 taobin_adv_10.mp4
-rw-rw---- 1 root sdcard_rw 2133473 2022-06-10 14:32 taobin_adv_11.mp4
-rw-rw---- 1 root sdcard_rw 2734331 2023-01-09 17:30 taobin_adv_11.mp4
-rw-rw---- 1 root sdcard_rw 2671705 2022-06-10 17:22 taobin_adv_12.mp4
-rw-rw---- 1 root sdcard_rw 2756221 2022-06-10 14:32 taobin_adv_13.mp4
-rw-rw---- 1 root sdcard_rw 3796147 2022-09-16 09:01 taobin_adv_14.mp4
@ -29,10 +29,10 @@ total 251164
-rw-rw---- 1 root sdcard_rw 1809071 2021-09-23 10:57 taobin_adv_menu2_05.mp4
-rw-rw---- 1 root sdcard_rw 2622440 2021-07-07 16:55 taobin_adv_menu2_06.mp4
-rw-rw---- 1 root sdcard_rw 5045759 2023-01-05 17:28 taobin_adv_menu2_07.mp4
-rw-rw---- 1 root sdcard_rw 2098002 2021-09-17 16:42 taobin_adv_menu2_08.mp4
-rw-rw---- 1 root sdcard_rw 5359752 2023-01-17 11:44 taobin_adv_menu2_08.mp4
-rw-rw---- 1 root sdcard_rw 2197656 2022-06-10 14:34 taobin_adv_menu2_09.mp4
-rw-rw---- 1 root sdcard_rw 6392776 2022-12-19 15:25 taobin_adv_menu2_10.mp4
-rw-rw---- 1 root sdcard_rw 1914492 2022-06-10 14:35 taobin_adv_menu2_11.mp4
-rw-rw---- 1 root sdcard_rw 2599149 2023-01-09 17:30 taobin_adv_menu2_11.mp4
-rw-rw---- 1 root sdcard_rw 1801226 2022-06-10 17:21 taobin_adv_menu2_12.mp4
-rw-rw---- 1 root sdcard_rw 2264499 2022-06-10 14:36 taobin_adv_menu2_13.mp4
-rw-rw---- 1 root sdcard_rw 3043427 2022-09-16 09:01 taobin_adv_menu2_14.mp4
@ -50,10 +50,10 @@ total 251164
-rw-rw---- 1 root sdcard_rw 1885128 2021-09-23 10:57 taobin_adv_menu_05.mp4
-rw-rw---- 1 root sdcard_rw 2625751 2021-07-07 16:01 taobin_adv_menu_06.mp4
-rw-rw---- 1 root sdcard_rw 5757021 2023-01-05 17:28 taobin_adv_menu_07.mp4
-rw-rw---- 1 root sdcard_rw 1873183 2021-09-17 16:42 taobin_adv_menu_08.mp4
-rw-rw---- 1 root sdcard_rw 5359752 2023-01-17 11:44 taobin_adv_menu_08.mp4
-rw-rw---- 1 root sdcard_rw 1954754 2022-06-10 14:37 taobin_adv_menu_09.mp4
-rw-rw---- 1 root sdcard_rw 6688846 2022-12-19 15:25 taobin_adv_menu_10.mp4
-rw-rw---- 1 root sdcard_rw 1818488 2022-06-10 14:37 taobin_adv_menu_11.mp4
-rw-rw---- 1 root sdcard_rw 2201341 2023-01-09 17:30 taobin_adv_menu_11.mp4
-rw-rw---- 1 root sdcard_rw 1911441 2022-06-10 17:21 taobin_adv_menu_12.mp4
-rw-rw---- 1 root sdcard_rw 2145648 2022-06-10 14:36 taobin_adv_menu_13.mp4
-rw-rw---- 1 root sdcard_rw 2782199 2022-09-16 09:01 taobin_adv_menu_14.mp4

BIN
adv/taobin_adv_08.mp4 Executable file → Normal file

Binary file not shown.

BIN
adv/taobin_adv_11.mp4 Normal file → Executable file

Binary file not shown.

BIN
adv/taobin_adv_menu2_08.mp4 Executable file → Normal file

Binary file not shown.

BIN
adv/taobin_adv_menu2_11.mp4 Normal file → Executable file

Binary file not shown.

BIN
adv/taobin_adv_menu_08.mp4 Executable file → Normal file

Binary file not shown.

BIN
adv/taobin_adv_menu_11.mp4 Normal file → Executable file

Binary file not shown.

View file

@ -373,7 +373,7 @@ Iced Kokuto Milk 12-03-03-0003 1 27 17 23 41 24 119 1:59 38
Iced Caramel cocoa 12-03-03-0004 1 15 22 17 23 41 24 166 2:46 41
Milk with Iced 12-03-03-0005 1 17 23 41 24 110 1:50 53
Iced Pink milk 12-03-03-0006 1 21 17 23 41 24 129 2:09 42
Pink milk-Oreo Vocalno 12-03-03-1006 1 21 17 23 41 40 24 129 2:09 42
Pink milk-Oreo Vocalno 12-03-03-0026 1 21 17 40 41 40 24 129 2:09 42
Iced Chrysanths Tea 12-02-03-0001 1 10 23 41 24 88 1:28 42
Iced Thai milk Tea 12-02-03-0002 1 6 7 10 23 41 24 165 2:45 40
Iced Taiwanese Tea 12-02-03-0003 1 6 7 10 23 41 24 104 1:44 25

1 name New Code เล่น 4 วินาที ขั้นตอน 1 ขั้นตอน 2 ขั้นตอน 3 ขั้นตอน 4 ขั้นตอน 5 ขั้นตอน 6 ขั้นตอน 7 ขั้นตอน 8 จบ Time (sec) นาทีและวินาที ความยาวการเล่นของแต่ละขั้นตอน
373 Iced Caramel cocoa 12-03-03-0004 1 15 22 17 23 41 24 166 2:46 41
374 Milk with Iced 12-03-03-0005 1 17 23 41 24 110 1:50 53
375 Iced Pink milk 12-03-03-0006 1 21 17 23 41 24 129 2:09 42
376 Pink milk-Oreo Vocalno 12-03-03-1006 12-03-03-0026 1 21 17 23 40 41 40 24 129 2:09 42
377 Iced Chrysanths Tea 12-02-03-0001 1 10 23 41 24 88 1:28 42
378 Iced Thai milk Tea 12-02-03-0002 1 6 7 10 23 41 24 165 2:45 40
379 Iced Taiwanese Tea 12-02-03-0003 1 6 7 10 23 41 24 104 1:44 25

View file

@ -373,6 +373,7 @@ Iced Kokuto Milk 12-03-03-0003 1 27 17 23 41 24 119 1:59 38
Iced Caramel cocoa 12-03-03-0004 1 15 22 17 23 41 24 166 2:46 41
Milk with Iced 12-03-03-0005 1 17 23 41 24 110 1:50 53
Iced Pink milk 12-03-03-0006 1 21 17 23 41 24 129 2:09 42
Pink milk-Oreo Vocalno 12-03-03-1006 1 21 17 23 41 40 24 129 2:09 42
Iced Chrysanths Tea 12-02-03-0001 1 10 23 41 24 88 1:28 42
Iced Thai milk Tea 12-02-03-0002 1 6 7 10 23 41 24 165 2:45 40
Iced Taiwanese Tea 12-02-03-0003 1 6 7 10 23 41 24 104 1:44 25

1 name New Code เล่น 4 วินาที ขั้นตอน 1 ขั้นตอน 2 ขั้นตอน 3 ขั้นตอน 4 ขั้นตอน 5 ขั้นตอน 6 ขั้นตอน 7 ขั้นตอน 8 จบ Time (sec) นาทีและวินาที ความยาวการเล่นของแต่ละขั้นตอน
373 Iced Caramel cocoa 12-03-03-0004 1 15 22 17 23 41 24 166 2:46 41
374 Milk with Iced 12-03-03-0005 1 17 23 41 24 110 1:50 53
375 Iced Pink milk 12-03-03-0006 1 21 17 23 41 24 129 2:09 42
376 Pink milk-Oreo Vocalno 12-03-03-1006 1 21 17 23 41 40 24 129 2:09 42
377 Iced Chrysanths Tea 12-02-03-0001 1 10 23 41 24 88 1:28 42
378 Iced Thai milk Tea 12-02-03-0002 1 6 7 10 23 41 24 165 2:45 40
379 Iced Taiwanese Tea 12-02-03-0003 1 6 7 10 23 41 24 104 1:44 25

View file

@ -49,6 +49,6 @@ total 201928
-rw-rw---- 1 root sdcard_rw 3740266 2020-11-15 19:57 TaoBin2_draft02_art7.mp4
-rw-rw---- 1 root sdcard_rw 3998856 2020-11-15 20:01 TaoBin2_draft02_art8.mp4
-rw-rw---- 1 root sdcard_rw 3616423 2020-11-15 20:01 TaoBin2_draft02_art9.mp4
-rw-rw---- 1 root sdcard_rw 33545 2022-12-27 10:47 play_list.tsv
-rw-rw---- 1 root sdcard_rw 32861 2022-10-24 15:23 play_list2.tsv
-rw-rw---- 1 root sdcard_rw 0 2022-12-28 14:21 sync_1.file
-rw-rw---- 1 root sdcard_rw 33618 2023-01-13 10:57 play_list.tsv
-rw-rw---- 1 root sdcard_rw 33618 2023-01-04 13:56 play_list2.tsv
-rw-rw---- 1 root sdcard_rw 0 2023-01-13 11:04 sync_1.file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 120 KiB

After

Width:  |  Height:  |  Size: 125 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 120 KiB

After

Width:  |  Height:  |  Size: 125 KiB

Before After
Before After

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 28 KiB

After

Width:  |  Height:  |  Size: 30 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 30 KiB

Before After
Before After

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 144 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 123 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 144 KiB

After

Width:  |  Height:  |  Size: 135 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 123 KiB

After

Width:  |  Height:  |  Size: 135 KiB

Before After
Before After

Binary file not shown.

After

Width:  |  Height:  |  Size: 125 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 28 KiB

After

Width:  |  Height:  |  Size: 30 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 30 KiB

Before After
Before After

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

View file

@ -9,7 +9,7 @@
<Background> "0xeae6e1" </Background>
<Volume> SoundVolume </Volume>
<EventOpen>
Var SpiralSoftwareVersion = "1.03"
Var SpiralSoftwareVersion = "1.04"
Var ColorBrown = 0x746253
Var ColorBrown2 = 0x513C2F
@ -472,7 +472,7 @@
Var NameDrink = $03-02-01-0001.NameE
Var NameDrinkTH = $03-02-01-0001.Name
Var DrinkDescriptionTH = $03-02-01-0001.description
;Var DrinkDescription = $03-02-01-0001.descriptionE
Var DrinkDescription = $03-02-01-0001.descriptionE
Var PriceDrink = $03-02-01-0001.Price
Var SpiralProduct = "ROOT/taobin_project/spiral/image/page_spiral/spiral_product_" + $03-02-01-0001.image
Var Spiraldetail = "ROOT/taobin_project/spiral/image/page_spiral/spiral_text_detail_" + $03-02-01-0001.image
@ -629,7 +629,7 @@
Var NameDrink = $03-02-01-0002.NameE
Var NameDrinkTH = $03-02-01-0002.Name
Var DrinkDescriptionTH = $03-02-01-0002.description
;Var DrinkDescription = $03-02-01-0002.descriptionE
Var DrinkDescription = $03-02-01-0002.descriptionE
Var PriceDrink = $03-02-01-0002.Price
Var SpiralProduct = "ROOT/taobin_project/spiral/image/page_spiral/spiral_product_" + $03-02-01-0002.image
Var Spiraldetail = "ROOT/taobin_project/spiral/image/page_spiral/spiral_text_detail_" + $03-02-01-0002.image
@ -785,7 +785,7 @@
Var NameDrink = $03-02-01-0003.NameE
Var NameDrinkTH = $03-02-01-0003.Name
Var DrinkDescriptionTH = $03-02-01-0003.description
;Var DrinkDescription = $03-02-01-0003.descriptionE
Var DrinkDescription = $03-02-01-0003.descriptionE
Var PriceDrink = $03-02-01-0003.Price
Var SpiralProduct = "ROOT/taobin_project/spiral/image/page_spiral/spiral_product_" + $03-02-01-0003.image
Var Spiraldetail = "ROOT/taobin_project/spiral/image/page_spiral/spiral_text_detail_" + $03-02-01-0003.image
@ -945,7 +945,7 @@
Var NameDrink = $03-02-01-0004.NameE
Var NameDrinkTH = $03-02-01-0004.Name
Var DrinkDescriptionTH = $03-02-01-0004.description
;Var DrinkDescription = $03-02-01-0004.descriptionE
Var DrinkDescription = $03-02-01-0004.descriptionE
Var PriceDrink = $03-02-01-0004.Price
Var SpiralProduct = "ROOT/taobin_project/spiral/image/page_spiral/spiral_product_" + $03-02-01-0004.image
Var Spiraldetail = "ROOT/taobin_project/spiral/image/page_spiral/spiral_text_detail_" + $03-02-01-0004.image
@ -1099,7 +1099,7 @@
Var NameDrink = $03-02-01-0005.NameE
Var NameDrinkTH = $03-02-01-0005.Name
Var DrinkDescriptionTH = $03-02-01-0005.description
;Var DrinkDescription = $03-02-01-0005.descriptionE
Var DrinkDescription = $03-02-01-0005.descriptionE
Var PriceDrink = $03-02-01-0005.Price
Var SpiralProduct = "ROOT/taobin_project/spiral/image/page_spiral/spiral_product_" + $03-02-01-0005.image
Var Spiraldetail = "ROOT/taobin_project/spiral/image/page_spiral/spiral_text_detail_" + $03-02-01-0005.image
@ -1255,7 +1255,7 @@
Var NameDrink = $03-02-01-0006.NameE
Var NameDrinkTH = $03-02-01-0006.Name
Var DrinkDescriptionTH = $03-02-01-0006.description
;Var DrinkDescription = $03-02-01-0006.descriptionE
Var DrinkDescription = $03-02-01-0006.descriptionE
Var PriceDrink = $03-02-01-0006.Price
Var SpiralProduct = "ROOT/taobin_project/spiral/image/page_spiral/spiral_product_" + $03-02-01-0006.image
Var Spiraldetail = "ROOT/taobin_project/spiral/image/page_spiral/spiral_text_detail_" + $03-02-01-0006.image
@ -1411,7 +1411,7 @@
Var NameDrink = $03-02-01-0007.NameE
Var NameDrinkTH = $03-02-01-0007.Name
Var DrinkDescriptionTH = $03-02-01-0007.description
;Var DrinkDescription = $03-02-01-0007.descriptionE
Var DrinkDescription = $03-02-01-0007.descriptionE
Var PriceDrink = $03-02-01-0007.Price
Var SpiralProduct = "ROOT/taobin_project/spiral/image/page_spiral/spiral_product_" + $03-02-01-0007.image
Var Spiraldetail = "ROOT/taobin_project/spiral/image/page_spiral/spiral_text_detail_" + $03-02-01-0007.image
@ -1567,7 +1567,7 @@
Var NameDrink = $03-02-01-0008.NameE
Var NameDrinkTH = $03-02-01-0008.Name
Var DrinkDescriptionTH = $03-02-01-0008.description
;Var DrinkDescription = $03-02-01-0008.descriptionE
Var DrinkDescription = $03-02-01-0008.descriptionE
Var PriceDrink = $03-02-01-0008.Price
Var SpiralProduct = "ROOT/taobin_project/spiral/image/page_spiral/spiral_product_" + $03-02-01-0008.image
Var Spiraldetail = "ROOT/taobin_project/spiral/image/page_spiral/spiral_text_detail_" + $03-02-01-0008.image
@ -1724,7 +1724,7 @@
Var NameDrink = $03-02-01-0009.NameE
Var NameDrinkTH = $03-02-01-0009.Name
Var DrinkDescriptionTH = $03-02-01-0009.description
;Var DrinkDescription = $03-02-01-0009.descriptionE
Var DrinkDescription = $03-02-01-0009.descriptionE
Var PriceDrink = $03-02-01-0009.Price
Var SpiralProduct = "ROOT/taobin_project/spiral/image/page_spiral/spiral_product_" + $03-02-01-0009.image
Var Spiraldetail = "ROOT/taobin_project/spiral/image/page_spiral/spiral_text_detail_" + $03-02-01-0009.image
@ -1879,7 +1879,7 @@
Var NameDrink = $03-02-01-0010.NameE
Var NameDrinkTH = $03-02-01-0010.Name
Var DrinkDescriptionTH = $03-02-01-0010.description
;Var DrinkDescription = $03-02-01-0010.descriptionE
Var DrinkDescription = $03-02-01-0010.descriptionE
Var PriceDrink = $03-02-01-0010.Price
Var SpiralProduct = "ROOT/taobin_project/spiral/image/page_spiral/spiral_product_" + $03-02-01-0010.image
Var Spiraldetail = "ROOT/taobin_project/spiral/image/page_spiral/spiral_text_detail_" + $03-02-01-0010.image
@ -2034,7 +2034,7 @@
Var NameDrink = $03-02-01-0011.NameE
Var NameDrinkTH = $03-02-01-0011.Name
Var DrinkDescriptionTH = $03-02-01-0011.description
;Var DrinkDescription = $03-02-01-0011.descriptionE
Var DrinkDescription = $03-02-01-0011.descriptionE
Var PriceDrink = $03-02-01-0011.Price
Var SpiralProduct = "ROOT/taobin_project/spiral/image/page_spiral/spiral_product_" + $03-02-01-0011.image
Var Spiraldetail = "ROOT/taobin_project/spiral/image/page_spiral/spiral_text_detail_" + $03-02-01-0011.image
@ -2162,38 +2162,38 @@
; button i=1 01-00-00-0012
; button i=1 03-02-01-0012
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> $01-00-00-0012.Button </State>
<State> $03-02-01-0012.Button </State>
<Button>
<State> $01-00-00-0012.Button </State>
<Filename> Var( "ROOT/taobin_project/spiral/image/page_spiral/" + $01-00-00-0012.image ) </Filename>
<FilenamePress> Var( "ROOT/taobin_project/spiral/image/page_spiral_press/" + $01-00-00-0012.image ) " </FilenamePress>
;<FilenameDisable> Var( "ROOT/taobin_project/spiral/image/page_spiral_disable/" + $01-00-00-0012.image ) " </FilenameDisable>
<State> $03-02-01-0012.Button </State>
<Filename> Var( "ROOT/taobin_project/spiral/image/page_spiral/" + $03-02-01-0012.image ) </Filename>
<FilenamePress> Var( "ROOT/taobin_project/spiral/image/page_spiral_press/" + $03-02-01-0012.image ) " </FilenamePress>
<FilenameDisable> Var( "ROOT/taobin_project/spiral/image/page_spiral_press/" + $03-02-01-0012.image ) " </FilenameDisable>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var SpiralSelectdetail1 = $01-00-00-0012.detail1
Var SpiralSelectheader2 = $01-00-00-0012.header2
Var SpiralSelectdetail2 = $01-00-00-0012.detail2
Var SpiralSelectdetail1 = $03-02-01-0012.detail1
Var SpiralSelectheader2 = $03-02-01-0012.header2
Var SpiralSelectdetail2 = $03-02-01-0012.detail2
Var SpiralSelectdetail1E = $01-00-00-0012.detail1E
Var SpiralSelectheader2E = $01-00-00-0012.header2E
Var SpiralSelectdetail2E = $01-00-00-0012.detail2E
Var SpiralSelectdetail1E = $03-02-01-0012.detail1E
Var SpiralSelectheader2E = $03-02-01-0012.header2E
Var SpiralSelectdetail2E = $03-02-01-0012.detail2E
Var ServiceCredit = "01-00-00-0012"
Var SelectDrink = $01-00-00-0012.Self
Var NameDrink = $01-00-00-0012.NameE
Var NameDrinkTH = $01-00-00-0012.Name
Var DrinkDescriptionTH = $01-00-00-0012.description
;Var DrinkDescription = $01-00-00-0012.descriptionE
Var PriceDrink = $01-00-00-0012.Price
Var SpiralProduct = "ROOT/taobin_project/spiral/image/page_spiral/spiral_product_" + $01-00-00-0012.image
Var Spiraldetail = "ROOT/taobin_project/spiral/image/page_spiral/spiral_text_detail_" + $01-00-00-0012.image
Var ServiceCredit = "03-02-01-0012"
Var SelectDrink = $03-02-01-0012.Self
Var NameDrink = $03-02-01-0012.NameE
Var NameDrinkTH = $03-02-01-0012.Name
Var DrinkDescriptionTH = $03-02-01-0012.description
Var DrinkDescription = $03-02-01-0012.descriptionE
Var PriceDrink = $03-02-01-0012.Price
Var SpiralProduct = "ROOT/taobin_project/spiral/image/page_spiral/spiral_product_" + $03-02-01-0012.image
Var Spiraldetail = "ROOT/taobin_project/spiral/image/page_spiral/spiral_text_detail_" + $03-02-01-0012.image
SAVELOG NameDrink
Var PriceShowValue = charOfBaht + PriceDrink
@ -2209,7 +2209,7 @@
<Y> 117 </Y>
<State>
eval(
If $01-00-00-0012.Button = "Disable" Then
If $03-02-01-0012.Button = "Disable" Then
Var return = "Enable"
Else
@ -2230,7 +2230,7 @@
<Font> MITRegularTTF </Font>
<Color> 0x5A5A5A </Color>
<Mode> "disable-show" </Mode>
<State> $01-00-00-0012.Button </State>
<State> $03-02-01-0012.Button </State>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
@ -2253,7 +2253,7 @@
<Size> 17 </Size>
<Font> KanitMediumTTF </Font>
<Color> ColorBrown2 </Color>
<Value> $01-00-00-0012.Price </Value>
<Value> $03-02-01-0012.Price </Value>
</Text>
<Text>
@ -2278,7 +2278,7 @@
<Font> KanitMediumTTF </Font>
<Color> ColorBlack1 </Color>
<State> showthaiText </State>
<Value> $01-00-00-0012.Name </Value>
<Value> $03-02-01-0012.Name </Value>
</Text>
<Text>
@ -2289,7 +2289,7 @@
<Font> KanitMediumTTF </Font>
<Color> ColorBrown </Color>
<State> showthaiText </State>
<Value> $01-00-00-0012.description </Value>
<Value> $03-02-01-0012.description </Value>
</Text>
<Text>
@ -2301,7 +2301,7 @@
<Font> KanitMediumTTF </Font>
<Color> ColorBlack1 </Color>
<State> showengText </State>
<Value> $01-00-00-0012.NameE </Value>
<Value> $03-02-01-0012.NameE </Value>
</Text>
<Text>
@ -2312,44 +2312,44 @@
<Font> KanitMediumTTF </Font>
<Color> ColorBrown </Color>
<State> showengText </State>
<Value> $01-00-00-0012.descriptionE </Value>
<Value> $03-02-01-0012.descriptionE </Value>
</Text>
</Block>
; button i=1 01-00-00-0013
; button i=1 03-01-01-0039
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> $01-00-00-0013.Button </State>
<State> $03-01-01-0039.Button </State>
<Button>
<State> $01-00-00-0013.Button </State>
<Filename> Var( "ROOT/taobin_project/spiral/image/page_spiral/" + $01-00-00-0013.image ) </Filename>
<FilenamePress> Var( "ROOT/taobin_project/spiral/image/page_spiral_press/" + $01-00-00-0013.image ) " </FilenamePress>
;<FilenameDisable> Var( "ROOT/taobin_project/spiral/image/page_spiral_disable/" + $01-00-00-0013.image ) " </FilenameDisable>
<State> $03-01-01-0039.Button </State>
<Filename> Var( "ROOT/taobin_project/spiral/image/page_spiral/" + $03-01-01-0039.image ) </Filename>
<FilenamePress> Var( "ROOT/taobin_project/spiral/image/page_spiral_press/" + $03-01-01-0039.image ) " </FilenamePress>
<FilenameDisable> Var( "ROOT/taobin_project/spiral/image/page_spiral_press/" + $03-01-01-0039.image ) " </FilenameDisable>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var SpiralSelectdetail1 = $01-00-00-0013.detail1
Var SpiralSelectheader2 = $01-00-00-0013.header2
Var SpiralSelectdetail2 = $01-00-00-0013.detail2
Var SpiralSelectdetail1 = $03-01-01-0039.detail1
Var SpiralSelectheader2 = $03-01-01-0039.header2
Var SpiralSelectdetail2 = $03-01-01-0039.detail2
Var SpiralSelectdetail1E = $01-00-00-0013.detail1E
Var SpiralSelectheader2E = $01-00-00-0013.header2E
Var SpiralSelectdetail2E = $01-00-00-0013.detail2E
Var SpiralSelectdetail1E = $03-01-01-0039.detail1E
Var SpiralSelectheader2E = $03-01-01-0039.header2E
Var SpiralSelectdetail2E = $03-01-01-0039.detail2E
Var ServiceCredit = "01-00-00-0013"
Var SelectDrink = $01-00-00-0013.Self
Var NameDrink = $01-00-00-0013.NameE
Var NameDrinkTH = $01-00-00-0013.Name
Var DrinkDescriptionTH = $01-00-00-0013.description
;Var DrinkDescription = $01-00-00-0013.descriptionE
Var PriceDrink = $01-00-00-0013.Price
Var SpiralProduct = "ROOT/taobin_project/spiral/image/page_spiral/spiral_product_" + $01-00-00-0013.image
Var Spiraldetail = "ROOT/taobin_project/spiral/image/page_spiral/spiral_text_detail_" + $01-00-00-0013.image
Var ServiceCredit = "03-01-01-0039"
Var SelectDrink = $03-01-01-0039.Self
Var NameDrink = $03-01-01-0039.NameE
Var NameDrinkTH = $03-01-01-0039.Name
Var DrinkDescriptionTH = $03-01-01-0039.description
Var DrinkDescription = $03-01-01-0039.descriptionE
Var PriceDrink = $03-01-01-0039.Price
Var SpiralProduct = "ROOT/taobin_project/spiral/image/page_spiral/spiral_product_" + $03-01-01-0039.image
Var Spiraldetail = "ROOT/taobin_project/spiral/image/page_spiral/spiral_text_detail_" + $03-01-01-0039.image
SAVELOG NameDrink
Var PriceShowValue = charOfBaht + PriceDrink
@ -2360,6 +2360,37 @@
</EventOnClick>
</Button>
<Image>
<X> 49 </X>
<Y> 117 </Y>
<State>
eval(
If $03-01-01-0039.Button = "Disable" Then
Var return = "Enable"
Else
Var return = "Invisible"
EndIf
)
</State>
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
</Image>
<Text>
<X> 48 </X>
<Y> 116 </Y>
<Size> 32 </Size>
<Width>128</Width>
<Height>64</Height>
<Font> MITRegularTTF </Font>
<Color> 0x5A5A5A </Color>
<Mode> "disable-show" </Mode>
<State> $03-01-01-0039.Button </State>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
<Image>
<X> 10 </X>
<Y> 251 </Y>
@ -2378,7 +2409,7 @@
<Size> 17 </Size>
<Font> KanitMediumTTF </Font>
<Color> ColorBrown2 </Color>
<Value> $01-00-00-0013.Price </Value>
<Value> $03-01-01-0039.Price </Value>
</Text>
<Text>
@ -2403,7 +2434,7 @@
<Font> KanitMediumTTF </Font>
<Color> ColorBlack1 </Color>
<State> showthaiText </State>
<Value> $01-00-00-0013.Name </Value>
<Value> $03-01-01-0039.Name </Value>
</Text>
<Text>
@ -2414,7 +2445,7 @@
<Font> KanitMediumTTF </Font>
<Color> ColorBrown </Color>
<State> showthaiText </State>
<Value> $01-00-00-0013.description </Value>
<Value> $03-01-01-0039.description </Value>
</Text>
<Text>
@ -2426,7 +2457,7 @@
<Font> KanitMediumTTF </Font>
<Color> ColorBlack1 </Color>
<State> showengText </State>
<Value> $01-00-00-0013.NameE </Value>
<Value> $03-01-01-0039.NameE </Value>
</Text>
<Text>
@ -2437,7 +2468,7 @@
<Font> KanitMediumTTF </Font>
<Color> ColorBrown </Color>
<State> showengText </State>
<Value> $01-00-00-0013.descriptionE </Value>
<Value> $03-01-01-0039.descriptionE </Value>
</Text>
</Block>
@ -2445,38 +2476,38 @@
; button i=1 01-00-00-0014
; button i=1 03-01-01-0040
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> $01-00-00-0014.Button </State>
<State> $03-01-01-0040.Button </State>
<Button>
<State> $01-00-00-0014.Button </State>
<Filename> Var( "ROOT/taobin_project/spiral/image/page_spiral/" + $01-00-00-0014.image ) </Filename>
<FilenamePress> Var( "ROOT/taobin_project/spiral/image/page_spiral_press/" + $01-00-00-0014.image ) " </FilenamePress>
;<FilenameDisable> Var( "ROOT/taobin_project/spiral/image/page_spiral_disable/" + $01-00-00-0014.image ) " </FilenameDisable>
<State> $03-01-01-0040.Button </State>
<Filename> Var( "ROOT/taobin_project/spiral/image/page_spiral/" + $03-01-01-0040.image ) </Filename>
<FilenamePress> Var( "ROOT/taobin_project/spiral/image/page_spiral_press/" + $03-01-01-0040.image ) " </FilenamePress>
<FilenameDisable> Var( "ROOT/taobin_project/spiral/image/page_spiral_press/" + $03-01-01-0040.image ) " </FilenameDisable>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var SpiralSelectdetail1 = $01-00-00-0014.detail1
Var SpiralSelectheader2 = $01-00-00-0014.header2
Var SpiralSelectdetail2 = $01-00-00-0014.detail2
Var SpiralSelectdetail1 = $03-01-01-0040.detail1
Var SpiralSelectheader2 = $03-01-01-0040.header2
Var SpiralSelectdetail2 = $03-01-01-0040.detail2
Var SpiralSelectdetail1E = $01-00-00-0014.detail1E
Var SpiralSelectheader2E = $01-00-00-0014.header2E
Var SpiralSelectdetail2E = $01-00-00-0014.detail2E
Var SpiralSelectdetail1E = $03-01-01-0040.detail1E
Var SpiralSelectheader2E = $03-01-01-0040.header2E
Var SpiralSelectdetail2E = $03-01-01-0040.detail2E
Var ServiceCredit = "01-00-00-0014"
Var SelectDrink = $01-00-00-0014.Self
Var NameDrink = $01-00-00-0014.NameE
Var NameDrinkTH = $01-00-00-0014.Name
Var DrinkDescriptionTH = $01-00-00-0014.description
;Var DrinkDescription = $01-00-00-0014.descriptionE
Var PriceDrink = $01-00-00-0014.Price
Var SpiralProduct = "ROOT/taobin_project/spiral/image/page_spiral/spiral_product_" + $01-00-00-0014.image
Var Spiraldetail = "ROOT/taobin_project/spiral/image/page_spiral/spiral_text_detail_" + $01-00-00-0014.image
Var ServiceCredit = "03-01-01-0040"
Var SelectDrink = $03-01-01-0040.Self
Var NameDrink = $03-01-01-0040.NameE
Var NameDrinkTH = $03-01-01-0040.Name
Var DrinkDescriptionTH = $03-01-01-0040.description
Var DrinkDescription = $03-01-01-0040.descriptionE
Var PriceDrink = $03-01-01-0040.Price
Var SpiralProduct = "ROOT/taobin_project/spiral/image/page_spiral/spiral_product_" + $03-01-01-0040.image
Var Spiraldetail = "ROOT/taobin_project/spiral/image/page_spiral/spiral_text_detail_" + $03-01-01-0040.image
SAVELOG NameDrink
Var PriceShowValue = charOfBaht + PriceDrink
@ -2487,6 +2518,37 @@
</EventOnClick>
</Button>
<Image>
<X> 49 </X>
<Y> 117 </Y>
<State>
eval(
If $03-01-01-0040.Button = "Disable" Then
Var return = "Enable"
Else
Var return = "Invisible"
EndIf
)
</State>
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
</Image>
<Text>
<X> 48 </X>
<Y> 116 </Y>
<Size> 32 </Size>
<Width>128</Width>
<Height>64</Height>
<Font> MITRegularTTF </Font>
<Color> 0x5A5A5A </Color>
<Mode> "disable-show" </Mode>
<State> $03-01-01-0040.Button </State>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
<Image>
<X> 10 </X>
<Y> 251 </Y>
@ -2505,7 +2567,7 @@
<Size> 17 </Size>
<Font> KanitMediumTTF </Font>
<Color> ColorBrown2 </Color>
<Value> $01-00-00-0014.Price </Value>
<Value> $03-01-01-0040.Price </Value>
</Text>
<Text>
@ -2530,7 +2592,7 @@
<Font> KanitMediumTTF </Font>
<Color> ColorBlack1 </Color>
<State> showthaiText </State>
<Value> $01-00-00-0014.Name </Value>
<Value> $03-01-01-0040.Name </Value>
</Text>
<Text>
@ -2541,7 +2603,7 @@
<Font> KanitMediumTTF </Font>
<Color> ColorBrown </Color>
<State> showthaiText </State>
<Value> $01-00-00-0014.description </Value>
<Value> $03-01-01-0040.description </Value>
</Text>
<Text>
@ -2553,7 +2615,7 @@
<Font> KanitMediumTTF </Font>
<Color> ColorBlack1 </Color>
<State> showengText </State>
<Value> $01-00-00-0014.NameE </Value>
<Value> $03-01-01-0040.NameE </Value>
</Text>
<Text>
@ -2564,7 +2626,7 @@
<Font> KanitMediumTTF </Font>
<Color> ColorBrown </Color>
<State> showengText </State>
<Value> $01-00-00-0014.descriptionE </Value>
<Value> $03-01-01-0040.descriptionE </Value>
</Text>
</Block>
@ -2597,7 +2659,7 @@
Var NameDrink = $01-00-00-0015.NameE
Var NameDrinkTH = $01-00-00-0015.Name
Var DrinkDescriptionTH = $01-00-00-0015.description
;Var DrinkDescription = $01-00-00-0015.descriptionE
Var DrinkDescription = $01-00-00-0015.descriptionE
Var PriceDrink = $01-00-00-0015.Price
Var SpiralProduct = "ROOT/taobin_project/spiral/image/page_spiral/spiral_product_" + $01-00-00-0015.image
Var Spiraldetail = "ROOT/taobin_project/spiral/image/page_spiral/spiral_text_detail_" + $01-00-00-0015.image

View file

@ -43,6 +43,8 @@
Var alphaState = "Invisible"
Var alphaState2 = "Invisible"
Var FlagalphaState2 = 0
Var alphaState2t = alphaState2
Var alphaState3 = "Invisible"
@ -207,6 +209,7 @@
If Canout = 0 Then
Var RemainAmountStr = 0
Else
Var FlagalphaState2 = 1
Var RemainAmountStr = "ทอน " + Canout
EndIf
@ -350,6 +353,7 @@
If web_payment = "CASH" Then
Var alphaState2 = "Enable"
Var alphaState2t = alphaState2
EndIf
If web_payment = "QR" Then
@ -1023,6 +1027,7 @@
If Canout = 0 Then
Var RemainAmountStr = 0
Else
Var FlagalphaState2 = 1
Var RemainAmountStr = "ทอน " + Canout
EndIf
@ -1041,8 +1046,12 @@
;Var RemainAmount = 0
Var showRemaining = charOfBaht + RemainAmountStr
Var alphaState2 = "Enable"
Var alphaState2t = alphaState2
If FlagalphaState2 = 1 Then
Var alphaState2t = "Invisible"
EndIf
EndIf
@ -1196,6 +1205,7 @@
If EnoughChange = "yes" Then
Var alphaState2 = "Enable"
Var alphaState2t = alphaState2
If RoadShow = "true" Then
Var GIFShowProcess = "ROOT/ui/page_05_loading/pic_loading_cup.gif"
@ -1702,7 +1712,7 @@
<Button>
<X> 438 </X>
<Y> 1345 </Y>
<State> alphaState2 </State>
<State> alphaState2t </State>
<Filename> Var( DirImage + "/bn_cancel.png" )</Filename>
<FilenamePress> Var( DirImage + "/bp_cancel.png" )</FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
@ -1736,6 +1746,7 @@
EndIf
Var alphaState2 = "Invisible"
Var alphaState2t = alphaState2
Refresh
@ -1871,16 +1882,16 @@
Open "/media/bt/xml/security_alarm.xml"
</EventSecurity>
;<Text>
;<X> 0 </X>
;<Y> 1880 </Y>
;<Size> 14 </Size>
;<Align> "Left" </Align>
;<Width> 1080 </Width>
;<Font> KanitThinTTF </Font>
;<Color> 0x513C2F </Color>
;<Value> SelectDrink </Value>
;</Text>
<Text>
<X> 100 </X>
<Y> 1880 </Y>
<Size> 14 </Size>
<Align> "Left" </Align>
<Width> 1080 </Width>
<Font> KanitThinTTF </Font>
<Color> 0x513C2F </Color>
<Value> "55555" </Value>
</Text>

View file

@ -7,9 +7,16 @@ if param == "old":
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()
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()

335
xml/menu_catalog_new.lxml Normal file
View file

@ -0,0 +1,335 @@
; 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>
<EventLanguageChange>
Refresh
</EventLanguageChange>
; 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.xml"
EndIf
Else
Open "ROOT/taobin_project/xml/page_catalog.xml"
EndIf
</EventClick>
</Button>
<Button>
<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>
; eng
If show_eng = "true" Then
Var show_eng = "false"
Var text_unavailable = "หมด###size=32"
Else
Var show_eng = "true"
Var text_unavailable = "UNAVAILABLE###size=16"
EndIf
Open CurrentXMLFileName2
</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_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>

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -146,7 +146,7 @@
Var CocktailShow = "false"
Var RoadShow = "false"
EndIf
Var TermTemOnline = "false"
Var TaobinOnline = "false"

View file

@ -293,6 +293,13 @@
Var EnableSelectMenuBetweenBrew = "Invisible"
EndIf
If NeedUpgrade = "true" Then
Var EnableSelectMenuBetweenBrewBlink = "Invisible"
Var EnableSelectMenuBetweenBrew = "Invisible"
EndIf
DEBUGVAR NeedUpgrade
Var CreditCardVoid = 0

View file

@ -251,6 +251,9 @@
<Color> "0xeae6e1" </Color>
</Image>
<EventLanguageChange>
Refresh
</EventLanguageChange>
; back
@ -310,7 +313,7 @@
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert2.xml"
; eng
Open "ROOT/taobin_project/xml/page_catalog_group_recommend.xml"
Open "ROOT/taobin_project/xml/page_catalog_group_recommend.lxml"
</EventClick>
<Language>
@ -332,7 +335,7 @@
<EventClick>
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert2.xml"
Open "ROOT/taobin_project/xml/page_catalog_group_coffee.xml"
Open "ROOT/taobin_project/xml/page_catalog_group_coffee.lxml"
</EventClick>
<Language>
@ -354,7 +357,8 @@
<Volume> SoundVolume </Volume>
<EventClick>
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert2.xml"
Open "ROOT/taobin_project/xml/page_catalog_group_tea.xml"
Open "ROOT/taobin_project/xml/page_catalog_group_tea.lxml"
</EventClick>
<Language>
@ -375,7 +379,8 @@
<Volume> SoundVolume </Volume>
<EventClick>
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert2.xml"
Open "ROOT/taobin_project/xml/page_catalog_group_milk.xml"
Open "ROOT/taobin_project/xml/page_catalog_group_milk.lxml"
</EventClick>
<Language>
@ -398,7 +403,8 @@
<Volume> SoundVolume </Volume>
<EventClick>
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert2.xml"
Open "ROOT/taobin_project/xml/page_catalog_group_forkid.xml"
Open "ROOT/taobin_project/xml/page_catalog_group_forkid.lxml"
</EventClick>
<Language>
@ -420,7 +426,8 @@
<Volume> SoundVolume </Volume>
<EventClick>
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert2.xml"
Open "ROOT/taobin_project/xml/page_catalog_group_appfast.xml"
Open "ROOT/taobin_project/xml/page_catalog_group_appfast.lxml"
</EventClick>
<Language>
@ -442,7 +449,8 @@
<Volume> SoundVolume </Volume>
<EventClick>
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert2.xml"
Open "ROOT/taobin_project/xml/page_catalog_group_other.xml"
Open "ROOT/taobin_project/xml/page_catalog_group_other.lxml"
</EventClick>
<Language>
<ID> 000009 </ID>
@ -467,7 +475,8 @@
<Volume> SoundVolume </Volume>
<EventClick>
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert2.xml"
Open "ROOT/taobin_project/xml/page_catalog_group_whey.xml"
Open "ROOT/taobin_project/xml/page_catalog_group_whey.lxml"
</EventClick>
<Language>
@ -491,7 +500,7 @@
<EventClick>
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert2.xml"
Open "ROOT/taobin_project/xml/page_catalog_group_health.xml"
Open "ROOT/taobin_project/xml/page_catalog_group_health.lxml"
</EventClick>
<Language>

View file

@ -1,111 +0,0 @@
<?hurr
#include=menu_head.py
?>
<?hurr
product_code = []
product_code.append('best_seller_1')
product_code.append('12-01-01-0003')
product_code.append('12-01-01-0004')
product_code.append('12-01-02-0003')
product_code.append('12-03-02-0002')
product_code.append('12-03-02-0004')
product_code.append('12-02-02-0002')
product_code.append('12-02-02-0004')
product_code.append('12-02-02-0001')
product_code.append('12-02-02-0007')
product_code.append('12-02-02-0008')
product_code.append('12-05-02-0007')
product_code.append('12-05-02-0021')
product_code.append('12-05-02-0013')
product_code.append('12-05-02-0012')
product_code.append('12-05-02-0009')
menu_count = len( product_code)
?>
<Popup>
<Cache> "Enable" </Cache>
<Width> 1080 </Width>
<Height> 1920 </Height>
<Background> "0xeae6e1" </Background>
<Volume> SoundVolume </Volume>
<EventOpen>
; On open
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/bn_thai_lang_press.png"
Var show_btn = "ROOT/taobin_project/image/bn_thai_lang.png"
Else
Var showengText = "Invisible"
Var showthaiText = "Enable"
Var DirImage = "ROOT/taobin_project/image/page3"
Var show_btp = "ROOT/taobin_project/image/bn_eng_lang_press.png"
Var show_btn = "ROOT/taobin_project/image/bn_eng_lang.png"
EndIf
Var Menu1Selected = "PressForever"
Var Menu2Selected = "Enable"
Var Menu3Selected = "Enable"
Var Menu4Selected = "Enable"
Var Menu5Selected = "Invisible"
Var Menu6Selected = "Enable"
Var Menu7Selected = "Enable"
Var Menu8Selected = "Invisible"
If CocktailShow = "true" Then
Var Menu7Selected = "Invisible"
Var Menu8Selected = "Enable"
EndIf
SAVELOG PreviseXMLFileName2
Var Timeout = 0
Var showCart = "Invisible"
If MultiPayEnable = "true" Then
If CART_COUNT = 1 Then
Var showCart = "Enable"
Var cart_image_bn = DirImageCart + "/bn_cart1.png"
Var cart_image_bp = DirImageCart + "/bp_cart1.png"
EndIf
If CART_COUNT = 2 Then
Var showCart = "Enable"
Var cart_image_bn = DirImageCart + "/bn_cart2.png"
Var cart_image_bp = DirImageCart + "/bp_cart2.png"
EndIf
If CART_COUNT = 3 Then
Open "ROOT/taobin_project/xml/page_payment_multi.xml"
EndIf
EndIf
</EventOpen>
<?hurr
#include=menu_catalog.xml
?>
<?hurr
#include=menu_gen.py
?>
</Popup>

File diff suppressed because it is too large Load diff

View file

@ -1,106 +0,0 @@
<?hurr
#include=menu_head.py
?>
<?hurr
product_code = []
product_code.append('best_seller_1')
product_code.append('best_seller_2')
product_code.append('best_seller_3')
product_code.append('best_seller_4')
product_code.append('best_seller_5')
product_code.append('best_seller_6')
product_code.append('best_seller_7')
product_code.append('best_seller_8')
product_code.append('best_seller_9')
product_code.append('best_seller_10')
product_code.append('best_seller_11')
product_code.append('best_seller_12')
product_code.append('best_seller_13')
product_code.append('best_seller_14')
product_code.append('best_seller_15')
product_code.append('best_seller_16')
menu_count = len( product_code)
?>
<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
?>
If SpiralOnline = "true" Then
Var Menu1Selected2 = "PressForever"
Else
; coffee show
Var Menu1Selected = "PressForever"
EndIf
SAVELOG PreviseXMLFileName2
Var Timeout = 0
Var showCart = "Invisible"
If MultiPayEnable = "true" Then
If CART_COUNT = 1 Then
Var showCart = "Enable"
Var cart_image_bn = DirImageCart + "/bn_cart1.png"
Var cart_image_bp = DirImageCart + "/bp_cart1.png"
EndIf
If CART_COUNT = 2 Then
Var showCart = "Enable"
Var cart_image_bn = DirImageCart + "/bn_cart2.png"
Var cart_image_bp = DirImageCart + "/bp_cart2.png"
EndIf
If CART_COUNT = 3 Then
Open "ROOT/taobin_project/xml/page_payment_multi.xml"
EndIf
EndIf
</EventOpen>
<?hurr
#include=menu_catalog.xml
?>
<?hurr
#include=menu_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
</EventClick>
</Button>
</Popup>

File diff suppressed because it is too large Load diff

View file

@ -1,75 +0,0 @@
<?hurr
#include=menu_head.py
?>
<?hurr
product_code = []
product_code.append('12-04-02-1018')
product_code.append('12-04-02-1019')
product_code.append('12-04-02-1020')
product_code.append('12-04-02-1021')
product_code.append('12-04-02-1022')
menu_count = len( product_code)
?>
<Popup>
<Cache> "Enable" </Cache>
<Width> 1080 </Width>
<Height> 1920 </Height>
;<Background> "0xeae6e1" </Background>
<Volume> SoundVolume </Volume>
<EventOpen>
; On open
; On open
<?hurr
#include=menu_catalog_default_init.xml
?>
If SpiralOnline = "true" Then
If AppFastEnable = "true" Then
Var Menu11Selected2 = "PressForever"
Var Menu7Selected2 = "Invisible"
Else
Var Menu11Selected2 = "Invisible"
Var Menu7Selected2 = "PressForever"
EndIf
Else
If AppFastEnable = "true" Then
Var Menu11Selected = "PressForever"
Var Menu7Selected = "Invisible"
Else
Var Menu11Selected = "Invisible"
Var Menu7Selected = "PressForever"
EndIf
EndIf
Var Timeout = 0
</EventOpen>
<?hurr
#include=menu_catalog.xml
?>
<?hurr
#include=menu_gen.py
?>
</Popup>

File diff suppressed because it is too large Load diff

View file

@ -1,130 +0,0 @@
<?hurr
#include=menu_head.py
?>
<?hurr
product_code = []
product_code.append('12-01-01-0001')
# Bean 3 esp
product_code.append('12-01-01-0013')
product_code.append('12-01-01-0020')
product_code.append('12-01-01-0022')
product_code.append('12-01-01-0026')
product_code.append('12-01-01-0024')
product_code.append('12-01-01-0028')
product_code.append('12-01-01-0033')
# Normal esp
product_code.append('12-11-01-0001')
product_code.append('12-01-01-0003')
# Bean 3 hot ameri
product_code.append('12-01-01-0014')
product_code.append('12-01-01-0019')
product_code.append('12-01-01-0021')
product_code.append('12-01-01-0025')
product_code.append('12-01-01-0023')
product_code.append('12-01-01-0027')
product_code.append('12-01-01-0032')
# End
product_code.append('12-01-01-0004')
product_code.append('12-01-01-0005')
product_code.append('12-01-01-0006')
product_code.append('12-01-01-0007')
product_code.append('12-01-01-0008')
product_code.append('12-01-01-0031')
product_code.append('12-01-01-0009')
product_code.append('12-01-01-0010')
product_code.append('12-01-01-0011')
product_code.append('12-01-01-0012')
product_code.append('12-01-01-0017')
# Bean 3 Dirty
product_code.append('12-01-02-0018')
product_code.append('12-01-02-0020')
product_code.append('12-01-02-0022')
product_code.append('12-01-02-0026')
product_code.append('12-01-02-0024')
product_code.append('12-01-02-0028')
product_code.append('12-01-02-0033')
# End
product_code.append('12-11-02-0001')
product_code.append('12-01-02-0001')
# Bean 3 Ice ameri
product_code.append('12-01-02-0011')
product_code.append('12-01-02-0019')
product_code.append('12-01-02-0021')
product_code.append('12-01-02-0025')
product_code.append('12-01-02-0023')
product_code.append('12-01-02-0027')
product_code.append('12-01-02-0032')
# End
product_code.append('12-01-02-0002')
product_code.append('12-11-02-0002')
product_code.append('12-01-02-0003')
product_code.append('12-01-02-0004')
product_code.append('12-01-02-0005')
product_code.append('12-01-02-0031')
product_code.append('12-01-02-0007')
product_code.append('12-01-02-0008')
product_code.append('12-01-02-0009')
product_code.append('12-01-02-0017')
#product_code.append('11-01-02-0009')
product_code.append('12-01-02-0006')
#product_code.append('')
menu_count = len( product_code)
?>
<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
?>
If SpiralOnline = "true" Then
Var Menu2Selected2 = "PressForever"
Else
; coffee show
Var Menu2Selected = "PressForever"
EndIf
Var Timeout = 0
</EventOpen>
<?hurr
#include=menu_catalog.xml
?>
<?hurr
#include=menu_gen.py
?>
</Popup>

File diff suppressed because it is too large Load diff

View file

@ -1,307 +0,0 @@
<?hurr
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/'
menu_count = 6
x1 = 44
x2 = 301
x3 = 558
x4 = 815
ystep = 899 - 571
y1 = 54
y2 = y1 + ystep*1
y3 = y1 + ystep*2
y4 = y1 + ystep*3
y5 = y1 + ystep*4
y6 = y1 + ystep*5
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
]
bt_pic = []
#bt_pic.append('b#_diy.png')
bt_pic.append('b#_hot_espresso.png')
bt_pic.append('b#_hot_double_espresso.png')
bt_pic.append('b#_hot_latte.png')
bt_pic.append('b#_hot_america_no.png')
bt_pic.append('b#_hot_mocha.png')
bt_pic.append('b#_hot_caramel_macchiato.png')
bt_pic.append('b#_hot_cappuccino.png')
bt_pic.append('b#_iced_epsresso.png')
bt_pic.append('b#_iced_thai_black_coffee.png')
bt_pic.append('b#_iced_lattle.png')
bt_pic.append('b#_iced_america_no.png')
bt_pic.append('b#_iced_epsresso.png')
bt_pic.append('b#_iced_thai_black_coffee.png')
bt_pic.append('b#_iced_lattle.png')
bt_pic.append('b#_iced_america_no.png')
bt_pic.append('b#_iced_mocha.png')
bt_pic.append('b#_iced_caramel_macchiato.png')
bt_pic.append('b#_iced_cappuccino.png')
#bt_pic.append('b#.png')
product_code = []
#product_code.append('##-##-##-####')
product_code.append('11-99-01-0010')
product_code.append('11-99-01-0001')
product_code.append('11-99-01-0002')
product_code.append('11-99-01-0004')
product_code.append('11-99-01-0007')
product_code.append('11-99-01-0017')
product_code.append('11-99-01-0003')
product_code.append('11-99-02-0006')
product_code.append('11-99-02-0024')
product_code.append('11-99-02-0001')
product_code.append('11-99-02-0003')
product_code.append('11-99-02-0006')
product_code.append('11-99-02-0024')
product_code.append('11-99-02-0001')
product_code.append('11-99-02-0003')
product_code.append('11-99-02-0007')
product_code.append('11-99-02-0030')
product_code.append('11-99-02-0002')
#product_code.append('')
menu_count = len( bt_pic)
?>
<Popup>
<Cache> "Enable" </Cache>
<Width> 1080 </Width>
<Height> 1920 </Height>
<Background> "0xeae6e1" </Background>
<Volume> SoundVolume </Volume>
<Sound> "ROOT/sounds/selectDrink.wav" </Sound>
<EventOpen>
; On open
</EventOpen>
<Timeout> 60000 </Timeout>
<EventTimeout>
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
TimerReset
</EventTimeout>
<Image>
<X> 0 </X>
<Y> 0 </Y>
<Filename> "ROOT/taobin_project/image/ad_medium_2.png" </Filename>
</Image>
; under line
<Image>
<X> 0 </X>
<Y> 517 </Y>
<Filename> "ROOT/taobin_project/image/page3/tab_line_bottom.png" </Filename>
</Image>
; under line
<Image>
<X> 0 </X>
<Y> 380 </Y>
<Filename> "ROOT/taobin_project/image/page3/bg1.png" </Filename>
</Image>
; back
<Button>
<X> 19 </X>
<Y> 420 </Y>
<Filename> "ROOT/taobin_project/image/page2/bn_back_arrow.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page2/bn_back_arrow.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> 990 </X>
<Y> 438 </Y>
<Filename> "ROOT/taobin_project/image/page2/bn_eng_lang.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page2/bn_eng_lang.png" </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
; eng
</EventClick>
</Button>
;bn_bestseller
<Button>
<X> 92 </X>
<Y> 418 </Y>
<Filename> "ROOT/taobin_project/image/page3/bn_bestseller.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page3/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>
<State> "PressForever" </State>
<Filename> "ROOT/taobin_project/image/page3/bn_coffee.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page3/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> "ROOT/taobin_project/image/page3/bn_tea.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page3/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> "ROOT/taobin_project/image/page3/bn_cho_ca.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page3/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> "ROOT/taobin_project/image/page3/bn_fruit.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page3/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> "ROOT/taobin_project/image/page3/bn_sodada.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page3/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>
<?hurr
#include=menu_gen_alter.py
?>
</Popup>

File diff suppressed because it is too large Load diff

View file

@ -1,114 +0,0 @@
<?hurr
#include=menu_head.py
?>
<?hurr
product_code = []
product_code.append('12-02-01-0001')
product_code.append('12-02-01-0002')
product_code.append('12-02-01-0024')
product_code.append('12-02-01-0020')
product_code.append('12-02-01-0003')
product_code.append('12-02-01-0025')
product_code.append('12-02-01-0004')
product_code.append('12-02-01-0026')
#product_code.append('12-02-01-0005') #HOT BLACK TEA
product_code.append('12-02-01-0006')
product_code.append('12-02-01-0021')
product_code.append('12-02-01-0007')
product_code.append('12-02-01-0008')
product_code.append('12-02-01-0019')
product_code.append('12-02-01-0009')
product_code.append('12-02-01-0022')
product_code.append('12-02-01-0010')
product_code.append('12-02-01-0011')
product_code.append('12-02-01-0027')
product_code.append('12-02-01-0012')
product_code.append('12-02-01-0028')
product_code.append('12-02-01-0017')
product_code.append('12-02-01-0031')
product_code.append('12-02-01-0032')
product_code.append('12-02-02-0020')
product_code.append('12-02-02-0001')
product_code.append('12-02-02-0002')
product_code.append('12-02-02-0003')
product_code.append('12-02-02-0025')
product_code.append('12-02-02-0004')
product_code.append('12-02-02-0026')
#12-02-02-0024
product_code.append('12-02-02-0005')
product_code.append('12-02-02-0024')
product_code.append('12-02-02-0006')
product_code.append('12-02-02-0007')
product_code.append('12-02-02-0008')
product_code.append('12-02-02-0019')
product_code.append('12-02-02-0009')
product_code.append('12-02-02-0022')
product_code.append('12-02-02-0010')
product_code.append('12-02-02-0011')
product_code.append('12-02-02-0027')
product_code.append('12-02-02-0012')
product_code.append('12-02-02-0028')
product_code.append('12-05-02-0027')
product_code.append('12-02-02-0031')
product_code.append('12-02-02-0032')
menu_count = len( product_code)
?>
<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
?>
; tea
If SpiralOnline = "true" Then
Var Menu3Selected2 = "PressForever"
Else
Var Menu3Selected = "PressForever"
EndIf
Var Timeout = 0
</EventOpen>
<?hurr
#include=menu_catalog.xml
?>
<?hurr
#include=menu_gen.py
?>
</Popup>

File diff suppressed because it is too large Load diff

View file

@ -1,71 +0,0 @@
<?hurr
#include=menu_head.py
?>
<?hurr
product_code = []
product_code.append('12-03-01-0001')
product_code.append('12-03-01-0002')
product_code.append('12-03-01-0003')
product_code.append('12-03-01-0004')
product_code.append('12-03-01-0005')
product_code.append('12-03-02-0001')
product_code.append('12-03-02-0002')
product_code.append('12-03-02-0003')
product_code.append('12-03-02-0004')
product_code.append('12-03-02-0006')
product_code.append('12-03-03-0011')
product_code.append('12-03-03-0010')
product_code.append('12-03-02-0005')
#product_code.append('12-03-02-0002')
product_code.append('12-03-02-0007')
product_code.append('12-03-03-0009')
menu_count = len( product_code)
?>
<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
?>
; cocoa
If SpiralOnline = "true" Then
Var Menu4Selected2 = "PressForever"
Else
Var Menu4Selected = "PressForever"
EndIf
Var Timeout = 0
</EventOpen>
<?hurr
#include=menu_catalog.xml
?>
<?hurr
#include=menu_gen.py
?>
</Popup>

File diff suppressed because it is too large Load diff

View file

@ -1,53 +0,0 @@
<?hurr
#include=menu_head.py
?>
<?hurr
# fruite
product_code = []
product_code.append('12-05-01-0001')
product_code.append('12-05-02-0001')
product_code.append('12-05-02-0002')
product_code.append('12-05-02-0003')
product_code.append('12-05-02-0004')
product_code.append('12-05-02-0005')
product_code.append('12-05-02-0040')
product_code.append('12-05-02-0006')
menu_count = len( product_code)
?>
<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 Timeout = 0
</EventOpen>
<?hurr
#include=menu_catalog.xml
?>
<?hurr
#include=menu_gen.py
?>
</Popup>

File diff suppressed because it is too large Load diff

View file

@ -1,107 +0,0 @@
<?hurr
#include=menu_head.py
?>
<?hurr
product_code = []
product_code.append('12-05-02-0007')
product_code.append('12-05-02-0019')
product_code.append('12-05-02-0020')
product_code.append('12-05-02-0021')
product_code.append('12-05-02-0035')
product_code.append('12-05-02-0010')
product_code.append('12-05-02-0011')
product_code.append('12-05-02-0033')
product_code.append('12-05-02-0028')
product_code.append('12-05-02-0012')
product_code.append('12-05-02-0041')
product_code.append('12-05-02-0013')
product_code.append('12-05-02-0031')
product_code.append('12-05-02-0008')
product_code.append('12-05-02-0009')
product_code.append('12-05-02-0024')
product_code.append('12-05-02-0038')
product_code.append('12-05-02-0029') # LIMENADE group
product_code.append('12-05-02-0025')
product_code.append('12-05-02-0039')
product_code.append('12-05-02-0014')
product_code.append('12-05-02-0015')
product_code.append('12-05-01-0001')
product_code.append('12-05-02-0001')
product_code.append('12-05-02-0034')
product_code.append('12-05-02-0004')
product_code.append('12-05-02-0032')
product_code.append('12-05-02-0005')
product_code.append('12-05-02-0040')
product_code.append('12-05-02-0006')
product_code.append('12-05-02-0026')
product_code.append('12-05-02-0030')
product_code.append('12-05-02-0002')
product_code.append('12-05-02-0003')
product_code.append('12-06-01-0001')
product_code.append('12-05-02-0016')
product_code.append('12-05-02-0017')
product_code.append('12-05-02-0018')
product_code.append('12-05-01-0002')
menu_count = len( product_code)
?>
<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
?>
; soda and other
If SpiralOnline = "true" Then
Var Menu6Selected2 = "PressForever"
Else
Var Menu6Selected = "PressForever"
EndIf
Var Timeout = 0
</EventOpen>
<?hurr
#include=menu_catalog.xml
?>
<?hurr
#include=menu_gen.py
?>
</Popup>

File diff suppressed because it is too large Load diff

View file

@ -1,84 +0,0 @@
<?hurr
#include=menu_head.py
?>
<?hurr
product_code = []
product_code.append('12-04-02-0001')
product_code.append('12-04-02-0016')
product_code.append('12-04-02-0002')
product_code.append('12-04-02-0003')
product_code.append('12-04-02-0013')
product_code.append('12-04-02-0004')
product_code.append('12-04-02-0005')
product_code.append('12-04-02-0006')
product_code.append('12-04-02-0007')
product_code.append('12-04-02-0008')
product_code.append('12-04-02-0009')
product_code.append('12-04-02-0010')
product_code.append('12-04-02-0011')
product_code.append('12-04-02-0014')
product_code.append('12-04-02-0017')
menu_count = len( product_code)
?>
<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
?>
; protein
If SpiralOnline = "true" Then
If AppFastEnable = "true" Then
Var Menu11Selected2 = "PressForever"
Var Menu7Selected2 = "Invisible"
Else
Var Menu11Selected2 = "Invisible"
Var Menu7Selected2 = "PressForever"
EndIf
Else
If AppFastEnable = "true" Then
Var Menu11Selected = "PressForever"
Var Menu7Selected = "Invisible"
Else
Var Menu11Selected = "Invisible"
Var Menu7Selected = "PressForever"
EndIf
EndIf
Var Timeout = 0
</EventOpen>
<?hurr
#include=menu_catalog.xml
?>
<?hurr
#include=menu_gen.py
?>
</Popup>

File diff suppressed because it is too large Load diff

View file

@ -1,66 +0,0 @@
<?hurr
#include=menu_head.py
?>
<?hurr
product_code = []
product_code.append('11-99-05-0001')
product_code.append('11-99-05-0002')
product_code.append('11-99-05-0003')
product_code.append('11-99-05-0004')
product_code.append('11-99-05-0005')
product_code.append('11-99-05-0006')
product_code.append('11-99-05-0007')
product_code.append('11-99-05-0008')
product_code.append('11-99-05-0009')
product_code.append('11-99-05-0010')
product_code.append('11-99-05-0012')
product_code.append('11-99-05-0013')
menu_count = len( product_code)
?>
<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
?>
; fuck!
Var Menu8Selected = "PressForever"
Var Timeout = 0
</EventOpen>
<?hurr
#include=menu_catalog.xml
?>
<?hurr
#include=menu_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

@ -47,9 +47,14 @@
<?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

@ -37,9 +37,14 @@
<?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

@ -37,10 +37,15 @@
<?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

@ -47,6 +47,11 @@
<?hurr
#include=menu_new_layout_gen_v2.py
?>
<?hurr
#include=menu_new_layout_gen.py
?>

File diff suppressed because it is too large Load diff

View file

@ -36,8 +36,9 @@
?>
<?hurr
#include=menu_new_layout_gen_v2.py
?>
<?hurr
#include=menu_new_layout_gen.py
?>

View file

@ -505,7 +505,6 @@
<FrameScroll>
<X> 10 </X>
<Y> 497 </Y>

File diff suppressed because it is too large Load diff

View file

@ -34,9 +34,14 @@
<?hurr
#include=menu_new_layout_gen_v2.py
?>
<?hurr
#include=menu_new_layout_gen.py
?>
</Popup>

View file

@ -514,7 +514,7 @@
Var block_index_override = 0
Var block_index_move = 0
</Script>
; menu_new_list 15
; menu_new_list 16
; ==================> Len = 16
; 12-03-01-0005 12-03-02-0005 12-03-03-0005
<Block>
@ -3795,7 +3795,7 @@ VOLCANO" </Value>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var NameDrink = "Cocoa Yuzu"
Var NameDrink = "COCOA YUZU"
Var NameDrinkTH = "โกโก้ยูซุ"
Var DrinkDescriptionTH = "โกโก้ และยูซุ"
Var DrinkDescription = "Cocoa and Yuzu syrup"
@ -3888,7 +3888,7 @@ VOLCANO" </Value>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showengText </State>
<Value> "Cocoa Yuzu" </Value>
<Value> "COCOA YUZU" </Value>
</Text>
<Text>
<X> 16 </X>
@ -4029,6 +4029,258 @@ VOLCANO" </Value>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; - - -
; ==================> Len = 16
; - - 12-03-03-0026
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-03-03-0026.Button,$Sum1203030026) </State>
<Button>
<State> $Sum1203030026 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_PinkOreo_smoothie.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_PinkOreo_smoothie.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_PinkOreo_smoothie.png" </FilenameDisable>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var NameDrink = "Pink milk Oreo Vocalno"
Var NameDrinkTH = "นมชมพูปั่น โอริโอ้ภูเขาไฟ"
Var DrinkDescriptionTH = "น้ำแดงกลิ่นสละ นม น้ำตาล Oreo"
Var DrinkDescription = "Salak Syrup, Milk, Sugar Oreo"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_PinkOreo_smoothie.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $-.Price
Var PriceD2 = $-.Price
Var PriceD3 = $12-03-03-0026.Price
Var PD_CODE1 = "##-##-##-####"
Var PD_CODE2 = "##-##-##-####"
Var PD_CODE3 = "12-03-03-0026"
Var PD_STAGE_1 = "Disable2"
Var PD_STAGE_2 = "Disable2"
Var PD_STAGE_3 = $12-03-03-0026.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" "-"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "-"
Else
Topping "Load" "12-03-03-0026"
EndIf
EndIf
Var menu_name_eng_hot = $##-##-##-####.NameE
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
Var menu_name_thai_hot = $##-##-##-####.Name
Var menu_desc_thai_hot = $##-##-##-####.description
Var menu_name_eng_cold = $##-##-##-####.NameE
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
Var menu_name_thai_cold = $##-##-##-####.Name
Var menu_desc_thai_cold = $##-##-##-####.description
Var menu_name_eng_blender = $12-03-03-0026.NameE
Var menu_desc_eng_blender = $12-03-03-0026.descriptionE
Var menu_name_thai_blender = $12-03-03-0026.Name
Var menu_desc_thai_blender = $12-03-03-0026.description
DEBUGVAR PD_STAGE_1
DEBUGVAR PD_STAGE_2
DEBUGVAR PD_STAGE_3
Var SelectDrinkType = 0
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
</EventOnClick>
</Button>
<Text>
<X> 16 </X>
<Y> 164 </Y>
<Size> 24 </Size>
<Width>220</Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showthaiText </State>
<Value> "นมชมพูปั่น
โอริโอ้ภูเขาไฟ" </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 220 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showthaiText </State>
<Value> "น้ำแดงกลิ่นสละ นม น้ำตาล
Oreo" </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 164 </Y>
<Size> 22 </Size>
<Width>220</Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showengText </State>
<Value> "Pink milk
Oreo Vocalno" </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 220 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showengText </State>
<Value> "Salak Syrup, Milk,
Sugar Oreo" </Value>
</Text>
<Image>
<X> 16 </X>
<Y> 264 </Y>
<Filename> Var( DirImage2 + "option_deactive.png" ) </Filename>
</Image>
<Image>
<X> 16 </X>
<Y> 264 </Y>
<State> "Invisible" </State>
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
</Image>
<Text>
<X> 50 </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> "Invisible" </State>
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
</Text>
<Image>
<X> 81 </X>
<Y> 264 </Y>
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
<State> "Invisible" </State>
</Image>
<Text>
<X> 115 </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> "Invisible" </State>
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
</Text>
<Image>
<X> 146 </X>
<Y> 264 </Y>
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
<State> $12-03-03-0026.Button </State>
</Image>
<Text>
<X> 180 </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Font> KanitRegularTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-03-03-0026.Button </State>
<Value> StringFmt( $12-03-03-0026.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
</Text>
<Image>
<X> 81 </X>
<Y> 264 </Y>
<State>
eval(
If ICE_PROCESS_STATUS = 2 Then
Var ice_tab_process_show = "Invisible"
Else
Var ice_tab_process_show = "Invisible"
EndIf
Var return = ice_tab_process_show
)
</State>
<Filename> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </Filename>
<FilenameDisable> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </FilenameDisable>
</Image>
<Image>
<X> 49 </X>
<Y> 117 </Y>
<State>
eval(
If $Sum1203030026 = "Disable" Then
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
STRCONTAIN "ERR" $##-##-##-####.TAG tag2_is_disable
STRCONTAIN "ERR" $12-03-03-0026.TAG tag3_is_disable
Var return = "Invisible"
If tag1_is_disable = "true" Then
Var return = "Enable"
EndIf
If tag2_is_disable = "true" Then
Var return = "Enable"
EndIf
If tag3_is_disable = "true" Then
Var return = "Enable"
EndIf
Else
Var return = "Invisible"
EndIf
)
</State>
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
</Image>
<Text>
<X> 84 </X>
<Y> 266 </Y>
<Size> 10 </Size>
<Font> OpunMediumTTF </Font>
<Color> 0xDE794E </Color>
<State> ice_tab_process_show </State>
<Value> ice_show_open </Value>
</Text>
<Text>
<X> 48 </X>
<Y> 116 </Y>
<Size> 32 </Size>
<Width>128</Width>
<Height>64</Height>
<Font> MITRegularTTF </Font>
<Color> 0x5A5A5A </Color>
<Mode> "disable-show" </Mode>
<State> $Sum1203030026 </State>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; - - -
</FrameScroll>

File diff suppressed because it is too large Load diff

View file

@ -37,6 +37,10 @@
<?hurr
#include=menu_new_layout_gen_v2.py
?>
<?hurr
#include=menu_new_layout_gen.py
?>

File diff suppressed because it is too large Load diff

View file

@ -41,6 +41,9 @@
?>
<?hurr
#include=menu_new_layout_gen_v2.py
?>
<?hurr
#include=menu_new_layout_gen.py
?>

View file

@ -510,6 +510,7 @@
<FrameScroll>
<Max> 16 </Max>
<X> 10 </X>
@ -1064,15 +1065,15 @@ PLANT PROTEIN" </Value>
</Block>
; - - -
; ==================> Len = 16
; - - 12-03-03-1006
; - - 12-03-03-0026
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-03-03-1006.Button,Disable=Invisible,$Sum1203031006) </State>
<State> Flag( 12-03-03-0026.Button,Disable=Invisible,$Sum1203030026) </State>
<Button>
<State> $Sum1203031006 </State>
<State> $Sum1203030026 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_PinkOreo_smoothie.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_PinkOreo_smoothie.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_PinkOreo_smoothie.png" </FilenameDisable>
@ -1087,13 +1088,13 @@ PLANT PROTEIN" </Value>
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $-.Price
Var PriceD2 = $-.Price
Var PriceD3 = $12-03-03-1006.Price
Var PriceD3 = $12-03-03-0026.Price
Var PD_CODE1 = "##-##-##-####"
Var PD_CODE2 = "##-##-##-####"
Var PD_CODE3 = "12-03-03-1006"
Var PD_CODE3 = "12-03-03-0026"
Var PD_STAGE_1 = "Disable2"
Var PD_STAGE_2 = "Disable2"
Var PD_STAGE_3 = $12-03-03-1006.Button
Var PD_STAGE_3 = $12-03-03-0026.Button
Var SelectCountDrinkType = 0
Var DefaultDrinkType = 0
If PD_STAGE_1 = "Enable" Then
@ -1114,7 +1115,7 @@ PLANT PROTEIN" </Value>
If PD_STAGE_1 = "Enable" Then
Topping "Load" "-"
Else
Topping "Load" "12-03-03-1006"
Topping "Load" "12-03-03-0026"
EndIf
EndIf
Var menu_name_eng_hot = $##-##-##-####.NameE
@ -1127,10 +1128,10 @@ PLANT PROTEIN" </Value>
Var menu_name_thai_cold = $##-##-##-####.Name
Var menu_desc_thai_cold = $##-##-##-####.description
Var menu_name_eng_blender = $12-03-03-1006.NameE
Var menu_desc_eng_blender = $12-03-03-1006.descriptionE
Var menu_name_thai_blender = $12-03-03-1006.Name
Var menu_desc_thai_blender = $12-03-03-1006.description
Var menu_name_eng_blender = $12-03-03-0026.NameE
Var menu_desc_eng_blender = $12-03-03-0026.descriptionE
Var menu_name_thai_blender = $12-03-03-0026.Name
Var menu_desc_thai_blender = $12-03-03-0026.description
DEBUGVAR PD_STAGE_1
DEBUGVAR PD_STAGE_2
@ -1234,7 +1235,7 @@ Sugar Oreo" </Value>
<Y> 264 </Y>
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
<State> $12-03-03-1006.Button </State>
<State> $12-03-03-0026.Button </State>
</Image>
<Text>
<X> 180 </X>
@ -1244,8 +1245,8 @@ Sugar Oreo" </Value>
<Font> KanitRegularTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-03-03-1006.Button </State>
<Value> StringFmt( $12-03-03-1006.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
<State> $12-03-03-0026.Button </State>
<Value> StringFmt( $12-03-03-0026.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
</Text>
<Image>
<X> 81 </X>
@ -1270,10 +1271,10 @@ Sugar Oreo" </Value>
<Y> 117 </Y>
<State>
eval(
If $Sum1203031006 = "Disable" Then
If $Sum1203030026 = "Disable" Then
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
STRCONTAIN "ERR" $##-##-##-####.TAG tag2_is_disable
STRCONTAIN "ERR" $12-03-03-1006.TAG tag3_is_disable
STRCONTAIN "ERR" $12-03-03-0026.TAG tag3_is_disable
Var return = "Invisible"
If tag1_is_disable = "true" Then
Var return = "Enable"
@ -1309,7 +1310,7 @@ Sugar Oreo" </Value>
<Font> MITRegularTTF </Font>
<Color> 0x5A5A5A </Color>
<Mode> "disable-show" </Mode>
<State> $Sum1203031006 </State>
<State> $Sum1203030026 </State>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>

File diff suppressed because it is too large Load diff

View file

@ -37,6 +37,13 @@
<?hurr
#include=menu_new_layout_gen_v2.py
?>
<?hurr
#include=menu_new_layout_gen.py
?>

File diff suppressed because it is too large Load diff

View file

@ -42,6 +42,11 @@
<?hurr
#include=menu_new_layout_gen_v2.py
?>
<?hurr
#include=menu_new_layout_gen.py
?>

View file

@ -100,6 +100,8 @@
Var alphaState = "Invisible"
Var alphaState2 = "Invisible"
Var FlagalphaState2 = 0
Var alphaState2t = alphaState2
Var alphaState3 = "Invisible"
@ -303,6 +305,7 @@
Var RemainAmountStr = "Change " + Canout
Var RemainAmountStr = RemainAmountStr + "###size=90"
Else
Var FlagalphaState2 = 1
Var RemainAmountStr = "ทอน " + Canout
EndIf
EndIf
@ -434,6 +437,7 @@
If web_payment = "CASH" Then
Var alphaState2 = "Enable"
Var alphaState2t = alphaState2
EndIf
If web_payment = "QR" Then
@ -753,7 +757,7 @@
EndIf
;Open "ROOT/taobin_project/xml/page_page_camera.xml"
DEBUGVAR MenuCautionImageStage0
</EventOpen>
@ -1626,6 +1630,7 @@
Var RemainAmountStr = "Change " + Canout
Var RemainAmountStr = RemainAmountStr + "###size=90"
Else
Var FlagalphaState2 = 1
Var RemainAmountStr = "ทอน " + Canout
EndIf
EndIf
@ -1647,6 +1652,10 @@
;Var RemainAmount = 0
Var showRemaining = charOfBaht + RemainAmountStr
Var alphaState2 = "Enable"
Var alphaState2t = alphaState2
If FlagalphaState2 = 1 Then
Var alphaState2t = "Invisible"
EndIf
EndIf
@ -1811,6 +1820,7 @@
If EnoughChange = "yes" Then
Var alphaState2 = "Enable"
Var alphaState2t = alphaState2
If RoadShow = "true" Then
Var GIFShowProcess = "ROOT/ui/page_05_loading/pic_loading_cup.gif"
@ -2534,7 +2544,7 @@
<Button>
<X> 438 </X>
<Y> 1345 </Y>
<State> alphaState2 </State>
<State> alphaState2t </State>
<Filename> Var( DirImage + "/bn_cancel.png" )</Filename>
<FilenamePress> Var( DirImage + "/bp_cancel.png" )</FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
@ -2563,6 +2573,7 @@
EndIf
Var alphaState2 = "Invisible"
Var alphaState2t = alphaState2
Refresh

View file

@ -28,24 +28,9 @@
DEBUGVAR SelectDrink
DEBUGVAR PictureDrink
DEBUGVAR new_layout
If new_layout = "true" Then
Else
If SelectDrinkLen = 0 Then
SAVELOG "SelectDrinkLen=0"
Open "ROOT/taobin_project/xml/page_catalog.xml"
EndIf
If PriceDrink = 0 Then
SAVELOG "PriceDrink=0"
Open "ROOT/taobin_project/xml/page_catalog.xml"
EndIf
EndIf
Var SaveProductCodeSelect = SelectDrink
Var UserSelectProductCode = SelectDrink
Var SaveProductCodeSelect = "-"
Var UserSelectProductCode = "-"
Var showText4 = "Invisible"
Var showText7 = "Invisible"
@ -618,32 +603,7 @@
Var h_block_of_sugar = 210
;STRCONTAIN "Smoothie" SubMenuName11 HaveSmoothie
STRCONTAIN "Smoothie" MenuCodeName HaveSmoothie
If show_select_type = "Invisible" Then
If HaveSmoothie = "true" Then
Var blendedState = "Enable"
Var blendedStateShow = "Enable"
Var PriceDiff = SubMenuPrice1 - PriceDrinkNoTop
DEBUGVAR IsSmoRet
If IsSmoRet = "true" Then
Var blendedState = "ForceSet"
Var blendedStateTxt = "Enable"
Topping "LoadSubMenu" SubMenuProductCode1
Function 1
Else
Var blendedStateTxt = "Invisible"
EndIf
EndIf
Else
Var blendedStateShow = "Invisible"
EndIf
If IgnoreLidStraw = "true" Then
Var IgnoreLidStraw = "false"
Var ShowLidStraw = "Invisible"
@ -1561,95 +1521,6 @@
</Block>
;<Block>
;<Width> 986 </Width>
;<Height> 160 </Height>
;<MarginTop> 20 </MarginTop>
;<State> blendedStateShow </State>
;<Image>
;<Filename> Var( DirImage + "/bg_blended.png" )</Filename>
;</Image>
;
;<Button>
;<X> 40 </X>
;<Y> 72 </Y>
;<State> blendedState </State>
;<Mode> "No" </Mode>
;<Animation>
; <Style> "shake-text" </Style>
; <OnEvent> "OnValueChange" </OnEvent>
;</Animation>
;<Filename> Var( DirImage + "/bn_blended.png" ) </Filename>
;<FilenamePress> Var( DirImage + "/bp_blended.png" ) </FilenamePress>
;<FilenameDisable> Var( DirImage + "/bd_blended.png" ) </FilenameDisable>
;<FilenameForce> Var( DirImage + "/bp_blended.png" ) </FilenameForce>
;<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
;<Volume> SoundVolume </Volume>
;<EventClick>
;
; SAVELOG "Press Smoothies"
;
; If blendedState = "Press" Then
; Var blendedState = "Enable"
; Else
; Var blendedState = "Press"
; EndIf
;
; Function 1
;
; Refresh
;</EventClick>
;</Button>
;
;<Button>
;<X> 896 </X>
;<Y> 79 </Y>
;<State> blendedState </State>
;<Mode> "No" </Mode>
;<Animation>
; <Style> "shake-text" </Style>
; <OnEvent> "OnValueChange" </OnEvent>
;</Animation>
;<Filename> Var( DirImage + "/cb_notcheck.png" ) </Filename>
;<FilenamePress> Var( DirImage + "/cb_checked.png" ) </FilenamePress>
;<FilenameDisable> Var( DirImage + "/cb_checkdis.png" ) </FilenameDisable>
;<FilenameForce> Var( DirImage + "/cb_force_checked.png" ) </FilenameForce>
;<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
;<Volume> SoundVolume </Volume>
;<EventClick>
;
; SAVELOG "Press Smoothies"
;
; If blendedState = "Press" Then
; Var blendedState = "Enable"
; Else
; Var blendedState = "Press"
; EndIf
;
; Function 1
;
; Refresh
;
;</EventClick>
;</Button>
;
;<Image>
;<State> showText7 </State>
;<X> 602 </X>
;<Y> 64 </Y>
;<Filename> Var( DirImage + "/text7.png" ) </Filename>
;</Image>
;
;<Image>
;<State> blendedStateTxt </State>
;<X> 602 </X>
;<Y> 64 </Y>
;<Filename> Var( DirImage + "/text5.png" ) </Filename>
;</Image>
;
;</Block>
;
;
;
;
@ -3220,12 +3091,6 @@
;Var Seeker = "curr"
If new_layout = "true" Then
; Name , Descript
EndIf
DEBUGVAR PriceDrinkTmp
@ -3323,7 +3188,6 @@
DEBUGVAR LidState
DEBUGVAR StrawState
DEBUGVAR UserSelectProductCode
; DEBUGVAR HAVE_UV_DOOR_LID obsolete.
If StrawState = "Press" Then
@ -3347,13 +3211,8 @@
EndIf
;
If RoadShow = "true" Then
Var SelectDrink = UserSelectProductCode
Else
Var SelectDrink = UserSelectProductCode
EndIf
Var SelectDrink = UserSelectProductCode
Var Seeker.selected_a_drink = UserSelectProductCode
DEBUGVAR Seeker.selected_a_drink
@ -3408,9 +3267,13 @@
GetLongTimeInMinute LastTimeClickOrder
If CART_COUNT = 0 Then
If SelectDrinkType = 1 Then
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_blank.xml"
Open "ROOT/taobin_project/xml/page_payment.xml"
If UserSelectProductCode = "-" Then
Else
If SelectDrinkType = 1 Then
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_blank.xml"
Open "ROOT/taobin_project/xml/page_payment.xml"
EndIf
EndIf
If SelectDrinkType = 0 Then
@ -3443,102 +3306,6 @@
</Button>
<Function1>
SAVELOG "FUNCTION1"
Var TOPPING_PRICE = 0
DEBUGVAR PriceDrinkNoTop
DEBUGVAR PriceDiff
DEBUGVAR showShotEnable
DEBUGVAR blendedState
If blendedState = "ForceSet" Then
Var TOPPING_PRICE = PriceDiff
Var UserSelectProductCode = SubMenuProductCode1
If showShotEnable = "Invisible" Then
Else
Var showShotEnable = "Disable"
EndIf
Var showText4 = "Enable"
Else
If blendedState = "Press" Then
Var TOPPING_PRICE = PriceDiff
Var UserSelectProductCode = SubMenuProductCode1
If showShotEnable = "Invisible" Then
Else
Var showShotEnable = "Disable"
EndIf
Var showText4 = "Enable"
Else
Var UserSelectProductCode = SaveProductCodeSelect
If showShotEnable = "Disable" Then
Var showShotEnable = "Enable"
EndIf
Var showText4 = "Invisible"
EndIf
EndIf
If RoadShow = "true" Then
Var PriceDrinkTmp = "Free"
Var SaveSelectDrinkRoadShow = UserSelectProductCode
EndIf
DEBUGVAR UserSelectProductCode
If showShotEnable = "Press" Then
If blendedState = "Press" Then
Var PriceDrinkTmp = PriceDrinkNoTop
EndIf
Var blendedState = "Disable"
Var TOPPING_PRICE = 0
;Var PriceDrinkTmp = PriceDrinkNoTop + toppingID2price2
Var TOPPING_PRICE = TOPPING_PRICE + toppingID2price2
Var topping2 = toppingID2index2
Var DisableUsingCode = "true"
Var showText7 = "Enable"
SAVELOG "Select add normal shot"
Else
If blendedState = "Disable" Then
Var blendedState = "Enable"
EndIf
Var PriceDrinkTmp = PriceDrinkNoTop
Var topping2 = toppingID2index1
Var DisableUsingCode = "false"
SAVELOG "Deselect add normal shot"
Var showText7 = "Invisible"
EndIf
DEBUGVAR showShotEnable
DEBUGVAR blendedState
Var PriceDrinkTmp = PriceDrinkNoTop + TOPPING_PRICE
Var PriceDrinkTmpShow = charOfBaht + PriceDrinkTmp
SAVELOG PriceDrinkTmp
Var Timeout = 0
</Function1>
<Function2>

35
xml/test_qr.xml Normal file
View file

@ -0,0 +1,35 @@
<Page>
<Width> 1080 </Width>
<Height> 1312 </Height>
<Volume> SoundVolume </Volume>
<Background> 0xFFFFFF </Background>
<EventOpen>
; On open
</EventOpen>
<Timeout> 1000 </Timeout>
<EventTimeout>
Var Timeout = Timeout + 1
If Timeout > 15 Then
Open "ROOT/taobin_project/xml/page_board.xml"
EndIf
Refresh
TimerReset
</EventTimeout>
<QRCode>
<X> 445 </X>
<Y> 958 </Y>
<Width> 200 </Width>
<Height> 200 </Height>
<State> "Enable" </State>
<Service>"Herr"</Service>
</QRCode>
</Page>

View file

@ -565,7 +565,7 @@
<Y> info_10Y </Y>
<Filename> "ROOT/taobin_project/image/tab_1.png" </Filename>
<EventClick>
Open "ROOT/taobin_project/xml/test_qr.xml"
</EventClick>
</Image>

View file

@ -106,8 +106,8 @@
Var RandomPromotionMyworld = 0
Var RandomSalePackage = 0
Var XMLPageVersion = "6.89"
Var XMLPageVersionInt = 689
Var XMLPageVersion = "6.92"
Var XMLPageVersionInt = 692
</EventOpen>
<Text>