This commit is contained in:
kong 2022-04-05 21:41:05 +07:00
parent 0fba08e702
commit 0d74111b97
11 changed files with 1414 additions and 376 deletions

View file

@ -181,6 +181,20 @@
Var cold_button_state = PD_STAGE_2
Var blend_button_state = PD_STAGE_3
; Protect have product-code but menu disable or invalid.
If hot_button_state = "Invisible" Then
Var hot_button_state = "Disable2"
EndIf
If cold_button_state = "Invisible" Then
Var cold_button_state = "Disable2"
EndIf
If blend_button_state = "Invisible" Then
Var blend_button_state = "Disable2"
EndIf
Function 2
@ -253,6 +267,7 @@
<Volume> SoundVolume </Volume>
<EventClick>
; eng
SAVELOG "Lang change!"
If show_eng = "true" Then
Var show_eng = "false"
Else
@ -300,7 +315,10 @@
Play "/mnt/sdcard/coffeevending/taobin_project/sound_thai/select_level.mp3"
EndIf
Function 2
If new_layout = "true" Then
Function 2
EndIf
RefreshAll
</EventClick>
@ -1814,6 +1832,7 @@
<FilenamePress> Var( DirImage + "/bp_next.png" )</FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
;Var Seeker = "curr"
@ -2012,6 +2031,9 @@
<Function2>
DEBUGVAR menu_name_thai_cold
SAVELOG "FUNCTION2"
Var TOPPING_PRICE = 0
@ -2019,7 +2041,7 @@
Var PriceDrinkNoTop = PriceD1
Var UserSelectProductCode = PD_CODE1
If showShotEnable = "Disable"
If showShotEnable = "Disable" Then
Var showShotEnable = "Enable"
EndIf
@ -2038,7 +2060,7 @@
Var PriceDrinkNoTop = PriceD2
Var UserSelectProductCode = PD_CODE2
If showShotEnable = "Disable"
If showShotEnable = "Disable" Then
Var showShotEnable = "Enable"
EndIf
Var showText4 = "Invisible"
@ -2056,7 +2078,7 @@
Var PriceDrinkNoTop = PriceD3
Var UserSelectProductCode = PD_CODE3
Var showShotEnable = "Disable"
Var showShotEnable = "Disable"
Var showText4 = "Enable"
If show_eng = "true" Then
@ -2107,6 +2129,8 @@
EndIf
DEBUGVAR showShotEnable
DEBUGVAR blendedState