DO brew3.ing
This commit is contained in:
parent
04eebb6b41
commit
ee99310815
2 changed files with 15 additions and 5 deletions
|
|
@ -201,14 +201,15 @@
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
DEBUGVAR LastMakeDrinkResult
|
||||||
|
|
||||||
If LastMakeDrinkResult = "success" Then
|
If LastMakeDrinkResult = "success" Then
|
||||||
Var MachineState_Result = 1
|
Var MachineState_Result = 1
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
If LastMakeDrinkResult = "fail" Then
|
If LastMakeDrinkResult = "fail" Then
|
||||||
Var MachineState_Result = 2
|
SAVELOG "LastMakeDrinkResult is 2"
|
||||||
|
Var MachineState_Result = 2
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -374,6 +375,8 @@
|
||||||
|
|
||||||
Var Timeout = Timeout + 1
|
Var Timeout = Timeout + 1
|
||||||
|
|
||||||
|
DEBUGVAR MachineState_Result
|
||||||
|
|
||||||
|
|
||||||
If MOVE_CUP_TO_DOOR = "true" Then
|
If MOVE_CUP_TO_DOOR = "true" Then
|
||||||
Var MOVE_CUP_TO_DOOR = "false"
|
Var MOVE_CUP_TO_DOOR = "false"
|
||||||
|
|
@ -426,6 +429,7 @@
|
||||||
|
|
||||||
|
|
||||||
If Timeout > 480 Then
|
If Timeout > 480 Then
|
||||||
|
SAVELOG " Timeout > 480"
|
||||||
Var MachineState_Result = 2
|
Var MachineState_Result = 2
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
@ -548,6 +552,7 @@
|
||||||
Var waitAckPay = 2
|
Var waitAckPay = 2
|
||||||
Var Timeout = 5
|
Var Timeout = 5
|
||||||
Var ActionOKCase = 1
|
Var ActionOKCase = 1
|
||||||
|
SAVELOG "ActionOKCase = change OK 2"
|
||||||
|
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
|
@ -608,6 +613,7 @@
|
||||||
Var waitAckPay = 2
|
Var waitAckPay = 2
|
||||||
Var Timeout = 5
|
Var Timeout = 5
|
||||||
Var ActionOKCase = 1
|
Var ActionOKCase = 1
|
||||||
|
SAVELOG "ActionOKCase = change time out"
|
||||||
|
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
|
@ -652,6 +658,7 @@
|
||||||
PAYEXT SVT ACC VendingTSIDTmp DEE
|
PAYEXT SVT ACC VendingTSIDTmp DEE
|
||||||
|
|
||||||
Var ActionOKCase = 1
|
Var ActionOKCase = 1
|
||||||
|
SAVELOG "ActionOKCase = change OK 3"
|
||||||
If Seeker.CodeChannel = 0 Then
|
If Seeker.CodeChannel = 0 Then
|
||||||
SAVELOG "back_to_main from line > 391."
|
SAVELOG "back_to_main from line > 391."
|
||||||
Open "ROOT/taobin_project/xml/page_drinkfail2.xml"
|
Open "ROOT/taobin_project/xml/page_drinkfail2.xml"
|
||||||
|
|
@ -667,7 +674,7 @@
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
If MachineState_Result = 1 Then
|
If MachineState_Result = 1 Then
|
||||||
;Var MachineState_Result = 2
|
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
If MachineState_Result = 1 Then
|
If MachineState_Result = 1 Then
|
||||||
|
|
@ -884,6 +891,7 @@
|
||||||
If RoadShow = "true" Then
|
If RoadShow = "true" Then
|
||||||
Open "ROOT/taobin_project/xml/page_back_to_error.xml"
|
Open "ROOT/taobin_project/xml/page_back_to_error.xml"
|
||||||
Else
|
Else
|
||||||
|
SAVELOG " drink-failed...."
|
||||||
Var MachineState_Result = 2
|
Var MachineState_Result = 2
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
|
@ -1009,10 +1017,14 @@
|
||||||
Var MachineState_Result = 1
|
Var MachineState_Result = 1
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
DEBUGVAR MachineStage
|
||||||
|
|
||||||
If MachineStage = "drink-failed" Then
|
If MachineStage = "drink-failed" Then
|
||||||
If RoadShow = "true" Then
|
If RoadShow = "true" Then
|
||||||
Open "ROOT/taobin_project/xml/page_back_to_error.xml"
|
Open "ROOT/taobin_project/xml/page_back_to_error.xml"
|
||||||
Else
|
Else
|
||||||
|
SAVELOG "Event Machine drink fail"
|
||||||
Var MachineState_Result = 2
|
Var MachineState_Result = 2
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
|
|
||||||
|
|
@ -47,8 +47,6 @@
|
||||||
<X> 0 </X>
|
<X> 0 </X>
|
||||||
<Y> 381 </Y>
|
<Y> 381 </Y>
|
||||||
<Name>"usbfront"</Name>
|
<Name>"usbfront"</Name>
|
||||||
;<Width> 1280 </Width>
|
|
||||||
;<Height> 720 </Height>
|
|
||||||
<Width> 700 </Width>
|
<Width> 700 </Width>
|
||||||
<Height> 394 </Height>
|
<Height> 394 </Height>
|
||||||
</CameraX>
|
</CameraX>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue