This commit is contained in:
wanlop run 2024-05-27 11:35:01 +07:00
parent 8353cc8a08
commit dceadeb97b
11 changed files with 1311 additions and 575 deletions

View file

@ -509,24 +509,39 @@
DEBUGVAR MenuReady
DEBUGVAR CupRemain
If NoWaitMachineEnable = 1 Then
DEBUGVAR MachineStage
DEBUGVAR ConfirmDrinkButtonState
If MachineStage = "close-maintenance" Then
Var ConfirmDrinkButtonState = "Enable"
If stop_now = "true" Then
SAVELOG "stop_now is true page_topping_select7.xml"
;include="ROOT/taobin_project/inc/return_condition.ev"
EndIf
Else
Var ConfirmDrinkButtonState = "Invisible"
EndIf
EndIf
If CLOSE_ORDER_NOW = "true" Then
SAVELOG "DEACTIVE in page_topping_select7.xml"
;include="ROOT/taobin_project/inc/return_condition.ev"
EndIf
If SELLSTATUS = "DEACTIVE" Then
SAVELOG "DEACTIVE in page_topping_select7.xml"
;include="ROOT/taobin_project/inc/return_condition.ev"
;include="ROOT/taobin_project/inc/return_condition.ev"
EndIf
If SelectDrinkType = 1 Then
If MenuReady = "YES" Then
DEBUGVAR ToppingDetail
; echo -n true > /mnt/sdcard/coffeevending/menu_blend_free
READ_FILE "/mnt/sdcard/coffeevending/menu_blend_free" menu_blend_free
@ -649,33 +664,12 @@
Else
Var EmergencyStop = "true"
EndIf
EndIf
If NoWaitMachineEnable = 1 Then
DEBUGVAR MachineStage
DEBUGVAR ConfirmDrinkButtonState
If MachineStage = "close-maintenance" Then
Var ConfirmDrinkButtonState = "Enable"
If stop_now = "true" Then
If Seeker = "curr" Then
Open "ROOT/taobin_project/xml/page_back_to_error.xml"
Else
Open "ROOT/taobin_project/xml/page_brewing3Conti.xml"
EndIf
EndIf
Else
Var ConfirmDrinkButtonState = "Invisible"
EndIf
Else
EndIf
DEBUGVAR MenuReason
; arm-not-ready