This commit is contained in:
wanlop run 2024-06-05 15:35:36 +07:00
parent 5970ded75b
commit 127dfb6c9b
63 changed files with 53777 additions and 51911 deletions

View file

@ -25,7 +25,7 @@
EndIf
If StrCountryShort = "SGP" Then
Open "ROOT/taobin_project/inter/sgp/xml/page_remove_cup.lxml"
;Open "ROOT/taobin_project/inter/sgp/xml/page_remove_cup.lxml"
EndIf
@ -47,6 +47,7 @@
Var TimeoutInstance0 = 0
Var CheckCupStateDoorCupClose = "-"
Var CheckCupStateDoorCupCloseCnt = 0
Var CoundUpDelayCertainStage = 0
</EventOpen>
<Timeout> 1000 </Timeout>
<EventTimeout>
@ -55,12 +56,12 @@
Var MachineErrorDetailAll = MachineErrorDetailAll + MachineErrorDetailEng
DEBUGVAR HaveCup
DEBUGVAR CupOnArm
DEBUGVAR DoorCupPosition
DEBUGVAR CupChecking
DEBUGVAR CupArmMove
DEBUGVAR buttonRemoveCup
;DEBUGVAR HaveCup
;DEBUGVAR CupOnArm
;DEBUGVAR DoorCupPosition
;DEBUGVAR CupChecking
;DEBUGVAR CupArmMove
;DEBUGVAR buttonRemoveCup
; Add haveCup false for block display abnormal. Alternate between page_board.xml and this file.
If HaveCup = "false" Then
@ -130,6 +131,7 @@
Else
Var buttonRemoveCup = "Invisible"
Var CoundUpDelayCertainStage = 0
EndIf
If CupArmMove = "true" Then
@ -144,7 +146,10 @@
If HaveCup = "true" Then
If DoorCupPosition = "bottom" Then
If buttonRemoveCup = "Invisible" Then
Var buttonRemoveCup = "Enable"
Var CoundUpDelayCertainStage = CoundUpDelayCertainStage + 1
If CoundUpDelayCertainStage > 2 Then
Var buttonRemoveCup = "Enable"
EndIf
EndIf
EndIf
EndIf