96 lines
No EOL
2.3 KiB
XML
96 lines
No EOL
2.3 KiB
XML
<Popup>
|
|
<Cache> "Enable" </Cache>
|
|
<Width> 1080 </Width>
|
|
<Height> 1920 </Height>
|
|
<Background> "0xeae6e1" </Background>
|
|
;<Sound> "ROOT/taobin_project/sounds/chaching.mp3" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventOpen>
|
|
|
|
Var Timeout = 0
|
|
Var LastMakeSpiralResult = 0
|
|
Var ShowSwapVDO = "ROOT/taobin_project/spiral/video/sp01.mp4"
|
|
GenHashWithTimeStamp SpiralRef
|
|
Var ServiceCredit = Seeker.sprial_frozen_fruit_select_product_code
|
|
SPIRAL_SELL ServiceCredit SpiralRef
|
|
|
|
Var TimeOutSmoothiesProcess = 120
|
|
DEBUGVAR SmoothieToPayment
|
|
|
|
</EventOpen>
|
|
<Timeout> 1000 </Timeout>
|
|
<EventTimeout>
|
|
|
|
Var Timeout = Timeout + 1
|
|
|
|
; test
|
|
;If Timeout > 10 Then
|
|
; Var LastMakeSpiralResult = 2
|
|
;EndIf
|
|
|
|
If LastMakeSpiralResult = 1 Then
|
|
|
|
Var SessionID4 = MachineSpiralID
|
|
Var SessionID4 = SessionID4 + ":"
|
|
Var SessionID4 = SessionID4 + MachineSpiralVMName
|
|
Var SessionID4 = SessionID4 + ":"
|
|
Var SessionID4 = SessionID4 + MachineSpiralSlotID
|
|
Var SessionID4 = SessionID4 + ":"
|
|
Var SessionID4 = SessionID4 + Seeker.sprial_frozen_fruit_select_product_code
|
|
Var SessionID4 = SessionID4 + ":"
|
|
Var SessionID4 = SessionID4 + 1
|
|
Var SessionID4 = SessionID4 + ":"
|
|
Var SessionID4 = SessionID4 + MachineSpiralRemaining
|
|
|
|
Var PayDetail="S:0:"
|
|
Var PayDetail = PayDetail + SessionID4
|
|
|
|
__CMD "SprialPayDetail" PayDetail "-" "-"
|
|
OpenInst 3 "ROOT/taobin_project/xml/topview2.xml"
|
|
Open "ROOT/taobin_project/inter/tha/xml/page_smoothie_suggest_and_process.xml"
|
|
EndIf
|
|
|
|
If LastMakeSpiralResult = 2 Then
|
|
|
|
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/process/spiral_pay_fail.ev"
|
|
|
|
Open "ROOT/taobin_project/xml/page_spiral_failed.xml"
|
|
|
|
EndIf
|
|
|
|
If Timeout > 120 Then
|
|
|
|
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/process/spiral_pay_fail.ev"
|
|
|
|
Open "ROOT/taobin_project/xml/page_back_to_failed.xml"
|
|
EndIf
|
|
|
|
TimerReset
|
|
Refresh
|
|
</EventTimeout>
|
|
|
|
|
|
|
|
<Video>
|
|
<X> 0 </X>
|
|
<Y> 700 </Y>
|
|
<Width> 1080</Width>
|
|
<Height> 840 </Height>
|
|
<Refresh> "Reload" </Refresh>
|
|
<Loop> "true" </Loop>
|
|
<Filename> ShowSwapVDO </Filename>
|
|
;<Filename> "ROOT/taobin_project/spiral/video/sp01.mp4" </Filename>
|
|
</Video>
|
|
|
|
<EventActionOk>
|
|
</EventActionOk>
|
|
|
|
;include="ROOT/taobin_project/inc/video.inc"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</Popup> |