DO
This commit is contained in:
parent
3c63926a26
commit
255513a0c7
12 changed files with 74 additions and 17 deletions
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
Var UserSeletedSugar = 0
|
||||
|
||||
SAVELOG "Event Open Select 6"
|
||||
SAVELOG "Event Open Select 7"
|
||||
|
||||
If NoWaitMachineEnable = 1 Then
|
||||
Var ConfirmDrinkButtonState = "Enable"
|
||||
|
|
@ -360,7 +360,25 @@
|
|||
|
||||
DEBUGVar MenuReady
|
||||
If SelectDrinkType = 1 Then
|
||||
|
||||
If MenuReady = "YES" Then
|
||||
|
||||
|
||||
; echo -n true > /mnt/sdcard/coffeevending/menu_blend_free
|
||||
|
||||
READ_FILE "/mnt/sdcard/coffeevending/menu_blend_free" menu_blend_free
|
||||
DEBUGVAR menu_blend_free
|
||||
DEBUGVAR blend_button_state
|
||||
|
||||
If menu_blend_free = "true" Then
|
||||
If blend_button_state = "PressForever" Then
|
||||
Var PriceDrinkNoTop = 0
|
||||
Var PriceDrink = 0
|
||||
Var PriceDrinkTmpShow = "Free"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_blank.xml"
|
||||
Open "ROOT/taobin_project/xml/page_payment.xml"
|
||||
EndIf
|
||||
|
|
@ -3866,9 +3884,10 @@
|
|||
If UserSelectProductCode = "-" Then
|
||||
|
||||
Else
|
||||
|
||||
|
||||
If SelectDrinkType = 1 Then
|
||||
; MenuReady
|
||||
; Move to MenuReady
|
||||
;OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_blank.xml"
|
||||
;Open "ROOT/taobin_project/xml/page_payment.xml"
|
||||
EndIf
|
||||
|
|
@ -4203,8 +4222,6 @@
|
|||
Var PriceDrinkTmpShow = charOfBaht + PriceDrinkTmp
|
||||
|
||||
|
||||
|
||||
|
||||
If SelectDrinkType = 0 Then
|
||||
Var PriceDrinkTmpShow = "---"
|
||||
Else
|
||||
|
|
@ -4220,6 +4237,21 @@
|
|||
DEBUGVAR PriceDrinkTmpShow
|
||||
EndIf
|
||||
|
||||
|
||||
; echo -n true > /mnt/sdcard/coffeevending/menu_blend_free
|
||||
|
||||
READ_FILE "/mnt/sdcard/coffeevending/menu_blend_free" menu_blend_free
|
||||
DEBUGVAR menu_blend_free
|
||||
DEBUGVAR blend_button_state
|
||||
|
||||
If menu_blend_free = "true" Then
|
||||
If blend_button_state = "PressForever" Then
|
||||
Var PriceDrinkNoTop = 0
|
||||
Var PriceDrinkTmpShow = "Free"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
CRLFToSpace showname
|
||||
CRLFToSpace showdesc
|
||||
DEBUGVAR showname
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue