MYS: prep pro Yuzu template WIP
This commit is contained in:
parent
985cfb267f
commit
1d3c15fa5b
27 changed files with 62721 additions and 1541 deletions
152
inter/mys/xml/event/yuzu/page_get_free_1_yuzu.lxml
Normal file
152
inter/mys/xml/event/yuzu/page_get_free_1_yuzu.lxml
Normal file
|
|
@ -0,0 +1,152 @@
|
|||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
|
||||
<EventOpen>
|
||||
|
||||
Var Timeout = 0
|
||||
DEBUGVAR TelephoneNumber
|
||||
DEBUGVAR FromProYuzu
|
||||
DEBUGVAR Seeker.VendingCode
|
||||
DEBUGVAR Seeker.ProYuzu
|
||||
DEBUGVAR Seeker.UseProYuzuCode
|
||||
|
||||
Var Cid = 43
|
||||
Var param1 = ""
|
||||
Var param2 = ""
|
||||
Var param3 = ""
|
||||
|
||||
If FromProYuzu = 1 Then
|
||||
|
||||
If TelephoneNumber = "" Then
|
||||
|
||||
Else
|
||||
DEBUGVAR TelephoneNumber
|
||||
; Telephone must not empty
|
||||
If Seeker.CodeChannel = 1 Then
|
||||
DEBUGVAR Seeker.CodeChannel
|
||||
Var Seeker.UseProYuzuCode = 1
|
||||
Var Seeker.ProYuzu = 1
|
||||
Else
|
||||
Var Seeker.ProYuzu = 1
|
||||
Var Seeker.UseProYuzuCode = 0
|
||||
DEBUGVAR Seeker.ProYuzu
|
||||
DEBUGVAR Seeker.UseProYuzuCode
|
||||
|
||||
; support-for-multi-pro-with-same-cid
|
||||
Var param1 = "701"
|
||||
|
||||
AddData Cid TelephoneNumber param1 param2 param3
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
|
||||
; reset flag
|
||||
Var FromProYuzu = 0
|
||||
|
||||
; goto lid straw
|
||||
Open "ROOT/taobin_project/xml/page_lid_straw.xml"
|
||||
|
||||
|
||||
</EventOpen>
|
||||
|
||||
<Timeout> 1000 </Timeout>
|
||||
<EventTimeout>
|
||||
|
||||
Var CountDownBrewing = BREW_CNT
|
||||
|
||||
Var ShowCountDownBrewing = CountDownBrewing
|
||||
|
||||
Var Timeout = Timeout + 1
|
||||
If Timeout > 2 Then
|
||||
Open "ROOT/taobin_project/xml/page_lid_straw.xml"
|
||||
EndIf
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
</EventTimeout>
|
||||
|
||||
|
||||
<EventSecurity>
|
||||
Open "/media/bt/xml/security_alarm.xml"
|
||||
</EventSecurity>
|
||||
|
||||
<EventActionOk>
|
||||
;
|
||||
|
||||
</EventActionOk>
|
||||
|
||||
|
||||
<EventMachine>
|
||||
If MachineStage = "drink-success" Then
|
||||
Var MachineState_Result = 1
|
||||
EndIf
|
||||
|
||||
If MachineStage = "drink-failed" Then
|
||||
Var MachineState_Result = 2
|
||||
EndIf
|
||||
</EventMachine>
|
||||
|
||||
|
||||
;<Image>
|
||||
;<X> 0 </X>
|
||||
;<Y> 0 </Y>
|
||||
;<Filename> "ROOT/taobin_project/image/ad_medium_2.png" </Filename>
|
||||
;</Image>
|
||||
|
||||
;include="ROOT/taobin_project/inc/video.inc"
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
;<Image>
|
||||
;<X> 0 </X>
|
||||
;<Y> 380 </Y>
|
||||
;<Filename> "ROOT/taobin_project/image/display_get_free/alpha.png" </Filename>
|
||||
;</Image>
|
||||
|
||||
<Image>
|
||||
<X> 0 </X>
|
||||
<Y> 560 </Y>
|
||||
<State> "Enable" </State>
|
||||
<Filename> Var( DirImage + img_popup6 )</Filename>
|
||||
</Image>
|
||||
|
||||
|
||||
|
||||
|
||||
<Image>
|
||||
<X> 751 </X>
|
||||
<Y> 413 </Y>
|
||||
<Filename> IMG_CNT </Filename>
|
||||
</Image>
|
||||
;
|
||||
<Text>
|
||||
<X> XPosiShowCountDownBrew </X>
|
||||
<Y> 470 </Y>
|
||||
<Align> End </Align>
|
||||
<Width> 153 </Width>
|
||||
<Size> 88 </Size>
|
||||
<Font> RobotoBold </Font>
|
||||
<Color> 0x513C2F </Color>
|
||||
<Value> ShowCountDownBrewing </Value>
|
||||
</Text>
|
||||
|
||||
<Text>
|
||||
<X> 99 </X>
|
||||
<Y> 1300 </Y>
|
||||
<Align> center </Align>
|
||||
<Size> 48 </Size>
|
||||
<Color> 0x513C2F </Color>
|
||||
<Value> "Please wait for coupon from SMS ... "
|
||||
</Text>
|
||||
|
||||
</Popup>
|
||||
Loading…
Add table
Add a link
Reference in a new issue