Merge branch 'masterpiece' into feat/sgp-new-payment
This commit is contained in:
commit
e6703097f2
1117 changed files with 200327 additions and 141852 deletions
|
|
@ -7,6 +7,10 @@
|
|||
<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
; tab_menu hide
|
||||
;include="ROOT/taobin_project/inter/tha/xml/multi/tab_menu_hide.lxml"
|
||||
|
||||
RootLayoutVisible 3 "hide"
|
||||
|
||||
DEBUGVAR LangProcess
|
||||
|
||||
|
|
@ -20,6 +24,9 @@
|
|||
|
||||
Var img_press_main_page = "ROOT/taobin_project/image/main_page/bp_main_page_start.png"
|
||||
|
||||
; next button always Enble
|
||||
Var ShowButtonMainClick = "Enable"
|
||||
|
||||
Var img_rest_main_page = ""
|
||||
Var MemberButtonFileNameRest = ""
|
||||
Var img_reset_topup = ""
|
||||
|
|
@ -30,6 +37,7 @@
|
|||
Var credit_card_enable = ""
|
||||
READ_FILE "/mnt/sdcard/credit_card_enable" credit_card_enable
|
||||
|
||||
Var BaseOnPageBoard = 1
|
||||
|
||||
Var eng_enable = "true"
|
||||
Var thai_enable = "true"
|
||||
|
|
@ -40,10 +48,12 @@
|
|||
Var Seeker = "next"
|
||||
Var Seeker.thankLidFlag = 0
|
||||
Var Seeker.thankStrawFlag = 0
|
||||
Var Seeker.SmoothieToPayment = 0
|
||||
|
||||
Var Seeker = "curr"
|
||||
Var Seeker.thankLidFlag = 0
|
||||
Var Seeker.thankStrawFlag = 0
|
||||
Var Seeker.SmoothieToPayment = 0
|
||||
|
||||
DEBUGVAR web_ref
|
||||
DEBUGVAR web_payment
|
||||
|
|
@ -58,7 +68,7 @@
|
|||
|
||||
|
||||
Cart "DeleteMenuID" "ALL"
|
||||
Var MultiPayEnable = "false"
|
||||
;Var MultiPayEnable = "false"
|
||||
;Var MultiPayEnable = "true"
|
||||
Var PayType = ""
|
||||
|
||||
|
|
@ -132,6 +142,8 @@
|
|||
Var ShowButtonClick_WTC = "Invisible"
|
||||
Var ShowButtonClickFull_WTC = "Invisible"
|
||||
|
||||
Var BtnLangToggleIndex = "Invisible"
|
||||
|
||||
;SAVELOG DisplayType
|
||||
|
||||
If DisplayType = "2" Then
|
||||
|
|
@ -397,7 +409,7 @@
|
|||
|
||||
|
||||
|
||||
|
||||
CartTaoBin "CLEAR" "-" "-" "-"
|
||||
|
||||
|
||||
|
||||
|
|
@ -590,10 +602,24 @@
|
|||
EndIf
|
||||
|
||||
If ConnectWithPOSMachine = 1 Then
|
||||
OpenInst 0 "ROOT/taobin_project/xml/page_network_down_pos_machine.xml"
|
||||
OpenInst 0 "ROOT/taobin_project/xml/page_pos_machine_network_down.xml"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
If ConnectWithPOSMachine = 1 Then
|
||||
DEBUGVAR POS_SELL_MODE
|
||||
Var POSSellCountdown = 5
|
||||
If POS_SELL_MODE = "NORMAL" Then
|
||||
|
||||
Else
|
||||
Var BackgroundColor = "0x2C2F4E"
|
||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/sold_cup_count.xml"
|
||||
Open "ROOT/taobin_project/xml/page_pos_machine_midnight_close.xml"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
DEBUGVAR ButtontoTopupMenu
|
||||
STRCONTAIN "taobin_notopup" XMLProfile taobin_notopup
|
||||
STRCONTAIN "taobin_notopping" XMLProfile taobin_notopping
|
||||
|
|
@ -998,12 +1024,6 @@
|
|||
|
||||
; Singapore disable point
|
||||
Var SettingIgnoreCollectPoint = 1
|
||||
If BoxID = 210604 Then
|
||||
Var SettingIgnoreCollectPoint = 0
|
||||
EndIf
|
||||
;If BoxID = 210699 Then
|
||||
;Var SettingIgnoreCollectPoint = 0
|
||||
;EndIf
|
||||
|
||||
READ_FILE "/mnt/sdcard/coffeevending/use_pt_dev" use_pt_dev
|
||||
STRCONTAIN "1" use_pt_dev enable_pt_mode_by_cfg
|
||||
|
|
@ -1117,11 +1137,12 @@
|
|||
Var CurrentPageShowError = 0
|
||||
TRY "/mnt/sdcard/coffeevending/taobin_project/inter/hkg/video/script_video.ev"
|
||||
|
||||
EnableLanguage "ENG"
|
||||
EnableLanguage "MSC"
|
||||
EnableLanguage "MTC"
|
||||
Var LanguageShow = "ENG"
|
||||
SetLanguage "ENG"
|
||||
EnableLanguage "MSC"
|
||||
EnableLanguage "ENG"
|
||||
|
||||
Var LanguageShow = "MTC"
|
||||
SetLanguage "MTC"
|
||||
LanguageControl "UpdateList" "-"
|
||||
|
||||
Var show_eng = "true"
|
||||
|
|
@ -1135,8 +1156,14 @@
|
|||
|
||||
Var TextPriceMenuSize = 12
|
||||
Var TextPriceMenuY = 266
|
||||
Var TextPriceMenuColdx = 113
|
||||
Var TextPriceMenuBlendX = 180
|
||||
Var TextPriceMenuHotX = 48
|
||||
|
||||
Var TextHotMenuX = 19
|
||||
Var TextColdMenuX = 84
|
||||
Var TextBlendMenuX = 148
|
||||
|
||||
Var ShowButtonClick2 = "Invisible"
|
||||
Var ButtontoTopupMenu = "Invisible"
|
||||
|
||||
|
|
@ -1306,38 +1333,79 @@
|
|||
; Inter + Multi-Instance available ./inter/tha/multi
|
||||
|
||||
|
||||
If BoxID = 173149 Then
|
||||
Var EnableMultiInstanceFromBoxID = 1
|
||||
EndIf
|
||||
If BoxID = 173249 Then
|
||||
Var EnableMultiInstanceFromBoxID = 1
|
||||
EndIf
|
||||
If BoxID = 173319 Then
|
||||
Var EnableMultiInstanceFromBoxID = 1
|
||||
EndIf
|
||||
If BoxID = 200435 Then
|
||||
Var EnableMultiInstanceFromBoxID = 1
|
||||
EndIf
|
||||
If BoxID = 123456 Then
|
||||
Var EnableMultiInstanceFromBoxID = 1
|
||||
TRY "ROOT/taobin_project/inter/tha/configure.ev"
|
||||
|
||||
|
||||
If BoxID = 173372 Then
|
||||
Var SpiralOnline = "true"
|
||||
|
||||
Var InternationalShow = 1
|
||||
EndIf
|
||||
|
||||
If EnableMultiInstanceFromBoxID = 1 Then
|
||||
If CountryName = "Thailand" Then
|
||||
|
||||
|
||||
|
||||
; enable helper
|
||||
Var EnableHelperShow = 0
|
||||
;Var FromDrinkOk = 1
|
||||
If EnableHelperShow = 1 Then
|
||||
; enable btn_change_langs
|
||||
Var EnableBtnLangWithHelper = 1
|
||||
Var LanguageButtonEnable = "Enable"
|
||||
Var ButtonLanguageCurrentXPosition = 990
|
||||
Var ButtonLanguageCurrentYPosition = 608
|
||||
Var ButtonLanguageListXPosition = 970
|
||||
Var ButtonLanguageListYPosition = 590
|
||||
OpenInst 3 "ROOT/taobin_project/xml/topview2.xml"
|
||||
RootLayoutVisible 3 "show"
|
||||
|
||||
If FromDrinkOk = 1 Then
|
||||
Var TimeOutShowHelpCenter = 15
|
||||
|
||||
Var FromSmoothieProcess = "Invisible"
|
||||
Var FromPaymentCash = "Invisible"
|
||||
Var FromBrewingProcess = "Enable"
|
||||
|
||||
RootLayoutVisible 14 "show"
|
||||
If CurrHelpCenter = 1 Then
|
||||
;do not thing
|
||||
Else
|
||||
OpenInst 14 "ROOT/taobin_project/inter/tha/xml/topview_helper.lxml"
|
||||
EndIf
|
||||
Else
|
||||
RootLayoutVisible 14 "hide"
|
||||
EndIf
|
||||
Else
|
||||
RootLayoutVisible 3 "hide"
|
||||
EndIf
|
||||
|
||||
Var EnableMultiInstance = "true"
|
||||
Var MyanmarLangEnable = "true"
|
||||
Var InternationalShow = 0
|
||||
|
||||
Var CatalogLayoutV3 = 1
|
||||
|
||||
Var SpiralModeFrozenFruit = 0
|
||||
|
||||
If BoxID = 123456 Then
|
||||
Var SpiralOnline = "true"
|
||||
Var SpiralModeFrozenFruit = 1
|
||||
|
||||
Var InternationalShow = 0
|
||||
EndIf
|
||||
|
||||
|
||||
If BoxID = 210699 Then
|
||||
Var SpiralOnline = "true"
|
||||
Var SpiralModeFrozenFruit = 1
|
||||
Var InternationalShow = 1
|
||||
EndIf
|
||||
|
||||
If BoxID = 105005 Then
|
||||
Var SpiralOnline = "true"
|
||||
Var SpiralModeFrozenFruit = 1
|
||||
Var InternationalShow = 1
|
||||
EndIf
|
||||
|
||||
; test payment
|
||||
Var New_Payment = 1
|
||||
|
||||
|
|
@ -1467,7 +1535,17 @@
|
|||
;DEBUGVAR LivenessControlVersion
|
||||
;DEBUGVAR Not#CameraSettingStatus
|
||||
|
||||
RootLayoutVisible 3 "hide"
|
||||
If EnableMultiInstanceFromBoxID = 1 Then
|
||||
If CountryName = "Thailand" Then
|
||||
If EnableHelperShow = 1 Then
|
||||
RootLayoutVisible 3 "show"
|
||||
Else
|
||||
RootLayoutVisible 3 "hide"
|
||||
EndIf
|
||||
Else
|
||||
RootLayoutVisible 3 "hide"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If SELLSTATUS = "DEACTIVE" Then
|
||||
OpenInst 0 "/ROOT/xml/offline.xml"
|
||||
|
|
@ -1659,7 +1737,7 @@
|
|||
|
||||
Machine NewPaymentOpenBrewingXMLEnable
|
||||
|
||||
;include="ROOT/taobin_project/inter/tha/xml/multi/tab_menu_hide.lxml"
|
||||
|
||||
|
||||
If EnablePepsiFullscreen = 1 Then
|
||||
DEBUGVAR EnablePepsiFullscreen
|
||||
|
|
@ -1672,6 +1750,8 @@
|
|||
OpenInst 2 PepsiFullScreenPageBoard
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
</EventOpen>
|
||||
|
||||
<EventActionOk>
|
||||
|
|
@ -1842,6 +1922,8 @@ PRICE "Reset" "-"
|
|||
<Timeout> 1000 </Timeout>
|
||||
<EventTimeout>
|
||||
|
||||
;include="ROOT/taobin_project/inter/tha/xml/multi/tab_menu_hide.lxml"
|
||||
|
||||
If CNTDOWN_PROTECT_SCREEN_BLANK > 0 Then
|
||||
Var CNTDOWN_PROTECT_SCREEN_BLANK = CNTDOWN_PROTECT_SCREEN_BLANK - 1
|
||||
EndIf
|
||||
|
|
@ -1985,7 +2067,25 @@ PRICE "Reset" "-"
|
|||
If TaobinOnlineX = "true" Then
|
||||
|
||||
If CountDownShowButton = 31 Then
|
||||
Var ShowButtonClickFull = "Enable"
|
||||
If EnableHelperShow = 1 Then
|
||||
If CurrHelpCenter = 1 Then
|
||||
|
||||
Var ShowButtonMainClick = "Invisible"
|
||||
|
||||
Var ShowButtonClickFull = "Invisible"
|
||||
Var ShowButtonClick = "Invisible"
|
||||
Var ShowButtonClick2 = "Invisible"
|
||||
Var ButtontoTopupMenu = "Invisible"
|
||||
Else
|
||||
Var ShowButtonMainClick = "Enable"
|
||||
|
||||
Var ShowButtonClickFull = "Enable"
|
||||
EndIf
|
||||
Else
|
||||
Var ShowButtonMainClick = "Enable"
|
||||
Var ShowButtonClickFull = "Enable"
|
||||
EndIf
|
||||
|
||||
Var ShowButtonClick = "Invisible"
|
||||
|
||||
If UsePepsiTheme = 1 Then
|
||||
|
|
@ -1999,8 +2099,18 @@ PRICE "Reset" "-"
|
|||
EndIf
|
||||
If InternationalEnable = 1 Then
|
||||
If CountryName = "Thailand" Then
|
||||
Var ShowButtonClick = "Enable"
|
||||
Var ShowButtonClickFull = "Enable"
|
||||
If EnableHelperShow = 1 Then
|
||||
If CurrHelpCenter = 1 Then
|
||||
Var ShowButtonClick = "Invisible"
|
||||
Else
|
||||
Var ShowButtonClick = "Enable"
|
||||
Var ShowButtonMainClick = "Enable"
|
||||
EndIf
|
||||
Else
|
||||
Var ShowButtonMainClick = "Enable"
|
||||
Var ShowButtonClick = "Enable"
|
||||
Var ShowButtonClickFull = "Enble"
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
|
@ -2009,7 +2119,25 @@ PRICE "Reset" "-"
|
|||
|
||||
If CountDownShowButton = 3 Then
|
||||
|
||||
Var ShowButtonClick = "Enable"
|
||||
If EnableHelperShow = 1 Then
|
||||
If CurrHelpCenter = 1 Then
|
||||
|
||||
Var ShowButtonMainClick = "Invisible"
|
||||
|
||||
Var ShowButtonClickFull = "Invisible"
|
||||
Var ShowButtonClick = "Invisible"
|
||||
Var ShowButtonClick2 = "Invisible"
|
||||
Var ButtontoTopupMenu = "Invisible"
|
||||
Else
|
||||
Var ShowButtonMainClick = "Enable"
|
||||
|
||||
Var ShowButtonClick = "Enable"
|
||||
EndIf
|
||||
Else
|
||||
Var ShowButtonClick = "Enable"
|
||||
Var ShowButtonMainClick = "Enable"
|
||||
EndIf
|
||||
|
||||
Var ShowButtonClickFull = "Invisible"
|
||||
|
||||
If UsePepsiTheme = 1 Then
|
||||
|
|
@ -2025,6 +2153,24 @@ PRICE "Reset" "-"
|
|||
Refresh
|
||||
EndIf
|
||||
|
||||
DEBUGVAR CurrHelpCenter
|
||||
; after close helper enable clickfull
|
||||
If EnableHelperShow = 1 Then
|
||||
If CurrHelpCenter = 0 Then
|
||||
If CountDownShowButton < 32 Then
|
||||
If CountDownShowButton < 3 Then
|
||||
Var ShowButtonClickFull = "Invisible"
|
||||
Var ShowButtonClick = "Enable"
|
||||
Var ShowButtonMainClick = "Enable"
|
||||
Else
|
||||
Var ShowButtonClickFull = "Enable"
|
||||
Var ShowButtonClick = "Invisible"
|
||||
Var ShowButtonMainClick = "Enable"
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If CountDownPauseVideo > 0 Then
|
||||
DEBUGVAR CountDownPauseVideo
|
||||
; ignore
|
||||
|
|
@ -2059,45 +2205,57 @@ PRICE "Reset" "-"
|
|||
|
||||
Var OpenFromPageBoard = 1
|
||||
|
||||
If DoorCupPosition = "bottom" Then
|
||||
If CupOnArm = "true" Then
|
||||
|
||||
Else
|
||||
__CMD "CLI" "arm_id=3,arm_position=posi_espresso_ii" "-" "-"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
|
||||
DEBUGVAR InternationalEnable
|
||||
DEBUGVAR CountryName
|
||||
If InternationalEnable = 1 Then
|
||||
If CountryName = "Thailand" Then
|
||||
SAVELOG " Thailand Thailand Thailand Thailand Pooon Pooon Pooon Pooon Pooon"
|
||||
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/event/script_common_for_open_promotion_xml.ev"
|
||||
Else
|
||||
; show language icon
|
||||
OpenInst 3 "ROOT/taobin_project/xml/topview2.xml"
|
||||
RootLayoutVisible 3 "show"
|
||||
|
||||
|
||||
Var OpenFileXML = CountryRootPath + "xml/event/script_common_for_open_promotion_xml.ev"
|
||||
TRY OpenFileXML
|
||||
EndIf
|
||||
|
||||
If CurrHelpCenter = 1 Then
|
||||
OpenInst 0 "ROOT/taobin_project/xml/page_board.xml"
|
||||
Else
|
||||
If BeerTrapEnable = "true" Then
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog_cocktail.xml"
|
||||
Else
|
||||
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/event/script_common_for_open_promotion_xml.ev"
|
||||
|
||||
|
||||
If DoorCupPosition = "bottom" Then
|
||||
If CupOnArm = "true" Then
|
||||
|
||||
Else
|
||||
__CMD "CLI" "arm_id=3,arm_position=posi_espresso_ii" "-" "-"
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
Machine DoorClose
|
||||
|
||||
TopView "show"
|
||||
OpenInst 0 "/mnt/sdcard/coffeevending/taobin_project/xml/page_main_blank.xml"
|
||||
Var BaseOnPageBoard = 0
|
||||
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/event/tricker.ev"
|
||||
|
||||
If InternationalEnable = 1 Then
|
||||
If CountryName = "Thailand" Then
|
||||
SAVELOG " Thailand Thailand Thailand Thailand Pooon Pooon Pooon Pooon Pooon"
|
||||
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/event/script_common_for_open_promotion_xml.ev"
|
||||
Else
|
||||
; show language icon
|
||||
OpenInst 3 "ROOT/taobin_project/xml/topview2.xml"
|
||||
RootLayoutVisible 3 "show"
|
||||
|
||||
|
||||
|
||||
Var OpenFileXML = CountryRootPath + "xml/event/script_common_for_open_promotion_xml.ev"
|
||||
TRY OpenFileXML
|
||||
EndIf
|
||||
|
||||
Else
|
||||
If BeerTrapEnable = "true" Then
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog_cocktail.xml"
|
||||
Else
|
||||
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/event/script_common_for_open_promotion_xml.ev"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
Machine DoorClose
|
||||
|
||||
TopView "show"
|
||||
OpenInst 0 "/mnt/sdcard/coffeevending/taobin_project/xml/page_main_blank.xml"
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
|
@ -2110,11 +2268,11 @@ PRICE "Reset" "-"
|
|||
Var CountUpReloadAll = CountUpReloadAll + 1
|
||||
|
||||
DEBUGVAR CountUpReloadAll
|
||||
; setvarint CountUpReloadAll 49
|
||||
; setvarint CountUpReloadAll 200
|
||||
; Original value is 40
|
||||
If EnableMultiInstance = "true" Then
|
||||
|
||||
If CountUpReloadAll > 300 Then
|
||||
If CountUpReloadAll > 100 Then
|
||||
Var NeedReboot = "false"
|
||||
|
||||
Var StartUpExt = "-"
|
||||
|
|
@ -2123,21 +2281,9 @@ PRICE "Reset" "-"
|
|||
ReloadAll
|
||||
EndIf
|
||||
|
||||
If CountUpReloadAll = 50 Then
|
||||
Var SlientRefreshIndex = 2
|
||||
EndIf
|
||||
If CountUpReloadAll = 150 Then
|
||||
Var SlientRefreshIndex = 2
|
||||
EndIf
|
||||
If CountUpReloadAll = 200 Then
|
||||
Var SlientRefreshIndex = 2
|
||||
EndIf
|
||||
If CountUpReloadAll = 250 Then
|
||||
Var SlientRefreshIndex = 2
|
||||
EndIf
|
||||
|
||||
Else
|
||||
If CountUpReloadAll > 100 Then
|
||||
If CountUpReloadAll > 50 Then
|
||||
Var NeedReboot = "false"
|
||||
|
||||
Var StartUpExt = "-"
|
||||
|
|
@ -2150,6 +2296,44 @@ PRICE "Reset" "-"
|
|||
|
||||
EndIf
|
||||
|
||||
DEBUGVAR startTaobinML
|
||||
DEBUGVAR CountDownOpenTaobinML
|
||||
|
||||
If CountDownOpenTaobinML > 0 Then
|
||||
|
||||
Else
|
||||
Var CountDownOpenTaobinML = 0
|
||||
EndIf
|
||||
|
||||
If EnableCameraStraw = "true" Then
|
||||
|
||||
If startTaobinML = "true" Then
|
||||
|
||||
Else
|
||||
Var CountDownOpenTaobinML = CountDownOpenTaobinML + 1
|
||||
|
||||
If CountDownOpenTaobinML = 70 Then
|
||||
TrickTaoBinML "START"
|
||||
Var startTaobinML = "true"
|
||||
DEBUGVAR startTaobinML
|
||||
EndIf
|
||||
|
||||
|
||||
EndIf
|
||||
|
||||
DEBUGVAR NeedTrickTaobinML
|
||||
|
||||
If NeedTrickTaobinML = "true" Then
|
||||
|
||||
TrickTaoBinML "TRICKER"
|
||||
Var NeedTrickTaobinML = "false"
|
||||
DEBUGVAR NeedTrickTaobinML
|
||||
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
|
||||
If CupOnArm = "true" Then
|
||||
|
||||
|
|
@ -2227,7 +2411,7 @@ PRICE "Reset" "-"
|
|||
Var refresh_str = "-RefreshProf"
|
||||
STRCONTAIN refresh_str XMLProfile HasRefreshProf
|
||||
If HasRefreshProf = "true" Then
|
||||
|
||||
RebootWithCause "RefreshProf_ProMelon"
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
|
|
@ -2244,11 +2428,57 @@ PRICE "Reset" "-"
|
|||
Open "ROOT/taobin_project/xml/page_sleepmode.xml"
|
||||
EndIf
|
||||
|
||||
If ConnectWithPOSMachine = 1 Then
|
||||
If POSSellCountdown > 0 Then
|
||||
Var POSSellCountdown = POSSellCountdown - 1
|
||||
Else
|
||||
DEBUGVAR POS_SELL_MODE
|
||||
Var POSSellCountdown = 5
|
||||
If POS_SELL_MODE = "NORMAL" Then
|
||||
|
||||
Else
|
||||
Var BackgroundColor = "0x2C2F4E"
|
||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/sold_cup_count.xml"
|
||||
Open "ROOT/taobin_project/xml/page_pos_machine_midnight_close.xml"
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
; for count helper show
|
||||
If EnableHelperShow = 1 Then
|
||||
If FromDrinkOk = 1 Then
|
||||
If TimeOutShowHelpCenter > 0 Then
|
||||
Var TimeOutShowHelpCenter = TimeOutShowHelpCenter - 1
|
||||
EndIf
|
||||
|
||||
If TimeOutShowHelpCenter = 0 Then
|
||||
Var FromDrinkOk = 0
|
||||
If CurrHelpCenter = 1 Then
|
||||
;do not thing
|
||||
Else
|
||||
OpenInst 14 "/mnt/sdcard/coffeevending/taobin_project/inter/tha/xml/page_instance_empty.lxml"
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
Refresh
|
||||
|
||||
TimerReset
|
||||
</EventTimeout>
|
||||
|
||||
<EventLanguageOnChange>
|
||||
|
||||
Var LanguageButtonEnable = "Enable"
|
||||
Var ButtonLanguageCurrentXPosition = 990
|
||||
Var ButtonLanguageCurrentYPosition = 608
|
||||
Var ButtonLanguageListXPosition = 970
|
||||
Var ButtonLanguageListYPosition = 590
|
||||
OpenInst 3 "ROOT/taobin_project/xml/topview2.xml"
|
||||
|
||||
RefreshAll
|
||||
</EventLanguageOnChange>
|
||||
|
||||
<EventEnd>
|
||||
SAVELOG "EVENT END"
|
||||
|
||||
|
|
@ -2320,6 +2550,8 @@ PRICE "Reset" "-"
|
|||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
|
||||
Var BaseOnPageBoard = 0
|
||||
|
||||
;OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert.xml"
|
||||
If CocktailShow = "true" Then
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog_cocktail.xml"
|
||||
|
|
@ -2367,6 +2599,7 @@ PRICE "Reset" "-"
|
|||
<EventClick>
|
||||
|
||||
Var NextPage = "-"
|
||||
Var BaseOnPageBoard = 0
|
||||
|
||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert.xml"
|
||||
|
||||
|
|
@ -2426,6 +2659,7 @@ PRICE "Reset" "-"
|
|||
SAVELOG "click ShowButtonClickFull"
|
||||
|
||||
Var NextPage = "-"
|
||||
Var BaseOnPageBoard = 0
|
||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert.xml"
|
||||
If SpiralOnline = "true" Then
|
||||
If InternationalEnable = 1 Then
|
||||
|
|
@ -2502,13 +2736,13 @@ PRICE "Reset" "-"
|
|||
<Button>
|
||||
<X> 0 </X>
|
||||
<Y> 608 </Y>
|
||||
<State> "Enable" </State>
|
||||
<State> ShowButtonMainClick </State>
|
||||
<Width> 120 </Width>
|
||||
<Height> 120 </Height>
|
||||
<EventClick>
|
||||
|
||||
Var NextPage = "ROOT/taobin_project/xml/page_back_to_main.xml"
|
||||
|
||||
SAVELOG " NEXT PAGE NEXT PAGE NEXT PAGE "
|
||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert2.xml"
|
||||
|
||||
If DoorCupPosition = "bottom" Then
|
||||
|
|
@ -2522,32 +2756,37 @@ PRICE "Reset" "-"
|
|||
|
||||
Var OpenFromPageBoard = 1
|
||||
|
||||
If InternationalEnable = 1 Then
|
||||
|
||||
If CountryName = "Thailand" Then
|
||||
SAVELOG " Thailand Thailand Thailand Thailand Pooon Pooon Pooon Pooon Pooon"
|
||||
TRY "/mnt/sdcard/coffeevending/taobin_project/inter/tha/xml/event/script_common_for_open_promotion_xml.ev"
|
||||
Else ; show language icon
|
||||
OpenInst 3 "ROOT/taobin_project/xml/topview2.xml"
|
||||
RootLayoutVisible 3 "show"
|
||||
|
||||
Var OpenFileXML = CountryRootPath + "xml/event/script_common_for_open_promotion_xml.ev"
|
||||
TRY OpenFileXML
|
||||
EndIf
|
||||
If CurrHelpCenter = 1 Then
|
||||
OpenInst 0 "ROOT/taobin_project/xml/page_board.xml"
|
||||
Else
|
||||
Var BaseOnPageBoard = 0
|
||||
|
||||
If CocktailShow = "true" Then
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog_cocktail.xml"
|
||||
If InternationalEnable = 1 Then
|
||||
|
||||
If CountryName = "Thailand" Then
|
||||
SAVELOG " Thailand Thailand Thailand Thailand Pooon Pooon Pooon Pooon Pooon"
|
||||
TRY "/mnt/sdcard/coffeevending/taobin_project/inter/tha/xml/event/script_common_for_open_promotion_xml.ev"
|
||||
Else ; show language icon
|
||||
OpenInst 3 "ROOT/taobin_project/xml/topview2.xml"
|
||||
RootLayoutVisible 3 "show"
|
||||
|
||||
Var OpenFileXML = CountryRootPath + "xml/event/script_common_for_open_promotion_xml.ev"
|
||||
TRY OpenFileXML
|
||||
EndIf
|
||||
Else
|
||||
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/event/script_common_for_open_promotion_xml.ev"
|
||||
|
||||
If CocktailShow = "true" Then
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog_cocktail.xml"
|
||||
Else
|
||||
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/event/script_common_for_open_promotion_xml.ev"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
Machine DoorClose
|
||||
|
||||
TopView "show"
|
||||
Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_main_blank.xml"
|
||||
EndIf
|
||||
|
||||
Machine DoorClose
|
||||
|
||||
TopView "show"
|
||||
Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_main_blank.xml"
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue