New menu
This commit is contained in:
parent
eb69f897ae
commit
6fdda57c4a
74 changed files with 174 additions and 81 deletions
|
|
@ -11,8 +11,8 @@
|
|||
Var countClick2 = 0
|
||||
|
||||
|
||||
;DEBUGVAR MachineStage
|
||||
;DEBUGVAR stop_now
|
||||
DEBUGVAR MachineStage
|
||||
DEBUGVAR stop_now
|
||||
|
||||
Var show_error_normal = "Invisible"
|
||||
Var show_error_sp1 = "Enable"
|
||||
|
|
@ -55,6 +55,26 @@
|
|||
EndIf
|
||||
EndIf
|
||||
|
||||
If MachineStage = "drink-failed" Then
|
||||
If stop_now = "true" Then
|
||||
If show_eng = "true" Then
|
||||
Var DirImage = "ROOT/taobin_project/image/vending_error_en/"
|
||||
|
||||
Else
|
||||
Var DirImage = "ROOT/taobin_project/image/vending_error"
|
||||
EndIf
|
||||
Else
|
||||
Var show_error_normal = "Enable"
|
||||
Var show_error_sp1 = "Invisible"
|
||||
If show_eng = "true" Then
|
||||
Var DirImage = "ROOT/taobin_project/image/close_en/"
|
||||
|
||||
Else
|
||||
Var DirImage = "ROOT/taobin_project/image/close_th"
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
StopLongPlay
|
||||
|
||||
|
|
@ -78,7 +98,7 @@
|
|||
EndIf
|
||||
|
||||
|
||||
|
||||
|
||||
</EventOpen>
|
||||
<Timeout> 5000 </Timeout>
|
||||
<EventTimeout>
|
||||
|
|
@ -100,6 +120,23 @@
|
|||
|
||||
EndIf
|
||||
|
||||
If MachineStage = "drink-failed" Then
|
||||
Var FirstOpen = 1
|
||||
Var LEDSet = "true"
|
||||
Open "ROOT/taobin_project/xml/page_show_error.xml"
|
||||
|
||||
EndIf
|
||||
|
||||
If FirstOpen = 1 Then
|
||||
Var FirstOpen = 0
|
||||
If MachineStage = "close-maintenance" Then
|
||||
|
||||
Var LEDSet = "true"
|
||||
Open "ROOT/taobin_project/xml/page_show_error.xml"
|
||||
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
Refresh
|
||||
TimerReset
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue