update page_show_error aus

This commit is contained in:
Kenta420 2024-05-07 11:22:47 +07:00
parent 438d01f074
commit 691483cf13
25 changed files with 479 additions and 67 deletions

View file

@ -8,7 +8,11 @@
Var CheckCupStateDoorCupClose = ""
If InternationalEnable = 1 Then
OpenInst 0 "/mnt/sdcard/coffeevending/taobin_project/xml/page_show_error.lxml"
If CountryName = "Australia" Then
OpenInst 0 "/mnt/sdcard/coffeevending/taobin_project/inter/aus/xml/page_show_error.lxml"
Else
OpenInst 0 "/mnt/sdcard/coffeevending/taobin_project/xml/page_show_error.lxml"
EndIf
Else
OpenInst 0 "/mnt/sdcard/coffeevending/taobin_project/xml/page_show_error.xml"
EndIf

View file

@ -975,40 +975,23 @@
If NoWaitMachineEnable = 1 Then
If stop_now = "true" Then
If InternationalEnable = 1 Then
Open "ROOT/taobin_project/xml/page_show_error.lxml"
Else
Open "ROOT/taobin_project/xml/page_show_error.xml"
EndIf
TRY "ROOT/taobin_project/xml/sometime/script_open_page_show_error.ev"
EndIf
Else
If MachineStage = "close-maintenance" Then
If InternationalEnable = 1 Then
RootLayoutVisible 3 "hide"
Open "ROOT/taobin_project/xml/page_show_error.lxml"
Else
Open "ROOT/taobin_project/xml/page_show_error.xml"
EndIf
TRY "ROOT/taobin_project/xml/sometime/script_open_page_show_error.ev"
EndIf
EndIf
If MachineStage = "mcu-upgrade" Then
If InternationalEnable = 1 Then
Open "ROOT/taobin_project/xml/page_show_error.lxml"
Else
Open "ROOT/taobin_project/xml/page_show_error.xml"
EndIf
TRY "ROOT/taobin_project/xml/sometime/script_open_page_show_error.ev"
EndIf
If NeedUpgrade = "true" Then
If InternationalEnable = 1 Then
Open "ROOT/taobin_project/xml/page_show_error.lxml"
Else
Open "ROOT/taobin_project/xml/page_show_error.xml"
EndIf
TRY "ROOT/taobin_project/xml/sometime/script_open_page_show_error.ev"
EndIf
If RoadShow = "true" Then
@ -1104,37 +1087,21 @@
If NoWaitMachineEnable = 1 Then
If RecoveryRunning = "true" Then
If InternationalEnable = 1 Then
Open "ROOT/taobin_project/xml/page_show_error.lxml"
Else
Open "ROOT/taobin_project/xml/page_show_error.xml"
EndIf
TRY "ROOT/taobin_project/xml/sometime/script_open_page_show_error.ev"
EndIf
If stop_now = "true" Then
If InternationalEnable = 1 Then
Open "ROOT/taobin_project/xml/page_show_error.lxml"
Else
Open "ROOT/taobin_project/xml/page_show_error.xml"
EndIf
TRY "ROOT/taobin_project/xml/sometime/script_open_page_show_error.ev"
EndIf
Else
If MachineStage = "close-maintenance" Then
If InternationalEnable = 1 Then
Open "ROOT/taobin_project/xml/page_show_error.lxml"
Else
Open "ROOT/taobin_project/xml/page_show_error.xml"
EndIf
TRY "ROOT/taobin_project/xml/sometime/script_open_page_show_error.ev"
EndIf
EndIf
If MachineStage = "mcu-upgrade" Then
If InternationalEnable = 1 Then
Open "ROOT/taobin_project/xml/page_show_error.lxml"
Else
Open "ROOT/taobin_project/xml/page_show_error.xml"
EndIf
TRY "ROOT/taobin_project/xml/sometime/script_open_page_show_error.ev"
EndIf
@ -1144,11 +1111,7 @@
Var stop_now = "true"
Var MachineErrorDetailAll = "???"
SAVELOG "NETCORE_LOST_CNT"
If InternationalEnable = 1 Then
Open "ROOT/taobin_project/xml/page_show_error.lxml"
Else
Open "ROOT/taobin_project/xml/page_show_error.xml"
EndIf
TRY "ROOT/taobin_project/xml/sometime/script_open_page_show_error.ev"
EndIf
@ -1175,11 +1138,7 @@
Var MachineErrorDetailAll = "Netcore Lost"
SAVELOG "Netcore Lost NCIC07_EVENT_CNT"
DEBUGVAR NCIC07_EVENT_CNT
If InternationalEnable = 1 Then
Open "ROOT/taobin_project/xml/page_show_error.lxml"
Else
Open "ROOT/taobin_project/xml/page_show_error.xml"
EndIf
TRY "ROOT/taobin_project/xml/sometime/script_open_page_show_error.ev"
EndIf
Else
@ -1192,11 +1151,7 @@
EndIf
If MachineStage = "drink-failed" Then
If InternationalEnable = 1 Then
Open "ROOT/taobin_project/xml/page_show_error.lxml"
Else
Open "ROOT/taobin_project/xml/page_show_error.xml"
EndIf
TRY "ROOT/taobin_project/xml/sometime/script_open_page_show_error.ev"
EndIf
@ -1218,11 +1173,7 @@
Var stop_now = "true"
Var stop_now_from_door_cup = 1
If InternationalEnable = 1 Then
Open "ROOT/taobin_project/xml/page_show_error.lxml"
Else
Open "ROOT/taobin_project/xml/page_show_error.xml"
EndIf
TRY "ROOT/taobin_project/xml/sometime/script_open_page_show_error.ev"
EndIf
Else
If DoorCupPosition = "Bottom" Then
@ -1236,11 +1187,7 @@
If NeedUpgrade = "true" Then
If InternationalEnable = 1 Then
Open "ROOT/taobin_project/xml/page_show_error.lxml"
Else
Open "ROOT/taobin_project/xml/page_show_error.xml"
EndIf
TRY "ROOT/taobin_project/xml/sometime/script_open_page_show_error.ev"
EndIf
If CountDownShowButton > 0 Then

View file

@ -0,0 +1,13 @@
If InternationalEnable = 1 Then
If MachineStage = "close-maintenance" Then
RootLayoutVisible 3 "hide"
EndIf
If CountryName = "Australia" Then
Open "ROOT/taobin_project/inter/aus/xml/page_show_error.lxml"
Else
Open "ROOT/taobin_project/xml/page_show_error.lxml"
EndIf
Else
Open "ROOT/taobin_project/xml/page_show_error.xml"
EndIf