DO
This commit is contained in:
parent
bf4833b558
commit
3d48c0f364
11 changed files with 244 additions and 80 deletions
|
|
@ -49,18 +49,18 @@
|
|||
Var BottomText = PicturePath + "text_bottom_thai2.png"
|
||||
EndIf
|
||||
|
||||
DEBUGVAR StarwState
|
||||
DEBUGVAR LidState
|
||||
;DEBUGVAR StarwState
|
||||
;DEBUGVAR LidState
|
||||
DEBUGVAR BottomText
|
||||
|
||||
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
|
||||
;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
|
||||
|
||||
|
||||
DEBUGVAR Seeker.TNumberTaobinCredit
|
||||
|
|
@ -74,30 +74,34 @@
|
|||
SAVELOG "Call from thankyou Conti"
|
||||
|
||||
|
||||
If Seeker.get_a_straw = "Press" Then
|
||||
Machine StrawOrder
|
||||
Var LedLidBlink = "true"
|
||||
Var SaveTheWorldCount = SaveTheWorldCount + 1
|
||||
If PaySuccessWithDaemonTask = 1 Then
|
||||
|
||||
Else
|
||||
If Seeker.get_a_straw = "Press" Then
|
||||
Machine StrawOrder
|
||||
Var LedLidBlink = "true"
|
||||
Var SaveTheWorldCount = SaveTheWorldCount + 1
|
||||
EndIf
|
||||
|
||||
If Seeker.get_a_lid = "Press" Then
|
||||
Machine LidOrder
|
||||
Var LedLidBlink = "true"
|
||||
Var SaveTheWorldCount = SaveTheWorldCount + 1
|
||||
EndIf
|
||||
|
||||
Topping "Select" Seeker.selected_a_drink
|
||||
|
||||
; Set option toppinng and pack
|
||||
Topping "Select1-ID" Seeker.topping1
|
||||
Topping "Select2-ID" Seeker.topping2
|
||||
Topping "Select3-ID" Seeker.topping3
|
||||
|
||||
; Pack
|
||||
Topping "Pack" ExtendDataCurr
|
||||
|
||||
|
||||
Topping "ClearNextOrder" "-"
|
||||
EndIf
|
||||
|
||||
If Seeker.get_a_lid = "Press" Then
|
||||
Machine LidOrder
|
||||
Var LedLidBlink = "true"
|
||||
Var SaveTheWorldCount = SaveTheWorldCount + 1
|
||||
EndIf
|
||||
|
||||
Topping "Select" Seeker.selected_a_drink
|
||||
|
||||
; Set option toppinng and pack
|
||||
Topping "Select1-ID" Seeker.topping1
|
||||
Topping "Select2-ID" Seeker.topping2
|
||||
Topping "Select3-ID" Seeker.topping3
|
||||
|
||||
; Pack
|
||||
Topping "Pack" ExtendDataCurr
|
||||
|
||||
|
||||
Topping "ClearNextOrder" "-"
|
||||
EndIf
|
||||
|
||||
|
||||
|
|
@ -132,6 +136,27 @@
|
|||
DEBUGVAR DoorCupPosition
|
||||
DEBUGVAR CountUpDoorCupOpen
|
||||
|
||||
DEBUGVAR MakeContinue
|
||||
If PaySuccessWithDaemonTask = 1 Then
|
||||
If MakeContinue = 1 Then
|
||||
Var MakeContinue = 0
|
||||
Var Ignore
|
||||
Var NextOrder = "false"
|
||||
|
||||
TransferVar "next" "curr"
|
||||
Var Seeker = "curr"
|
||||
SAVELOG "go to next order by MakeContinue = 1"
|
||||
|
||||
Var CountDownBrewing = BrewTime
|
||||
Var CountUpBrewing = 0
|
||||
SAVELOG BrewTime
|
||||
Var ShowCountDownBrewing = CountDownBrewing
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_brewing3.xml"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
If HaveCup = "true" Then
|
||||
Var Timeout = 0
|
||||
Else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue