AUS: fix black page.

This commit is contained in:
Kenta420 2024-08-29 10:18:36 +07:00
parent db3c7193a9
commit f12c08f709

View file

@ -32,25 +32,16 @@
DEBUGVAR MachineStage
DEBUGVAR stop_now
Var DirImage = "ROOT/taobin_project/inter/aus/image/vending_error_en"
If MachineStage = "mcu-upgrade" Then
Var DirImage = CountryRootPath + "image/vending_error_en"
EndIf
If NeedUpgrade = "true" Then
Var DirImage = CountryRootPath + "image/vending_error_en"
EndIf
DEBUGVAR MachineStage
If MachineStage = "close-maintenance" Then
DEBUGVAR stop_now
If stop_now = "true" Then
Var DirImage = CountryRootPath + "image/vending_error_en"
Else
Var show_error_normal = "Enable"
Var show_error_sp1 = "Invisible"
Var DirImage = CountryRootPath + "image/vending_error_en"
EndIf
EndIf
@ -58,23 +49,16 @@
If MachineStage = "drink-failed" Then
If stop_now = "true" Then
Var DirImage = CountryRootPath + "image/vending_error_en"
Else
Var show_error_normal = "Enable"
Var show_error_sp1 = "Invisible"
Var DirImage = CountryRootPath + "image/vending_error_en"
EndIf
EndIf
If NETCORE_LOST_CNT > 0 Then
Var DirImage = CountryRootPath + "image/vending_error_en"
EndIf
If NETCORE_EVENT_CNT_X >= 30 Then
Var NETCORE_EVENT_CNT_X = 0
Var DirImage = CountryRootPath + "image/vending_error_en"
EndIf
Var MaintenanceCard = 20
@ -96,6 +80,8 @@
Var textStep = 0
RootLayoutVisible 3 "show"
</EventOpen>
<Timeout> 1000 </Timeout>
<EventTimeout>
@ -238,22 +224,6 @@
;Open "ROOT/taobin_project/inter/aus/xml/page_show_error.lxml"
</EventTimeout>
<EventLanguageOnChange>
DEBUGVAR LanguageShow
Var LanguageButtonEnable = "Enable"
Var ButtonLanguageCurrentXPosition = 990
Var ButtonLanguageCurrentYPosition = 648
Var ButtonLanguageListXPosition = 970
Var ButtonLanguageListYPosition = 640
OpenInst 3 "ROOT/taobin_project/xml/topview2.xml"
Open "ROOT/taobin_project/inter/aus/xml/page_show_error.lxml"
Refresh
</EventLanguageOnChange>
<Image>
<State> show_error_normal </State>
<X> 69 </X>
@ -268,27 +238,6 @@
<Filename> Var(DirImage + "/img_error_aus.png") </Filename>
</Image>
;<Image>
;<State> show_error_sp1 </State>
;<X> 0 </X>
;<Y> 897 </Y>
;<Filename> Var(DirImage + "/img1.png") </Filename>
;</Image>
;
;<Image>
;<State> show_error_sp1 </State>
;<X> 0 </X>
;<Y> 694 </Y>
;<Filename> Var(DirImage + "/text1.png") </Filename>
;</Image>
;
;<Image>
;<State> show_error_sp1 </State>
;<X> 127 </X>
;<Y> 1685 </Y>
;<Filename> Var(DirImage + "/text2.png") </Filename>
;</Image>
<Button>
<X> 0 </X>
<Y> 1860 </Y>