DO sugar exhange
This commit is contained in:
parent
c822fd7f86
commit
0a4b92cef3
14 changed files with 562 additions and 688 deletions
BIN
adv/1080x358.mp4
BIN
adv/1080x358.mp4
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
Before Width: | Height: | Size: 6.4 KiB After Width: | Height: | Size: 7 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 3.6 KiB |
|
|
@ -1,4 +1,6 @@
|
||||||
|
|
||||||
|
; notice enable heathy menu
|
||||||
|
|
||||||
<Image>
|
<Image>
|
||||||
<X> 0 </X>
|
<X> 0 </X>
|
||||||
<Y> 380 </Y>
|
<Y> 380 </Y>
|
||||||
|
|
@ -153,39 +155,34 @@
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
;
|
;
|
||||||
|
<ListView1>
|
||||||
|
<Row1>
|
||||||
|
<X> 92 </X>
|
||||||
|
<Y> 395 </Y>
|
||||||
<Button>
|
<Button>
|
||||||
<X> 92 </X>
|
|
||||||
<Y> 395 </Y>
|
|
||||||
<State> Menu1Selected </State>
|
<State> Menu1Selected </State>
|
||||||
<Filename> Var( DirImage + "/bn_bestseller.png" )</Filename>
|
<Filename> Var( DirImageAlter + "/bn_bestseller.png" )</Filename>
|
||||||
<FilenamePress> Var( DirImage + "/bp_bestseller.png") </FilenamePress>
|
<FilenamePress> Var( DirImageAlter + "/bp_bestseller.png") </FilenamePress>
|
||||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
<Volume> SoundVolume </Volume>
|
<Volume> SoundVolume </Volume>
|
||||||
<EventClick>
|
<EventClick>
|
||||||
Var NextPage = "-"
|
Var NextPage = "-"
|
||||||
If new_layout = "true" Then
|
Open "ROOT/taobin_project/xml/page_catalog_group_recommend.xml"
|
||||||
Open "ROOT/taobin_project/xml/page_catalog_group_recommend.xml"
|
|
||||||
Else
|
|
||||||
Open "ROOT/taobin_project/xml/page_catalog_choose_drink1.xml"
|
|
||||||
EndIf
|
|
||||||
</EventClick>
|
</EventClick>
|
||||||
</Button>
|
</Button>
|
||||||
<Button>
|
<Button>
|
||||||
<X> 99 </X>
|
<X> 99 </X>
|
||||||
<Y> 395 </Y>
|
<Y> 395 </Y>
|
||||||
<State> Menu1Selected2 </State>
|
<State> Menu1Selected2 </State>
|
||||||
<Filename> Var( DirImage + "/bn_recommend2.png" )</Filename>
|
<Filename> Var( DirImageAlter + "/bn_recommend2.png" )</Filename>
|
||||||
<FilenamePress> Var( DirImage + "/bp_recommend2.png") </FilenamePress>
|
<FilenamePress> Var( DirImageAlter + "/bp_recommend2.png") </FilenamePress>
|
||||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
<Volume> SoundVolume </Volume>
|
<Volume> SoundVolume </Volume>
|
||||||
<EventClick>
|
<EventClick>
|
||||||
Var NextPage = "-"
|
Var NextPage = "-"
|
||||||
If new_layout = "true" Then
|
Open "ROOT/taobin_project/xml/page_catalog_group_recommend.xml"
|
||||||
Open "ROOT/taobin_project/xml/page_catalog_group_recommend.xml"
|
|
||||||
Else
|
|
||||||
Open "ROOT/taobin_project/xml/page_catalog_choose_drink1.xml"
|
|
||||||
EndIf
|
|
||||||
</EventClick>
|
</EventClick>
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
|
|
@ -196,45 +193,23 @@
|
||||||
<X> 243 </X>
|
<X> 243 </X>
|
||||||
<Y> 395 </Y>
|
<Y> 395 </Y>
|
||||||
<State> Menu2Selected </State>
|
<State> Menu2Selected </State>
|
||||||
<Filename> Var( DirImage + "/bn_coffee.png") </Filename>
|
<Filename> Var( DirImageAlter + "/bn_coffee.png") </Filename>
|
||||||
<FilenamePress> Var( DirImage + "/bp_coffee.png") </FilenamePress>
|
<FilenamePress> Var( DirImageAlter + "/bp_coffee.png") </FilenamePress>
|
||||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
<Volume> SoundVolume </Volume>
|
<Volume> SoundVolume </Volume>
|
||||||
<EventClick>
|
<EventClick>
|
||||||
Var NextPage = "-"
|
Var NextPage = "-"
|
||||||
If new_layout = "true" Then
|
Open "ROOT/taobin_project/xml/page_catalog_group_coffee.xml"
|
||||||
Open "ROOT/taobin_project/xml/page_catalog_group_coffee.xml"
|
|
||||||
Else
|
|
||||||
Open "ROOT/taobin_project/xml/page_catalog_choose_drink2.xml"
|
|
||||||
EndIf
|
|
||||||
</EventClick>
|
</EventClick>
|
||||||
</Button>
|
</Button>
|
||||||
<Button>
|
|
||||||
<X> 227 </X>
|
|
||||||
<Y> 395 </Y>
|
|
||||||
<State> Menu2Selected2 </State>
|
|
||||||
<Filename> Var( DirImage + "/bn_coffee2.png") </Filename>
|
|
||||||
<FilenamePress> Var( DirImage + "/bp_coffee2.png") </FilenamePress>
|
|
||||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
||||||
<Volume> SoundVolume </Volume>
|
|
||||||
<EventClick>
|
|
||||||
Var NextPage = "-"
|
|
||||||
If new_layout = "true" Then
|
|
||||||
Open "ROOT/taobin_project/xml/page_catalog_group_coffee.xml"
|
|
||||||
Else
|
|
||||||
Open "ROOT/taobin_project/xml/page_catalog_choose_drink2.xml"
|
|
||||||
EndIf
|
|
||||||
</EventClick>
|
|
||||||
</Button>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<Button>
|
<Button>
|
||||||
<X> 394 </X>
|
<X> 394 </X>
|
||||||
<Y> 395 </Y>
|
<Y> 395 </Y>
|
||||||
<State> Menu3Selected </State>
|
<State> Menu3Selected </State>
|
||||||
<Filename> Var( DirImage + "/bn_tea.png") </Filename>
|
<Filename> Var( DirImageAlter + "/bn_tea.png") </Filename>
|
||||||
<FilenamePress> Var( DirImage + "/bp_tea.png") </FilenamePress>
|
<FilenamePress> Var( DirImageAlter + "/bp_tea.png") </FilenamePress>
|
||||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
<Volume> SoundVolume </Volume>
|
<Volume> SoundVolume </Volume>
|
||||||
<EventClick>
|
<EventClick>
|
||||||
|
|
@ -251,8 +226,8 @@
|
||||||
<X> 355 </X>
|
<X> 355 </X>
|
||||||
<Y> 395 </Y>
|
<Y> 395 </Y>
|
||||||
<State> Menu3Selected2 </State>
|
<State> Menu3Selected2 </State>
|
||||||
<Filename> Var( DirImage + "/bn_tea2.png") </Filename>
|
<Filename> Var( DirImageAlter + "/bn_tea2.png") </Filename>
|
||||||
<FilenamePress> Var( DirImage + "/bp_tea2.png") </FilenamePress>
|
<FilenamePress> Var( DirImageAlter + "/bp_tea2.png") </FilenamePress>
|
||||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
<Volume> SoundVolume </Volume>
|
<Volume> SoundVolume </Volume>
|
||||||
<EventClick>
|
<EventClick>
|
||||||
|
|
@ -273,8 +248,8 @@
|
||||||
<X> 545 </X>
|
<X> 545 </X>
|
||||||
<Y> 395 </Y>
|
<Y> 395 </Y>
|
||||||
<State> Menu4Selected </State>
|
<State> Menu4Selected </State>
|
||||||
<Filename> Var( DirImage + "/bn_cho_ca.png") </Filename>
|
<Filename> Var( DirImageAlter + "/bn_cho_ca.png") </Filename>
|
||||||
<FilenamePress> Var( DirImage + "/bp_cho_ca.png") </FilenamePress>
|
<FilenamePress> Var( DirImageAlter + "/bp_cho_ca.png") </FilenamePress>
|
||||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
<Volume> SoundVolume </Volume>
|
<Volume> SoundVolume </Volume>
|
||||||
<EventClick>
|
<EventClick>
|
||||||
|
|
@ -291,8 +266,8 @@
|
||||||
<X> 483 </X>
|
<X> 483 </X>
|
||||||
<Y> 395 </Y>
|
<Y> 395 </Y>
|
||||||
<State> Menu4Selected2 </State>
|
<State> Menu4Selected2 </State>
|
||||||
<Filename> Var( DirImage + "/bn_cho_ca2.png") </Filename>
|
<Filename> Var( DirImageAlter + "/bn_cho_ca2.png") </Filename>
|
||||||
<FilenamePress> Var( DirImage + "/bp_cho_ca2.png") </FilenamePress>
|
<FilenamePress> Var( DirImageAlter + "/bp_cho_ca2.png") </FilenamePress>
|
||||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
<Volume> SoundVolume </Volume>
|
<Volume> SoundVolume </Volume>
|
||||||
<EventClick>
|
<EventClick>
|
||||||
|
|
@ -312,8 +287,8 @@
|
||||||
<X> 696 </X>
|
<X> 696 </X>
|
||||||
<Y> 395 </Y>
|
<Y> 395 </Y>
|
||||||
<State> Menu7Selected </State>
|
<State> Menu7Selected </State>
|
||||||
<Filename> Var( DirImage + "/bn_protein.png") </Filename>
|
<Filename> Var( DirImageAlter + "/bn_protein.png") </Filename>
|
||||||
<FilenamePress> Var( DirImage + "/bp_protein.png") </FilenamePress>
|
<FilenamePress> Var( DirImageAlter + "/bp_protein.png") </FilenamePress>
|
||||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
<Volume> SoundVolume </Volume>
|
<Volume> SoundVolume </Volume>
|
||||||
<EventClick>
|
<EventClick>
|
||||||
|
|
@ -329,8 +304,8 @@
|
||||||
<X> 611 </X>
|
<X> 611 </X>
|
||||||
<Y> 395 </Y>
|
<Y> 395 </Y>
|
||||||
<State> Menu7Selected2 </State>
|
<State> Menu7Selected2 </State>
|
||||||
<Filename> Var( DirImage + "/bn_protein2.png") </Filename>
|
<Filename> Var( DirImageAlter + "/bn_protein2.png") </Filename>
|
||||||
<FilenamePress> Var( DirImage + "/bp_protein2.png") </FilenamePress>
|
<FilenamePress> Var( DirImageAlter + "/bp_protein2.png") </FilenamePress>
|
||||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
<Volume> SoundVolume </Volume>
|
<Volume> SoundVolume </Volume>
|
||||||
<EventClick>
|
<EventClick>
|
||||||
|
|
@ -348,25 +323,8 @@
|
||||||
<X> 696 </X>
|
<X> 696 </X>
|
||||||
<Y> 395 </Y>
|
<Y> 395 </Y>
|
||||||
<State> Menu11Selected </State>
|
<State> Menu11Selected </State>
|
||||||
<Filename> Var( DirImage + "/bn_appfast.png") </Filename>
|
<Filename> Var( DirImageAlter + "/bn_appfast.png") </Filename>
|
||||||
<FilenamePress> Var( DirImage + "/bp_appfast.png") </FilenamePress>
|
<FilenamePress> Var( DirImageAlter + "/bp_appfast.png") </FilenamePress>
|
||||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
||||||
<Volume> SoundVolume </Volume>
|
|
||||||
<EventClick>
|
|
||||||
Var NextPage = "-"
|
|
||||||
If new_layout = "true" Then
|
|
||||||
Open "ROOT/taobin_project/xml/page_catalog_group_appfast.xml"
|
|
||||||
Else
|
|
||||||
Open "ROOT/taobin_project/xml/page_catalog_choose_drink11.xml"
|
|
||||||
EndIf
|
|
||||||
</EventClick>
|
|
||||||
</Button>
|
|
||||||
<Button>
|
|
||||||
<X> 611 </X>
|
|
||||||
<Y> 395 </Y>
|
|
||||||
<State> Menu11Selected2 </State>
|
|
||||||
<Filename> Var( DirImage + "/bn_appfast2.png") </Filename>
|
|
||||||
<FilenamePress> Var( DirImage + "/bp_appfast2.png") </FilenamePress>
|
|
||||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
<Volume> SoundVolume </Volume>
|
<Volume> SoundVolume </Volume>
|
||||||
<EventClick>
|
<EventClick>
|
||||||
|
|
@ -385,8 +343,8 @@
|
||||||
<X> 696 </X>
|
<X> 696 </X>
|
||||||
<Y> 395 </Y>
|
<Y> 395 </Y>
|
||||||
<State> Menu21Selected </State>
|
<State> Menu21Selected </State>
|
||||||
<Filename> Var( DirImage + "/bn_forkid.png") </Filename>
|
<Filename> Var( DirImageAlter + "/bn_forkid.png") </Filename>
|
||||||
<FilenamePress> Var( DirImage + "/bp_forkid.png") </FilenamePress>
|
<FilenamePress> Var( DirImageAlter + "/bp_forkid.png") </FilenamePress>
|
||||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
<Volume> SoundVolume </Volume>
|
<Volume> SoundVolume </Volume>
|
||||||
<EventClick>
|
<EventClick>
|
||||||
|
|
@ -394,27 +352,13 @@
|
||||||
Open "ROOT/taobin_project/xml/page_catalog_group_forkid.xml"
|
Open "ROOT/taobin_project/xml/page_catalog_group_forkid.xml"
|
||||||
</EventClick>
|
</EventClick>
|
||||||
</Button>
|
</Button>
|
||||||
<Button>
|
|
||||||
<X> 611 </X>
|
|
||||||
<Y> 395 </Y>
|
|
||||||
<State> Menu21Selected2 </State>
|
|
||||||
<Filename> Var( DirImage + "/bn_forkid2.png") </Filename>
|
|
||||||
<FilenamePress> Var( DirImage + "/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.xml"
|
|
||||||
</EventClick>
|
|
||||||
</Button>
|
|
||||||
|
|
||||||
|
|
||||||
<Button>
|
<Button>
|
||||||
<X> 696 </X>
|
<X> 696 </X>
|
||||||
<Y> 395 </Y>
|
<Y> 395 </Y>
|
||||||
<State> Menu8Selected </State>
|
<State> Menu8Selected </State>
|
||||||
<Filename> Var( DirImage + "/bn_cocktail.png") </Filename>
|
<Filename> Var( DirImageAlter + "/bn_cocktail.png") </Filename>
|
||||||
<FilenamePress> Var( DirImage + "/bp_cocktail.png") </FilenamePress>
|
<FilenamePress> Var( DirImageAlter + "/bp_cocktail.png") </FilenamePress>
|
||||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
<Volume> SoundVolume </Volume>
|
<Volume> SoundVolume </Volume>
|
||||||
<EventClick>
|
<EventClick>
|
||||||
|
|
@ -422,44 +366,13 @@
|
||||||
Open "ROOT/taobin_project/xml/page_catalog_choose_drink8.xml"
|
Open "ROOT/taobin_project/xml/page_catalog_choose_drink8.xml"
|
||||||
</EventClick>
|
</EventClick>
|
||||||
</Button>
|
</Button>
|
||||||
<Button>
|
|
||||||
<X> 739 </X>
|
|
||||||
<Y> 395 </Y>
|
|
||||||
<State> Menu8Selected2 </State>
|
|
||||||
<Filename> Var( DirImage + "/bn_cocktail2.png") </Filename>
|
|
||||||
<FilenamePress> Var( DirImage + "/bp_cocktail2.png") </FilenamePress>
|
|
||||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
||||||
<Volume> SoundVolume </Volume>
|
|
||||||
<EventClick>
|
|
||||||
Var NextPage = "-"
|
|
||||||
Open "ROOT/taobin_project/xml/page_catalog_choose_drink8.xml"
|
|
||||||
</EventClick>
|
|
||||||
</Button>
|
|
||||||
|
|
||||||
|
|
||||||
<Button>
|
<Button>
|
||||||
<X> 847 </X>
|
<X> 847 </X>
|
||||||
<Y> 395 </Y>
|
<Y> 395 </Y>
|
||||||
<State> Menu6Selected </State>
|
<State> Menu6Selected </State>
|
||||||
<Filename> Var( DirImage + "/bn_sodada.png") </Filename>
|
<Filename> Var( DirImageAlter + "/bn_sodada.png") </Filename>
|
||||||
<FilenamePress> Var( DirImage + "/bp_sodada.png") </FilenamePress>
|
<FilenamePress> Var( DirImageAlter + "/bp_sodada.png") </FilenamePress>
|
||||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
||||||
<Volume> SoundVolume </Volume>
|
|
||||||
<EventClick>
|
|
||||||
Var NextPage = "-"
|
|
||||||
If new_layout = "true" Then
|
|
||||||
Open "ROOT/taobin_project/xml/page_catalog_group_other.xml"
|
|
||||||
Else
|
|
||||||
Open "ROOT/taobin_project/xml/page_catalog_choose_drink6.xml"
|
|
||||||
EndIf
|
|
||||||
</EventClick>
|
|
||||||
</Button>
|
|
||||||
<Button>
|
|
||||||
<X> 739 </X>
|
|
||||||
<Y> 395 </Y>
|
|
||||||
<State> Menu6Selected2 </State>
|
|
||||||
<Filename> Var( DirImage + "/bn_sodada2.png") </Filename>
|
|
||||||
<FilenamePress> Var( DirImage + "/bp_sodada2.png") </FilenamePress>
|
|
||||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
<Volume> SoundVolume </Volume>
|
<Volume> SoundVolume </Volume>
|
||||||
<EventClick>
|
<EventClick>
|
||||||
|
|
@ -476,8 +389,8 @@
|
||||||
<X> 867 </X>
|
<X> 867 </X>
|
||||||
<Y> 395 </Y>
|
<Y> 395 </Y>
|
||||||
<State> MenuVSelected2 </State>
|
<State> MenuVSelected2 </State>
|
||||||
<Filename> Var( DirImage + "/bn_vending2.png") </Filename>
|
<Filename> Var( DirImageAlter + "/bn_vending2.png") </Filename>
|
||||||
<FilenamePress> Var( DirImage + "/bp_vending2.png") </FilenamePress>
|
<FilenamePress> Var( DirImageAlter + "/bp_vending2.png") </FilenamePress>
|
||||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
<Volume> SoundVolume </Volume>
|
<Volume> SoundVolume </Volume>
|
||||||
<EventClick>
|
<EventClick>
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,9 @@
|
||||||
|
|
||||||
If show_eng = "true" Then
|
If show_eng = "true" Then
|
||||||
Var DirImage2 = "ROOT/taobin_project/image/drink_option_en/"
|
Var DirImage2 = "ROOT/taobin_project/image/drink_option_en/"
|
||||||
|
Var DirImageAlter = "ROOT/taobin_project/image/page3_2_en/"
|
||||||
|
|
||||||
Else
|
Else
|
||||||
Var DirImage2 = "ROOT/taobin_project/image/drink_option/"
|
Var DirImage2 = "ROOT/taobin_project/image/drink_option/"
|
||||||
|
Var DirImageAlter = "ROOT/taobin_project/image/page3_2/"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
@ -52,13 +52,7 @@
|
||||||
|
|
||||||
|
|
||||||
<?hurr
|
<?hurr
|
||||||
echo $param
|
#include=menu_catalog.xml
|
||||||
if $param == "new-layout":
|
|
||||||
echo "using new layout hurr"
|
|
||||||
#include=menu_catalog.xml
|
|
||||||
else:
|
|
||||||
#include=menu_catalog.xml
|
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
<?hurr
|
<?hurr
|
||||||
#include=menu_head.py
|
#include=menu_head.py
|
||||||
|
echo param
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<Popup>
|
<Popup>
|
||||||
|
|
@ -34,7 +35,7 @@
|
||||||
|
|
||||||
|
|
||||||
<?hurr
|
<?hurr
|
||||||
#include=menu_catalog.xml
|
#include=menu_catalog_inc.py
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -160,512 +160,6 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<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>
|
|
||||||
|
|
||||||
|
|
||||||
;<Image>
|
|
||||||
;<X> 0 </X>
|
|
||||||
;<Y> 0 </Y>
|
|
||||||
;<Filename> "ROOT/taobin_project/image/ad_medium_2.png" </Filename>
|
|
||||||
;</Image>
|
|
||||||
|
|
||||||
;<Video>
|
|
||||||
;<X> 0 </X>
|
|
||||||
;<Y> 0 </Y>
|
|
||||||
;<Width> 1080</Width>
|
|
||||||
;<Height> 380 </Height>
|
|
||||||
;<Loop> "true" </Loop>
|
|
||||||
;<Filename> video_menu_1 </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>
|
|
||||||
If SpiralOnline = "true" Then
|
|
||||||
Open "ROOT/taobin_project/xml/page_catalog_with_vending.xml"
|
|
||||||
|
|
||||||
Else
|
|
||||||
Open "ROOT/taobin_project/xml/page_catalog.xml"
|
|
||||||
EndIf
|
|
||||||
|
|
||||||
</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 = "-"
|
|
||||||
If new_layout = "true" Then
|
|
||||||
Open "ROOT/taobin_project/xml/page_catalog_group_recommend.xml"
|
|
||||||
Else
|
|
||||||
Open "ROOT/taobin_project/xml/page_catalog_choose_drink1.xml"
|
|
||||||
EndIf
|
|
||||||
</EventClick>
|
|
||||||
</Button>
|
|
||||||
<Button>
|
|
||||||
<X> 99 </X>
|
|
||||||
<Y> 395 </Y>
|
|
||||||
<State> Menu1Selected2 </State>
|
|
||||||
<Filename> Var( DirImage + "/bn_recommend2.png" )</Filename>
|
|
||||||
<FilenamePress> Var( DirImage + "/bp_recommend2.png") </FilenamePress>
|
|
||||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
||||||
<Volume> SoundVolume </Volume>
|
|
||||||
<EventClick>
|
|
||||||
Var NextPage = "-"
|
|
||||||
If new_layout = "true" Then
|
|
||||||
Open "ROOT/taobin_project/xml/page_catalog_group_recommend.xml"
|
|
||||||
Else
|
|
||||||
Open "ROOT/taobin_project/xml/page_catalog_choose_drink1.xml"
|
|
||||||
EndIf
|
|
||||||
</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 = "-"
|
|
||||||
If new_layout = "true" Then
|
|
||||||
Open "ROOT/taobin_project/xml/page_catalog_group_coffee.xml"
|
|
||||||
Else
|
|
||||||
Open "ROOT/taobin_project/xml/page_catalog_choose_drink2.xml"
|
|
||||||
EndIf
|
|
||||||
</EventClick>
|
|
||||||
</Button>
|
|
||||||
<Button>
|
|
||||||
<X> 227 </X>
|
|
||||||
<Y> 395 </Y>
|
|
||||||
<State> Menu2Selected2 </State>
|
|
||||||
<Filename> Var( DirImage + "/bn_coffee2.png") </Filename>
|
|
||||||
<FilenamePress> Var( DirImage + "/bp_coffee2.png") </FilenamePress>
|
|
||||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
||||||
<Volume> SoundVolume </Volume>
|
|
||||||
<EventClick>
|
|
||||||
Var NextPage = "-"
|
|
||||||
If new_layout = "true" Then
|
|
||||||
Open "ROOT/taobin_project/xml/page_catalog_group_coffee.xml"
|
|
||||||
Else
|
|
||||||
Open "ROOT/taobin_project/xml/page_catalog_choose_drink2.xml"
|
|
||||||
EndIf
|
|
||||||
</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 = "-"
|
|
||||||
If new_layout = "true" Then
|
|
||||||
Open "ROOT/taobin_project/xml/page_catalog_group_tea.xml"
|
|
||||||
Else
|
|
||||||
Open "ROOT/taobin_project/xml/page_catalog_choose_drink3.xml"
|
|
||||||
EndIf
|
|
||||||
</EventClick>
|
|
||||||
</Button>
|
|
||||||
|
|
||||||
<Button>
|
|
||||||
<X> 355 </X>
|
|
||||||
<Y> 395 </Y>
|
|
||||||
<State> Menu3Selected2 </State>
|
|
||||||
<Filename> Var( DirImage + "/bn_tea2.png") </Filename>
|
|
||||||
<FilenamePress> Var( DirImage + "/bp_tea2.png") </FilenamePress>
|
|
||||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
||||||
<Volume> SoundVolume </Volume>
|
|
||||||
<EventClick>
|
|
||||||
Var NextPage = "-"
|
|
||||||
|
|
||||||
If new_layout = "true" Then
|
|
||||||
Open "ROOT/taobin_project/xml/page_catalog_group_tea.xml"
|
|
||||||
Else
|
|
||||||
Open "ROOT/taobin_project/xml/page_catalog_choose_drink3.xml"
|
|
||||||
EndIf
|
|
||||||
|
|
||||||
</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 = "-"
|
|
||||||
If new_layout = "true" Then
|
|
||||||
Open "ROOT/taobin_project/xml/page_catalog_group_milk.xml"
|
|
||||||
Else
|
|
||||||
Open "ROOT/taobin_project/xml/page_catalog_choose_drink4.xml"
|
|
||||||
|
|
||||||
EndIf
|
|
||||||
</EventClick>
|
|
||||||
</Button>
|
|
||||||
<Button>
|
|
||||||
<X> 483 </X>
|
|
||||||
<Y> 395 </Y>
|
|
||||||
<State> Menu4Selected2 </State>
|
|
||||||
<Filename> Var( DirImage + "/bn_cho_ca2.png") </Filename>
|
|
||||||
<FilenamePress> Var( DirImage + "/bp_cho_ca2.png") </FilenamePress>
|
|
||||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
||||||
<Volume> SoundVolume </Volume>
|
|
||||||
<EventClick>
|
|
||||||
Var NextPage = "-"
|
|
||||||
If new_layout = "true" Then
|
|
||||||
Open "ROOT/taobin_project/xml/page_catalog_group_milk.xml"
|
|
||||||
Else
|
|
||||||
Open "ROOT/taobin_project/xml/page_catalog_choose_drink4.xml"
|
|
||||||
|
|
||||||
EndIf
|
|
||||||
</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 = "-"
|
|
||||||
If new_layout = "true" Then
|
|
||||||
Open "ROOT/taobin_project/xml/page_catalog_group_whey.xml"
|
|
||||||
Else
|
|
||||||
Open "ROOT/taobin_project/xml/page_catalog_choose_drink7.xml"
|
|
||||||
EndIf
|
|
||||||
</EventClick>
|
|
||||||
</Button>
|
|
||||||
<Button>
|
|
||||||
<X> 611 </X>
|
|
||||||
<Y> 395 </Y>
|
|
||||||
<State> Menu7Selected2 </State>
|
|
||||||
<Filename> Var( DirImage + "/bn_protein2.png") </Filename>
|
|
||||||
<FilenamePress> Var( DirImage + "/bp_protein2.png") </FilenamePress>
|
|
||||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
||||||
<Volume> SoundVolume </Volume>
|
|
||||||
<EventClick>
|
|
||||||
Var NextPage = "-"
|
|
||||||
If new_layout = "true" Then
|
|
||||||
Open "ROOT/taobin_project/xml/page_catalog_group_whey.xml"
|
|
||||||
Else
|
|
||||||
Open "ROOT/taobin_project/xml/page_catalog_choose_drink7.xml"
|
|
||||||
EndIf
|
|
||||||
</EventClick>
|
|
||||||
</Button>
|
|
||||||
|
|
||||||
|
|
||||||
<Button>
|
|
||||||
<X> 696 </X>
|
|
||||||
<Y> 395 </Y>
|
|
||||||
<State> Menu11Selected </State>
|
|
||||||
<Filename> Var( DirImage + "/bn_appfast.png") </Filename>
|
|
||||||
<FilenamePress> Var( DirImage + "/bp_appfast.png") </FilenamePress>
|
|
||||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
||||||
<Volume> SoundVolume </Volume>
|
|
||||||
<EventClick>
|
|
||||||
Var NextPage = "-"
|
|
||||||
If new_layout = "true" Then
|
|
||||||
Open "ROOT/taobin_project/xml/page_catalog_group_appfast.xml"
|
|
||||||
Else
|
|
||||||
Open "ROOT/taobin_project/xml/page_catalog_choose_drink11.xml"
|
|
||||||
EndIf
|
|
||||||
</EventClick>
|
|
||||||
</Button>
|
|
||||||
<Button>
|
|
||||||
<X> 611 </X>
|
|
||||||
<Y> 395 </Y>
|
|
||||||
<State> Menu11Selected2 </State>
|
|
||||||
<Filename> Var( DirImage + "/bn_appfast2.png") </Filename>
|
|
||||||
<FilenamePress> Var( DirImage + "/bp_appfast2.png") </FilenamePress>
|
|
||||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
||||||
<Volume> SoundVolume </Volume>
|
|
||||||
<EventClick>
|
|
||||||
Var NextPage = "-"
|
|
||||||
If new_layout = "true" Then
|
|
||||||
Open "ROOT/taobin_project/xml/page_catalog_group_appfast.xml"
|
|
||||||
Else
|
|
||||||
Open "ROOT/taobin_project/xml/page_catalog_choose_drink11.xml"
|
|
||||||
EndIf
|
|
||||||
</EventClick>
|
|
||||||
</Button>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<Button>
|
|
||||||
<X> 696 </X>
|
|
||||||
<Y> 395 </Y>
|
|
||||||
<State> Menu21Selected </State>
|
|
||||||
<Filename> Var( DirImage + "/bn_forkid.png") </Filename>
|
|
||||||
<FilenamePress> Var( DirImage + "/bp_forkid.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.xml"
|
|
||||||
</EventClick>
|
|
||||||
</Button>
|
|
||||||
<Button>
|
|
||||||
<X> 611 </X>
|
|
||||||
<Y> 395 </Y>
|
|
||||||
<State> Menu21Selected2 </State>
|
|
||||||
<Filename> Var( DirImage + "/bn_forkid2.png") </Filename>
|
|
||||||
<FilenamePress> Var( DirImage + "/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.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_catalog_choose_drink8.xml"
|
|
||||||
</EventClick>
|
|
||||||
</Button>
|
|
||||||
<Button>
|
|
||||||
<X> 739 </X>
|
|
||||||
<Y> 395 </Y>
|
|
||||||
<State> Menu8Selected2 </State>
|
|
||||||
<Filename> Var( DirImage + "/bn_cocktail2.png") </Filename>
|
|
||||||
<FilenamePress> Var( DirImage + "/bp_cocktail2.png") </FilenamePress>
|
|
||||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
||||||
<Volume> SoundVolume </Volume>
|
|
||||||
<EventClick>
|
|
||||||
Var NextPage = "-"
|
|
||||||
Open "ROOT/taobin_project/xml/page_catalog_choose_drink8.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 = "-"
|
|
||||||
If new_layout = "true" Then
|
|
||||||
Open "ROOT/taobin_project/xml/page_catalog_group_other.xml"
|
|
||||||
Else
|
|
||||||
Open "ROOT/taobin_project/xml/page_catalog_choose_drink6.xml"
|
|
||||||
EndIf
|
|
||||||
</EventClick>
|
|
||||||
</Button>
|
|
||||||
<Button>
|
|
||||||
<X> 739 </X>
|
|
||||||
<Y> 395 </Y>
|
|
||||||
<State> Menu6Selected2 </State>
|
|
||||||
<Filename> Var( DirImage + "/bn_sodada2.png") </Filename>
|
|
||||||
<FilenamePress> Var( DirImage + "/bp_sodada2.png") </FilenamePress>
|
|
||||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
||||||
<Volume> SoundVolume </Volume>
|
|
||||||
<EventClick>
|
|
||||||
Var NextPage = "-"
|
|
||||||
If new_layout = "true" Then
|
|
||||||
Open "ROOT/taobin_project/xml/page_catalog_group_other.xml"
|
|
||||||
Else
|
|
||||||
Open "ROOT/taobin_project/xml/page_catalog_choose_drink6.xml"
|
|
||||||
EndIf
|
|
||||||
</EventClick>
|
|
||||||
</Button>
|
|
||||||
|
|
||||||
<Button>
|
|
||||||
<X> 867 </X>
|
|
||||||
<Y> 395 </Y>
|
|
||||||
<State> MenuVSelected2 </State>
|
|
||||||
<Filename> Var( DirImage + "/bn_vending2.png") </Filename>
|
|
||||||
<FilenamePress> Var( DirImage + "/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>
|
|
||||||
|
|
||||||
<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>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -68,10 +68,19 @@
|
||||||
|
|
||||||
Var BGSugar = "Invisible"
|
Var BGSugar = "Invisible"
|
||||||
Var ShotCoffeeBG = "Invisible"
|
Var ShotCoffeeBG = "Invisible"
|
||||||
|
|
||||||
Var showShotEnable = "Enable"
|
Var showShotEnable = "Invisible"
|
||||||
Var ShotCoffeePremium = "Enable"
|
Var ShotCoffeePremium = "Invisible"
|
||||||
Var showOreoAddEnable = "Enable"
|
Var showOreoAddEnable = "Invisible"
|
||||||
|
|
||||||
|
Var BGSugarHotHealthy = "Invisible"
|
||||||
|
Var BGSugarColdHealthy = "Invisible"
|
||||||
|
|
||||||
|
Var showText8 = "Invisible"
|
||||||
|
|
||||||
|
;Var showShotEnable = "Enable"
|
||||||
|
;Var ShotCoffeePremium = "Enable"
|
||||||
|
;Var showOreoAddEnable = "Enable"
|
||||||
|
|
||||||
|
|
||||||
; On open
|
; On open
|
||||||
|
|
@ -467,6 +476,8 @@
|
||||||
DEBUGVAR TOPPING2
|
DEBUGVAR TOPPING2
|
||||||
DEBUGVAR TOPPING3
|
DEBUGVAR TOPPING3
|
||||||
DEBUGVAR TOPPING4
|
DEBUGVAR TOPPING4
|
||||||
|
DEBUGVAR TOPPING5
|
||||||
|
DEBUGVAR TOPPING6
|
||||||
DEBUGVAR toppingID1index1
|
DEBUGVAR toppingID1index1
|
||||||
DEBUGVAR toppingID1index2
|
DEBUGVAR toppingID1index2
|
||||||
DEBUGVAR toppingID1index3
|
DEBUGVAR toppingID1index3
|
||||||
|
|
@ -498,6 +509,7 @@
|
||||||
|
|
||||||
DEBUGVAR toppingID2price2
|
DEBUGVAR toppingID2price2
|
||||||
DEBUGVAR toppingID3price2
|
DEBUGVAR toppingID3price2
|
||||||
|
DEBUGVAR toppingID6price2
|
||||||
|
|
||||||
DEBUGVAR BrewParam
|
DEBUGVAR BrewParam
|
||||||
DEBUGVAR UserSeletedSugar
|
DEBUGVAR UserSeletedSugar
|
||||||
|
|
@ -507,6 +519,17 @@
|
||||||
Else
|
Else
|
||||||
|
|
||||||
|
|
||||||
|
If TOPPING6 = "Topping-Volcano" Then
|
||||||
|
If blend_button_state = "PressForever" Then
|
||||||
|
|
||||||
|
Var showOreoAddEnable = "Enable"
|
||||||
|
Var showText8 = "Invisible"
|
||||||
|
Else
|
||||||
|
Var showOreoAddEnable = "Disable"
|
||||||
|
Var showText8 = "Enable"
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -884,7 +907,7 @@
|
||||||
If TOPPING2 = "shot coffee 1003" Then
|
If TOPPING2 = "shot coffee 1003" Then
|
||||||
|
|
||||||
Var ShotCoffeePremium = "Enable"
|
Var ShotCoffeePremium = "Enable"
|
||||||
Var showShotEnable = "Enable"
|
Var showShotEnable = "Invisible"
|
||||||
|
|
||||||
Var text_price_topping = "(+฿" + toppingID2price2
|
Var text_price_topping = "(+฿" + toppingID2price2
|
||||||
DEBUGVAR TOPPING2
|
DEBUGVAR TOPPING2
|
||||||
|
|
@ -893,7 +916,7 @@
|
||||||
If TOPPING2 = "shot coffee 1007" Then
|
If TOPPING2 = "shot coffee 1007" Then
|
||||||
|
|
||||||
Var ShotCoffeePremium = "Enable"
|
Var ShotCoffeePremium = "Enable"
|
||||||
Var showShotEnable = "Enable"
|
Var showShotEnable = "Invisible"
|
||||||
|
|
||||||
Var text_price_topping = "(+฿" + toppingID2price2
|
Var text_price_topping = "(+฿" + toppingID2price2
|
||||||
DEBUGVAR TOPPING2
|
DEBUGVAR TOPPING2
|
||||||
|
|
@ -902,7 +925,7 @@
|
||||||
If TOPPING2 = "shot coffee 1008" Then
|
If TOPPING2 = "shot coffee 1008" Then
|
||||||
|
|
||||||
Var ShotCoffeePremium = "Enable"
|
Var ShotCoffeePremium = "Enable"
|
||||||
Var showShotEnable = "Enable"
|
Var showShotEnable = "Invisible"
|
||||||
|
|
||||||
Var text_price_topping = "(+฿" + toppingID2price2
|
Var text_price_topping = "(+฿" + toppingID2price2
|
||||||
DEBUGVAR TOPPING2
|
DEBUGVAR TOPPING2
|
||||||
|
|
@ -912,7 +935,7 @@
|
||||||
If TOPPING2 = "add-show-1009" Then
|
If TOPPING2 = "add-show-1009" Then
|
||||||
|
|
||||||
Var ShotCoffeePremium = "Enable"
|
Var ShotCoffeePremium = "Enable"
|
||||||
Var showShotEnable = "Enable"
|
Var showShotEnable = "Invisible"
|
||||||
|
|
||||||
Var text_price_topping = "(+฿" + toppingID2price2
|
Var text_price_topping = "(+฿" + toppingID2price2
|
||||||
DEBUGVAR TOPPING2
|
DEBUGVAR TOPPING2
|
||||||
|
|
@ -921,7 +944,7 @@
|
||||||
If TOPPING2 = "add-show-1101" Then
|
If TOPPING2 = "add-show-1101" Then
|
||||||
|
|
||||||
Var ShotCoffeePremium = "Enable"
|
Var ShotCoffeePremium = "Enable"
|
||||||
Var showShotEnable = "Enable"
|
Var showShotEnable = "Invisible"
|
||||||
|
|
||||||
Var text_price_topping = "(+฿" + toppingID2price2
|
Var text_price_topping = "(+฿" + toppingID2price2
|
||||||
DEBUGVAR TOPPING2
|
DEBUGVAR TOPPING2
|
||||||
|
|
@ -931,7 +954,7 @@
|
||||||
If TOPPING2 = "add-show-1102" Then
|
If TOPPING2 = "add-show-1102" Then
|
||||||
|
|
||||||
Var ShotCoffeePremium = "Enable"
|
Var ShotCoffeePremium = "Enable"
|
||||||
Var showShotEnable = "Enable"
|
Var showShotEnable = "Invisible"
|
||||||
|
|
||||||
Var text_price_topping = "(+฿" + toppingID2price2
|
Var text_price_topping = "(+฿" + toppingID2price2
|
||||||
DEBUGVAR TOPPING2
|
DEBUGVAR TOPPING2
|
||||||
|
|
@ -941,7 +964,7 @@
|
||||||
If TOPPING2 = "add-show-1103" Then
|
If TOPPING2 = "add-show-1103" Then
|
||||||
|
|
||||||
Var ShotCoffeePremium = "Enable"
|
Var ShotCoffeePremium = "Enable"
|
||||||
Var showShotEnable = "Enable"
|
Var showShotEnable = "Invisible"
|
||||||
|
|
||||||
Var text_price_topping = "(+฿" + toppingID2price2
|
Var text_price_topping = "(+฿" + toppingID2price2
|
||||||
DEBUGVAR TOPPING2
|
DEBUGVAR TOPPING2
|
||||||
|
|
@ -950,7 +973,7 @@
|
||||||
If TOPPING2 = "add-show-1104" Then
|
If TOPPING2 = "add-show-1104" Then
|
||||||
|
|
||||||
Var ShotCoffeePremium = "Enable"
|
Var ShotCoffeePremium = "Enable"
|
||||||
Var showShotEnable = "Enable"
|
Var showShotEnable = "Invisible"
|
||||||
|
|
||||||
Var text_price_topping = "(+฿" + toppingID2price2
|
Var text_price_topping = "(+฿" + toppingID2price2
|
||||||
DEBUGVAR TOPPING2
|
DEBUGVAR TOPPING2
|
||||||
|
|
@ -960,7 +983,7 @@
|
||||||
If TOPPING2 = "add-show-1105" Then
|
If TOPPING2 = "add-show-1105" Then
|
||||||
|
|
||||||
Var ShotCoffeePremium = "Enable"
|
Var ShotCoffeePremium = "Enable"
|
||||||
Var showShotEnable = "Enable"
|
Var showShotEnable = "Invisible"
|
||||||
|
|
||||||
Var text_price_topping = "(+฿" + toppingID2price2
|
Var text_price_topping = "(+฿" + toppingID2price2
|
||||||
DEBUGVAR TOPPING2
|
DEBUGVAR TOPPING2
|
||||||
|
|
@ -997,6 +1020,9 @@
|
||||||
Var PriceShowValue = "Free"
|
Var PriceShowValue = "Free"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
DEBUGVAR showShotEnable
|
||||||
|
DEBUGVAR showOreoAddEnable
|
||||||
|
DEBUGVAR ShotCoffeePremium
|
||||||
SAVELOG toppingID2price1
|
SAVELOG toppingID2price1
|
||||||
SAVELOG toppingID2price2
|
SAVELOG toppingID2price2
|
||||||
SAVELOG toppingID2price3
|
SAVELOG toppingID2price3
|
||||||
|
|
@ -1662,6 +1688,441 @@
|
||||||
</Button>
|
</Button>
|
||||||
;- END topping1
|
;- END topping1
|
||||||
</Block>
|
</Block>
|
||||||
|
|
||||||
|
;
|
||||||
|
;
|
||||||
|
;
|
||||||
|
;
|
||||||
|
;
|
||||||
|
;
|
||||||
|
;
|
||||||
|
;
|
||||||
|
;
|
||||||
|
;
|
||||||
|
;
|
||||||
|
;
|
||||||
|
;
|
||||||
|
;
|
||||||
|
;- Begin topping2
|
||||||
|
<Block>
|
||||||
|
|
||||||
|
<Width> 988 </Width>
|
||||||
|
<Height> 156 </Height>
|
||||||
|
<MarginTop> 20 </MarginTop>
|
||||||
|
<State> BGSugarHotHealthy </State>
|
||||||
|
; sugar layout
|
||||||
|
<Image>
|
||||||
|
<State> BGSugarHotHealthy </State>
|
||||||
|
<Filename> Var( DirImage + "/bg_sugar_bank_button.png" )</Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
|
||||||
|
;
|
||||||
|
|
||||||
|
; sugar1
|
||||||
|
<Button>
|
||||||
|
<X> 149 </X>
|
||||||
|
<Y> 77 </Y>
|
||||||
|
<State> SugarState1 </State>
|
||||||
|
<Filename> Var( DirImage + "/bn_hot_sugar1.png" ) </Filename>
|
||||||
|
<FilenamePress> Var( DirImage + "/bp_hot_sugar1.png" ) </FilenamePress>
|
||||||
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
DEBUGVAR SugarState1
|
||||||
|
SAVELOG "SUGAR1"
|
||||||
|
|
||||||
|
If SelectDrinkType = 0 Then
|
||||||
|
SAVELOG "drink type popup"
|
||||||
|
Var high_light_drink_type = "Enable"
|
||||||
|
Else
|
||||||
|
|
||||||
|
If ShiftSugarStep = 1 Then
|
||||||
|
|
||||||
|
Var SugarState1 = "PressForever"
|
||||||
|
Var SugarState2 = "Enable"
|
||||||
|
Var SugarState3 = "Enable"
|
||||||
|
Var SugarState4 = "Enable"
|
||||||
|
Var SugarState5 = "Enable"
|
||||||
|
Var topping1 = toppingID1index1
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Var UserSeletedSugar = 1
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
DEBUGVAR topping1
|
||||||
|
Refresh
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
; sugar2
|
||||||
|
<Button>
|
||||||
|
<X> 352 </X>
|
||||||
|
<Y> 77 </Y>
|
||||||
|
<State> SugarState2 </State>
|
||||||
|
<Filename> Var( DirImage + "/bn_hot_sugar2.png" ) </Filename>
|
||||||
|
<FilenamePress> Var( DirImage + "/bp_hot_sugar2.png" ) </FilenamePress>
|
||||||
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
SAVELOG "SUGAR2"
|
||||||
|
DEBUGVAR SelectDrinkType
|
||||||
|
DEBUGVAR UserSeletedSugar
|
||||||
|
|
||||||
|
If SelectDrinkType = 0 Then
|
||||||
|
SAVELOG "drink type popup"
|
||||||
|
Var high_light_drink_type = "Enable"
|
||||||
|
Else
|
||||||
|
|
||||||
|
If ShiftSugarStep = 1 Then
|
||||||
|
Var SugarState1 = "Enable"
|
||||||
|
Var SugarState2 = "PressForever"
|
||||||
|
Var SugarState3 = "Enable"
|
||||||
|
Var SugarState4 = "Enable"
|
||||||
|
Var SugarState5 = "Enable"
|
||||||
|
Var topping1 = toppingID1index2
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If ShiftSugarStep = 2 Then
|
||||||
|
|
||||||
|
Var SugarState2 = "PressForever"
|
||||||
|
Var SugarState3 = "Enable"
|
||||||
|
Var SugarState4 = "Enable"
|
||||||
|
Var SugarState5 = "Enable"
|
||||||
|
Var topping1 = toppingID1index1
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Var UserSeletedSugar = 1
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
DEBUGVAR topping1
|
||||||
|
Refresh
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
|
||||||
|
; sugar3
|
||||||
|
<Button>
|
||||||
|
<X> 555 </X>
|
||||||
|
<Y> 77 </Y>
|
||||||
|
<State> SugarState3 </State>
|
||||||
|
<Filename> Var( DirImage + "/bn_hot_sugar3.png" ) </Filename>
|
||||||
|
<FilenamePress> Var( DirImage + "/bp_hot_sugar3.png" ) </FilenamePress>
|
||||||
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
SAVELOG "SUGAR3"
|
||||||
|
|
||||||
|
If SelectDrinkType = 0 Then
|
||||||
|
SAVELOG "drink type popup"
|
||||||
|
Var high_light_drink_type = "Enable"
|
||||||
|
Else
|
||||||
|
|
||||||
|
If ShiftSugarStep = 1 Then
|
||||||
|
Var SugarState1 = "Enable"
|
||||||
|
Var SugarState2 = "Enable"
|
||||||
|
Var SugarState3 = "PressForever"
|
||||||
|
Var SugarState4 = "Enable"
|
||||||
|
Var SugarState5 = "Enable"
|
||||||
|
Var topping1 = toppingID1index3
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If ShiftSugarStep = 2 Then
|
||||||
|
Var SugarState2 = "Enable"
|
||||||
|
Var SugarState3 = "PressForever"
|
||||||
|
Var SugarState4 = "Enable"
|
||||||
|
Var SugarState5 = "Enable"
|
||||||
|
Var topping1 = toppingID1index2
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If ShiftSugarStep = 3 Then
|
||||||
|
|
||||||
|
Var SugarState3 = "PressForever"
|
||||||
|
Var SugarState4 = "Enable"
|
||||||
|
Var SugarState5 = "Enable"
|
||||||
|
Var topping1 = toppingID1index1
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Var UserSeletedSugar = 1
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
DEBUGVAR topping1
|
||||||
|
Refresh
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
; sugar4
|
||||||
|
<Button>
|
||||||
|
<X> 758 </X>
|
||||||
|
<Y> 77 </Y>
|
||||||
|
<State> SugarState4 </State>
|
||||||
|
<Filename> Var( DirImage + "/bn_hot_sugar4.png" ) </Filename>
|
||||||
|
<FilenamePress> Var( DirImage + "/bp_hot_sugar4.png" ) </FilenamePress>
|
||||||
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
SAVELOG "SUGAR4"
|
||||||
|
|
||||||
|
If SelectDrinkType = 0 Then
|
||||||
|
SAVELOG "drink type popup"
|
||||||
|
Var high_light_drink_type = "Enable"
|
||||||
|
Else
|
||||||
|
|
||||||
|
If ShiftSugarStep = 1 Then
|
||||||
|
Var SugarState1 = "Enable"
|
||||||
|
Var SugarState2 = "Enable"
|
||||||
|
Var SugarState3 = "Enable"
|
||||||
|
Var SugarState4 = "PressForever"
|
||||||
|
Var SugarState5 = "Enable"
|
||||||
|
Var topping1 = toppingID1index4
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If ShiftSugarStep = 2 Then
|
||||||
|
Var SugarState2 = "Enable"
|
||||||
|
Var SugarState3 = "Enable"
|
||||||
|
Var SugarState4 = "PressForever"
|
||||||
|
Var SugarState5 = "Enable"
|
||||||
|
Var topping1 = toppingID1index3
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If ShiftSugarStep = 3 Then
|
||||||
|
|
||||||
|
Var SugarState3 = "Enable"
|
||||||
|
Var SugarState4 = "PressForever"
|
||||||
|
Var SugarState5 = "Enable"
|
||||||
|
Var topping1 = toppingID1index2
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Var UserSeletedSugar = 1
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
DEBUGVAR topping1
|
||||||
|
Refresh
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
;- END topping2
|
||||||
|
</Block>
|
||||||
|
|
||||||
|
;
|
||||||
|
;
|
||||||
|
;
|
||||||
|
;
|
||||||
|
;
|
||||||
|
;
|
||||||
|
;
|
||||||
|
;
|
||||||
|
;
|
||||||
|
;
|
||||||
|
;
|
||||||
|
;
|
||||||
|
;
|
||||||
|
;
|
||||||
|
;- Begin topping3
|
||||||
|
<Block>
|
||||||
|
|
||||||
|
<Width> 988 </Width>
|
||||||
|
<Height> 156 </Height>
|
||||||
|
<MarginTop> 20 </MarginTop>
|
||||||
|
<State> BGSugarColdHealthy </State>
|
||||||
|
; sugar layout
|
||||||
|
<Image>
|
||||||
|
<State> BGSugarColdHealthy </State>
|
||||||
|
<Filename> Var( DirImage + "/bg_sugar_bank_button.png" )</Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
|
||||||
|
;
|
||||||
|
|
||||||
|
; sugar1
|
||||||
|
<Button>
|
||||||
|
<X> 149 </X>
|
||||||
|
<Y> 77 </Y>
|
||||||
|
<State> SugarState1 </State>
|
||||||
|
<Filename> Var( DirImage + "/bn_cold_sugar1.png" ) </Filename>
|
||||||
|
<FilenamePress> Var( DirImage + "/bp_cold_sugar1.png" ) </FilenamePress>
|
||||||
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
DEBUGVAR SugarState1
|
||||||
|
SAVELOG "SUGAR1"
|
||||||
|
|
||||||
|
If SelectDrinkType = 0 Then
|
||||||
|
SAVELOG "drink type popup"
|
||||||
|
Var high_light_drink_type = "Enable"
|
||||||
|
Else
|
||||||
|
|
||||||
|
If ShiftSugarStep = 1 Then
|
||||||
|
|
||||||
|
Var SugarState1 = "PressForever"
|
||||||
|
Var SugarState2 = "Enable"
|
||||||
|
Var SugarState3 = "Enable"
|
||||||
|
Var SugarState4 = "Enable"
|
||||||
|
Var SugarState5 = "Enable"
|
||||||
|
Var topping1 = toppingID1index1
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Var UserSeletedSugar = 1
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
DEBUGVAR topping1
|
||||||
|
Refresh
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
; sugar2
|
||||||
|
<Button>
|
||||||
|
<X> 352 </X>
|
||||||
|
<Y> 77 </Y>
|
||||||
|
<State> SugarState2 </State>
|
||||||
|
<Filename> Var( DirImage + "/bn_cold_sugar2.png" ) </Filename>
|
||||||
|
<FilenamePress> Var( DirImage + "/bp_cold_sugar2.png" ) </FilenamePress>
|
||||||
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
SAVELOG "SUGAR2"
|
||||||
|
DEBUGVAR SelectDrinkType
|
||||||
|
DEBUGVAR UserSeletedSugar
|
||||||
|
|
||||||
|
If SelectDrinkType = 0 Then
|
||||||
|
SAVELOG "drink type popup"
|
||||||
|
Var high_light_drink_type = "Enable"
|
||||||
|
Else
|
||||||
|
|
||||||
|
If ShiftSugarStep = 1 Then
|
||||||
|
Var SugarState1 = "Enable"
|
||||||
|
Var SugarState2 = "PressForever"
|
||||||
|
Var SugarState3 = "Enable"
|
||||||
|
Var SugarState4 = "Enable"
|
||||||
|
Var SugarState5 = "Enable"
|
||||||
|
Var topping1 = toppingID1index2
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If ShiftSugarStep = 2 Then
|
||||||
|
|
||||||
|
Var SugarState2 = "PressForever"
|
||||||
|
Var SugarState3 = "Enable"
|
||||||
|
Var SugarState4 = "Enable"
|
||||||
|
Var SugarState5 = "Enable"
|
||||||
|
Var topping1 = toppingID1index1
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Var UserSeletedSugar = 1
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
DEBUGVAR topping1
|
||||||
|
Refresh
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
|
||||||
|
; sugar3
|
||||||
|
<Button>
|
||||||
|
<X> 555 </X>
|
||||||
|
<Y> 77 </Y>
|
||||||
|
<State> SugarState3 </State>
|
||||||
|
<Filename> Var( DirImage + "/bn_cold_sugar3.png" ) </Filename>
|
||||||
|
<FilenamePress> Var( DirImage + "/bp_cold_sugar3.png" ) </FilenamePress>
|
||||||
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
SAVELOG "SUGAR3"
|
||||||
|
|
||||||
|
If SelectDrinkType = 0 Then
|
||||||
|
SAVELOG "drink type popup"
|
||||||
|
Var high_light_drink_type = "Enable"
|
||||||
|
Else
|
||||||
|
|
||||||
|
If ShiftSugarStep = 1 Then
|
||||||
|
Var SugarState1 = "Enable"
|
||||||
|
Var SugarState2 = "Enable"
|
||||||
|
Var SugarState3 = "PressForever"
|
||||||
|
Var SugarState4 = "Enable"
|
||||||
|
Var SugarState5 = "Enable"
|
||||||
|
Var topping1 = toppingID1index3
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If ShiftSugarStep = 2 Then
|
||||||
|
Var SugarState2 = "Enable"
|
||||||
|
Var SugarState3 = "PressForever"
|
||||||
|
Var SugarState4 = "Enable"
|
||||||
|
Var SugarState5 = "Enable"
|
||||||
|
Var topping1 = toppingID1index2
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If ShiftSugarStep = 3 Then
|
||||||
|
|
||||||
|
Var SugarState3 = "PressForever"
|
||||||
|
Var SugarState4 = "Enable"
|
||||||
|
Var SugarState5 = "Enable"
|
||||||
|
Var topping1 = toppingID1index1
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Var UserSeletedSugar = 1
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
DEBUGVAR topping1
|
||||||
|
Refresh
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
; sugar4
|
||||||
|
<Button>
|
||||||
|
<X> 758 </X>
|
||||||
|
<Y> 77 </Y>
|
||||||
|
<State> SugarState4 </State>
|
||||||
|
<Filename> Var( DirImage + "/bn_cold_sugar4.png" ) </Filename>
|
||||||
|
<FilenamePress> Var( DirImage + "/bp_cold_sugar4.png" ) </FilenamePress>
|
||||||
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
SAVELOG "SUGAR4"
|
||||||
|
|
||||||
|
If SelectDrinkType = 0 Then
|
||||||
|
SAVELOG "drink type popup"
|
||||||
|
Var high_light_drink_type = "Enable"
|
||||||
|
Else
|
||||||
|
|
||||||
|
If ShiftSugarStep = 1 Then
|
||||||
|
Var SugarState1 = "Enable"
|
||||||
|
Var SugarState2 = "Enable"
|
||||||
|
Var SugarState3 = "Enable"
|
||||||
|
Var SugarState4 = "PressForever"
|
||||||
|
Var SugarState5 = "Enable"
|
||||||
|
Var topping1 = toppingID1index4
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If ShiftSugarStep = 2 Then
|
||||||
|
Var SugarState2 = "Enable"
|
||||||
|
Var SugarState3 = "Enable"
|
||||||
|
Var SugarState4 = "PressForever"
|
||||||
|
Var SugarState5 = "Enable"
|
||||||
|
Var topping1 = toppingID1index3
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If ShiftSugarStep = 3 Then
|
||||||
|
|
||||||
|
Var SugarState3 = "Enable"
|
||||||
|
Var SugarState4 = "PressForever"
|
||||||
|
Var SugarState5 = "Enable"
|
||||||
|
Var topping1 = toppingID1index2
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Var UserSeletedSugar = 1
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
DEBUGVAR topping1
|
||||||
|
Refresh
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
;- END topping2
|
||||||
|
</Block>
|
||||||
|
|
||||||
;
|
;
|
||||||
;
|
;
|
||||||
;
|
;
|
||||||
|
|
@ -1675,7 +2136,7 @@
|
||||||
;-END
|
;-END
|
||||||
;
|
;
|
||||||
;
|
;
|
||||||
;
|
; Extra topping.
|
||||||
;
|
;
|
||||||
;
|
;
|
||||||
;
|
;
|
||||||
|
|
@ -1707,18 +2168,18 @@
|
||||||
<Row1>
|
<Row1>
|
||||||
<Width> 986 </Width>
|
<Width> 986 </Width>
|
||||||
<Height> "auto" </Height>
|
<Height> "auto" </Height>
|
||||||
<State> "Enable" </State>
|
<State> ShotCoffeePremium </State>
|
||||||
;
|
;
|
||||||
<Image>
|
<Image>
|
||||||
<X> 0 </X>
|
<X> 0 </X>
|
||||||
<Y> 0 </Y>
|
<Y> 0 </Y>
|
||||||
<Filename> "ROOT/taobin_project/image/topping2/bg_top_b3shot.png" </Filename>
|
<Filename> Var( DirImage + "/bg_top_b3shot.png") </Filename>
|
||||||
</Image>
|
</Image>
|
||||||
|
|
||||||
<Button>
|
<Button>
|
||||||
<X> 40 </X>
|
<X> 40 </X>
|
||||||
<Y> 5 </Y>
|
<Y> 5 </Y>
|
||||||
<State> showShotEnable </State>
|
<State> ShotCoffeePremium </State>
|
||||||
<Mode> "No" </Mode>
|
<Mode> "No" </Mode>
|
||||||
<Filename> "ROOT/taobin_project/image/topping2/bn_add_shot2.png" </Filename>
|
<Filename> "ROOT/taobin_project/image/topping2/bn_add_shot2.png" </Filename>
|
||||||
<FilenamePress> "ROOT/taobin_project/image/topping2/bp_add_shot2.png" </FilenamePress>
|
<FilenamePress> "ROOT/taobin_project/image/topping2/bp_add_shot2.png" </FilenamePress>
|
||||||
|
|
@ -1727,14 +2188,14 @@
|
||||||
<EventClick>
|
<EventClick>
|
||||||
SAVELOG "premium shot press"
|
SAVELOG "premium shot press"
|
||||||
|
|
||||||
If showShotEnable = "Press" Then
|
If ShotCoffeePremium = "Press" Then
|
||||||
Var showShotEnable = "Enable"
|
Var ShotCoffeePremium = "Enable"
|
||||||
Var PriceDrinkTmp = PriceDrinkTmp - toppingID2price2
|
Var PriceDrinkTmp = PriceDrinkTmp - toppingID2price2
|
||||||
Var topping2 = toppingID2index1
|
Var topping2 = toppingID2index1
|
||||||
Var DisableUsingCode = "false"
|
Var DisableUsingCode = "false"
|
||||||
SAVELOG "Deselect add premium shot"
|
SAVELOG "Deselect add premium shot"
|
||||||
Else
|
Else
|
||||||
Var showShotEnable = "Press"
|
Var ShotCoffeePremium = "Press"
|
||||||
Var PriceDrinkTmp = PriceDrinkTmp + toppingID2price2
|
Var PriceDrinkTmp = PriceDrinkTmp + toppingID2price2
|
||||||
Var topping2 = toppingID2index2
|
Var topping2 = toppingID2index2
|
||||||
Var DisableUsingCode = "true"
|
Var DisableUsingCode = "true"
|
||||||
|
|
@ -1755,7 +2216,7 @@
|
||||||
<Button>
|
<Button>
|
||||||
<X> 896 </X>
|
<X> 896 </X>
|
||||||
<Y> 14 </Y>
|
<Y> 14 </Y>
|
||||||
<State> showShotEnable </State>
|
<State> ShotCoffeePremium </State>
|
||||||
<Mode> "No" </Mode>
|
<Mode> "No" </Mode>
|
||||||
<Filename> Var( DirImage + "/cb_notcheck.png" ) </Filename>
|
<Filename> Var( DirImage + "/cb_notcheck.png" ) </Filename>
|
||||||
<FilenamePress> Var( DirImage + "/cb_checked.png" ) </FilenamePress>
|
<FilenamePress> Var( DirImage + "/cb_checked.png" ) </FilenamePress>
|
||||||
|
|
@ -1764,14 +2225,14 @@
|
||||||
<EventClick>
|
<EventClick>
|
||||||
SAVELOG "premium shot press"
|
SAVELOG "premium shot press"
|
||||||
|
|
||||||
If showShotEnable = "Press" Then
|
If ShotCoffeePremium = "Press" Then
|
||||||
Var showShotEnable = "Enable"
|
Var ShotCoffeePremium = "Enable"
|
||||||
Var PriceDrinkTmp = PriceDrinkTmp - toppingID2price2
|
Var PriceDrinkTmp = PriceDrinkTmp - toppingID2price2
|
||||||
Var topping2 = toppingID2index1
|
Var topping2 = toppingID2index1
|
||||||
Var DisableUsingCode = "false"
|
Var DisableUsingCode = "false"
|
||||||
SAVELOG "Deselect add premium shot"
|
SAVELOG "Deselect add premium shot"
|
||||||
Else
|
Else
|
||||||
Var showShotEnable = "Press"
|
Var ShotCoffeePremium = "Press"
|
||||||
Var PriceDrinkTmp = PriceDrinkTmp + toppingID2price2
|
Var PriceDrinkTmp = PriceDrinkTmp + toppingID2price2
|
||||||
Var topping2 = toppingID2index2
|
Var topping2 = toppingID2index2
|
||||||
Var DisableUsingCode = "true"
|
Var DisableUsingCode = "true"
|
||||||
|
|
@ -1793,10 +2254,10 @@
|
||||||
<X> topping_shot_price_x </X>
|
<X> topping_shot_price_x </X>
|
||||||
<Y> 2 </Y>
|
<Y> 2 </Y>
|
||||||
<Font> KanitRegularTTF </Font>
|
<Font> KanitRegularTTF </Font>
|
||||||
<State> "Enable"</State>
|
<State> "ShotCoffeePremium"</State>
|
||||||
<Size> 36 </Size>
|
<Size> 36 </Size>
|
||||||
<Color> 0x84776F </Color>
|
<Color> 0x84776F </Color>
|
||||||
<Value> "(+฿55)" </Value>
|
<Value> text_price_topping </Value>
|
||||||
</Text>
|
</Text>
|
||||||
|
|
||||||
</Row1>
|
</Row1>
|
||||||
|
|
@ -1804,16 +2265,16 @@
|
||||||
;
|
;
|
||||||
;
|
;
|
||||||
;
|
;
|
||||||
;-BEGIN shot layout
|
;-BEGIN shot layout "showShotEnable"
|
||||||
<Row1>
|
<Row1>
|
||||||
<Width> 986 </Width>
|
<Width> 986 </Width>
|
||||||
<Height> "auto" </Height>
|
<Height> "auto" </Height>
|
||||||
;<State> "Enable" </State>
|
<State> showShotEnable </State>
|
||||||
;
|
;
|
||||||
<Image>
|
<Image>
|
||||||
<X> 0 </X>
|
<X> 0 </X>
|
||||||
<Y> 0 </Y>
|
<Y> 0 </Y>
|
||||||
<Filename> "ROOT/taobin_project/image/topping2/bg_top_oreo.png" </Filename>
|
<Filename> Var( DirImage + "/bg_top_shot.png") </Filename>
|
||||||
</Image>
|
</Image>
|
||||||
;
|
;
|
||||||
<Button>
|
<Button>
|
||||||
|
|
@ -1835,12 +2296,7 @@
|
||||||
Var showShotEnable = "Press"
|
Var showShotEnable = "Press"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
If new_layout = "true" Then
|
Function 2
|
||||||
Function 2
|
|
||||||
Else
|
|
||||||
Function 1
|
|
||||||
EndIf
|
|
||||||
|
|
||||||
|
|
||||||
Refresh
|
Refresh
|
||||||
|
|
||||||
|
|
@ -1872,12 +2328,7 @@
|
||||||
Var showShotEnable = "Press"
|
Var showShotEnable = "Press"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
If new_layout = "true" Then
|
Function 2
|
||||||
Function 2
|
|
||||||
Else
|
|
||||||
Function 1
|
|
||||||
EndIf
|
|
||||||
|
|
||||||
|
|
||||||
Refresh
|
Refresh
|
||||||
|
|
||||||
|
|
@ -1904,12 +2355,12 @@
|
||||||
<Row1>
|
<Row1>
|
||||||
<Width> 986 </Width>
|
<Width> 986 </Width>
|
||||||
<Height> "auto" </Height>
|
<Height> "auto" </Height>
|
||||||
<State> "Enable" </State>
|
<State> showOreoAddEnable </State>
|
||||||
;
|
;
|
||||||
<Image>
|
<Image>
|
||||||
<X> 0 </X>
|
<X> 0 </X>
|
||||||
<Y> 0 </Y>
|
<Y> 0 </Y>
|
||||||
<Filename> "ROOT/taobin_project/image/topping2/bg_top_oreo.png" </Filename>
|
<Filename> Var( DirImage + "/bg_top_oreo.png") </Filename>
|
||||||
</Image>
|
</Image>
|
||||||
;
|
;
|
||||||
<Button>
|
<Button>
|
||||||
|
|
@ -1977,10 +2428,10 @@
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
<Image>
|
<Image>
|
||||||
<State> showText4 </State>
|
<State> showText8 </State>
|
||||||
<X> 602 </X>
|
<X> 611 </X>
|
||||||
<Y> 4 </Y>
|
<Y> 14 </Y>
|
||||||
<Filename> Var( DirImage + "/text4.png" ) </Filename>
|
<Filename> Var( DirImage + "/text8.png" ) </Filename>
|
||||||
</Image>
|
</Image>
|
||||||
|
|
||||||
</Row1>
|
</Row1>
|
||||||
|
|
@ -2772,6 +3223,7 @@
|
||||||
Var TOPPING_PRICE = TOPPING_PRICE + toppingID2price2
|
Var TOPPING_PRICE = TOPPING_PRICE + toppingID2price2
|
||||||
|
|
||||||
Var topping2 = toppingID2index2
|
Var topping2 = toppingID2index2
|
||||||
|
|
||||||
Var DisableUsingCode = "true"
|
Var DisableUsingCode = "true"
|
||||||
|
|
||||||
Var showText7 = "Enable"
|
Var showText7 = "Enable"
|
||||||
|
|
@ -2792,6 +3244,23 @@
|
||||||
|
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
DEBUGVAR showOreoAddEnable
|
||||||
|
|
||||||
|
If showOreoAddEnable = "Press" Then
|
||||||
|
Var TOPPING_PRICE = TOPPING_PRICE + toppingID6price2
|
||||||
|
Var topping6 = toppingID6index2
|
||||||
|
Var DisableUsingCode = "true"
|
||||||
|
Else
|
||||||
|
Var PriceDrinkTmp = PriceDrinkNoTop
|
||||||
|
|
||||||
|
Var topping6 = toppingID6index1
|
||||||
|
|
||||||
|
Var DisableUsingCode = "false"
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
DEBUGVAR SelectDrinkType
|
DEBUGVAR SelectDrinkType
|
||||||
|
|
||||||
DEBUGVAR showShotEnable
|
DEBUGVAR showShotEnable
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue