137 lines
2.6 KiB
XML
137 lines
2.6 KiB
XML
|
|
|
|
; 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 = ""
|
|
Var TimeOutSmoothiesProcess = 1
|
|
|
|
Var OverrideVideoThankyou = 1
|
|
|
|
</EventOpen>
|
|
<Timeout> 1000 </Timeout>
|
|
<EventTimeout>
|
|
DEBUGVAR TimeOutSmoothiesProcess
|
|
;SAVELOG SoundPlaying
|
|
|
|
If TimeOutSmoothiesProcess > 0 Then
|
|
Var TimeOutSmoothiesProcess = TimeOutSmoothiesProcess - 1
|
|
|
|
EndIf
|
|
|
|
If TimeOutSmoothiesProcess = 0 Then
|
|
Var OverrideVideoThankyou = 1
|
|
|
|
Var SelectDrink = Seeker.selected_a_drink
|
|
Var SelectSugarID = ""
|
|
|
|
SAVELOG "============================= Select ======================================="
|
|
|
|
Machine StrawOrder
|
|
|
|
Topping "Select" SelectDrink
|
|
SAVELOG "============================= MakeDrinkV1 ======================================="
|
|
MakeDrinkV1 SelectDrink SelectSugarID
|
|
|
|
Open "ROOT/taobin_project/xml/page_thankyou.xml"
|
|
|
|
|
|
EndIf
|
|
|
|
|
|
|
|
Refresh
|
|
TimerReset
|
|
</EventTimeout>
|
|
|
|
|
|
<Video>
|
|
<X> 0 </X>
|
|
<Y> 500 </Y>
|
|
<Refresh> "Reload" </Refresh>
|
|
<Loop> "true" </Loop>
|
|
<Filename> VideoSmoothieProcess </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> 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>
|
|
<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> 1451 </Y>
|
|
<Width> 1080 </Width>
|
|
<Height> 85 </Height>
|
|
<Align> Center </Align>
|
|
<Language>
|
|
<ID> TextDoorButtonID </ID>
|
|
</Language>
|
|
</Text>
|
|
|
|
; 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>
|
|
|
|
<Text>
|
|
<Refresh> "Enable" </Refresh>
|
|
<X> Second_x </X>
|
|
<Y> 1560 </Y>
|
|
<Size> 52 </Size>
|
|
<Font> RobotoBold </Font>
|
|
<Color> 0xFFFFFF </Color>
|
|
<Value> "S" </Value>
|
|
</Text>
|