Fix many bug 6.32

This commit is contained in:
kong 2022-04-26 10:32:01 +07:00
parent efbc49ce98
commit 6dc2c89b7a
10 changed files with 60 additions and 56 deletions

View file

@ -250,6 +250,7 @@
DEBUGVAR CupChecking
DEBUGVAR MaybeHaveCup
DEBUGVAR NextOrder
DEBUGVAR DoorCupPosition
; Do not change
;
@ -269,31 +270,34 @@
Else
If HaveCup = "true" Then
Var buttonRemoveCup = "Enable"
Else
Var buttonRemoveCup = "Invisible"
If CupChecking = "true" Then
Else
Var buttonRemoveCup = "Enable"
EndIf
EndIf
If CupOnArm = "true" Then
Var buttonRemoveCup = "Enable"
Else
Var buttonRemoveCup = "Invisible"
EndIf
EndIf
Else
If sendPayMultiFlag = 1 Then
Var buttonRemoveCup = "Invisible"
If HaveCup = "true" Then
Var buttonRemoveCup = "Enable"
Else
Var buttonRemoveCup = "Invisible"
If CupChecking = "true" Then
Else
Var buttonRemoveCup = "Enable"
EndIf
EndIf
If CupOnArm = "true" Then
Var buttonRemoveCup = "Enable"
Else
Var buttonRemoveCup = "Invisible"
EndIf
Var Seeker.TNumberTaobinMember = ""
@ -314,13 +318,19 @@
Else
If CupOnArm = "false" Then
Var NextOrder = "false"
TransferVar "next" "curr"
Var Seeker = "curr"
SAVELOG "Make next order by take-cup"
Open "ROOT/taobin_project/xml/page_thankyouConti.xml"
If DoorCupPosition = "bottom" Then
Var NextOrder = "false"
TransferVar "next" "curr"
Var Seeker = "curr"
SAVELOG "Make next order by take-cup"
Open "ROOT/taobin_project/xml/page_thankyouConti.xml"
Else
Machine DoorLidClose
EndIf
EndIf
EndIf
EndIf