Topping8: Fixed add shot coffee and milk-level for another state
This commit is contained in:
parent
31e52e77b9
commit
d7b4329dc9
1 changed files with 53 additions and 29 deletions
|
|
@ -1821,10 +1821,17 @@
|
||||||
Var CustomMilkState[1] = "Enable"
|
Var CustomMilkState[1] = "Enable"
|
||||||
Var CustomMilkState[2] = "Enable"
|
Var CustomMilkState[2] = "Enable"
|
||||||
Else
|
Else
|
||||||
Var CustomMilkState[0] = "Disable"
|
If TOPPING11 = "milk-level" Then
|
||||||
Var CustomMilkState[1] = "Disable"
|
Var CustomMilkState[0] = "Enable"
|
||||||
Var CustomMilkState[2] = "Disable"
|
Var CustomMilkState[1] = "Enable"
|
||||||
|
Var CustomMilkState[2] = "Enable"
|
||||||
|
Else
|
||||||
|
Var CustomMilkState[0] = "Disable"
|
||||||
|
Var CustomMilkState[1] = "Disable"
|
||||||
|
Var CustomMilkState[2] = "Disable"
|
||||||
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
Else
|
Else
|
||||||
Var CustomMilkState[0] = "Disable"
|
Var CustomMilkState[0] = "Disable"
|
||||||
Var CustomMilkState[1] = "Disable"
|
Var CustomMilkState[1] = "Disable"
|
||||||
|
|
@ -2215,15 +2222,22 @@
|
||||||
Var showShotNormalSoda = "Invisible"
|
Var showShotNormalSoda = "Invisible"
|
||||||
Var showShotEnableSoda = "Invisible"
|
Var showShotEnableSoda = "Invisible"
|
||||||
Else
|
Else
|
||||||
Var showShotNormalSoda = "Disable"
|
If toppingID13index2Status = "Enable" Then
|
||||||
Var showShotEnableSoda = "Disable"
|
Var showShotEnableSoda = "Enable"
|
||||||
|
Var showShotNormalSoda = "Enable"
|
||||||
|
Else
|
||||||
|
Var showShotNormalSoda = "Disable"
|
||||||
|
Var showShotEnableSoda = "Disable"
|
||||||
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
Else
|
||||||
|
Var showShotNormalSoda = "Disable"
|
||||||
|
Var showShotEnableSoda = "Disable"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
DEBUGVAR SubMenuGroupIDSlot6_1
|
DEBUGVAR SubMenuGroupIDSlot6_1
|
||||||
|
|
||||||
DEBUGVAR TOPPING3
|
DEBUGVAR TOPPING3
|
||||||
|
|
@ -2623,6 +2637,20 @@
|
||||||
Var CustomMilkState[2] = "Disable"
|
Var CustomMilkState[2] = "Disable"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
If TOPPING13 = "shot coffee" Then
|
||||||
|
If showShotNormalSoda = "Enable" Then
|
||||||
|
If showShotEnableSoda = "Enable" Then
|
||||||
|
Var showShotNormalSoda = "Press"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
Else
|
||||||
|
If showShotNormal = "Enable" Then
|
||||||
|
If showShotEnable = "Enable" Then
|
||||||
|
Var showShotNormal = "Press"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
Var SelectToppingType = 1
|
Var SelectToppingType = 1
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
@ -2682,34 +2710,30 @@
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
If CustomMilkState[0] = "Enable" Then
|
If TOPPING11 = "milk-level" Then
|
||||||
Var CustomMilkState[0] = "Disable"
|
|
||||||
EndIf
|
|
||||||
|
|
||||||
If CustomMilkState[1] = "Enable" Then
|
If CustomMilkState[0] = "Disable" Then
|
||||||
Var CustomMilkState[1] = "Disable"
|
Var CustomMilkState[0] = "Enable"
|
||||||
EndIf
|
EndIf
|
||||||
If CustomMilkState[2] = "Enable" Then
|
|
||||||
Var CustomMilkState[2] = "Disable"
|
|
||||||
EndIf
|
|
||||||
|
|
||||||
If CustomMilkState[0] = "PressForever" Then
|
If CustomMilkState[1] = "Disable" Then
|
||||||
Var CustomMilkState[0] = "Disable"
|
Var CustomMilkState[1] = "Enable"
|
||||||
EndIf
|
EndIf
|
||||||
|
If CustomMilkState[2] = "Disable" Then
|
||||||
|
Var CustomMilkState[2] = "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
If CustomMilkState[1] = "PressForever" Then
|
If CustomMilkState[0] = "Enable" Then
|
||||||
Var CustomMilkState[1] = "Disable"
|
If CustomMilkState[1] = "Enable" Then
|
||||||
EndIf
|
If CustomMilkState[2] = "Enable" Then
|
||||||
If CustomMilkState[2] = "PressForever" Then
|
Var CustomMilkState[1] = "PressForever" Then
|
||||||
Var CustomMilkState[2] = "Disable"
|
EndIf
|
||||||
EndIf
|
|
||||||
|
|
||||||
If CustomMilkState[0] = "Enable" Then
|
|
||||||
If CustomMilkState[1] = "Enable" Then
|
|
||||||
If CustomMilkState[2] = "Enable" Then
|
|
||||||
Var CustomMilkState[1] = "PressForever" Then
|
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
Else
|
||||||
|
Var CustomMilkState[0] = "Disable"
|
||||||
|
Var CustomMilkState[1] = "Disable"
|
||||||
|
Var CustomMilkState[2] = "Disable"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
If TOPPING13 = "shot coffee" Then
|
If TOPPING13 = "shot coffee" Then
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue