Merge branch 'master' of forthrd.ddns.net:/home/ikong/taobin_project

This commit is contained in:
miggaze 2021-04-06 15:26:40 +07:00
commit 9ebce258e8
348 changed files with 13805 additions and 32 deletions

205
xml/menu_tt_catalog.xml Normal file
View file

@ -0,0 +1,205 @@
<Timeout> 1000 </Timeout>
<EventTimeout>
If NextPage = "-" Then
Else
If Timeout > 30 Then
Open NextPage
EndIf
EndIf
If Timeout > 60 Then
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
EndIf
If BrewCommand = "RefreshAll" Then
Var BrewCommand = "-"
Open CurrentXMLFileName2
EndIf
Var Timeout = Timeout + 1
TimerReset
</EventTimeout>
;<Image>
;<X> 0 </X>
;<Y> 0 </Y>
;<Filename> "ROOT/taobin_project/image/ad_medium_2.png" </Filename>
;</Image>
<Video>
<X> 0 </X>
<Y> 0 </Y>
<Width> 1080</Width>
<Height> 380 </Height>
<Loop> "true" </Loop>
<Filename> "ROOT/taobin_project/video/taobin_adv2_1.mp4" </Filename>
</Video>
; 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> 397 </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> 1000 </X>
<Y> 415 </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"
Else
Var show_eng = "true"
EndIf
Open CurrentXMLFileName2
</EventClick>
</Button>
;
<Button>
<X> 92 </X>
<Y> 395 </Y>
<State> Menu1Selected </State>
<Filename> Var( DirImage + "/bn_bestseller.png" )</Filename>
<FilenamePress> Var( DirImage + "/bp_bestseller.png") </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var NextPage = "-"
Open "ROOT/taobin_project/xml/page_tt__catalog_choose_drink1.xml"
</EventClick>
</Button>
<Button>
<X> 243 </X>
<Y> 395 </Y>
<State> Menu2Selected </State>
<Filename> Var( DirImage + "/bn_coffee.png") </Filename>
<FilenamePress> Var( DirImage + "/bp_coffee.png") </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var NextPage = "-"
Open "ROOT/taobin_project/xml/page_tt__catalog_choose_drink2.xml"
</EventClick>
</Button>
<Button>
<X> 394 </X>
<Y> 395 </Y>
<State> Menu3Selected </State>
<Filename> Var( DirImage + "/bn_tea.png") </Filename>
<FilenamePress> Var( DirImage + "/bp_tea.png") </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var NextPage = "-"
Open "ROOT/taobin_project/xml/page_tt__catalog_choose_drink3.xml"
</EventClick>
</Button>
<Button>
<X> 545 </X>
<Y> 395 </Y>
<State> Menu4Selected </State>
<Filename> Var( DirImage + "/bn_cho_ca.png") </Filename>
<FilenamePress> Var( DirImage + "/bp_cho_ca.png") </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var NextPage = "-"
Open "ROOT/taobin_project/xml/page_tt__catalog_choose_drink4.xml"
</EventClick>
</Button>
<Button>
<X> 696 </X>
<Y> 395 </Y>
<State> Menu7Selected </State>
<Filename> Var( DirImage + "/bn_protein.png") </Filename>
<FilenamePress> Var( DirImage + "/bp_protein.png") </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var NextPage = "-"
Open "ROOT/taobin_project/xml/page_tt__catalog_choose_drink7.xml"
</EventClick>
</Button>
<Button>
<X> 696 </X>
<Y> 395 </Y>
<State> Menu8Selected </State>
<Filename> Var( DirImage + "/bn_cocktail.png") </Filename>
<FilenamePress> Var( DirImage + "/bp_cocktail.png") </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var NextPage = "-"
Open "ROOT/taobin_project/xml/page_tt__catalog_choose_drink8.xml"
</EventClick>
</Button>
; obselete
;<Button>
;<X> 696 </X>
;<Y> 395 </Y>
;<State> Menu5Selected </State>
;<Filename> Var( DirImage + "/bn_fruit.png") </Filename>
;<FilenamePress> Var( DirImage + "/bp_fruit.png") </FilenamePress>
;<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
;<Volume> SoundVolume </Volume>
;<EventClick>
; Open "ROOT/taobin_project/xml/page_tt__catalog_choose_drink5.xml"
;</EventClick>
;</Button>
<Button>
<X> 847 </X>
<Y> 395 </Y>
<State> Menu6Selected </State>
<Filename> Var( DirImage + "/bn_sodada.png") </Filename>
<FilenamePress> Var( DirImage + "/bp_sodada.png") </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var NextPage = "-"
Open "ROOT/taobin_project/xml/page_tt__catalog_choose_drink6.xml"
</EventClick>
</Button>

View file

@ -82,6 +82,13 @@
STRCONTAIN "cocktail" SaleProfile CocktailShow
STRCONTAIN "roadshow" SaleProfile RoadShow
Var TermTemOnline = "false"
Var TaobinOnline = "false"
STRCONTAIN "9501" MaterialAvailable TaobinOnline
STRCONTAIN "9505" MaterialAvailable TermTemOnline
DEBUGVAR TaobinOnline
DEBUGVAR TermTemOnline
Var ShowPrice = "Enable"
If RoadShow = "true" Then
@ -287,7 +294,15 @@
If CocktailShow = "true" Then
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog_cocktail.xml"
Else
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog.xml"
If TaobinOnline = "true" Then
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog.xml"
EndIF
If TermTemOnline = "true" Then
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_tt_catalog.xml"
EndIF
EndIf
TopView "show"
@ -340,8 +355,13 @@
<Volume> SoundVolume </Volume>
<EventClick>
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert.xml"
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog.xml"
If TaobinOnline = "true" Then
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog.xml"
EndIf
If TermTemOnline = "true" Then
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_tt_catalog.xml"
EndIf
TopView "show"
Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_main_blank.xml"
</EventClick>

View file

@ -8,8 +8,12 @@
product_code = []
product_code.append('12-01-01-0001')
product_code.append('12-01-01-0013')
product_code.append('12-11-01-0001')
product_code.append('12-01-01-0003')
product_code.append('12-01-01-0014')
product_code.append('12-01-01-0004')
product_code.append('12-01-01-0005')
@ -24,6 +28,8 @@
product_code.append('12-11-02-0001')
product_code.append('12-01-02-0001')
product_code.append('12-01-02-0011')
product_code.append('12-01-02-0002')
product_code.append('12-11-02-0002')
@ -48,8 +54,6 @@
<EventOpen>
; On open
;DEBUGVAR $12-01-01-0012.Button
If show_eng = "true" Then
Var showthaiText = "Invisible"
Var showengText = "Enable"

View file

@ -11,8 +11,6 @@
<EventOpen>
; On open
DEBUGVAR $12-01-01-0012.Button
If show_eng = "true" Then
Var showthaiText = "Invisible"
Var showengText = "Enable"
@ -356,7 +354,99 @@
<Value> $12-01-01-0001.descriptionE </Value>
</Text>
</Block>
; button i=2 12-11-01-0001
; button i=2 12-01-01-0013
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> $12-01-01-0013.Button </State>
<Button>
<State> $12-01-01-0013.Button </State>
<Filename> Var( "ROOT/taobin_project/image/page_drink/" + $12-01-01-0013.image ) </Filename>
<FilenamePress> Var( "ROOT/taobin_project/image/page_drink_press/" + $12-01-01-0013.image ) " </FilenamePress>
<FilenameDisable> Var( "ROOT/taobin_project/image/page_drink_disable/" + $12-01-01-0013.image ) " </FilenameDisable>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var SelectDrink = $12-01-01-0013.Self
Var NameDrink = $12-01-01-0013.NameE
Var NameDrinkTH = $12-01-01-0013.Name
Var DrinkDescriptionTH = $12-01-01-0013.description
Var DrinkDescription = $12-01-01-0013.descriptionE
Var PriceDrink = $12-01-01-0013.Price
Var PictureDrink = "ROOT/taobin_project/image/page_drink_select/" + $12-01-01-0013.image
Topping "Load" SelectDrink
SAVELOG NameDrink
Var PriceShowValue = charOfBaht + PriceDrink
Open "ROOT/taobin_project/xml/page_topping_alter.xml"
</EventOnClick>
</Button>
<Text>
<X> 182 </X>
<Y> 12 </Y>
<State> ShowPrice </State>
<Align> "Hurr" </Align>
<Width>150</Width>
<Size> 27 </Size>
<Font> KanitTTF </Font>
<Color> 0xB78F24 </Color>
<Value> $12-01-01-0013.Price </Value>
</Text>
<Text>
<X> 164 </X>
<Y> 12 </Y>
<State> ShowPrice </State>
<Width>20</Width>
<Size> 27 </Size>
<Font> KanitTTF </Font>
<Color> 0xB78F24 </Color>
<Value> "฿"" </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 190 </Y>
<Size> 24 </Size>
<Width>220</Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showthaiText </State>
<Value> $12-01-01-0013.Name </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 246 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showthaiText </State>
<Value> $12-01-01-0013.description </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 190 </Y>
<Size> 22 </Size>
<Width>220</Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showengText </State>
<Value> $12-01-01-0013.NameE </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 246 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showengText </State>
<Value> $12-01-01-0013.descriptionE </Value>
</Text>
</Block>
; button i=3 12-11-01-0001
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
@ -448,7 +538,7 @@
<Value> $12-11-01-0001.descriptionE </Value>
</Text>
</Block>
; button i=3 12-01-01-0003
; button i=4 12-01-01-0003
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
@ -540,7 +630,99 @@
<Value> $12-01-01-0003.descriptionE </Value>
</Text>
</Block>
; button i=4 12-01-01-0004
; button i=5 12-01-01-0014
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> $12-01-01-0014.Button </State>
<Button>
<State> $12-01-01-0014.Button </State>
<Filename> Var( "ROOT/taobin_project/image/page_drink/" + $12-01-01-0014.image ) </Filename>
<FilenamePress> Var( "ROOT/taobin_project/image/page_drink_press/" + $12-01-01-0014.image ) " </FilenamePress>
<FilenameDisable> Var( "ROOT/taobin_project/image/page_drink_disable/" + $12-01-01-0014.image ) " </FilenameDisable>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var SelectDrink = $12-01-01-0014.Self
Var NameDrink = $12-01-01-0014.NameE
Var NameDrinkTH = $12-01-01-0014.Name
Var DrinkDescriptionTH = $12-01-01-0014.description
Var DrinkDescription = $12-01-01-0014.descriptionE
Var PriceDrink = $12-01-01-0014.Price
Var PictureDrink = "ROOT/taobin_project/image/page_drink_select/" + $12-01-01-0014.image
Topping "Load" SelectDrink
SAVELOG NameDrink
Var PriceShowValue = charOfBaht + PriceDrink
Open "ROOT/taobin_project/xml/page_topping_alter.xml"
</EventOnClick>
</Button>
<Text>
<X> 182 </X>
<Y> 12 </Y>
<State> ShowPrice </State>
<Align> "Hurr" </Align>
<Width>150</Width>
<Size> 27 </Size>
<Font> KanitTTF </Font>
<Color> 0xB78F24 </Color>
<Value> $12-01-01-0014.Price </Value>
</Text>
<Text>
<X> 164 </X>
<Y> 12 </Y>
<State> ShowPrice </State>
<Width>20</Width>
<Size> 27 </Size>
<Font> KanitTTF </Font>
<Color> 0xB78F24 </Color>
<Value> "฿"" </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 190 </Y>
<Size> 24 </Size>
<Width>220</Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showthaiText </State>
<Value> $12-01-01-0014.Name </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 246 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showthaiText </State>
<Value> $12-01-01-0014.description </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 190 </Y>
<Size> 22 </Size>
<Width>220</Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showengText </State>
<Value> $12-01-01-0014.NameE </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 246 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showengText </State>
<Value> $12-01-01-0014.descriptionE </Value>
</Text>
</Block>
; button i=6 12-01-01-0004
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
@ -632,7 +814,7 @@
<Value> $12-01-01-0004.descriptionE </Value>
</Text>
</Block>
; button i=5 12-01-01-0005
; button i=7 12-01-01-0005
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
@ -724,7 +906,7 @@
<Value> $12-01-01-0005.descriptionE </Value>
</Text>
</Block>
; button i=6 12-01-01-0006
; button i=8 12-01-01-0006
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
@ -816,7 +998,7 @@
<Value> $12-01-01-0006.descriptionE </Value>
</Text>
</Block>
; button i=7 12-01-01-0007
; button i=9 12-01-01-0007
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
@ -908,7 +1090,7 @@
<Value> $12-01-01-0007.descriptionE </Value>
</Text>
</Block>
; button i=8 12-01-01-0009
; button i=10 12-01-01-0009
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
@ -1000,7 +1182,7 @@
<Value> $12-01-01-0009.descriptionE </Value>
</Text>
</Block>
; button i=9 12-01-01-0010
; button i=11 12-01-01-0010
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
@ -1092,7 +1274,7 @@
<Value> $12-01-01-0010.descriptionE </Value>
</Text>
</Block>
; button i=10 12-01-01-0011
; button i=12 12-01-01-0011
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
@ -1184,7 +1366,7 @@
<Value> $12-01-01-0011.descriptionE </Value>
</Text>
</Block>
; button i=11 12-01-01-0012
; button i=13 12-01-01-0012
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
@ -1276,7 +1458,7 @@
<Value> $12-01-01-0012.descriptionE </Value>
</Text>
</Block>
; button i=12 12-11-02-0001
; button i=14 12-11-02-0001
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
@ -1368,7 +1550,7 @@
<Value> $12-11-02-0001.descriptionE </Value>
</Text>
</Block>
; button i=13 12-01-02-0001
; button i=15 12-01-02-0001
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
@ -1460,7 +1642,99 @@
<Value> $12-01-02-0001.descriptionE </Value>
</Text>
</Block>
; button i=14 12-01-02-0002
; button i=16 12-01-02-0011
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> $12-01-02-0011.Button </State>
<Button>
<State> $12-01-02-0011.Button </State>
<Filename> Var( "ROOT/taobin_project/image/page_drink/" + $12-01-02-0011.image ) </Filename>
<FilenamePress> Var( "ROOT/taobin_project/image/page_drink_press/" + $12-01-02-0011.image ) " </FilenamePress>
<FilenameDisable> Var( "ROOT/taobin_project/image/page_drink_disable/" + $12-01-02-0011.image ) " </FilenameDisable>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var SelectDrink = $12-01-02-0011.Self
Var NameDrink = $12-01-02-0011.NameE
Var NameDrinkTH = $12-01-02-0011.Name
Var DrinkDescriptionTH = $12-01-02-0011.description
Var DrinkDescription = $12-01-02-0011.descriptionE
Var PriceDrink = $12-01-02-0011.Price
Var PictureDrink = "ROOT/taobin_project/image/page_drink_select/" + $12-01-02-0011.image
Topping "Load" SelectDrink
SAVELOG NameDrink
Var PriceShowValue = charOfBaht + PriceDrink
Open "ROOT/taobin_project/xml/page_topping_alter.xml"
</EventOnClick>
</Button>
<Text>
<X> 182 </X>
<Y> 12 </Y>
<State> ShowPrice </State>
<Align> "Hurr" </Align>
<Width>150</Width>
<Size> 27 </Size>
<Font> KanitTTF </Font>
<Color> 0xB78F24 </Color>
<Value> $12-01-02-0011.Price </Value>
</Text>
<Text>
<X> 164 </X>
<Y> 12 </Y>
<State> ShowPrice </State>
<Width>20</Width>
<Size> 27 </Size>
<Font> KanitTTF </Font>
<Color> 0xB78F24 </Color>
<Value> "฿"" </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 190 </Y>
<Size> 24 </Size>
<Width>220</Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showthaiText </State>
<Value> $12-01-02-0011.Name </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 246 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showthaiText </State>
<Value> $12-01-02-0011.description </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 190 </Y>
<Size> 22 </Size>
<Width>220</Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showengText </State>
<Value> $12-01-02-0011.NameE </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 246 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showengText </State>
<Value> $12-01-02-0011.descriptionE </Value>
</Text>
</Block>
; button i=17 12-01-02-0002
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
@ -1552,7 +1826,7 @@
<Value> $12-01-02-0002.descriptionE </Value>
</Text>
</Block>
; button i=15 12-11-02-0002
; button i=18 12-11-02-0002
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
@ -1644,7 +1918,7 @@
<Value> $12-11-02-0002.descriptionE </Value>
</Text>
</Block>
; button i=16 12-01-02-0003
; button i=19 12-01-02-0003
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
@ -1736,7 +2010,7 @@
<Value> $12-01-02-0003.descriptionE </Value>
</Text>
</Block>
; button i=17 12-01-02-0004
; button i=20 12-01-02-0004
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
@ -1828,7 +2102,7 @@
<Value> $12-01-02-0004.descriptionE </Value>
</Text>
</Block>
; button i=18 12-01-02-0005
; button i=21 12-01-02-0005
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
@ -1920,7 +2194,7 @@
<Value> $12-01-02-0005.descriptionE </Value>
</Text>
</Block>
; button i=19 12-01-02-0007
; button i=22 12-01-02-0007
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
@ -2012,7 +2286,7 @@
<Value> $12-01-02-0007.descriptionE </Value>
</Text>
</Block>
; button i=20 12-01-02-0008
; button i=23 12-01-02-0008
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
@ -2104,7 +2378,7 @@
<Value> $12-01-02-0008.descriptionE </Value>
</Text>
</Block>
; button i=21 12-01-02-0009
; button i=24 12-01-02-0009
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>

View file

@ -18,8 +18,9 @@
Var PicturePath = "/mnt/sdcard/coffeevending/taobin_project/image/page_doing/"
Var PictureBegin = "txt_"
If Lid1Status = "Disable" Then
Var LidState = "Invisible"
EndIf
If show_eng = "true" Then
Var DirImage = "ROOT/taobin_project/image/page_lid_straw_en"

View file

@ -0,0 +1,86 @@
<?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
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
</EventOpen>
<?hurr
#include=menu_tt_catalog.xml
?>
<?hurr
#include=menu_gen.py
?>
</Popup>

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,97 @@
<?hurr
#include=menu_head.py
?>
<?hurr
product_code = []
product_code.append('13-01-01-0001')
product_code.append('13-01-01-0013')
product_code.append('13-11-01-0001')
product_code.append('13-01-01-0003')
product_code.append('13-01-01-0014')
product_code.append('13-01-01-0004')
product_code.append('13-01-01-0005')
product_code.append('13-01-01-0006')
product_code.append('13-01-01-0007')
product_code.append('13-01-01-0009')
product_code.append('13-01-01-0010')
product_code.append('13-01-01-0011')
product_code.append('13-01-01-0012')
product_code.append('13-11-02-0001')
product_code.append('13-01-02-0001')
product_code.append('13-01-02-0011')
product_code.append('13-01-02-0002')
product_code.append('13-11-02-0002')
product_code.append('13-01-02-0003')
product_code.append('13-01-02-0004')
product_code.append('13-01-02-0005')
product_code.append('13-01-02-0007')
product_code.append('13-01-02-0008')
product_code.append('13-01-02-0009')
#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
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 = "Enable"
Var Menu2Selected = "PressForever"
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
Var Timeout = 0
</EventOpen>
<?hurr
#include=menu_tt_catalog.xml
?>
<?hurr
#include=menu_gen.py
?>
</Popup>

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,95 @@
<?hurr
#include=menu_head.py
?>
<?hurr
product_code = []
product_code.append('13-02-01-0001')
product_code.append('13-02-01-0002')
product_code.append('13-02-01-0003')
product_code.append('13-02-01-0004')
product_code.append('13-02-01-0005')
product_code.append('13-02-01-0006')
product_code.append('13-02-01-0007')
product_code.append('13-02-01-0008')
product_code.append('13-02-01-0009')
product_code.append('13-02-01-0010')
product_code.append('13-02-01-0011')
product_code.append('13-02-01-0012')
product_code.append('13-02-02-0001')
product_code.append('13-02-02-0002')
product_code.append('13-02-02-0003')
product_code.append('13-02-02-0004')
product_code.append('13-02-02-0005')
product_code.append('13-02-02-0006')
product_code.append('13-02-02-0007')
product_code.append('13-02-02-0008')
product_code.append('13-02-02-0009')
product_code.append('13-02-02-0010')
product_code.append('13-02-02-0011')
product_code.append('13-02-02-0012')
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 = "Enable"
Var Menu2Selected = "Enable"
Var Menu3Selected = "PressForever"
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
Var Timeout = 0
</EventOpen>
<?hurr
#include=menu_tt_catalog.xml
?>
<?hurr
#include=menu_gen.py
?>
</Popup>

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,85 @@
<?hurr
#include=menu_head.py
?>
<?hurr
product_code = []
product_code.append('13-03-01-0001')
product_code.append('13-03-01-0002')
product_code.append('13-03-01-0003')
product_code.append('13-03-01-0004')
product_code.append('13-03-01-0005')
product_code.append('13-03-02-0001')
product_code.append('13-03-02-0002')
product_code.append('13-03-02-0003')
product_code.append('13-03-02-0004')
product_code.append('13-03-02-0006')
product_code.append('13-03-02-0005')
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 = "Enable"
Var Menu2Selected = "Enable"
Var Menu3Selected = "Enable"
Var Menu4Selected = "PressForever"
Var Menu5Selected = "Invisible"
Var Menu6Selected = "Enable"
Var Menu7Selected = "Enable"
Var Menu8Selected = "Invisible"
If CocktailShow = "true" Then
Var Menu7Selected = "Invisible"
Var Menu8Selected = "Enable"
EndIf
Var Timeout = 0
</EventOpen>
<?hurr
#include=menu_tt_catalog.xml
?>
<?hurr
#include=menu_gen.py
?>
</Popup>

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,79 @@
<?hurr
#include=menu_head.py
?>
<?hurr
product_code = []
product_code.append('13-05-01-0001')
product_code.append('13-05-02-0001')
product_code.append('13-05-02-0002')
product_code.append('13-05-02-0003')
product_code.append('13-05-02-0004')
product_code.append('13-05-02-0005')
product_code.append('13-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
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 = "Enable"
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
Var Timeout = 0
</EventOpen>
<?hurr
#include=menu_tt_catalog.xml
?>
<?hurr
#include=menu_gen.py
?>
</Popup>

View file

@ -0,0 +1,916 @@
<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 = "Enable"
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
Var Timeout = 0
</EventOpen>
<Timeout> 1000 </Timeout>
<EventTimeout>
If NextPage = "-" Then
Else
If Timeout > 30 Then
Open NextPage
EndIf
EndIf
If Timeout > 60 Then
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
EndIf
If BrewCommand = "RefreshAll" Then
Var BrewCommand = "-"
Open CurrentXMLFileName2
EndIf
Var Timeout = Timeout + 1
TimerReset
</EventTimeout>
;<Image>
;<X> 0 </X>
;<Y> 0 </Y>
;<Filename> "ROOT/taobin_project/image/ad_medium_2.png" </Filename>
;</Image>
<Video>
<X> 0 </X>
<Y> 0 </Y>
<Width> 1080</Width>
<Height> 380 </Height>
<Loop> "true" </Loop>
<Filename> "ROOT/taobin_project/video/taobin_adv2_1.mp4" </Filename>
</Video>
; 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> 397 </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> 1000 </X>
<Y> 415 </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"
Else
Var show_eng = "true"
EndIf
Open CurrentXMLFileName2
</EventClick>
</Button>
;
<Button>
<X> 92 </X>
<Y> 395 </Y>
<State> Menu1Selected </State>
<Filename> Var( DirImage + "/bn_bestseller.png" )</Filename>
<FilenamePress> Var( DirImage + "/bp_bestseller.png") </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var NextPage = "-"
Open "ROOT/taobin_project/xml/page_tt__catalog_choose_drink1.xml"
</EventClick>
</Button>
<Button>
<X> 243 </X>
<Y> 395 </Y>
<State> Menu2Selected </State>
<Filename> Var( DirImage + "/bn_coffee.png") </Filename>
<FilenamePress> Var( DirImage + "/bp_coffee.png") </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var NextPage = "-"
Open "ROOT/taobin_project/xml/page_tt__catalog_choose_drink2.xml"
</EventClick>
</Button>
<Button>
<X> 394 </X>
<Y> 395 </Y>
<State> Menu3Selected </State>
<Filename> Var( DirImage + "/bn_tea.png") </Filename>
<FilenamePress> Var( DirImage + "/bp_tea.png") </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var NextPage = "-"
Open "ROOT/taobin_project/xml/page_tt__catalog_choose_drink3.xml"
</EventClick>
</Button>
<Button>
<X> 545 </X>
<Y> 395 </Y>
<State> Menu4Selected </State>
<Filename> Var( DirImage + "/bn_cho_ca.png") </Filename>
<FilenamePress> Var( DirImage + "/bp_cho_ca.png") </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var NextPage = "-"
Open "ROOT/taobin_project/xml/page_tt__catalog_choose_drink4.xml"
</EventClick>
</Button>
<Button>
<X> 696 </X>
<Y> 395 </Y>
<State> Menu7Selected </State>
<Filename> Var( DirImage + "/bn_protein.png") </Filename>
<FilenamePress> Var( DirImage + "/bp_protein.png") </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var NextPage = "-"
Open "ROOT/taobin_project/xml/page_tt__catalog_choose_drink7.xml"
</EventClick>
</Button>
<Button>
<X> 696 </X>
<Y> 395 </Y>
<State> Menu8Selected </State>
<Filename> Var( DirImage + "/bn_cocktail.png") </Filename>
<FilenamePress> Var( DirImage + "/bp_cocktail.png") </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var NextPage = "-"
Open "ROOT/taobin_project/xml/page_tt__catalog_choose_drink8.xml"
</EventClick>
</Button>
; obselete
;<Button>
;<X> 696 </X>
;<Y> 395 </Y>
;<State> Menu5Selected </State>
;<Filename> Var( DirImage + "/bn_fruit.png") </Filename>
;<FilenamePress> Var( DirImage + "/bp_fruit.png") </FilenamePress>
;<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
;<Volume> SoundVolume </Volume>
;<EventClick>
; Open "ROOT/taobin_project/xml/page_tt__catalog_choose_drink5.xml"
;</EventClick>
;</Button>
<Button>
<X> 847 </X>
<Y> 395 </Y>
<State> Menu6Selected </State>
<Filename> Var( DirImage + "/bn_sodada.png") </Filename>
<FilenamePress> Var( DirImage + "/bp_sodada.png") </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var NextPage = "-"
Open "ROOT/taobin_project/xml/page_tt__catalog_choose_drink6.xml"
</EventClick>
</Button>
<FrameScroll>
<X> 10 </X>
<Y> 497 </Y>
<Width> 1080 </Width>
<ScrollHeight> "auto" </ScrollHeight>
<Scroll> "Vertical" </Scroll>
<Column> 4 </Column>
; button i=1 13-05-01-0001
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> $13-05-01-0001.Button </State>
<Button>
<State> $13-05-01-0001.Button </State>
<Filename> Var( "ROOT/taobin_project/image/page_drink/" + $13-05-01-0001.image ) </Filename>
<FilenamePress> Var( "ROOT/taobin_project/image/page_drink_press/" + $13-05-01-0001.image ) " </FilenamePress>
<FilenameDisable> Var( "ROOT/taobin_project/image/page_drink_disable/" + $13-05-01-0001.image ) " </FilenameDisable>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var SelectDrink = $13-05-01-0001.Self
Var NameDrink = $13-05-01-0001.NameE
Var NameDrinkTH = $13-05-01-0001.Name
Var DrinkDescriptionTH = $13-05-01-0001.description
Var DrinkDescription = $13-05-01-0001.descriptionE
Var PriceDrink = $13-05-01-0001.Price
Var PictureDrink = "ROOT/taobin_project/image/page_drink_select/" + $13-05-01-0001.image
Topping "Load" SelectDrink
SAVELOG NameDrink
Var PriceShowValue = charOfBaht + PriceDrink
Open "ROOT/taobin_project/xml/page_topping_alter.xml"
</EventOnClick>
</Button>
<Text>
<X> 182 </X>
<Y> 12 </Y>
<State> ShowPrice </State>
<Align> "Hurr" </Align>
<Width>150</Width>
<Size> 27 </Size>
<Font> KanitTTF </Font>
<Color> 0xB78F24 </Color>
<Value> $13-05-01-0001.Price </Value>
</Text>
<Text>
<X> 164 </X>
<Y> 12 </Y>
<State> ShowPrice </State>
<Width>20</Width>
<Size> 27 </Size>
<Font> KanitTTF </Font>
<Color> 0xB78F24 </Color>
<Value> "฿"" </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 190 </Y>
<Size> 24 </Size>
<Width>220</Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showthaiText </State>
<Value> $13-05-01-0001.Name </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 246 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showthaiText </State>
<Value> $13-05-01-0001.description </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 190 </Y>
<Size> 22 </Size>
<Width>220</Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showengText </State>
<Value> $13-05-01-0001.NameE </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 246 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showengText </State>
<Value> $13-05-01-0001.descriptionE </Value>
</Text>
</Block>
; button i=2 13-05-02-0001
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> $13-05-02-0001.Button </State>
<Button>
<State> $13-05-02-0001.Button </State>
<Filename> Var( "ROOT/taobin_project/image/page_drink/" + $13-05-02-0001.image ) </Filename>
<FilenamePress> Var( "ROOT/taobin_project/image/page_drink_press/" + $13-05-02-0001.image ) " </FilenamePress>
<FilenameDisable> Var( "ROOT/taobin_project/image/page_drink_disable/" + $13-05-02-0001.image ) " </FilenameDisable>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var SelectDrink = $13-05-02-0001.Self
Var NameDrink = $13-05-02-0001.NameE
Var NameDrinkTH = $13-05-02-0001.Name
Var DrinkDescriptionTH = $13-05-02-0001.description
Var DrinkDescription = $13-05-02-0001.descriptionE
Var PriceDrink = $13-05-02-0001.Price
Var PictureDrink = "ROOT/taobin_project/image/page_drink_select/" + $13-05-02-0001.image
Topping "Load" SelectDrink
SAVELOG NameDrink
Var PriceShowValue = charOfBaht + PriceDrink
Open "ROOT/taobin_project/xml/page_topping_alter.xml"
</EventOnClick>
</Button>
<Text>
<X> 182 </X>
<Y> 12 </Y>
<State> ShowPrice </State>
<Align> "Hurr" </Align>
<Width>150</Width>
<Size> 27 </Size>
<Font> KanitTTF </Font>
<Color> 0xB78F24 </Color>
<Value> $13-05-02-0001.Price </Value>
</Text>
<Text>
<X> 164 </X>
<Y> 12 </Y>
<State> ShowPrice </State>
<Width>20</Width>
<Size> 27 </Size>
<Font> KanitTTF </Font>
<Color> 0xB78F24 </Color>
<Value> "฿"" </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 190 </Y>
<Size> 24 </Size>
<Width>220</Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showthaiText </State>
<Value> $13-05-02-0001.Name </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 246 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showthaiText </State>
<Value> $13-05-02-0001.description </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 190 </Y>
<Size> 22 </Size>
<Width>220</Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showengText </State>
<Value> $13-05-02-0001.NameE </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 246 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showengText </State>
<Value> $13-05-02-0001.descriptionE </Value>
</Text>
</Block>
; button i=3 13-05-02-0002
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> $13-05-02-0002.Button </State>
<Button>
<State> $13-05-02-0002.Button </State>
<Filename> Var( "ROOT/taobin_project/image/page_drink/" + $13-05-02-0002.image ) </Filename>
<FilenamePress> Var( "ROOT/taobin_project/image/page_drink_press/" + $13-05-02-0002.image ) " </FilenamePress>
<FilenameDisable> Var( "ROOT/taobin_project/image/page_drink_disable/" + $13-05-02-0002.image ) " </FilenameDisable>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var SelectDrink = $13-05-02-0002.Self
Var NameDrink = $13-05-02-0002.NameE
Var NameDrinkTH = $13-05-02-0002.Name
Var DrinkDescriptionTH = $13-05-02-0002.description
Var DrinkDescription = $13-05-02-0002.descriptionE
Var PriceDrink = $13-05-02-0002.Price
Var PictureDrink = "ROOT/taobin_project/image/page_drink_select/" + $13-05-02-0002.image
Topping "Load" SelectDrink
SAVELOG NameDrink
Var PriceShowValue = charOfBaht + PriceDrink
Open "ROOT/taobin_project/xml/page_topping_alter.xml"
</EventOnClick>
</Button>
<Text>
<X> 182 </X>
<Y> 12 </Y>
<State> ShowPrice </State>
<Align> "Hurr" </Align>
<Width>150</Width>
<Size> 27 </Size>
<Font> KanitTTF </Font>
<Color> 0xB78F24 </Color>
<Value> $13-05-02-0002.Price </Value>
</Text>
<Text>
<X> 164 </X>
<Y> 12 </Y>
<State> ShowPrice </State>
<Width>20</Width>
<Size> 27 </Size>
<Font> KanitTTF </Font>
<Color> 0xB78F24 </Color>
<Value> "฿"" </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 190 </Y>
<Size> 24 </Size>
<Width>220</Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showthaiText </State>
<Value> $13-05-02-0002.Name </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 246 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showthaiText </State>
<Value> $13-05-02-0002.description </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 190 </Y>
<Size> 22 </Size>
<Width>220</Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showengText </State>
<Value> $13-05-02-0002.NameE </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 246 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showengText </State>
<Value> $13-05-02-0002.descriptionE </Value>
</Text>
</Block>
; button i=4 13-05-02-0003
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> $13-05-02-0003.Button </State>
<Button>
<State> $13-05-02-0003.Button </State>
<Filename> Var( "ROOT/taobin_project/image/page_drink/" + $13-05-02-0003.image ) </Filename>
<FilenamePress> Var( "ROOT/taobin_project/image/page_drink_press/" + $13-05-02-0003.image ) " </FilenamePress>
<FilenameDisable> Var( "ROOT/taobin_project/image/page_drink_disable/" + $13-05-02-0003.image ) " </FilenameDisable>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var SelectDrink = $13-05-02-0003.Self
Var NameDrink = $13-05-02-0003.NameE
Var NameDrinkTH = $13-05-02-0003.Name
Var DrinkDescriptionTH = $13-05-02-0003.description
Var DrinkDescription = $13-05-02-0003.descriptionE
Var PriceDrink = $13-05-02-0003.Price
Var PictureDrink = "ROOT/taobin_project/image/page_drink_select/" + $13-05-02-0003.image
Topping "Load" SelectDrink
SAVELOG NameDrink
Var PriceShowValue = charOfBaht + PriceDrink
Open "ROOT/taobin_project/xml/page_topping_alter.xml"
</EventOnClick>
</Button>
<Text>
<X> 182 </X>
<Y> 12 </Y>
<State> ShowPrice </State>
<Align> "Hurr" </Align>
<Width>150</Width>
<Size> 27 </Size>
<Font> KanitTTF </Font>
<Color> 0xB78F24 </Color>
<Value> $13-05-02-0003.Price </Value>
</Text>
<Text>
<X> 164 </X>
<Y> 12 </Y>
<State> ShowPrice </State>
<Width>20</Width>
<Size> 27 </Size>
<Font> KanitTTF </Font>
<Color> 0xB78F24 </Color>
<Value> "฿"" </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 190 </Y>
<Size> 24 </Size>
<Width>220</Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showthaiText </State>
<Value> $13-05-02-0003.Name </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 246 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showthaiText </State>
<Value> $13-05-02-0003.description </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 190 </Y>
<Size> 22 </Size>
<Width>220</Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showengText </State>
<Value> $13-05-02-0003.NameE </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 246 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showengText </State>
<Value> $13-05-02-0003.descriptionE </Value>
</Text>
</Block>
; button i=5 13-05-02-0004
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> $13-05-02-0004.Button </State>
<Button>
<State> $13-05-02-0004.Button </State>
<Filename> Var( "ROOT/taobin_project/image/page_drink/" + $13-05-02-0004.image ) </Filename>
<FilenamePress> Var( "ROOT/taobin_project/image/page_drink_press/" + $13-05-02-0004.image ) " </FilenamePress>
<FilenameDisable> Var( "ROOT/taobin_project/image/page_drink_disable/" + $13-05-02-0004.image ) " </FilenameDisable>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var SelectDrink = $13-05-02-0004.Self
Var NameDrink = $13-05-02-0004.NameE
Var NameDrinkTH = $13-05-02-0004.Name
Var DrinkDescriptionTH = $13-05-02-0004.description
Var DrinkDescription = $13-05-02-0004.descriptionE
Var PriceDrink = $13-05-02-0004.Price
Var PictureDrink = "ROOT/taobin_project/image/page_drink_select/" + $13-05-02-0004.image
Topping "Load" SelectDrink
SAVELOG NameDrink
Var PriceShowValue = charOfBaht + PriceDrink
Open "ROOT/taobin_project/xml/page_topping_alter.xml"
</EventOnClick>
</Button>
<Text>
<X> 182 </X>
<Y> 12 </Y>
<State> ShowPrice </State>
<Align> "Hurr" </Align>
<Width>150</Width>
<Size> 27 </Size>
<Font> KanitTTF </Font>
<Color> 0xB78F24 </Color>
<Value> $13-05-02-0004.Price </Value>
</Text>
<Text>
<X> 164 </X>
<Y> 12 </Y>
<State> ShowPrice </State>
<Width>20</Width>
<Size> 27 </Size>
<Font> KanitTTF </Font>
<Color> 0xB78F24 </Color>
<Value> "฿"" </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 190 </Y>
<Size> 24 </Size>
<Width>220</Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showthaiText </State>
<Value> $13-05-02-0004.Name </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 246 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showthaiText </State>
<Value> $13-05-02-0004.description </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 190 </Y>
<Size> 22 </Size>
<Width>220</Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showengText </State>
<Value> $13-05-02-0004.NameE </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 246 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showengText </State>
<Value> $13-05-02-0004.descriptionE </Value>
</Text>
</Block>
; button i=6 13-05-02-0005
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> $13-05-02-0005.Button </State>
<Button>
<State> $13-05-02-0005.Button </State>
<Filename> Var( "ROOT/taobin_project/image/page_drink/" + $13-05-02-0005.image ) </Filename>
<FilenamePress> Var( "ROOT/taobin_project/image/page_drink_press/" + $13-05-02-0005.image ) " </FilenamePress>
<FilenameDisable> Var( "ROOT/taobin_project/image/page_drink_disable/" + $13-05-02-0005.image ) " </FilenameDisable>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var SelectDrink = $13-05-02-0005.Self
Var NameDrink = $13-05-02-0005.NameE
Var NameDrinkTH = $13-05-02-0005.Name
Var DrinkDescriptionTH = $13-05-02-0005.description
Var DrinkDescription = $13-05-02-0005.descriptionE
Var PriceDrink = $13-05-02-0005.Price
Var PictureDrink = "ROOT/taobin_project/image/page_drink_select/" + $13-05-02-0005.image
Topping "Load" SelectDrink
SAVELOG NameDrink
Var PriceShowValue = charOfBaht + PriceDrink
Open "ROOT/taobin_project/xml/page_topping_alter.xml"
</EventOnClick>
</Button>
<Text>
<X> 182 </X>
<Y> 12 </Y>
<State> ShowPrice </State>
<Align> "Hurr" </Align>
<Width>150</Width>
<Size> 27 </Size>
<Font> KanitTTF </Font>
<Color> 0xB78F24 </Color>
<Value> $13-05-02-0005.Price </Value>
</Text>
<Text>
<X> 164 </X>
<Y> 12 </Y>
<State> ShowPrice </State>
<Width>20</Width>
<Size> 27 </Size>
<Font> KanitTTF </Font>
<Color> 0xB78F24 </Color>
<Value> "฿"" </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 190 </Y>
<Size> 24 </Size>
<Width>220</Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showthaiText </State>
<Value> $13-05-02-0005.Name </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 246 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showthaiText </State>
<Value> $13-05-02-0005.description </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 190 </Y>
<Size> 22 </Size>
<Width>220</Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showengText </State>
<Value> $13-05-02-0005.NameE </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 246 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showengText </State>
<Value> $13-05-02-0005.descriptionE </Value>
</Text>
</Block>
; button i=7 13-05-02-0006
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> $13-05-02-0006.Button </State>
<Button>
<State> $13-05-02-0006.Button </State>
<Filename> Var( "ROOT/taobin_project/image/page_drink/" + $13-05-02-0006.image ) </Filename>
<FilenamePress> Var( "ROOT/taobin_project/image/page_drink_press/" + $13-05-02-0006.image ) " </FilenamePress>
<FilenameDisable> Var( "ROOT/taobin_project/image/page_drink_disable/" + $13-05-02-0006.image ) " </FilenameDisable>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var SelectDrink = $13-05-02-0006.Self
Var NameDrink = $13-05-02-0006.NameE
Var NameDrinkTH = $13-05-02-0006.Name
Var DrinkDescriptionTH = $13-05-02-0006.description
Var DrinkDescription = $13-05-02-0006.descriptionE
Var PriceDrink = $13-05-02-0006.Price
Var PictureDrink = "ROOT/taobin_project/image/page_drink_select/" + $13-05-02-0006.image
Topping "Load" SelectDrink
SAVELOG NameDrink
Var PriceShowValue = charOfBaht + PriceDrink
Open "ROOT/taobin_project/xml/page_topping_alter.xml"
</EventOnClick>
</Button>
<Text>
<X> 182 </X>
<Y> 12 </Y>
<State> ShowPrice </State>
<Align> "Hurr" </Align>
<Width>150</Width>
<Size> 27 </Size>
<Font> KanitTTF </Font>
<Color> 0xB78F24 </Color>
<Value> $13-05-02-0006.Price </Value>
</Text>
<Text>
<X> 164 </X>
<Y> 12 </Y>
<State> ShowPrice </State>
<Width>20</Width>
<Size> 27 </Size>
<Font> KanitTTF </Font>
<Color> 0xB78F24 </Color>
<Value> "฿"" </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 190 </Y>
<Size> 24 </Size>
<Width>220</Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showthaiText </State>
<Value> $13-05-02-0006.Name </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 246 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showthaiText </State>
<Value> $13-05-02-0006.description </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 190 </Y>
<Size> 22 </Size>
<Width>220</Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showengText </State>
<Value> $13-05-02-0006.NameE </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 246 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showengText </State>
<Value> $13-05-02-0006.descriptionE </Value>
</Text>
</Block>
</FrameScroll>
</Popup>

View file

@ -0,0 +1,95 @@
<?hurr
#include=menu_head.py
?>
<?hurr
product_code = []
product_code.append('13-05-02-0007')
product_code.append('13-05-02-0021')
product_code.append('13-05-02-0010')
product_code.append('13-05-02-0011')
product_code.append('13-05-02-0012')
product_code.append('13-05-02-0013')
product_code.append('13-05-02-0008')
product_code.append('13-05-02-0009')
product_code.append('13-05-02-0014')
product_code.append('13-05-02-0015')
product_code.append('13-05-01-0001')
product_code.append('13-05-02-0001')
product_code.append('13-05-02-0004')
product_code.append('13-05-02-0005')
product_code.append('13-05-02-0006')
product_code.append('13-05-02-0002')
product_code.append('13-05-02-0003')
product_code.append('13-05-02-0016')
product_code.append('13-05-02-0017')
product_code.append('13-05-02-0018')
product_code.append('13-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
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 = "Enable"
Var Menu2Selected = "Enable"
Var Menu3Selected = "Enable"
Var Menu4Selected = "Enable"
Var Menu5Selected = "Invisible"
Var Menu6Selected = "PressForever"
Var Menu7Selected = "Enable"
Var Menu8Selected = "Invisible"
If CocktailShow = "true" Then
Var Menu7Selected = "Invisible"
Var Menu8Selected = "Enable"
EndIf
Var Timeout = 0
</EventOpen>
<?hurr
#include=menu_tt_catalog.xml
?>
<?hurr
#include=menu_gen.py
?>
</Popup>

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,85 @@
<?hurr
#include=menu_head.py
?>
<?hurr
product_code = []
product_code.append('13-04-02-0001')
product_code.append('13-04-02-0002')
product_code.append('13-04-02-0003')
product_code.append('13-04-02-0004')
product_code.append('13-04-02-0005')
product_code.append('13-04-02-0006')
product_code.append('13-04-02-0007')
product_code.append('13-04-02-0008')
product_code.append('13-04-02-0009')
product_code.append('13-04-02-0010')
product_code.append('13-04-02-0011')
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 = "Enable"
Var Menu2Selected = "Enable"
Var Menu3Selected = "Enable"
Var Menu4Selected = "Enable"
Var Menu5Selected = "Invisible"
Var Menu6Selected = "Enable"
Var Menu7Selected = "PressForever"
Var Menu8Selected = "Invisible"
If CocktailShow = "true" Then
Var Menu7Selected = "Invisible"
Var Menu8Selected = "Enable"
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

250
xml/page_tt_catalog.xml Normal file
View file

@ -0,0 +1,250 @@
<Popup>
<Cache> "Enable" </Cache>
<Width> 1080 </Width>
<Height> 1920 </Height>
<Background> "0xeae6e1" </Background>
<Volume> SoundVolume </Volume>
<EventOpen>
TopView "show"
; On open
If CocktailShow = "true" Then
Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog_cocktail.xml"
EndIf
Var GetPayInfoFlag = 0
Var countDownRetrun = 30
CoinVending OFF
; Clear value
Topping "clear" "-"
If show_eng = "true" Then
Var DirImage = "ROOT/taobin_project/image/page2_en/page2"
Var show_btp = "ROOT/taobin_project/image/bn_thai_lang_press.png"
Var show_btn = "ROOT/taobin_project/image/bn_thai_lang.png"
Var PlaySoundLag = "/mnt/sdcard/coffeevending/taobin_project/sound_eng/What_would_you_like_to_drink_today.mp3"
Play PlaySoundLag
Else
Var DirImage = "ROOT/taobin_project/image/page2"
Var show_btp = "ROOT/taobin_project/image/bn_eng_lang_press.png"
Var show_btn = "ROOT/taobin_project/image/bn_eng_lang.png"
Var PlaySoundLag = "/mnt/sdcard/coffeevending/taobin_project/sound_thai/taobin_sawade.mp3"
Play PlaySoundLag
EndIf
Var StrawAutoRelease1 = "false"
Var StrawAutoRelease2 = "false"
</EventOpen>
<Timeout> 1000 </Timeout>
<EventTimeout>
;SAVELOG SoundPlaying
If countDownRetrun > 0 Then
Var countDownRetrun = countDownRetrun - 1
EndIf
If countDownRetrun = 0 Then
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
EndIf
Refresh
TimerReset
</EventTimeout>
<EventChangeStatus>
;If ChangeStatus = "payout-end" Then
; Var ChangeOK = 1
;EndIf
</EventChangeStatus>
;<Image>
;<X> 0 </X>
;<Y> 0 </Y>
;<Filename> "ROOT/taobin_project/image/ad_medium_2.png" </Filename>
;</Image>
<Video>
<X> 0 </X>
<Y> 0 </Y>
<Width> 1080</Width>
<Height> 380 </Height>
<Loop> "true" </Loop>
<Filename> "ROOT/taobin_project/video/taobin_adv2.mp4" </Filename>
</Video>
; 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_back_to_main.xml"
</EventClick>
</Button>
<Button>
<X> 990 </X>
<Y> 438 </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"
Else
Var show_eng = "true"
EndIf
Open CurrentXMLFileName2
</EventClick>
</Button>
<Image>
<X> 70 </X>
<Y> 583 </Y>
<Filename> Var(DirImage + "/text1.png") </Filename>
</Image>
; menu row 1
<Button>
<X> 205 </X>
<Y> 849 </Y>
<Filename> Var(DirImage + "/bn_diy.png") </Filename>
<FilenamePress> Var(DirImage + "/bp_diy.png") </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
; eng
Open "ROOT/taobin_project/xml/page_tt__catalog_choose_drink1.xml"
</EventClick>
</Button>
<Button>
<X> 579 </X>
<Y> 849 </Y>
<Filename> Var(DirImage + "/bn_coffee.png") </Filename>
<FilenamePress> Var(DirImage + "/bp_coffee.png") </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Open "ROOT/taobin_project/xml/page_tt__catalog_choose_drink2.xml"
</EventClick>
</Button>
; menu row 2
<Button>
<X> 205 </X>
<Y> 1191 </Y>
<Filename> Var(DirImage + "/bn_tea.png") </Filename>
<FilenamePress> Var(DirImage + "/bp_tea.png") </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Open "ROOT/taobin_project/xml/page_tt__catalog_choose_drink3.xml"
</EventClick>
</Button>
<Button>
<X> 579 </X>
<Y> 1191 </Y>
<Filename> Var(DirImage + "/bn_cho_caramel.png") </Filename>
<FilenamePress> Var(DirImage + "/bp_cho_caramel.png") </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Open "ROOT/taobin_project/xml/page_tt__catalog_choose_drink4.xml"
</EventClick>
</Button>
; menu row 3
;<Button>
;<X> 205 </X>
;<Y> 1533 </Y>
;<Filename> Var(DirImage + "/bn_fruit.png") </Filename>
;<FilenamePress> Var(DirImage + "/bp_fruit.png") </FilenamePress>
;<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
;<Volume> SoundVolume </Volume>
;<EventClick>
; Open "ROOT/taobin_project/xml/page_tt__catalog_choose_drink5.xml"
;</EventClick>
;</Button>
<Button>
<X> 205 </X>
<Y> 1533 </Y>
<Filename> Var(DirImage + "/bn_protein.png") </Filename>
<FilenamePress> Var(DirImage + "/bp_protein.png") </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Open "ROOT/taobin_project/xml/page_tt__catalog_choose_drink7.xml"
</EventClick>
</Button>
<Button>
<X> 579 </X>
<Y> 1533 </Y>
<Filename> Var(DirImage + "/bn_soda.png") </Filename>
<FilenamePress> Var(DirImage + "/bp_soda.png") </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Open "ROOT/taobin_project/xml/page_tt__catalog_choose_drink6.xml"
</EventClick>
</Button>
<Button>
<X> 392 </X>
<Y> 424 </Y>
<Filename> Var(DirImage + "/bn_main_page_member.png") </Filename>
<FilenamePress> Var(DirImage + "/bp_main_page_member.png") </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
; eng
Open "ROOT/taobin_project/xml/page_check_member.xml"
</EventClick>
</Button>
<Button>
<X> 696 </X>
<Y> 424 </Y>
<Filename> Var(DirImage + "/bn_main_page_topup.png") </Filename>
<FilenamePress> Var(DirImage + "/bp_main_page_topup.png") </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
; eng
Open "ROOT/taobin_project/xml/page_back_to_topup.xml"
</EventClick>
</Button>
</Popup>

View file

@ -147,8 +147,14 @@
<Filename> "ROOT/taobin_project/image/tab_1.png" </Filename>
<EventClick>
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert.xml"
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog.xml"
If TaobinOnline = "true" Then
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog.xml"
EndIf
If TermTemOnline = "true" Then
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_tt_catalog.xml"
EndIf
TopView "show"
Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_main_blank.xml"
</EventClick>
@ -360,7 +366,7 @@
<Button>
<X> 431 </X>
<X> 431 </X<name />
<Y> 805 </Y>
<Filename> "ROOT/taobin_project/image//bp_cancel.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/bp_cancel.png" </FilenamePress>