AUS: Update member Top-up and payment_cash
BIN
image/page_payment_en/page_payment/img_popup8-AUS.png
Normal file
|
After Width: | Height: | Size: 31 KiB |
BIN
image/page_payment_en/page_payment/img_popup_ema.png
Normal file
|
After Width: | Height: | Size: 17 KiB |
BIN
inter/aus/image/page_member_topup/bd_credit_card.png
Normal file
|
After Width: | Height: | Size: 5.3 KiB |
BIN
inter/aus/image/page_member_topup/bd_fatzebra.png
Normal file
|
After Width: | Height: | Size: 5.4 KiB |
BIN
inter/aus/image/page_member_topup/bd_topup_credit_option_29.png
Normal file
|
After Width: | Height: | Size: 7.6 KiB |
BIN
inter/aus/image/page_member_topup/bd_topup_credit_option_39.png
Normal file
|
After Width: | Height: | Size: 7.5 KiB |
BIN
inter/aus/image/page_member_topup/bd_topup_credit_option_49.png
Normal file
|
After Width: | Height: | Size: 7.6 KiB |
BIN
inter/aus/image/page_member_topup/bn_credit_card.png
Normal file
|
After Width: | Height: | Size: 6.5 KiB |
BIN
inter/aus/image/page_member_topup/bn_fatzebra.png
Normal file
|
After Width: | Height: | Size: 6.7 KiB |
|
Before Width: | Height: | Size: 7.2 KiB |
|
Before Width: | Height: | Size: 7.2 KiB |
|
Before Width: | Height: | Size: 7.7 KiB |
BIN
inter/aus/image/page_member_topup/bn_topup_credit_option_29.png
Normal file
|
After Width: | Height: | Size: 9.5 KiB |
BIN
inter/aus/image/page_member_topup/bn_topup_credit_option_39.png
Normal file
|
After Width: | Height: | Size: 9.4 KiB |
BIN
inter/aus/image/page_member_topup/bn_topup_credit_option_49.png
Normal file
|
After Width: | Height: | Size: 9.7 KiB |
BIN
inter/aus/image/page_member_topup/bp_credit_card.png
Normal file
|
After Width: | Height: | Size: 6.8 KiB |
BIN
inter/aus/image/page_member_topup/bp_fatzebra.png
Normal file
|
After Width: | Height: | Size: 7 KiB |
|
Before Width: | Height: | Size: 7.4 KiB |
|
Before Width: | Height: | Size: 7.4 KiB |
|
Before Width: | Height: | Size: 7.8 KiB |
BIN
inter/aus/image/page_member_topup/bp_topup_credit_option_29.png
Normal file
|
After Width: | Height: | Size: 9.9 KiB |
BIN
inter/aus/image/page_member_topup/bp_topup_credit_option_39.png
Normal file
|
After Width: | Height: | Size: 9.8 KiB |
BIN
inter/aus/image/page_member_topup/bp_topup_credit_option_49.png
Normal file
|
After Width: | Height: | Size: 10 KiB |
BIN
inter/aus/image/page_member_topup/popup_option_bg.png
Normal file
|
After Width: | Height: | Size: 4.8 KiB |
BIN
inter/aus/image/payment_cash/bd_eam_enter_code.png
Normal file
|
After Width: | Height: | Size: 3.7 KiB |
BIN
inter/aus/image/payment_cash/bd_pay_with_ema.png
Normal file
|
After Width: | Height: | Size: 5.4 KiB |
BIN
inter/aus/image/payment_cash/bn_ema_enter_code.png
Normal file
|
After Width: | Height: | Size: 4.6 KiB |
BIN
inter/aus/image/payment_cash/bn_pay_with_ema.png
Normal file
|
After Width: | Height: | Size: 6.8 KiB |
BIN
inter/aus/image/payment_cash/bp_ema_enter_code.png
Normal file
|
After Width: | Height: | Size: 4.8 KiB |
BIN
inter/aus/image/payment_cash/bp_pay_with_ema.png
Normal file
|
After Width: | Height: | Size: 6.8 KiB |
|
|
@ -7,7 +7,7 @@
|
||||||
<EventOpen>
|
<EventOpen>
|
||||||
|
|
||||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert.xml"
|
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert.xml"
|
||||||
|
|
||||||
TopView "show"
|
TopView "show"
|
||||||
; On open
|
; On open
|
||||||
|
|
||||||
|
|
@ -26,16 +26,16 @@
|
||||||
Var web_telnumOK = ""
|
Var web_telnumOK = ""
|
||||||
|
|
||||||
Var PicturePath = "/mnt/sdcard/coffeevending/taobin_project/image/page_doing/"
|
Var PicturePath = "/mnt/sdcard/coffeevending/taobin_project/image/page_doing/"
|
||||||
|
|
||||||
If CocktailShow = "true" Then
|
If CocktailShow = "true" Then
|
||||||
Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog_cocktail.xml"
|
Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog_cocktail.xml"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
If TermTemOnline = "true" Then
|
If TermTemOnline = "true" Then
|
||||||
Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_tt_catalog.xml"
|
Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_tt_catalog.xml"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
If Seeker = "curr" Then
|
If Seeker = "curr" Then
|
||||||
Machine DoorLidClose
|
Machine DoorLidClose
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
@ -46,13 +46,13 @@
|
||||||
|
|
||||||
CoinVending OFF
|
CoinVending OFF
|
||||||
|
|
||||||
|
|
||||||
; Clear value
|
; Clear value
|
||||||
Topping "clear" "-"
|
Topping "clear" "-"
|
||||||
|
|
||||||
|
|
||||||
Var DirImage = "ROOT/taobin_project/image/page2_inter/"
|
Var DirImage = "ROOT/taobin_project/image/page2_inter/"
|
||||||
|
|
||||||
|
|
||||||
Var StrawAutoRelease1 = "false"
|
Var StrawAutoRelease1 = "false"
|
||||||
Var StrawAutoRelease2 = "false"
|
Var StrawAutoRelease2 = "false"
|
||||||
|
|
@ -81,7 +81,7 @@
|
||||||
|
|
||||||
;GenHashWithTimeStamp QRCODE99x
|
;GenHashWithTimeStamp QRCODE99x
|
||||||
WEB "ENABLE"
|
WEB "ENABLE"
|
||||||
|
|
||||||
Else
|
Else
|
||||||
Var ShowNetworkProblem = "Enable"
|
Var ShowNetworkProblem = "Enable"
|
||||||
Var ShowButtonClick2 = "Invisible"
|
Var ShowButtonClick2 = "Invisible"
|
||||||
|
|
@ -97,9 +97,9 @@
|
||||||
Var ShowNetworkProblem = "Invisible"
|
Var ShowNetworkProblem = "Invisible"
|
||||||
Var ShowNetworkProblemText = ""
|
Var ShowNetworkProblemText = ""
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
; 1035 is Coke.
|
; 1035 is Coke.
|
||||||
STRCONTAIN "1035" MaterialAvailable CokeUI
|
STRCONTAIN "1035" MaterialAvailable CokeUI
|
||||||
|
|
||||||
Var bnSodaAndOther = DirImage + "/bn_soda_coke.png"
|
Var bnSodaAndOther = DirImage + "/bn_soda_coke.png"
|
||||||
Var bpSodaAndOther = DirImage + "/bp_soda_coke.png"
|
Var bpSodaAndOther = DirImage + "/bp_soda_coke.png"
|
||||||
|
|
@ -114,8 +114,8 @@
|
||||||
Var QRCODE99_Y = 1718
|
Var QRCODE99_Y = 1718
|
||||||
|
|
||||||
Var showCart = "Invisible"
|
Var showCart = "Invisible"
|
||||||
If MultiPayEnable = "true" Then
|
If MultiPayEnable = "true" Then
|
||||||
|
|
||||||
If CART_COUNT = 1 Then
|
If CART_COUNT = 1 Then
|
||||||
Var showCart = "Enable"
|
Var showCart = "Enable"
|
||||||
Var cart_image_bn = DirImageCart + "/bn_cart1.png"
|
Var cart_image_bn = DirImageCart + "/bn_cart1.png"
|
||||||
|
|
@ -124,7 +124,7 @@
|
||||||
Var QRCODE99_Y = 1580
|
Var QRCODE99_Y = 1580
|
||||||
|
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
If CART_COUNT = 2 Then
|
If CART_COUNT = 2 Then
|
||||||
Var showCart = "Enable"
|
Var showCart = "Enable"
|
||||||
Var cart_image_bn = DirImageCart + "/bn_cart2.png"
|
Var cart_image_bn = DirImageCart + "/bn_cart2.png"
|
||||||
|
|
@ -134,7 +134,7 @@
|
||||||
|
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
If CART_COUNT = 3 Then
|
If CART_COUNT = 3 Then
|
||||||
Open "ROOT/taobin_project/xml/page_payment_multi.xml"
|
Open "ROOT/taobin_project/xml/page_payment_multi.xml"
|
||||||
|
|
@ -150,10 +150,10 @@
|
||||||
|
|
||||||
If XMLProfile = "taobin_notopup" Then
|
If XMLProfile = "taobin_notopup" Then
|
||||||
Var ButtontoTopupMenu = "Disable"
|
Var ButtontoTopupMenu = "Disable"
|
||||||
|
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
Var menu_name_eng_hot = ""
|
Var menu_name_eng_hot = ""
|
||||||
Var menu_desc_eng_hot = ""
|
Var menu_desc_eng_hot = ""
|
||||||
Var menu_name_thai_hot = ""
|
Var menu_name_thai_hot = ""
|
||||||
|
|
@ -171,19 +171,19 @@
|
||||||
Var menu_desc_thai_blender = ""
|
Var menu_desc_thai_blender = ""
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
If BoxID = 0 Then
|
If BoxID = 0 Then
|
||||||
RebootWithCause "BoxID was zero"
|
RebootWithCause "BoxID was zero"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
DEBUGVAR ShowButtonClick2
|
DEBUGVAR ShowButtonClick2
|
||||||
|
|
||||||
DEBUGVAR MenuKidButtonState
|
DEBUGVAR MenuKidButtonState
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
DEBUGVAR $51-03-01-0035.Price
|
DEBUGVAR $51-03-01-0035.Price
|
||||||
|
|
@ -191,7 +191,7 @@
|
||||||
RootLayoutVisible 3 "show"
|
RootLayoutVisible 3 "show"
|
||||||
</EventOpen>
|
</EventOpen>
|
||||||
<Timeout> 1000 </Timeout>
|
<Timeout> 1000 </Timeout>
|
||||||
<EventTimeout>
|
<EventTimeout>
|
||||||
|
|
||||||
;SAVELOG SoundPlaying
|
;SAVELOG SoundPlaying
|
||||||
|
|
||||||
|
|
@ -200,15 +200,15 @@
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
If countDownRetrun = 0 Then
|
If countDownRetrun = 0 Then
|
||||||
If Seeker = "next" Then
|
If Seeker = "next" Then
|
||||||
RootLayoutVisible 3 "hide"
|
RootLayoutVisible 3 "hide"
|
||||||
Open "ROOT/taobin_project/xml/page_brewing3Conti.xml"
|
Open "ROOT/taobin_project/xml/page_brewing3Conti.xml"
|
||||||
Else
|
Else
|
||||||
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
; zone cup on arm
|
; zone cup on arm
|
||||||
If CupOnArm = "true" Then
|
If CupOnArm = "true" Then
|
||||||
|
|
@ -229,10 +229,10 @@
|
||||||
|
|
||||||
Refresh
|
Refresh
|
||||||
TimerReset
|
TimerReset
|
||||||
</EventTimeout>
|
</EventTimeout>
|
||||||
|
|
||||||
<EventChangeStatus>
|
<EventChangeStatus>
|
||||||
;If ChangeStatus = "payout-end" Then
|
;If ChangeStatus = "payout-end" Then
|
||||||
; Var ChangeOK = 1
|
; Var ChangeOK = 1
|
||||||
;EndIf
|
;EndIf
|
||||||
</EventChangeStatus>
|
</EventChangeStatus>
|
||||||
|
|
@ -245,15 +245,15 @@
|
||||||
Cart "DeleteMenuID" "ALL"
|
Cart "DeleteMenuID" "ALL"
|
||||||
Var web_readyOK = web_ready
|
Var web_readyOK = web_ready
|
||||||
Var web_telnumOK = web_telnum
|
Var web_telnumOK = web_telnum
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_payment.xml"
|
Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_payment.xml"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
Else
|
Else
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
</EventWebApp>
|
</EventWebApp>
|
||||||
|
|
||||||
<Image>
|
<Image>
|
||||||
|
|
@ -274,12 +274,12 @@
|
||||||
If LanguageShow = "MALAY" Then
|
If LanguageShow = "MALAY" Then
|
||||||
Var PlaySoundLag = "/mnt/sdcard/coffeevending/taobin_project/sound_eng/What_would_you_like_to_drink_today.mp3"
|
Var PlaySoundLag = "/mnt/sdcard/coffeevending/taobin_project/sound_eng/What_would_you_like_to_drink_today.mp3"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
If LanguageShow = "THAI" Then
|
If LanguageShow = "THAI" Then
|
||||||
Var PlaySoundLag = "/mnt/sdcard/coffeevending/taobin_project/sound_thai/taobin_sawade.mp3"
|
Var PlaySoundLag = "/mnt/sdcard/coffeevending/taobin_project/sound_thai/taobin_sawade.mp3"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
Play PlaySoundLag
|
Play PlaySoundLag
|
||||||
Var countDownRetrun = 300
|
Var countDownRetrun = 300
|
||||||
|
|
||||||
Var LanguageButtonEnable = "Enable"
|
Var LanguageButtonEnable = "Enable"
|
||||||
|
|
@ -302,10 +302,10 @@
|
||||||
<FilenamePress> "ROOT/taobin_project/image/page2/bn_back_arrow.png" </FilenamePress>
|
<FilenamePress> "ROOT/taobin_project/image/page2/bn_back_arrow.png" </FilenamePress>
|
||||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
<Volume> SoundVolume </Volume>
|
<Volume> SoundVolume </Volume>
|
||||||
<EventClick>
|
<EventClick>
|
||||||
If Seeker = "next" Then
|
If Seeker = "next" Then
|
||||||
RootLayoutVisible 3 "hide"
|
RootLayoutVisible 3 "hide"
|
||||||
Open "ROOT/taobin_project/xml/page_brewing3Conti.xml"
|
Open "ROOT/taobin_project/xml/page_brewing3Conti.xml"
|
||||||
Else
|
Else
|
||||||
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
@ -341,10 +341,10 @@
|
||||||
<FilenamePress> Var(DirImage + "/bp_diy.png") </FilenamePress>
|
<FilenamePress> Var(DirImage + "/bp_diy.png") </FilenamePress>
|
||||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
<Volume> SoundVolume </Volume>
|
<Volume> SoundVolume </Volume>
|
||||||
<EventClick>
|
<EventClick>
|
||||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert2.xml"
|
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert2.xml"
|
||||||
|
|
||||||
If CountryName = "Thailand" Then
|
If CountryName = "Thailand" Then
|
||||||
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/event/script_common_for_open_promotion_xml.ev"
|
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/event/script_common_for_open_promotion_xml.ev"
|
||||||
Else
|
Else
|
||||||
Var OpenFileXML = CountryRootPath + "xml/event/script_common_for_open_promotion_xml.ev"
|
Var OpenFileXML = CountryRootPath + "xml/event/script_common_for_open_promotion_xml.ev"
|
||||||
|
|
@ -368,12 +368,12 @@
|
||||||
<FilenamePress> Var(DirImage + "/bp_coffee.png") </FilenamePress>
|
<FilenamePress> Var(DirImage + "/bp_coffee.png") </FilenamePress>
|
||||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
<Volume> SoundVolume </Volume>
|
<Volume> SoundVolume </Volume>
|
||||||
<EventClick>
|
<EventClick>
|
||||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert2.xml"
|
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert2.xml"
|
||||||
|
|
||||||
|
|
||||||
Var OpenFileXML = CountryRootPath + "xml/page_catalog_group_coffee.lxml"
|
Var OpenFileXML = CountryRootPath + "xml/page_catalog_group_coffee.lxml"
|
||||||
|
|
||||||
DEBUGVAR CountryRootPath
|
DEBUGVAR CountryRootPath
|
||||||
DEBUGVAR OpenFileXML
|
DEBUGVAR OpenFileXML
|
||||||
Open OpenFileXML
|
Open OpenFileXML
|
||||||
|
|
@ -396,10 +396,10 @@
|
||||||
<FilenamePress> Var(DirImage + "/bp_tea.png") </FilenamePress>
|
<FilenamePress> Var(DirImage + "/bp_tea.png") </FilenamePress>
|
||||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
<Volume> SoundVolume </Volume>
|
<Volume> SoundVolume </Volume>
|
||||||
<EventClick>
|
<EventClick>
|
||||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert2.xml"
|
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert2.xml"
|
||||||
|
|
||||||
;Open "ROOT/taobin_project/xml/page_catalog_group_tea.lxml"
|
;Open "ROOT/taobin_project/xml/page_catalog_group_tea.lxml"
|
||||||
|
|
||||||
Var OpenFileXML = CountryRootPath + "xml/page_catalog_group_tea.lxml"
|
Var OpenFileXML = CountryRootPath + "xml/page_catalog_group_tea.lxml"
|
||||||
Open OpenFileXML
|
Open OpenFileXML
|
||||||
|
|
@ -420,10 +420,10 @@
|
||||||
<FilenamePress> Var(DirImage + "/bp_cho_caramel.png") </FilenamePress>
|
<FilenamePress> Var(DirImage + "/bp_cho_caramel.png") </FilenamePress>
|
||||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
<Volume> SoundVolume </Volume>
|
<Volume> SoundVolume </Volume>
|
||||||
<EventClick>
|
<EventClick>
|
||||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert2.xml"
|
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert2.xml"
|
||||||
|
|
||||||
;Open "ROOT/taobin_project/xml/page_catalog_group_milk.lxml"
|
;Open "ROOT/taobin_project/xml/page_catalog_group_milk.lxml"
|
||||||
|
|
||||||
Var OpenFileXML = CountryRootPath + "xml/page_catalog_group_milk.lxml"
|
Var OpenFileXML = CountryRootPath + "xml/page_catalog_group_milk.lxml"
|
||||||
Open OpenFileXML
|
Open OpenFileXML
|
||||||
|
|
@ -446,11 +446,11 @@
|
||||||
<FilenamePress> Var(DirImage + "/bn_kidmenu.png") </FilenamePress>
|
<FilenamePress> Var(DirImage + "/bn_kidmenu.png") </FilenamePress>
|
||||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
<Volume> SoundVolume </Volume>
|
<Volume> SoundVolume </Volume>
|
||||||
<EventClick>
|
<EventClick>
|
||||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert2.xml"
|
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert2.xml"
|
||||||
|
|
||||||
;Open "ROOT/taobin_project/xml/page_catalog_group_forkid.lxml"
|
;Open "ROOT/taobin_project/xml/page_catalog_group_forkid.lxml"
|
||||||
|
|
||||||
Var OpenFileXML = CountryRootPath + "xml/page_catalog_group_forkid.lxml"
|
Var OpenFileXML = CountryRootPath + "xml/page_catalog_group_forkid.lxml"
|
||||||
Open OpenFileXML
|
Open OpenFileXML
|
||||||
</EventClick>
|
</EventClick>
|
||||||
|
|
@ -471,10 +471,10 @@
|
||||||
<FilenamePress> Var(DirImage + "/bp_appfast.png") </FilenamePress>
|
<FilenamePress> Var(DirImage + "/bp_appfast.png") </FilenamePress>
|
||||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
<Volume> SoundVolume </Volume>
|
<Volume> SoundVolume </Volume>
|
||||||
<EventClick>
|
<EventClick>
|
||||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert2.xml"
|
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert2.xml"
|
||||||
|
|
||||||
;Open "ROOT/taobin_project/xml/page_catalog_group_appfast.lxml"
|
;Open "ROOT/taobin_project/xml/page_catalog_group_appfast.lxml"
|
||||||
|
|
||||||
Var OpenFileXML = CountryRootPath + "xml/page_catalog_group_appfast.lxml"
|
Var OpenFileXML = CountryRootPath + "xml/page_catalog_group_appfast.lxml"
|
||||||
Open OpenFileXML
|
Open OpenFileXML
|
||||||
|
|
@ -497,10 +497,10 @@
|
||||||
<FilenamePress> bpSodaAndOther </FilenamePress>
|
<FilenamePress> bpSodaAndOther </FilenamePress>
|
||||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
<Volume> SoundVolume </Volume>
|
<Volume> SoundVolume </Volume>
|
||||||
<EventClick>
|
<EventClick>
|
||||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert2.xml"
|
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert2.xml"
|
||||||
|
|
||||||
;Open "ROOT/taobin_project/xml/page_catalog_group_other.lxml"
|
;Open "ROOT/taobin_project/xml/page_catalog_group_other.lxml"
|
||||||
|
|
||||||
Var OpenFileXML = CountryRootPath + "xml/page_catalog_group_other.lxml"
|
Var OpenFileXML = CountryRootPath + "xml/page_catalog_group_other.lxml"
|
||||||
Open OpenFileXML
|
Open OpenFileXML
|
||||||
|
|
@ -526,10 +526,10 @@
|
||||||
<FilenamePress> Var(DirImage + "/bp_protein.png") </FilenamePress>
|
<FilenamePress> Var(DirImage + "/bp_protein.png") </FilenamePress>
|
||||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
<Volume> SoundVolume </Volume>
|
<Volume> SoundVolume </Volume>
|
||||||
<EventClick>
|
<EventClick>
|
||||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert2.xml"
|
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert2.xml"
|
||||||
|
|
||||||
;Open "ROOT/taobin_project/xml/page_catalog_group_whey.lxml"
|
;Open "ROOT/taobin_project/xml/page_catalog_group_whey.lxml"
|
||||||
|
|
||||||
Var OpenFileXML = CountryRootPath + "xml/page_catalog_group_whey.lxml"
|
Var OpenFileXML = CountryRootPath + "xml/page_catalog_group_whey.lxml"
|
||||||
Open OpenFileXML
|
Open OpenFileXML
|
||||||
|
|
@ -553,12 +553,12 @@
|
||||||
<FilenamePress> Var(DirImage + "/bp_HealthyOption.png") </FilenamePress>
|
<FilenamePress> Var(DirImage + "/bp_HealthyOption.png") </FilenamePress>
|
||||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
<Volume> SoundVolume </Volume>
|
<Volume> SoundVolume </Volume>
|
||||||
<EventClick>
|
<EventClick>
|
||||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert2.xml"
|
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert2.xml"
|
||||||
|
|
||||||
;Open "ROOT/taobin_project/xml/page_catalog_group_health.lxml"
|
;Open "ROOT/taobin_project/xml/page_catalog_group_health.lxml"
|
||||||
|
|
||||||
|
|
||||||
Var OpenFileXML = CountryRootPath + "xml/page_catalog_group_health.lxml"
|
Var OpenFileXML = CountryRootPath + "xml/page_catalog_group_health.lxml"
|
||||||
Open OpenFileXML
|
Open OpenFileXML
|
||||||
|
|
||||||
|
|
@ -581,12 +581,12 @@
|
||||||
<FilenamePress> Var(DirImage + "/bn_winter_warmers.png") </FilenamePress>
|
<FilenamePress> Var(DirImage + "/bn_winter_warmers.png") </FilenamePress>
|
||||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
<Volume> SoundVolume </Volume>
|
<Volume> SoundVolume </Volume>
|
||||||
<EventClick>
|
<EventClick>
|
||||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert2.xml"
|
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert2.xml"
|
||||||
|
|
||||||
;Open "ROOT/taobin_project/xml/page_catalog_group_winter_warmers.lxml"
|
;Open "ROOT/taobin_project/xml/page_catalog_group_winter_warmers.lxml"
|
||||||
|
|
||||||
|
|
||||||
Var OpenFileXML = CountryRootPath + "xml/page_catalog_group_winter_warmers_ignore.lxml"
|
Var OpenFileXML = CountryRootPath + "xml/page_catalog_group_winter_warmers_ignore.lxml"
|
||||||
Open OpenFileXML
|
Open OpenFileXML
|
||||||
|
|
||||||
|
|
@ -597,35 +597,18 @@
|
||||||
;###############################################################
|
;###############################################################
|
||||||
|
|
||||||
<Button>
|
<Button>
|
||||||
<X> 225 </X>
|
<X> 600 </X>
|
||||||
<Y> 424 </Y>
|
<Y> 424 </Y>
|
||||||
<State> ShowButtonClick2 </State>
|
<State> ShowButtonClick2 </State>
|
||||||
<Filename> Var(DirImage + "/bn_main_page_member.png") </Filename>
|
<Filename> "ROOT/taobin_project/image/page2_en/page2/bn_main_page_member.png" </Filename>
|
||||||
<FilenamePress> Var(DirImage + "/bp_main_page_member.png") </FilenamePress>
|
<FilenamePress> "ROOT/taobin_project/image/page2_en/page2/bp_main_page_member.png" </FilenamePress>
|
||||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
<Volume> SoundVolume </Volume>
|
<Volume> SoundVolume </Volume>
|
||||||
<EventClick>
|
<EventClick>
|
||||||
; eng
|
; eng
|
||||||
Var CheckMemberPage = CountryRootPath + "xml/page_check_member.lxml"
|
Var CheckMemberPage = CountryRootPath + "xml/page_check_member.lxml"
|
||||||
Open CheckMemberPage
|
Open CheckMemberPage
|
||||||
|
|
||||||
</EventClick>
|
|
||||||
</Button>
|
|
||||||
|
|
||||||
<Button>
|
|
||||||
<X> 696 </X>
|
|
||||||
<Y> 424 </Y>
|
|
||||||
<State> ButtontoTopupMenu </State>
|
|
||||||
<Filename> Var(DirImage + "/bn_main_page_topup.png") </Filename>
|
|
||||||
<FilenamePress> Var(DirImage + "/bp_main_page_topup.png") </FilenamePress>
|
|
||||||
<FilenameDisable> Var(DirImage + "/bp_main_page_topup.png") </FilenameDisable>
|
|
||||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
||||||
<Volume> SoundVolume </Volume>
|
|
||||||
<EventClick>
|
|
||||||
; eng
|
|
||||||
Var PayDetail=""
|
|
||||||
Open "ROOT/taobin_project/xml/page_back_to_topup.xml"
|
|
||||||
|
|
||||||
</EventClick>
|
</EventClick>
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
|
|
@ -636,10 +619,10 @@
|
||||||
<Color> "0xFF0000" </Color>
|
<Color> "0xFF0000" </Color>
|
||||||
<Width> 1080 </Width>
|
<Width> 1080 </Width>
|
||||||
<Height> 60 </Height>
|
<Height> 60 </Height>
|
||||||
<EventClick>
|
<EventClick>
|
||||||
|
|
||||||
Open "ROOT/taobin_project/xml/page_camera.xml"
|
Open "ROOT/taobin_project/xml/page_camera.xml"
|
||||||
|
|
||||||
</EventClick>
|
</EventClick>
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
|
|
@ -665,12 +648,12 @@
|
||||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
<Volume> SoundVolume </Volume>
|
<Volume> SoundVolume </Volume>
|
||||||
<Interval> 400</Interval>
|
<Interval> 400</Interval>
|
||||||
<EventClick>
|
<EventClick>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Open "ROOT/taobin_project/xml/page_payment_multi.xml"
|
Open "ROOT/taobin_project/xml/page_payment_multi.xml"
|
||||||
|
|
||||||
|
|
||||||
</EventClick>
|
</EventClick>
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
|
|
@ -682,7 +665,7 @@
|
||||||
|
|
||||||
Var web_readyOK = web_ready
|
Var web_readyOK = web_ready
|
||||||
Var web_telnumOK = web_telnum
|
Var web_telnumOK = web_telnum
|
||||||
|
|
||||||
Var web_app_prepar = "true"
|
Var web_app_prepar = "true"
|
||||||
|
|
||||||
Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_payment.xml"
|
Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_payment.xml"
|
||||||
|
|
@ -690,7 +673,7 @@
|
||||||
EndIf
|
EndIf
|
||||||
Else
|
Else
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
</EventWebApp>
|
</EventWebApp>
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -704,7 +687,7 @@
|
||||||
<Interval> 500 </Interval>
|
<Interval> 500 </Interval>
|
||||||
<Filename> Var(RootPath + "image/main_page_inter/bn_remove_cup.png") </Filename>
|
<Filename> Var(RootPath + "image/main_page_inter/bn_remove_cup.png") </Filename>
|
||||||
<Filename> Var(RootPath + "image/main_page_inter/bp_remove_cup.png") </Filename>
|
<Filename> Var(RootPath + "image/main_page_inter/bp_remove_cup.png") </Filename>
|
||||||
<EventClick>
|
<EventClick>
|
||||||
Machine RemoveCup
|
Machine RemoveCup
|
||||||
Machine DoorLidOpen
|
Machine DoorLidOpen
|
||||||
|
|
||||||
|
|
@ -726,12 +709,12 @@
|
||||||
<Height> 100 </Height>
|
<Height> 100 </Height>
|
||||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
<Volume> SoundVolume </Volume>
|
<Volume> SoundVolume </Volume>
|
||||||
<EventClick>
|
<EventClick>
|
||||||
Var ClickCountMainTe = ClickCountMainTe + 1
|
Var ClickCountMainTe = ClickCountMainTe + 1
|
||||||
|
|
||||||
DEBUGVAR ClickCountMainTe
|
DEBUGVAR ClickCountMainTe
|
||||||
|
|
||||||
If ClickCountMainTe = 2 Then
|
If ClickCountMainTe = 2 Then
|
||||||
Var OpenRouteManTest = 1
|
Var OpenRouteManTest = 1
|
||||||
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
||||||
Var ClickCountMainTe = 0
|
Var ClickCountMainTe = 0
|
||||||
|
|
@ -747,7 +730,7 @@
|
||||||
Var bg_lidProblem_ST = "Invisible"
|
Var bg_lidProblem_ST = "Invisible"
|
||||||
Var GetLidButtonState2 = "Enable"
|
Var GetLidButtonState2 = "Enable"
|
||||||
Var bg_lidProblem_ST2 ="Invisible"
|
Var bg_lidProblem_ST2 ="Invisible"
|
||||||
|
|
||||||
Var EnableGetMoreStrawFileName2 = "Enable"
|
Var EnableGetMoreStrawFileName2 = "Enable"
|
||||||
Var bg_strawProblem_ST2 ="Invisible"
|
Var bg_strawProblem_ST2 ="Invisible"
|
||||||
</EventUnitTest1>
|
</EventUnitTest1>
|
||||||
|
|
@ -757,7 +740,7 @@
|
||||||
Var bg_lidProblem_ST = "Enable"
|
Var bg_lidProblem_ST = "Enable"
|
||||||
Var GetLidButtonState2 = "Invisible"
|
Var GetLidButtonState2 = "Invisible"
|
||||||
Var bg_lidProblem_ST2 ="Enable"
|
Var bg_lidProblem_ST2 ="Enable"
|
||||||
|
|
||||||
Var XStraw = 376
|
Var XStraw = 376
|
||||||
Var EnableGetMoreStrawFileName2 = "Invisible"
|
Var EnableGetMoreStrawFileName2 = "Invisible"
|
||||||
Var bg_strawProblem_ST2 ="Enable"
|
Var bg_strawProblem_ST2 ="Enable"
|
||||||
|
|
@ -771,7 +754,7 @@
|
||||||
Var CountDownBrewing = 122
|
Var CountDownBrewing = 122
|
||||||
Var MachineStage = "testing"
|
Var MachineStage = "testing"
|
||||||
Var BREW_CNT = 122
|
Var BREW_CNT = 122
|
||||||
|
|
||||||
Var InternationalEnable = 1
|
Var InternationalEnable = 1
|
||||||
DEBUGVAR InternationalEnable
|
DEBUGVAR InternationalEnable
|
||||||
Var LanguageObjectShow = "Enable"
|
Var LanguageObjectShow = "Enable"
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@
|
||||||
<EventOpen>
|
<EventOpen>
|
||||||
|
|
||||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert.xml"
|
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert.xml"
|
||||||
|
|
||||||
TopView "show"
|
TopView "show"
|
||||||
; On open
|
; On open
|
||||||
|
|
||||||
|
|
@ -26,16 +26,16 @@
|
||||||
Var web_telnumOK = ""
|
Var web_telnumOK = ""
|
||||||
|
|
||||||
Var PicturePath = "/mnt/sdcard/coffeevending/taobin_project/image/page_doing/"
|
Var PicturePath = "/mnt/sdcard/coffeevending/taobin_project/image/page_doing/"
|
||||||
|
|
||||||
If CocktailShow = "true" Then
|
If CocktailShow = "true" Then
|
||||||
Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog_cocktail.xml"
|
Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog_cocktail.xml"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
If TermTemOnline = "true" Then
|
If TermTemOnline = "true" Then
|
||||||
Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_tt_catalog.xml"
|
Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_tt_catalog.xml"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
If Seeker = "curr" Then
|
If Seeker = "curr" Then
|
||||||
Machine DoorLidClose
|
Machine DoorLidClose
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
@ -44,13 +44,13 @@
|
||||||
|
|
||||||
CoinVending OFF
|
CoinVending OFF
|
||||||
|
|
||||||
|
|
||||||
; Clear value
|
; Clear value
|
||||||
Topping "clear" "-"
|
Topping "clear" "-"
|
||||||
|
|
||||||
|
|
||||||
Var DirImage = "ROOT/taobin_project/image/page2_inter/"
|
Var DirImage = "ROOT/taobin_project/image/page2_inter/"
|
||||||
|
|
||||||
|
|
||||||
Var StrawAutoRelease1 = "false"
|
Var StrawAutoRelease1 = "false"
|
||||||
Var StrawAutoRelease2 = "false"
|
Var StrawAutoRelease2 = "false"
|
||||||
|
|
@ -79,7 +79,7 @@
|
||||||
|
|
||||||
;GenHashWithTimeStamp QRCODE99x
|
;GenHashWithTimeStamp QRCODE99x
|
||||||
WEB "ENABLE"
|
WEB "ENABLE"
|
||||||
|
|
||||||
Else
|
Else
|
||||||
Var ShowNetworkProblem = "Enable"
|
Var ShowNetworkProblem = "Enable"
|
||||||
Var ShowButtonClick2 = "Invisible"
|
Var ShowButtonClick2 = "Invisible"
|
||||||
|
|
@ -95,9 +95,9 @@
|
||||||
Var ShowNetworkProblem = "Invisible"
|
Var ShowNetworkProblem = "Invisible"
|
||||||
Var ShowNetworkProblemText = ""
|
Var ShowNetworkProblemText = ""
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
; 1035 is Coke.
|
; 1035 is Coke.
|
||||||
STRCONTAIN "1035" MaterialAvailable CokeUI
|
STRCONTAIN "1035" MaterialAvailable CokeUI
|
||||||
|
|
||||||
Var bnSodaAndOther = DirImage + "/bn_soda_coke.png"
|
Var bnSodaAndOther = DirImage + "/bn_soda_coke.png"
|
||||||
Var bpSodaAndOther = DirImage + "/bp_soda_coke.png"
|
Var bpSodaAndOther = DirImage + "/bp_soda_coke.png"
|
||||||
|
|
@ -112,8 +112,8 @@
|
||||||
Var QRCODE99_Y = 1718
|
Var QRCODE99_Y = 1718
|
||||||
|
|
||||||
Var showCart = "Invisible"
|
Var showCart = "Invisible"
|
||||||
If MultiPayEnable = "true" Then
|
If MultiPayEnable = "true" Then
|
||||||
|
|
||||||
If CART_COUNT = 1 Then
|
If CART_COUNT = 1 Then
|
||||||
Var showCart = "Enable"
|
Var showCart = "Enable"
|
||||||
Var cart_image_bn = DirImageCart + "/bn_cart1.png"
|
Var cart_image_bn = DirImageCart + "/bn_cart1.png"
|
||||||
|
|
@ -122,7 +122,7 @@
|
||||||
Var QRCODE99_Y = 1580
|
Var QRCODE99_Y = 1580
|
||||||
|
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
If CART_COUNT = 2 Then
|
If CART_COUNT = 2 Then
|
||||||
Var showCart = "Enable"
|
Var showCart = "Enable"
|
||||||
Var cart_image_bn = DirImageCart + "/bn_cart2.png"
|
Var cart_image_bn = DirImageCart + "/bn_cart2.png"
|
||||||
|
|
@ -132,7 +132,7 @@
|
||||||
|
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
If CART_COUNT = 3 Then
|
If CART_COUNT = 3 Then
|
||||||
Open "ROOT/taobin_project/xml/page_payment_multi.xml"
|
Open "ROOT/taobin_project/xml/page_payment_multi.xml"
|
||||||
|
|
@ -148,10 +148,10 @@
|
||||||
|
|
||||||
If XMLProfile = "taobin_notopup" Then
|
If XMLProfile = "taobin_notopup" Then
|
||||||
Var ButtontoTopupMenu = "Disable"
|
Var ButtontoTopupMenu = "Disable"
|
||||||
|
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
Var menu_name_eng_hot = ""
|
Var menu_name_eng_hot = ""
|
||||||
Var menu_desc_eng_hot = ""
|
Var menu_desc_eng_hot = ""
|
||||||
Var menu_name_thai_hot = ""
|
Var menu_name_thai_hot = ""
|
||||||
|
|
@ -169,19 +169,19 @@
|
||||||
Var menu_desc_thai_blender = ""
|
Var menu_desc_thai_blender = ""
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
If BoxID = 0 Then
|
If BoxID = 0 Then
|
||||||
RebootWithCause "BoxID was zero"
|
RebootWithCause "BoxID was zero"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
DEBUGVAR ShowButtonClick2
|
DEBUGVAR ShowButtonClick2
|
||||||
|
|
||||||
DEBUGVAR MenuKidButtonState
|
DEBUGVAR MenuKidButtonState
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
DEBUGVAR $51-03-01-0035.Price
|
DEBUGVAR $51-03-01-0035.Price
|
||||||
|
|
@ -189,7 +189,7 @@
|
||||||
RootLayoutVisible 3 "show"
|
RootLayoutVisible 3 "show"
|
||||||
</EventOpen>
|
</EventOpen>
|
||||||
<Timeout> 1000 </Timeout>
|
<Timeout> 1000 </Timeout>
|
||||||
<EventTimeout>
|
<EventTimeout>
|
||||||
|
|
||||||
;SAVELOG SoundPlaying
|
;SAVELOG SoundPlaying
|
||||||
|
|
||||||
|
|
@ -198,15 +198,15 @@
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
If countDownRetrun = 0 Then
|
If countDownRetrun = 0 Then
|
||||||
If Seeker = "next" Then
|
If Seeker = "next" Then
|
||||||
RootLayoutVisible 3 "hide"
|
RootLayoutVisible 3 "hide"
|
||||||
Open "ROOT/taobin_project/xml/page_brewing3Conti.xml"
|
Open "ROOT/taobin_project/xml/page_brewing3Conti.xml"
|
||||||
Else
|
Else
|
||||||
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
; zone cup on arm
|
; zone cup on arm
|
||||||
If CupOnArm = "true" Then
|
If CupOnArm = "true" Then
|
||||||
|
|
@ -227,10 +227,10 @@
|
||||||
|
|
||||||
Refresh
|
Refresh
|
||||||
TimerReset
|
TimerReset
|
||||||
</EventTimeout>
|
</EventTimeout>
|
||||||
|
|
||||||
<EventChangeStatus>
|
<EventChangeStatus>
|
||||||
;If ChangeStatus = "payout-end" Then
|
;If ChangeStatus = "payout-end" Then
|
||||||
; Var ChangeOK = 1
|
; Var ChangeOK = 1
|
||||||
;EndIf
|
;EndIf
|
||||||
</EventChangeStatus>
|
</EventChangeStatus>
|
||||||
|
|
@ -243,15 +243,15 @@
|
||||||
Cart "DeleteMenuID" "ALL"
|
Cart "DeleteMenuID" "ALL"
|
||||||
Var web_readyOK = web_ready
|
Var web_readyOK = web_ready
|
||||||
Var web_telnumOK = web_telnum
|
Var web_telnumOK = web_telnum
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_payment.xml"
|
Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_payment.xml"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
Else
|
Else
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
</EventWebApp>
|
</EventWebApp>
|
||||||
|
|
||||||
<Image>
|
<Image>
|
||||||
|
|
@ -272,12 +272,12 @@
|
||||||
If LanguageShow = "MALAY" Then
|
If LanguageShow = "MALAY" Then
|
||||||
Var PlaySoundLag = "/mnt/sdcard/coffeevending/taobin_project/sound_eng/What_would_you_like_to_drink_today.mp3"
|
Var PlaySoundLag = "/mnt/sdcard/coffeevending/taobin_project/sound_eng/What_would_you_like_to_drink_today.mp3"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
If LanguageShow = "THAI" Then
|
If LanguageShow = "THAI" Then
|
||||||
Var PlaySoundLag = "/mnt/sdcard/coffeevending/taobin_project/sound_thai/taobin_sawade.mp3"
|
Var PlaySoundLag = "/mnt/sdcard/coffeevending/taobin_project/sound_thai/taobin_sawade.mp3"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
Play PlaySoundLag
|
Play PlaySoundLag
|
||||||
Var countDownRetrun = 300
|
Var countDownRetrun = 300
|
||||||
|
|
||||||
Var LanguageButtonEnable = "Enable"
|
Var LanguageButtonEnable = "Enable"
|
||||||
|
|
@ -300,10 +300,10 @@
|
||||||
<FilenamePress> "ROOT/taobin_project/image/page2/bn_back_arrow.png" </FilenamePress>
|
<FilenamePress> "ROOT/taobin_project/image/page2/bn_back_arrow.png" </FilenamePress>
|
||||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
<Volume> SoundVolume </Volume>
|
<Volume> SoundVolume </Volume>
|
||||||
<EventClick>
|
<EventClick>
|
||||||
If Seeker = "next" Then
|
If Seeker = "next" Then
|
||||||
RootLayoutVisible 3 "hide"
|
RootLayoutVisible 3 "hide"
|
||||||
Open "ROOT/taobin_project/xml/page_brewing3Conti.xml"
|
Open "ROOT/taobin_project/xml/page_brewing3Conti.xml"
|
||||||
Else
|
Else
|
||||||
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
@ -339,12 +339,12 @@
|
||||||
<FilenamePress> Var(DirImage + "/bn_winter_warmers.png") </FilenamePress>
|
<FilenamePress> Var(DirImage + "/bn_winter_warmers.png") </FilenamePress>
|
||||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
<Volume> SoundVolume </Volume>
|
<Volume> SoundVolume </Volume>
|
||||||
<EventClick>
|
<EventClick>
|
||||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert2.xml"
|
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert2.xml"
|
||||||
|
|
||||||
;Open "ROOT/taobin_project/xml/page_catalog_group_winter_warmers.lxml"
|
;Open "ROOT/taobin_project/xml/page_catalog_group_winter_warmers.lxml"
|
||||||
|
|
||||||
|
|
||||||
Var OpenFileXML = CountryRootPath + "xml/page_catalog_group_winter_warmers_ignore.lxml"
|
Var OpenFileXML = CountryRootPath + "xml/page_catalog_group_winter_warmers_ignore.lxml"
|
||||||
Open OpenFileXML
|
Open OpenFileXML
|
||||||
|
|
||||||
|
|
@ -358,10 +358,10 @@
|
||||||
<FilenamePress> Var(DirImage + "/bp_diy.png") </FilenamePress>
|
<FilenamePress> Var(DirImage + "/bp_diy.png") </FilenamePress>
|
||||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
<Volume> SoundVolume </Volume>
|
<Volume> SoundVolume </Volume>
|
||||||
<EventClick>
|
<EventClick>
|
||||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert2.xml"
|
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert2.xml"
|
||||||
|
|
||||||
If CountryName = "Thailand" Then
|
If CountryName = "Thailand" Then
|
||||||
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/event/script_common_for_open_promotion_xml.ev"
|
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/event/script_common_for_open_promotion_xml.ev"
|
||||||
Else
|
Else
|
||||||
Var OpenFileXML = CountryRootPath + "xml/event/script_common_for_open_promotion_xml.ev"
|
Var OpenFileXML = CountryRootPath + "xml/event/script_common_for_open_promotion_xml.ev"
|
||||||
|
|
@ -386,10 +386,10 @@
|
||||||
<FilenamePress> Var(DirImage + "/bp_tea.png") </FilenamePress>
|
<FilenamePress> Var(DirImage + "/bp_tea.png") </FilenamePress>
|
||||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
<Volume> SoundVolume </Volume>
|
<Volume> SoundVolume </Volume>
|
||||||
<EventClick>
|
<EventClick>
|
||||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert2.xml"
|
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert2.xml"
|
||||||
|
|
||||||
;Open "ROOT/taobin_project/xml/page_catalog_group_tea.lxml"
|
;Open "ROOT/taobin_project/xml/page_catalog_group_tea.lxml"
|
||||||
|
|
||||||
Var OpenFileXML = CountryRootPath + "xml/page_catalog_group_tea.lxml"
|
Var OpenFileXML = CountryRootPath + "xml/page_catalog_group_tea.lxml"
|
||||||
Open OpenFileXML
|
Open OpenFileXML
|
||||||
|
|
@ -410,10 +410,10 @@
|
||||||
<FilenamePress> Var(DirImage + "/bp_cho_caramel.png") </FilenamePress>
|
<FilenamePress> Var(DirImage + "/bp_cho_caramel.png") </FilenamePress>
|
||||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
<Volume> SoundVolume </Volume>
|
<Volume> SoundVolume </Volume>
|
||||||
<EventClick>
|
<EventClick>
|
||||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert2.xml"
|
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert2.xml"
|
||||||
|
|
||||||
;Open "ROOT/taobin_project/xml/page_catalog_group_milk.lxml"
|
;Open "ROOT/taobin_project/xml/page_catalog_group_milk.lxml"
|
||||||
|
|
||||||
Var OpenFileXML = CountryRootPath + "xml/page_catalog_group_milk.lxml"
|
Var OpenFileXML = CountryRootPath + "xml/page_catalog_group_milk.lxml"
|
||||||
Open OpenFileXML
|
Open OpenFileXML
|
||||||
|
|
@ -436,11 +436,11 @@
|
||||||
<FilenamePress> Var(DirImage + "/bn_kidmenu.png") </FilenamePress>
|
<FilenamePress> Var(DirImage + "/bn_kidmenu.png") </FilenamePress>
|
||||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
<Volume> SoundVolume </Volume>
|
<Volume> SoundVolume </Volume>
|
||||||
<EventClick>
|
<EventClick>
|
||||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert2.xml"
|
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert2.xml"
|
||||||
|
|
||||||
;Open "ROOT/taobin_project/xml/page_catalog_group_forkid.lxml"
|
;Open "ROOT/taobin_project/xml/page_catalog_group_forkid.lxml"
|
||||||
|
|
||||||
Var OpenFileXML = CountryRootPath + "xml/page_catalog_group_forkid.lxml"
|
Var OpenFileXML = CountryRootPath + "xml/page_catalog_group_forkid.lxml"
|
||||||
Open OpenFileXML
|
Open OpenFileXML
|
||||||
</EventClick>
|
</EventClick>
|
||||||
|
|
@ -461,10 +461,10 @@
|
||||||
<FilenamePress> Var(DirImage + "/bp_appfast.png") </FilenamePress>
|
<FilenamePress> Var(DirImage + "/bp_appfast.png") </FilenamePress>
|
||||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
<Volume> SoundVolume </Volume>
|
<Volume> SoundVolume </Volume>
|
||||||
<EventClick>
|
<EventClick>
|
||||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert2.xml"
|
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert2.xml"
|
||||||
|
|
||||||
;Open "ROOT/taobin_project/xml/page_catalog_group_appfast.lxml"
|
;Open "ROOT/taobin_project/xml/page_catalog_group_appfast.lxml"
|
||||||
|
|
||||||
Var OpenFileXML = CountryRootPath + "xml/page_catalog_group_appfast.lxml"
|
Var OpenFileXML = CountryRootPath + "xml/page_catalog_group_appfast.lxml"
|
||||||
Open OpenFileXML
|
Open OpenFileXML
|
||||||
|
|
@ -487,10 +487,10 @@
|
||||||
<FilenamePress> bpSodaAndOther </FilenamePress>
|
<FilenamePress> bpSodaAndOther </FilenamePress>
|
||||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
<Volume> SoundVolume </Volume>
|
<Volume> SoundVolume </Volume>
|
||||||
<EventClick>
|
<EventClick>
|
||||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert2.xml"
|
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert2.xml"
|
||||||
|
|
||||||
;Open "ROOT/taobin_project/xml/page_catalog_group_other.lxml"
|
;Open "ROOT/taobin_project/xml/page_catalog_group_other.lxml"
|
||||||
|
|
||||||
Var OpenFileXML = CountryRootPath + "xml/page_catalog_group_other.lxml"
|
Var OpenFileXML = CountryRootPath + "xml/page_catalog_group_other.lxml"
|
||||||
Open OpenFileXML
|
Open OpenFileXML
|
||||||
|
|
@ -516,10 +516,10 @@
|
||||||
<FilenamePress> Var(DirImage + "/bp_protein.png") </FilenamePress>
|
<FilenamePress> Var(DirImage + "/bp_protein.png") </FilenamePress>
|
||||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
<Volume> SoundVolume </Volume>
|
<Volume> SoundVolume </Volume>
|
||||||
<EventClick>
|
<EventClick>
|
||||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert2.xml"
|
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert2.xml"
|
||||||
|
|
||||||
;Open "ROOT/taobin_project/xml/page_catalog_group_whey.lxml"
|
;Open "ROOT/taobin_project/xml/page_catalog_group_whey.lxml"
|
||||||
|
|
||||||
Var OpenFileXML = CountryRootPath + "xml/page_catalog_group_whey.lxml"
|
Var OpenFileXML = CountryRootPath + "xml/page_catalog_group_whey.lxml"
|
||||||
Open OpenFileXML
|
Open OpenFileXML
|
||||||
|
|
@ -543,12 +543,12 @@
|
||||||
<FilenamePress> Var(DirImage + "/bp_HealthyOption.png") </FilenamePress>
|
<FilenamePress> Var(DirImage + "/bp_HealthyOption.png") </FilenamePress>
|
||||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
<Volume> SoundVolume </Volume>
|
<Volume> SoundVolume </Volume>
|
||||||
<EventClick>
|
<EventClick>
|
||||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert2.xml"
|
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert2.xml"
|
||||||
|
|
||||||
;Open "ROOT/taobin_project/xml/page_catalog_group_health.lxml"
|
;Open "ROOT/taobin_project/xml/page_catalog_group_health.lxml"
|
||||||
|
|
||||||
|
|
||||||
Var OpenFileXML = CountryRootPath + "xml/page_catalog_group_health.lxml"
|
Var OpenFileXML = CountryRootPath + "xml/page_catalog_group_health.lxml"
|
||||||
Open OpenFileXML
|
Open OpenFileXML
|
||||||
|
|
||||||
|
|
@ -571,12 +571,12 @@
|
||||||
<FilenamePress> Var(DirImage + "/bp_coffee.png") </FilenamePress>
|
<FilenamePress> Var(DirImage + "/bp_coffee.png") </FilenamePress>
|
||||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
<Volume> SoundVolume </Volume>
|
<Volume> SoundVolume </Volume>
|
||||||
<EventClick>
|
<EventClick>
|
||||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert2.xml"
|
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert2.xml"
|
||||||
|
|
||||||
|
|
||||||
Var OpenFileXML = CountryRootPath + "xml/page_catalog_group_coffee.lxml"
|
Var OpenFileXML = CountryRootPath + "xml/page_catalog_group_coffee.lxml"
|
||||||
|
|
||||||
DEBUGVAR CountryRootPath
|
DEBUGVAR CountryRootPath
|
||||||
DEBUGVAR OpenFileXML
|
DEBUGVAR OpenFileXML
|
||||||
Open OpenFileXML
|
Open OpenFileXML
|
||||||
|
|
@ -598,32 +598,15 @@
|
||||||
<X> 225 </X>
|
<X> 225 </X>
|
||||||
<Y> 424 </Y>
|
<Y> 424 </Y>
|
||||||
<State> ShowButtonClick2 </State>
|
<State> ShowButtonClick2 </State>
|
||||||
<Filename> Var(DirImage + "/bn_main_page_member.png") </Filename>
|
<Filename> "ROOT/taobin_project/image/page2_en/page2/bn_main_page_member.png" </Filename>
|
||||||
<FilenamePress> Var(DirImage + "/bp_main_page_member.png") </FilenamePress>
|
<FilenamePress> "ROOT/taobin_project/image/page2_en/page2/bp_main_page_member.png" </FilenamePress>
|
||||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
<Volume> SoundVolume </Volume>
|
<Volume> SoundVolume </Volume>
|
||||||
<EventClick>
|
<EventClick>
|
||||||
; eng
|
; eng
|
||||||
Var CheckMemberPage = CountryRootPath + "xml/page_check_member.lxml"
|
Var CheckMemberPage = CountryRootPath + "xml/page_check_member.lxml"
|
||||||
Open CheckMemberPage
|
Open CheckMemberPage
|
||||||
|
|
||||||
</EventClick>
|
|
||||||
</Button>
|
|
||||||
|
|
||||||
<Button>
|
|
||||||
<X> 696 </X>
|
|
||||||
<Y> 424 </Y>
|
|
||||||
<State> ButtontoTopupMenu </State>
|
|
||||||
<Filename> Var(DirImage + "/bn_main_page_topup.png") </Filename>
|
|
||||||
<FilenamePress> Var(DirImage + "/bp_main_page_topup.png") </FilenamePress>
|
|
||||||
<FilenameDisable> Var(DirImage + "/bp_main_page_topup.png") </FilenameDisable>
|
|
||||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
||||||
<Volume> SoundVolume </Volume>
|
|
||||||
<EventClick>
|
|
||||||
; eng
|
|
||||||
Var PayDetail=""
|
|
||||||
Open "ROOT/taobin_project/xml/page_back_to_topup.xml"
|
|
||||||
|
|
||||||
</EventClick>
|
</EventClick>
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
|
|
@ -634,10 +617,10 @@
|
||||||
<Color> "0xFF0000" </Color>
|
<Color> "0xFF0000" </Color>
|
||||||
<Width> 1080 </Width>
|
<Width> 1080 </Width>
|
||||||
<Height> 60 </Height>
|
<Height> 60 </Height>
|
||||||
<EventClick>
|
<EventClick>
|
||||||
|
|
||||||
Open "ROOT/taobin_project/xml/page_camera.xml"
|
Open "ROOT/taobin_project/xml/page_camera.xml"
|
||||||
|
|
||||||
</EventClick>
|
</EventClick>
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
|
|
@ -663,12 +646,12 @@
|
||||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
<Volume> SoundVolume </Volume>
|
<Volume> SoundVolume </Volume>
|
||||||
<Interval> 400</Interval>
|
<Interval> 400</Interval>
|
||||||
<EventClick>
|
<EventClick>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Open "ROOT/taobin_project/xml/page_payment_multi.xml"
|
Open "ROOT/taobin_project/xml/page_payment_multi.xml"
|
||||||
|
|
||||||
|
|
||||||
</EventClick>
|
</EventClick>
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
|
|
@ -680,7 +663,7 @@
|
||||||
|
|
||||||
Var web_readyOK = web_ready
|
Var web_readyOK = web_ready
|
||||||
Var web_telnumOK = web_telnum
|
Var web_telnumOK = web_telnum
|
||||||
|
|
||||||
Var web_app_prepar = "true"
|
Var web_app_prepar = "true"
|
||||||
|
|
||||||
Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_payment.xml"
|
Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_payment.xml"
|
||||||
|
|
@ -688,7 +671,7 @@
|
||||||
EndIf
|
EndIf
|
||||||
Else
|
Else
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
</EventWebApp>
|
</EventWebApp>
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -700,12 +683,12 @@
|
||||||
<Height> 100 </Height>
|
<Height> 100 </Height>
|
||||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
<Volume> SoundVolume </Volume>
|
<Volume> SoundVolume </Volume>
|
||||||
<EventClick>
|
<EventClick>
|
||||||
Var ClickCountMainTe = ClickCountMainTe + 1
|
Var ClickCountMainTe = ClickCountMainTe + 1
|
||||||
|
|
||||||
DEBUGVAR ClickCountMainTe
|
DEBUGVAR ClickCountMainTe
|
||||||
|
|
||||||
If ClickCountMainTe = 2 Then
|
If ClickCountMainTe = 2 Then
|
||||||
Var OpenRouteManTest = 1
|
Var OpenRouteManTest = 1
|
||||||
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
||||||
Var ClickCountMainTe = 0
|
Var ClickCountMainTe = 0
|
||||||
|
|
@ -722,7 +705,7 @@
|
||||||
<Interval> 500 </Interval>
|
<Interval> 500 </Interval>
|
||||||
<Filename> Var(RootPath + "image/main_page_inter/bn_remove_cup.png") </Filename>
|
<Filename> Var(RootPath + "image/main_page_inter/bn_remove_cup.png") </Filename>
|
||||||
<Filename> Var(RootPath + "image/main_page_inter/bp_remove_cup.png") </Filename>
|
<Filename> Var(RootPath + "image/main_page_inter/bp_remove_cup.png") </Filename>
|
||||||
<EventClick>
|
<EventClick>
|
||||||
Machine RemoveCup
|
Machine RemoveCup
|
||||||
Machine DoorLidOpen
|
Machine DoorLidOpen
|
||||||
|
|
||||||
|
|
@ -737,7 +720,7 @@
|
||||||
Var bg_lidProblem_ST = "Invisible"
|
Var bg_lidProblem_ST = "Invisible"
|
||||||
Var GetLidButtonState2 = "Enable"
|
Var GetLidButtonState2 = "Enable"
|
||||||
Var bg_lidProblem_ST2 ="Invisible"
|
Var bg_lidProblem_ST2 ="Invisible"
|
||||||
|
|
||||||
Var EnableGetMoreStrawFileName2 = "Enable"
|
Var EnableGetMoreStrawFileName2 = "Enable"
|
||||||
Var bg_strawProblem_ST2 ="Invisible"
|
Var bg_strawProblem_ST2 ="Invisible"
|
||||||
</EventUnitTest1>
|
</EventUnitTest1>
|
||||||
|
|
@ -747,7 +730,7 @@
|
||||||
Var bg_lidProblem_ST = "Enable"
|
Var bg_lidProblem_ST = "Enable"
|
||||||
Var GetLidButtonState2 = "Invisible"
|
Var GetLidButtonState2 = "Invisible"
|
||||||
Var bg_lidProblem_ST2 ="Enable"
|
Var bg_lidProblem_ST2 ="Enable"
|
||||||
|
|
||||||
Var XStraw = 376
|
Var XStraw = 376
|
||||||
Var EnableGetMoreStrawFileName2 = "Invisible"
|
Var EnableGetMoreStrawFileName2 = "Invisible"
|
||||||
Var bg_strawProblem_ST2 ="Enable"
|
Var bg_strawProblem_ST2 ="Enable"
|
||||||
|
|
@ -761,7 +744,7 @@
|
||||||
Var CountDownBrewing = 122
|
Var CountDownBrewing = 122
|
||||||
Var MachineStage = "testing"
|
Var MachineStage = "testing"
|
||||||
Var BREW_CNT = 122
|
Var BREW_CNT = 122
|
||||||
|
|
||||||
Var InternationalEnable = 1
|
Var InternationalEnable = 1
|
||||||
DEBUGVAR InternationalEnable
|
DEBUGVAR InternationalEnable
|
||||||
Var LanguageObjectShow = "Enable"
|
Var LanguageObjectShow = "Enable"
|
||||||
|
|
|
||||||
|
|
@ -8,10 +8,12 @@
|
||||||
<EventOpen>
|
<EventOpen>
|
||||||
; On open
|
; On open
|
||||||
|
|
||||||
|
Var TargetTimeout = 30
|
||||||
Var Timeout = 0
|
Var Timeout = 0
|
||||||
|
|
||||||
|
|
||||||
|
Var BlurBackgroundState = "Invisible"
|
||||||
|
Var SelectOptionPopupState = "Invisible"
|
||||||
|
Var SelectedPaymentMedthod = ""
|
||||||
|
|
||||||
Var SumCreditAmount = TaobinCredit
|
Var SumCreditAmount = TaobinCredit
|
||||||
Var CashlessPayFlag = 0
|
Var CashlessPayFlag = 0
|
||||||
|
|
@ -21,6 +23,17 @@
|
||||||
Var AdditionalAmount = 0
|
Var AdditionalAmount = 0
|
||||||
Var ChangeOK = 0
|
Var ChangeOK = 0
|
||||||
|
|
||||||
|
Var QRCODE99 = ""
|
||||||
|
Var QRCODEImageState = "Invisible"
|
||||||
|
|
||||||
|
Var CancelButtonPaymentPopupState = "Invisible"
|
||||||
|
|
||||||
|
Var CancelingState = 0
|
||||||
|
Var CancelingTime = 0
|
||||||
|
|
||||||
|
Var ReqPayInfoFlag = 0
|
||||||
|
Var WaitQRPay = 0
|
||||||
|
|
||||||
|
|
||||||
Var QRErrorState = "Invisible"
|
Var QRErrorState = "Invisible"
|
||||||
|
|
||||||
|
|
@ -34,8 +47,6 @@
|
||||||
|
|
||||||
Var text_4 = "/text_4-AUS.png"
|
Var text_4 = "/text_4-AUS.png"
|
||||||
|
|
||||||
Var PayCreditChannel = "credit-card"
|
|
||||||
|
|
||||||
Var OptionAmount1 = 2900
|
Var OptionAmount1 = 2900
|
||||||
Var OptionAmount2 = 3900
|
Var OptionAmount2 = 3900
|
||||||
Var OptionAmount3 = 4900
|
Var OptionAmount3 = 4900
|
||||||
|
|
@ -58,40 +69,104 @@
|
||||||
|
|
||||||
</EventOpen>
|
</EventOpen>
|
||||||
<Timeout> 1000 </Timeout>
|
<Timeout> 1000 </Timeout>
|
||||||
<EventTimeout>
|
<EventTimeout>
|
||||||
|
|
||||||
Var Timeout = Timeout + 1
|
Var Timeout = Timeout + 1
|
||||||
If Timeout > 30 Then
|
If Timeout > TargetTimeout Then
|
||||||
Var alphaState = "Invisible"
|
Var alphaState = "Invisible"
|
||||||
|
|
||||||
Var LOADING_STATE = "Invisible"
|
Var LOADING_STATE = "Invisible"
|
||||||
Var QRErrorState = "Invisible"
|
Var QRErrorState = "Invisible"
|
||||||
|
|
||||||
If CashlessPayFlag = 1 Then
|
If CashlessPayFlag = 1 Then
|
||||||
Var CashlessPayFlag = 0
|
Var CashlessPayFlag = 0
|
||||||
CashlessReq FAIL
|
CashlessReq FAIL
|
||||||
Else
|
Else
|
||||||
CashlessReq OFF
|
CashlessReq OFF
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
VendingQR OFF
|
||||||
|
|
||||||
Var CheckMemberPage2 = CountryRootPath + "xml/page_check_member2.lxml"
|
Var CheckMemberPage2 = CountryRootPath + "xml/page_check_member2.lxml"
|
||||||
Open CheckMemberPage2
|
Open CheckMemberPage2
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
If CancelingState = 1 Then
|
||||||
|
|
||||||
|
Var CancelingTime = CancelingTime + 1
|
||||||
|
|
||||||
|
If CancelingTime > 3 Then
|
||||||
|
Var Timeout = 0
|
||||||
|
Var TargetTimeout = 30
|
||||||
|
Var alphaState = "Invisible"
|
||||||
|
Var LOADING_STATE = "Invisible"
|
||||||
|
Var BlurBackgroundState = "Invisible"
|
||||||
|
Var CancelingState = 0
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
TimerReset
|
TimerReset
|
||||||
Refresh
|
Refresh
|
||||||
</EventTimeout>
|
</EventTimeout>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<EventSecurity>
|
<EventSecurity>
|
||||||
Open "/media/bt/xml/security_alarm.xml"
|
Open "/media/bt/xml/security_alarm.xml"
|
||||||
</EventSecurity>
|
</EventSecurity>
|
||||||
|
|
||||||
<EventActionOk>
|
<EventActionOk>
|
||||||
|
|
||||||
|
If WaitQRPay = 1 Then
|
||||||
|
If VendingExtResult = "" Then
|
||||||
|
Else
|
||||||
|
Var PayCreditChannel = "fatzebra"
|
||||||
|
|
||||||
|
Var ToppupSuccessPage = CountryRootPath + "xml/page_member_topupSuccess.lxml"
|
||||||
|
Open ToppupSuccessPage
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Var ReqPayInfoFlag = 0
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If ReqPayInfoFlag = 1 Then
|
||||||
|
Var VendingQRTypeResult = ""
|
||||||
|
DEBUGVAR ECommerceQR
|
||||||
|
SPLIT ECommerceQR "/" 5 VendingQRTypeResult
|
||||||
|
|
||||||
|
If VendingQRTypeResult = "FZB:2" Then
|
||||||
|
Var CashTextWarning = ""
|
||||||
|
Var QRErrorState = "Invisible"
|
||||||
|
Var QRCODE99FZB = SessionID
|
||||||
|
Var QRCODE99FZB = QRCODE99FZB + Ext1a
|
||||||
|
SAVELOG Ext1a
|
||||||
|
SAVELOG QRCODE99FZB
|
||||||
|
Var QRCODE99FZB = QRCODE99FZB + Ext21
|
||||||
|
Var QRCODETMP = QRCODE99FZB
|
||||||
|
Var ReqPayInfoFlag = 0
|
||||||
|
SAVELOG QRCODE99FZB
|
||||||
|
SAVELOG Ext21
|
||||||
|
|
||||||
|
Var QRCODE99 = QRCODE99FZB
|
||||||
|
Var LOADING_STATE = "Invisible"
|
||||||
|
|
||||||
|
Var WaitQRPay = 1
|
||||||
|
Var TargetTimeout = 120
|
||||||
|
Var Timeout = 0
|
||||||
|
Var VendingExtResult = ""
|
||||||
|
|
||||||
|
PlayLong "/mnt/sdcard/coffeevending/taobin_project/sound_eng/Please_scan_to_pay_via_mobile.mp3"
|
||||||
|
|
||||||
|
Refresh
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
If VendingCashless = "OK" Then
|
If VendingCashless = "OK" Then
|
||||||
CashlessReq SUCCESS
|
CashlessReq SUCCESS
|
||||||
|
|
||||||
|
Var PayCreditChannel = "credit-card"
|
||||||
|
|
||||||
Var ToppupSuccessPage = CountryRootPath + "xml/page_member_topupSuccess.lxml"
|
Var ToppupSuccessPage = CountryRootPath + "xml/page_member_topupSuccess.lxml"
|
||||||
Open ToppupSuccessPage
|
Open ToppupSuccessPage
|
||||||
EndIf
|
EndIf
|
||||||
|
|
@ -100,18 +175,28 @@
|
||||||
<EventActionError>
|
<EventActionError>
|
||||||
|
|
||||||
If VendingCashless = "ERROR" Then
|
If VendingCashless = "ERROR" Then
|
||||||
Var Timeout = 0
|
Var TargetTimeout = 30
|
||||||
|
Var Timeout = 0
|
||||||
|
|
||||||
;Var QRErrorFlag = 1
|
;Var QRErrorFlag = 1
|
||||||
If alphaState = "Enable" Then
|
If alphaState = "Enable" Then
|
||||||
Var QRErrorState = "Enable"
|
Var QRErrorState = "Enable"
|
||||||
Var LOADING_STATE = "Invisible"
|
Var LOADING_STATE = "Invisible"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
CashlessReq FAIL
|
CashlessReq FAIL
|
||||||
|
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
If ReqPayInfoFlag > 0 Then
|
||||||
|
Var TargetTimeout = 30
|
||||||
|
Var Timeout = 0
|
||||||
|
Var QRErrorFlag = 1
|
||||||
|
If alphaState = "Enable" Then
|
||||||
|
Var QRErrorState = "Enable"
|
||||||
|
Var QRCODE99 = ""
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
Refresh
|
Refresh
|
||||||
|
|
@ -122,7 +207,7 @@
|
||||||
|
|
||||||
Var CreditCardRef = ""
|
Var CreditCardRef = ""
|
||||||
GenHashWithTimeStamp CreditCardRef
|
GenHashWithTimeStamp CreditCardRef
|
||||||
DEBUGVAR VendingCashless
|
DEBUGVAR VendingCashless
|
||||||
|
|
||||||
If VendingCashless = "READY" Then
|
If VendingCashless = "READY" Then
|
||||||
Var Timeout = 0
|
Var Timeout = 0
|
||||||
|
|
@ -148,72 +233,150 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<Text>
|
||||||
|
|
||||||
|
|
||||||
<Image>
|
|
||||||
<X> 70 </X>
|
<X> 70 </X>
|
||||||
<Y> 499 </Y>
|
<Y> 499 </Y>
|
||||||
<Filename> Var( DirImage + "/text_3.png" )</Filename>
|
<Width> 940 </Width>
|
||||||
</Image>
|
<Font> MontserratBold </Font>
|
||||||
|
<Size> 50 </Size>
|
||||||
|
<Color> 0x513C2F </Color>
|
||||||
|
<Align> Center </Align>
|
||||||
|
<Value> "Choose a payment method" </Value>
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 287 </X>
|
||||||
|
<Y> 637 </Y>
|
||||||
|
<Filename> Var( DirImage2 + "/bn_credit_card.png" ) </Filename>
|
||||||
|
<FilenamePress> Var( DirImage2 + "/bp_credit_card.png" ) </FilenamePress>
|
||||||
|
<FilenameDisable> Var( DirImage2 + "/bd_credit_card.png" ) </FilenameDisable>
|
||||||
|
<EventOnClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var SelectedPaymentMedthod = "credit_card"
|
||||||
|
Var SelectOptionPopupState = "Enable"
|
||||||
|
Var BlurBackgroundState = "Enable"
|
||||||
|
</EventOnClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 287 </X>
|
||||||
|
<Y> 778 </Y>
|
||||||
|
<Filename> Var( DirImage2 + "/bn_fatzebra.png" ) </Filename>
|
||||||
|
<FilenamePress> Var( DirImage2 + "/bp_fatzebra.png" ) </FilenamePress>
|
||||||
|
<FilenameDisable> Var( DirImage2 + "/bd_fatzebra.png" ) </FilenameDisable>
|
||||||
|
<EventOnClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var SelectedPaymentMedthod = "fatzebra"
|
||||||
|
Var SelectOptionPopupState = "Enable"
|
||||||
|
Var BlurBackgroundState = "Enable"
|
||||||
|
</EventOnClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Text>
|
||||||
|
<X> 70 </X>
|
||||||
|
<Y> 1134 </Y>
|
||||||
|
<Width> 940 </Width>
|
||||||
|
<Font> MontserratBold </Font>
|
||||||
|
<Size> 64 </Size>
|
||||||
|
<Color> 0x513C2F </Color>
|
||||||
|
<Align> Center </Align>
|
||||||
|
<Value> "Total balance" </Value>
|
||||||
|
</Text>
|
||||||
|
|
||||||
<Image>
|
<Image>
|
||||||
<X> 252 </X>
|
<X> 252 </X>
|
||||||
<Y> 1223 </Y>
|
<Y> 1272 </Y>
|
||||||
<Filename> Var( DirImage + text_4 )</Filename>
|
<Filename> Var( DirImage + text_4 )</Filename>
|
||||||
</Image>
|
</Image>
|
||||||
|
|
||||||
|
|
||||||
<Text>
|
<Text>
|
||||||
<X> 0 </X>
|
<X> 252 </X>
|
||||||
<Y> 1280 </Y>
|
<Y> 1300 </Y>
|
||||||
<Size> 120 </Size>
|
<Size> 144 </Size>
|
||||||
<Align> Center </Align>
|
<Align> Center </Align>
|
||||||
<Width> 1080 </Width>
|
<Width> 566 </Width>
|
||||||
<Font> KanitRegularTTF </Font>
|
<Font> KanitRegularTTF </Font>
|
||||||
|
|
||||||
<Color> 0xDE794E </Color>
|
<Color> 0xDE794E </Color>
|
||||||
<Value> TaobinCreditStr </Value>
|
<Value> TaobinCreditStr </Value>
|
||||||
</Text>
|
</Text>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 397 </X>
|
||||||
|
<Y> 1622 </Y>
|
||||||
|
<Filename> Var( DirImage + "/bn_cancel2.png" )</Filename>
|
||||||
|
<FilenamePress> Var( DirImage + "/bp_cancel2.png" )</FilenamePress>
|
||||||
|
<EventClick>
|
||||||
|
|
||||||
|
Var CheckMemberPage2 = CountryRootPath + "xml/page_check_member2.lxml"
|
||||||
|
Open CheckMemberPage2
|
||||||
|
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 0 </X>
|
||||||
|
<Y> 380 </Y>
|
||||||
|
<State> BlurBackgroundState </State>
|
||||||
|
<Filename> "ROOT/taobin_project/image/page_payment/alpha.png" </Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
; ================= select option =================
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 213 </X>
|
||||||
|
<Y> 653 </Y>
|
||||||
|
<State> SelectOptionPopupState </State>
|
||||||
|
<Filename> Var( DirImage2 + "/popup_option_bg.png" ) </Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
<Text>
|
||||||
|
<X> 249 </X>
|
||||||
|
<Y> 710 </Y>
|
||||||
|
<State> SelectOptionPopupState </State>
|
||||||
|
<Width> 583 </Width>
|
||||||
|
<Font> KanitSemiBold </Font>
|
||||||
|
<Size> 41 </Size>
|
||||||
|
<Color> 0x513C2F </Color>
|
||||||
|
<Align> Center </Align>
|
||||||
|
<Value> "Please Select Option" </Value>
|
||||||
|
</Text>
|
||||||
|
|
||||||
<Button>
|
<Button>
|
||||||
<X> 287 </X>
|
<X> 287 </X>
|
||||||
<Y> 670 </Y>
|
<Y> 836 </Y>
|
||||||
<Filename> Var( DirImage2 + "/bn_topup_29.png") </Filename>
|
<State> SelectOptionPopupState </State>
|
||||||
<FilenamePress> Var( DirImage2 + "/bp_topup_29.png") </FilenamePress>
|
<Filename> Var( DirImage2 + "/bn_topup_credit_option_29.png") </Filename>
|
||||||
<FilenameDisable> Var( DirImage2 + "/bp_topup_29.png") </FilenameDisable>
|
<FilenamePress> Var( DirImage2 + "/bp_topup_credit_option_29.png") </FilenamePress>
|
||||||
|
<FilenameDisable> Var( DirImage2 + "/bd_topup_credit_option_29.png") </FilenameDisable>
|
||||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
<Volume> SoundVolume </Volume>
|
<Volume> SoundVolume </Volume>
|
||||||
<EventClick>
|
<EventClick>
|
||||||
|
|
||||||
Var PayAmount = OptionAmount1
|
Var PayAmount = OptionAmount1
|
||||||
|
|
||||||
Var Timeout = 0
|
Var Timeout = 0
|
||||||
|
|
||||||
If PromotionAdditionCredit = 1 Then
|
If PromotionAdditionCredit = 1 Then
|
||||||
Var AdditionalAmount = AmountAdditionCredit1
|
Var AdditionalAmount = AmountAdditionCredit1
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
Function 2
|
||||||
|
|
||||||
If alphaState = "Invisible" Then
|
|
||||||
Var QR_POPUP = "/img_popup8.png"
|
|
||||||
Var alphaState = "Enable"
|
|
||||||
Coin CARD
|
|
||||||
EndIf
|
|
||||||
|
|
||||||
|
|
||||||
</EventClick>
|
</EventClick>
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
<Button>
|
<Button>
|
||||||
<X> 287 </X>
|
<X> 287 </X>
|
||||||
<Y> 800 </Y>
|
<Y> 991 </Y>
|
||||||
<Filename> Var( DirImage2 + "/bn_topup_39.png") </Filename>
|
<State> SelectOptionPopupState </State>
|
||||||
<FilenamePress> Var( DirImage2 + "/bp_topup_39.png") </FilenamePress>
|
<Filename> Var( DirImage2 + "/bn_topup_credit_option_39.png") </Filename>
|
||||||
<FilenameDisable> Var( DirImage2 + "/bp_topup_39.png") </FilenameDisable>
|
<FilenamePress> Var( DirImage2 + "/bp_topup_credit_option_39.png") </FilenamePress>
|
||||||
|
<FilenameDisable> Var( DirImage2 + "/bd_topup_credit_option_39.png") </FilenameDisable>
|
||||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
<Volume> SoundVolume </Volume>
|
<Volume> SoundVolume </Volume>
|
||||||
<EventClick>
|
<EventClick>
|
||||||
|
|
||||||
Var PayAmount = OptionAmount2
|
Var PayAmount = OptionAmount2
|
||||||
|
|
||||||
|
|
@ -223,24 +386,21 @@
|
||||||
Var AdditionalAmount = AmountAdditionCredit2
|
Var AdditionalAmount = AmountAdditionCredit2
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
If alphaState = "Invisible" Then
|
Function 2
|
||||||
Var QR_POPUP = "/img_popup8.png"
|
|
||||||
Var alphaState = "Enable"
|
|
||||||
Coin CARD
|
|
||||||
EndIf
|
|
||||||
|
|
||||||
</EventClick>
|
</EventClick>
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
<Button>
|
<Button>
|
||||||
<X> 287 </X>
|
<X> 287 </X>
|
||||||
<Y> 930 </Y>
|
<Y> 1146 </Y>
|
||||||
<Filename> Var( DirImage2 + "/bn_topup_49.png") </Filename>
|
<State> SelectOptionPopupState </State>
|
||||||
<FilenamePress> Var( DirImage2 + "/bp_topup_49.png") </FilenamePress>
|
<Filename> Var( DirImage2 + "/bn_topup_credit_option_49.png") </Filename>
|
||||||
<FilenameDisable> Var( DirImage2 + "/bp_topup_49.png") </FilenameDisable>
|
<FilenamePress> Var( DirImage2 + "/bp_topup_credit_option_49.png") </FilenamePress>
|
||||||
|
<FilenameDisable> Var( DirImage2 + "/bd_topup_credit_option_49.png") </FilenameDisable>
|
||||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
<Volume> SoundVolume </Volume>
|
<Volume> SoundVolume </Volume>
|
||||||
<EventClick>
|
<EventClick>
|
||||||
|
|
||||||
Var PayAmount = OptionAmount3
|
Var PayAmount = OptionAmount3
|
||||||
|
|
||||||
|
|
@ -250,43 +410,31 @@
|
||||||
Var AdditionalAmount = AmountAdditionCredit3
|
Var AdditionalAmount = AmountAdditionCredit3
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
If alphaState = "Invisible" Then
|
Function 2
|
||||||
Var QR_POPUP = "/img_popup8.png"
|
|
||||||
Var alphaState = "Enable"
|
|
||||||
Coin CARD
|
|
||||||
EndIf
|
|
||||||
|
|
||||||
</EventClick>
|
</EventClick>
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
<Button>
|
<Button>
|
||||||
<X> 397 </X>
|
<X> 438 </X>
|
||||||
<Y> 1622 </Y>
|
<Y> 1345 </Y>
|
||||||
<Filename> Var( DirImage + "/bn_cancel2.png" )</Filename>
|
<State> SelectOptionPopupState </State>
|
||||||
<FilenamePress> Var( DirImage + "/bp_cancel2.png" )</FilenamePress>
|
<Filename> Var( DirImage + "/bn_cancel.png" )</Filename>
|
||||||
|
<FilenamePress> Var( DirImage + "/bp_cancel.png" )</FilenamePress>
|
||||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
<Volume> SoundVolume </Volume>
|
<Volume> SoundVolume </Volume>
|
||||||
<EventClick>
|
<EventClick>
|
||||||
|
|
||||||
If CashlessPayFlag = 1 Then
|
Var SelectedPaymentMedthod = ""
|
||||||
Var CashlessPayFlag = 0
|
Var SelectOptionPopupState = "Invisible"
|
||||||
CashlessReq FAIL
|
Var BlurBackgroundState = "Invisible"
|
||||||
EndIf
|
|
||||||
|
|
||||||
Var CheckMemberPage2 = CountryRootPath + "xml/page_check_member2.lxml"
|
|
||||||
Open CheckMemberPage2
|
|
||||||
|
|
||||||
|
|
||||||
|
Refresh
|
||||||
</EventClick>
|
</EventClick>
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
; QR popup
|
|
||||||
<Image>
|
; ================ checkout ===========================
|
||||||
<X> 0 </X>
|
|
||||||
<Y> 380 </Y>
|
|
||||||
<State> alphaState </State>
|
|
||||||
<Filename> "ROOT/taobin_project/image/page_payment/alpha.png" </Filename>
|
|
||||||
</Image>
|
|
||||||
|
|
||||||
<Image>
|
<Image>
|
||||||
<X> 249 </X>
|
<X> 249 </X>
|
||||||
|
|
@ -295,13 +443,18 @@
|
||||||
<Filename> Var( DirImage + QR_POPUP )</Filename>
|
<Filename> Var( DirImage + QR_POPUP )</Filename>
|
||||||
</Image>
|
</Image>
|
||||||
|
|
||||||
|
<Text>
|
||||||
<Image>
|
|
||||||
<X> 267 </X>
|
<X> 267 </X>
|
||||||
<Y> 1065 </Y>
|
<Y> 1065 </Y>
|
||||||
<State> LOADING_STATE </State>
|
<State> LOADING_STATE </State>
|
||||||
<Filename> Var( DirImage + "/loadingText.png" )</Filename>
|
<Width> 546 </Width>
|
||||||
</Image>
|
<Height> 75 </Height>
|
||||||
|
<Font> NotoSansThaiBold </Font>
|
||||||
|
<Size> 58 </Size>
|
||||||
|
<Color> 0x5A5A5A </Color>
|
||||||
|
<Value> LOADING_TEXT </Value>
|
||||||
|
<Align> center-vertical-horizontal </Align>
|
||||||
|
</Text>
|
||||||
|
|
||||||
<GIF>
|
<GIF>
|
||||||
<X> 493 </X>
|
<X> 493 </X>
|
||||||
|
|
@ -314,32 +467,54 @@
|
||||||
|
|
||||||
<Button>
|
<Button>
|
||||||
<X> 438 </X>
|
<X> 438 </X>
|
||||||
<Y> 1345 </Y>
|
<Y> 1365 </Y>
|
||||||
<State> alphaState </State>
|
<State> CancelButtonPaymentPopupState </State>
|
||||||
<Filename> Var( DirImage + "/bn_cancel.png" )</Filename>
|
<Filename> Var( DirImage + "/bn_cancel.png" )</Filename>
|
||||||
<FilenamePress> Var( DirImage + "/bp_cancel.png" )</FilenamePress>
|
<FilenamePress> Var( DirImage + "/bp_cancel.png" )</FilenamePress>
|
||||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
<Volume> SoundVolume </Volume>
|
<Volume> SoundVolume </Volume>
|
||||||
<EventClick>
|
<EventClick>
|
||||||
Var LOADING_STATE = "Invisible"
|
|
||||||
Var QRErrorState = "Invisible"
|
|
||||||
Var alphaState = "Invisible"
|
|
||||||
|
|
||||||
CashlessReq OFF
|
|
||||||
|
|
||||||
If CashlessPayFlag = 1 Then
|
Var LOADING_STATE = "Enable"
|
||||||
Var CashlessPayFlag = 0
|
Var QRErrorState = "Invisible"
|
||||||
CashlessReq FAIL
|
Var CancelButtonPaymentPopupState = "Invisible"
|
||||||
|
Var QRCODEImageState = "Invisible"
|
||||||
|
Var QRCODE99 = ""
|
||||||
|
Var CancelingState = 1
|
||||||
|
|
||||||
|
Var CancelingTime = 0
|
||||||
|
|
||||||
|
Var LOADING_TEXT = "Canceling..."
|
||||||
|
|
||||||
|
If SelectedPaymentMedthod = "credit_card" Then
|
||||||
|
SAVELOG "Canceling credit card"
|
||||||
|
Var QR_POPUP = "/img_popup8-2.png"
|
||||||
|
|
||||||
|
CashlessReq OFF
|
||||||
|
If CashlessPayFlag = 1 Then
|
||||||
|
Var CashlessPayFlag = 0
|
||||||
|
CashlessReq FAIL
|
||||||
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
DEBUGVAR LOADING_STATE
|
If SelectedPaymentMedthod = "fatzebra" Then
|
||||||
DEBUGVAR QRErrorState
|
SAVELOG "Canceling fatzebra"
|
||||||
DEBUGVAR alphaState
|
VendingQR OFF
|
||||||
|
EndIf
|
||||||
|
|
||||||
Refresh
|
Refresh
|
||||||
</EventClick>
|
</EventClick>
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
|
<QRCode>
|
||||||
|
<X> 445 </X>
|
||||||
|
<Y> 958 </Y>
|
||||||
|
<Width> 200 </Width>
|
||||||
|
<Height> 200 </Height>
|
||||||
|
<State> QRCODEImageState </State>
|
||||||
|
<Service> testservice </Service>
|
||||||
|
</QRCode>
|
||||||
|
|
||||||
<Button>
|
<Button>
|
||||||
<X> 267 </X>
|
<X> 267 </X>
|
||||||
|
|
@ -348,16 +523,89 @@
|
||||||
<Filename> Var( DirImage + "/QRError.png" ) </Filename>
|
<Filename> Var( DirImage + "/QRError.png" ) </Filename>
|
||||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
<Volume> SoundVolume </Volume>
|
<Volume> SoundVolume </Volume>
|
||||||
<EventClick>
|
<EventClick>
|
||||||
|
|
||||||
</EventClick>
|
</EventClick>
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
|
|
||||||
|
<Function2>
|
||||||
|
|
||||||
|
Var SelectOptionPopupState = "Invisible"
|
||||||
|
Var alphaState = "Enable"
|
||||||
|
Var CancelButtonPaymentPopupState = "Enable"
|
||||||
|
|
||||||
|
if SelectedPaymentMedthod = "credit_card" Then
|
||||||
|
Var QR_POPUP = "/img_popup8-AUS.png"
|
||||||
|
Coin CARD
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
if SelectedPaymentMedthod = "fatzebra" Then
|
||||||
|
Var QR_POPUP = "/img_popup1-AUS.png"
|
||||||
|
Var LOADING_TEXT = "Just Moment Please"
|
||||||
|
Var LOADING_STATE = "Enable"
|
||||||
|
Var QRCODEImageState = "Enable"
|
||||||
|
VendingQR ON
|
||||||
|
Var QRCODE99 = ""
|
||||||
|
|
||||||
|
Var PriceDrink = PayAmount
|
||||||
|
Var DiscountDrink = 0
|
||||||
|
Var SelectDrink = "00-00-00-0000"
|
||||||
|
Var SelectSlot = "1"
|
||||||
|
|
||||||
|
Var QRCODE1 = "A000000677010112"
|
||||||
|
Var QRCODE2 = "010755600066301"
|
||||||
|
Var QRCODE3 = "VDGN"
|
||||||
|
Var QRCODE4 = BoxID
|
||||||
|
Var QRCODE5 = SelectSlot
|
||||||
|
Var QRCODE6 = SelectDrink
|
||||||
|
Var QRCODE7 = PriceDrink
|
||||||
|
Var QRCODE8 = ""
|
||||||
|
|
||||||
|
Var SessionID2 = "00" + ":"
|
||||||
|
Var SessionID2 = SessionID2 + ""
|
||||||
|
|
||||||
|
Var CreditAmount1 = ""
|
||||||
|
Var ServiceAmountFlow = ""
|
||||||
|
Var TelephoneNumberQR = "0899999999"
|
||||||
|
Var ServiceType = "coffee"
|
||||||
|
Var ECommerceQR = ""
|
||||||
|
Var ECommerceQR = ECommerceQR + PriceDrink
|
||||||
|
Var ECommerceQR = ECommerceQR + "/"
|
||||||
|
Var ECommerceQR = ECommerceQR + DiscountDrink
|
||||||
|
Var ECommerceQR = ECommerceQR + "/"
|
||||||
|
Var ECommerceQR = ECommerceQR + SessionID2
|
||||||
|
Var ECommerceQR = ECommerceQR + "/"
|
||||||
|
Var ECommerceQR = ECommerceQR + SelectDrink
|
||||||
|
Var ECommerceQR = ECommerceQR + "/"
|
||||||
|
Var ECommerceQR = ECommerceQR + "FZB:2/"
|
||||||
|
Var ECommerceQR = ECommerceQR + "CRX"
|
||||||
|
Var ECommerceQR = ECommerceQR + ":"
|
||||||
|
Var ECommerceQR = ECommerceQR + TelephoneNumber
|
||||||
|
Var ECommerceQR = ECommerceQR + ":0:"
|
||||||
|
Var ECommerceQR = ECommerceQR + AdditionalAmount
|
||||||
|
Var ServiceParameter = "max"
|
||||||
|
Var ServiceCharge = 0
|
||||||
|
Var AccountType = "new"
|
||||||
|
Var testservice = "kbank"
|
||||||
|
Var tc = ""
|
||||||
|
Var GetScore = ""
|
||||||
|
Var OperatorName = ""
|
||||||
|
Var SessionID = ""
|
||||||
|
|
||||||
|
|
||||||
|
GetPayInfo TelephoneNumberQR ECommerceQR ServiceType ServiceParameter SessionID OperatorName CreditAmount1 ServiceAmountFlow GetScore tc
|
||||||
|
|
||||||
|
Var ReqPayInfoFlag = 1
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Refresh
|
||||||
|
</Function2>
|
||||||
|
|
||||||
|
|
||||||
<EventUnitTest4>
|
<EventUnitTest4>
|
||||||
Var MemberToppupSuccessPage = CountryRootPath + "xml/page_member_topupSuccess.lxml"
|
Var MemberToppupSuccessPage = CountryRootPath + "xml/page_member_topupSuccess.lxml"
|
||||||
Open MemberToppupSuccessPage
|
Open MemberToppupSuccessPage
|
||||||
</EventUnitTest4>
|
</EventUnitTest4>
|
||||||
|
|
||||||
</Popup>
|
</Popup>
|
||||||
|
|
||||||
|
|
@ -95,6 +95,7 @@
|
||||||
Var KanitRegularTTF = "ROOT/taobin_project/font/Kanit/Kanit-Regular.ttf"
|
Var KanitRegularTTF = "ROOT/taobin_project/font/Kanit/Kanit-Regular.ttf"
|
||||||
Var KanitThinTTF = "ROOT/taobin_project/font/Kanit/Kanit-Thin.ttf"
|
Var KanitThinTTF = "ROOT/taobin_project/font/Kanit/Kanit-Thin.ttf"
|
||||||
Var KanitLightTTF = "ROOT/taobin_project/font/Kanit/Kanit-Light.ttf"
|
Var KanitLightTTF = "ROOT/taobin_project/font/Kanit/Kanit-Light.ttf"
|
||||||
|
Var KanitSemiBold = "ROOT/taobin_project/font/Kanit/Kanit-SemiBold.ttf"
|
||||||
|
|
||||||
Var OpunMediumTTF = "ROOT/taobin_project/font/Opun/Opun-Medium.ttf"
|
Var OpunMediumTTF = "ROOT/taobin_project/font/Opun/Opun-Medium.ttf"
|
||||||
Var OpunThinTTF = "ROOT/taobin_project/font/Opun/Opun-Thin.ttf"
|
Var OpunThinTTF = "ROOT/taobin_project/font/Opun/Opun-Thin.ttf"
|
||||||
|
|
@ -114,6 +115,8 @@
|
||||||
Var ChivoMonoBold = "ROOT/taobin_project/font/ChivoMono/ChivoMono-Bold.ttf"
|
Var ChivoMonoBold = "ROOT/taobin_project/font/ChivoMono/ChivoMono-Bold.ttf"
|
||||||
Var ChivoMonoSemiBold = "ROOT/taobin_project/font/ChivoMono/ChivoMono-SemiBold.ttf"
|
Var ChivoMonoSemiBold = "ROOT/taobin_project/font/ChivoMono/ChivoMono-SemiBold.ttf"
|
||||||
|
|
||||||
|
Var MontserratBold = "ROOT/taobin_project/font/Montserrat/Montserrat-Bold.ttf"
|
||||||
|
|
||||||
Var InterRegular = "ROOT/taobin_project/font/Inter/Inter-Regular.ttf"
|
Var InterRegular = "ROOT/taobin_project/font/Inter/Inter-Regular.ttf"
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -1322,7 +1325,7 @@
|
||||||
If CountryName = "Thailand" Then
|
If CountryName = "Thailand" Then
|
||||||
Var InternationalEnable = 1
|
Var InternationalEnable = 1
|
||||||
DEBUGVAR InternationalEnable
|
DEBUGVAR InternationalEnable
|
||||||
|
|
||||||
;TRY "/mnt/sdcard/coffeevending/taobin_project/inter/tha/video/script_video.ev"
|
;TRY "/mnt/sdcard/coffeevending/taobin_project/inter/tha/video/script_video.ev"
|
||||||
|
|
||||||
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/multi_ads/ads_path.ev"
|
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/multi_ads/ads_path.ev"
|
||||||
|
|
@ -1357,13 +1360,13 @@
|
||||||
|
|
||||||
Var ShowButtonClick2 = "Invisible"
|
Var ShowButtonClick2 = "Invisible"
|
||||||
Var ButtontoTopupMenu = "Enable"
|
Var ButtontoTopupMenu = "Enable"
|
||||||
|
|
||||||
|
|
||||||
Var PriceUnitText = ""
|
Var PriceUnitText = ""
|
||||||
|
|
||||||
;Var MemberButtonFileName = "ROOT/taobin_project/image/TermTempage2/bp_main_page_member.png"
|
;Var MemberButtonFileName = "ROOT/taobin_project/image/TermTempage2/bp_main_page_member.png"
|
||||||
;Var MemberButtonFileNameRest = "ROOT/taobin_project/image/TermTempage2/bn_main_page_member.png"
|
;Var MemberButtonFileNameRest = "ROOT/taobin_project/image/TermTempage2/bn_main_page_member.png"
|
||||||
|
|
||||||
Var show_eng_button_stage = "Invisible"
|
Var show_eng_button_stage = "Invisible"
|
||||||
|
|
||||||
Var CountDownShowButton = 35
|
Var CountDownShowButton = 35
|
||||||
|
|
@ -1384,7 +1387,7 @@
|
||||||
|
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
If UsePepsiTheme = 1 Then
|
If UsePepsiTheme = 1 Then
|
||||||
If InternationalEnable = 1 Then
|
If InternationalEnable = 1 Then
|
||||||
; enable-color
|
; enable-color
|
||||||
|
|
@ -1555,7 +1558,7 @@ PRICE "Reset" "-"
|
||||||
If CountryName = "Thailand" Then
|
If CountryName = "Thailand" Then
|
||||||
Var InternationalEnable = 1
|
Var InternationalEnable = 1
|
||||||
DEBUGVAR InternationalEnable
|
DEBUGVAR InternationalEnable
|
||||||
|
|
||||||
;TRY "/mnt/sdcard/coffeevending/taobin_project/inter/tha/video/script_video.ev"
|
;TRY "/mnt/sdcard/coffeevending/taobin_project/inter/tha/video/script_video.ev"
|
||||||
|
|
||||||
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/multi_ads/ads_path.ev"
|
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/multi_ads/ads_path.ev"
|
||||||
|
|
@ -1590,13 +1593,13 @@ PRICE "Reset" "-"
|
||||||
|
|
||||||
Var ShowButtonClick2 = "Invisible"
|
Var ShowButtonClick2 = "Invisible"
|
||||||
Var ButtontoTopupMenu = "Enable"
|
Var ButtontoTopupMenu = "Enable"
|
||||||
|
|
||||||
|
|
||||||
Var PriceUnitText = ""
|
Var PriceUnitText = ""
|
||||||
|
|
||||||
;Var MemberButtonFileName = "ROOT/taobin_project/image/TermTempage2/bp_main_page_member.png"
|
;Var MemberButtonFileName = "ROOT/taobin_project/image/TermTempage2/bp_main_page_member.png"
|
||||||
;Var MemberButtonFileNameRest = "ROOT/taobin_project/image/TermTempage2/bn_main_page_member.png"
|
;Var MemberButtonFileNameRest = "ROOT/taobin_project/image/TermTempage2/bn_main_page_member.png"
|
||||||
|
|
||||||
Var show_eng_button_stage = "Invisible"
|
Var show_eng_button_stage = "Invisible"
|
||||||
|
|
||||||
Var CountDownShowButton = 35
|
Var CountDownShowButton = 35
|
||||||
|
|
@ -1843,15 +1846,15 @@ PRICE "Reset" "-"
|
||||||
Var CountDownPauseVideo2 = CountDownPauseVideo - 1
|
Var CountDownPauseVideo2 = CountDownPauseVideo - 1
|
||||||
DEBUGVAR CountDownPauseVideo2
|
DEBUGVAR CountDownPauseVideo2
|
||||||
If CountDownPauseVideo = 2 Then
|
If CountDownPauseVideo = 2 Then
|
||||||
|
|
||||||
|
|
||||||
TapScreen 30 638
|
TapScreen 30 638
|
||||||
|
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
If CountDownPauseVideo = 1 Then
|
If CountDownPauseVideo = 1 Then
|
||||||
|
|
||||||
TapScreen 860 1004
|
TapScreen 860 1004
|
||||||
|
|
||||||
EndIf
|
EndIf
|
||||||
|
|
|
||||||