test save
This commit is contained in:
parent
84ad85816a
commit
43ddc95bac
8 changed files with 408 additions and 71 deletions
|
|
@ -6,48 +6,7 @@
|
|||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
; On open
|
||||
Var LidState = Lid1Status
|
||||
;Lid1Status
|
||||
Var StarwState = "Enable"
|
||||
Var LidStrawCountDown = 15
|
||||
|
||||
Var VideoPath = "/mnt/sdcard/coffeevending/taobin_project/animation01/"
|
||||
Var VideoFileBegin = "TaoBin2_draft02_art"
|
||||
Var VideoFileEnd = ".mp4"
|
||||
|
||||
Var PicturePath = "/mnt/sdcard/coffeevending/taobin_project/image/page_doing/"
|
||||
Var PictureBegin = "txt_"
|
||||
|
||||
If Lid1Status = "Disable" Then
|
||||
Var LidState = "Invisible"
|
||||
EndIf
|
||||
|
||||
If show_eng = "true" Then
|
||||
Var DirImage = "ROOT/taobin_project/image/page_lid_straw_en"
|
||||
Var PictureEnd = "_en.png"
|
||||
Var BottomText = PicturePath + "text_bottom_eng.png"
|
||||
|
||||
Var lid_straw_bg_iamge = DirImage + "/img4.png"
|
||||
|
||||
If LidState = "Enable" Then
|
||||
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"
|
||||
Var PictureEnd = ".png"
|
||||
Var BottomText = PicturePath + "text_bottom_thai2.png"
|
||||
|
||||
Var lid_straw_bg_iamge = DirImage + "/img4.png"
|
||||
|
||||
If LidState = "Enable" Then
|
||||
Var lid_straw_bg_iamge = DirImage + "/img3.png"
|
||||
EndIf
|
||||
|
||||
Play "ROOT/sounds/pleaseWait.wav"
|
||||
EndIf
|
||||
|
||||
|
||||
Var CountUpBrewing = BrewTime - CountDownBrewing
|
||||
|
|
@ -80,11 +39,65 @@
|
|||
Var PictureFile = PictureFile + PictureEnd
|
||||
|
||||
|
||||
Var VideoPath = "/mnt/sdcard/coffeevending/taobin_project/animation01/"
|
||||
Var VideoFileBegin = "TaoBin2_draft02_art"
|
||||
Var VideoFileEnd = ".mp4"
|
||||
|
||||
Var PicturePath = "/mnt/sdcard/coffeevending/taobin_project/image/page_doing/"
|
||||
Var PictureBegin = "txt_"
|
||||
|
||||
If lidAndStrawOldPageIgnore = "true" Then
|
||||
Var lidAndStrawOldPageIgnore = "false"
|
||||
|
||||
If StarwState = "Press" Then
|
||||
Machine Straw
|
||||
LED LedDoorLid Blink 255 255 255 255
|
||||
EndIf
|
||||
If LidState = "Press" Then
|
||||
Machine Lid
|
||||
LED LedDoorLid Blink 255 255 255 255
|
||||
EndIf
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_brewing3.xml"
|
||||
EndIf
|
||||
|
||||
Var LidState = Lid1Status
|
||||
;Lid1Status
|
||||
Var StarwState = "Enable"
|
||||
Var LidStrawCountDown = 15
|
||||
|
||||
|
||||
If Lid1Status = "Disable" Then
|
||||
Var LidState = "Invisible"
|
||||
EndIf
|
||||
|
||||
If show_eng = "true" Then
|
||||
Var DirImage = "ROOT/taobin_project/image/page_lid_straw_en"
|
||||
Var PictureEnd = "_en.png"
|
||||
Var BottomText = PicturePath + "text_bottom_eng.png"
|
||||
|
||||
Var lid_straw_bg_iamge = DirImage + "/img4.png"
|
||||
|
||||
If LidState = "Enable" Then
|
||||
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"
|
||||
Var PictureEnd = ".png"
|
||||
Var BottomText = PicturePath + "text_bottom_thai2.png"
|
||||
|
||||
Var lid_straw_bg_iamge = DirImage + "/img4.png"
|
||||
|
||||
If LidState = "Enable" Then
|
||||
Var lid_straw_bg_iamge = DirImage + "/img3.png"
|
||||
EndIf
|
||||
|
||||
Play "ROOT/sounds/pleaseWait.wav"
|
||||
EndIf
|
||||
|
||||
STRCONTAIN "9701" BrewParam IgnoreLidStraw
|
||||
|
||||
DEBUGVAR BrewParam
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue