merge
This commit is contained in:
commit
cb14903186
15 changed files with 487 additions and 62 deletions
159
xml/page_thankyouConti.xml
Normal file
159
xml/page_thankyouConti.xml
Normal file
|
|
@ -0,0 +1,159 @@
|
|||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
<Background> "0xeae6e1" </Background>
|
||||
<Sound> "ROOT/taobin_project/sounds/chaching.mp3" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
; On open
|
||||
Var CountDownThankyou = 3
|
||||
Var CountDownBrewing = BrewTime
|
||||
Var CountUpBrewing = 0
|
||||
SAVELOG BrewTime
|
||||
Var ShowCountDownBrewing = CountDownBrewing
|
||||
Var Timeout = 0
|
||||
Var ChangeFlag = 0
|
||||
Var ErrTimeout = 0
|
||||
Var ActionOKCase = 0
|
||||
Var ChangeTimeout = 0
|
||||
|
||||
Var MachineState_Result = 0
|
||||
|
||||
Var FailedCount = 0
|
||||
Var ChangeAmountSum = 0
|
||||
|
||||
Var Tel_Confirm_Flag = 0
|
||||
Var LastMakeDrinkResult = "-"
|
||||
|
||||
|
||||
If show_eng = "true" Then
|
||||
Var ImageDoing = "ROOT/taobin_project/image/page_doing/img2_eng.png"
|
||||
Var show_btp = "ROOT/taobin_project/image/bn_thai_lang_press.png"
|
||||
Var show_btn = "ROOT/taobin_project/image/bn_thai_lang.png"
|
||||
|
||||
Var BottomText = PicturePath + "text_bottom_eng.png"
|
||||
Else
|
||||
Var ImageDoing = "ROOT/taobin_project/image/page_doing/img2.png"
|
||||
Var show_btp = "ROOT/taobin_project/image/bn_eng_lang_press.png"
|
||||
Var show_btn = "ROOT/taobin_project/image/bn_eng_lang.png"
|
||||
Var BottomText = PicturePath + "text_bottom_thai2.png"
|
||||
EndIf
|
||||
|
||||
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
|
||||
|
||||
|
||||
DEBUGVAR Seeker.TNumberTaobinCredit
|
||||
DEBUGVAR TelephoneNumber
|
||||
DEBUGVAR Seeker.StoreCreditFlag
|
||||
|
||||
|
||||
If Seeker = "curr" Then
|
||||
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" ExtendData
|
||||
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
</EventOpen>
|
||||
<Timeout> 1000 </Timeout>
|
||||
<EventTimeout>
|
||||
Var CountDownBrewing = CountDownBrewing - 1
|
||||
Var CountDownThankyou = CountDownThankyou - 1
|
||||
|
||||
Var Timeout = Timeout + 1
|
||||
If Timeout = 3 Then
|
||||
|
||||
If CART_INDEX = 0 Then
|
||||
MakeDrinkV1 SelectDrink SelectSugarID
|
||||
Else
|
||||
;Cart "MakeID" CART_INDEX
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
EndIf
|
||||
|
||||
|
||||
; run test;
|
||||
If CountDownThankyou = 0 Then
|
||||
|
||||
|
||||
|
||||
Var CountDownBrewing = BrewTime
|
||||
Var CountUpBrewing = 0
|
||||
SAVELOG BrewTime
|
||||
Var ShowCountDownBrewing = CountDownBrewing
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_brewing3.xml"
|
||||
|
||||
|
||||
EndIf
|
||||
|
||||
Var ShowCountDownBrewing = CountDownBrewing
|
||||
Refresh
|
||||
TimerReset
|
||||
</EventTimeout>
|
||||
|
||||
;<Image>
|
||||
;<X> 0 </X>
|
||||
;<Y> 0 </Y>
|
||||
;<Filename> "ROOT/taobin_project/image/ad_medium_2.png" </Filename>
|
||||
;</Image>
|
||||
|
||||
<Video>
|
||||
<X> 0 </X>
|
||||
<Y> 0 </Y>
|
||||
<Width> 1080</Width>
|
||||
<Height> 380 </Height>
|
||||
<Loop> "true" </Loop>
|
||||
<Filename> video_menu_0 </Filename>
|
||||
</Video>
|
||||
|
||||
|
||||
<Image>
|
||||
<X> 375 </X>
|
||||
<Y> 623 </Y>
|
||||
<Width> 331 </Width>
|
||||
<Height> 435 </Height>
|
||||
<Filename> Seeker.PictureDrink </Filename>
|
||||
</Image>
|
||||
|
||||
<Text>
|
||||
<X> 0 </X>
|
||||
<Y> 938 </Y>
|
||||
<Width> 1080</Width>
|
||||
<Align> Center </Align>
|
||||
<Size> 72 </Size>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x513C2F </Color>
|
||||
<Value> Seeker.showname </Value>
|
||||
</Text>
|
||||
|
||||
<EventChangeStatus>
|
||||
If ChangeStatus = "payout-end" Then
|
||||
|
||||
EndIf
|
||||
</EventChangeStatus>
|
||||
|
||||
|
||||
</Popup>
|
||||
Loading…
Add table
Add a link
Reference in a new issue