taobin_project/xml/page_display_get_free.xml

174 lines
3.2 KiB
XML
Raw Normal View History

2020-10-30 18:21:06 +07:00
<Popup>
<Cache> "Enable" </Cache>
<Width> 1080 </Width>
<Height> 1920 </Height>
<Background> "0xeae6e1" </Background>
<Volume> SoundVolume </Volume>
<EventOpen>
; On open
Var Timeout = 0
If show_eng = "true" Then
Var DirImage = "ROOT/taobin_project/image/display_get_free_en"
Var page_doing_show_time_image = "ROOT/taobin_project/image/page_doing/img2.png"
Else
Var DirImage = "ROOT/taobin_project/image/display_get_free"
Var page_doing_show_time_image = "ROOT/taobin_project/image/page_doing/img2.png"
EndIf
2021-01-28 13:41:28 +07:00
Var MemberState1 = "Enable"
Var MemberState2 = "Invisible"
2021-02-02 13:33:11 +07:00
Var MemberState3 = "Invisible"
If TaobinLevel = "1" Then
Var MemberState1 = "Invisible"
Var MemberState2 = "Enable"
Var MemberState3 = "Invisible"
EndIf
If TaobinLevel = "2" Then
Var MemberState1 = "Enable"
Var MemberState2 = "Invisible"
Var MemberState3 = "Invisible"
EndIf
If TaobinLevel = "3" Then
Var MemberState1 = "Enable"
Var MemberState2 = "Invisible"
Var MemberState3 = "Invisible"
EndIf
2021-12-17 12:48:38 +07:00
If Seeker.FromConsent = 1 Then
2021-02-02 13:33:11 +07:00
Var MemberState1 = "Invisible"
Var MemberState2 = "Invisible"
Var MemberState3 = "Enable"
EndIf
2021-01-28 13:41:28 +07:00
2020-10-30 18:21:06 +07:00
</EventOpen>
<Timeout> 1000 </Timeout>
<EventTimeout>
Var CountDownBrewing = CountDownBrewing - 1
2021-01-28 13:41:28 +07:00
2020-10-30 18:21:06 +07:00
Var ShowCountDownBrewing = CountDownBrewing
2021-01-28 13:41:28 +07:00
2020-10-30 18:21:06 +07:00
Var Timeout = Timeout + 1
2022-05-20 15:42:30 +07:00
If Timeout > 5 Then
2020-10-30 18:21:06 +07:00
; goto lid straw
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>
2020-11-22 21:50:53 +07:00
;<Image>
;<X> 0 </X>
;<Y> 0 </Y>
;<Filename> "ROOT/taobin_project/image/ad_medium_2.png" </Filename>
;</Image>
<Video>
2020-10-30 18:21:06 +07:00
<X> 0 </X>
<Y> 0 </Y>
2020-11-22 21:50:53 +07:00
<Width> 1080</Width>
<Height> 380 </Height>
<Loop> "true" </Loop>
2021-05-12 11:53:54 +07:00
<Filename> video_menu_0 </Filename>
2020-11-22 21:50:53 +07:00
</Video>
2020-10-30 18:21:06 +07:00
<Image>
<X> 0 </X>
<Y> 380 </Y>
<Filename> "ROOT/taobin_project/image/display_get_free/alpha.png" </Filename>
</Image>
<Image>
<X> 158 </X>
<Y> 665 </Y>
2021-01-28 13:41:28 +07:00
<State> MemberState1 </State>
2020-10-30 18:21:06 +07:00
<Filename> Var( DirImage + "/img_popup1.png" )</Filename>
</Image>
2021-01-28 13:41:28 +07:00
<Image>
<X> 158 </X>
<Y> 665 </Y>
<State> MemberState2 </State>
<Filename> Var( DirImage + "/img_popup2.png" )</Filename>
</Image>
2021-02-02 13:33:11 +07:00
<Image>
<X> 158 </X>
<Y> 665 </Y>
<State> MemberState3 </State>
<Filename> Var( DirImage + "/img_popup3.png" )</Filename>
</Image>
2020-10-30 18:21:06 +07:00
<Button>
<X> 397 </X>
<Y> 1680 </Y>
2021-01-28 13:41:28 +07:00
<Filename> Var( DirImage + "/bn_accept.png" ) </Filename>
2020-10-30 18:21:06 +07:00
<FilenamePress> Var( DirImage + "/bp_accept.png" )</FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
; goto lid straw
Open "ROOT/taobin_project/xml/page_lid_straw.xml"
</EventClick>
</Button>
;
2021-01-28 13:41:28 +07:00
;<Image>
;<X> 751 </X>
;<Y> 413 </Y>
;<Filename> "ROOT/taobin_project/image/page_doing/img2.png" </Filename>
;</Image>
2020-10-30 18:21:06 +07:00
;
2021-01-28 13:41:28 +07:00
;<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>
2020-10-30 18:21:06 +07:00
</Popup>