From be4b1f8111487f9142e033a19794ac82b7e4f1f7 Mon Sep 17 00:00:00 2001 From: worawut Date: Wed, 16 Nov 2022 15:02:31 +0700 Subject: [PATCH] spiral makedrink2 --- spiral/xml/page_spiral_check_cash.xml | 6 ++++++ spiral/xml/page_spiral_payment_cash.xml | 2 +- spiral/xml/page_spiral_thankyou.xml | 14 ++++++++++---- 3 files changed, 17 insertions(+), 5 deletions(-) diff --git a/spiral/xml/page_spiral_check_cash.xml b/spiral/xml/page_spiral_check_cash.xml index 205f7cf5..083414f8 100644 --- a/spiral/xml/page_spiral_check_cash.xml +++ b/spiral/xml/page_spiral_check_cash.xml @@ -10,6 +10,12 @@ Var GotoStoreCredit0 = 0 Var LastMakeSpiralResult = 0 Var MachineSpiralStage = "" + If SellLeaw = 0 Then + SPIRAL_SELL ServiceCredit SpiralRef + Var TestSellSpiral = 1 + DEBUGVAR TestSellSpiral + Var SellLeaw = 1 + EndIf 1000 diff --git a/spiral/xml/page_spiral_payment_cash.xml b/spiral/xml/page_spiral_payment_cash.xml index 699927f8..1ade88db 100644 --- a/spiral/xml/page_spiral_payment_cash.xml +++ b/spiral/xml/page_spiral_payment_cash.xml @@ -6,7 +6,7 @@ SoundVolume PlaySoundLag - + Var SellLeaw = 0 DEBUGVAR QRCODETMP DEBUGVAR IsSmoRet diff --git a/spiral/xml/page_spiral_thankyou.xml b/spiral/xml/page_spiral_thankyou.xml index db4364d8..119a4e3b 100644 --- a/spiral/xml/page_spiral_thankyou.xml +++ b/spiral/xml/page_spiral_thankyou.xml @@ -81,8 +81,14 @@ Var VendingCampaign = Seeker.VendingCampaign ;SendSpiralResult = spiral-success , spiral-failed , spiral-valid , spiral-invalid - SPIRAL_SELL ServiceCredit SpiralRef - + If SellLeaw = 1 Then + Refresh + Else + SPIRAL_SELL ServiceCredit SpiralRef + Var TestSellSpiral = 2 + DEBUGVAR TestSellSpiral + Var SellLeaw = 1 + EndIf 1000 @@ -416,9 +422,9 @@ ; EndIf ;EndIf - If Timeout > 210 Then + If Timeout > 180 Then Var LastMakeSpiralResult = 2 - SAVELOG "Spiral Timeout 210 sec" + SAVELOG "Spiral Timeout 180 sec" Open "ROOT/taobin_project/spiral/xml/page_spiral_fail.xml" EndIf