DO wait
This commit is contained in:
parent
cd976b3f49
commit
01c4e279d0
4 changed files with 63 additions and 21 deletions
|
|
@ -1238,8 +1238,8 @@
|
|||
|
||||
If BrewTimeoutExtend = 1 Then
|
||||
DEBUGVAR BrewTimeoutExtend
|
||||
DEBUGVAR DoorLidPosition
|
||||
If DoorLidPosition = "bottom" Then
|
||||
DEBUGVAR DoorCupPosition
|
||||
If DoorCupPosition = "bottom" Then
|
||||
SAVELOG "BrewTimeoutExtend = 0 Clear Error Flag"
|
||||
Var BrewTimeoutExtend = 0
|
||||
; clear stage
|
||||
|
|
@ -1256,8 +1256,9 @@
|
|||
EndIf
|
||||
EndIf
|
||||
Else
|
||||
If DoorLidPosition = "Bottom" Then
|
||||
If DoorCupPosition = "Bottom" Then
|
||||
Var BrewTimeoutExtend = 0
|
||||
|
||||
Else
|
||||
Var BrewTimeoutExtend = 0
|
||||
EndIf
|
||||
|
|
|
|||
|
|
@ -151,6 +151,20 @@
|
|||
|
||||
Var EmergencyStop = "-"
|
||||
|
||||
If DoorCupPosition = "bottom" Then
|
||||
|
||||
If stop_now_from_door_cup = 1 Then
|
||||
Var stop_now = "false"
|
||||
Var EmergencyStop = "false"
|
||||
SAVELOG "stop_now_from_door_cup is set"
|
||||
Var stop_now_from_door_cup = 0
|
||||
Var MachineErrorDetailAll = " --- "
|
||||
|
||||
EndIf
|
||||
Else
|
||||
Var EmergencyStop = "true"
|
||||
EndIf
|
||||
|
||||
If EmergencyStop = "true" Then
|
||||
If DoorCupPosition = "bottom" Then
|
||||
; It normal
|
||||
|
|
@ -224,13 +238,7 @@
|
|||
Var stop_now_from_netcore_event = 0
|
||||
EndIf
|
||||
|
||||
If stop_now_from_door_cup = 1 Then
|
||||
Var stop_now = "false"
|
||||
SAVELOG "stop_now_from_door_cup is set"
|
||||
Var stop_now_from_door_cup = 0
|
||||
Var MachineErrorDetailAll = " --- "
|
||||
|
||||
EndIf
|
||||
|
||||
|
||||
If MachineStage = "" Then
|
||||
|
||||
|
|
|
|||
|
|
@ -152,6 +152,7 @@
|
|||
|
||||
|
||||
Var CanResetTouch = 0
|
||||
Var CountDownReset = 0
|
||||
Var strTouchScreen = " Reset Touch : disable."
|
||||
|
||||
</EventOpen>
|
||||
|
|
@ -239,11 +240,20 @@
|
|||
Var Text2_9 = Text2_9 + android_text3_2
|
||||
|
||||
|
||||
|
||||
|
||||
If AndroidTouchScreenHeartBeat = "-" Then
|
||||
Var strTouchScreen = " Reset Touch : Disable."
|
||||
Else
|
||||
Var strTouchScreen = " Reset Touch : " + AndroidTouchScreenHeartBeat
|
||||
Var CanResetTouch = 1
|
||||
DEBUGVAR CountDownReset
|
||||
If CountDownReset = 0 Then
|
||||
Var strTouchScreen = " Reset Touch : " + AndroidTouchScreenHeartBeat
|
||||
Var CanResetTouch = 1
|
||||
Else
|
||||
Var Timeout = 0
|
||||
Var strTouchScreen = " Reset Touch : " + CountDownReset
|
||||
Var CanResetTouch = 1
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
Refresh
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue