First start TaoBin
This commit is contained in:
commit
a497d17fc2
54 changed files with 27396 additions and 0 deletions
120
xml/menu_CollectPoint_Page2.xml
Normal file
120
xml/menu_CollectPoint_Page2.xml
Normal file
|
|
@ -0,0 +1,120 @@
|
|||
<Page>
|
||||
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1312 </Height>
|
||||
<Background> "ROOT/image/BG_Menu_Point_Page1.bmp" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
|
||||
<EventOpen>
|
||||
; On open
|
||||
|
||||
Var Timeout = 0
|
||||
|
||||
|
||||
|
||||
|
||||
</EventOpen>
|
||||
<Timeout> 1000 </Timeout>
|
||||
<EventTimeout>
|
||||
;Open "ROOT/xml/menu_board.xml"
|
||||
|
||||
Var Timeout = Timeout + 1
|
||||
If Timeout > 30 Then
|
||||
;Var CoffeePoint = 1
|
||||
;Open "/media/bt/xml/menu_CollectPoint_Page3.xml"
|
||||
If StepGetPoint = 0 Then
|
||||
Open "/media/bt/xml/menu_pageConsent.xml"
|
||||
Else
|
||||
Var CoffeePoint = 1
|
||||
Open "/media/bt/xml/menu_CollectPoint_Page3.xml"
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
</EventTimeout>
|
||||
|
||||
|
||||
<Text>
|
||||
<X> 310 </X>
|
||||
<Y> 380 </Y>
|
||||
<Width> 474 </Width>
|
||||
<Align> Center </Align>
|
||||
<Size> 50 </Size>
|
||||
<Font> fontType1 </Font>
|
||||
<Color> 0xF0E000 </Color>
|
||||
<Value> TelephoneNumber </Value>
|
||||
<Format> Telnum </Format>
|
||||
</Text>
|
||||
|
||||
<Text>
|
||||
<X> 310 </X>
|
||||
<Y> 550 </Y>
|
||||
<Width> 474 </Width>
|
||||
<Align> Center </Align>
|
||||
<Size> 50 </Size>
|
||||
<Font> fontType1 </Font>
|
||||
<Color> 0xF0E000 </Color>
|
||||
<Value> "กรุณารอซักครู่..." </Value>
|
||||
</Text>
|
||||
|
||||
|
||||
|
||||
|
||||
<EventSecurity>
|
||||
Open "/media/bt/xml/security_alarm.xml"
|
||||
</EventSecurity>
|
||||
|
||||
<EventActionOk>
|
||||
|
||||
If StepGetPoint = 0 Then
|
||||
If PdpaAsk = 0 Then
|
||||
Open "/media/bt/xml/menu_pageConsent.xml"
|
||||
Else
|
||||
Var StepGetPoint = 1
|
||||
GETACCEXT TelephoneNumber 5
|
||||
Open "/media/bt/xml/menu_CollectPoint_Page2.xml"
|
||||
EndIf
|
||||
Else
|
||||
If Ext1a = "" Then
|
||||
Var CoffeePoint = 1
|
||||
Open "/media/bt/xml/menu_CollectPoint_Page3.xml"
|
||||
|
||||
Else
|
||||
|
||||
Var CoffeePoint1 = Ext21
|
||||
INT CoffeePoint1
|
||||
|
||||
Var CoffeePoint = 1 + CoffeePoint1
|
||||
Open "/media/bt/xml/menu_CollectPoint_Page3.xml"
|
||||
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
</EventActionOk>
|
||||
|
||||
<EventActionError>
|
||||
|
||||
|
||||
If StepGetPoint = 0 Then
|
||||
Open "/media/bt/xml/menu_pageConsent.xml"
|
||||
Else
|
||||
Var CoffeePoint = 1
|
||||
Open "/media/bt/xml/menu_CollectPoint_Page3.xml"
|
||||
EndIf
|
||||
|
||||
</EventActionError>
|
||||
|
||||
<EventMachine>
|
||||
If MachineStage = "drink-success" Then
|
||||
Var MachineState_Result = 1
|
||||
EndIf
|
||||
|
||||
If MachineStage = "drink-failed" Then
|
||||
Var MachineState_Result = 1
|
||||
EndIf
|
||||
</EventMachine>
|
||||
|
||||
|
||||
</Page>
|
||||
Loading…
Add table
Add a link
Reference in a new issue