Remove block NCIC07_EVENT_CNT and update play-list
This commit is contained in:
parent
cddb610548
commit
12e1b630d5
25 changed files with 130 additions and 149 deletions
|
|
@ -40,6 +40,7 @@
|
|||
|
||||
Var EmergencyStop = "-"
|
||||
|
||||
|
||||
If EmergencyStop = "true" Then
|
||||
If DoorCupPosition = "bottom" Then
|
||||
; It normal
|
||||
|
|
@ -81,8 +82,34 @@
|
|||
DEBUGVAR NETCORE_EVENT_CNT_TMP
|
||||
|
||||
If NCIC07_EVENT_CNT = NETCORE_EVENT_CNT_TMP Then
|
||||
|
||||
Var NETCORE_LOST_COUNT_UP = NETCORE_LOST_COUNT_UP + 1
|
||||
DEBUGVAR NETCORE_LOST_COUNT_UP
|
||||
|
||||
If NETCORE_LOST_COUNT_UP > 900 Then
|
||||
If textStep > 3 Then
|
||||
Var textStep = 0
|
||||
Var MachineErrorDetailAll = MachineErrorDetailAll + " !"
|
||||
EndIf
|
||||
If textStep = 3 Then
|
||||
Var MachineErrorDetailAll = MachineErrorDetailAll + " !!"
|
||||
EndIf
|
||||
If textStep = 2 Then
|
||||
Var MachineErrorDetailAll = MachineErrorDetailAll + " !!!"
|
||||
EndIf
|
||||
If textStep = 1 Then
|
||||
Var MachineErrorDetailAll = MachineErrorDetailAll + " !!!!"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
Else
|
||||
|
||||
If stop_now_from_netcore_event = 1 Then
|
||||
Var stop_now = "false"
|
||||
SAVELOG "stop_now_from_netcore_event is set"
|
||||
Var stop_now_from_netcore_event = 0
|
||||
EndIf
|
||||
|
||||
If MachineStage = "" Then
|
||||
|
||||
Var LEDSet = "false"
|
||||
|
|
@ -105,7 +132,7 @@
|
|||
If MachineStage = "drink-failed" Then
|
||||
Var FirstOpen = 1
|
||||
Var LEDSet = "true"
|
||||
;Open "ROOT/taobin_project/xml/page_show_error.lxml"
|
||||
;Open "ROOT/taobin_project/xml/page_show_error.xml"
|
||||
Refresh
|
||||
EndIf
|
||||
|
||||
|
|
@ -114,7 +141,7 @@
|
|||
If MachineStage = "close-maintenance" Then
|
||||
|
||||
Var LEDSet = "true"
|
||||
;Open "ROOT/taobin_project/xml/page_show_error.lxml"
|
||||
;Open "ROOT/taobin_project/xml/page_show_error.xml"
|
||||
Refresh
|
||||
|
||||
EndIf
|
||||
|
|
@ -127,6 +154,7 @@
|
|||
|
||||
EndIf
|
||||
|
||||
|
||||
Var TimeOut = TimeOut + 1
|
||||
If TimeOut > 60 Then
|
||||
Var TimeOut = 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue