taobin_project/xml/menu_brewing.xml
2020-09-18 10:49:19 +07:00

126 lines
2.2 KiB
XML

<Popup>
<Cache> "Enable" </Cache>
<Width> 1080 </Width>
<Height> 1920 </Height>
<Background> "0xeae6e1" </Background>
<Volume> SoundVolume </Volume>
<EventOpen>
; On open
Var LidState = "Enable"
Var StarwState = "Enable"
</EventOpen>
<Timeout> 1000 </Timeout>
<EventTimeout>
Var CountDownBrewing = CountDownBrewing - 1
; run test;
;If CountDownBrewing = 40 Then
; Open "ROOT/taobin_project/xml/menu_drinkok.xml"
;EndIf
If CountDownBrewing = 0 Then
Open "ROOT/taobin_project/xml/menu_drinkok.xml"
EndIf
Var ShowCountDownBrewing = CountDownBrewing
If MachineStage = "drink-success" Then
Open "ROOT/taobin_project/xml/menu_drinkok.xml"
EndIf
Refresh
TimerReset
</EventTimeout>
<EventMachine>
If MachineStage = "make-drink" Then
Var Timeout = 0
Var ProcessText = ""
EndIf
If MachineStage = "prepar-cup" Then
Var Timeout = 0
Var ProcessText = ""
EndIf
If MachineStage = "ice-out" Then
Var Timeout = 0
Var ProcessText = ""
EndIf
If MachineStage = "brewing" Then
Var Timeout = 0
Var ProcessText = ""
EndIf
If MachineStage = "drink-success" Then
Open "ROOT/taobin_project/xml/menu_drinkok.xml"
EndIf
If MachineStage = "drink-failed" Then
Open "ROOT/taobin_project/xml/menu_drinkfail.xml"
EndIf
</EventMachine>
<Image>
<X> 0 </X>
<Y> 0 </Y>
<Filename> "ROOT/taobin_project/image/page2/ad_blank1.png" </Filename>
</Image>
<Image>
<X> 751 </X>
<Y> 413 </Y>
<Filename> "ROOT/taobin_project/image/page_doing/img2.png" </Filename>
</Image>
<Image>
<X> 237 </X>
<Y> 1323 </Y>
<Filename> "ROOT/taobin_project/image/page_doing/text1.png" </Filename>
</Image>
<Text>
<X> 808 </X>
<Y> 480 </Y>
<Size> 88 </Size>
<Font> "ROOT/taobin_project/font/Roboto/Roboto-Regular.ttf"</Font>
<Color> 0x513C2F </Color>
<Value> ShowCountDownBrewing </Value>
</Text>
<Text>
<X> 0 </X>
<Y> 1367 </Y>
<Width> 1080 </Width>
<Size> 72 </Size>
<Align> Center </Align>
<Font> RobotoBlack </Font>
<Color> 0x513C2F </Color>
<Value> BrewingTextThai </Value>
</Text>
;BrewingTextThai
<GIF>
<X> 182 </X>
<Y> 700 </Y>
<Filename> GIFShowProcess </Filename>
</GIF>
<Text>
<X> 0 </X>
<Y> 1886 </Y>
<Size> 20 </Size>
<Font> RobotoBlack </Font>
<Color> 0x513C2F </Color>
<Value> MachineStage </Value>
</Text>
</Popup>