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>
|
||||
|
||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert.xml"
|
||||
|
||||
|
||||
TopView "show"
|
||||
; On open
|
||||
|
||||
|
|
@ -26,16 +26,16 @@
|
|||
Var web_telnumOK = ""
|
||||
|
||||
Var PicturePath = "/mnt/sdcard/coffeevending/taobin_project/image/page_doing/"
|
||||
|
||||
If CocktailShow = "true" Then
|
||||
Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog_cocktail.xml"
|
||||
|
||||
If CocktailShow = "true" Then
|
||||
Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog_cocktail.xml"
|
||||
EndIf
|
||||
|
||||
|
||||
If TermTemOnline = "true" Then
|
||||
Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_tt_catalog.xml"
|
||||
EndIf
|
||||
|
||||
If Seeker = "curr" Then
|
||||
|
||||
If Seeker = "curr" Then
|
||||
Machine DoorLidClose
|
||||
EndIf
|
||||
|
||||
|
|
@ -46,13 +46,13 @@
|
|||
|
||||
CoinVending OFF
|
||||
|
||||
|
||||
|
||||
; Clear value
|
||||
Topping "clear" "-"
|
||||
|
||||
|
||||
|
||||
Var DirImage = "ROOT/taobin_project/image/page2_inter/"
|
||||
|
||||
|
||||
|
||||
Var StrawAutoRelease1 = "false"
|
||||
Var StrawAutoRelease2 = "false"
|
||||
|
|
@ -81,7 +81,7 @@
|
|||
|
||||
;GenHashWithTimeStamp QRCODE99x
|
||||
WEB "ENABLE"
|
||||
|
||||
|
||||
Else
|
||||
Var ShowNetworkProblem = "Enable"
|
||||
Var ShowButtonClick2 = "Invisible"
|
||||
|
|
@ -97,9 +97,9 @@
|
|||
Var ShowNetworkProblem = "Invisible"
|
||||
Var ShowNetworkProblemText = ""
|
||||
EndIf
|
||||
|
||||
|
||||
; 1035 is Coke.
|
||||
STRCONTAIN "1035" MaterialAvailable CokeUI
|
||||
STRCONTAIN "1035" MaterialAvailable CokeUI
|
||||
|
||||
Var bnSodaAndOther = DirImage + "/bn_soda_coke.png"
|
||||
Var bpSodaAndOther = DirImage + "/bp_soda_coke.png"
|
||||
|
|
@ -114,8 +114,8 @@
|
|||
Var QRCODE99_Y = 1718
|
||||
|
||||
Var showCart = "Invisible"
|
||||
If MultiPayEnable = "true" Then
|
||||
|
||||
If MultiPayEnable = "true" Then
|
||||
|
||||
If CART_COUNT = 1 Then
|
||||
Var showCart = "Enable"
|
||||
Var cart_image_bn = DirImageCart + "/bn_cart1.png"
|
||||
|
|
@ -124,7 +124,7 @@
|
|||
Var QRCODE99_Y = 1580
|
||||
|
||||
EndIf
|
||||
|
||||
|
||||
If CART_COUNT = 2 Then
|
||||
Var showCart = "Enable"
|
||||
Var cart_image_bn = DirImageCart + "/bn_cart2.png"
|
||||
|
|
@ -134,7 +134,7 @@
|
|||
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
|
||||
If CART_COUNT = 3 Then
|
||||
Open "ROOT/taobin_project/xml/page_payment_multi.xml"
|
||||
|
|
@ -150,10 +150,10 @@
|
|||
|
||||
If XMLProfile = "taobin_notopup" Then
|
||||
Var ButtontoTopupMenu = "Disable"
|
||||
|
||||
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
Var menu_name_eng_hot = ""
|
||||
Var menu_desc_eng_hot = ""
|
||||
Var menu_name_thai_hot = ""
|
||||
|
|
@ -171,19 +171,19 @@
|
|||
Var menu_desc_thai_blender = ""
|
||||
|
||||
|
||||
|
||||
|
||||
If BoxID = 0 Then
|
||||
|
||||
|
||||
If BoxID = 0 Then
|
||||
RebootWithCause "BoxID was zero"
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
|
||||
DEBUGVAR ShowButtonClick2
|
||||
|
||||
DEBUGVAR MenuKidButtonState
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
DEBUGVAR $51-03-01-0035.Price
|
||||
|
|
@ -191,7 +191,7 @@
|
|||
RootLayoutVisible 3 "show"
|
||||
</EventOpen>
|
||||
<Timeout> 1000 </Timeout>
|
||||
<EventTimeout>
|
||||
<EventTimeout>
|
||||
|
||||
;SAVELOG SoundPlaying
|
||||
|
||||
|
|
@ -200,15 +200,15 @@
|
|||
EndIf
|
||||
|
||||
If countDownRetrun = 0 Then
|
||||
If Seeker = "next" Then
|
||||
If Seeker = "next" Then
|
||||
RootLayoutVisible 3 "hide"
|
||||
Open "ROOT/taobin_project/xml/page_brewing3Conti.xml"
|
||||
Open "ROOT/taobin_project/xml/page_brewing3Conti.xml"
|
||||
Else
|
||||
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
|
||||
; zone cup on arm
|
||||
If CupOnArm = "true" Then
|
||||
|
|
@ -229,10 +229,10 @@
|
|||
|
||||
Refresh
|
||||
TimerReset
|
||||
</EventTimeout>
|
||||
</EventTimeout>
|
||||
|
||||
<EventChangeStatus>
|
||||
;If ChangeStatus = "payout-end" Then
|
||||
;If ChangeStatus = "payout-end" Then
|
||||
; Var ChangeOK = 1
|
||||
;EndIf
|
||||
</EventChangeStatus>
|
||||
|
|
@ -245,15 +245,15 @@
|
|||
Cart "DeleteMenuID" "ALL"
|
||||
Var web_readyOK = web_ready
|
||||
Var web_telnumOK = web_telnum
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_payment.xml"
|
||||
EndIf
|
||||
|
||||
|
||||
Else
|
||||
EndIf
|
||||
|
||||
|
||||
</EventWebApp>
|
||||
|
||||
<Image>
|
||||
|
|
@ -274,12 +274,12 @@
|
|||
If LanguageShow = "MALAY" Then
|
||||
Var PlaySoundLag = "/mnt/sdcard/coffeevending/taobin_project/sound_eng/What_would_you_like_to_drink_today.mp3"
|
||||
EndIf
|
||||
|
||||
|
||||
If LanguageShow = "THAI" Then
|
||||
Var PlaySoundLag = "/mnt/sdcard/coffeevending/taobin_project/sound_thai/taobin_sawade.mp3"
|
||||
EndIf
|
||||
|
||||
Play PlaySoundLag
|
||||
|
||||
Play PlaySoundLag
|
||||
Var countDownRetrun = 300
|
||||
|
||||
Var LanguageButtonEnable = "Enable"
|
||||
|
|
@ -302,10 +302,10 @@
|
|||
<FilenamePress> "ROOT/taobin_project/image/page2/bn_back_arrow.png" </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
If Seeker = "next" Then
|
||||
<EventClick>
|
||||
If Seeker = "next" Then
|
||||
RootLayoutVisible 3 "hide"
|
||||
Open "ROOT/taobin_project/xml/page_brewing3Conti.xml"
|
||||
Open "ROOT/taobin_project/xml/page_brewing3Conti.xml"
|
||||
Else
|
||||
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
||||
EndIf
|
||||
|
|
@ -341,10 +341,10 @@
|
|||
<FilenamePress> Var(DirImage + "/bp_diy.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
<EventClick>
|
||||
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"
|
||||
Else
|
||||
Var OpenFileXML = CountryRootPath + "xml/event/script_common_for_open_promotion_xml.ev"
|
||||
|
|
@ -368,12 +368,12 @@
|
|||
<FilenamePress> Var(DirImage + "/bp_coffee.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
<EventClick>
|
||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert2.xml"
|
||||
|
||||
|
||||
|
||||
Var OpenFileXML = CountryRootPath + "xml/page_catalog_group_coffee.lxml"
|
||||
|
||||
|
||||
DEBUGVAR CountryRootPath
|
||||
DEBUGVAR OpenFileXML
|
||||
Open OpenFileXML
|
||||
|
|
@ -396,10 +396,10 @@
|
|||
<FilenamePress> Var(DirImage + "/bp_tea.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
<EventClick>
|
||||
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"
|
||||
Open OpenFileXML
|
||||
|
|
@ -420,10 +420,10 @@
|
|||
<FilenamePress> Var(DirImage + "/bp_cho_caramel.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
<EventClick>
|
||||
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"
|
||||
Open OpenFileXML
|
||||
|
|
@ -446,11 +446,11 @@
|
|||
<FilenamePress> Var(DirImage + "/bn_kidmenu.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
<EventClick>
|
||||
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"
|
||||
Open OpenFileXML
|
||||
</EventClick>
|
||||
|
|
@ -471,10 +471,10 @@
|
|||
<FilenamePress> Var(DirImage + "/bp_appfast.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
<EventClick>
|
||||
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"
|
||||
Open OpenFileXML
|
||||
|
|
@ -497,10 +497,10 @@
|
|||
<FilenamePress> bpSodaAndOther </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
<EventClick>
|
||||
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"
|
||||
Open OpenFileXML
|
||||
|
|
@ -526,10 +526,10 @@
|
|||
<FilenamePress> Var(DirImage + "/bp_protein.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
<EventClick>
|
||||
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"
|
||||
Open OpenFileXML
|
||||
|
|
@ -553,12 +553,12 @@
|
|||
<FilenamePress> Var(DirImage + "/bp_HealthyOption.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
<EventClick>
|
||||
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"
|
||||
Open OpenFileXML
|
||||
|
||||
|
|
@ -581,12 +581,12 @@
|
|||
<FilenamePress> Var(DirImage + "/bn_winter_warmers.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
<EventClick>
|
||||
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"
|
||||
Open OpenFileXML
|
||||
|
||||
|
|
@ -597,35 +597,18 @@
|
|||
;###############################################################
|
||||
|
||||
<Button>
|
||||
<X> 225 </X>
|
||||
<X> 600 </X>
|
||||
<Y> 424 </Y>
|
||||
<State> ShowButtonClick2 </State>
|
||||
<Filename> Var(DirImage + "/bn_main_page_member.png") </Filename>
|
||||
<FilenamePress> Var(DirImage + "/bp_main_page_member.png") </FilenamePress>
|
||||
<Filename> "ROOT/taobin_project/image/page2_en/page2/bn_main_page_member.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page2_en/page2/bp_main_page_member.png" </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
<EventClick>
|
||||
; eng
|
||||
Var CheckMemberPage = CountryRootPath + "xml/page_check_member.lxml"
|
||||
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>
|
||||
</Button>
|
||||
|
||||
|
|
@ -636,10 +619,10 @@
|
|||
<Color> "0xFF0000" </Color>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 60 </Height>
|
||||
<EventClick>
|
||||
|
||||
<EventClick>
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_camera.xml"
|
||||
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
|
@ -665,12 +648,12 @@
|
|||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<Interval> 400</Interval>
|
||||
<EventClick>
|
||||
<EventClick>
|
||||
|
||||
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_payment_multi.xml"
|
||||
|
||||
|
||||
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
|
@ -682,7 +665,7 @@
|
|||
|
||||
Var web_readyOK = web_ready
|
||||
Var web_telnumOK = web_telnum
|
||||
|
||||
|
||||
Var web_app_prepar = "true"
|
||||
|
||||
Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_payment.xml"
|
||||
|
|
@ -690,7 +673,7 @@
|
|||
EndIf
|
||||
Else
|
||||
EndIf
|
||||
|
||||
|
||||
</EventWebApp>
|
||||
|
||||
|
||||
|
|
@ -704,7 +687,7 @@
|
|||
<Interval> 500 </Interval>
|
||||
<Filename> Var(RootPath + "image/main_page_inter/bn_remove_cup.png") </Filename>
|
||||
<Filename> Var(RootPath + "image/main_page_inter/bp_remove_cup.png") </Filename>
|
||||
<EventClick>
|
||||
<EventClick>
|
||||
Machine RemoveCup
|
||||
Machine DoorLidOpen
|
||||
|
||||
|
|
@ -726,12 +709,12 @@
|
|||
<Height> 100 </Height>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
<EventClick>
|
||||
Var ClickCountMainTe = ClickCountMainTe + 1
|
||||
|
||||
|
||||
DEBUGVAR ClickCountMainTe
|
||||
|
||||
If ClickCountMainTe = 2 Then
|
||||
If ClickCountMainTe = 2 Then
|
||||
Var OpenRouteManTest = 1
|
||||
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
||||
Var ClickCountMainTe = 0
|
||||
|
|
@ -747,7 +730,7 @@
|
|||
Var bg_lidProblem_ST = "Invisible"
|
||||
Var GetLidButtonState2 = "Enable"
|
||||
Var bg_lidProblem_ST2 ="Invisible"
|
||||
|
||||
|
||||
Var EnableGetMoreStrawFileName2 = "Enable"
|
||||
Var bg_strawProblem_ST2 ="Invisible"
|
||||
</EventUnitTest1>
|
||||
|
|
@ -757,7 +740,7 @@
|
|||
Var bg_lidProblem_ST = "Enable"
|
||||
Var GetLidButtonState2 = "Invisible"
|
||||
Var bg_lidProblem_ST2 ="Enable"
|
||||
|
||||
|
||||
Var XStraw = 376
|
||||
Var EnableGetMoreStrawFileName2 = "Invisible"
|
||||
Var bg_strawProblem_ST2 ="Enable"
|
||||
|
|
@ -771,7 +754,7 @@
|
|||
Var CountDownBrewing = 122
|
||||
Var MachineStage = "testing"
|
||||
Var BREW_CNT = 122
|
||||
|
||||
|
||||
Var InternationalEnable = 1
|
||||
DEBUGVAR InternationalEnable
|
||||
Var LanguageObjectShow = "Enable"
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
<EventOpen>
|
||||
|
||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert.xml"
|
||||
|
||||
|
||||
TopView "show"
|
||||
; On open
|
||||
|
||||
|
|
@ -26,16 +26,16 @@
|
|||
Var web_telnumOK = ""
|
||||
|
||||
Var PicturePath = "/mnt/sdcard/coffeevending/taobin_project/image/page_doing/"
|
||||
|
||||
If CocktailShow = "true" Then
|
||||
Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog_cocktail.xml"
|
||||
|
||||
If CocktailShow = "true" Then
|
||||
Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog_cocktail.xml"
|
||||
EndIf
|
||||
|
||||
|
||||
If TermTemOnline = "true" Then
|
||||
Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_tt_catalog.xml"
|
||||
EndIf
|
||||
|
||||
If Seeker = "curr" Then
|
||||
|
||||
If Seeker = "curr" Then
|
||||
Machine DoorLidClose
|
||||
EndIf
|
||||
|
||||
|
|
@ -44,13 +44,13 @@
|
|||
|
||||
CoinVending OFF
|
||||
|
||||
|
||||
|
||||
; Clear value
|
||||
Topping "clear" "-"
|
||||
|
||||
|
||||
|
||||
Var DirImage = "ROOT/taobin_project/image/page2_inter/"
|
||||
|
||||
|
||||
|
||||
Var StrawAutoRelease1 = "false"
|
||||
Var StrawAutoRelease2 = "false"
|
||||
|
|
@ -79,7 +79,7 @@
|
|||
|
||||
;GenHashWithTimeStamp QRCODE99x
|
||||
WEB "ENABLE"
|
||||
|
||||
|
||||
Else
|
||||
Var ShowNetworkProblem = "Enable"
|
||||
Var ShowButtonClick2 = "Invisible"
|
||||
|
|
@ -95,9 +95,9 @@
|
|||
Var ShowNetworkProblem = "Invisible"
|
||||
Var ShowNetworkProblemText = ""
|
||||
EndIf
|
||||
|
||||
|
||||
; 1035 is Coke.
|
||||
STRCONTAIN "1035" MaterialAvailable CokeUI
|
||||
STRCONTAIN "1035" MaterialAvailable CokeUI
|
||||
|
||||
Var bnSodaAndOther = DirImage + "/bn_soda_coke.png"
|
||||
Var bpSodaAndOther = DirImage + "/bp_soda_coke.png"
|
||||
|
|
@ -112,8 +112,8 @@
|
|||
Var QRCODE99_Y = 1718
|
||||
|
||||
Var showCart = "Invisible"
|
||||
If MultiPayEnable = "true" Then
|
||||
|
||||
If MultiPayEnable = "true" Then
|
||||
|
||||
If CART_COUNT = 1 Then
|
||||
Var showCart = "Enable"
|
||||
Var cart_image_bn = DirImageCart + "/bn_cart1.png"
|
||||
|
|
@ -122,7 +122,7 @@
|
|||
Var QRCODE99_Y = 1580
|
||||
|
||||
EndIf
|
||||
|
||||
|
||||
If CART_COUNT = 2 Then
|
||||
Var showCart = "Enable"
|
||||
Var cart_image_bn = DirImageCart + "/bn_cart2.png"
|
||||
|
|
@ -132,7 +132,7 @@
|
|||
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
|
||||
If CART_COUNT = 3 Then
|
||||
Open "ROOT/taobin_project/xml/page_payment_multi.xml"
|
||||
|
|
@ -148,10 +148,10 @@
|
|||
|
||||
If XMLProfile = "taobin_notopup" Then
|
||||
Var ButtontoTopupMenu = "Disable"
|
||||
|
||||
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
Var menu_name_eng_hot = ""
|
||||
Var menu_desc_eng_hot = ""
|
||||
Var menu_name_thai_hot = ""
|
||||
|
|
@ -169,19 +169,19 @@
|
|||
Var menu_desc_thai_blender = ""
|
||||
|
||||
|
||||
|
||||
|
||||
If BoxID = 0 Then
|
||||
|
||||
|
||||
If BoxID = 0 Then
|
||||
RebootWithCause "BoxID was zero"
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
|
||||
DEBUGVAR ShowButtonClick2
|
||||
|
||||
DEBUGVAR MenuKidButtonState
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
DEBUGVAR $51-03-01-0035.Price
|
||||
|
|
@ -189,7 +189,7 @@
|
|||
RootLayoutVisible 3 "show"
|
||||
</EventOpen>
|
||||
<Timeout> 1000 </Timeout>
|
||||
<EventTimeout>
|
||||
<EventTimeout>
|
||||
|
||||
;SAVELOG SoundPlaying
|
||||
|
||||
|
|
@ -198,15 +198,15 @@
|
|||
EndIf
|
||||
|
||||
If countDownRetrun = 0 Then
|
||||
If Seeker = "next" Then
|
||||
If Seeker = "next" Then
|
||||
RootLayoutVisible 3 "hide"
|
||||
Open "ROOT/taobin_project/xml/page_brewing3Conti.xml"
|
||||
Open "ROOT/taobin_project/xml/page_brewing3Conti.xml"
|
||||
Else
|
||||
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
|
||||
; zone cup on arm
|
||||
If CupOnArm = "true" Then
|
||||
|
|
@ -227,10 +227,10 @@
|
|||
|
||||
Refresh
|
||||
TimerReset
|
||||
</EventTimeout>
|
||||
</EventTimeout>
|
||||
|
||||
<EventChangeStatus>
|
||||
;If ChangeStatus = "payout-end" Then
|
||||
;If ChangeStatus = "payout-end" Then
|
||||
; Var ChangeOK = 1
|
||||
;EndIf
|
||||
</EventChangeStatus>
|
||||
|
|
@ -243,15 +243,15 @@
|
|||
Cart "DeleteMenuID" "ALL"
|
||||
Var web_readyOK = web_ready
|
||||
Var web_telnumOK = web_telnum
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_payment.xml"
|
||||
EndIf
|
||||
|
||||
|
||||
Else
|
||||
EndIf
|
||||
|
||||
|
||||
</EventWebApp>
|
||||
|
||||
<Image>
|
||||
|
|
@ -272,12 +272,12 @@
|
|||
If LanguageShow = "MALAY" Then
|
||||
Var PlaySoundLag = "/mnt/sdcard/coffeevending/taobin_project/sound_eng/What_would_you_like_to_drink_today.mp3"
|
||||
EndIf
|
||||
|
||||
|
||||
If LanguageShow = "THAI" Then
|
||||
Var PlaySoundLag = "/mnt/sdcard/coffeevending/taobin_project/sound_thai/taobin_sawade.mp3"
|
||||
EndIf
|
||||
|
||||
Play PlaySoundLag
|
||||
|
||||
Play PlaySoundLag
|
||||
Var countDownRetrun = 300
|
||||
|
||||
Var LanguageButtonEnable = "Enable"
|
||||
|
|
@ -300,10 +300,10 @@
|
|||
<FilenamePress> "ROOT/taobin_project/image/page2/bn_back_arrow.png" </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
If Seeker = "next" Then
|
||||
<EventClick>
|
||||
If Seeker = "next" Then
|
||||
RootLayoutVisible 3 "hide"
|
||||
Open "ROOT/taobin_project/xml/page_brewing3Conti.xml"
|
||||
Open "ROOT/taobin_project/xml/page_brewing3Conti.xml"
|
||||
Else
|
||||
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
||||
EndIf
|
||||
|
|
@ -339,12 +339,12 @@
|
|||
<FilenamePress> Var(DirImage + "/bn_winter_warmers.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
<EventClick>
|
||||
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"
|
||||
Open OpenFileXML
|
||||
|
||||
|
|
@ -358,10 +358,10 @@
|
|||
<FilenamePress> Var(DirImage + "/bp_diy.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
<EventClick>
|
||||
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"
|
||||
Else
|
||||
Var OpenFileXML = CountryRootPath + "xml/event/script_common_for_open_promotion_xml.ev"
|
||||
|
|
@ -386,10 +386,10 @@
|
|||
<FilenamePress> Var(DirImage + "/bp_tea.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
<EventClick>
|
||||
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"
|
||||
Open OpenFileXML
|
||||
|
|
@ -410,10 +410,10 @@
|
|||
<FilenamePress> Var(DirImage + "/bp_cho_caramel.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
<EventClick>
|
||||
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"
|
||||
Open OpenFileXML
|
||||
|
|
@ -436,11 +436,11 @@
|
|||
<FilenamePress> Var(DirImage + "/bn_kidmenu.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
<EventClick>
|
||||
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"
|
||||
Open OpenFileXML
|
||||
</EventClick>
|
||||
|
|
@ -461,10 +461,10 @@
|
|||
<FilenamePress> Var(DirImage + "/bp_appfast.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
<EventClick>
|
||||
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"
|
||||
Open OpenFileXML
|
||||
|
|
@ -487,10 +487,10 @@
|
|||
<FilenamePress> bpSodaAndOther </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
<EventClick>
|
||||
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"
|
||||
Open OpenFileXML
|
||||
|
|
@ -516,10 +516,10 @@
|
|||
<FilenamePress> Var(DirImage + "/bp_protein.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
<EventClick>
|
||||
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"
|
||||
Open OpenFileXML
|
||||
|
|
@ -543,12 +543,12 @@
|
|||
<FilenamePress> Var(DirImage + "/bp_HealthyOption.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
<EventClick>
|
||||
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"
|
||||
Open OpenFileXML
|
||||
|
||||
|
|
@ -571,12 +571,12 @@
|
|||
<FilenamePress> Var(DirImage + "/bp_coffee.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
<EventClick>
|
||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert2.xml"
|
||||
|
||||
|
||||
|
||||
Var OpenFileXML = CountryRootPath + "xml/page_catalog_group_coffee.lxml"
|
||||
|
||||
|
||||
DEBUGVAR CountryRootPath
|
||||
DEBUGVAR OpenFileXML
|
||||
Open OpenFileXML
|
||||
|
|
@ -598,32 +598,15 @@
|
|||
<X> 225 </X>
|
||||
<Y> 424 </Y>
|
||||
<State> ShowButtonClick2 </State>
|
||||
<Filename> Var(DirImage + "/bn_main_page_member.png") </Filename>
|
||||
<FilenamePress> Var(DirImage + "/bp_main_page_member.png") </FilenamePress>
|
||||
<Filename> "ROOT/taobin_project/image/page2_en/page2/bn_main_page_member.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page2_en/page2/bp_main_page_member.png" </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
<EventClick>
|
||||
; eng
|
||||
Var CheckMemberPage = CountryRootPath + "xml/page_check_member.lxml"
|
||||
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>
|
||||
</Button>
|
||||
|
||||
|
|
@ -634,10 +617,10 @@
|
|||
<Color> "0xFF0000" </Color>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 60 </Height>
|
||||
<EventClick>
|
||||
|
||||
<EventClick>
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_camera.xml"
|
||||
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
|
@ -663,12 +646,12 @@
|
|||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<Interval> 400</Interval>
|
||||
<EventClick>
|
||||
<EventClick>
|
||||
|
||||
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_payment_multi.xml"
|
||||
|
||||
|
||||
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
|
@ -680,7 +663,7 @@
|
|||
|
||||
Var web_readyOK = web_ready
|
||||
Var web_telnumOK = web_telnum
|
||||
|
||||
|
||||
Var web_app_prepar = "true"
|
||||
|
||||
Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_payment.xml"
|
||||
|
|
@ -688,7 +671,7 @@
|
|||
EndIf
|
||||
Else
|
||||
EndIf
|
||||
|
||||
|
||||
</EventWebApp>
|
||||
|
||||
|
||||
|
|
@ -700,12 +683,12 @@
|
|||
<Height> 100 </Height>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
<EventClick>
|
||||
Var ClickCountMainTe = ClickCountMainTe + 1
|
||||
|
||||
|
||||
DEBUGVAR ClickCountMainTe
|
||||
|
||||
If ClickCountMainTe = 2 Then
|
||||
If ClickCountMainTe = 2 Then
|
||||
Var OpenRouteManTest = 1
|
||||
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
||||
Var ClickCountMainTe = 0
|
||||
|
|
@ -722,7 +705,7 @@
|
|||
<Interval> 500 </Interval>
|
||||
<Filename> Var(RootPath + "image/main_page_inter/bn_remove_cup.png") </Filename>
|
||||
<Filename> Var(RootPath + "image/main_page_inter/bp_remove_cup.png") </Filename>
|
||||
<EventClick>
|
||||
<EventClick>
|
||||
Machine RemoveCup
|
||||
Machine DoorLidOpen
|
||||
|
||||
|
|
@ -737,7 +720,7 @@
|
|||
Var bg_lidProblem_ST = "Invisible"
|
||||
Var GetLidButtonState2 = "Enable"
|
||||
Var bg_lidProblem_ST2 ="Invisible"
|
||||
|
||||
|
||||
Var EnableGetMoreStrawFileName2 = "Enable"
|
||||
Var bg_strawProblem_ST2 ="Invisible"
|
||||
</EventUnitTest1>
|
||||
|
|
@ -747,7 +730,7 @@
|
|||
Var bg_lidProblem_ST = "Enable"
|
||||
Var GetLidButtonState2 = "Invisible"
|
||||
Var bg_lidProblem_ST2 ="Enable"
|
||||
|
||||
|
||||
Var XStraw = 376
|
||||
Var EnableGetMoreStrawFileName2 = "Invisible"
|
||||
Var bg_strawProblem_ST2 ="Enable"
|
||||
|
|
@ -761,7 +744,7 @@
|
|||
Var CountDownBrewing = 122
|
||||
Var MachineStage = "testing"
|
||||
Var BREW_CNT = 122
|
||||
|
||||
|
||||
Var InternationalEnable = 1
|
||||
DEBUGVAR InternationalEnable
|
||||
Var LanguageObjectShow = "Enable"
|
||||
|
|
|
|||
|
|
@ -8,10 +8,12 @@
|
|||
<EventOpen>
|
||||
; On open
|
||||
|
||||
Var TargetTimeout = 30
|
||||
Var Timeout = 0
|
||||
|
||||
|
||||
|
||||
Var BlurBackgroundState = "Invisible"
|
||||
Var SelectOptionPopupState = "Invisible"
|
||||
Var SelectedPaymentMedthod = ""
|
||||
|
||||
Var SumCreditAmount = TaobinCredit
|
||||
Var CashlessPayFlag = 0
|
||||
|
|
@ -21,6 +23,17 @@
|
|||
Var AdditionalAmount = 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"
|
||||
|
||||
|
|
@ -34,8 +47,6 @@
|
|||
|
||||
Var text_4 = "/text_4-AUS.png"
|
||||
|
||||
Var PayCreditChannel = "credit-card"
|
||||
|
||||
Var OptionAmount1 = 2900
|
||||
Var OptionAmount2 = 3900
|
||||
Var OptionAmount3 = 4900
|
||||
|
|
@ -58,40 +69,104 @@
|
|||
|
||||
</EventOpen>
|
||||
<Timeout> 1000 </Timeout>
|
||||
<EventTimeout>
|
||||
<EventTimeout>
|
||||
|
||||
Var Timeout = Timeout + 1
|
||||
If Timeout > 30 Then
|
||||
If Timeout > TargetTimeout Then
|
||||
Var alphaState = "Invisible"
|
||||
|
||||
Var LOADING_STATE = "Invisible"
|
||||
Var QRErrorState = "Invisible"
|
||||
|
||||
If CashlessPayFlag = 1 Then
|
||||
Var CashlessPayFlag = 0
|
||||
Var CashlessPayFlag = 0
|
||||
CashlessReq FAIL
|
||||
Else
|
||||
CashlessReq OFF
|
||||
EndIf
|
||||
|
||||
VendingQR OFF
|
||||
|
||||
Var CheckMemberPage2 = CountryRootPath + "xml/page_check_member2.lxml"
|
||||
Open CheckMemberPage2
|
||||
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
|
||||
Refresh
|
||||
</EventTimeout>
|
||||
</EventTimeout>
|
||||
|
||||
|
||||
|
||||
<EventSecurity>
|
||||
Open "/media/bt/xml/security_alarm.xml"
|
||||
|
||||
<EventSecurity>
|
||||
Open "/media/bt/xml/security_alarm.xml"
|
||||
</EventSecurity>
|
||||
|
||||
<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
|
||||
CashlessReq SUCCESS
|
||||
|
||||
Var PayCreditChannel = "credit-card"
|
||||
|
||||
Var ToppupSuccessPage = CountryRootPath + "xml/page_member_topupSuccess.lxml"
|
||||
Open ToppupSuccessPage
|
||||
EndIf
|
||||
|
|
@ -100,18 +175,28 @@
|
|||
<EventActionError>
|
||||
|
||||
If VendingCashless = "ERROR" Then
|
||||
Var Timeout = 0
|
||||
|
||||
Var TargetTimeout = 30
|
||||
Var Timeout = 0
|
||||
|
||||
;Var QRErrorFlag = 1
|
||||
If alphaState = "Enable" Then
|
||||
Var QRErrorState = "Enable"
|
||||
Var LOADING_STATE = "Invisible"
|
||||
Var LOADING_STATE = "Invisible"
|
||||
EndIf
|
||||
|
||||
CashlessReq FAIL
|
||||
|
||||
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
|
||||
|
|
@ -122,7 +207,7 @@
|
|||
|
||||
Var CreditCardRef = ""
|
||||
GenHashWithTimeStamp CreditCardRef
|
||||
DEBUGVAR VendingCashless
|
||||
DEBUGVAR VendingCashless
|
||||
|
||||
If VendingCashless = "READY" Then
|
||||
Var Timeout = 0
|
||||
|
|
@ -148,72 +233,150 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<Image>
|
||||
<Text>
|
||||
<X> 70 </X>
|
||||
<Y> 499 </Y>
|
||||
<Filename> Var( DirImage + "/text_3.png" )</Filename>
|
||||
</Image>
|
||||
<Width> 940 </Width>
|
||||
<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>
|
||||
<X> 252 </X>
|
||||
<Y> 1223 </Y>
|
||||
<Y> 1272 </Y>
|
||||
<Filename> Var( DirImage + text_4 )</Filename>
|
||||
</Image>
|
||||
|
||||
|
||||
<Text>
|
||||
<X> 0 </X>
|
||||
<Y> 1280 </Y>
|
||||
<Size> 120 </Size>
|
||||
<X> 252 </X>
|
||||
<Y> 1300 </Y>
|
||||
<Size> 144 </Size>
|
||||
<Align> Center </Align>
|
||||
<Width> 1080 </Width>
|
||||
<Width> 566 </Width>
|
||||
<Font> KanitRegularTTF </Font>
|
||||
|
||||
<Color> 0xDE794E </Color>
|
||||
<Value> TaobinCreditStr </Value>
|
||||
</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>
|
||||
<X> 287 </X>
|
||||
<Y> 670 </Y>
|
||||
<Filename> Var( DirImage2 + "/bn_topup_29.png") </Filename>
|
||||
<FilenamePress> Var( DirImage2 + "/bp_topup_29.png") </FilenamePress>
|
||||
<FilenameDisable> Var( DirImage2 + "/bp_topup_29.png") </FilenameDisable>
|
||||
<Y> 836 </Y>
|
||||
<State> SelectOptionPopupState </State>
|
||||
<Filename> Var( DirImage2 + "/bn_topup_credit_option_29.png") </Filename>
|
||||
<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>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
<EventClick>
|
||||
|
||||
Var PayAmount = OptionAmount1
|
||||
|
||||
Var Timeout = 0
|
||||
|
||||
If PromotionAdditionCredit = 1 Then
|
||||
Var AdditionalAmount = AmountAdditionCredit1
|
||||
EndIf
|
||||
If PromotionAdditionCredit = 1 Then
|
||||
Var AdditionalAmount = AmountAdditionCredit1
|
||||
EndIf
|
||||
|
||||
Function 2
|
||||
|
||||
If alphaState = "Invisible" Then
|
||||
Var QR_POPUP = "/img_popup8.png"
|
||||
Var alphaState = "Enable"
|
||||
Coin CARD
|
||||
EndIf
|
||||
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 287 </X>
|
||||
<Y> 800 </Y>
|
||||
<Filename> Var( DirImage2 + "/bn_topup_39.png") </Filename>
|
||||
<FilenamePress> Var( DirImage2 + "/bp_topup_39.png") </FilenamePress>
|
||||
<FilenameDisable> Var( DirImage2 + "/bp_topup_39.png") </FilenameDisable>
|
||||
<Y> 991 </Y>
|
||||
<State> SelectOptionPopupState </State>
|
||||
<Filename> Var( DirImage2 + "/bn_topup_credit_option_39.png") </Filename>
|
||||
<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>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
<EventClick>
|
||||
|
||||
Var PayAmount = OptionAmount2
|
||||
|
||||
|
|
@ -223,24 +386,21 @@
|
|||
Var AdditionalAmount = AmountAdditionCredit2
|
||||
EndIf
|
||||
|
||||
If alphaState = "Invisible" Then
|
||||
Var QR_POPUP = "/img_popup8.png"
|
||||
Var alphaState = "Enable"
|
||||
Coin CARD
|
||||
EndIf
|
||||
Function 2
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 287 </X>
|
||||
<Y> 930 </Y>
|
||||
<Filename> Var( DirImage2 + "/bn_topup_49.png") </Filename>
|
||||
<FilenamePress> Var( DirImage2 + "/bp_topup_49.png") </FilenamePress>
|
||||
<FilenameDisable> Var( DirImage2 + "/bp_topup_49.png") </FilenameDisable>
|
||||
<Y> 1146 </Y>
|
||||
<State> SelectOptionPopupState </State>
|
||||
<Filename> Var( DirImage2 + "/bn_topup_credit_option_49.png") </Filename>
|
||||
<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>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
<EventClick>
|
||||
|
||||
Var PayAmount = OptionAmount3
|
||||
|
||||
|
|
@ -250,43 +410,31 @@
|
|||
Var AdditionalAmount = AmountAdditionCredit3
|
||||
EndIf
|
||||
|
||||
If alphaState = "Invisible" Then
|
||||
Var QR_POPUP = "/img_popup8.png"
|
||||
Var alphaState = "Enable"
|
||||
Coin CARD
|
||||
EndIf
|
||||
Function 2
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 397 </X>
|
||||
<Y> 1622 </Y>
|
||||
<Filename> Var( DirImage + "/bn_cancel2.png" )</Filename>
|
||||
<FilenamePress> Var( DirImage + "/bp_cancel2.png" )</FilenamePress>
|
||||
<X> 438 </X>
|
||||
<Y> 1345 </Y>
|
||||
<State> SelectOptionPopupState </State>
|
||||
<Filename> Var( DirImage + "/bn_cancel.png" )</Filename>
|
||||
<FilenamePress> Var( DirImage + "/bp_cancel.png" )</FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
|
||||
If CashlessPayFlag = 1 Then
|
||||
Var CashlessPayFlag = 0
|
||||
CashlessReq FAIL
|
||||
EndIf
|
||||
|
||||
Var CheckMemberPage2 = CountryRootPath + "xml/page_check_member2.lxml"
|
||||
Open CheckMemberPage2
|
||||
|
||||
Var SelectedPaymentMedthod = ""
|
||||
Var SelectOptionPopupState = "Invisible"
|
||||
Var BlurBackgroundState = "Invisible"
|
||||
|
||||
Refresh
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
; QR popup
|
||||
<Image>
|
||||
<X> 0 </X>
|
||||
<Y> 380 </Y>
|
||||
<State> alphaState </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_payment/alpha.png" </Filename>
|
||||
</Image>
|
||||
|
||||
; ================ checkout ===========================
|
||||
|
||||
<Image>
|
||||
<X> 249 </X>
|
||||
|
|
@ -295,13 +443,18 @@
|
|||
<Filename> Var( DirImage + QR_POPUP )</Filename>
|
||||
</Image>
|
||||
|
||||
|
||||
<Image>
|
||||
<Text>
|
||||
<X> 267 </X>
|
||||
<Y> 1065 </Y>
|
||||
<State> LOADING_STATE </State>
|
||||
<Filename> Var( DirImage + "/loadingText.png" )</Filename>
|
||||
</Image>
|
||||
<Width> 546 </Width>
|
||||
<Height> 75 </Height>
|
||||
<Font> NotoSansThaiBold </Font>
|
||||
<Size> 58 </Size>
|
||||
<Color> 0x5A5A5A </Color>
|
||||
<Value> LOADING_TEXT </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
|
||||
<GIF>
|
||||
<X> 493 </X>
|
||||
|
|
@ -314,32 +467,54 @@
|
|||
|
||||
<Button>
|
||||
<X> 438 </X>
|
||||
<Y> 1345 </Y>
|
||||
<State> alphaState </State>
|
||||
<Y> 1365 </Y>
|
||||
<State> CancelButtonPaymentPopupState </State>
|
||||
<Filename> Var( DirImage + "/bn_cancel.png" )</Filename>
|
||||
<FilenamePress> Var( DirImage + "/bp_cancel.png" )</FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var LOADING_STATE = "Invisible"
|
||||
Var QRErrorState = "Invisible"
|
||||
Var alphaState = "Invisible"
|
||||
<EventClick>
|
||||
|
||||
CashlessReq OFF
|
||||
|
||||
If CashlessPayFlag = 1 Then
|
||||
Var CashlessPayFlag = 0
|
||||
CashlessReq FAIL
|
||||
Var LOADING_STATE = "Enable"
|
||||
Var QRErrorState = "Invisible"
|
||||
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
|
||||
|
||||
DEBUGVAR LOADING_STATE
|
||||
DEBUGVAR QRErrorState
|
||||
DEBUGVAR alphaState
|
||||
If SelectedPaymentMedthod = "fatzebra" Then
|
||||
SAVELOG "Canceling fatzebra"
|
||||
VendingQR OFF
|
||||
EndIf
|
||||
|
||||
Refresh
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<QRCode>
|
||||
<X> 445 </X>
|
||||
<Y> 958 </Y>
|
||||
<Width> 200 </Width>
|
||||
<Height> 200 </Height>
|
||||
<State> QRCODEImageState </State>
|
||||
<Service> testservice </Service>
|
||||
</QRCode>
|
||||
|
||||
<Button>
|
||||
<X> 267 </X>
|
||||
|
|
@ -348,16 +523,89 @@
|
|||
<Filename> Var( DirImage + "/QRError.png" ) </Filename>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
<EventClick>
|
||||
|
||||
</EventClick>
|
||||
</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>
|
||||
Var MemberToppupSuccessPage = CountryRootPath + "xml/page_member_topupSuccess.lxml"
|
||||
Open MemberToppupSuccessPage
|
||||
</EventUnitTest4>
|
||||
|
||||
</Popup>
|
||||
|
||||
|
|
@ -95,6 +95,7 @@
|
|||
Var KanitRegularTTF = "ROOT/taobin_project/font/Kanit/Kanit-Regular.ttf"
|
||||
Var KanitThinTTF = "ROOT/taobin_project/font/Kanit/Kanit-Thin.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 OpunThinTTF = "ROOT/taobin_project/font/Opun/Opun-Thin.ttf"
|
||||
|
|
@ -114,6 +115,8 @@
|
|||
Var ChivoMonoBold = "ROOT/taobin_project/font/ChivoMono/ChivoMono-Bold.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"
|
||||
|
||||
|
||||
|
|
@ -1322,7 +1325,7 @@
|
|||
If CountryName = "Thailand" Then
|
||||
Var InternationalEnable = 1
|
||||
DEBUGVAR InternationalEnable
|
||||
|
||||
|
||||
;TRY "/mnt/sdcard/coffeevending/taobin_project/inter/tha/video/script_video.ev"
|
||||
|
||||
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/multi_ads/ads_path.ev"
|
||||
|
|
@ -1357,13 +1360,13 @@
|
|||
|
||||
Var ShowButtonClick2 = "Invisible"
|
||||
Var ButtontoTopupMenu = "Enable"
|
||||
|
||||
|
||||
|
||||
Var PriceUnitText = ""
|
||||
|
||||
;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 show_eng_button_stage = "Invisible"
|
||||
|
||||
Var CountDownShowButton = 35
|
||||
|
|
@ -1384,7 +1387,7 @@
|
|||
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
If UsePepsiTheme = 1 Then
|
||||
If InternationalEnable = 1 Then
|
||||
; enable-color
|
||||
|
|
@ -1555,7 +1558,7 @@ PRICE "Reset" "-"
|
|||
If CountryName = "Thailand" Then
|
||||
Var InternationalEnable = 1
|
||||
DEBUGVAR InternationalEnable
|
||||
|
||||
|
||||
;TRY "/mnt/sdcard/coffeevending/taobin_project/inter/tha/video/script_video.ev"
|
||||
|
||||
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/multi_ads/ads_path.ev"
|
||||
|
|
@ -1590,13 +1593,13 @@ PRICE "Reset" "-"
|
|||
|
||||
Var ShowButtonClick2 = "Invisible"
|
||||
Var ButtontoTopupMenu = "Enable"
|
||||
|
||||
|
||||
|
||||
Var PriceUnitText = ""
|
||||
|
||||
;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 show_eng_button_stage = "Invisible"
|
||||
|
||||
Var CountDownShowButton = 35
|
||||
|
|
@ -1843,15 +1846,15 @@ PRICE "Reset" "-"
|
|||
Var CountDownPauseVideo2 = CountDownPauseVideo - 1
|
||||
DEBUGVAR CountDownPauseVideo2
|
||||
If CountDownPauseVideo = 2 Then
|
||||
|
||||
|
||||
|
||||
|
||||
TapScreen 30 638
|
||||
|
||||
EndIf
|
||||
|
||||
|
||||
If CountDownPauseVideo = 1 Then
|
||||
|
||||
|
||||
TapScreen 860 1004
|
||||
|
||||
EndIf
|
||||
|
|
|
|||