taobin_project/inter/tha/xml/page_payment_pack_and_send.xml

120 lines
2 KiB
XML
Raw Normal View History

2025-04-09 14:48:11 +07:00
; Request
; - Product Code
; - ** topping.
; - TelephoneNumber
; - Market Code
; -
; Set
; - Amount 0 baht
;
<Popup>
<Cache> "Enable" </Cache>
<Width> 1080 </Width>
<Height> 1920 </Height>
;<Background> "0xeae6e1" </Background>
<Volume> SoundVolume </Volume>
<EventOpen>
SAVELOG "======================================= page_payment_pack_and_send.xml ================================"
; On open
Var ProcessCupDebugText = ""
2025-04-11 14:33:44 +07:00
Var TimeOutSmoothiesProcess = 1
2025-04-09 19:08:14 +07:00
2025-04-09 14:48:11 +07:00
</EventOpen>
<Timeout> 1000 </Timeout>
<EventTimeout>
;SAVELOG SoundPlaying
If TimeOutSmoothiesProcess > 0 Then
2025-04-09 19:08:14 +07:00
Var TimeOutSmoothiesProcess = TimeOutSmoothiesProcess - 1
2025-04-09 14:48:11 +07:00
EndIf
If TimeOutSmoothiesProcess = 0 Then
2025-04-11 14:33:44 +07:00
Var OverrideVideoThankyou = 1
Var IgnoreLidStrawAll = 1
2025-04-09 19:08:14 +07:00
2025-04-10 15:56:44 +07:00
Var ModeFreeEnable = 2
2025-04-11 14:33:44 +07:00
Var PriceDrink = 30
Var DiscountDrink = PriceDrink
2025-04-10 15:56:44 +07:00
Var StrawState = "Enable"
Var LidState = "Enable"
Var Seeker.get_a_straw = StrawState
2025-04-11 14:33:44 +07:00
Var Seeker.get_a_lid = LidState
Var Seeker.showname = " Smoothie "
Var Seeker.PictureDrink = ""
2025-04-10 17:59:07 +07:00
Var Seeker.CollectPointMain = 1
2025-04-10 15:56:44 +07:00
Open "ROOT/taobin_project/xml/page_payment.xml"
2025-04-11 14:33:44 +07:00
2025-04-09 19:08:14 +07:00
2025-04-09 14:48:11 +07:00
EndIf
Refresh
TimerReset
</EventTimeout>
2025-04-11 14:33:44 +07:00
<Video>
<X> 0 </X>
<Y> 380 </Y>
<Refresh> "Reload" </Refresh>
<Loop> "true" </Loop>
<Filename> "ROOT/taobin_project/animation01/TaoBin2_draft02_art41.mp4" </Filename>
</Video>
<Text>
<X> 0 </X>
<Y> 1337 </Y>
<Width> 1080 </Width>
<Height> 85 </Height>
<Align> Center </Align>
<Language>
<ID> 1201 </ID>
</Language>
</Text>
<Button>
<X> 77 </X>
<Y> 1531 </Y>
<Filename> Var(DirImage + "/bn_main_button.png") </Filename>
<FilenamePress> Var(DirImage + "/bp_main_button.png") </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var SmoothieProcessState = "press"
__CMD "UseArm" "2" "-" "-"
Machine InsertCupAndOpen
</EventClick>
</Button>
<Text>
<X> 0 </X>
<Y> 1571 </Y>
<Width> 1080 </Width>
<Height> 85 </Height>
<Align> Center </Align>
<Language>
<ID> TextDoorButtonID </ID>
</Language>
</Text>
2025-04-09 14:48:11 +07:00