Add sound engine and just

This commit is contained in:
kong 2021-01-08 13:04:13 +07:00
parent be860e4c5c
commit 691a292501
49 changed files with 837 additions and 368 deletions

View file

@ -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