74 lines
1.6 KiB
XML
74 lines
1.6 KiB
XML
<Popup>
|
|
<X> 0 </X>
|
|
<Y> 608 </Y>
|
|
<Cache> "Enable" </Cache>
|
|
<Width> 1080 </Width>
|
|
<Height> 1312 </Height>
|
|
<Background> "0xEFEDEA" </Background>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventOpen>
|
|
Var Timeout = 0
|
|
|
|
Var DirImage = "ROOT/taobin_project/image/pos/"
|
|
If show_eng = "true" Then
|
|
Var PosFailImg = DirImage + "pos_fail_en.png"
|
|
Var CloseBtnImg = DirImage + "bn_close_en.png"
|
|
Var ClosePressedImg = DirImage + "bp_close_en.png"
|
|
Else
|
|
Var PosFailImg = DirImage + "pos_fail_th.png"
|
|
Var CloseBtnImg = DirImage + "bn_close_th.png"
|
|
Var ClosePressedImg = DirImage + "bp_close_th.png"
|
|
EndIf
|
|
|
|
</EventOpen>
|
|
<Timeout> 1000 </Timeout>
|
|
<EventTimeout>
|
|
;SAVELOG MachineErrorDetail
|
|
Var MachineErrorDetailAll = MachineErrorDetail + " / "
|
|
Var MachineErrorDetailAll = MachineErrorDetailAll + MachineErrorDetailEng
|
|
|
|
If Timeout > 30 Then
|
|
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
|
EndIf
|
|
|
|
Refresh
|
|
TimerReset
|
|
|
|
</EventTimeout>
|
|
|
|
<Image>
|
|
<X> 0 </X>
|
|
<Y> 480 </Y>
|
|
<Filename> PosFailImg </Filename>
|
|
</Image>
|
|
|
|
<Button>
|
|
<X> 398 </X>
|
|
<Y> 1753 </Y>
|
|
<Filename> CloseBtnImg </Filename>
|
|
<FilenamePress> ClosePressedImg </FilenamePress>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<State> buttonRemoveCup </State>
|
|
<EventClick>
|
|
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
|
</EventClick>
|
|
</Button>
|
|
|
|
|
|
|
|
|
|
|
|
<Text>
|
|
<X> 5 </X>
|
|
<Y> 1868 </Y>
|
|
<Size> 24 </Size>
|
|
<Align> Center </Align>
|
|
<Width> 1080 </Width>
|
|
<Font> RobotoRegular </Font>
|
|
<Color> 0xDE794E </Color>
|
|
<Value> MachineErrorDetailAll </Value>
|
|
</Text>
|
|
|
|
|
|
</Popup>
|