Add page and block payment.xml when not ready

This commit is contained in:
kong 2021-07-07 15:44:43 +07:00
parent 632fe12b4b
commit 8343595362
3 changed files with 70 additions and 2 deletions

View file

@ -65,7 +65,7 @@
EndIf
If MachineStage = "remove-cup" Then
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
Open "ROOT/taobin_project/xml/page_back_to_remove_cup.xml"
EndIf
@ -74,6 +74,17 @@
</EventOpen>
<Timeout> 900 </Timeout>
<EventTimeout>
If ReadyForBrew = "false" Then
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
Var ReadyForBrew = "false"
EndIf
If MachineStage = "remove-cup" Then
Open "ROOT/taobin_project/xml/page_back_to_remove_cup.xml"
EndIf
Var CountStepPackPayment = CountStepPackPayment + 1
If CountStepPackPayment = 1 Then