This commit is contained in:
miggaze 2020-12-14 13:49:07 +07:00
commit 8bcbdb4f6c
108 changed files with 3721 additions and 579 deletions

View file

@ -59,6 +59,8 @@
Else
Var show_eng = "true"
EndIf
Open CurrentXMLFileName2
</EventClick>
</Button>
@ -121,15 +123,28 @@
<X> 696 </X>
<Y> 395 </Y>
<State> Menu5Selected </State>
<Filename> Var( DirImage + "/bn_fruit.png") </Filename>
<FilenamePress> Var( DirImage + "/bp_fruit.png") </FilenamePress>
<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_catalog_choose_drink5.xml"
Open "ROOT/taobin_project/xml/page_catalog_choose_drink7.xml"
</EventClick>
</Button>
;<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_catalog_choose_drink5.xml"
;</EventClick>
;</Button>
<Button>
<X> 847 </X>

View file

@ -1,5 +1,5 @@
if menu_count >= 16:
scroll_height = 1650
scroll_height = 1670
else:
scroll_height = 1400

View file

@ -11,7 +11,9 @@
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/topview_button_back_main.xml"
Var taobin_version = "1.00"
Var sub_profile = "whey"
Var taobin_version = "1.05"
; 1.00 is
; On open
Var menu_back_to_main = "ROOT/taobin_project/xml/page_back_to_main.xml"
@ -60,15 +62,16 @@
Var TestLoopSuccess = 0
Var TestLoopFailed = 0
Var IgnoreNetCore = "true"
Var IgnoreNetCore = "false"
</EventOpen>
<Timeout> 800 </Timeout>
<Timeout> 1000 </Timeout>
<EventTimeout>
If IgnoreNetCore = "true" Then
Else
If NetworkStatus = "DOWN" Then
Open "/ROOT/xml/outservice.xml"
EndIf
@ -89,6 +92,13 @@
Open "ROOT/taobin_project/xml/page_show_error.xml"
EndIf
If MachineStage = "remove-cup" Then
Open "ROOT/taobin_project/xml/page_remove_cup.xml"
EndIf
SAVELOG MachineStage
@ -242,6 +252,7 @@
<Volume> SoundVolume </Volume>
<EventClick>
Open "//mnt/sdcard/coffeevending/taobin_project/xml/vending_info.xml"
;Open "//mnt/sdcard/coffeevending/taobin_project/xml/page_remove_cup.xml"
</EventClick>
</Button>

View file

@ -119,7 +119,7 @@
</EventActionError>
<Timeout> 600 </Timeout>
<Timeout> 1000 </Timeout>
<EventTimeout>
Var Timeout = Timeout + 1
@ -439,19 +439,35 @@
If StepVideo = 7 Then
Var videoID = VideoID7
EndIf
If StepVideo = 8 Then
Var videoID = VideoID8
EndIf
If StepVideo = 9 Then
Var videoID = VideoID9
EndIf
SAVELOG videoID
If videoID = 0 Then
Else
If videoID = "---" Then
Var VideoPlayFile = VideoPath
Var VideoPlayFile = VideoPlayFile + VideoFileBegin
Var VideoPlayFile = VideoPlayFile + videoID
Var VideoPlayFile = VideoPlayFile + VideoFileEnd
Else
SAVELOG VideoPlayFile
Var VideoPlayFile = VideoPath
Var VideoPlayFile = VideoPlayFile + VideoFileBegin
Var VideoPlayFile = VideoPlayFile + videoID
Var VideoPlayFile = VideoPlayFile + VideoFileEnd
Var PictureFile = PicturePath
Var PictureFile = PictureFile + PictureBegin
Var PictureFile = PictureFile + videoID
Var PictureFile = PictureFile + PictureEnd
SAVELOG VideoPlayFile
SAVELOG PictureFile
EndIf
EndIf
EndIf
EndIf
@ -522,11 +538,18 @@
;<Image>
;<X> 140 </X>
;<Y> 1124 </Y>
;<Filename> "ROOT/taobin_project/image/page_doing/text2.png" </Filename>
;</Image>
<Image>
<X> 60 </X>
<Y> 1290 </Y>
<Filename> PictureFile</Filename>
</Image>
<Image>
<X> 60 </X>
<Y> 1649 </Y>
<Filename> BottomText </Filename>
</Image>
;
@ -560,80 +583,80 @@
;
<Text>
<X> 0 </X>
<Y> 1880 </Y>
<Size> 30 </Size>
<Align> Center </Align>
<Width> 1080 </Width>
<Font> RobotoBlack </Font>
<Color> 0x513C2F </Color>
<Value> MachineStage </Value>
</Text>
;<Text>
;<X> 0 </X>
;<Y> 1880 </Y>
;<Size> 30 </Size>
;<Align> Center </Align>
;<Width> 1080 </Width>
;<Font> KanitThinTTF </Font>
;<Color> 0x513C2F </Color>
;<Value> MachineStage </Value>
;</Text>
<Button>
<X> 0 </X>
<Y> 1860 </Y>
<Width> 200 </Width>
<Height> 50 </Height>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var countClick = countClick + 1
If countClick = 3 Then
EndIf
;<Button>
;<X> 0 </X>
;<Y> 1860 </Y>
;<Width> 200 </Width>
;<Height> 50 </Height>
;<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
;<Volume> SoundVolume </Volume>
;<EventClick>
; Var countClick = countClick + 1
; If countClick = 3 Then
;
; EndIf
;
; If countClick = 5 Then
; Var countClick = 0
; MainMenu
; EndIf
; Refresh
;</EventClick>
;</Button>
If countClick = 5 Then
Var countClick = 0
MainMenu
EndIf
Refresh
</EventClick>
</Button>
<Button>
<X> 870 </X>
<Y> 1860 </Y>
<Width> 200 </Width>
<Height> 50 </Height>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var countClick2 = countClick2 + 1
If countClick2 = 3 Then
EndIf
If countClick2 = 5 Then
Var countClick2 = 0
Var HaveCup = "true"
Var MachineStage = "drink-success"
EndIf
Refresh
</EventClick>
</Button>
<Text>
<X> 0 </X>
<Y> 1886 </Y>
<Size> 20 </Size>
<Width> 1080</Width>
<Align> Start </Align>
<Font> RobotoBlack </Font>
<Color> 0x513C2F </Color>
<Value> countClick </Value>
</Text>
<Text>
<X> 0 </X>
<Y> 1886 </Y>
<Size> 20 </Size>
<Width> 1080</Width>
<Align> end </Align>
<Font> RobotoBlack </Font>
<Color> 0x513C2F </Color>
<Value> countClick2 </Value>
</Text>
;<Button>
;<X> 870 </X>
;<Y> 1860 </Y>
;<Width> 200 </Width>
;<Height> 50 </Height>
;<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
;<Volume> SoundVolume </Volume>
;<EventClick>
; Var countClick2 = countClick2 + 1
; If countClick2 = 3 Then
;
; EndIf
;
; If countClick2 = 5 Then
; Var countClick2 = 0
; Var HaveCup = "true"
; Var MachineStage = "drink-success"
; EndIf
; Refresh
;</EventClick>
;</Button>
;
;<Text>
;<X> 0 </X>
;<Y> 1886 </Y>
;<Size> 20 </Size>
;<Width> 1080</Width>
;<Align> Start </Align>
;<Font> KanitThinTTF </Font>
;<Color> 0x513C2F </Color>
;<Value> countClick </Value>
;</Text>
;<Text>
;<X> 0 </X>
;<Y> 1886 </Y>
;<Size> 20 </Size>
;<Width> 1080</Width>
;<Align> end </Align>
;<Font> KanitThinTTF </Font>
;<Color> 0x513C2F </Color>
;<Value> countClick2 </Value>
;</Text>
</Popup>

View file

@ -181,18 +181,31 @@
; 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_catalog_choose_drink5.xml"
;</EventClick>
;</Button>
<Button>
<X> 205 </X>
<Y> 1533 </Y>
<Filename> Var(DirImage + "/bn_fruit.png") </Filename>
<FilenamePress> Var(DirImage + "/bp_fruit.png") </FilenamePress>
<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_catalog_choose_drink5.xml"
Open "ROOT/taobin_project/xml/page_catalog_choose_drink7.xml"
</EventClick>
</Button>
<Button>
<X> 579 </X>
<Y> 1533 </Y>

View file

@ -104,6 +104,8 @@
Else
Var show_eng = "true"
EndIf
Open CurrentXMLFileName2
</EventClick>
</Button>
@ -166,15 +168,28 @@
<X> 696 </X>
<Y> 395 </Y>
<State> Menu5Selected </State>
<Filename> Var( DirImage + "/bn_fruit.png") </Filename>
<FilenamePress> Var( DirImage + "/bp_fruit.png") </FilenamePress>
<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_catalog_choose_drink5.xml"
Open "ROOT/taobin_project/xml/page_catalog_choose_drink7.xml"
</EventClick>
</Button>
;<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_catalog_choose_drink5.xml"
;</EventClick>
;</Button>
<Button>
<X> 847 </X>
@ -195,7 +210,7 @@
<Y> 497 </Y>
<Width> 1080 </Width>
<Height> 1500 </Height>
<ScrollHeight> 1650 </ScrollHeight>
<ScrollHeight> 1670 </ScrollHeight>
<Scroll> "Vertical" </Scroll>
; button i=1 11-99-01-0001
<Button>

View file

@ -8,6 +8,7 @@
product_code = []
product_code.append('11-99-01-0001')
product_code.append('11-99-01-0101')
product_code.append('11-99-01-0002')
product_code.append('11-99-01-0003')

File diff suppressed because it is too large Load diff

View file

@ -102,6 +102,8 @@
Else
Var show_eng = "true"
EndIf
Open CurrentXMLFileName2
</EventClick>
</Button>
@ -164,15 +166,28 @@
<X> 696 </X>
<Y> 395 </Y>
<State> Menu5Selected </State>
<Filename> Var( DirImage + "/bn_fruit.png") </Filename>
<FilenamePress> Var( DirImage + "/bp_fruit.png") </FilenamePress>
<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_catalog_choose_drink5.xml"
Open "ROOT/taobin_project/xml/page_catalog_choose_drink7.xml"
</EventClick>
</Button>
;<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_catalog_choose_drink5.xml"
;</EventClick>
;</Button>
<Button>
<X> 847 </X>
@ -194,7 +209,7 @@
<Y> 497 </Y>
<Width> 1080 </Width>
<Height> 1500 </Height>
<ScrollHeight> 1650 </ScrollHeight>
<ScrollHeight> 1670 </ScrollHeight>
<Scroll> "Vertical" </Scroll>
; button i=1 11-99-01-0017
<Button>

View file

@ -102,6 +102,8 @@
Else
Var show_eng = "true"
EndIf
Open CurrentXMLFileName2
</EventClick>
</Button>
@ -164,15 +166,28 @@
<X> 696 </X>
<Y> 395 </Y>
<State> Menu5Selected </State>
<Filename> Var( DirImage + "/bn_fruit.png") </Filename>
<FilenamePress> Var( DirImage + "/bp_fruit.png") </FilenamePress>
<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_catalog_choose_drink5.xml"
Open "ROOT/taobin_project/xml/page_catalog_choose_drink7.xml"
</EventClick>
</Button>
;<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_catalog_choose_drink5.xml"
;</EventClick>
;</Button>
<Button>
<X> 847 </X>

View file

@ -103,6 +103,8 @@
Else
Var show_eng = "true"
EndIf
Open CurrentXMLFileName2
</EventClick>
</Button>
@ -165,15 +167,28 @@
<X> 696 </X>
<Y> 395 </Y>
<State> Menu5Selected </State>
<Filename> Var( DirImage + "/bn_fruit.png") </Filename>
<FilenamePress> Var( DirImage + "/bp_fruit.png") </FilenamePress>
<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_catalog_choose_drink5.xml"
Open "ROOT/taobin_project/xml/page_catalog_choose_drink7.xml"
</EventClick>
</Button>
;<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_catalog_choose_drink5.xml"
;</EventClick>
;</Button>
<Button>
<X> 847 </X>

View file

@ -8,6 +8,8 @@
product_code = []
product_code.append('11-99-02-0033')
product_code.append('11-99-02-0051')
#product_code.append('11-99-02-0045')
#product_code.append('11-99-02-0046')
product_code.append('11-99-02-0036')
product_code.append('11-99-02-0037')
@ -19,10 +21,20 @@
product_code.append('11-99-02-0040')
product_code.append('11-99-02-0041')
product_code.append('11-99-02-0042')
product_code.append('11-99-01-0027')
product_code.append('11-99-02-0027')
product_code.append('11-99-02-0030')
product_code.append('11-99-02-0031')
product_code.append('11-99-02-0032')
product_code.append('11-99-02-0028')
product_code.append('11-99-02-0029')
product_code.append('11-99-01-0042')
product_code.append('11-99-02-0043')
product_code.append('11-99-02-0044')
product_code.append('11-99-02-0045')
product_code.append('11-99-01-0045')
menu_count = len( product_code)

View file

