outservice mode
This commit is contained in:
parent
8c4c7fd928
commit
8ac3b19851
5 changed files with 468 additions and 4 deletions
|
|
@ -271,7 +271,7 @@
|
|||
|
||||
Else
|
||||
If NetworkStatus = "DOWN" Then
|
||||
Open "/ROOT/xml/outservice.xml"
|
||||
;Open "/ROOT/xml/outservice.xml"
|
||||
EndIf
|
||||
If NetworkStatus = "DEACTIVE" Then
|
||||
Open "/ROOT/xml/offline.xml"
|
||||
|
|
@ -432,7 +432,7 @@
|
|||
|
||||
<EventNetDown>
|
||||
SAVELOG NetworkStatus
|
||||
Open "/mnt/sdcard/coffeevending/xml/main.xml"
|
||||
;Open "/mnt/sdcard/coffeevending/xml/main.xml"
|
||||
</EventNetDown>
|
||||
|
||||
<EventNetDeactive>
|
||||
|
|
|
|||
|
|
@ -652,13 +652,15 @@
|
|||
|
||||
If MachineStage = "show-menu" Then
|
||||
If MachineState_Result = 0 Then
|
||||
Open "ROOT/taobin_project/xml/page_drinkok.xml"
|
||||
SAVELOG "back_to_main from line > 655."
|
||||
;Open "ROOT/taobin_project/xml/page_drinkok.xml"
|
||||
Var MachineState_Result = 1
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If MachineStage = "close-maintenance" Then
|
||||
If MachineState_Result = 0 Then
|
||||
SAVELOG "back_to_main from line > 488."
|
||||
SAVELOG "back_to_main from line > 663."
|
||||
Var MachineState_Result = 2
|
||||
;Open "ROOT/taobin_project/xml/page_drinkfail2.xml"
|
||||
EndIf
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue