add inc
This commit is contained in:
parent
82e8d1fd01
commit
33147a9041
10 changed files with 2298 additions and 91 deletions
53
inc/timeout_lid_and_straw_step.inc
Normal file
53
inc/timeout_lid_and_straw_step.inc
Normal file
|
|
@ -0,0 +1,53 @@
|
|||
|
||||
|
||||
DEBUGVAR EnableGetMoreStrawFileName
|
||||
|
||||
If EnableGetMoreStrawFileName = "PressForever" Then
|
||||
DEBUGVAR GetMoreStrawCount
|
||||
If GetMoreStrawCount > 0 Then
|
||||
If EnableGetMoreStrawFileNameCountDown > 0 Then
|
||||
Var EnableGetMoreStrawFileNameCountDown = EnableGetMoreStrawFileNameCountDown - 1
|
||||
|
||||
If EnableGetMoreStrawFileNameCountDown = 0 Then
|
||||
Var EnableGetMoreStrawFileName = "Enable"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If GetMoreStrawCount <= 0 Then
|
||||
If StrawProblemStatus = 1 Then
|
||||
Var StrawProblemStatus = 2
|
||||
|
||||
Var bg_strawProblem_ST = "Enable"
|
||||
Var EnableTopupCreditBetweenBrew = "Invisible"
|
||||
Var EnableGetMoreStrawFileName = "Invisible"
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
|
||||
|
||||
If GetLidButtonCountDown > 0 Then
|
||||
Var GetLidButtonCountDown = GetLidButtonCountDown - 1
|
||||
DEBUGVAR GetLidButtonCountDown
|
||||
EndIf
|
||||
|
||||
If DoorLidSensorDetect = "true" Then
|
||||
Var DoorLidSensorDetect = "-"
|
||||
Var GetLidButtonState = "Invisible"
|
||||
Var bg_lidProblem_ST = "Invisible"
|
||||
Var GetLidButtonCountDown = 0
|
||||
EndIf
|
||||
|
||||
If GetLidButtonCountDown = 1 Then
|
||||
Var GetLidButtonState = "Invisible"
|
||||
Var bg_lidProblem_ST = "Enable"
|
||||
Var EnableTopupCreditBetweenBrew = "Invisible"
|
||||
|
||||
If EnableGetMoreStrawFileName = "Enable" Then
|
||||
Var XStraw = 280
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue