Move straw and lid to thankyou.xml

This commit is contained in:
kong 2021-07-09 23:38:30 +07:00
parent 301be7f3cc
commit ace326b8fd
2 changed files with 17 additions and 10 deletions

View file

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

View file

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