@ -102,6 +102,8 @@
Else
Var show_eng = "true"
EndIf
Open CurrentXMLFileName2
</EventClick>
</Button>
@ -164,15 +166,28 @@
<X> 696 </X>
<Y> 395 </Y>
<State> Menu5Selected </State>
<Filename> Var( DirImage + "/bn_fruit.png") </Filename>
<FilenamePress> Var( DirImage + "/bp_fruit.png") </FilenamePress>
<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_catalog_choose_drink5.xml"
Open "ROOT/taobin_project/xml/page_catalog_choose_drink7.xml"
</EventClick>
</Button>
;<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_catalog_choose_drink5.xml"
;</EventClick>
;</Button>
<Button>
<X> 847 </X>
@ -197,7 +212,7 @@
<Y> 497 </Y>
<Width> 1080 </Width>
<Height> 1500 </Height>
<ScrollHeight> 1400 </ScrollHeight>
<ScrollHeight> 1670 </ScrollHeight>
<Scroll> "Vertical" </Scroll>
; button i=1 11-99-02-0033
<Button>
@ -429,33 +444,194 @@
Open "ROOT/taobin_project/xml/page_topping_alter.xml"
</EventOnClick>
</Button>
; button i=11 11-99-02-0042
; button i=11 11-99-01-0027
<Button>
<X> 558 </X>
<Y> 676 </Y>
<State> $11-99-02-0042.Button </State>
<Filename> Var( "ROOT/taobin_project/image/page_drink/" + $11-99-02-0042.image ) </Filename>
<FilenamePress> Var( "ROOT/taobin_project/image/page_drink_press/" + $11-99-02-0042.image ) " </FilenamePress>
<FilenameDisable> Var( "ROOT/taobin_project/image/page_drink_disable/" + $11-99-02-0042.image ) " </FilenameDisable>
<State> $11-99-01-0027.Button </State>
<Filename> Var( "ROOT/taobin_project/image/page_drink/" + $11-99-01-0027.image ) </Filename>
<FilenamePress> Var( "ROOT/taobin_project/image/page_drink_press/" + $11-99-01-0027.image ) " </FilenamePress>
<FilenameDisable> Var( "ROOT/taobin_project/image/page_drink_disable/" + $11-99-01-0027.image ) " </FilenameDisable>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var SelectDrink = "11-99-02-0042"
Var NameDrink = $11-99-02-0042.NameE
Var NameDrinkTH = $11-99-02-0042.Name
Var DrinkDescriptionTH = $11-99-02-0042.description
Var DrinkDescription = $11-99-02-0042.descriptionE
Var PriceDrink = $11-99-02-0042.Price
Var PictureDrink = "ROOT/taobin_project/image/page_drink_select/" + $11-99-02-0042.image
Var SelectDrink = "11-99-01-0027"
Var NameDrink = $11-99-01-0027.NameE
Var NameDrinkTH = $11-99-01-0027.Name
Var DrinkDescriptionTH = $11-99-01-0027.description
Var DrinkDescription = $11-99-01-0027.descriptionE
Var PriceDrink = $11-99-01-0027.Price
Var PictureDrink = "ROOT/taobin_project/image/page_drink_select/" + $11-99-01-0027.image
Topping "Load" SelectDrink
Var PriceShowValue = charOfBaht + PriceDrink
Open "ROOT/taobin_project/xml/page_topping_alter.xml"
</EventOnClick>
</Button>
; button i=12 11-99-02-0043
; button i=12 11-99-02-0027
<Button>
<X> 815 </X>
<Y> 676 </Y>
<State> $11-99-02-0027.Button </State>
<Filename> Var( "ROOT/taobin_project/image/page_drink/" + $11-99-02-0027.image ) </Filename>
<FilenamePress> Var( "ROOT/taobin_project/image/page_drink_press/" + $11-99-02-0027.image ) " </FilenamePress>
<FilenameDisable> Var( "ROOT/taobin_project/image/page_drink_disable/" + $11-99-02-0027.image ) " </FilenameDisable>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var SelectDrink = "11-99-02-0027"
Var NameDrink = $11-99-02-0027.NameE
Var NameDrinkTH = $11-99-02-0027.Name
Var DrinkDescriptionTH = $11-99-02-0027.description
Var DrinkDescription = $11-99-02-0027.descriptionE
Var PriceDrink = $11-99-02-0027.Price
Var PictureDrink = "ROOT/taobin_project/image/page_drink_select/" + $11-99-02-0027.image
Topping "Load" SelectDrink
Var PriceShowValue = charOfBaht + PriceDrink
Open "ROOT/taobin_project/xml/page_topping_alter.xml"
</EventOnClick>
</Button>
; button i=13 11-99-02-0030
<Button>
<X> 44 </X>
<Y> 1004 </Y>
<State> $11-99-02-0030.Button </State>
<Filename> Var( "ROOT/taobin_project/image/page_drink/" + $11-99-02-0030.image ) </Filename>
<FilenamePress> Var( "ROOT/taobin_project/image/page_drink_press/" + $11-99-02-0030.image ) " </FilenamePress>
<FilenameDisable> Var( "ROOT/taobin_project/image/page_drink_disable/" + $11-99-02-0030.image ) " </FilenameDisable>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var SelectDrink = "11-99-02-0030"
Var NameDrink = $11-99-02-0030.NameE
Var NameDrinkTH = $11-99-02-0030.Name
Var DrinkDescriptionTH = $11-99-02-0030.description
Var DrinkDescription = $11-99-02-0030.descriptionE
Var PriceDrink = $11-99-02-0030.Price
Var PictureDrink = "ROOT/taobin_project/image/page_drink_select/" + $11-99-02-0030.image
Topping "Load" SelectDrink
Var PriceShowValue = charOfBaht + PriceDrink
Open "ROOT/taobin_project/xml/page_topping_alter.xml"
</EventOnClick>
</Button>
; button i=14 11-99-02-0031
<Button>
<X> 301 </X>
<Y> 1004 </Y>
<State> $11-99-02-0031.Button </State>
<Filename> Var( "ROOT/taobin_project/image/page_drink/" + $11-99-02-0031.image ) </Filename>
<FilenamePress> Var( "ROOT/taobin_project/image/page_drink_press/" + $11-99-02-0031.image ) " </FilenamePress>
<FilenameDisable> Var( "ROOT/taobin_project/image/page_drink_disable/" + $11-99-02-0031.image ) " </FilenameDisable>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var SelectDrink = "11-99-02-0031"
Var NameDrink = $11-99-02-0031.NameE
Var NameDrinkTH = $11-99-02-0031.Name
Var DrinkDescriptionTH = $11-99-02-0031.description
Var DrinkDescription = $11-99-02-0031.descriptionE
Var PriceDrink = $11-99-02-0031.Price
Var PictureDrink = "ROOT/taobin_project/image/page_drink_select/" + $11-99-02-0031.image
Topping "Load" SelectDrink
Var PriceShowValue = charOfBaht + PriceDrink
Open "ROOT/taobin_project/xml/page_topping_alter.xml"
</EventOnClick>
</Button>
; button i=15 11-99-02-0032
<Button>
<X> 558 </X>
<Y> 1004 </Y>
<State> $11-99-02-0032.Button </State>
<Filename> Var( "ROOT/taobin_project/image/page_drink/" + $11-99-02-0032.image ) </Filename>
<FilenamePress> Var( "ROOT/taobin_project/image/page_drink_press/" + $11-99-02-0032.image ) " </FilenamePress>
<FilenameDisable> Var( "ROOT/taobin_project/image/page_drink_disable/" + $11-99-02-0032.image ) " </FilenameDisable>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var SelectDrink = "11-99-02-0032"
Var NameDrink = $11-99-02-0032.NameE
Var NameDrinkTH = $11-99-02-0032.Name
Var DrinkDescriptionTH = $11-99-02-0032.description
Var DrinkDescription = $11-99-02-0032.descriptionE
Var PriceDrink = $11-99-02-0032.Price
Var PictureDrink = "ROOT/taobin_project/image/page_drink_select/" + $11-99-02-0032.image
Topping "Load" SelectDrink
Var PriceShowValue = charOfBaht + PriceDrink
Open "ROOT/taobin_project/xml/page_topping_alter.xml"
</EventOnClick>
</Button>
; button i=16 11-99-02-0028
<Button>
<X> 815 </X>
<Y> 1004 </Y>
<State> $11-99-02-0028.Button </State>
<Filename> Var( "ROOT/taobin_project/image/page_drink/" + $11-99-02-0028.image ) </Filename>
<FilenamePress> Var( "ROOT/taobin_project/image/page_drink_press/" + $11-99-02-0028.image ) " </FilenamePress>
<FilenameDisable> Var( "ROOT/taobin_project/image/page_drink_disable/" + $11-99-02-0028.image ) " </FilenameDisable>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var SelectDrink = "11-99-02-0028"
Var NameDrink = $11-99-02-0028.NameE
Var NameDrinkTH = $11-99-02-0028.Name
Var DrinkDescriptionTH = $11-99-02-0028.description
Var DrinkDescription = $11-99-02-0028.descriptionE
Var PriceDrink = $11-99-02-0028.Price
Var PictureDrink = "ROOT/taobin_project/image/page_drink_select/" + $11-99-02-0028.image
Topping "Load" SelectDrink
Var PriceShowValue = charOfBaht + PriceDrink
Open "ROOT/taobin_project/xml/page_topping_alter.xml"
</EventOnClick>
</Button>
; button i=17 11-99-02-0029
<Button>
<X> 44 </X>
<Y> 1332 </Y>
<State> $11-99-02-0029.Button </State>
<Filename> Var( "ROOT/taobin_project/image/page_drink/" + $11-99-02-0029.image ) </Filename>
<FilenamePress> Var( "ROOT/taobin_project/image/page_drink_press/" + $11-99-02-0029.image ) " </FilenamePress>
<FilenameDisable> Var( "ROOT/taobin_project/image/page_drink_disable/" + $11-99-02-0029.image ) " </FilenameDisable>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var SelectDrink = "11-99-02-0029"
Var NameDrink = $11-99-02-0029.NameE
Var NameDrinkTH = $11-99-02-0029.Name
Var DrinkDescriptionTH = $11-99-02-0029.description
Var DrinkDescription = $11-99-02-0029.descriptionE
Var PriceDrink = $11-99-02-0029.Price
Var PictureDrink = "ROOT/taobin_project/image/page_drink_select/" + $11-99-02-0029.image
Topping "Load" SelectDrink
Var PriceShowValue = charOfBaht + PriceDrink
Open "ROOT/taobin_project/xml/page_topping_alter.xml"
</EventOnClick>
</Button>
; button i=18 11-99-01-0042
<Button>
<X> 301 </X>
<Y> 1332 </Y>
<State> $11-99-01-0042.Button </State>
<Filename> Var( "ROOT/taobin_project/image/page_drink/" + $11-99-01-0042.image ) </Filename>
<FilenamePress> Var( "ROOT/taobin_project/image/page_drink_press/" + $11-99-01-0042.image ) " </FilenamePress>
<FilenameDisable> Var( "ROOT/taobin_project/image/page_drink_disable/" + $11-99-01-0042.image ) " </FilenameDisable>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var SelectDrink = "11-99-01-0042"
Var NameDrink = $11-99-01-0042.NameE
Var NameDrinkTH = $11-99-01-0042.Name
Var DrinkDescriptionTH = $11-99-01-0042.description
Var DrinkDescription = $11-99-01-0042.descriptionE
Var PriceDrink = $11-99-01-0042.Price
Var PictureDrink = "ROOT/taobin_project/image/page_drink_select/" + $11-99-01-0042.image
Topping "Load" SelectDrink
Var PriceShowValue = charOfBaht + PriceDrink
Open "ROOT/taobin_project/xml/page_topping_alter.xml"
</EventOnClick>
</Button>
; button i=19 11-99-02-0043
<Button>
<X> 558 </X>
<Y> 1332 </Y>
<State> $11-99-02-0043.Button </State>
<Filename> Var( "ROOT/taobin_project/image/page_drink/" + $11-99-02-0043.image ) </Filename>
<FilenamePress> Var( "ROOT/taobin_project/image/page_drink_press/" + $11-99-02-0043.image ) " </FilenamePress>
@ -475,10 +651,10 @@
Open "ROOT/taobin_project/xml/page_topping_alter.xml"
</EventOnClick>
</Button>
; button i=13 11-99-02-0044
; button i=20 11-99-02-0044
<Button>
<X> 44 </X>
<Y> 1004 </Y>
<X> 815 </X>
<Y> 1332 </Y>
<State> $11-99-02-0044.Button </State>
<Filename> Var( "ROOT/taobin_project/image/page_drink/" + $11-99-02-0044.image ) </Filename>
<FilenamePress> Var( "ROOT/taobin_project/image/page_drink_press/" + $11-99-02-0044.image ) " </FilenamePress>
@ -498,24 +674,24 @@
Open "ROOT/taobin_project/xml/page_topping_alter.xml"
</EventOnClick>
</Button>
; button i=14 11-99-02-0045
; button i=21 11-99-01-0045
<Button>
<X> 301 </X>
<Y> 1004 </Y>
<State> $11-99-02-0045.Button </State>
<Filename> Var( "ROOT/taobin_project/image/page_drink/" + $11-99-02-0045.image ) </Filename>
<FilenamePress> Var( "ROOT/taobin_project/image/page_drink_press/" + $11-99-02-0045.image ) " </FilenamePress>
<FilenameDisable> Var( "ROOT/taobin_project/image/page_drink_disable/" + $11-99-02-0045.image ) " </FilenameDisable>
<X> 44 </X>
<Y> 1660 </Y>
<State> $11-99-01-0045.Button </State>
<Filename> Var( "ROOT/taobin_project/image/page_drink/" + $11-99-01-0045.image ) </Filename>
<FilenamePress> Var( "ROOT/taobin_project/image/page_drink_press/" + $11-99-01-0045.image ) " </FilenamePress>
<FilenameDisable> Var( "ROOT/taobin_project/image/page_drink_disable/" + $11-99-01-0045.image ) " </FilenameDisable>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var SelectDrink = "11-99-02-0045"
Var NameDrink = $11-99-02-0045.NameE
Var NameDrinkTH = $11-99-02-0045.Name
Var DrinkDescriptionTH = $11-99-02-0045.description
Var DrinkDescription = $11-99-02-0045.descriptionE
Var PriceDrink = $11-99-02-0045.Price
Var PictureDrink = "ROOT/taobin_project/image/page_drink_select/" + $11-99-02-0045.image
Var SelectDrink = "11-99-01-0045"
Var NameDrink = $11-99-01-0045.NameE
Var NameDrinkTH = $11-99-01-0045.Name
Var DrinkDescriptionTH = $11-99-01-0045.description
Var DrinkDescription = $11-99-01-0045.descriptionE
Var PriceDrink = $11-99-01-0045.Price
Var PictureDrink = "ROOT/taobin_project/image/page_drink_select/" + $11-99-01-0045.image
Topping "Load" SelectDrink
Var PriceShowValue = charOfBaht + PriceDrink
Open "ROOT/taobin_project/xml/page_topping_alter.xml"
@ -1139,7 +1315,7 @@
<Size> 27 </Size>
<Font> KanitTTF </Font>
<Color> 0xB78F24 </Color>
<Value> $11-99-02-0042.Price </Value>
<Value> $11-99-01-0027.Price </Value>
</Text>
<Text>
<X> 722 </X>
@ -1159,7 +1335,7 @@
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showthaiText </State>
<Value> $11-99-02-0042.Name </Value>
<Value> $11-99-01-0027.Name </Value>
</Text>
<Text>
<X> 574 </X>
@ -1169,7 +1345,7 @@
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showthaiText </State>
<Value> $11-99-02-0042.description </Value>
<Value> $11-99-01-0027.description </Value>
</Text>
<Text>
<X> 574 </X>
@ -1180,7 +1356,7 @@
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showengText </State>
<Value> $11-99-02-0042.NameE </Value>
<Value> $11-99-01-0027.NameE </Value>
</Text>
<Text>
<X> 574 </X>
@ -1190,7 +1366,7 @@
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showengText </State>
<Value> $11-99-02-0042.descriptionE </Value>
<Value> $11-99-01-0027.descriptionE </Value>
</Text>
<Text>
<X> 997 </X>
@ -1200,7 +1376,7 @@
<Size> 27 </Size>
<Font> KanitTTF </Font>
<Color> 0xB78F24 </Color>
<Value> $11-99-02-0043.Price </Value>
<Value> $11-99-02-0027.Price </Value>
</Text>
<Text>
<X> 979 </X>
@ -1220,7 +1396,7 @@
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showthaiText </State>
<Value> $11-99-02-0043.Name </Value>
<Value> $11-99-02-0027.Name </Value>
</Text>
<Text>
<X> 831 </X>
@ -1230,7 +1406,7 @@
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showthaiText </State>
<Value> $11-99-02-0043.description </Value>
<Value> $11-99-02-0027.description </Value>
</Text>
<Text>
<X> 831 </X>
@ -1241,7 +1417,7 @@
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showengText </State>
<Value> $11-99-02-0043.NameE </Value>
<Value> $11-99-02-0027.NameE </Value>
</Text>
<Text>
<X> 831 </X>
@ -1251,7 +1427,7 @@
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showengText </State>
<Value> $11-99-02-0043.descriptionE </Value>
<Value> $11-99-02-0027.descriptionE </Value>
</Text>
<Text>
<X> 226 </X>
@ -1261,7 +1437,7 @@
<Size> 27 </Size>
<Font> KanitTTF </Font>
<Color> 0xB78F24 </Color>
<Value> $11-99-02-0044.Price </Value>
<Value> $11-99-02-0030.Price </Value>
</Text>
<Text>
<X> 208 </X>
@ -1281,7 +1457,7 @@
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showthaiText </State>
<Value> $11-99-02-0044.Name </Value>
<Value> $11-99-02-0030.Name </Value>
</Text>
<Text>
<X> 60 </X>
@ -1291,7 +1467,7 @@
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showthaiText </State>
<Value> $11-99-02-0044.description </Value>
<Value> $11-99-02-0030.description </Value>
</Text>
<Text>
<X> 60 </X>
@ -1302,7 +1478,7 @@
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showengText </State>
<Value> $11-99-02-0044.NameE </Value>
<Value> $11-99-02-0030.NameE </Value>
</Text>
<Text>
<X> 60 </X>
@ -1312,7 +1488,7 @@
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showengText </State>
<Value> $11-99-02-0044.descriptionE </Value>
<Value> $11-99-02-0030.descriptionE </Value>
</Text>
<Text>
<X> 483 </X>
@ -1322,7 +1498,7 @@
<Size> 27 </Size>
<Font> KanitTTF </Font>
<Color> 0xB78F24 </Color>
<Value> $11-99-02-0045.Price </Value>
<Value> $11-99-02-0031.Price </Value>
</Text>
<Text>
<X> 465 </X>
@ -1342,7 +1518,7 @@
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showthaiText </State>
<Value> $11-99-02-0045.Name </Value>
<Value> $11-99-02-0031.Name </Value>
</Text>
<Text>
<X> 317 </X>
@ -1352,7 +1528,7 @@
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showthaiText </State>
<Value> $11-99-02-0045.description </Value>
<Value> $11-99-02-0031.description </Value>
</Text>
<Text>
<X> 317 </X>
@ -1363,7 +1539,7 @@
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showengText </State>
<Value> $11-99-02-0045.NameE </Value>
<Value> $11-99-02-0031.NameE </Value>
</Text>
<Text>
<X> 317 </X>
@ -1373,7 +1549,434 @@
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showengText </State>
<Value> $11-99-02-0045.descriptionE </Value>
<Value> $11-99-02-0031.descriptionE </Value>
</Text>
<Text>
<X> 740 </X>
<Y> 1016 </Y>
<Align> "Hurr" </Align>
<Width>150</Width>
<Size> 27 </Size>
<Font> KanitTTF </Font>
<Color> 0xB78F24 </Color>
<Value> $11-99-02-0032.Price </Value>
</Text>
<Text>
<X> 722 </X>
<Y> 1016 </Y>
<Width>20</Width>
<Size> 27 </Size>
<Font> KanitTTF </Font>
<Color> 0xB78F24 </Color>
<Value> "฿"" </Value>
</Text>
<Text>
<X> 574 </X>
<Y> 1194 </Y>
<Size> 24 </Size>
<Width>220</Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showthaiText </State>
<Value> $11-99-02-0032.Name </Value>
</Text>
<Text>
<X> 574 </X>
<Y> 1250 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showthaiText </State>
<Value> $11-99-02-0032.description </Value>
</Text>
<Text>
<X> 574 </X>
<Y> 1194 </Y>
<Size> 22 </Size>
<Width>220</Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showengText </State>
<Value> $11-99-02-0032.NameE </Value>
</Text>
<Text>
<X> 574 </X>
<Y> 1250 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showengText </State>
<Value> $11-99-02-0032.descriptionE </Value>
</Text>
<Text>
<X> 997 </X>
<Y> 1016 </Y>
<Align> "Hurr" </Align>
<Width>150</Width>
<Size> 27 </Size>
<Font> KanitTTF </Font>
<Color> 0xB78F24 </Color>
<Value> $11-99-02-0028.Price </Value>
</Text>
<Text>
<X> 979 </X>
<Y> 1016 </Y>
<Width>20</Width>
<Size> 27 </Size>
<Font> KanitTTF </Font>
<Color> 0xB78F24 </Color>
<Value> "฿"" </Value>
</Text>
<Text>
<X> 831 </X>
<Y> 1194 </Y>
<Size> 24 </Size>
<Width>220</Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showthaiText </State>
<Value> $11-99-02-0028.Name </Value>
</Text>
<Text>
<X> 831 </X>
<Y> 1250 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showthaiText </State>
<Value> $11-99-02-0028.description </Value>
</Text>
<Text>
<X> 831 </X>
<Y> 1194 </Y>
<Size> 22 </Size>
<Width>220</Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showengText </State>
<Value> $11-99-02-0028.NameE </Value>
</Text>
<Text>
<X> 831 </X>
<Y> 1250 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showengText </State>
<Value> $11-99-02-0028.descriptionE </Value>
</Text>
<Text>
<X> 226 </X>
<Y> 1344 </Y>
<Align> "Hurr" </Align>
<Width>150</Width>
<Size> 27 </Size>
<Font> KanitTTF </Font>
<Color> 0xB78F24 </Color>
<Value> $11-99-02-0029.Price </Value>
</Text>
<Text>
<X> 208 </X>
<Y> 1344 </Y>
<Width>20</Width>
<Size> 27 </Size>
<Font> KanitTTF </Font>
<Color> 0xB78F24 </Color>
<Value> "฿"" </Value>
</Text>
<Text>
<X> 60 </X>
<Y> 1522 </Y>
<Size> 24 </Size>
<Width>220</Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showthaiText </State>
<Value> $11-99-02-0029.Name </Value>
</Text>
<Text>
<X> 60 </X>
<Y> 1578 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showthaiText </State>
<Value> $11-99-02-0029.description </Value>
</Text>
<Text>
<X> 60 </X>
<Y> 1522 </Y>
<Size> 22 </Size>
<Width>220</Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showengText </State>
<Value> $11-99-02-0029.NameE </Value>
</Text>
<Text>
<X> 60 </X>
<Y> 1578 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showengText </State>
<Value> $11-99-02-0029.descriptionE </Value>
</Text>
<Text>
<X> 483 </X>
<Y> 1344 </Y>
<Align> "Hurr" </Align>
<Width>150</Width>
<Size> 27 </Size>
<Font> KanitTTF </Font>
<Color> 0xB78F24 </Color>
<Value> $11-99-01-0042.Price </Value>
</Text>
<Text>
<X> 465 </X>
<Y> 1344 </Y>
<Width>20</Width>
<Size> 27 </Size>
<Font> KanitTTF </Font>
<Color> 0xB78F24 </Color>
<Value> "฿"" </Value>
</Text>
<Text>
<X> 317 </X>
<Y> 1522 </Y>
<Size> 24 </Size>
<Width>220</Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showthaiText </State>
<Value> $11-99-01-0042.Name </Value>
</Text>
<Text>
<X> 317 </X>
<Y> 1578 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showthaiText </State>
<Value> $11-99-01-0042.description </Value>
</Text>
<Text>
<X> 317 </X>
<Y> 1522 </Y>
<Size> 22 </Size>
<Width>220</Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showengText </State>
<Value> $11-99-01-0042.NameE </Value>
</Text>
<Text>
<X> 317 </X>
<Y> 1578 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showengText </State>
<Value> $11-99-01-0042.descriptionE </Value>
</Text>
<Text>
<X> 740 </X>
<Y> 1344 </Y>
<Align> "Hurr" </Align>
<Width>150</Width>
<Size> 27 </Size>
<Font> KanitTTF </Font>
<Color> 0xB78F24 </Color>
<Value> $11-99-02-0043.Price </Value>
</Text>
<Text>
<X> 722 </X>
<Y> 1344 </Y>
<Width>20</Width>
<Size> 27 </Size>
<Font> KanitTTF </Font>
<Color> 0xB78F24 </Color>
<Value> "฿"" </Value>
</Text>
<Text>
<X> 574 </X>
<Y> 1522 </Y>
<Size> 24 </Size>
<Width>220</Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showthaiText </State>
<Value> $11-99-02-0043.Name </Value>
</Text>
<Text>
<X> 574 </X>
<Y> 1578 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showthaiText </State>
<Value> $11-99-02-0043.description </Value>
</Text>
<Text>
<X> 574 </X>
<Y> 1522 </Y>
<Size> 22 </Size>
<Width>220</Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showengText </State>
<Value> $11-99-02-0043.NameE </Value>
</Text>
<Text>
<X> 574 </X>
<Y> 1578 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showengText </State>
<Value> $11-99-02-0043.descriptionE </Value>
</Text>
<Text>
<X> 997 </X>
<Y> 1344 </Y>
<Align> "Hurr" </Align>
<Width>150</Width>
<Size> 27 </Size>
<Font> KanitTTF </Font>
<Color> 0xB78F24 </Color>
<Value> $11-99-02-0044.Price </Value>
</Text>
<Text>
<X> 979 </X>
<Y> 1344 </Y>
<Width>20</Width>
<Size> 27 </Size>
<Font> KanitTTF </Font>
<Color> 0xB78F24 </Color>
<Value> "฿"" </Value>
</Text>
<Text>
<X> 831 </X>
<Y> 1522 </Y>
<Size> 24 </Size>
<Width>220</Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showthaiText </State>
<Value> $11-99-02-0044.Name </Value>
</Text>
<Text>
<X> 831 </X>
<Y> 1578 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showthaiText </State>
<Value> $11-99-02-0044.description </Value>
</Text>
<Text>
<X> 831 </X>
<Y> 1522 </Y>
<Size> 22 </Size>
<Width>220</Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showengText </State>
<Value> $11-99-02-0044.NameE </Value>
</Text>
<Text>
<X> 831 </X>
<Y> 1578 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showengText </State>
<Value> $11-99-02-0044.descriptionE </Value>
</Text>
<Text>
<X> 226 </X>
<Y> 1672 </Y>
<Align> "Hurr" </Align>
<Width>150</Width>
<Size> 27 </Size>
<Font> KanitTTF </Font>
<Color> 0xB78F24 </Color>
<Value> $11-99-01-0045.Price </Value>
</Text>
<Text>
<X> 208 </X>
<Y> 1672 </Y>
<Width>20</Width>
<Size> 27 </Size>
<Font> KanitTTF </Font>
<Color> 0xB78F24 </Color>
<Value> "฿"" </Value>
</Text>
<Text>
<X> 60 </X>
<Y> 1850 </Y>
<Size> 24 </Size>
<Width>220</Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showthaiText </State>
<Value> $11-99-01-0045.Name </Value>
</Text>
<Text>
<X> 60 </X>
<Y> 1906 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showthaiText </State>
<Value> $11-99-01-0045.description </Value>
</Text>
<Text>
<X> 60 </X>
<Y> 1850 </Y>
<Size> 22 </Size>
<Width>220</Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showengText </State>
<Value> $11-99-01-0045.NameE </Value>
</Text>
<Text>
<X> 60 </X>
<Y> 1906 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showengText </State>
<Value> $11-99-01-0045.descriptionE </Value>
</Text>
</FrameScroll>

View file

@ -0,0 +1,80 @@
<?hurr
#include=menu_head.py
?>
<?hurr
product_code = []
product_code.append('11-99-04-0000')
product_code.append('11-99-04-0001')
product_code.append('11-99-04-0002')
product_code.append('11-99-04-0003')
product_code.append('11-99-04-0004')
product_code.append('11-99-04-0005')
product_code.append('11-99-04-0006')
product_code.append('11-99-04-0007')
product_code.append('11-99-04-0008')
product_code.append('11-99-04-0009')
menu_count = len( product_code)
?>
<Popup>
<Cache> "Enable" </Cache>
<Width> 1080 </Width>
<Height> 1920 </Height>
<Background> "0xeae6e1" </Background>
<Volume> SoundVolume </Volume>
<Sound> "ROOT/sounds/selectDrink.wav" </Sound>
<EventOpen>
; On open
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 = "PressForever"
Var Menu6Selected = "Enable"
</EventOpen>
<Timeout> 60000 </Timeout>
<EventTimeout>
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
TimerReset
</EventTimeout>
<?hurr
#include=menu_catalog.xml
?>
<?hurr
#include=menu_gen.py
?>
</Popup>

File diff suppressed because it is too large Load diff

View file

@ -22,12 +22,17 @@
Var VideoPlayFile = VideoPlayFile + "24"
Var VideoPlayFile = VideoPlayFile + VideoFileEnd
</EventOpen>
<Timeout> 800 </Timeout>
<Timeout> 1000 </Timeout>
<EventTimeout>
If HaveCup = "false" Then
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
EndIf
If MachineStage = "remove-cup" Then
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
EndIf
TimerReset
</EventTimeout>
@ -50,15 +55,6 @@
</Video>
; Old
;<Video>
;<X> 82 </X>
;<Y> 717 </Y>
;<Width> 917 </Width>
;<Height> 917 </Height>
;<Loop> "true" </Loop>
;<Filename> "ROOT/taobin_project/video/taobin_drink_ok.mov" </Filename>
;</Video>
<Video>
<X> 0 </X>

