taobin_project/inter/tha/xml/page_payment_pack_and_send.xml

138 lines
2.6 KiB
XML
Raw Normal View History

2025-04-09 14:48:11 +07:00
; Request
; - Product Code
; - ** topping.
; - TelephoneNumber
; - Market Code
2025-05-07 16:56:58 +07:00
; -
2025-04-09 14:48:11 +07:00
; Set
; - Amount 0 baht
2025-05-07 16:56:58 +07:00
;
2025-04-09 14:48:11 +07:00
<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-05-07 16:56:58 +07:00
2025-04-30 10:27:25 +07:00
Var OverrideVideoThankyou = 1
2025-04-09 19:08:14 +07:00
2025-04-09 14:48:11 +07:00
</EventOpen>
<Timeout> 1000 </Timeout>
<EventTimeout>
2025-05-08 11:59:13 +07:00
DEBUGVAR TimeOutSmoothiesProcess
2025-04-09 14:48:11 +07:00
;SAVELOG SoundPlaying
If TimeOutSmoothiesProcess > 0 Then
2025-04-09 19:08:14 +07:00
Var TimeOutSmoothiesProcess = TimeOutSmoothiesProcess - 1
2025-05-07 16:56:58 +07:00
2025-04-09 14:48:11 +07:00
EndIf
If TimeOutSmoothiesProcess = 0 Then
2025-04-11 14:33:44 +07:00
Var OverrideVideoThankyou = 1
2025-05-07 16:56:58 +07:00
2025-05-08 11:59:13 +07:00
Var SelectDrink = Seeker.selected_a_drink
Var SelectSugarID = ""
SAVELOG "============================= Select ======================================="
Machine StrawOrder
Topping "Select" SelectDrink
SAVELOG "============================= MakeDrinkV1 ======================================="
2025-05-02 11:34:55 +07:00
MakeDrinkV1 SelectDrink SelectSugarID
2025-04-10 15:56:44 +07:00
Open "ROOT/taobin_project/xml/page_thankyou.xml"
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>
2025-04-30 10:48:55 +07:00
<Y> 500 </Y>
2025-04-11 14:33:44 +07:00
<Refresh> "Reload" </Refresh>
<Loop> "true" </Loop>
2025-04-30 10:48:55 +07:00
<Filename> VideoSmoothieProcess </Filename>
2025-04-11 14:33:44 +07:00
</Video>
2025-04-30 10:48:55 +07:00
;<Text>
;<X> 0 </X>
;<Y> 1337 </Y>
;<Width> 1080 </Width>
;<Height> 85 </Height>
;<Align> Center </Align>
;<Language>
;<ID> 1201 </ID>
;</Language>
;</Text>
2025-04-11 14:33:44 +07:00
<Button>
2025-04-30 10:48:55 +07:00
<X> 210 </X>
<Y> 1431 </Y>
<State> Show_btn_process </State>
<Filename> "ROOT/taobin_project/image/smoothie/proccess/bn_get_blend.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/smoothie/proccess/bp_get_blend.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/smoothie/proccess/bd_get_blend.png" </FilenameDisable>
2025-04-11 14:33:44 +07:00
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var SmoothieProcessState = "press"
__CMD "UseArm" "2" "-" "-"
2025-04-30 10:48:55 +07:00
Machine InsertCupAndOpen
2025-04-11 14:33:44 +07:00
</EventClick>
</Button>
<Text>
<X> 0 </X>
2025-04-30 10:48:55 +07:00
<Y> 1451 </Y>
2025-04-11 14:33:44 +07:00
<Width> 1080 </Width>
<Height> 85 </Height>
<Align> Center </Align>
<Language>
<ID> TextDoorButtonID </ID>
</Language>
</Text>
2025-04-30 10:48:55 +07:00
; second time
<Text>
<Refresh> "Enable" </Refresh>
<X> CountDown_x </X>
<Y> 1540 </Y>
<Size> 72 </Size>
<Font> RobotoBold </Font>
<Color> 0xFFFFFF </Color>
<Value> TimeOutSmoothiesProcess </Value>
</Text>
2025-04-09 14:48:11 +07:00
2025-04-30 10:48:55 +07:00
<Text>
<Refresh> "Enable" </Refresh>
<X> Second_x </X>
<Y> 1560 </Y>
<Size> 52 </Size>
<Font> RobotoBold </Font>
<Color> 0xFFFFFF </Color>
<Value> "S" </Value>
</Text>