taobin_project/xml_main/offline.xml
2022-08-05 14:16:20 +07:00

64 lines
No EOL
1.4 KiB
XML

<Page>
<Width> 1024 </Width>
<Height> 600 </Height>
<Background> "/ROOT/pictures/offline.bmp" </Background>
<Sound> "/ROOT/sounds/outofservice.wav" </Sound>
<Volume> SoundVolume </Volume>
<Timeout> 10000 </Timeout>
<EventOpen>
TopView "hide"
If DeactivateCause = "Deactive Coin-Sensor(BO)" Then
Open "/ROOT/xml/offline_coinsensor.xml"
EndIf
If DeactivateCause = "xml error" Then
Open "/ROOT/xml/offline_xml_error.xml"
EndIf
If NetworkStatus = "DEACTIVE" Then
If TopupType = "OIL" Then
If XMLProfile = "General_NoCharge_100Up" Then
If DeactivateCause = "credit full" Then
Var ImageStaus01 = "Disable"
Open "/ROOT/xml/main.xml"
EndIf
EndIf
EndIf
EndIf
</EventOpen>
<EventTimeout>
If BatteryStatus = "LOW" Then
If PowerStatus = "BATTERY" Then
Shutdown
Open "/app/xml/shutdown_comp.xml"
EndIf
EndIf
DEBUGVAR NetworkStatus
If NetworkStatus = "DEACTIVE" Then
If SELLSTATUS = "DEACTIVE" Then
Else
Open "/ROOT/xml/main.xml"
EndIf
TimerReset
Else
Open "/ROOT/xml/main.xml"
EndIf
</EventTimeout>
<EventNetDown>
Open "/ROOT/xml/outservice.xml"
</EventNetDown>
<EventSecurity>
Open "/ROOT/xml/security_alarm.xml"
</EventSecurity>
; image click for maintenance
<Image>
<X> 900 </X>
<Y> 0 </Y>
<Width> 120 </Width>
<Height> 120 </Height>
<Visible> False </Visible>
<EventClick> Open "/ROOT/xml/page_board.xml" </EventClick>
</Image>
</Page>