This commit is contained in:
kong 2021-01-27 13:52:22 +07:00
parent f60ec66fd1
commit 2f001bbbd2
2 changed files with 72 additions and 66 deletions

View file

@ -188,7 +188,7 @@
<EventEnd>
;SAVELOG ShowButtonClick
;Var CountDownShowButton = 35
Var CountDownShowButton = 35
Var CountDownPauseVideo = 6
Refresh
</EventEnd>

View file

@ -146,6 +146,11 @@
Var CountDownBrewing = CountDownBrewing - 1
If Simulation = "true" Then
If CountDownBrewing = 0 Then
Open "ROOT/taobin_project/xml/page_drinkok.xml"
EndIf
EndIf
If Timeout = 4 Then
PlayLong "/mnt/sdcard/coffeevending/taobin_project/sounds/music1.mp3"
@ -659,27 +664,28 @@
;</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>
<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"
Open "ROOT/taobin_project/xml/page_drinkok.xml"
EndIf
Refresh
</EventClick>
</Button>
;
;<Text>
;<X> 0 </X>