DO unify
This commit is contained in:
parent
922ae67bd3
commit
b7ad0d3ac8
85 changed files with 4360 additions and 5 deletions
|
|
@ -43,27 +43,32 @@
|
|||
EndIf
|
||||
EndIf
|
||||
|
||||
DEBUGVAR stop_now
|
||||
DEBUGVAR MachineStage
|
||||
|
||||
If MachineStage = "close-maintenance" 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
|
||||
|
||||
DEBUGVAR DirImage
|
||||
|
||||
If MachineStage = "drink-failed" Then
|
||||
If stop_now = "true" Then
|
||||
If show_eng = "true" Then
|
||||
|
|
@ -94,7 +99,7 @@
|
|||
LED LedDoorLid Off 255 255 255 255
|
||||
EndIf
|
||||
|
||||
Var MaintenanceCard = 16
|
||||
Var MaintenanceCard = 20
|
||||
Random MaintenanceCard
|
||||
Var index = 1 + MaintenanceCard
|
||||
|
||||
|
|
@ -111,6 +116,7 @@
|
|||
DEBUGVAR DoorLidPosition
|
||||
DEBUGVAR EmergencyStop
|
||||
|
||||
Var TimeOut = 0
|
||||
</EventOpen>
|
||||
<Timeout> 5000 </Timeout>
|
||||
<EventTimeout>
|
||||
|
|
@ -158,6 +164,13 @@
|
|||
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
Var TimeOut = TimeOut + 1
|
||||
If TimeOut > 12 Then
|
||||
Var TimeOut = 0
|
||||
Open "ROOT/taobin_project/xml/page_show_error.xml"
|
||||
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue