Move straw and lid to thankyou.xml
This commit is contained in:
parent
301be7f3cc
commit
ace326b8fd
2 changed files with 17 additions and 10 deletions
|
|
@ -10,14 +10,14 @@
|
|||
DEBUGVAR LidState
|
||||
|
||||
|
||||
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
|
||||
;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
|
||||
|
||||
; On open
|
||||
Var LidState = "Enable"
|
||||
|
|
@ -74,7 +74,7 @@
|
|||
EndIf
|
||||
|
||||
If MachineStage = "remove-cup" Then
|
||||
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
||||
Open "ROOT/taobin_project/xml/page_back_to_remove_cup.xml"
|
||||
|
||||
EndIf
|
||||
|
||||
|
|
|
|||
|
|
@ -37,7 +37,14 @@
|
|||
DEBUGVAR StarwState
|
||||
DEBUGVAR LidState
|
||||
|
||||
|
||||
If StarwState = "Press" Then
|
||||
Machine StrawWithDelay
|
||||
LED LedDoorLid Blink 255 255 255 255
|
||||
EndIf
|
||||
If LidState = "Press" Then
|
||||
Machine LidWithDelay
|
||||
LED LedDoorLid Blink 255 255 255 255
|
||||
EndIf
|
||||
|
||||
|
||||
</EventOpen>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue