WTC+SGP: fix whatthecup thankyou video

This commit is contained in:
Pakin 2024-12-03 16:03:22 +07:00
parent 2f017d5812
commit 84f6ac12ae
4 changed files with 25 additions and 14 deletions

View file

@ -11,10 +11,12 @@
Var countClick2 = 0
Var CountryName = "Singapore"
Var OnPageRemoveCup = 1
DEBUGVAR "SGP Remove Cup"
READ_FILE "/mnt/sdcard/coffeevending/openfile_xml_0" CurrPageInst0
READ_FILE "/mnt/sdcard/coffeevending/openfile_xml_2" CurrPageInst2
Var DirImage = "ROOT/taobin_project/inter/common/image/user_take_cup_en/"
@ -22,7 +24,7 @@
Var DirImage = "ROOT/taobin_project/inter/whatthecup/sgp/image/collectiing_en/"
EndIf
LED LedDoorDoor 5 255 255 255 255
Var CheckCupStateDoorCupClose = ""
@ -33,10 +35,18 @@
Var buttonRemoveCup = "Enable"
EndIf
DEBUGVAR CurrPageInst0
DEBUGVAR CurrPageInst2
Var HeadVideoFilename = DefaultLargeBanner
</EventOpen>
<Timeout> 1000 </Timeout>
<EventTimeout>
DEBUGVAR CurrPageInst0
DEBUGVAR CurrPageInst2
;SAVELOG MachineErrorDetail
Var MachineErrorDetailAll = MachineErrorDetailEng
@ -60,9 +70,9 @@
EndIf
EndIf
; Logic have differrent drinkfail3.xml
; protect lock
;
; Logic have differrent drinkfail3.xml
; protect lock
;
If CheckCupStateDoorCupCloseCnt > 0 Then
Var CheckCupStateDoorCupCloseCnt = CheckCupStateDoorCupCloseCnt - 1
@ -121,7 +131,7 @@
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<State> buttonRemoveCup </State>
<EventClick>
<EventClick>
Machine RemoveCup