snap 6.18
This commit is contained in:
parent
b1a2463545
commit
3f625325a9
24 changed files with 977 additions and 11 deletions
|
|
@ -176,6 +176,9 @@
|
|||
Var cold_button_state = PD_STAGE_2
|
||||
Var blend_button_state = PD_STAGE_3
|
||||
|
||||
|
||||
Function 2
|
||||
|
||||
Else
|
||||
Var show_select_type = "Invisible"
|
||||
EndIf
|
||||
|
|
@ -194,7 +197,6 @@
|
|||
|
||||
|
||||
|
||||
|
||||
</EventOpen>
|
||||
<Timeout> 1000 </Timeout>
|
||||
<EventTimeout>
|
||||
|
|
@ -907,6 +909,8 @@
|
|||
EndIf
|
||||
EndIf
|
||||
|
||||
DEBUGVAR blend_button_state
|
||||
|
||||
If blend_button_state = "Disable" Then
|
||||
|
||||
Else
|
||||
|
|
@ -917,6 +921,9 @@
|
|||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
Function 2
|
||||
|
||||
Refresh
|
||||
|
||||
|
||||
|
|
@ -944,15 +951,25 @@
|
|||
If hot_button_state = "Disable" Then
|
||||
|
||||
Else
|
||||
Var hot_button_state = "Enable"
|
||||
If hot_button_state = "Disable2" Then
|
||||
|
||||
Else
|
||||
Var hot_button_state = "Enable"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If blend_button_state = "Disable" Then
|
||||
|
||||
Else
|
||||
Var blend_button_state = "Enable"
|
||||
If blend_button_state = "Disable2" Then
|
||||
|
||||
Else
|
||||
Var blend_button_state = "Enable"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
Function 2
|
||||
|
||||
Refresh
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
|
@ -980,15 +997,24 @@
|
|||
If hot_button_state = "Disable" Then
|
||||
|
||||
Else
|
||||
Var hot_button_state = "Enable"
|
||||
If hot_button_state = "Disable2" Then
|
||||
|
||||
Else
|
||||
Var hot_button_state = "Enable"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If cold_button_state = "Disable" Then
|
||||
|
||||
Else
|
||||
Var cold_button_state = "Enable"
|
||||
If cold_button_state = "Disable2" Then
|
||||
|
||||
Else
|
||||
Var cold_button_state = "Enable"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
Function 2
|
||||
|
||||
Refresh
|
||||
</EventClick>
|
||||
|
|
@ -1445,7 +1471,12 @@
|
|||
Var showShotEnable = "Press"
|
||||
EndIf
|
||||
|
||||
Function 1
|
||||
If new_layout = "true" Then
|
||||
Function 2
|
||||
Else
|
||||
Function 1
|
||||
EndIf
|
||||
|
||||
|
||||
Refresh
|
||||
|
||||
|
|
@ -1477,7 +1508,12 @@
|
|||
Var showShotEnable = "Press"
|
||||
EndIf
|
||||
|
||||
Function 1
|
||||
If new_layout = "true" Then
|
||||
Function 2
|
||||
Else
|
||||
Function 1
|
||||
EndIf
|
||||
|
||||
|
||||
Refresh
|
||||
|
||||
|
|
@ -1961,6 +1997,94 @@
|
|||
|
||||
</Function1>
|
||||
|
||||
|
||||
|
||||
<Function2>
|
||||
SAVELOG "FUNCTION2"
|
||||
Var TOPPING_PRICE = 0
|
||||
|
||||
If hot_button_state = "PressForever" Then
|
||||
Var PriceDrinkNoTop = PriceD1
|
||||
Var UserSelectProductCode = PD_CODE1
|
||||
|
||||
If showShotEnable = "Disable"
|
||||
Var showShotEnable = "Enable"
|
||||
EndIf
|
||||
|
||||
Var showText4 = "Invisible"
|
||||
EndIf
|
||||
|
||||
If cold_button_state = "PressForever" Then
|
||||
Var PriceDrinkNoTop = PriceD2
|
||||
Var UserSelectProductCode = PD_CODE2
|
||||
|
||||
If showShotEnable = "Disable"
|
||||
Var showShotEnable = "Enable"
|
||||
EndIf
|
||||
Var showText4 = "Invisible"
|
||||
EndIf
|
||||
|
||||
If blend_button_state = "PressForever" Then
|
||||
Var PriceDrinkNoTop = PriceD3
|
||||
Var UserSelectProductCode = PD_CODE3
|
||||
|
||||
Var showShotEnable = "Disable"
|
||||
Var showText4 = "Enable"
|
||||
EndIf
|
||||
|
||||
|
||||
DEBUGVAR PriceDrinkNoTop
|
||||
DEBUGVAR PriceDiff
|
||||
DEBUGVAR showShotEnable
|
||||
|
||||
|
||||
If showShotEnable = "Press" Then
|
||||
If blendedState = "Press" Then
|
||||
Var PriceDrinkTmp = PriceDrinkNoTop
|
||||
EndIf
|
||||
|
||||
Var blendedState = "Disable"
|
||||
|
||||
Var TOPPING_PRICE = 0
|
||||
|
||||
;Var PriceDrinkTmp = PriceDrinkNoTop + toppingID2price2
|
||||
Var TOPPING_PRICE = TOPPING_PRICE + toppingID2price2
|
||||
|
||||
Var topping2 = toppingID2index2
|
||||
Var DisableUsingCode = "true"
|
||||
|
||||
Var showText7 = "Enable"
|
||||
|
||||
SAVELOG "Select add normal shot"
|
||||
Else
|
||||
If blendedState = "Disable" Then
|
||||
Var blendedState = "Enable"
|
||||
EndIf
|
||||
|
||||
|
||||
Var PriceDrinkTmp = PriceDrinkNoTop
|
||||
Var topping2 = toppingID2index1
|
||||
Var DisableUsingCode = "false"
|
||||
SAVELOG "Deselect add normal shot"
|
||||
|
||||
Var showText7 = "Invisible"
|
||||
|
||||
EndIf
|
||||
|
||||
DEBUGVAR showShotEnable
|
||||
DEBUGVAR blendedState
|
||||
|
||||
Var PriceDrinkTmp = PriceDrinkNoTop + TOPPING_PRICE
|
||||
Var PriceDrinkTmpShow = charOfBaht + PriceDrinkTmp
|
||||
|
||||
SAVELOG PriceDrinkTmp
|
||||
|
||||
|
||||
Var Timeout = 0
|
||||
|
||||
</Function2>
|
||||
|
||||
|
||||
<Text>
|
||||
<X> 924 </X>
|
||||
<Y> 1804 </Y>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue