This commit is contained in:
Wanlop 2020-09-19 05:13:12 +07:00
parent 4eb0f92d99
commit 9303d4b920
76 changed files with 1325 additions and 1058 deletions

View file

@ -14,8 +14,9 @@
</EventOpen>
<Timeout> 1000 </Timeout>
<EventTimeout>
<Timeout> 60000 </Timeout>
<EventTimeout>
Open "ROOT/taobin_project/xml/menu_back_to_main.xml"
TimerReset
</EventTimeout>
@ -23,7 +24,7 @@
<Image>
<X> 0 </X>
<Y> 0 </Y>
<Filename> "ROOT/taobin_project/image/page2/ad_blank1.png" </Filename>
<Filename> "ROOT/taobin_project/image/admain/1080X380PX.jpg" </Filename>
</Image>
; under line
@ -133,12 +134,160 @@
; button i=1 11-99-01-0004
; button i=1 11-99-02-0038
<Button>
<X> 44 </X>
<Y> 571 </Y>
<State> $11-99-02-0038.Button </State>
<Filename> "ROOT/taobin_project/image/menu_drink/bn_blue_soda.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/menu_drink_press/bn_blue_soda.png" </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var SelectDrink = "11-99-02-0038"
Var NameDrink = $11-99-02-0038.Name2
Var NameDrinkTH = $11-99-02-0038.Name
Var PriceDrink = $11-99-02-0038.Price
Var PictureDrink = "ROOT/taobin_project/image/menu_drink_select//bn_blue_soda.png"
Topping "Load" SelectDrink
SAVELOG NameDrink
Var PriceShowValue = "Free"r
Open "ROOT/taobin_project/xml/menu_topping_alter.xml"
</EventClick>
</Button>
; button i=2 11-99-02-0039
<Button>
<X> 301 </X>
<Y> 571 </Y>
<State> $11-99-02-0039.Button </State>
<Filename> "ROOT/taobin_project/image/menu_drink/bn_blue_water.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/menu_drink_press/bn_blue_water.png" </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var SelectDrink = "11-99-02-0039"
Var NameDrink = $11-99-02-0039.Name2
Var NameDrinkTH = $11-99-02-0039.Name
Var PriceDrink = $11-99-02-0039.Price
Var PictureDrink = "ROOT/taobin_project/image/menu_drink_select//bn_blue_water.png"
Topping "Load" SelectDrink
SAVELOG NameDrink
Var PriceShowValue = "Free"r
Open "ROOT/taobin_project/xml/menu_topping_alter.xml"
</EventClick>
</Button>
; button i=3 11-99-02-0040
<Button>
<X> 558 </X>
<Y> 571 </Y>
<State> $11-99-02-0040.Button </State>
<Filename> "ROOT/taobin_project/image/menu_drink/bn_rasp_cocktail.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/menu_drink_press/bn_rasp_cocktail.png" </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var SelectDrink = "11-99-02-0040"
Var NameDrink = $11-99-02-0040.Name2
Var NameDrinkTH = $11-99-02-0040.Name
Var PriceDrink = $11-99-02-0040.Price
Var PictureDrink = "ROOT/taobin_project/image/menu_drink_select//bn_rasp_cocktail.png"
Topping "Load" SelectDrink
SAVELOG NameDrink
Var PriceShowValue = "Free"r
Open "ROOT/taobin_project/xml/menu_topping_alter.xml"
</EventClick>
</Button>
; button i=4 11-99-02-0041
<Button>
<X> 815 </X>
<Y> 571 </Y>
<State> $11-99-02-0041.Button </State>
<Filename> "ROOT/taobin_project/image/menu_drink/bn_apple_cocktail.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/menu_drink_press/bn_apple_cocktail.png" </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var SelectDrink = "11-99-02-0041"
Var NameDrink = $11-99-02-0041.Name2
Var NameDrinkTH = $11-99-02-0041.Name
Var PriceDrink = $11-99-02-0041.Price
Var PictureDrink = "ROOT/taobin_project/image/menu_drink_select//bn_apple_cocktail.png"
Topping "Load" SelectDrink
SAVELOG NameDrink
Var PriceShowValue = "Free"r
Open "ROOT/taobin_project/xml/menu_topping_alter.xml"
</EventClick>
</Button>
; button i=5 11-99-02-0042
<Button>
<X> 44 </X>
<Y> 899 </Y>
<State> $11-99-02-0042.Button </State>
<Filename> "ROOT/taobin_project/image/menu_drink/bn_blue_col.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/menu_drink_press/bn_blue_col.png" </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var SelectDrink = "11-99-02-0042"
Var NameDrink = $11-99-02-0042.Name2
Var NameDrinkTH = $11-99-02-0042.Name
Var PriceDrink = $11-99-02-0042.Price
Var PictureDrink = "ROOT/taobin_project/image/menu_drink_select//bn_blue_col.png"
Topping "Load" SelectDrink
SAVELOG NameDrink
Var PriceShowValue = "Free"r
Open "ROOT/taobin_project/xml/menu_topping_alter.xml"
</EventClick>
</Button>
; button i=6 11-99-02-0043
<Button>
<X> 301 </X>
<Y> 899 </Y>
<State> $11-99-02-0043.Button </State>
<Filename> "ROOT/taobin_project/image/menu_drink/bn_punch_cocktail.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/menu_drink_press/bn_punch_cocktail.png" </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var SelectDrink = "11-99-02-0043"
Var NameDrink = $11-99-02-0043.Name2
Var NameDrinkTH = $11-99-02-0043.Name
Var PriceDrink = $11-99-02-0043.Price
Var PictureDrink = "ROOT/taobin_project/image/menu_drink_select//bn_punch_cocktail.png"
Topping "Load" SelectDrink
SAVELOG NameDrink
Var PriceShowValue = "Free"r
Open "ROOT/taobin_project/xml/menu_topping_alter.xml"
</EventClick>
</Button>
; button i=7 11-99-02-0044
<Button>
<X> 558 </X>
<Y> 899 </Y>
<State> $11-99-02-0044.Button </State>
<Filename> "ROOT/taobin_project/image/menu_drink/bn_iris_coffee.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/menu_drink_press/bn_iris_coffee.png" </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var SelectDrink = "11-99-02-0044"
Var NameDrink = $11-99-02-0044.Name2
Var NameDrinkTH = $11-99-02-0044.Name
Var PriceDrink = $11-99-02-0044.Price
Var PictureDrink = "ROOT/taobin_project/image/menu_drink_select//bn_iris_coffee.png"
Topping "Load" SelectDrink
SAVELOG NameDrink
Var PriceShowValue = "Free"r
Open "ROOT/taobin_project/xml/menu_topping_alter.xml"
</EventClick>
</Button>
; button i=8 11-99-01-0004
<Button>
<X> 815 </X>
<Y> 899 </Y>
<State> $11-99-01-0004.Button </State>
<Filename> "ROOT/taobin_project/image/menu_drink/bn_hot_america_no.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/menu_drink/bp_hot_america_no.png" </FilenamePress>
<FilenamePress> "ROOT/taobin_project/image/menu_drink_press/bn_hot_america_no.png" </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
@ -149,40 +298,17 @@
Var PictureDrink = "ROOT/taobin_project/image/menu_drink_select//bn_hot_america_no.png"
Topping "Load" SelectDrink
SAVELOG NameDrink
Var PriceShowValue = charOfBaht + PriceDrink
Var PriceShowValue = "Free"r
Open "ROOT/taobin_project/xml/menu_topping_alter.xml"
</EventClick>
</Button>
<Text>
<X> 226 </X>
<Y> 583 </Y>
<Size> 27 </Size>
<Font> KanitTTF </Font>
<Color> 0xB78F24 </Color>
<Value> $11-99-01-0004.Price </Value>
</Text>
<Text>
<X> 208 </X>
<Y> 583 </Y>
<Size> 27 </Size>
<Font> KanitTTF </Font>
<Color> 0xB78F24 </Color>
<Value> "฿"" </Value>
</Text>
<Text>
<X> 60 </X>
<Y> 785 </Y>
<Size> 24 </Size>
<Font> RobotoBlack </Font>
<Color> 0x322B26 </Color>
<Value> $11-99-01-0004.Name2 </Value>
</Text>
; button i=2 11-99-02-0020
; button i=9 11-99-02-0020
<Button>
<X> 301 </X>
<Y> 571 </Y>
<X> 44 </X>
<Y> 1227 </Y>
<State> $11-99-02-0020.Button </State>
<Filename> "ROOT/taobin_project/image/menu_drink/bn_sala.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/menu_drink/bp_sala.png" </FilenamePress>
<FilenamePress> "ROOT/taobin_project/image/menu_drink_press/bn_sala.png" </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
@ -193,40 +319,17 @@
Var PictureDrink = "ROOT/taobin_project/image/menu_drink_select//bn_sala.png"
Topping "Load" SelectDrink
SAVELOG NameDrink
Var PriceShowValue = charOfBaht + PriceDrink
Var PriceShowValue = "Free"r
Open "ROOT/taobin_project/xml/menu_topping_alter.xml"
</EventClick>
</Button>
<Text>
<X> 483 </X>
<Y> 583 </Y>
<Size> 27 </Size>
<Font> KanitTTF </Font>
<Color> 0xB78F24 </Color>
<Value> $11-99-02-0020.Price </Value>
</Text>
<Text>
<X> 465 </X>
<Y> 583 </Y>
<Size> 27 </Size>
<Font> KanitTTF </Font>
<Color> 0xB78F24 </Color>
<Value> "฿"" </Value>
</Text>
<Text>
<X> 317 </X>
<Y> 785 </Y>
<Size> 24 </Size>
<Font> RobotoBlack </Font>
<Color> 0x322B26 </Color>
<Value> $11-99-02-0020.Name2 </Value>
</Text>
; button i=3 11-99-02-0017
; button i=10 11-99-02-0017
<Button>
<X> 558 </X>
<Y> 571 </Y>
<X> 301 </X>
<Y> 1227 </Y>
<State> $11-99-02-0017.Button </State>
<Filename> "ROOT/taobin_project/image/menu_drink/bn_iced_lemonade_soda.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/menu_drink/bp_iced_lemonade_soda.png" </FilenamePress>
<FilenamePress> "ROOT/taobin_project/image/menu_drink_press/bn_iced_lemonade_soda.png" </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
@ -237,40 +340,17 @@
Var PictureDrink = "ROOT/taobin_project/image/menu_drink_select//bn_iced_lemonade_soda.png"
Topping "Load" SelectDrink
SAVELOG NameDrink
Var PriceShowValue = charOfBaht + PriceDrink
Var PriceShowValue = "Free"r
Open "ROOT/taobin_project/xml/menu_topping_alter.xml"
</EventClick>
</Button>
<Text>
<X> 740 </X>
<Y> 583 </Y>
<Size> 27 </Size>
<Font> KanitTTF </Font>
<Color> 0xB78F24 </Color>
<Value> $11-99-02-0017.Price </Value>
</Text>
<Text>
<X> 722 </X>
<Y> 583 </Y>
<Size> 27 </Size>
<Font> KanitTTF </Font>
<Color> 0xB78F24 </Color>
<Value> "฿"" </Value>
</Text>
<Text>
<X> 574 </X>
<Y> 785 </Y>
<Size> 24 </Size>
<Font> RobotoBlack </Font>
<Color> 0x322B26 </Color>
<Value> $11-99-02-0017.Name2 </Value>
</Text>
; button i=4 11-99-01-0017
; button i=11 11-99-01-0017
<Button>
<X> 815 </X>
<Y> 571 </Y>
<X> 558 </X>
<Y> 1227 </Y>
<State> $11-99-01-0017.Button </State>
<Filename> "ROOT/taobin_project/image/menu_drink/bn_hot_milk_caramel.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/menu_drink/bp_hot_milk_caramel.png" </FilenamePress>
<FilenamePress> "ROOT/taobin_project/image/menu_drink_press/bn_hot_milk_caramel.png" </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
@ -281,40 +361,17 @@
Var PictureDrink = "ROOT/taobin_project/image/menu_drink_select//bn_hot_milk_caramel.png"
Topping "Load" SelectDrink
SAVELOG NameDrink
Var PriceShowValue = charOfBaht + PriceDrink
Var PriceShowValue = "Free"r
Open "ROOT/taobin_project/xml/menu_topping_alter.xml"
</EventClick>
</Button>
<Text>
<X> 997 </X>
<Y> 583 </Y>
<Size> 27 </Size>
<Font> KanitTTF </Font>
<Color> 0xB78F24 </Color>
<Value> $11-99-01-0017.Price </Value>
</Text>
<Text>
<X> 979 </X>
<Y> 583 </Y>
<Size> 27 </Size>
<Font> KanitTTF </Font>
<Color> 0xB78F24 </Color>
<Value> "฿"" </Value>
</Text>
<Text>
<X> 831 </X>
<Y> 785 </Y>
<Size> 24 </Size>
<Font> RobotoBlack </Font>
<Color> 0x322B26 </Color>
<Value> $11-99-01-0017.Name2 </Value>
</Text>
; button i=5 11-99-02-0018
; button i=12 11-99-02-0018
<Button>
<X> 44 </X>
<Y> 899 </Y>
<X> 815 </X>
<Y> 1227 </Y>
<State> $11-99-02-0018.Button </State>
<Filename> "ROOT/taobin_project/image/menu_drink/bn_iced_cola.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/menu_drink/bp_iced_cola.png" </FilenamePress>
<FilenamePress> "ROOT/taobin_project/image/menu_drink_press/bn_iced_cola.png" </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
@ -325,30 +382,246 @@
Var PictureDrink = "ROOT/taobin_project/image/menu_drink_select//bn_iced_cola.png"
Topping "Load" SelectDrink
SAVELOG NameDrink
Var PriceShowValue = charOfBaht + PriceDrink
Var PriceShowValue = "Free"r
Open "ROOT/taobin_project/xml/menu_topping_alter.xml"
</EventClick>
</Button>
<Text>
<X> 226 </X>
<Y> 911 </Y>
<X> 208 </X>
<Y> 583 </Y>
<Width>200</Width>
<Size> 27 </Size>
<Font> KanitTTF </Font>
<Color> 0xB78F24 </Color>
<Value> $11-99-02-0018.Price </Value>
<Value> "Free" </Value>
</Text>
<Text>
<Text>
<X> 60 </X>
<Y> 785 </Y>
<Align> "Hurr" </Align>
<Size> 24 </Size>
<Width>1080</Width>
<Font> RobotoBlack </Font>
<Color> 0x322B26 </Color>
<Value> $11-99-02-0038.Name2 </Value>
</Text>
<Text>
<X> 465 </X>
<Y> 583 </Y>
<Width>200</Width>
<Size> 27 </Size>
<Font> KanitTTF </Font>
<Color> 0xB78F24 </Color>
<Value> "Free" </Value>
</Text>
<Text>
<Text>
<X> 317 </X>
<Y> 785 </Y>
<Align> "Hurr" </Align>
<Size> 24 </Size>
<Width>1080</Width>
<Font> RobotoBlack </Font>
<Color> 0x322B26 </Color>
<Value> $11-99-02-0039.Name2 </Value>
</Text>
<Text>
<X> 722 </X>
<Y> 583 </Y>
<Width>200</Width>
<Size> 27 </Size>
<Font> KanitTTF </Font>
<Color> 0xB78F24 </Color>
<Value> "Free" </Value>
</Text>
<Text>
<Text>
<X> 574 </X>
<Y> 785 </Y>
<Align> "Hurr" </Align>
<Size> 24 </Size>
<Width>1080</Width>
<Font> RobotoBlack </Font>
<Color> 0x322B26 </Color>
<Value> $11-99-02-0040.Name2 </Value>
</Text>
<Text>
<X> 979 </X>
<Y> 583 </Y>
<Width>200</Width>
<Size> 27 </Size>
<Font> KanitTTF </Font>
<Color> 0xB78F24 </Color>
<Value> "Free" </Value>
</Text>
<Text>
<Text>
<X> 831 </X>
<Y> 785 </Y>
<Align> "Hurr" </Align>
<Size> 24 </Size>
<Width>1080</Width>
<Font> RobotoBlack </Font>
<Color> 0x322B26 </Color>
<Value> $11-99-02-0041.Name2 </Value>
</Text>
<Text>
<X> 208 </X>
<Y> 911 </Y>
<Width>200</Width>
<Size> 27 </Size>
<Font> KanitTTF </Font>
<Color> 0xB78F24 </Color>
<Value> "฿"" </Value>
<Value> "Free" </Value>
</Text>
<Text>
<Text>
<X> 60 </X>
<Y> 1113 </Y>
<Align> "Hurr" </Align>
<Size> 24 </Size>
<Width>1080</Width>
<Font> RobotoBlack </Font>
<Color> 0x322B26 </Color>
<Value> $11-99-02-0042.Name2 </Value>
</Text>
<Text>
<X> 465 </X>
<Y> 911 </Y>
<Width>200</Width>
<Size> 27 </Size>
<Font> KanitTTF </Font>
<Color> 0xB78F24 </Color>
<Value> "Free" </Value>
</Text>
<Text>
<Text>
<X> 317 </X>
<Y> 1113 </Y>
<Align> "Hurr" </Align>
<Size> 24 </Size>
<Width>1080</Width>
<Font> RobotoBlack </Font>
<Color> 0x322B26 </Color>
<Value> $11-99-02-0043.Name2 </Value>
</Text>
<Text>
<X> 722 </X>
<Y> 911 </Y>
<Width>200</Width>
<Size> 27 </Size>
<Font> KanitTTF </Font>
<Color> 0xB78F24 </Color>
<Value> "Free" </Value>
</Text>
<Text>
<Text>
<X> 574 </X>
<Y> 1113 </Y>
<Align> "Hurr" </Align>
<Size> 24 </Size>
<Width>1080</Width>
<Font> RobotoBlack </Font>
<Color> 0x322B26 </Color>
<Value> $11-99-02-0044.Name2 </Value>
</Text>
<Text>
<X> 979 </X>
<Y> 911 </Y>
<Width>200</Width>
<Size> 27 </Size>
<Font> KanitTTF </Font>
<Color> 0xB78F24 </Color>
<Value> "Free" </Value>
</Text>
<Text>
<Text>
<X> 831 </X>
<Y> 1113 </Y>
<Align> "Hurr" </Align>
<Size> 24 </Size>
<Width>1080</Width>
<Font> RobotoBlack </Font>
<Color> 0x322B26 </Color>
<Value> $11-99-01-0004.Name2 </Value>
</Text>
<Text>
<X> 208 </X>
<Y> 1239 </Y>
<Width>200</Width>
<Size> 27 </Size>
<Font> KanitTTF </Font>
<Color> 0xB78F24 </Color>
<Value> "Free" </Value>
</Text>
<Text>
<Text>
<X> 60 </X>
<Y> 1441 </Y>
<Align> "Hurr" </Align>
<Size> 24 </Size>
<Width>1080</Width>
<Font> RobotoBlack </Font>
<Color> 0x322B26 </Color>
<Value> $11-99-02-0020.Name2 </Value>
</Text>
<Text>
<X> 465 </X>
<Y> 1239 </Y>
<Width>200</Width>
<Size> 27 </Size>
<Font> KanitTTF </Font>
<Color> 0xB78F24 </Color>
<Value> "Free" </Value>
</Text>
<Text>
<Text>
<X> 317 </X>
<Y> 1441 </Y>
<Align> "Hurr" </Align>
<Size> 24 </Size>
<Width>1080</Width>
<Font> RobotoBlack </Font>
<Color> 0x322B26 </Color>
<Value> $11-99-02-0017.Name2 </Value>
</Text>
<Text>
<X> 722 </X>
<Y> 1239 </Y>
<Width>200</Width>
<Size> 27 </Size>
<Font> KanitTTF </Font>
<Color> 0xB78F24 </Color>
<Value> "Free" </Value>
</Text>
<Text>
<Text>
<X> 574 </X>
<Y> 1441 </Y>
<Align> "Hurr" </Align>
<Size> 24 </Size>
<Width>1080</Width>
<Font> RobotoBlack </Font>
<Color> 0x322B26 </Color>
<Value> $11-99-01-0017.Name2 </Value>
</Text>
<Text>
<X> 979 </X>
<Y> 1239 </Y>
<Width>200</Width>
<Size> 27 </Size>
<Font> KanitTTF </Font>
<Color> 0xB78F24 </Color>
<Value> "Free" </Value>
</Text>
<Text>
<Text>
<X> 831 </X>
<Y> 1441 </Y>
<Align> "Hurr" </Align>
<Size> 24 </Size>
<Width>1080</Width>
<Font> RobotoBlack </Font>
<Color> 0x322B26 </Color>
<Value> $11-99-02-0018.Name2 </Value>