OK triple order menu
This commit is contained in:
parent
31a587ea0d
commit
abc4ade9fa
5 changed files with 25 additions and 10 deletions
|
|
@ -216,6 +216,7 @@
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
If waitAckPay = 1 Then
|
If waitAckPay = 1 Then
|
||||||
|
SAVELOG "waitAckPay = 1"
|
||||||
Open "ROOT/taobin_project/xml/page_drinkok.xml"
|
Open "ROOT/taobin_project/xml/page_drinkok.xml"
|
||||||
|
|
||||||
EndIf
|
EndIf
|
||||||
|
|
@ -332,6 +333,7 @@
|
||||||
If waitAckPay = 1 Then
|
If waitAckPay = 1 Then
|
||||||
If Timeout > 60 Then
|
If Timeout > 60 Then
|
||||||
Var VendingTSID = ""
|
Var VendingTSID = ""
|
||||||
|
SAVELOG "TIMEOUT=60"
|
||||||
Open "ROOT/taobin_project/xml/page_drinkok.xml"
|
Open "ROOT/taobin_project/xml/page_drinkok.xml"
|
||||||
|
|
||||||
EndIf
|
EndIf
|
||||||
|
|
@ -625,6 +627,7 @@
|
||||||
|
|
||||||
Var ServiceSuccess = "yes"
|
Var ServiceSuccess = "yes"
|
||||||
If waitAckPay = 0 Then
|
If waitAckPay = 0 Then
|
||||||
|
SAVELOG "waitAckPay=0"
|
||||||
Open "ROOT/taobin_project/xml/page_drinkok.xml"
|
Open "ROOT/taobin_project/xml/page_drinkok.xml"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
@ -708,7 +711,7 @@
|
||||||
|
|
||||||
If MachineStage = "show-menu" Then
|
If MachineStage = "show-menu" Then
|
||||||
If MachineState_Result = 0 Then
|
If MachineState_Result = 0 Then
|
||||||
SAVELOG "back_to_main from line > 655."
|
SAVELOG "back_to_main from line > 714."
|
||||||
;Open "ROOT/taobin_project/xml/page_drinkok.xml"
|
;Open "ROOT/taobin_project/xml/page_drinkok.xml"
|
||||||
Var MachineState_Result = 1
|
Var MachineState_Result = 1
|
||||||
EndIf
|
EndIf
|
||||||
|
|
@ -812,6 +815,7 @@
|
||||||
|
|
||||||
If IgnoreNetCore = "true" Then
|
If IgnoreNetCore = "true" Then
|
||||||
If CountDownBrewing = 0 Then
|
If CountDownBrewing = 0 Then
|
||||||
|
SAVELOG "CountDownBrewing=0"
|
||||||
Open "ROOT/taobin_project/xml/page_drinkok.xml"
|
Open "ROOT/taobin_project/xml/page_drinkok.xml"
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
|
|
||||||
|
|
@ -235,12 +235,16 @@
|
||||||
Open "ROOT/taobin_project/xml/page_drinkfail2.xml"
|
Open "ROOT/taobin_project/xml/page_drinkfail2.xml"
|
||||||
Else
|
Else
|
||||||
If NextOrder = "true" Then
|
If NextOrder = "true" Then
|
||||||
Var NextOrder = "false"
|
If HaveCup = "false" Then
|
||||||
|
If CHECKCUP = "false" Then
|
||||||
|
Var NextOrder = "false"
|
||||||
|
|
||||||
TransferVar "next" "curr"
|
TransferVar "next" "curr"
|
||||||
Var Seeker = "curr"
|
Var Seeker = "curr"
|
||||||
|
|
||||||
Open "ROOT/taobin_project/xml/page_thankyouConti.xml"
|
Open "ROOT/taobin_project/xml/page_thankyouConti.xml"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
Else
|
Else
|
||||||
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
|
||||||
|
|
@ -74,12 +74,13 @@
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
If MachineStage = "remove-cup" Then
|
If MachineStage = "remove-cup" Then
|
||||||
|
SAVELOG "MachineStage = remove-cup"
|
||||||
Open "ROOT/taobin_project/xml/page_back_to_remove_cup.xml"
|
Open "ROOT/taobin_project/xml/page_back_to_remove_cup.xml"
|
||||||
|
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
If CupChecking = "true" Then
|
If CupChecking = "true" Then
|
||||||
|
SAVELOG "CupChecking = true"
|
||||||
Open "ROOT/taobin_project/xml/page_back_to_remove_cup.xml"
|
Open "ROOT/taobin_project/xml/page_back_to_remove_cup.xml"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
@ -111,6 +112,7 @@
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
If MachineStage = "remove-cup" Then
|
If MachineStage = "remove-cup" Then
|
||||||
|
SAVELOG "MachineStage = remove-cup 2"
|
||||||
Open "ROOT/taobin_project/xml/page_back_to_remove_cup.xml"
|
Open "ROOT/taobin_project/xml/page_back_to_remove_cup.xml"
|
||||||
|
|
||||||
EndIf
|
EndIf
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@
|
||||||
<Volume> SoundVolume </Volume>
|
<Volume> SoundVolume </Volume>
|
||||||
<EventOpen>
|
<EventOpen>
|
||||||
; On open
|
; On open
|
||||||
Var CountDownThankyou = 3
|
Var CountDownThankyou = 4
|
||||||
Var CountDownBrewing = BrewTime
|
Var CountDownBrewing = BrewTime
|
||||||
Var CountUpBrewing = 0
|
Var CountUpBrewing = 0
|
||||||
SAVELOG BrewTime
|
SAVELOG BrewTime
|
||||||
|
|
@ -83,6 +83,8 @@
|
||||||
|
|
||||||
; Pack
|
; Pack
|
||||||
Topping "Pack" ExtendData
|
Topping "Pack" ExtendData
|
||||||
|
|
||||||
|
Var MachineStage = "NextOrder"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -112,6 +114,7 @@
|
||||||
Var PictureFile = PictureFile + PictureEnd
|
Var PictureFile = PictureFile + PictureEnd
|
||||||
|
|
||||||
If CART_INDEX = 0 Then
|
If CART_INDEX = 0 Then
|
||||||
|
DEBUGVAR Seeker.selected_a_drink
|
||||||
MakeDrinkV1 Seeker.selected_a_drink SelectSugarID
|
MakeDrinkV1 Seeker.selected_a_drink SelectSugarID
|
||||||
Else
|
Else
|
||||||
;Cart "MakeID" CART_INDEX
|
;Cart "MakeID" CART_INDEX
|
||||||
|
|
@ -125,12 +128,13 @@
|
||||||
; run test;
|
; run test;
|
||||||
If CountDownThankyou = 0 Then
|
If CountDownThankyou = 0 Then
|
||||||
|
|
||||||
|
DEBUGVAR MachineStage
|
||||||
|
|
||||||
Var CountDownBrewing = BrewTime
|
Var CountDownBrewing = BrewTime
|
||||||
Var CountUpBrewing = 0
|
Var CountUpBrewing = 0
|
||||||
SAVELOG BrewTime
|
SAVELOG BrewTime
|
||||||
Var ShowCountDownBrewing = CountDownBrewing
|
Var ShowCountDownBrewing = CountDownBrewing
|
||||||
|
Var MachineState_Result = 0
|
||||||
|
|
||||||
Open "ROOT/taobin_project/xml/page_brewing3.xml"
|
Open "ROOT/taobin_project/xml/page_brewing3.xml"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@
|
||||||
WEB "DISABLE"
|
WEB "DISABLE"
|
||||||
|
|
||||||
|
|
||||||
Open "ROOT/taobin_project/xml/page_topping_select3.xml"
|
DEBUGVAR EnableSelectMenuBetweenBrew
|
||||||
|
|
||||||
If JXMLVersionInt >= 369 Then
|
If JXMLVersionInt >= 369 Then
|
||||||
If EnableSelectMenuBetweenBrew = "Enable" Then
|
If EnableSelectMenuBetweenBrew = "Enable" Then
|
||||||
|
|
@ -18,6 +18,7 @@
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
Open "ROOT/taobin_project/xml/page_topping_select3.xml"
|
||||||
|
|
||||||
|
|
||||||
DEBUGVAR BrewVersionInt
|
DEBUGVAR BrewVersionInt
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue