move toggle invisible custom coffee condition from button to function 2
This commit is contained in:
parent
b0611e1507
commit
6400c87422
1 changed files with 21 additions and 39 deletions
|
|
@ -3369,28 +3369,8 @@
|
|||
|
||||
If showShotEnable = "Press" Then
|
||||
Var showShotEnable = "Enable"
|
||||
|
||||
If TOPPING7 = "water-level" Then
|
||||
Var showCustomCoffee = "Enable"
|
||||
EndIf
|
||||
|
||||
If TOPPING8 = "coffee-quantity" Then
|
||||
Var showCustomCoffee = "Enable"
|
||||
EndIf
|
||||
|
||||
If TOPPING9 = "single-shot-espv2" Then
|
||||
Var showCustomCoffee = "Enable"
|
||||
EndIf
|
||||
|
||||
If TOPPING10 = "tampping-espv2" Then
|
||||
Var showCustomCoffee = "Enable"
|
||||
EndIf
|
||||
|
||||
Else
|
||||
Var showShotEnable = "Press"
|
||||
|
||||
; Invisible showCustomCoffee
|
||||
Var showCustomCoffee = "Invisible"
|
||||
EndIf
|
||||
|
||||
Function 2
|
||||
|
|
@ -3422,27 +3402,8 @@
|
|||
If showShotEnable = "Press" Then
|
||||
Var showShotEnable = "Enable"
|
||||
|
||||
If TOPPING7 = "water-level" Then
|
||||
Var showCustomCoffee = "Enable"
|
||||
EndIf
|
||||
|
||||
If TOPPING8 = "coffee-quantity" Then
|
||||
Var showCustomCoffee = "Enable"
|
||||
EndIf
|
||||
|
||||
If TOPPING9 = "single-shot-espv2" Then
|
||||
Var showCustomCoffee = "Enable"
|
||||
EndIf
|
||||
|
||||
If TOPPING10 = "tampping-espv2" Then
|
||||
Var showCustomCoffee = "Enable"
|
||||
EndIf
|
||||
|
||||
Else
|
||||
Var showShotEnable = "Press"
|
||||
|
||||
; Invisible showCustomCoffee
|
||||
Var showCustomCoffee = "Invisible"
|
||||
EndIf
|
||||
|
||||
Function 2
|
||||
|
|
@ -5392,6 +5353,27 @@
|
|||
DEBUGVAR showCustomCoffee
|
||||
DEBUGVAR CustomCoffeeDefault
|
||||
|
||||
If showShotEnable = "Press" Then
|
||||
; Invisible showCustomCoffee
|
||||
Var showCustomCoffee = "Invisible"
|
||||
Else
|
||||
If TOPPING7 = "water-level" Then
|
||||
Var showCustomCoffee = "Enable"
|
||||
EndIf
|
||||
|
||||
If TOPPING8 = "coffee-quantity" Then
|
||||
Var showCustomCoffee = "Enable"
|
||||
EndIf
|
||||
|
||||
If TOPPING9 = "single-shot-espv2" Then
|
||||
Var showCustomCoffee = "Enable"
|
||||
EndIf
|
||||
|
||||
If TOPPING10 = "tampping-espv2" Then
|
||||
Var showCustomCoffee = "Enable"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If showCustomCoffee = "Enable" Then
|
||||
|
||||
If showCoffeeWater = "Enable" Then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue