9.02 snap
This commit is contained in:
parent
3284dff5e7
commit
e5ce7f228d
14 changed files with 109 additions and 43 deletions
|
|
@ -47,6 +47,10 @@
|
|||
;include=ROOT/taobin_project/inc/remove_cup_event_open.inc
|
||||
|
||||
Var ShowMenuNameAndImage = "Invisible"
|
||||
Var RemoveCupOnArmID = -1
|
||||
Var remove_cup_name = ""
|
||||
Var remove_cup_image = ""
|
||||
|
||||
</EventOpen>
|
||||
<Timeout> 1000 </Timeout>
|
||||
<EventTimeout>
|
||||
|
|
@ -59,13 +63,6 @@
|
|||
EndIf
|
||||
|
||||
|
||||
;DEBUGVAR HaveCup
|
||||
;DEBUGVAR CupOnArm
|
||||
;DEBUGVAR DoorCupPosition
|
||||
;DEBUGVAR CupChecking
|
||||
;DEBUGVAR CupArmMove
|
||||
;DEBUGVAR buttonRemoveCup
|
||||
|
||||
; Add haveCup false for block display abnormal. Alternate between page_board.xml and this file.
|
||||
If HaveCup = "false" Then
|
||||
If MachineStage = "show-menu" Then
|
||||
|
|
@ -73,6 +70,12 @@
|
|||
|
||||
EndIf
|
||||
EndIf
|
||||
If CupOnArm = "true" Then
|
||||
If MachineStage = "show-menu" Then
|
||||
Open "ROOT/taobin_project/xml/page_board.xml"
|
||||
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If MachineStage = "close-maintenance" Then
|
||||
Open "ROOT/taobin_project/xml/page_show_error.xml"
|
||||
|
|
@ -81,6 +84,23 @@
|
|||
|
||||
;include=ROOT/taobin_project/inc/remove_cup_step.inc
|
||||
|
||||
|
||||
Var RemoveCupOnArmID = 0
|
||||
If RemoveCupOnArmID > 0 Then
|
||||
If DoorCupPosition = "bottom" Then
|
||||
Var ShowMenuNameAndImage = "Invisible"
|
||||
Var RemoveCupOnArmID = -1
|
||||
Else
|
||||
DEBUGVAR RemoveCupOnArmID
|
||||
DEBUGVAR DrinkImageOnArm[RemoveCupOnArmID]
|
||||
DEBUGVAR DrinkNameOnArm[RemoveCupOnArmID]
|
||||
|
||||
Var remove_cup_image = DrinkImageOnArm[RemoveCupOnArmID]
|
||||
Var remove_cup_name = DrinkNameOnArm[RemoveCupOnArmID]
|
||||
Var ShowMenuNameAndImage = "Enable"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
Refresh
|
||||
TimerReset
|
||||
|
||||
|
|
@ -143,7 +163,7 @@
|
|||
<Height> 300 </Height>
|
||||
<Width> 320 </Width>
|
||||
<State> ShowMenuNameAndImage </State>
|
||||
<Filename> Seeker.PictureDrink </Filename>
|
||||
<Filename> remove_cup_image </Filename>
|
||||
</Image>
|
||||
|
||||
<Text>
|
||||
|
|
@ -157,7 +177,7 @@
|
|||
<Color> HeadlineColor </Color>
|
||||
<Value>
|
||||
eval(
|
||||
STRCONTAIN "size" Seeker.showname SizeFromSheet
|
||||
STRCONTAIN "size" remove_cup_name SizeFromSheet
|
||||
If SizeFromSheet = "true" Then
|
||||
SPLIT Seeker.showname "###" 1 PureName
|
||||
Var return = PureName
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue