This commit is contained in:
kong 2020-12-26 01:33:30 +07:00
parent 9a768cf571
commit 2002701787
33 changed files with 2677 additions and 1600 deletions

View file

@ -11,8 +11,7 @@
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/topview_button_back_main.xml"
Var FileNumber = 1
Var sub_profile = "whey"
Var taobin_version = "1.05"
Var taobin_version = "1.11"
; 1.00 is
; On open
@ -60,6 +59,13 @@
EndIf
If MachineStage = "mcu-upgrade" Then
Open "ROOT/taobin_project/xml/page_show_error.xml"
EndIf
Var TestLoopMakeDrink = 0
Var TestLoopSuccess = 0
Var TestLoopFailed = 0
@ -96,15 +102,19 @@
EndIf
If NetworkStatus = "DEACTIVE" Then
Open "/ROOT/xml/offline.xml"
EndIf
EndIf
If MachineStage = "close-maintenance" Then
Open "ROOT/taobin_project/xml/page_show_error.xml"
EndIf
If MachineStage = "mcu-upgrade" Then
Open "ROOT/taobin_project/xml/page_show_error.xml"
EndIf
EndIf
If MachineStage = "drink-failed" Then
@ -116,9 +126,6 @@
Open "ROOT/taobin_project/xml/page_remove_cup.xml"
EndIf
SAVELOG MachineStage
Var CountDownShowButton = CountDownShowButton - 1
@ -152,9 +159,12 @@
<EventNetDown>
SAVELOG NetworkStatus
Open "/mnt/sdcard/coffeevending/xml/main.xml"
</EventNetDown>
<EventNetDeactive>
SAVELOG NetworkStatus
Open "/mnt/sdcard/coffeevending/xml/main.xml"
</EventNetDeactive>