This commit is contained in:
wanlop run 2024-03-01 19:28:42 +07:00
parent 2ac943e9ec
commit ba1cd21552
2 changed files with 134 additions and 2 deletions

View file

@ -821,15 +821,36 @@
EndIf
; run test;
;If CountDownBrewing = 40 Then
;I f CountDownBrewing = 40 Then
; Open "ROOT/taobin_project/xml/page_drinkok.xml"
;EndIf
;If CountDownBrewing = 0 Then
;I f CountDownBrewing = 0 Then
; ;Open "ROOT/taobin_project/xml/page_drinkok.xml"
;EndIf
Var ShowCountDownBrewing = CountDownBrewing
DEBUGVAR EnableDoubleCupNoError
DEBUGVAR HURR_FOREVER
If EnableDoubleCupNoError = 1 Then
If HURR_FOREVER = "F:1028" Then
Var SavePayDetail = HURR_FOREVER
Open "ROOT/taobin_project/xml/page_pickup_cup_from_error.xml"
EndIf
If HURR_FOREVER = "F:1029" Then
Var SavePayDetail = HURR_FOREVER
Open "ROOT/taobin_project/xml/page_pickup_cup_from_error.xml"
EndIf
If HURR_FOREVER = "F:1030" Then
Var SavePayDetail = HURR_FOREVER
Open "ROOT/taobin_project/xml/page_pickup_cup_from_error.xml"
EndIf
If HURR_FOREVER = "F:1031" Then
Var SavePayDetail = HURR_FOREVER
Open "ROOT/taobin_project/xml/page_pickup_cup_from_error.xml"
EndIf
EndIf
If Timeout > 540 Then
SAVELOG "back_to_main from line > 217."

View file

@ -0,0 +1,111 @@
<Popup>
<Cache> "Enable" </Cache>
<Width> 1080 </Width>
<Height> 1920 </Height>
<Background> "0xeae6e1" </Background>
<Volume> SoundVolume </Volume>
<Sound> "ROOT/sounds/Ding-dong.wav" </Sound>
<EventOpen>
Var Timeout = 0
SAVELOG "page_pickup_cup_from_error.xml"
DEBUGVAR EnableDoubleCupNoError
DEBUGVAR HURR_FOREVER
</EventOpen>
<Timeout> 1000 </Timeout>
<EventTimeout>
Var Timeout = Timeout + 1
DEBUGVAR HaveCup
DEBUGVAR CHECKCUP
DEBUGVAR DoorCupPosition
DEBUGVAR Timeout
If Timeout = 3 Then
If DoorCupPosition = "bottom" Then
Machine RemoveCup
EndIf
EndIf
If Timeout > 120 Then
SAVELOG "Not pickup CUP"
Open "ROOT/taobin_project/xml/page_brewing3Conti.xml"
EndIf
; Do not change
;
If MachineStage = "show-menu" Then
EndIf
If DoorCupPosition = "bottom" Then
Var buttonRemoveCup = "Enable"
Var txtDrinkOKState = "Enable"
EndIf
TimerReset
Refresh
</EventTimeout>
<EventChangeStatus>
If ChangeStatus = "payout-end" Then
Var MultiGo = 1
EndIf
</EventChangeStatus>
;include="ROOT/taobin_project/inc/video.inc"
<Image>
<X> 757 </X>
<Y> 424 </Y>
<Filename> next_pic_bg </Filename>
</Image>
<Image>
<X> 0 </X>
<Y> 1418 </Y>
<State> TextBottomShow </State>
<Filename> Var( DirImage + "text_bottom.png") </Filename>
</Image>
<Button>
<X> 160 </X>
<Y> 1673 </Y>
<State> buttonRemoveCup </State>
;<Color> "0x00BDFF" </Color>
<Interval> 500 </Interval>
<Filename> Var( DirImage + "/bn_open_door.png" ) </Filename>
<FilenamePress> Var( DirImage + "/bp_open_door.png" ) </FilenamePress>
<EventClick>
;Var buttonRemoveCup = "Invisible"
Machine RemoveCup
Machine DoorLidOpen
Refresh
</EventClick>
</Button>
<EventUnitTest1>
Var MachineStage = "show-menu"
</EventUnitTest1>
</Popup>