View file

@ -11,26 +11,35 @@
Var StarwState = "Enable"
Var LidStrawCountDown = 15
Var VideoPath = "/mnt/sdcard/coffeevending/taobin_project/animation01/"
Var VideoFileBegin = "TaoBin2_draft02_art"
Var VideoFileEnd = ".mp4"
Var PicturePath = "/mnt/sdcard/coffeevending/taobin_project/image/page_doing/"
Var PictureBegin = "txt_"
If show_eng = "true" Then
Var DirImage = "ROOT/taobin_project/image/page_lid_straw_en"
Var PictureEnd = "_en.png"
Var BottomText = PicturePath + "text_bottom_eng.png"
Else
Var DirImage = "ROOT/taobin_project/image/page_lid_straw"
Var PictureEnd = ".png"
Var BottomText = PicturePath + "text_bottom_thai2.png"
EndIf
Var VideoPath = "/mnt/sdcard/coffeevending/taobin_project/animation01/"
Var VideoFileBegin = "TaoBin2_draft02_art"
Var VideoFileEnd = ".mp4"
Var CountUpBrewing = BrewTime - CountDownBrewing
;Var CountUpBrewing = 0
Var CountDownVideoTimeReload = AnimationVideoPlayTime
Var CountDownVideoTime = 1
Var StepVideo = 1
Var PreviseStepVideo = 90
SAVELOG CountUpBrewing
SAVELOG AnimationOn
SAVELOG AnimationVideoPlayTime
SAVELOG VideoID1
@ -39,17 +48,21 @@
SAVELOG VideoID4
SAVELOG VideoID5
SAVELOG VideoID6
SAVELOG VideoAnimationCount
Var VideoPlayFile = VideoPath
Var VideoPlayFile = VideoPlayFile + VideoFileBegin
Var VideoPlayFile = VideoPlayFile + "1"
Var VideoPlayFile = VideoPlayFile + VideoFileEnd
Var CountUpBrewing = CountUpBrewing + 4
Var PictureFile = PicturePath
Var PictureFile = PictureFile + PictureBegin
Var PictureFile = PictureFile + "1"
Var PictureFile = PictureFile + PictureEnd
</EventOpen>
<Timeout> 600 </Timeout>
<Timeout> 1000 </Timeout>
<EventTimeout>
Var CountDownBrewing = CountDownBrewing - 1
@ -74,55 +87,69 @@
Var CountUpBrewing = CountUpBrewing + 1
Var SlotVideo = CountUpBrewing / AnimationVideoPlayTime
If PreviseStepVideo = SlotVideo Then
SAVELOG SlotVideo
If CountUpBrewing < 4 Then
Else
Var PreviseStepVideo = SlotVideo
SAVELOG PreviseStepVideo
SAVELOG SlotVideo
SAVELOG CountUpBrewing
;Var CountDownVideoTime = CountDownVideoTimeReload
Var StepVideo = SlotVideo + 2
SAVELOG StepVideo
If StepVideo = 1 Then
Var videoID = VideoID1
EndIf
If StepVideo = 2 Then
Var videoID = VideoID2
EndIf
If StepVideo = 3 Then
Var videoID = VideoID3
EndIf
If StepVideo = 4 Then
Var videoID = VideoID4
EndIf
If StepVideo = 5 Then
Var videoID = VideoID5
EndIf
If StepVideo = 6 Then
Var videoID = VideoID6
EndIf
If StepVideo = 7 Then
Var videoID = VideoID7
EndIf
SAVELOG videoID
If videoID = 0 Then
If PreviseStepVideo = SlotVideo Then
SAVELOG SlotVideo
Else
Var PreviseStepVideo = SlotVideo
SAVELOG PreviseStepVideo
SAVELOG SlotVideo
SAVELOG CountUpBrewing
Var VideoPlayFile = VideoPath
Var VideoPlayFile = VideoPlayFile + VideoFileBegin
Var VideoPlayFile = VideoPlayFile + videoID
Var VideoPlayFile = VideoPlayFile + VideoFileEnd
;Var CountDownVideoTime = CountDownVideoTimeReload
Var StepVideo = SlotVideo + 2
SAVELOG StepVideo
SAVELOG VideoPlayFile
If StepVideo = 1 Then
Var videoID = VideoID1
EndIf
If StepVideo = 2 Then
Var videoID = VideoID2
EndIf
If StepVideo = 3 Then
Var videoID = VideoID3
EndIf
If StepVideo = 4 Then
Var videoID = VideoID4
EndIf
If StepVideo = 5 Then
Var videoID = VideoID5
EndIf
If StepVideo = 6 Then
Var videoID = VideoID6
EndIf
If StepVideo = 7 Then
Var videoID = VideoID7
EndIf
SAVELOG videoID
If videoID = 0 Then
Else
If videoID = "---" Then
Else
Var VideoPlayFile = VideoPath
Var VideoPlayFile = VideoPlayFile + VideoFileBegin
Var VideoPlayFile = VideoPlayFile + videoID
Var VideoPlayFile = VideoPlayFile + VideoFileEnd
Var PictureFile = PicturePath
Var PictureFile = PictureFile + PictureBegin
Var PictureFile = PictureFile + videoID
Var PictureFile = PictureFile + PictureEnd
SAVELOG VideoPlayFile
SAVELOG PictureFile
EndIf
EndIf
EndIf
EndIf
EndIf

View file

@ -0,0 +1,168 @@
<Page>
<X> 0 </X>
<Y> 608 </Y>
<Cache> "Enable" </Cache>
<Width> 1080 </Width>
<Height> 1312 </Height>
<Background> "0xEFEDEA" </Background>
<Volume> SoundVolume </Volume>
<EventOpen>
Var countClick = 0
Var countClick2 = 0
If show_eng = "true" Then
Var DirImage = "ROOT/taobin_project/image/user_take_cup_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 DirImage = "ROOT/taobin_project/image/user_take_cup_th/"
Var show_btp = "ROOT/taobin_project/image/bn_eng_lang_press.png"
Var show_btn = "ROOT/taobin_project/image/bn_eng_lang.png"
EndIf
</EventOpen>
<Timeout> 5000 </Timeout>
<EventTimeout>
;SAVELOG MachineErrorDetail
Var MachineErrorDetailAll = MachineErrorDetail + " / "
Var MachineErrorDetailAll = MachineErrorDetailAll + MachineErrorDetailEng
If MachineStage = "show-menu" Then
Open "ROOT/taobin_project/xml/page_board.xml"
EndIf
If MachineStage = "close-maintenance" Then
Open "ROOT/taobin_project/xml/page_show_error.xml"
EndIf
Refresh
TimerReset
</EventTimeout>
<Image>
<X> 0 </X>
<Y> 852 </Y>
<Filename> Var(DirImage + "/img5.png") </Filename>
</Image>
<Button>
<X> 212 </X>
<Y> 1661 </Y>
<Filename> Var( DirImage + "/bn_door_open.png" ) </Filename>
<FilenamePress> Var( DirImage + "/bp_door_open.png" )</FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Machine RemoveCup
</EventClick>
</Button>
<Button>
<X> 990 </X>
<Y> 400 </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> 0 </X>
<Y> 1860 </Y>
<Width> 200 </Width>
<Height> 50 </Height>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var countClick = countClick + 1
If countClick = 3 Then
EndIf
If countClick = 5 Then
Var countClick = 0
MainMenu
EndIf
Refresh
</EventClick>
</Button>
<Button>
<X> 870 </X>
<Y> 1860 </Y>
<Width> 200 </Width>
<Height> 50 </Height>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var countClick2 = countClick2 + 1
If countClick2 = 3 Then
EndIf
If countClick2 = 5 Then
Var MachineStage = "show-menu"
Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_board.xml"
EndIf
Refresh
</EventClick>
</Button>
<Text>
<X> 0 </X>
<Y> 1860 </Y>
<Size> 20 </Size>
<Width> 1080</Width>
<Align> Start </Align>
<Font> RobotoBlack </Font>
<Color> 0x513C2F </Color>
<Value> countClick </Value>
</Text>
<Text>
<X> 0 </X>
<Y> 1876 </Y>
<Size> 20 </Size>
<Width> 1080</Width>
<Align> end </Align>
<Font> RobotoBlack </Font>
<Color> 0x513C2F </Color>
<Value> countClick2 </Value>
</Text>
<Text>
<X> 5 </X>
<Y> 1868 </Y>
<Size> 24 </Size>
<Align> Center </Align>
<Width> 1080 </Width>
<Font> RobotoRegular </Font>
<Color> 0xDE794E </Color>
<Value> MachineErrorDetailAll </Value>
</Text>
</Page>

