taobin_project/xml/test_video_loop.xml
2021-09-21 23:59:04 +07:00

76 lines
1.6 KiB
XML

<Page>
<Scale> "ALL" </Scale>
<Width> HeadScreenWidth </Width>
<Height> HeadScreenHeight </Height>
<EventOpen>
Int VideoAdvIndex
Var VideoAdvIndex = VideoAdvIndex + 1
If VideoAdvIndex = 1 Then
If TermTemOnline = "true" Then
Open "ROOT/termtem_project/xml/test_video_loop.xml"
Else
Var HeadVideoFilename = video_main_0
EndIf
EndIf
If VideoAdvIndex = 2 Then
Var HeadVideoFilename = video_main_1
DEBUGVAR video_main_1
EndIf
If VideoAdvIndex = 3 Then
Var HeadVideoFilename = video_main_2
DEBUGVAR video_main_2
EndIf
If VideoAdvIndex = 4 Then
Var HeadVideoFilename = video_main_3
DEBUGVAR video_main_3
EndIf
If VideoAdvIndex = 5 Then
Var HeadVideoFilename = video_main_4
DEBUGVAR video_main_4
EndIf
If VideoAdvIndex = 6 Then
Var HeadVideoFilename = video_main_5
DEBUGVAR video_main_5
EndIf
DEBUGVAR VideoAdvIndex
DEBUGVAR video_main_count
If VideoAdvIndex >= video_main_count Then
Var VideoAdvIndex = 0
EndIf
Open "ROOT/taobin_project/xml/video_loop2.xml"
</EventOpen>
<Timeout> 5000 </Timeout>
<EventSecurity>
Open "/mnt/sdcard/coffeevending/xml/security_alarm.xml"
</EventSecurity>
<Image>
<X> 870 </X>
<Y> 0 </Y>
<Width> 200 </Width>
<Height> 200 </Height>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClickLong>
OpenInst 0 "//mnt/sdcard/coffeevending/taobin_project/xml/vending_info.xml"
;OpenInst 0 "//mnt/sdcard/coffeevending/taobin_project/xml/page_remove_cup.xml"
</EventClickLong>
</Image>
</Page>