Fix bug page_thankyouConti.xml

This commit is contained in:
wanlop run 2024-09-24 23:47:36 +07:00
parent 875c4fbf81
commit cdb07f757d
61 changed files with 6469 additions and 6419 deletions

View file

@ -125,6 +125,9 @@
Var SlientRefreshEnable = 0
;include=ROOT/taobin_project/inc/remove_cup_event_open.inc
</EventOpen>
<Timeout> 1000 </Timeout>
<EventTimeout>
@ -141,31 +144,6 @@
DEBUGVAR Timeout2
If PaySuccessWithDaemonTask = 1 Then
If MakeContinue = 1 Then
Var MakeContinue = 0
Var NextOrder = "false"
TransferVar "next" "curr"
Var Seeker = "curr"
SAVELOG "go to next order by MakeContinue = 1"
Var CountDownBrewing = BrewTime
Var CountUpBrewing = 0
SAVELOG BrewTime
Var ShowCountDownBrewing = CountDownBrewing
If InternationalEnable = 1 Then
Var Brew3Inter = CountryRootPath + "/xml/page_brewing3.lxml"
Open Brew3Inter
Else
Open "ROOT/taobin_project/xml/page_brewing3.xml"
EndIf
EndIf
EndIf
Var Timeout2 = Timeout2 + 1
@ -189,9 +167,6 @@
EndIf
;include=ROOT/taobin_project/inc/remove_cup_step.inc
If MachineStage = "close-maintenance" Then
If stop_now = "true" Then
Open "ROOT/taobin_project/xml/page_cannotConti.xml"
@ -206,20 +181,20 @@
EndIf
If Timeout = 2 Then
If HaveCup = "false" Then
If MachineStage = "show-menu" Then
Var VideoPlayFile = VideoPath
Var VideoPlayFile = VideoPlayFile + VideoFileBegin
Var VideoPlayFile = VideoPlayFile + "1"
Var VideoPlayFile = VideoPlayFile + VideoFileEnd
Var VideoPlayFile = VideoPath
Var VideoPlayFile = VideoPlayFile + VideoFileBegin
Var VideoPlayFile = VideoPlayFile + "1"
Var VideoPlayFile = VideoPlayFile + VideoFileEnd
Var PictureFile = PicturePath
Var PictureFile = PictureFile + PictureBegin
Var PictureFile = PictureFile + "1"
Var PictureFile = PictureFile + PictureEnd
Var PictureFile = PicturePath
Var PictureFile = PictureFile + PictureBegin
Var PictureFile = PictureFile + "1"
Var PictureFile = PictureFile + PictureEnd
If CART_INDEX = 0 Then
DEBUGVAR Seeker.selected_a_drink
If NextOrderStatus = "Disable" Then
Var LastMakeDrinkResult = "fail"
@ -227,14 +202,12 @@
Var CountDownThankyou = 0
EndIf
Else
;Cart "MakeID" CART_INDEX
EndIf
EndIf
DEBUGVAR CountDownThankyou
; run test;
If CountDownThankyou = 0 Then
@ -246,8 +219,10 @@
Var CountDownBrewing = BrewTime
Var CountUpBrewing = 0
SAVELOG BrewTime
Var ShowCountDownBrewing = CountDownBrewing
Var MachineState_Result = 0
If MachineStage = "show-menu" Then
If PaySuccessWithDaemonTask = 1 Then
@ -282,6 +257,12 @@
EndIf
Var ShowCountDownBrewing = CountDownBrewing
;include=ROOT/taobin_project/inc/remove_cup_step.inc
Refresh
TimerReset
</EventTimeout>
@ -338,7 +319,9 @@
<Filename> Var( DirImage2 + "/bn_open_door.png" ) </Filename>
<FilenamePress> Var( DirImage2 + "/bp_open_door.png" ) </FilenamePress>
<EventClick>
;include=ROOT/taobin_project/inc/remove_cup_button.inc
</EventClick>
</Button>
@ -369,4 +352,4 @@
</Text>
</Popup>
</Popup>