xml/page_topping_select7.xml

This commit is contained in:
wanlop run 2023-12-25 13:04:08 +07:00
parent c7cb20fae9
commit e9852fca96
10 changed files with 14325 additions and 40 deletions

View file

@ -1163,32 +1163,32 @@
EndIf
If TOPPING10 = "tampping-espv2" Then
If TOPPING8 = "tampping-espv2" Then
Var CustomCoffeeEnable = "True"
Var showCustomCoffee = "Enable"
var showCoffeeTamping = "Enable"
If toppingID10Default = "" Then
If toppingID8Default = "" Then
Var CustomCoffeeTampingState[1] = "PressForever"
Else
If toppingID10index1 = toppingID10Default Then
Var CurrentCoffeeTampingId = toppingID10index1
If toppingID8index1 = toppingID8Default Then
Var CurrentCoffeeTampingId = toppingID8index1
Var CustomCoffeeTampingState[0] = "PressForever"
Var CustomCoffeeTampingState[1] = "Enable"
Var CustomCoffeeTampingState[2] = "Enable"
EndIf
If toppingID10index2 = toppingID10Default Then
Var CurrentCoffeeTampingId = toppingID10index2
If toppingID8index2 = toppingID8Default Then
Var CurrentCoffeeTampingId = toppingID8index2
Var CustomCoffeeTampingState[0] = "Enable"
Var CustomCoffeeTampingState[1] = "PressForever"
Var CustomCoffeeTampingState[2] = "Enable"
EndIf
If toppingID10index3 = toppingID10Default Then
Var CurrentCoffeeTampingId = toppingID10index3
If toppingID8index3 = toppingID8Default Then
Var CurrentCoffeeTampingId = toppingID8index3
Var CustomCoffeeTampingState[0] = "Enable"
Var CustomCoffeeTampingState[1] = "Enable"
Var CustomCoffeeTampingState[2] = "PressForever"
@ -4332,7 +4332,7 @@
Var CustomCoffeeTampingState[1] = "Enable"
Var CustomCoffeeTampingState[2] = "Enable"
Var CurrentCoffeeTampingId = toppingID10index1
Var CurrentCoffeeTampingId = toppingID8index1
Function 2
@ -4355,7 +4355,7 @@
Var CustomCoffeeTampingState[1] = "PressForever"
Var CustomCoffeeTampingState[2] = "Enable"
Var CurrentCoffeeTampingId = toppingID10index2
Var CurrentCoffeeTampingId = toppingID8index2
Function 2
@ -4379,7 +4379,7 @@
Var CustomCoffeeTampingState[1] = "Enable"
Var CustomCoffeeTampingState[2] = "PressForever"
Var CurrentCoffeeTampingId = toppingID10index3
Var CurrentCoffeeTampingId = toppingID8index3
Function 2
@ -5109,16 +5109,16 @@
If showCoffeeTamping = "Enable" Then
If CustomCoffeeTampingState[0] = "PressForever" Then
Var topping10 = toppingID10index1
Var topping8 = toppingID8index1
EndIf
If CustomCoffeeTampingState[1] = "PressForever" Then
Var topping10 = toppingID10index2
Var topping8 = toppingID8index2
EndIf
If CustomCoffeeTampingState[2] = "PressForever" Then
Var topping10 = toppingID10index3
Var topping8 = toppingID8index3
EndIf
Else
Var topping10 = 0
Var topping8 = 0
EndIf
Else
If toppingID2index3 = "" Then
@ -5639,7 +5639,7 @@
EndIf
If showCoffeeTamping = "Enable" Then
If CurrentCoffeeTampingId = toppingID10Default Then
If CurrentCoffeeTampingId = toppingID8Default Then
Else
Var CustomCoffeeDefault = "false"
EndIf