This commit is contained in:
kong 2021-11-17 15:14:02 +07:00
parent 91d655873a
commit 2be1a125b8
5 changed files with 41 additions and 9 deletions

View file

@ -4,10 +4,10 @@
<Height> 1920 </Height>
<Background> "0xEFEDEA" </Background>
<Volume> SoundVolume </Volume>
<Refresh> "Partial" </Refresh>
<EventOpen>
; On open
Var buttonRemoveCup = "Enable"
If show_eng = "true" Then
Var DirImage = "ROOT/taobin_project/image/complete_en/"
@ -284,7 +284,13 @@
EndIf
DEBUGVAR MachineStage
If MachineStage = "remove-cup" Then
Var buttonRemoveCup = "Enable"
DEBUGVAR buttonRemoveCup
;Open "ROOT/taobin_project/xml/page_drinkfail3.xml"
Var Timeout2 = Timeout2 + 1
@ -294,6 +300,7 @@
Var Timeout2 = 0
EndIf
Else
;Open "ROOT/taobin_project/xml/page_back_to_main.xml"
EndIf
@ -374,6 +381,19 @@
<Button>
<X> 757 </X>
<Y> 424 </Y>
<State> buttonRemoveCup </State>
;<Color> "0x00BDFF" </Color>
<Interval> 500 </Interval>
<Filename> "ROOT/taobin_project/image/main_page/bn_remove_cup.png" </Filename>
<Filename> "ROOT/taobin_project/image/main_page/bp_remove_cup.png" </Filename>
<EventClick>
Machine RemoveCup
Machine DoorLidOpen
</EventClick>
</Button>