add mozart
This commit is contained in:
parent
4cdc36cab4
commit
9375729a27
9 changed files with 557 additions and 175 deletions
|
|
@ -11,13 +11,51 @@
|
|||
Var countClick2 = 0
|
||||
|
||||
|
||||
If show_eng = "true" Then
|
||||
Var DirImage = "ROOT/taobin_project/image/close_en/"
|
||||
|
||||
Else
|
||||
Var DirImage = "ROOT/taobin_project/image/close_th"
|
||||
;DEBUGVAR MachineStage
|
||||
;DEBUGVAR stop_now
|
||||
|
||||
Var show_error_normal = "Invisible"
|
||||
Var show_error_sp1 = "Enable"
|
||||
|
||||
If MachineStage = "mcu-upgrade" Then
|
||||
If show_eng = "true" Then
|
||||
Var DirImage = "ROOT/taobin_project/image/vending_error_en/"
|
||||
Else
|
||||
Var DirImage = "ROOT/taobin_project/image/vending_error"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If NeedUpgrade = "true" Then
|
||||
If show_eng = "true" Then
|
||||
Var DirImage = "ROOT/taobin_project/image/vending_error_en/"
|
||||
|
||||
Else
|
||||
Var DirImage = "ROOT/taobin_project/image/vending_error"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
If MachineStage = "close-maintenance" Then
|
||||
If stop_now = "true" Then
|
||||
If show_eng = "true" Then
|
||||
Var DirImage = "ROOT/taobin_project/image/vending_error_en/"
|
||||
|
||||
Else
|
||||
Var DirImage = "ROOT/taobin_project/image/vending_error"
|
||||
EndIf
|
||||
Else
|
||||
Var show_error_normal = "Enable"
|
||||
Var show_error_sp1 = "Invisible"
|
||||
If show_eng = "true" Then
|
||||
Var DirImage = "ROOT/taobin_project/image/close_en/"
|
||||
|
||||
Else
|
||||
Var DirImage = "ROOT/taobin_project/image/close_th"
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
StopLongPlay
|
||||
|
||||
If LEDSet = "true" Then
|
||||
|
|
@ -70,17 +108,58 @@
|
|||
</EventTimeout>
|
||||
|
||||
<Image>
|
||||
<State> show_error_normal </State>
|
||||
<X> 127 </X>
|
||||
<Y> 688 </Y>
|
||||
<Filename> Var(DirImage + "/img1.png") </Filename>
|
||||
</Image>
|
||||
|
||||
<Image>
|
||||
<State> show_error_normal </State>
|
||||
<X> 0 </X>
|
||||
<Y> 924 </Y>
|
||||
<Filename> RandomImage </Filename>
|
||||
</Image>
|
||||
|
||||
<Image>
|
||||
<State> show_error_sp1 </State>
|
||||
<X> 0 </X>
|
||||
<Y> 897 </Y>
|
||||
<Filename> Var(DirImage + "/img1.png") </Filename>
|
||||
</Image>
|
||||
|
||||
<Image>
|
||||
<State> show_error_sp1 </State>
|
||||
<X> 0 </X>
|
||||
<Y> 694 </Y>
|
||||
<Filename> Var(DirImage + "/text1.png") </Filename>
|
||||
</Image>
|
||||
|
||||
<Image>
|
||||
<State> show_error_sp1 </State>
|
||||
<X> 0 </X>
|
||||
<Y> 1685 </Y>
|
||||
<Filename> Var(DirImage + "/text2.png") </Filename>
|
||||
</Image>
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 990 </X>
|
||||
<Y> 640 </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 "ROOT/taobin_project/xml/page_show_error.xml"
|
||||
</EventClick>
|
||||
|
||||
<Button>
|
||||
<X> 0 </X>
|
||||
<Y> 1860 </Y>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue