outservice mode

This commit is contained in:
miggaze 2021-08-16 11:44:14 +07:00
parent 8c4c7fd928
commit 8ac3b19851
5 changed files with 468 additions and 4 deletions

View file

@ -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>

View file

@ -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