Helper state
This commit is contained in:
parent
eb8f09734f
commit
02eca5bd5b
8 changed files with 258 additions and 105 deletions
|
|
@ -11,7 +11,17 @@
|
|||
Var routeManTest = CountryRootPath + "/xml/route_man_test.lxml"
|
||||
OpenInst 0 routeManTest
|
||||
Else
|
||||
OpenInst 0 "/mnt/sdcard/coffeevending/taobin_project/xml/page_board.xml"
|
||||
If EnableHelperShow = 1 Then
|
||||
Var LanguageButtonEnable = "Enable"
|
||||
Var ButtonLanguageCurrentXPosition = 990
|
||||
Var ButtonLanguageCurrentYPosition = 608
|
||||
Var ButtonLanguageListXPosition = 970
|
||||
Var ButtonLanguageListYPosition = 590
|
||||
OpenInst 3 "ROOT/taobin_project/xml/topview2.xml"
|
||||
OpenInst 0 "/mnt/sdcard/coffeevending/taobin_project/xml/page_board.xml"
|
||||
Else
|
||||
OpenInst 0 "/mnt/sdcard/coffeevending/taobin_project/xml/page_board.xml"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If showMultiAds = "true" Then
|
||||
|
|
|
|||
|
|
@ -2119,28 +2119,32 @@ PRICE "Reset" "-"
|
|||
DEBUGVAR CountryName
|
||||
|
||||
Var BaseOnPageBoard = 0
|
||||
|
||||
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
|
||||
; do not thing when open the helper
|
||||
Else
|
||||
If BeerTrapEnable = "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/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 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
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
Machine DoorClose
|
||||
|
||||
|
|
@ -2593,24 +2597,28 @@ 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
|
||||
; do not thing when open the helper
|
||||
Else
|
||||
If InternationalEnable = 1 Then
|
||||
|
||||
If CocktailShow = "true" Then
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog_cocktail.xml"
|
||||
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
|
||||
EndIf
|
||||
|
||||
|
|
|
|||
|
|
@ -1316,6 +1316,7 @@
|
|||
Var FromSmoothieProcess = "Invisible"
|
||||
Var FromPaymentCash = "Enable"
|
||||
Var FromBrewingProcess = "Invisible"
|
||||
Var BaseOnPageBoard = 0
|
||||
|
||||
If EnableHelperShow = 1 Then
|
||||
Var Showhelper = "Enable"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue