lid straw problem

This commit is contained in:
miggaze 2022-03-03 11:30:58 +07:00
commit 44e33545ca
18 changed files with 2057 additions and 44 deletions

View file

@ -32,6 +32,8 @@
Var QRCODE8 = ""
Var CountStepPackPayment = 0
Var CountStepForCupFlagDelay = 1
Var Seeker.TaobinErrorNetwork = 0
@ -126,29 +128,34 @@
</EventOpen>
<Timeout> 900 </Timeout>
<EventTimeout>
DEBUGVAR Seeker
DEBUGVAR HaveCup
DEBUGVAR CupChecking
DEBUGVAR CountStepPackPayment
If Seeker = "curr" Then
If web_ready = "false" Then
If MachineStage = "remove-cup" Then
SAVELOG "MachineStage = remove-cup"
If HaveCup = "true" Then
Open "ROOT/taobin_project/xml/page_back_to_remove_cup.xml"
EndIf
If MachineStage = "remove-cup" Then
SAVELOG "MachineStage = remove-cup"
If HaveCup = "true" Then
Open "ROOT/taobin_project/xml/page_back_to_remove_cup.xml"
EndIf
EndIf
If CupChecking = "true" Then
If HaveCup = "true" Then
Open "ROOT/taobin_project/xml/page_back_to_remove_cup.xml"
If CupChecking = "true" Then
If HaveCup = "true" Then
Open "ROOT/taobin_project/xml/page_back_to_remove_cup.xml"
EndIf
EndIf
EndIf
EndIf
If CupChecking = "true" Then
Var CountStepForCupFlagDelay = 3
EndIf
If HaveCup = "true" Then
Var CountStepForCupFlagDelay = 3
EndIf
If ReadyForBrew = "false" Then
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
@ -162,14 +169,21 @@
EndIf
If CupChecking = "false" Then
If HaveCup = "false" Then
Var CountStepPackPayment = CountStepPackPayment + 1
EndIf
EndIf
;Var CountStepPackPayment = 1
If CountStepPackPayment = 1 Then
DEBUGVAR Seeker
DEBUGVAR HaveCup
DEBUGVAR CupChecking
DEBUGVAR CountStepPackPayment
DEBUGVAR CountStepForCupFlagDelay
If CountStepPackPayment = CountStepForCupFlagDelay Then
SAVELOG ExtendData