free not collect point, failed page, show QR Error
This commit is contained in:
parent
c2c3c540ec
commit
126d0417e3
59 changed files with 756 additions and 31 deletions
117
xml/page_drinkfail3.xml
Normal file
117
xml/page_drinkfail3.xml
Normal file
|
|
@ -0,0 +1,117 @@
|
|||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
<Background> "0xEFEDEA" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
|
||||
<EventOpen>
|
||||
; On open
|
||||
|
||||
|
||||
|
||||
If show_eng = "true" Then
|
||||
Var DirImage = "ROOT/taobin_project/image/collectiing_en/"
|
||||
|
||||
Else
|
||||
Var DirImage = "ROOT/taobin_project/image/collectiing/"
|
||||
EndIf
|
||||
|
||||
|
||||
Var Timeout = 0
|
||||
|
||||
Var Door_Open_State="Invisible"
|
||||
Var Door_Open_flagBlink = 0
|
||||
|
||||
|
||||
|
||||
|
||||
</EventOpen>
|
||||
<Timeout> 1000 </Timeout>
|
||||
<EventTimeout>
|
||||
|
||||
|
||||
|
||||
Var Timeout = Timeout + 1
|
||||
|
||||
;If Timeout > 240 Then
|
||||
If Timeout > 10 Then
|
||||
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
||||
EndIf
|
||||
|
||||
If Door_Open_flagBlink = 0 Then
|
||||
Var Door_Open_flagBlink = 1
|
||||
Var Door_Open_State="Enable"
|
||||
Else
|
||||
Var Door_Open_flagBlink = 0
|
||||
Var Door_Open_State="Invisible"
|
||||
EndIf
|
||||
|
||||
|
||||
If MachineStage = "remove-cup" Then
|
||||
|
||||
Else
|
||||
;Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
||||
EndIf
|
||||
|
||||
|
||||
Refresh
|
||||
TimerReset
|
||||
|
||||
|
||||
</EventTimeout>
|
||||
|
||||
|
||||
|
||||
<Video>
|
||||
<X> 0 </X>
|
||||
<Y> 0 </Y>
|
||||
<Width> 1080</Width>
|
||||
<Height> 380 </Height>
|
||||
<Loop> "true" </Loop>
|
||||
<Filename> "ROOT/taobin_project/video/taobin_adv2.mp4" </Filename>
|
||||
</Video>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<Image>
|
||||
<X> 53 </X>
|
||||
<Y> 473 </Y>
|
||||
<Filename> Var( DirImage + "/img_popup12.png" )</Filename>
|
||||
</Image>
|
||||
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 212 </X>
|
||||
<Y> 1661 </Y>
|
||||
<Filename> Var( DirImage + "/bn_door_open.png" ) </Filename>
|
||||
<FilenamePress> Var( DirImage + "/bp_door_open.png" )</FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
|
||||
;Machine RemoveCup
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 212 </X>
|
||||
<Y> 1661 </Y>
|
||||
<State> Door_Open_State </State>
|
||||
<Filename> Var( DirImage + "/bp_door_open.png" ) </Filename>
|
||||
<FilenamePress> Var( DirImage + "/bp_door_open.png" )</FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
</Popup>
|
||||
Loading…
Add table
Add a link
Reference in a new issue