add file and new advestise
This commit is contained in:
parent
0a6cc72644
commit
1e71e7300c
52 changed files with 131 additions and 59 deletions
|
|
@ -3,30 +3,28 @@
|
|||
<Scale> "ALL" </Scale>
|
||||
<Width> HeadScreenWidth </Width>
|
||||
<Height> HeadScreenHeight </Height>
|
||||
<Video>
|
||||
;<Volume> 0 </Volume>
|
||||
<Filename> "/mnt/sdcard/coffeevending/taobin_project/video/taobin_adv1.mp4" </Filename>
|
||||
</Video>
|
||||
<EventOpen>
|
||||
|
||||
Int VideoAdvIndex
|
||||
Var VideoAdvIndex = VideoAdvIndex + 1
|
||||
|
||||
If VideoAdvIndex = 1 Then
|
||||
Var HeadVideoFilename = "/mnt/sdcard/coffeevending/taobin_project/video/taobin_adv1.mp4"
|
||||
EndIf
|
||||
If VideoAdvIndex = 2 Then
|
||||
Var HeadVideoFilename = "/mnt/sdcard/coffeevending/taobin_project/video/taobin_adv3.mp4"
|
||||
EndIf
|
||||
|
||||
DEBUGVAR VideoAdvIndex
|
||||
|
||||
If VideoAdvIndex > 1 Then
|
||||
Var VideoAdvIndex = 0
|
||||
EndIf
|
||||
|
||||
Open "ROOT/taobin_project/xml/video_loop2.xml"
|
||||
|
||||
</EventOpen>
|
||||
|
||||
<Timeout> 14000 </Timeout>
|
||||
<EventTimeout>
|
||||
Var AdvImageFile = "/mnt/sdcard/coffeevending/taobin_project/image/adv_img_"
|
||||
Var AdvImageFile = AdvImageFile + FileNumber
|
||||
Var AdvImageFile = AdvImageFile + ".png"
|
||||
Var AdvImageTimeout = 8000
|
||||
Open "/mnt/sdcard/coffeevending/taobin_project/xml/adv_play.xml"
|
||||
</EventTimeout>
|
||||
<EventEnd>
|
||||
Var AdvImageFile = "/mnt/sdcard/coffeevending/taobin_project/image/adv_img_"
|
||||
Var AdvImageFile = AdvImageFile + FileNumber
|
||||
Var AdvImageFile = AdvImageFile + ".png"
|
||||
Var AdvImageTimeout = 8000
|
||||
Open "/mnt/sdcard/coffeevending/taobin_project/xml/adv_play.xml"
|
||||
</EventEnd>
|
||||
<Timeout> 5000 </Timeout>
|
||||
<EventSecurity>
|
||||
Open "/mnt/sdcard/coffeevending/xml/security_alarm.xml"
|
||||
</EventSecurity>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue