Do
This commit is contained in:
parent
f36bbe7098
commit
87132cde6c
75 changed files with 1770 additions and 191 deletions
|
|
@ -0,0 +1,168 @@
|
|||
<Page>
|
||||
<X> 0 </X>
|
||||
<Y> 608 </Y>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1312 </Height>
|
||||
<Background> "0xEFEDEA" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
Var countClick = 0
|
||||
Var countClick2 = 0
|
||||
|
||||
|
||||
If show_eng = "true" Then
|
||||
Var DirImage = "ROOT/taobin_project/image/user_take_cup_en/"
|
||||
Var show_btp = "ROOT/taobin_project/image/bn_thai_lang_press.png"
|
||||
Var show_btn = "ROOT/taobin_project/image/bn_thai_lang.png"
|
||||
|
||||
Else
|
||||
Var DirImage = "ROOT/taobin_project/image/user_take_cup_th/"
|
||||
Var show_btp = "ROOT/taobin_project/image/bn_eng_lang_press.png"
|
||||
Var show_btn = "ROOT/taobin_project/image/bn_eng_lang.png"
|
||||
EndIf
|
||||
|
||||
</EventOpen>
|
||||
<Timeout> 5000 </Timeout>
|
||||
<EventTimeout>
|
||||
;SAVELOG MachineErrorDetail
|
||||
Var MachineErrorDetailAll = MachineErrorDetail + " / "
|
||||
Var MachineErrorDetailAll = MachineErrorDetailAll + MachineErrorDetailEng
|
||||
|
||||
|
||||
If MachineStage = "show-menu" Then
|
||||
Open "ROOT/taobin_project/xml/page_board.xml"
|
||||
|
||||
EndIf
|
||||
If MachineStage = "close-maintenance" Then
|
||||
Open "ROOT/taobin_project/xml/page_show_error.xml"
|
||||
|
||||
EndIf
|
||||
|
||||
Refresh
|
||||
TimerReset
|
||||
|
||||
|
||||
</EventTimeout>
|
||||
|
||||
<Image>
|
||||
<X> 0 </X>
|
||||
<Y> 852 </Y>
|
||||
<Filename> Var(DirImage + "/img5.png") </Filename>
|
||||
</Image>
|
||||
|
||||
<Button>
|
||||
<X> 212 </X>
|
||||
<Y> 1661 </Y>
|
||||
<Filename> Var( DirImage + "/bn_door_open.png" ) </Filename>
|
||||
<FilenamePress> Var( DirImage + "/bp_door_open.png" )</FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
|
||||
|
||||
Machine RemoveCup
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 990 </X>
|
||||
<Y> 400 </Y>
|
||||
<Filename> show_btn </Filename>
|
||||
<FilenamePress> show_btp </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
; eng
|
||||
If show_eng = "true" Then
|
||||
Var show_eng = "false"
|
||||
Else
|
||||
Var show_eng = "true"
|
||||
EndIf
|
||||
Open CurrentXMLFileName2
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 0 </X>
|
||||
<Y> 1860 </Y>
|
||||
<Width> 200 </Width>
|
||||
<Height> 50 </Height>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var countClick = countClick + 1
|
||||
If countClick = 3 Then
|
||||
|
||||
EndIf
|
||||
|
||||
If countClick = 5 Then
|
||||
Var countClick = 0
|
||||
MainMenu
|
||||
EndIf
|
||||
Refresh
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 870 </X>
|
||||
<Y> 1860 </Y>
|
||||
<Width> 200 </Width>
|
||||
<Height> 50 </Height>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var countClick2 = countClick2 + 1
|
||||
If countClick2 = 3 Then
|
||||
|
||||
EndIf
|
||||
|
||||
If countClick2 = 5 Then
|
||||
Var MachineStage = "show-menu"
|
||||
Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_board.xml"
|
||||
EndIf
|
||||
Refresh
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
<Text>
|
||||
<X> 0 </X>
|
||||
<Y> 1860 </Y>
|
||||
<Size> 20 </Size>
|
||||
<Width> 1080</Width>
|
||||
<Align> Start </Align>
|
||||
<Font> RobotoBlack </Font>
|
||||
<Color> 0x513C2F </Color>
|
||||
<Value> countClick </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 0 </X>
|
||||
<Y> 1876 </Y>
|
||||
<Size> 20 </Size>
|
||||
<Width> 1080</Width>
|
||||
<Align> end </Align>
|
||||
<Font> RobotoBlack </Font>
|
||||
<Color> 0x513C2F </Color>
|
||||
<Value> countClick2 </Value>
|
||||
</Text>
|
||||
|
||||
|
||||
<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>
|
||||
|
||||
|
||||
</Page>
|
||||
Loading…
Add table
Add a link
Reference in a new issue