outservice mode
This commit is contained in:
parent
8c4c7fd928
commit
8ac3b19851
5 changed files with 468 additions and 4 deletions
179
xml_main/outservice.xml
Normal file
179
xml_main/outservice.xml
Normal file
|
|
@ -0,0 +1,179 @@
|
|||
<BeginX>28</BeginX>
|
||||
<BeginY>255</BeginY>
|
||||
<OverrideBackground> "ROOT/ui/bg_main_menu2.png"</OverrideBackground>
|
||||
<Page>
|
||||
|
||||
<Width> 1024 </Width>
|
||||
<Height> 600 </Height>
|
||||
<Background> "/ROOT/pictures/outservice.bmp" </Background>
|
||||
<Timeout> 1000 </Timeout>
|
||||
<EventOpen>
|
||||
|
||||
TopView "hide"
|
||||
Var AdvPlanB = 1
|
||||
Var PlanBSummary = "/ROOT/pictures/planb_adv_summary_01.bmp"
|
||||
Var PlanBWorking = "/ROOT/pictures/planb_adv_working_01.bmp"
|
||||
Var AdvWorking = "/ROOT/pictures/adv_working_01.bmp"
|
||||
|
||||
Var MobilePromotion = 0
|
||||
Var MobilePromotion1 = 0
|
||||
Var Condomtest = ""
|
||||
Var SaveCal = ""
|
||||
Var ShutdownNow = ""
|
||||
Var TimeNetDown = 0
|
||||
Var Timeout = 0
|
||||
Var CdRandom1 = ""
|
||||
Var CdRandom2 = ""
|
||||
Var CdRandom3 = ""
|
||||
Var CdRandom4 = ""
|
||||
Var CdRandom5 = ""
|
||||
Var CdRandom6 = ""
|
||||
Open "/ROOT/xml/main.xml"
|
||||
</EventOpen>
|
||||
<EventTimeout>
|
||||
If BatteryStatus = "LOW" Then
|
||||
If PowerStatus = "BATTERY" Then
|
||||
Shutdown
|
||||
EndIf
|
||||
EndIf
|
||||
Var TimeNetDown = TimeNetDown + 1
|
||||
If TimeNetDown >= 600 Then
|
||||
Shutdown
|
||||
Else
|
||||
TimerReset
|
||||
Refresh
|
||||
EndIf
|
||||
</EventTimeout>
|
||||
<EventNetActive>
|
||||
Open "/ROOT/xml/main.xml"
|
||||
</EventNetActive>
|
||||
<EventNetDeactive>
|
||||
Open "/ROOT/xml/main.xml"
|
||||
</EventNetDeactive>
|
||||
<EventSecurity>
|
||||
Open "/ROOT/xml/security_alarm.xml"
|
||||
</EventSecurity>
|
||||
|
||||
<Text>
|
||||
<X> 20 </X>
|
||||
<Y> 20 </Y>
|
||||
<Size> 20 </Size>
|
||||
<Font> fontType1 </Font>
|
||||
<Color> 0xF0F0F0 </Color>
|
||||
<Transparent> 0 </Transparent>
|
||||
<Value> "ระดับสัญญาณ :" </Value>
|
||||
</Text>
|
||||
|
||||
<Text>
|
||||
<X> 180 </X>
|
||||
<Y> 20 </Y>
|
||||
<Size> 20 </Size>
|
||||
<Font> fontType1 </Font>
|
||||
<Color> 0xF0F0F0 </Color>
|
||||
<Transparent> 0 </Transparent>
|
||||
<Value> SignalStrength </Value>
|
||||
</Text>
|
||||
|
||||
<Text>
|
||||
<X> 20 </X>
|
||||
<Y> 47 </Y>
|
||||
<Size> 20 </Size>
|
||||
<Font> fontType1 </Font>
|
||||
<Color> 0xF0F0F0 </Color>
|
||||
<Transparent> 0 </Transparent>
|
||||
<Value> "Cell Site :" </Value>
|
||||
</Text>
|
||||
|
||||
<Text>
|
||||
<X> 140 </X>
|
||||
<Y> 47 </Y>
|
||||
<Size> 20 </Size>
|
||||
<Font> fontType1 </Font>
|
||||
<Color> 0xF0F0F0 </Color>
|
||||
<Transparent> 0 </Transparent>
|
||||
<Value> CellSite </Value>
|
||||
</Text>
|
||||
|
||||
<Text>
|
||||
<X> 20 </X>
|
||||
<Y> 80 </Y>
|
||||
<Size> 20 </Size>
|
||||
<Font> fontType1 </Font>
|
||||
<Color> 0xF0F0F0 </Color>
|
||||
<Transparent> 0 </Transparent>
|
||||
<Value> "ID :" </Value>
|
||||
</Text>
|
||||
|
||||
<Text>
|
||||
<X> 75 </X>
|
||||
<Y> 80 </Y>
|
||||
<Size> 20 </Size>
|
||||
<Font> fontType1 </Font>
|
||||
<Color> 0xF0F0F0 </Color>
|
||||
<Transparent> 0 </Transparent>
|
||||
<Value> BoxID </Value>
|
||||
</Text>
|
||||
|
||||
<Text>
|
||||
<X> 20 </X>
|
||||
<Y> 550 </Y>
|
||||
<Size> 20 </Size>
|
||||
<Font> fontType1 </Font>
|
||||
<Color> 0xF0F0F0 </Color>
|
||||
<Transparent> 0 </Transparent>
|
||||
<Value> GPRSStatus </Value>
|
||||
</Text>
|
||||
|
||||
; image click for maintenance
|
||||
<Image>
|
||||
<X> 680 </X>
|
||||
<Y> 0 </Y>
|
||||
<Width> 120 </Width>
|
||||
<Height> 120 </Height>
|
||||
<Visible> False </Visible>
|
||||
<EventClick> Open "/ROOT/xml/outservice_pwd.xml" </EventClick>
|
||||
<EventClickLong> Open "/ROOT/xml/maintain_pwd.xml" </EventClickLong>
|
||||
</Image>
|
||||
|
||||
;; image click I for Cal
|
||||
;<Image>
|
||||
;<X> 0 </X>
|
||||
;<Y> 0 </Y>
|
||||
;<Width> 120 </Width>
|
||||
;<Height> 120 </Height>
|
||||
;<Visible> False </Visible>
|
||||
;<EventClick>
|
||||
; Var SaveCal = "1"
|
||||
;</EventClick>
|
||||
;</Image>
|
||||
;
|
||||
;; image click II for Cal
|
||||
;<Image>
|
||||
;<X> 900 </X>
|
||||
;<Y> 480 </Y>
|
||||
;<Width> 120 </Width>
|
||||
;<Height> 120 </Height>
|
||||
;<Visible> False </Visible>
|
||||
;<EventClick>
|
||||
; If SaveCal = "1" Then
|
||||
; Open "/ROOT/xml/maintain_pwd.xml"
|
||||
; Else
|
||||
; Var SaveCal = ""
|
||||
; EndIf
|
||||
;</EventClick>
|
||||
;</Image>
|
||||
|
||||
; Image Flash for Advertise
|
||||
<Flash>
|
||||
<X> 361 </X>
|
||||
<Y> 65 </Y>
|
||||
<Width> 214 </Width>
|
||||
<Height> 300 </Height>
|
||||
<Filename> "/ROOT/pictures/outservice_00.bmp" </Filename>
|
||||
<Filename> "/ROOT/pictures/outservice_01.bmp" </Filename>
|
||||
<Filename> "/ROOT/pictures/outservice_02.bmp" </Filename>
|
||||
<Filename> "/ROOT/pictures/outservice_03.bmp" </Filename>
|
||||
<Interval> 500 </Interval>
|
||||
</Flash>
|
||||
|
||||
</Page>
|
||||
Loading…
Add table
Add a link
Reference in a new issue