Add file select 5

This commit is contained in:
kong 2022-02-28 22:33:45 +07:00
parent 6b2caad97a
commit 3713f62d05
18 changed files with 2057 additions and 45 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,12 +169,18 @@
EndIf
If CupChecking = "false" Then
If HaveCup = "false" Then
Var CountStepPackPayment = CountStepPackPayment + 1
EndIf
EndIf
If CountStepPackPayment = 1 Then
DEBUGVAR Seeker
DEBUGVAR HaveCup
DEBUGVAR CupChecking
DEBUGVAR CountStepPackPayment
DEBUGVAR CountStepForCupFlagDelay
If CountStepPackPayment = CountStepForCupFlagDelay Then
SAVELOG ExtendData