View file

@ -29,6 +29,10 @@
If MachineStage = "show-menu" Then
Open "ROOT/taobin_project/xml/page_board.xml"
EndIf
If MachineStage = "remove-cup" Then
Open "ROOT/taobin_project/xml/page_remove_cup.xml"
EndIf
;Refresh

View file

@ -19,14 +19,27 @@
Var ChangeTimeout = 0
Var ChangeFlag2 = 0
If show_eng = "true" Then
Var ImageDoing = "ROOT/taobin_project/image/page_doing/img2_eng.png"
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 ImageDoing = "ROOT/taobin_project/image/page_doing/img2.png"
Var show_btp = "ROOT/taobin_project/image/bn_eng_lang_press.png"
Var show_btn = "ROOT/taobin_project/image/bn_eng_lang.png"
EndIf
</EventOpen>
<Timeout> 600 </Timeout>
<Timeout> 1000 </Timeout>
<EventTimeout>
Var CountDownBrewing = CountDownBrewing - 1
Var CountDownThankyou = CountDownThankyou - 1
Var Timeout = Timeout + 1
If Timeout = 3 Then
If Timeout = 2 Then
If PayWithQR = 0 Then
If FreeVendingCampaign = 0 Then
If IntVendingCampaign < PayAmount Then

View file

@ -11,19 +11,11 @@
Var SugarState3 = "Invisible"
Var SugarState4 = "Invisible"
Var SugarState5 = "Invisible"
;Var SugarState1 = "Enable"
;Var SugarState2 = "Enable"
;Var SugarState3 = "Enable"
;Var SugarState4 = "Enable"
;Var SugarState5 = "Enable"
Var BGSugar = "Invisible"
SAVELOG TOPPING1
SAVELOG TOPPING2
SAVELOG TOPPING3
SAVELOG TOPPING4
Var ShotCoffeeBG = "Invisible"
Var showShotEnable = "Invisible"
;SAVELOG PreviseXMLFileName2
@ -36,6 +28,9 @@
Var y2_topping_bg = y_topping_bg + y_block
Var y2_topping = y_topping + y_block
Var y_shot_coffee_bg = y2_topping_bg
Var y_shot_coffee_bt = y2_topping + 100
Var topping1 = "1"
Var BugFlag = 0
@ -56,12 +51,22 @@
EndIf
CRLFToSpace showname
CRLFToSpace showdesc
Var Timeout = 0
;SAVELOG showname
Var ToppingGotoPayment = "true"
</EventOpen>
<Timeout> 30000 </Timeout>
<Timeout> 2000 </Timeout>
<EventTimeout>
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
Var Timeout = Timeout + 1
If Timeout > 10 Then
Var Timeout = 0
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
EndIf
</EventTimeout>
@ -96,7 +101,8 @@
Var showdesc = DrinkDescriptionTH
EndIf
CRLFToSpace showname
CRLFToSpace showdesc
RefreshAll
</EventClick>
</Button>
@ -135,15 +141,20 @@
SAVELOG TOPPING1
SAVELOG TOPPING2
SAVELOG TOPPING3
SAVELOG TOPPING4
SAVELOG MenuCodeName
;SAVELOG toppingID1Default
Var ToppingGotoPayment = "false"
If BugFlag = 1 Then
Else
If MenuCodeName = "barista1" Then
Open "ROOT/taobin_project/xml/page_topping_with_barista.xml"
Var ToppingGotoPayment = "false"
EndIf
If TOPPING1 = "Powder Sugar" Then
@ -156,19 +167,45 @@
Var BugFlag = 1
Var topping1 = toppingID1Default
Var ToppingGotoPayment = "false"
Refresh
EndIf
If TOPPING2 = "shot coffee" Then
Var backGroundAddExtra = DirImage + "/extra_img_1.png"
SAVELOG backGroundAddExtra
Var ShotCoffeeBG = "Enable"
Var y_shot_coffee_bg = y2_topping_bg
Var y_shot_coffee_bt = y_shot_coffee_bg + 100
Var showShotEnable = "Enable"
Refresh
EndIf
If TOPPING1 = "Powder Sugar Premix 25" Then
Var ToppingGotoPayment = "false"
Open "ROOT/taobin_project/xml/page_topping_premix25percent.xml"
EndIf
If TOPPING1 = "Powder Sugar Premix 50" Then
Var ToppingGotoPayment = "false"
Open "ROOT/taobin_project/xml/page_topping_premix50percent.xml"
EndIf
If TOPPING1 = "Sugar" Then
Var ToppingGotoPayment = "false"
Open "ROOT/taobin_project/xml/page_topping_sugar_sufficiency.xml"
EndIf
If TOPPING1 = "Sugar Premix 25" Then
Var ToppingGotoPayment = "false"
Open "ROOT/taobin_project/xml/page_topping_premix25percent_no.xml"
EndIf
SAVELOG ToppingGotoPayment
If ToppingGotoPayment = "true" Then
Topping "Select" SelectDrink
; Pack
@ -276,6 +313,45 @@
<Value> PriceShowValue </Value>
</Text>
; shot layout
<Image>
<X> 52 </X>
<Y> y_shot_coffee_bg </Y>
<State> ShotCoffeeBG </State>
<Filename> backGroundAddExtra </Filename>
</Image>
;
<Button>
<X> 100 </X>
<Y> y_shot_coffee_bt </Y>
<State> showShotEnable </Stage>
<Filename> Var( DirImage + "/add_shot_img.png" ) </Filename>
<FilenamePress> Var( DirImage + "/add_shot_img_2.png" ) </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Refresh
</EventClick>
</Button>
;
<Button>
<X> 925 </X>
<Y> y_shot_coffee_bt </Y>
<State> showShotEnable </Stage>
<Filename> Var( DirImage + "/cb_nch.png" ) </Filename>
<FilenamePress> Var( DirImage + "/cb_ch.png" ) </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
</EventClick>
</Button>
; sugar layout

View file

@ -65,6 +65,8 @@
EndIf
CRLFToSpace showname
CRLFToSpace showdesc
;SAVELOG showname
</EventOpen>
@ -294,7 +296,9 @@
Var SugarState3 = "Enable"
Var SugarState4 = "Enable"
Var SugarState5 = "Enable"
Var topping1 = toppingID1index2
Var topping1 = toppingID1index1
SAVELOG topping1
Refresh
</EventClick>
@ -318,7 +322,9 @@
Var SugarState3 = "PressForever"
Var SugarState4 = "Enable"
Var SugarState5 = "Enable"
Var topping1 = toppingID1index3
Var topping1 = toppingID1index2
SAVELOG SugarState2
SAVELOG topping1
Refresh
</EventClick>
@ -341,8 +347,9 @@
Var SugarState3 = "Enable"
Var SugarState4 = "PressForever"
Var SugarState5 = "Enable"
Var topping1 = toppingID1index4
Var topping1 = toppingID1index3
SAVELOG topping1
Refresh
</EventClick>
@ -365,7 +372,8 @@
Var SugarState3 = "Enable"
Var SugarState4 = "Enable"
Var SugarState5 = "PressForever"
Var topping1 = toppingID1index5
Var topping1 = toppingID1index4
SAVELOG topping1
Refresh
</EventClick>

View file

@ -0,0 +1,384 @@
<Popup>
<Cache> "Enable" </Cache>
<Width> 1080 </Width>
<Height> 1920 </Height>
<Background> "0xeae6e1" </Background>
<Volume> SoundVolume </Volume>
<EventOpen>
; On open
Var SugarState1 = "Invisible"
Var SugarState2 = "Invisible"
Var SugarState3 = "Invisible"
Var SugarState4 = "Invisible"
Var SugarState5 = "Invisible"
;Var SugarState1 = "Enable"
SAVELOG TOPPING1
SAVELOG toppingID1Default
Var topping1 = toppingID1Default
SAVELOG toppingID1index1
SAVELOG toppingID1index2
SAVELOG toppingID1index3
SAVELOG toppingID1index4
SAVELOG TOPPING2
SAVELOG TOPPING3
SAVELOG TOPPING4
Var SugarState2 = "Enable"
Var SugarState3 = "Pressforever"
Var SugarState4 = "Enable"
Var SugarState5 = "Enable"
Var BGSugar = "Enable"
;SAVELOG PreviseXMLFileName2
Var y_sugar_block = 105
Var y_block = 206
Var y_topping_bg = 912
Var y_topping = 912 + y_sugar_block
Var y2_topping_bg = y_topping_bg + y_block
Var y2_topping = y_topping + y_block
Var BugFlag = 0
If show_eng = "true" Then
Var DirImage = "ROOT/taobin_project/image/topping_en"
Var show_btp = "ROOT/taobin_project/image/bn_thai_lang_press.png"
Var show_btn = "ROOT/taobin_project/image/bn_thai_lang.png"
Var showname = NameDrink
Var showdesc = DrinkDescription
Else
Var DirImage = "ROOT/taobin_project/image/topping"
Var show_btp = "ROOT/taobin_project/image/bn_eng_lang_press.png"
Var show_btn = "ROOT/taobin_project/image/bn_eng_lang.png"
Var showname = NameDrinkTH
Var showdesc = DrinkDescriptionTH
EndIf
CRLFToSpace showname
CRLFToSpace showdesc
;SAVELOG showname
</EventOpen>
<Timeout> 30000 </Timeout>
<EventTimeout>
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
</EventTimeout>
<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
If show_eng = "true" Then
Var DirImage = "ROOT/taobin_project/image/topping_en/"
Var show_btp = "ROOT/taobin_project/image/bn_thai_lang_press.png"
Var show_btn = "ROOT/taobin_project/image/bn_thai_lang.png"
Var showname = NameDrink
Var showdesc = DrinkDescription
Else
Var DirImage = "ROOT/taobin_project/image/topping/"
Var show_btp = "ROOT/taobin_project/image/bn_eng_lang_press.png"
Var show_btn = "ROOT/taobin_project/image/bn_eng_lang.png"
Var showname = NameDrinkTH
Var showdesc = DrinkDescriptionTH
EndIf
CRLFToSpace showname
RefreshAll
</EventClick>
</Button>
;<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 PreviseOfPreviseXMLFileName2
Open "ROOT/taobin_project/xml/page_catalog.xml"
</EventClick>
</Button>
<EventMachine>
SAVELOG TOPPING1
SAVELOG MenuCodeName
;SAVELOG toppingID1Default
If BugFlag = 1 Then
Else
If RoadShow = "true" Then
Var PriceShowValue = "Free"
EndIf
SAVELOG toppingID2price1
SAVELOG toppingID2price2
SAVELOG toppingID2price3
EndIf
</EventMachine>
<Image>
<X> 374 </X>
<Y> 436 </Y>
<Width> 331 </Width>
<Height> 436 </Height>
<Filename> PictureDrink </Filename>
</Image>
<Text>
<X> 0 </X>
<Y> 752 </Y>
<Width> 1080</Width>
<Align> Center </Align>
<Size> 72 </Size>
<Font> KanitMediumTTF </Font>
<Color> 0x513C2F </Color>
<Value> showname </Value>
</Text>
<Text>
<X> 0 </X>
<Y> 836 </Y>
<Width> 1080</Width>
<Align> Center </Align>
<Size> 24 </Size>
<Font> KanitLightTTF </Font>
<Color> 0x6F5F51 </Color>
<Value> showdesc </Value>
</Text>
; back
<Button>
<X> 44 </X>
<Y> 1785 </Y>
<Filename> Var( DirImage + "/bn_cancel.png" ) </Filename>
<FilenamePress> Var( DirImage + "/bp_cancel.png" )</FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Open PreviseOfPreviseXMLFileName2
;"ROOT/taobin_project/xml/page_catalog.xml"
</EventClick>
</Button>
; next
<Button>
<X> 447 </X>
<Y> 1785 </Y>
<Filename> Var( DirImage + "/bn_next.png" )</Filename>
<FilenamePress> Var( DirImage + "/bp_next.png" )</FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
; Set drink
Topping "Select" SelectDrink
; Set option toppinng and pack
Topping "Select1-ID" topping1
Topping "Select2-ID" topping2
Topping "Select3-ID" topping3
; Pack
Topping "Pack" ExtendData
Open "ROOT/taobin_project/xml/page_payment.xml"
</EventClick>
</Button>
<Text>
<X> 924 </X>
<Y> 1804 </Y>
<Font> KanitTTF </Font>
<Size> 36 </Size>
<Width> 1080 </Width>
<Color> 0xFFFFFF </Color>
<Value> PriceShowValue </Value>
</Text>
; sugar layout
<Image>
<X> 44 </X>
<Y> y_topping_bg </Y>
<State> BGSugar </State>
<Filename> "ROOT/taobin_project/image/topping/img1.png" </Filename>
</Image>
; sugar1
<Button>
<X> 181 </X>
<Y> y_topping </Y>
<State> SugarState1 </Stage>
<Filename> "ROOT/taobin_project/image/topping/bn_sugar1.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/topping/bp_sugar1.png" </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
</EventClick>
</Button>
; sugar2
<Button>
<X> 327 </X>
<Y> y_topping </Y>
<State> SugarState2 </Stage>
<Filename> "ROOT/taobin_project/image/topping/bn_sugar2.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/topping/bp_sugar2.png" </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var SugarState1 = "Invisible"
Var SugarState2 = "Pressforever"
Var SugarState3 = "Enable"
Var SugarState4 = "Enable"
Var SugarState5 = "Enable"
Var topping1 = toppingID1index1
Refresh
</EventClick>
</Button>
; sugar3
<Button>
<X> 503 </X>
<Y> y_topping </Y>
<State> SugarState3 </Stage>
<Filename> "ROOT/taobin_project/image/topping/bn_sugar3.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/topping/bp_sugar3.png" </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var SugarState1 = "Invisible"
Var SugarState2 = "Enable"
Var SugarState3 = "PressForever"
Var SugarState4 = "Enable"
Var SugarState5 = "Enable"
Var topping1 = toppingID1index2
Refresh
</EventClick>
</Button>
; sugar4
<Button>
<X> 664 </X>
<Y> y_topping </Y>
<State> SugarState4 </Stage>
<Filename> "ROOT/taobin_project/image/topping/bn_sugar4.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/topping/bp_sugar4.png" </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var SugarState1 = "Invisible"
Var SugarState2 = "Enable"
Var SugarState3 = "Enable"
Var SugarState4 = "PressForever"
Var SugarState5 = "Enable"
Var topping1 = toppingID1index3
Refresh
</EventClick>
</Button>
; sugar5
<Button>
<X> 836 </X>
<Y> y_topping </Y>
<State> SugarState5 </Stage>
<Filename> "ROOT/taobin_project/image/topping/bn_sugar5.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/topping/bp_sugar5.png" </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var SugarState1 = "Invisible"
Var SugarState2 = "Enable"
Var SugarState3 = "Enable"
Var SugarState4 = "Enable"
Var SugarState5 = "PressForever"
Var topping1 = toppingID1index4
Refresh
</EventClick>
</Button>
<EventSecurity>
Open "/media/bt/xml/security_alarm.xml"
</EventSecurity>
</Page>

View file

@ -28,8 +28,7 @@
SAVELOG TOPPING3
SAVELOG TOPPING4
Var SugarState2 = "Pressforever"
Var SugarState3 = "Enable"
Var SugarState3 = "Pressforever"
Var SugarState4 = "Enable"
Var SugarState5 = "Enable"
Var BGSugar = "Enable"

View file

@ -0,0 +1,368 @@
<Popup>
<Cache> "Enable" </Cache>
<Width> 1080 </Width>
<Height> 1920 </Height>
<Background> "0xeae6e1" </Background>
<Volume> SoundVolume </Volume>
<EventOpen>
; On open
Var SugarState1 = "Enable"
Var SugarState2 = "Enable"
Var SugarState3 = "PressForever"
Var SugarState4 = "Enable"
Var SugarState5 = "Enable"
Var BGSugar = "Enable"
SAVELOG TOPPING1
SAVELOG TOPPING2
SAVELOG TOPPING3
SAVELOG TOPPING4
;SAVELOG PreviseXMLFileName2
Var y_sugar_block = 105
Var y_block = 206
Var y_topping_bg = 912
Var y_topping = 912 + y_sugar_block
Var y2_topping_bg = y_topping_bg + y_block
Var y2_topping = y_topping + y_block
Var topping1 = toppingID1Default
Var BugFlag = 0
If show_eng = "true" Then
Var DirImage = "ROOT/taobin_project/image/topping_en"
Var show_btp = "ROOT/taobin_project/image/bn_thai_lang_press.png"
Var show_btn = "ROOT/taobin_project/image/bn_thai_lang.png"
Var showname = NameDrink
Var showdesc = DrinkDescription
Else
Var DirImage = "ROOT/taobin_project/image/topping"
Var show_btp = "ROOT/taobin_project/image/bn_eng_lang_press.png"
Var show_btn = "ROOT/taobin_project/image/bn_eng_lang.png"
Var showname = NameDrinkTH
Var showdesc = DrinkDescriptionTH
EndIf
SAVELOG toppingID1Default
CRLFToSpace showname
CRLFToSpace showdesc
;SAVELOG showname
</EventOpen>
<Timeout> 30000 </Timeout>
<EventTimeout>
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
</EventTimeout>
<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
If show_eng = "true" Then
Var DirImage = "ROOT/taobin_project/image/topping_en/"
Var show_btp = "ROOT/taobin_project/image/bn_thai_lang_press.png"
Var show_btn = "ROOT/taobin_project/image/bn_thai_lang.png"
Var showname = NameDrink
Var showdesc = DrinkDescription
Else
Var DirImage = "ROOT/taobin_project/image/topping/"
Var show_btp = "ROOT/taobin_project/image/bn_eng_lang_press.png"
Var show_btn = "ROOT/taobin_project/image/bn_eng_lang.png"
Var showname = NameDrinkTH
Var showdesc = DrinkDescriptionTH
EndIf
CRLFToSpace showname
RefreshAll
</EventClick>
</Button>
;<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 PreviseXMLFileName2
Open "ROOT/taobin_project/xml/page_catalog.xml"
</EventClick>
</Button>
<EventMachine>
SAVELOG TOPPING1
SAVELOG MenuCodeName
SAVELOG toppingID1Default
Var ToppingGotoPayment = "false"
If BugFlag = 1 Then
Else
If RoadShow = "true" Then
Var PriceShowValue = "Free"
EndIf
SAVELOG toppingID2price1
SAVELOG toppingID2price2
SAVELOG toppingID2price3
EndIf
</EventMachine>
<Image>
<X> 374 </X>
<Y> 436 </Y>
<Width> 331 </Width>
<Height> 436 </Height>
<Filename> PictureDrink </Filename>
</Image>
<Text>
<X> 0 </X>
<Y> 752 </Y>
<Width> 1080</Width>
<Align> Center </Align>
<Size> 72 </Size>
<Font> KanitMediumTTF </Font>
<Color> 0x513C2F </Color>
<Value> showname </Value>
</Text>
<Text>
<X> 0 </X>
<Y> 836 </Y>
<Width> 1080</Width>
<Align> Center </Align>
<Size> 24 </Size>
<Font> KanitLightTTF </Font>
<Color> 0x6F5F51 </Color>
<Value> showdesc </Value>
</Text>
; back
<Button>
<X> 44 </X>
<Y> 1785 </Y>
<Filename> Var( DirImage + "/bn_cancel.png" ) </Filename>
<FilenamePress> Var( DirImage + "/bp_cancel.png" )</FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Open "ROOT/taobin_project/xml/page_catalog.xml"
</EventClick>
</Button>
; next
<Button>
<X> 447 </X>
<Y> 1785 </Y>
<Filename> Var( DirImage + "/bn_next.png" )</Filename>
<FilenamePress> Var( DirImage + "/bp_next.png" )</FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
; Set drink
Topping "Select" SelectDrink
; Set option toppinng and pack
Topping "Select1-ID" topping1
Topping "Select2-ID" topping2
Topping "Select3-ID" topping3
; Pack
Topping "Pack" ExtendData
Open "ROOT/taobin_project/xml/page_payment.xml"
</EventClick>
</Button>
<Text>
<X> 924 </X>
<Y> 1804 </Y>
<Font> KanitTTF </Font>
<Size> 36 </Size>
<Width> 1080 </Width>
<Color> 0xFFFFFF </Color>
<Value> PriceShowValue </Value>
</Text>
; sugar layout
<Image>
<X> 44 </X>
<Y> y_topping_bg </Y>
<State> BGSugar </State>
<Filename> Var( DirImage + "/img_sugar.png" )</Filename>
</Image>
; sugar1
<Button>
<X> 181 </X>
<Y> y_topping </Y>
<State> SugarState1 </Stage>
<Filename> Var( DirImage + "/bn_sugar1.png" ) </Filename>
<FilenamePress> Var( DirImage + "/bp_sugar1.png" ) </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var SugarState1 = "PressForever"
Var SugarState2 = "Enable"
Var SugarState3 = "Enable"
Var SugarState4 = "Enable"
Var SugarState5 = "Enable"
Var topping1 = toppingID1index1
SAVELOG topping1
Refresh
</EventClick>
</Button>
; sugar2
<Button>
<X> 344 </X>
<Y> y_topping </Y>
<State> SugarState2 </Stage>
<Filename> Var( DirImage + "/bn_sugar2.png" ) </Filename>
<FilenamePress> Var( DirImage + "/bp_sugar2.png" ) </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var SugarState1 = "Enable"
Var SugarState2 = "PressForever"
Var SugarState3 = "Enable"
Var SugarState4 = "Enable"
Var SugarState5 = "Enable"
Var topping1 = toppingID1index2
SAVELOG topping1
Refresh
</EventClick>
</Button>
; sugar3
<Button>
<X> 507 </X>
<Y> y_topping </Y>
<State> SugarState3 </Stage>
<Filename> Var( DirImage + "/bn_sugar3.png" )</Filename>
<FilenamePress> Var( DirImage + "/bp_sugar3.png" )</FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var SugarState1 = "Enable"
Var SugarState2 = "Enable"
Var SugarState3 = "PressForever"
Var SugarState4 = "Enable"
Var SugarState5 = "Enable"
Var topping1 = toppingID1index3
SAVELOG topping1
Refresh
</EventClick>
</Button>
; sugar4
<Button>
<X> 670 </X>
<Y> y_topping </Y>
<State> SugarState4 </Stage>
<Filename> Var( DirImage + "/bn_sugar4.png" )</Filename>
<FilenamePress> Var( DirImage + "/bp_sugar4.png" )</FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var SugarState1 = "Enable"
Var SugarState2 = "Enable"
Var SugarState3 = "Enable"
Var SugarState4 = "PressForever"
Var SugarState5 = "Enable"
Var topping1 = toppingID1index4
SAVELOG topping1
Refresh
</EventClick>
</Button>
; sugar5
<Button>
<X> 833 </X>
<Y> y_topping </Y>
<State> SugarState5 </Stage>
<Filename> Var( DirImage + "/bn_sugar5.png" )</Filename>
<FilenamePress> Var( DirImage + "/bp_sugar5.png" )</FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var SugarState1 = "Enable"
Var SugarState2 = "Enable"
Var SugarState3 = "Enable"
Var SugarState4 = "Enable"
Var SugarState5 = "PressForever"
Var topping1 = toppingID1index5
SAVELOG topping1
Refresh
</EventClick>
</Button>
<EventSecurity>
Open "/media/bt/xml/security_alarm.xml"
</EventSecurity>
</Page>

View file

@ -30,8 +30,14 @@
Var BGSugar = "Invisible"
;SAVELOG TOPPING1
;SAVELOG TOPPING2
SAVELOG TOPPING1
SAVELOG TOPPING2
SAVELOG toppingID1Default
SAVELOG toppingID1index1
SAVELOG toppingID1index2
SAVELOG toppingID1index3
SAVELOG toppingID1index4
SAVELOG toppingID1index5
;SAVELOG PreviseXMLFileName2
;
@ -54,18 +60,19 @@
;SAVELOG y2_topping
If TOPPING1 = "Powder Sugar" Then
Var SugarState1 = "PressForever"
If TOPPING1 = "Sugar" Then
Var SugarState1 = "Enable"
Var SugarState2 = "Enable"
Var SugarState3 = "Enable"
Var SugarState3 = "PressForever"
Var SugarState4 = "Enable"
Var SugarState5 = "Enable"
Var BGSugar = "Enable"
Var topping1 = toppingID1Default
EndIf
If TOPPING1 = "Powder Sugar Premix 25" Then
If TOPPING1 = "Sugar Premix 25" Then
Var SugarState1 = "Invisible"
Var SugarState2 = "Invisible"
Var SugarState2 = "Enable"
Var SugarState3 = "PressForever"
Var SugarState4 = "Enable"
Var SugarState5 = "Enable"
@ -184,9 +191,9 @@
If BugFlag = 1 Then
If TOPPING1 = "Powder Sugar" Then
Var SugarState1 = "PressForever"
Var SugarState1 = "Enable"
Var SugarState2 = "Enable"
Var SugarState3 = "Enable"
Var SugarState3 = "PressForever"
Var SugarState4 = "Enable"
Var SugarState5 = "Enable"
Var BGSugar = "Enable"
@ -198,10 +205,10 @@
Refresh
EndIf
If TOPPING1 = "Powder Sugar Premix 25" Then
If TOPPING1 = "Sugar Premix 25" Then
Var SugarState1 = "Invisible"
Var SugarState2 = "Invisible"
Var SugarState3 = "PressForever"
Var SugarState2 = "PressForever"
Var SugarState3 = "Enable"
Var SugarState4 = "Enable"
Var SugarState5 = "Enable"
Var BGSugar = "Enable"
@ -344,14 +351,15 @@
<Volume> SoundVolume </Volume>
<EventClick>
If TOPPING1 = "Powder Sugar Premix 25" Then
If TOPPING1 = "Sugar Premix 25" Then
Var SugarState1 = "Invisible"
Var SugarState2 = "Invisible"
Var topping1 = "1"
Var topping1 = toppingID1index1
Else
Var SugarState1 = "PressForever"
Var SugarState2 = "Enable"
Var topping1 = "1"
Var topping1 = toppingID1index1
EndIf
Var SugarState3 = "Enable"
@ -364,7 +372,7 @@
; sugar2
<Button>
<X> 327 </X>
<X> 344 </X>
<Y> y_topping </Y>
<State> SugarState2 </Stage>
<Filename> "ROOT/taobin_project/image/topping/bn_sugar2.png" </Filename>
@ -373,14 +381,16 @@
<Volume> SoundVolume </Volume>
<EventClick>
If TOPPING1 = "Powder Sugar Premix 25" Then
If TOPPING1 = "Sugar Premix 25" Then
Var SugarState1 = "Invisible"
Var SugarState2 = "Invisible"
Var topping1 = "10"
Var SugarState2 = "PressForever"
Var topping1 = toppingID1index2
Else
Var SugarState1 = "Enable"
Var SugarState2 = "PressForever"
Var topping1 = "2"
Var topping1 = toppingID1index2
EndIf
Var SugarState3 = "Enable"
Var SugarState4 = "Enable"
@ -393,7 +403,7 @@
; sugar3
<Button>
<X> 503 </X>
<X> 507 </X>
<Y> y_topping </Y>
<State> SugarState3 </Stage>
<Filename> "ROOT/taobin_project/image/topping/bn_sugar3.png" </Filename>
@ -402,14 +412,16 @@
<Volume> SoundVolume </Volume>
<EventClick>
If TOPPING1 = "Powder Sugar Premix 25" Then
If TOPPING1 = "Sugar Premix 25" Then
Var SugarState1 = "Invisible"
Var SugarState2 = "Invisible"
Var topping1 = "11"
Var SugarState2 = "Enable"
Var topping1 = toppingID1index3
Else
Var SugarState1 = "Enable"
Var SugarState2 = "Enable"
Var topping1 = "3"
Var topping1 = toppingID1index3
EndIf
Var SugarState3 = "PressForever"
@ -422,7 +434,7 @@
; sugar4
<Button>
<X> 664 </X>
<X> 670 </X>
<Y> y_topping </Y>
<State> SugarState4 </Stage>
<Filename> "ROOT/taobin_project/image/topping/bn_sugar4.png" </Filename>
@ -431,14 +443,16 @@
<Volume> SoundVolume </Volume>
<EventClick>
If TOPPING1 = "Powder Sugar Premix 25" Then
If TOPPING1 = "Sugar Premix 25" Then
Var SugarState1 = "Invisible"
Var SugarState2 = "Invisible"
Var topping1 = "12"
Var SugarState2 = "Enable"
Var topping1 = toppingID1index4
Else
Var SugarState1 = "Enable"
Var SugarState2 = "Enable"
Var topping1 = "4"
Var topping1 = toppingID1index4
EndIf
Var SugarState3 = "Enable"
@ -451,7 +465,7 @@
; sugar5
<Button>
<X> 836 </X>
<X> 833 </X>
<Y> y_topping </Y>
<State> SugarState5 </Stage>
<Filename> "ROOT/taobin_project/image/topping/bn_sugar5.png" </Filename>
@ -460,14 +474,16 @@
<Volume> SoundVolume </Volume>
<EventClick>
If TOPPING1 = "Powder Sugar Premix 25" Then
If TOPPING1 = "Sugar Premix 25" Then
Var SugarState1 = "Invisible"
Var SugarState2 = "Invisible"
Var topping1 = "13"
Var SugarState2 = "Enable"
Var topping1 = toppingID1index5
Else
Var SugarState1 = "Enable"
Var SugarState2 = "Enable"
Var topping1 = "5"
Var topping1 = toppingID1index5
EndIf
Var SugarState3 = "Enable"

View file

@ -51,6 +51,8 @@
Var ShowVersionAll = BrewMachineFirmwareVersion + " | "
Var ShowVersionAll = ShowVersionAll + XMLPageVersion
Var ShowVersionAll = ShowVersionAll + " | "
Var ShowVersionAll = ShowVersionAll + taobin_version
Var IDCardState = "Invisible"
@ -110,6 +112,9 @@
<X> info_startX </X>
<Y> info_5Y </Y>
<Filename> "ROOT/taobin_project/image/tab_1.png" </Filename>
<EventClick>
Machine DoorClose
</EventClick>
</Image>
@ -118,6 +123,13 @@
<X> info2_startX </X>
<Y> info_1Y </Y>
<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"
TopView "show"
Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_main_blank.xml"
</EventClick>
</Image>