taobin_project/inter/tha/xml/page_smoothie_suggest_and_process.xml
2025-04-06 22:58:09 +07:00

287 lines
5.1 KiB
XML

<Popup>
<Cache> "Enable" </Cache>
<Width> 1080 </Width>
<Height> 1920 </Height>
;<Background> "0xeae6e1" </Background>
<Volume> SoundVolume </Volume>
<EventOpen>
SAVELOG "======================================= page_smoothie_suggest_and_process.xml ================================"
; On open
TopView "show"
; On open
Machine WakeUp
;include="ROOT/taobin_project/inter/tha/xml/multi/tab_menu_hide.lxml"
DEBUGVAR ToppingNewShow
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/sometime/campaign_sound.ev"
DEBUGVAR OpenFromPageBoard
If OpenFromPageBoard = 1 Then
Var OpenFromPageBoard = 0
Var langnext1 = "true"
Var langnext2 = "true"
Var langnext3 = "true"
Var langnext4 = "true"
Var langnext5 = "true"
Var langnext6 = "true"
Var langnext7 = "true"
Var langnext8 = "true"
Var langnext9 = "true"
EndIf
Var NextPage = "-"
If Seeker = "curr" Then
Machine DoorLidClose
EndIf
CoinVending OFF
; Clear value
Topping "clear" "-"
Var DirImage = "ROOT/taobin_project/image/smoothie/proccess"
Var ProcessCupDebugText = ""
Var TimeOutSmoothiesProcess = 120
</EventOpen>
<Timeout> 1000 </Timeout>
<EventTimeout>
;SAVELOG SoundPlaying
If TimeOutSmoothiesProcess > 0 Then
Var TimeOutSmoothiesProcess = countDownRetrun - 1
EndIf
If TimeOutSmoothiesProcess = 0 Then
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
EndIf
Refresh
TimerReset
</EventTimeout>
<Image>
<X> 0 </X>
<Y> 380 </Y>
<Width> 1080 </Width>
<Height> 1540 </Height>
<Color> "0xeae6e1" </Color>
</Image>
<EventLanguageOnChange>
DEBUGVAR LanguageShow
Var LanguageButtonEnable = "Enable"
OpenInst 3 "ROOT/taobin_project/xml/topview2.xml"
RefreshAll
</EventLanguageOnChange>
; back
<Button>
<X> 19 </X>
<Y> 420 </Y>
<Filename> "ROOT/taobin_project/image/page2/bn_back_arrow.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page2/bn_back_arrow.png" </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
</EventClick>
</Button>
;
;
;
; zone
;
;
;
<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> 001201 </ID>
</Language>
</Text>
<Button>
<X> 77 </X>
<Y> 1531 </Y>
<Filename> Var(DirImage + "/bn_main_button.png") </Filename>
<FilenamePress> Var(DirImage + "/pn_main_button.png") </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
</EventClick>
</Button>
<Text>
<X> 0 </X>
<Y> 1571 </Y>
<Width> 1080 </Width>
<Height> 85 </Height>
<Language>
<ID> 001202 </ID>
</Language>
</Text>
<Button>
<X> 337 </X>
<Y> 1743 </Y>
<Filename> Var(DirImage + "/bn_cancel.png") </Filename>
<FilenamePress> Var(DirImage + "/bp_cancel.png") </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
</EventClick>
</Button>
<Text>
<X> 0 </X>
<Y> 1757 </Y>
<Width> 1080 </Width>
<Height> 85 </Height>
<Language>
<ID> 001204 </ID>
</Language>
</Text>
<Text>
<X> 5 </X>
<Y> 1880 </Y>
<Size> 24 </Size>
<Align> Center </Align>
<Width> 1080 </Width>
<Font> RobotoRegular </Font>
<Color> 0xFFFFFF </Color>
<Value> ProcessCupDebugText </Value>
</Text>
<Text>
<X> 1 </X>
<Y> 1 </Y>
<Font> KanitTTF </Font>
<Size> 22 </Size>
<Width> 1080 </Width>
<Align> end </Align>
<Color> 0xFF0000 </Color>
<Value> "V01 "</Value>
</Text>
<EventUnitTest1>
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
</EventUnitTest1>
<EventUnitTest4>
Var StrawGetMoreState = "Invisible"
Var bg_lidProblem_ST = "Enable"
Var GetLidButtonState2 = "Invisible"
Var bg_lidProblem_ST2 ="Enable"
Var XStraw = 376
Var EnableGetMoreStrawFileName2 = "Invisible"
Var bg_strawProblem_ST2 ="Enable"
</EventUnitTest4>
<EventUnitTest2>
Var MachineState_Result = 0
Var waitAckPay = 1
Var BREW_COUNT_DOWN_FROM_APP = "on"
Var CountDownBrewing = 122
Var MachineStage = "testing"
Var BREW_CNT = 122
Var InternationalEnable = 1
DEBUGVAR InternationalEnable
Var LanguageObjectShow = "Enable"
Var NoLangObjectShow = "Invisible"
Var Top2Timeout = 19
DEBUGVAR CountDownBrewing
;Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_lid_straw.xml"
</EventUnitTest2>
; Initial for jump to page_brewing3.xml
<EventUnitTest3>
;Open "ROOT/taobin_project/inter/tha/xml/page_collect_point_1.lxml"
Open "ROOT/taobin_project/xml/page_check_member2.xml"
</EventUnitTest3>
<EventUnitTest5>
Open "ROOT/taobin_project/xml/page_check_member2_campaign.xml"
</EventUnitTest5>
<EventUnitTest6>
Open "ROOT/taobin_project/xml/page_before_check_member.xml"
</EventUnitTest6>
<EventUnitTest7>
Open "ROOT/taobin_project/xml/page_topup_credit3-TopupSuccess.xml"
</EventUnitTest7>
<EventUnitTest8>
Open "ROOT/taobin_project/xml/page_payment_credit3-TopupSuccess.xml"
</EventUnitTest8>
</Popup>