fix state alpha2

This commit is contained in:
miggaze 2020-12-30 14:19:56 +07:00
parent 8bcbdb4f6c
commit 9250e20a4b

View file

@ -438,6 +438,7 @@
If CoinInFlag = 0 Then If CoinInFlag = 0 Then
;VendingQR OFF ;VendingQR OFF
Var alphaState = "Invisible"
EndIf EndIf
Var CoinInFlag = 1 Var CoinInFlag = 1
@ -558,20 +559,23 @@
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound> <Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume> <Volume> SoundVolume </Volume>
<EventClick> <EventClick>
;Var PayState1 = "PressForever"
;Var PayState2 = "Enable"
;Var QRChannel = 0
;Open "ROOT/taobin_project/xml/page_payment_cash.xml"
Var alphaState2 = "Enable"
If RoadShow = "true" Then If alphaState != "Enable" Then
Var GIFShowProcess = "ROOT/ui/page_05_loading/pic_loading_cup.gif" ;Var PayState1 = "PressForever"
Var MachineStage = "make-drink" ;Var PayState2 = "Enable"
Var BrewingTextThai = "เตรียมแก้ว" ;Var QRChannel = 0
MakeDrinkV1 SelectDrink SelectSugarID ;Open "ROOT/taobin_project/xml/page_payment_cash.xml"
Open "ROOT/taobin_project/xml/page_thankyou.xml" Var alphaState2 = "Enable"
;Pay ServiceType TelephoneNumber ServiceCredit SuggestID SessionID2 ServiceAmount2 ServiceCharge Donate
If RoadShow = "true" Then
Var GIFShowProcess = "ROOT/ui/page_05_loading/pic_loading_cup.gif"
Var MachineStage = "make-drink"
Var BrewingTextThai = "เตรียมแก้ว"
MakeDrinkV1 SelectDrink SelectSugarID
Open "ROOT/taobin_project/xml/page_thankyou.xml"
;Pay ServiceType TelephoneNumber ServiceCredit SuggestID SessionID2 ServiceAmount2 ServiceCharge Donate
EndIf
EndIf EndIf
</EventClick> </EventClick>
</Button> </Button>
@ -585,13 +589,17 @@
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound> <Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume> <Volume> SoundVolume </Volume>
<EventClick> <EventClick>
If alphaState != "Enable" Then
If CoinInFlag = 0 Then If CoinInFlag = 0 Then
If CancelFlag = 0 Then If CancelFlag = 0 Then
Var TelephoneNumber = "" Var TelephoneNumber = ""
Var Tel_Confirm_State = "Disable" Var Tel_Confirm_State = "Disable"
Open "ROOT/taobin_project/xml/page_payment_code.xml" Open "ROOT/taobin_project/xml/page_payment_code.xml"
EndIf
EndIf EndIf
EndIf EndIf
</EventClick> </EventClick>
</Button> </Button>