Add sound engine and just
This commit is contained in:
parent
be860e4c5c
commit
691a292501
49 changed files with 837 additions and 368 deletions
|
|
@ -6,7 +6,7 @@
|
|||
<EventOpen>
|
||||
;
|
||||
Var FileNumber = FileNumber + 1
|
||||
If FileNumber > 2 Then
|
||||
If FileNumber > 5 Then
|
||||
Var FileNumber = 1
|
||||
EndIf
|
||||
|
||||
|
|
@ -14,7 +14,11 @@
|
|||
|
||||
<Timeout> AdvImageTimeout </Timeout>
|
||||
<EventTimeout>
|
||||
Open "/mnt/sdcard/coffeevending/taobin_project/xml/test_video_loop.xml"
|
||||
If FileNumber = 4 Then
|
||||
Open "/mnt/sdcard/coffeevending/taobin_project/xml/adv_play.xml"
|
||||
Else
|
||||
Open "/mnt/sdcard/coffeevending/taobin_project/xml/test_video_loop.xml"
|
||||
EndIf
|
||||
</EventTimeout>
|
||||
|
||||
<EventSecurity>
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@
|
|||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/topview_button_back_main.xml"
|
||||
Var FileNumber = 1
|
||||
|
||||
Var taobin_version = "1.11"
|
||||
Var taobin_version = "1.13"
|
||||
; 1.00 is
|
||||
|
||||
; On open
|
||||
|
|
@ -250,10 +250,10 @@
|
|||
|
||||
<Button>
|
||||
<X> 2 </X>
|
||||
<Y> 610 </Y>
|
||||
<Y> 2 </Y>
|
||||
<State> ShowButtonClickFull </State>
|
||||
<Width> 1070 </Width>
|
||||
<Height> 1100 </Height>
|
||||
<Height> 1300 </Height>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
|
|
@ -264,30 +264,6 @@
|
|||
Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_main_blank.xml"
|
||||
</Button>
|
||||
|
||||
<Text>
|
||||
<X> 0 </X>
|
||||
<Y> 1860 </Y>
|
||||
<Size> 20 </Size>
|
||||
<Width> 1080</Width>
|
||||
<Align> Center </Align>
|
||||
<Font> RobotoBlack </Font>
|
||||
<Color> 0x513C2F </Color>
|
||||
<Value> countClick </Value>
|
||||
</Text>
|
||||
|
||||
|
||||
<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>
|
||||
Open "//mnt/sdcard/coffeevending/taobin_project/xml/vending_info.xml"
|
||||
;Open "//mnt/sdcard/coffeevending/taobin_project/xml/page_remove_cup.xml"
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -15,6 +15,14 @@
|
|||
|
||||
Var PrintCoinAmount = 0
|
||||
|
||||
|
||||
If show_eng = "true" Then
|
||||
;Var DirImage = "ROOT/taobin_project/image/collect_point1_en"
|
||||
Play "ROOT/taobin_project/sound_eng/Wait_a_moment.mp3"
|
||||
Else
|
||||
;Var DirImage = "ROOT/taobin_project/image/collect_point1"
|
||||
EndIf
|
||||
|
||||
</EventOpen>
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -4,7 +4,6 @@
|
|||
<Height> 1920 </Height>
|
||||
<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<Sound> "ROOT/sounds/selectDrink.wav" </Sound>
|
||||
<EventOpen>
|
||||
TopView "show"
|
||||
; On open
|
||||
|
|
@ -25,11 +24,15 @@
|
|||
Var DirImage = "ROOT/taobin_project/image/page2_en/page2"
|
||||
Var show_btp = "ROOT/taobin_project/image/bn_thai_lang_press.png"
|
||||
Var show_btn = "ROOT/taobin_project/image/bn_thai_lang.png"
|
||||
|
||||
Var PlaySoundLag = "/mnt/sdcard/coffeevending/taobin_project/sound_eng/What_would_you_like_to_drink_today.mp3"
|
||||
Play PlaySoundLag
|
||||
|
||||
Else
|
||||
Var DirImage = "ROOT/taobin_project/image/page2"
|
||||
Var show_btp = "ROOT/taobin_project/image/bn_eng_lang_press.png"
|
||||
Var show_btn = "ROOT/taobin_project/image/bn_eng_lang.png"
|
||||
Play "/mnt/sdcard/coffeevending/sounds/selectDrink.wav"
|
||||
Var PlaySoundLag = "/mnt/sdcard/coffeevending/sounds/selectDrink.wav"
|
||||
EndIf
|
||||
|
||||
|
||||
|
|
@ -47,7 +50,7 @@
|
|||
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
Refresh
|
||||
TimerReset
|
||||
</EventTimeout>
|
||||
|
|
@ -71,8 +74,11 @@
|
|||
<Height> 380 </Height>
|
||||
<Loop> "true" </Loop>
|
||||
<Filename> "ROOT/taobin_project/video/taobin_adv2.mp4" </Filename>
|
||||
|
||||
</Video>
|
||||
|
||||
|
||||
|
||||
; back
|
||||
<Button>
|
||||
<X> 19 </X>
|
||||
|
|
|
|||
|
|
@ -34,7 +34,6 @@
|
|||
<Height> 1920 </Height>
|
||||
<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<Sound> "ROOT/sounds/selectDrink.wav" </Sound>
|
||||
<EventOpen>
|
||||
; On open
|
||||
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -45,7 +45,6 @@
|
|||
<Height> 1920 </Height>
|
||||
<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<Sound> "ROOT/sounds/selectDrink.wav" </Sound>
|
||||
<EventOpen>
|
||||
; On open
|
||||
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@
|
|||
<Height> 1920 </Height>
|
||||
<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<Sound> "ROOT/sounds/selectDrink.wav" </Sound>
|
||||
<EventOpen>
|
||||
; On open
|
||||
|
||||
|
|
|
|||
|
|
@ -42,7 +42,6 @@
|
|||
<Height> 1920 </Height>
|
||||
<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<Sound> "ROOT/sounds/selectDrink.wav" </Sound>
|
||||
<EventOpen>
|
||||
; On open
|
||||
|
||||
|
|
|
|||
|
|
@ -7,7 +7,6 @@
|
|||
<Height> 1920 </Height>
|
||||
<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<Sound> "ROOT/sounds/selectDrink.wav" </Sound>
|
||||
<EventOpen>
|
||||
; On open
|
||||
|
||||
|
|
|
|||
|
|
@ -32,7 +32,6 @@
|
|||
<Height> 1920 </Height>
|
||||
<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<Sound> "ROOT/sounds/selectDrink.wav" </Sound>
|
||||
<EventOpen>
|
||||
; On open
|
||||
|
||||
|
|
|
|||
|
|
@ -7,7 +7,6 @@
|
|||
<Height> 1920 </Height>
|
||||
<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<Sound> "ROOT/sounds/selectDrink.wav" </Sound>
|
||||
<EventOpen>
|
||||
; On open
|
||||
|
||||
|
|
|
|||
|
|
@ -23,7 +23,6 @@
|
|||
<Height> 1920 </Height>
|
||||
<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<Sound> "ROOT/sounds/selectDrink.wav" </Sound>
|
||||
<EventOpen>
|
||||
; On open
|
||||
|
||||
|
|
|
|||
|
|
@ -7,7 +7,6 @@
|
|||
<Height> 1920 </Height>
|
||||
<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<Sound> "ROOT/sounds/selectDrink.wav" </Sound>
|
||||
<EventOpen>
|
||||
; On open
|
||||
|
||||
|
|
|
|||
|
|
@ -47,7 +47,6 @@
|
|||
<Height> 1920 </Height>
|
||||
<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<Sound> "ROOT/sounds/selectDrink.wav" </Sound>
|
||||
<EventOpen>
|
||||
; On open
|
||||
|
||||
|
|
|
|||
|
|
@ -7,7 +7,6 @@
|
|||
<Height> 1920 </Height>
|
||||
<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<Sound> "ROOT/sounds/selectDrink.wav" </Sound>
|
||||
<EventOpen>
|
||||
; On open
|
||||
|
||||
|
|
|
|||
|
|
@ -29,7 +29,6 @@
|
|||
<Height> 1920 </Height>
|
||||
<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<Sound> "ROOT/sounds/selectDrink.wav" </Sound>
|
||||
<EventOpen>
|
||||
; On open
|
||||
|
||||
|
|
|
|||
|
|
@ -7,7 +7,6 @@
|
|||
<Height> 1920 </Height>
|
||||
<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<Sound> "ROOT/sounds/selectDrink.wav" </Sound>
|
||||
<EventOpen>
|
||||
; On open
|
||||
|
||||
|
|
|
|||
|
|
@ -27,7 +27,6 @@
|
|||
<Height> 1920 </Height>
|
||||
<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<Sound> "ROOT/sounds/selectDrink.wav" </Sound>
|
||||
<EventOpen>
|
||||
; On open
|
||||
|
||||
|
|
|
|||
|
|
@ -7,7 +7,6 @@
|
|||
<Height> 1920 </Height>
|
||||
<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<Sound> "ROOT/sounds/selectDrink.wav" </Sound>
|
||||
<EventOpen>
|
||||
; On open
|
||||
|
||||
|
|
|
|||
|
|
@ -15,6 +15,7 @@
|
|||
|
||||
If show_eng = "true" Then
|
||||
Var DirImage = "ROOT/taobin_project/image/collect_point1_en"
|
||||
Play "ROOT/taobin_project/sound_eng/Reward_final.mp3"
|
||||
Else
|
||||
Var DirImage = "ROOT/taobin_project/image/collect_point1"
|
||||
EndIf
|
||||
|
|
|
|||
|
|
@ -4,6 +4,7 @@
|
|||
<Height> 1920 </Height>
|
||||
<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<Sound> "ROOT/sounds/Ding-dong.wav" </Sound>
|
||||
<EventOpen>
|
||||
; On open
|
||||
Var LidState = "Enable"
|
||||
|
|
@ -21,6 +22,7 @@
|
|||
Var VideoPlayFile = VideoPlayFile + VideoFileBegin
|
||||
Var VideoPlayFile = VideoPlayFile + "24"
|
||||
Var VideoPlayFile = VideoPlayFile + VideoFileEnd
|
||||
Var Timeout = 0
|
||||
</EventOpen>
|
||||
<Timeout> 500 </Timeout>
|
||||
<EventTimeout>
|
||||
|
|
@ -33,6 +35,17 @@
|
|||
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
||||
|
||||
EndIf
|
||||
|
||||
If Timeout = 5 Then
|
||||
If show_eng = "true" Then
|
||||
Play "/mnt/sdcard/coffeevending/taobin_project/sound_eng/Straw.mp3"
|
||||
Else
|
||||
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
Var Timeout = Timeout + 1
|
||||
|
||||
TimerReset
|
||||
|
||||
</EventTimeout>
|
||||
|
|
|
|||
|
|
@ -4,7 +4,6 @@
|
|||
<Height> 1920 </Height>
|
||||
<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<Sound> "ROOT/sounds/pleaseWait.wav" </Sound>
|
||||
<EventOpen>
|
||||
; On open
|
||||
Var LidState = "Invisible"
|
||||
|
|
@ -31,6 +30,8 @@
|
|||
If LidState = "Enable"
|
||||
Var lid_straw_bg_iamge = DirImage + "/img3.png"
|
||||
EndIf
|
||||
|
||||
Play "/mnt/sdcard/coffeevending/taobin_project/sound_eng/Wait_a_moment.mp3"
|
||||
|
||||
Else
|
||||
Var DirImage = "ROOT/taobin_project/image/page_lid_straw"
|
||||
|
|
@ -42,6 +43,8 @@
|
|||
If LidState = "Enable"
|
||||
Var lid_straw_bg_iamge = DirImage + "/img3.png"
|
||||
EndIf
|
||||
|
||||
Play "ROOT/sounds/pleaseWait.wav"
|
||||
EndIf
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -12,7 +12,6 @@
|
|||
Var QRCODETMP = ""
|
||||
|
||||
Var QRChannel = 0
|
||||
Var MachineStage = "-"
|
||||
Var HaveCup = "true"
|
||||
|
||||
;Var PriceDrink = 5
|
||||
|
|
@ -41,16 +40,26 @@
|
|||
|
||||
If show_eng = "true" Then
|
||||
Var DirImage = "ROOT/taobin_project/image/page_payment_en/page_payment"
|
||||
Var PlaySoundLag = "ROOT/taobin_project/sound_eng/How_would_you_like_to_pay.mp3"
|
||||
|
||||
Else
|
||||
Var DirImage = "ROOT/taobin_project/image/page_payment"
|
||||
Var PlaySoundLag = "ROOT/sounds/selectPayment.wav"
|
||||
EndIf
|
||||
|
||||
SAVELOG MachineStage
|
||||
|
||||
If MachineStage = "close-maintenance" Then
|
||||
Open "ROOT/taobin_project/xml/page_show_error.xml"
|
||||
|
||||
EndIf
|
||||
|
||||
If MachineStage = "remove-cup" Then
|
||||
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
||||
|
||||
EndIf
|
||||
|
||||
Var MachineStage = "-"
|
||||
|
||||
</EventOpen>
|
||||
<Timeout> 900 </Timeout>
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
<Height> 1920 </Height>
|
||||
<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<Sound> "ROOT/sounds/selectPayment.wav" </Sound>
|
||||
<Sound> PlaySoundLag </Sound>
|
||||
<EventOpen>
|
||||
Var countClick2 = 0
|
||||
;SAVELOG SelectDrink
|
||||
|
|
|
|||
|
|
@ -131,27 +131,6 @@
|
|||
</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>
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
<Background> "0xeae6e1" </Background>
|
||||
<Sound> "ROOT/sounds/cha_ching.mp3" </Sound>
|
||||
<Sound> "ROOT/taobin_project/sounds/chaching.mp3" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
; On open
|
||||
|
|
|
|||
|
|
@ -32,6 +32,9 @@
|
|||
Var y_shot_coffee_bt = y2_topping + 100
|
||||
|
||||
Var topping1 = "1"
|
||||
|
||||
Var topping2 = "31"
|
||||
|
||||
Var BugFlag = 0
|
||||
|
||||
If show_eng = "true" Then
|
||||
|
|
@ -41,7 +44,6 @@
|
|||
Var show_btn = "ROOT/taobin_project/image/bn_thai_lang.png"
|
||||
Var showname = NameDrink
|
||||
Var showdesc = DrinkDescription
|
||||
|
||||
Else
|
||||
|
||||
Var DirImage = "ROOT/taobin_project/image/topping"
|
||||
|
|
@ -121,6 +123,12 @@
|
|||
CRLFToSpace showname
|
||||
CRLFToSpace showdesc
|
||||
|
||||
If show_eng = "true" Then
|
||||
Play "/mnt/sdcard/coffeevending/taobin_project/sound_eng/Sweet.mp3"
|
||||
Else
|
||||
Play "/mnt/sdcard/coffeevending/sounds/selectSugar.wav"
|
||||
EndIf
|
||||
|
||||
RefreshAll
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
|
@ -217,6 +225,13 @@
|
|||
Var topping1 = toppingID1Default
|
||||
|
||||
Var ToppingGotoPayment = "false"
|
||||
|
||||
If show_eng = "true" Then
|
||||
Play "/mnt/sdcard/coffeevending/taobin_project/sound_eng/Sweet.mp3"
|
||||
Else
|
||||
Play "/mnt/sdcard/coffeevending/sounds/selectSugar.wav"
|
||||
EndIf
|
||||
|
||||
Refresh
|
||||
EndIf
|
||||
|
||||
|
|
|
|||
|
|
@ -98,6 +98,14 @@
|
|||
Var PriceShowValue = "Free"
|
||||
EndIf
|
||||
|
||||
If show_eng = "true" Then
|
||||
Play "/mnt/sdcard/coffeevending/taobin_project/sound_eng/Sweet.mp3"
|
||||
Else
|
||||
Play "/mnt/sdcard/coffeevending/sounds/selectSugar.wav"
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
</EventOpen>
|
||||
<Timeout> 30000 </Timeout>
|
||||
<EventTimeout>
|
||||
|
|
@ -138,6 +146,13 @@
|
|||
CRLFToSpace showname
|
||||
CRLFToSpace showdesc
|
||||
|
||||
If show_eng = "true" Then
|
||||
Play "/mnt/sdcard/coffeevending/taobin_project/sound_eng/Sweet.mp3"
|
||||
Else
|
||||
Play "/mnt/sdcard/coffeevending/sounds/selectSugar.wav"
|
||||
EndIf
|
||||
|
||||
|
||||
RefreshAll
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
|
@ -256,6 +271,7 @@
|
|||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
|
||||
Var PriceDrink = PriceDrinkTmp
|
||||
|
||||
; Set drink
|
||||
Topping "Select" SelectDrink
|
||||
|
|
|
|||
|
|
@ -98,6 +98,12 @@
|
|||
Var PriceShowValue = "Free"
|
||||
EndIf
|
||||
|
||||
If show_eng = "true" Then
|
||||
Play "/mnt/sdcard/coffeevending/taobin_project/sound_eng/Sweet.mp3"
|
||||
Else
|
||||
Play "/mnt/sdcard/coffeevending/sounds/selectSugar.wav"
|
||||
EndIf
|
||||
|
||||
</EventOpen>
|
||||
<Timeout> 30000 </Timeout>
|
||||
<EventTimeout>
|
||||
|
|
@ -176,6 +182,13 @@
|
|||
EndIf
|
||||
CRLFToSpace showname
|
||||
|
||||
If show_eng = "true" Then
|
||||
Play "/mnt/sdcard/coffeevending/taobin_project/sound_eng/Sweet.mp3"
|
||||
Else
|
||||
Play "/mnt/sdcard/coffeevending/sounds/selectSugar.wav"
|
||||
EndIf
|
||||
|
||||
|
||||
RefreshAll
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
|
@ -294,7 +307,8 @@
|
|||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
|
||||
|
||||
Var PriceDrink = PriceDrinkTmp
|
||||
|
||||
; Set drink
|
||||
Topping "Select" SelectDrink
|
||||
|
||||
|
|
|
|||
|
|
@ -69,6 +69,13 @@
|
|||
If RoadShow = "true" Then
|
||||
Var PriceShowValue = "Free"
|
||||
EndIf
|
||||
|
||||
If show_eng = "true" Then
|
||||
Play "/mnt/sdcard/coffeevending/taobin_project/sound_eng/Sweet.mp3"
|
||||
Else
|
||||
Play "/mnt/sdcard/coffeevending/sounds/selectSugar.wav"
|
||||
EndIf
|
||||
|
||||
</EventOpen>
|
||||
<Timeout> 30000 </Timeout>
|
||||
<EventTimeout>
|
||||
|
|
@ -108,6 +115,13 @@
|
|||
EndIf
|
||||
CRLFToSpace showname
|
||||
|
||||
If show_eng = "true" Then
|
||||
Play "/mnt/sdcard/coffeevending/taobin_project/sound_eng/Sweet.mp3"
|
||||
Else
|
||||
Play "/mnt/sdcard/coffeevending/sounds/selectSugar.wav"
|
||||
EndIf
|
||||
|
||||
|
||||
RefreshAll
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
|
@ -226,7 +240,8 @@
|
|||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
|
||||
|
||||
Var PriceDrink = PriceDrinkTmp
|
||||
|
||||
; Set drink
|
||||
Topping "Select" SelectDrink
|
||||
|
||||
|
|
|
|||
|
|
@ -59,6 +59,12 @@
|
|||
Var PriceShowValue = "Free"
|
||||
EndIf
|
||||
|
||||
If show_eng = "true" Then
|
||||
Play "/mnt/sdcard/coffeevending/taobin_project/sound_eng/Sweet.mp3"
|
||||
Else
|
||||
Play "/mnt/sdcard/coffeevending/sounds/selectSugar.wav"
|
||||
EndIf
|
||||
|
||||
;SAVELOG showname
|
||||
|
||||
</EventOpen>
|
||||
|
|
@ -98,7 +104,16 @@
|
|||
Var showname = NameDrinkTH
|
||||
Var showdesc = DrinkDescriptionTH
|
||||
EndIf
|
||||
|
||||
CRLFToSpace showname
|
||||
CRLFToSpace showdesc
|
||||
|
||||
|
||||
If show_eng = "true" Then
|
||||
Play "/mnt/sdcard/coffeevending/taobin_project/sound_eng/Sweet.mp3"
|
||||
Else
|
||||
Play "/mnt/sdcard/coffeevending/sounds/selectSugar.wav"
|
||||
EndIf
|
||||
|
||||
RefreshAll
|
||||
</EventClick>
|
||||
|
|
|
|||
|
|
@ -129,6 +129,13 @@
|
|||
If RoadShow = "true" Then
|
||||
Var PriceShowValue = "Free"
|
||||
EndIf
|
||||
|
||||
If show_eng = "true" Then
|
||||
Play "/mnt/sdcard/coffeevending/taobin_project/sound_eng/Sweet.mp3"
|
||||
Else
|
||||
Play "/mnt/sdcard/coffeevending/sounds/selectSugar.wav"
|
||||
EndIf
|
||||
|
||||
|
||||
</EventOpen>
|
||||
<Timeout> 30000 </Timeout>
|
||||
|
|
@ -172,6 +179,13 @@
|
|||
CRLFToSpace showname
|
||||
CRLFToSpace showdesc
|
||||
|
||||
|
||||
If show_eng = "true" Then
|
||||
Play "/mnt/sdcard/coffeevending/taobin_project/sound_eng/Sweet.mp3"
|
||||
Else
|
||||
Play "/mnt/sdcard/coffeevending/sounds/selectSugar.wav"
|
||||
EndIf
|
||||
|
||||
RefreshAll
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
|
@ -362,6 +376,8 @@
|
|||
Var DrinkDescription = SubMenuDescript1
|
||||
Var PriceDrink = SubMenuPrice1
|
||||
EndIf
|
||||
|
||||
Var PriceDrink = PriceDrinkTmp
|
||||
|
||||
|
||||
; Below this. Process get ExtendData 1:_____ len 5
|
||||
|
|
|
|||
|
|
@ -12,15 +12,19 @@
|
|||
|
||||
</EventOpen>
|
||||
|
||||
<Timeout> 60000 </Timeout>
|
||||
<Timeout> 14000 </Timeout>
|
||||
<EventTimeout>
|
||||
Open "/mnt/sdcard/coffeevending/xml/startup_head.xml"
|
||||
Var AdvImageFile = "/mnt/sdcard/coffeevending/taobin_project/image/adv_img_"
|
||||
Var AdvImageFile = AdvImageFile + FileNumber
|
||||
Var AdvImageFile = AdvImageFile + ".png"
|
||||
Var AdvImageTimeout = 8000
|
||||
Open "/mnt/sdcard/coffeevending/taobin_project/xml/adv_play.xml"
|
||||
</EventTimeout>
|
||||
<EventEnd>
|
||||
Var AdvImageFile = "/mnt/sdcard/coffeevending/taobin_project/image/adv_img_"
|
||||
Var AdvImageFile = AdvImageFile + FileNumber
|
||||
Var AdvImageFile = AdvImageFile + ".png"
|
||||
Var AdvImageTimeout = 10000
|
||||
Var AdvImageTimeout = 8000
|
||||
Open "/mnt/sdcard/coffeevending/taobin_project/xml/adv_play.xml"
|
||||
</EventEnd>
|
||||
<EventSecurity>
|
||||
|
|
@ -28,4 +32,18 @@
|
|||
</EventSecurity>
|
||||
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 870 </X>
|
||||
<Y> 0 </Y>
|
||||
<Width> 200 </Width>
|
||||
<Height> 200 </Height>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
OpenInst 0 "//mnt/sdcard/coffeevending/taobin_project/xml/vending_info.xml"
|
||||
;Open "//mnt/sdcard/coffeevending/taobin_project/xml/page_remove_cup.xml"
|
||||
</EventClick>
|
||||
|
||||
|
||||
</Page>
|
||||
|
|
|
|||
|
|
@ -113,7 +113,7 @@
|
|||
<Y> info_5Y </Y>
|
||||
<Filename> "ROOT/taobin_project/image/tab_1.png" </Filename>
|
||||
<EventClick>
|
||||
Machine DoorClose
|
||||
MainMenu
|
||||
</EventClick>
|
||||
</Image>
|
||||
|
||||
|
|
@ -137,6 +137,9 @@
|
|||
<X> info2_startX </X>
|
||||
<Y> info_2Y </Y>
|
||||
<Filename> "ROOT/taobin_project/image/tab_1.png" </Filename>
|
||||
<EventClick>
|
||||
Throw
|
||||
</EventClick>
|
||||
</Image>
|
||||
|
||||
<Image>
|
||||
|
|
@ -188,6 +191,7 @@
|
|||
<Font> fontType1 </Font>
|
||||
<Color> 0x000000 </Color>
|
||||
<Value> MainBoardStatus </Value>
|
||||
|
||||
</Text>
|
||||
|
||||
<Text>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue