This commit is contained in:
Wanlop 2020-09-16 20:05:55 +07:00
parent 665b5e5201
commit 4c7af91ebc
2 changed files with 40 additions and 4 deletions

View file

@ -8,7 +8,7 @@
; On open ; On open
Var LidState = "Enable" Var LidState = "Enable"
Var StarwState = "Enable" Var StarwState = "Enable"
Var LidStrawCountDown = 15
</EventOpen> </EventOpen>
<Timeout> 1000 </Timeout> <Timeout> 1000 </Timeout>
<EventTimeout> <EventTimeout>
@ -16,7 +16,13 @@
Var CountDownBrewing = CountDownBrewing - 1 Var CountDownBrewing = CountDownBrewing - 1
; run test; ; run test;
If CountDownBrewing = 58 Then ;If CountDownBrewing = 58 Then
; Open "ROOT/taobin_project/xml/menu_brewing.xml"
;EndIf
; count down
If LidStrawCountDown = 1 Then
Var LidStrawCountDown = 15
Open "ROOT/taobin_project/xml/menu_brewing.xml" Open "ROOT/taobin_project/xml/menu_brewing.xml"
EndIf EndIf

View file

@ -7,6 +7,7 @@
<Sound> "ROOT/sounds/selectPayment.wav" </Sound> <Sound> "ROOT/sounds/selectPayment.wav" </Sound>
<EventOpen> <EventOpen>
; On open ; On open
Var alphaState = "Invisible"
Var CoinInFlag = 0 Var CoinInFlag = 0
Var CoinAmount = 0 Var CoinAmount = 0
@ -435,7 +436,9 @@
<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 alphaState = "Enable"
Refresh
; If CoinInFlag = 0 Then ; If CoinInFlag = 0 Then
; Var BG_Menu_Page4 = "ROOT/image/BG_PromptPay_Page4.bmp" ; Var BG_Menu_Page4 = "ROOT/image/BG_PromptPay_Page4.bmp"
; Var PayState1 = "Enable" ; Var PayState1 = "Enable"
@ -481,7 +484,34 @@
<Value> "฿25" </Value> <Value> "฿25" </Value>
</Text> </Text>
<Image>
<X> 0 </X>
<Y> 380 </Y>
<State> alphaState </State>
<Filename> "ROOT/taobin_project/image/page_payment/alpha.png" </Filename>
</Image>
<Image>
<X> 249 </X>
<Y> 748 </Y>
<State> alphaState </State>
<Filename> "ROOT/taobin_project/image/page_payment/img_popup1.png" </Filename>
</Image>
<Button>
<X> 438 </X>
<Y> 1345 </Y>
<State> alphaState </State>
<Filename> "ROOT/taobin_project/image/page_payment/bn_cancel.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_payment/bp_cancel.png" </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var alphaState = "Invisible"
Refresh
</EventClick>
</Button>
<EventSecurity> <EventSecurity>
Open "/media/bt/xml/security_alarm.xml" Open "/media/bt/xml/security_alarm.xml"
</EventSecurity> </EventSecurity>