Singapore started with sgp
This commit is contained in:
parent
3f9c4361a5
commit
b3e6705aad
75 changed files with 146636 additions and 0 deletions
195
inter/sgp/xml/page_check_member3.lxml
Normal file
195
inter/sgp/xml/page_check_member3.lxml
Normal file
|
|
@ -0,0 +1,195 @@
|
|||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
|
||||
<EventOpen>
|
||||
; On open
|
||||
|
||||
Var Timeout = 0
|
||||
|
||||
Var DirImage = "ROOT/taobin_project/image/display_point_en"
|
||||
Var page_doing_show_time_image = "ROOT/taobin_project/image/page_doing/img2.png"
|
||||
|
||||
</EventOpen>
|
||||
<Timeout> 1000 </Timeout>
|
||||
<EventTimeout>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Var Timeout = Timeout + 1
|
||||
If Timeout > 30 Then
|
||||
|
||||
If MakeDrinkState = 1 Then
|
||||
If PromotionIDCurrentOrder > 1 Then
|
||||
Open "ROOT/taobin_project/xml/page_display_Promo1Get1Free.xml"
|
||||
EndIf
|
||||
Open "ROOT/taobin_project/xml/page_lid_straw.xml"
|
||||
EndIf
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
||||
|
||||
EndIf
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
</EventTimeout>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<EventSecurity>
|
||||
Open "/media/bt/xml/security_alarm.xml"
|
||||
</EventSecurity>
|
||||
|
||||
<EventActionOk>
|
||||
;Open "ROOT/taobin_project/xml/page_check_member2.xml"
|
||||
</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>
|
||||
|
||||
<Video>
|
||||
<X> 0 </X>
|
||||
<Y> 0 </Y>
|
||||
<Width> 1080</Width>
|
||||
<Height> 380 </Height>
|
||||
<Loop> "true" </Loop>
|
||||
<Filename> video_menu_0 </Filename>
|
||||
</Video>
|
||||
|
||||
|
||||
|
||||
|
||||
;
|
||||
|
||||
|
||||
|
||||
<Image>
|
||||
<X> 158 </X>
|
||||
<Y> 593 </Y>
|
||||
<Filename> Var( DirImage + "/img_popup4.png" )</Filename>
|
||||
</Image>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 237 </X>
|
||||
<Y> 1480 </Y>
|
||||
<Filename> Var( DirImage + "/bn_useCoupon.png" )</Filename>
|
||||
<FilenamePress> Var( DirImage + "/bp_useCoupon.png" )</FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
; goto lid straw
|
||||
|
||||
If MakeDrinkState = 1 Then
|
||||
If PromotionIDCurrentOrder > 1 Then
|
||||
Open "ROOT/taobin_project/xml/page_display_Promo1Get1Free.xml"
|
||||
EndIf
|
||||
Open "ROOT/taobin_project/xml/page_lid_straw.xml"
|
||||
EndIf
|
||||
Open "ROOT/taobin_project/xml/page_catalog.xml"
|
||||
|
||||
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 398 </X>
|
||||
<Y> 1597 </Y>
|
||||
<Filename> Var( DirImage + "/bn_cancel2.png" )</Filename>
|
||||
<FilenamePress> Var( DirImage + "/bp_cancel2.png" )</FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
; goto lid straw
|
||||
;Var BmiYear = "30/30"
|
||||
;Var PointCrm = ""
|
||||
;Var GetScore = ""
|
||||
;AddData 11 TelephoneNumber BmiYear PointCrm GetScore
|
||||
|
||||
If MakeDrinkState = 1 Then
|
||||
If PromotionIDCurrentOrder > 1 Then
|
||||
Open "ROOT/taobin_project/xml/page_display_Promo1Get1Free.xml"
|
||||
EndIf
|
||||
Open "ROOT/taobin_project/xml/page_lid_straw.xml"
|
||||
EndIf
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 158 </X>
|
||||
<Y> 661 </Y>
|
||||
<Filename> Var( DirImage + CouponName )</Filename>
|
||||
<FilenamePress> Var( DirImage + CouponName )</FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
<Text>
|
||||
<X> 415 </X>
|
||||
<Y> 815 </Y>
|
||||
<Size> 15 </Size>
|
||||
<Width> 300 </Width>
|
||||
<Font> KanitRegularTTF </Font>
|
||||
<Color> 0x746253 </Color>
|
||||
<Value> CouponExpireDate </Value>
|
||||
</Text>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</Popup>
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue