Add sound engine and just
This commit is contained in:
parent
be860e4c5c
commit
691a292501
49 changed files with 837 additions and 368 deletions
|
|
@ -4,6 +4,7 @@
|
|||
<Height> 1920 </Height>
|
||||
<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<Sound> "ROOT/sounds/Ding-dong.wav" </Sound>
|
||||
<EventOpen>
|
||||
; On open
|
||||
Var LidState = "Enable"
|
||||
|
|
@ -21,6 +22,7 @@
|
|||
Var VideoPlayFile = VideoPlayFile + VideoFileBegin
|
||||
Var VideoPlayFile = VideoPlayFile + "24"
|
||||
Var VideoPlayFile = VideoPlayFile + VideoFileEnd
|
||||
Var Timeout = 0
|
||||
</EventOpen>
|
||||
<Timeout> 500 </Timeout>
|
||||
<EventTimeout>
|
||||
|
|
@ -33,6 +35,17 @@
|
|||
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
||||
|
||||
EndIf
|
||||
|
||||
If Timeout = 5 Then
|
||||
If show_eng = "true" Then
|
||||
Play "/mnt/sdcard/coffeevending/taobin_project/sound_eng/Straw.mp3"
|
||||
Else
|
||||
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
Var Timeout = Timeout + 1
|
||||
|
||||
TimerReset
|
||||
|
||||
</EventTimeout>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue