THAI INTER: Smoothie, Help center
This commit is contained in:
parent
aaeb2fa8bc
commit
f9fea323bc
76 changed files with 3713 additions and 117 deletions
133
xml/page_spiral_sell.xml
Normal file
133
xml/page_spiral_sell.xml
Normal file
|
|
@ -0,0 +1,133 @@
|
|||
<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 = "03-02-00-6001"
|
||||
SPIRAL_SELL ServiceCredit SpiralRef
|
||||
|
||||
Var SmoothieToPayment = 0
|
||||
Var TimeOutSmoothiesProcess = 120
|
||||
|
||||
</EventOpen>
|
||||
<Timeout> 1000 </Timeout>
|
||||
<EventTimeout>
|
||||
|
||||
Var Timeout = Timeout + 1
|
||||
|
||||
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 + ServiceCredit
|
||||
Var SessionID4 = SessionID4 + ":"
|
||||
Var SessionID4 = SessionID4 + 1
|
||||
Var SessionID4 = SessionID4 + ":"
|
||||
Var SessionID4 = SessionID4 + MachineSpiralRemaining
|
||||
|
||||
Var PayDetail="S:0:"
|
||||
Var PayDetail = PayDetail + SessionID4
|
||||
|
||||
Var Cid = 27
|
||||
Var PointCrm = CounterOrderId
|
||||
If FromCounterMulti = 1 Then
|
||||
Var PointCrm = PayReference
|
||||
EndIf
|
||||
Var GetScore = Seeker.VendingTSID
|
||||
Var param1 = PayDetail
|
||||
Var ACC = "0899999999"
|
||||
|
||||
AddData Cid ACC param1 PointCrm GetScore
|
||||
;Open "ROOT/taobin_project/xml/page_spiral_success.xml"
|
||||
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
|
||||
|
||||
Var SessionID4 = MachineSpiralID
|
||||
Var SessionID4 = SessionID4 + ":"
|
||||
Var SessionID4 = SessionID4 + MachineSpiralVMName
|
||||
Var SessionID4 = SessionID4 + ":"
|
||||
Var SessionID4 = SessionID4 + MachineSpiralSlotID
|
||||
Var SessionID4 = SessionID4 + ":"
|
||||
Var SessionID4 = SessionID4 + ServiceCredit
|
||||
Var SessionID4 = SessionID4 + ":"
|
||||
Var SessionID4 = SessionID4 + 1
|
||||
Var SessionID4 = SessionID4 + ":"
|
||||
Var SessionID4 = SessionID4 + MachineSpiralRemaining
|
||||
|
||||
Var PayDetail="F:"
|
||||
Var PayDetail = PayDetail + MachineSpiralErrorCode
|
||||
Var PayDetail = PayDetail + ":"
|
||||
Var PayDetail = PayDetail + SessionID4
|
||||
|
||||
Var Cid = 27
|
||||
Var PointCrm = CounterOrderId
|
||||
If FromCounterMulti = 1 Then
|
||||
Var PointCrm = PayReference
|
||||
EndIf
|
||||
Var GetScore = Seeker.VendingTSID
|
||||
Var param1 = PayDetail
|
||||
Var ACC = "0899999999"
|
||||
|
||||
AddData Cid ACC param1 PointCrm GetScore
|
||||
Open "ROOT/taobin_project/xml/page_spiral_failed.xml"
|
||||
|
||||
EndIf
|
||||
|
||||
If BoxID = 210699 Then
|
||||
;If Timeout > 10 Then
|
||||
;Open "ROOT/taobin_project/xml/page_spiral_failed.xml"
|
||||
;EndIf
|
||||
If Timeout > 10 Then
|
||||
OpenInst 3 "ROOT/taobin_project/xml/topview2.xml"
|
||||
Open "ROOT/taobin_project/inter/tha/xml/page_smoothie_suggest_and_process.xml"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If Timeout > 120 Then
|
||||
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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue