This commit is contained in:
kong 2020-10-15 14:04:35 +07:00
parent 99727afcfc
commit 575685aa37
11 changed files with 121 additions and 27 deletions

View file

@ -16,12 +16,22 @@
</EventOpen>
<Timeout> 1000 </Timeout>
<EventTimeout>
;Open "ROOT/xml/page_board.xml"
Var CountDownBrewing = CountDownBrewing - 1
; run test;
;If CountDownBrewing = 40 Then
; Open "ROOT/taobin_project/xml/page_drinkok.xml"
;EndIf
If CountDownBrewing = 0 Then
Open "ROOT/taobin_project/xml/page_drinkok.xml"
EndIf
Var ShowCountDownBrewing = CountDownBrewing
Var Timeout = Timeout + 1
If Timeout > 20 Then
; goto lid straw
Open "ROOT/taobin_project/xml/page_lid_straw.xml"
Open "ROOT/taobin_project/xml/page_lid_straw.xml"
EndIf
TimerReset
@ -44,8 +54,8 @@
<Button>
<X> 750 </X>
<Y> 1782 </Y>
<Filename> "ROOT/taobin_project/image/bn_accept.bmp" </Filename>
<FilenamePress> "ROOT/taobin_project/image/bp_accept.bmp" </FilenamePress>
<Filename> "ROOT/taobin_project/image/consent/bn_accept.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/consent/bp_accept.png" </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
@ -61,8 +71,8 @@
<Button>
<X> 44 </X>
<Y> 1782 </Y>
<Filename> "ROOT/taobin_project/image/bn_decline.bmp" </Filename>
<FilenamePress> "ROOT/taobin_project/image/bย_decline.bmp" </FilenamePress>
<Filename> "ROOT/taobin_project/image/consent/bn_decline.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/consent/bย_decline.png" </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
@ -84,16 +94,35 @@
<Image>
<X> 59 </X>
<Y> 1290 </Y>
<Filename> "ROOT/taobin_project/image/img1.png" </Filename>
<Filename> "ROOT/taobin_project/image/consent/img1.png" </Filename>
</Image>
<Image>
<X> 106 </X>
<Y> 469 </Y>
<Filename> "ROOT/taobin_project/image/img3.png" </Filename>
<Filename> "ROOT/taobin_project/image/consent/img3.png" </Filename>
</Image>
<Image>
<X> 751 </X>
<Y> 413 </Y>
<Filename> "ROOT/taobin_project/image/page_doing/img2.png" </Filename>
</Image>
<Text>
<X> 808 </X>
<Y> 480 </Y>
<Width> 1080</Width>
<Align> "Hurr" </Align>
<Size> 88 </Size>
<Font> "ROOT/taobin_project/font/Roboto/Roboto-Regular.ttf"</Font>
<Color> 0x513C2F </Color>
<Value> ShowCountDownBrewing </Value>
</Text>
; show counter brewing
<Image>
<X> 751 </X>