This commit is contained in:
kong 2023-03-30 16:33:25 +07:00
parent 1c20abc0e9
commit c0e196462d
26 changed files with 1901 additions and 2092 deletions

View file

@ -138,17 +138,16 @@
Var CountDownBrewing = CountDownBrewing - 1
DEBUGVAR MachineStage
DEBUGVAR stop_now
DEBUGVAR CupOnArm
DEBUGVAR HaveCup
DEBUGVAR CHECKCUP
DEBUGVAR CupChecking
DEBUGVAR MaybeHaveCup
DEBUGVAR DoorCupPosition
DEBUGVAR CountUpDoorCupOpen
DEBUGVAR Timeout
DEBUGVAR Timeout2
DEBUGVAR MakeContinue
If PaySuccessWithDaemonTask = 1 Then
If MakeContinue = 1 Then
Var MakeContinue = 0
@ -214,7 +213,7 @@
Else
If CupChecking = "true" Then
Else
Else
Var buttonRemoveCup = "Enable"
Var txtDrinkOKState = "Enable"
EndIf
@ -236,6 +235,8 @@
Else
Var buttonRemoveCup = "Invisible"
Var Timeout = 0
Var CountUpDoorCupOpen = CountUpDoorCupOpen + 1
If CountUpDoorCupOpen > 80 Then
Var CountUpDoorCupOpen = 60
@ -283,7 +284,7 @@
Var LastMakeDrinkResult = "fail"
Else
Var CountDownThankyou = 0
Var CountDownThankyou = 0
EndIf
Else
;Cart "MakeID" CART_INDEX
@ -299,6 +300,7 @@
; reset all var
DEBUGVAR MachineStage
SAVELOG "CountDownThankyou = 0"
Var CountDownBrewing = BrewTime
Var CountUpBrewing = 0