Fix endif
This commit is contained in:
parent
42feb79095
commit
da4c00d234
2 changed files with 49 additions and 46 deletions
|
|
@ -308,6 +308,7 @@
|
|||
|
||||
SAVELOG "back_to_main from line > 309."
|
||||
Open "ROOT/taobin_project/xml/page_drinkfail2.xml"
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
|
@ -634,7 +635,7 @@
|
|||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
DEBUGVAR CountUpBrewing
|
||||
; animation video loop
|
||||
If AnimationOn = "true" Then
|
||||
Var CountUpBrewing = CountUpBrewing + 1
|
||||
|
|
@ -702,8 +703,8 @@
|
|||
Var PictureFile = PictureFile + videoID
|
||||
Var PictureFile = PictureFile + PictureEnd
|
||||
|
||||
SAVELOG VideoPlayFile
|
||||
SAVELOG PictureFile
|
||||
DEBUGVAR VideoPlayFile
|
||||
DEBUGVAR PictureFile
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
|
|
|
|||
|
|
@ -28,49 +28,6 @@
|
|||
;SAVELOG VideoID6
|
||||
;SAVELOG VideoAnimationCount
|
||||
|
||||
Var VideoPlayFile = VideoPath
|
||||
Var VideoPlayFile = VideoPlayFile + VideoFileBegin
|
||||
Var VideoPlayFile = VideoPlayFile + "1"
|
||||
Var VideoPlayFile = VideoPlayFile + VideoFileEnd
|
||||
|
||||
Var PictureFile = PicturePath
|
||||
Var PictureFile = PictureFile + PictureBegin
|
||||
Var PictureFile = PictureFile + "1"
|
||||
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"
|
||||
|
|
@ -98,6 +55,51 @@
|
|||
Play "ROOT/sounds/pleaseWait.wav"
|
||||
EndIf
|
||||
|
||||
|
||||
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_"
|
||||
|
||||
Var VideoPlayFile = VideoPath
|
||||
Var VideoPlayFile = VideoPlayFile + VideoFileBegin
|
||||
Var VideoPlayFile = VideoPlayFile + "1"
|
||||
Var VideoPlayFile = VideoPlayFile + VideoFileEnd
|
||||
|
||||
Var PictureFile = PicturePath
|
||||
Var PictureFile = PictureFile + PictureBegin
|
||||
Var PictureFile = PictureFile + "1"
|
||||
Var PictureFile = PictureFile + PictureEnd
|
||||
|
||||
|
||||
|
||||
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
|
||||
|
||||
STRCONTAIN "9701" BrewParam IgnoreLidStraw
|
||||
|
||||
DEBUGVAR BrewParam
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue