Merge branch 'master' of ssh://forthrd.ddns.net:2222/1TBHDD/ikong/taobin_project
This commit is contained in:
commit
9931cb7c1e
29 changed files with 7256 additions and 7237 deletions
|
|
@ -821,18 +821,21 @@
|
|||
If Not#LanguageResult = "false" Then
|
||||
LoadLanguage "/mnt/sdcard/coffeevending/taobin_project/ui/lang.tsv"
|
||||
EndIf
|
||||
|
||||
Var RootPath = "ROOT/taobin_project/inter/common/"
|
||||
|
||||
Var OpenFileXML = CountryRootPath + "xml/event/tricker.ev"
|
||||
DEBUGVAR OpenFileXML
|
||||
TRY OpenFileXML
|
||||
|
||||
|
||||
Else
|
||||
Var LanguageObjectShow = "Invisible"
|
||||
Var NoLangObjectShow = "Enable"
|
||||
|
||||
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/event/tricker.ev"
|
||||
|
||||
Var RootPath = "ROOT/taobin_project/"
|
||||
|
||||
|
||||
EndIf
|
||||
|
||||
|
|
@ -1388,8 +1391,8 @@
|
|||
<State> buttonRemoveCup </State>
|
||||
;<Color> "0x00BDFF" </Color>
|
||||
<Interval> 500 </Interval>
|
||||
<Filename> "ROOT/taobin_project/image/main_page/bn_remove_cup.png" </Filename>
|
||||
<Filename> "ROOT/taobin_project/image/main_page/bp_remove_cup.png" </Filename>
|
||||
<Filename> Var(RootPath + "image/main_page/bn_remove_cup.png") </Filename>
|
||||
<Filename> Var(RootPath + "image/main_page/bp_remove_cup.png") </Filename>
|
||||
<EventClick>
|
||||
Machine RemoveCup
|
||||
Machine DoorLidOpen
|
||||
|
|
|
|||
|
|
@ -347,7 +347,6 @@
|
|||
Var LanguageButtonEnable = "Enable"
|
||||
Var ButtonLanguageCurrentXPosition = 990
|
||||
Var ButtonLanguageCurrentYPosition = 438
|
||||
|
||||
Var ButtonLanguageListXPosition = 970
|
||||
Var ButtonLanguageListYPosition = 430
|
||||
OpenInst 3 "ROOT/taobin_project/xml/topview2.xml"
|
||||
|
|
@ -786,8 +785,8 @@
|
|||
<State> buttonRemoveCup </State>
|
||||
;<Color> "0x00BDFF" </Color>
|
||||
<Interval> 500 </Interval>
|
||||
<Filename> "ROOT/taobin_project/image/main_page/bn_remove_cup.png" </Filename>
|
||||
<Filename> "ROOT/taobin_project/image/main_page/bp_remove_cup.png" </Filename>
|
||||
<Filename> Var(RootPath + "image/main_page/bn_remove_cup.png") </Filename>
|
||||
<Filename> Var(RootPath + "image/main_page/bp_remove_cup.png") </Filename>
|
||||
<EventClick>
|
||||
Machine RemoveCup
|
||||
Machine DoorLidOpen
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -166,16 +166,16 @@
|
|||
Var DirImage = "ROOT/taobin_project/image/vending_error"
|
||||
EndIf
|
||||
If LanguageShow = "ENG" Then
|
||||
Var DirImage = "ROOT/taobin_project/image/vending_error_en"
|
||||
Var DirImage = CountryRootPath + "image/vending_error_en"
|
||||
EndIf
|
||||
If LanguageShow = "JAPAN" Then
|
||||
Var DirImage = "ROOT/taobin_project/image/vending_error_en"
|
||||
Var DirImage = CountryRootPath + "image/vending_error_en"
|
||||
EndIf
|
||||
If LanguageShow = "CHINA" Then
|
||||
Var DirImage = "ROOT/taobin_project/image/vending_error_en"
|
||||
Var DirImage = CountryRootPath + "image/vending_error_en"
|
||||
EndIf
|
||||
If LanguageShow = "MALAY" Then
|
||||
Var DirImage = "ROOT/taobin_project/image/vending_error_en"
|
||||
Var DirImage = CountryRootPath + "image/vending_error_en"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
|
@ -184,16 +184,16 @@
|
|||
Var DirImage = "ROOT/taobin_project/image/vending_error"
|
||||
EndIf
|
||||
If LanguageShow = "ENG" Then
|
||||
Var DirImage = "ROOT/taobin_project/image/vending_error_en"
|
||||
Var DirImage = CountryRootPath + "image/vending_error_en"
|
||||
EndIf
|
||||
If LanguageShow = "JAPAN" Then
|
||||
Var DirImage = "ROOT/taobin_project/image/vending_error_en"
|
||||
Var DirImage = CountryRootPath + "image/vending_error_en"
|
||||
EndIf
|
||||
If LanguageShow = "CHINA" Then
|
||||
Var DirImage = "ROOT/taobin_project/image/vending_error_en"
|
||||
Var DirImage = CountryRootPath + "image/vending_error_en"
|
||||
EndIf
|
||||
If LanguageShow = "MALAY" Then
|
||||
Var DirImage = "ROOT/taobin_project/image/vending_error_en"
|
||||
Var DirImage = CountryRootPath + "image/vending_error_en"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
|
@ -206,16 +206,16 @@
|
|||
Var DirImage = "ROOT/taobin_project/image/vending_error"
|
||||
EndIf
|
||||
If LanguageShow = "ENG" Then
|
||||
Var DirImage = "ROOT/taobin_project/image/vending_error_en"
|
||||
Var DirImage = CountryRootPath + "image/vending_error_en"
|
||||
EndIf
|
||||
If LanguageShow = "JAPAN" Then
|
||||
Var DirImage = "ROOT/taobin_project/image/vending_error_en"
|
||||
Var DirImage = CountryRootPath + "image/vending_error_en"
|
||||
EndIf
|
||||
If LanguageShow = "CHINA" Then
|
||||
Var DirImage = "ROOT/taobin_project/image/vending_error_en"
|
||||
Var DirImage = CountryRootPath + "image/vending_error_en"
|
||||
EndIf
|
||||
If LanguageShow = "MALAY" Then
|
||||
Var DirImage = "ROOT/taobin_project/image/vending_error_en"
|
||||
Var DirImage = CountryRootPath + "image/vending_error_en"
|
||||
EndIf
|
||||
Else
|
||||
Var show_error_normal = "Enable"
|
||||
|
|
@ -227,16 +227,16 @@
|
|||
Var DirImage = "ROOT/taobin_project/image/close_th"
|
||||
EndIf
|
||||
If LanguageShow = "ENG" Then
|
||||
Var DirImage = "ROOT/taobin_project/image/close_en"
|
||||
Var DirImage = CountryRootPath + "image/close_en"
|
||||
EndIf
|
||||
If LanguageShow = "JAPAN" Then
|
||||
Var DirImage = "ROOT/taobin_project/image/close_en"
|
||||
Var DirImage = CountryRootPath + "image/close_en"
|
||||
EndIf
|
||||
If LanguageShow = "CHINA" Then
|
||||
Var DirImage = "ROOT/taobin_project/image/close_en"
|
||||
Var DirImage = CountryRootPath + "image/close_en"
|
||||
EndIf
|
||||
If LanguageShow = "MALAY" Then
|
||||
Var DirImage = "ROOT/taobin_project/image/close_en"
|
||||
Var DirImage = CountryRootPath + "image/close_en"
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
|
|
@ -250,16 +250,16 @@
|
|||
Var DirImage = "ROOT/taobin_project/image/vending_error"
|
||||
EndIf
|
||||
If LanguageShow = "ENG" Then
|
||||
Var DirImage = "ROOT/taobin_project/image/vending_error_en"
|
||||
Var DirImage = CountryRootPath + "image/vending_error_en"
|
||||
EndIf
|
||||
If LanguageShow = "JAPAN" Then
|
||||
Var DirImage = "ROOT/taobin_project/image/vending_error_en"
|
||||
Var DirImage = CountryRootPath + "image/vending_error_en"
|
||||
EndIf
|
||||
If LanguageShow = "CHINA" Then
|
||||
Var DirImage = "ROOT/taobin_project/image/vending_error_en"
|
||||
Var DirImage = CountryRootPath + "image/vending_error_en"
|
||||
EndIf
|
||||
If LanguageShow = "MALAY" Then
|
||||
Var DirImage = "ROOT/taobin_project/image/vending_error_en"
|
||||
Var DirImage = CountryRootPath + "image/vending_error_en"
|
||||
EndIf
|
||||
Else
|
||||
Var show_error_normal = "Enable"
|
||||
|
|
@ -268,16 +268,16 @@
|
|||
Var DirImage = "ROOT/taobin_project/image/close_th"
|
||||
EndIf
|
||||
If LanguageShow = "ENG" Then
|
||||
Var DirImage = "ROOT/taobin_project/image/close_en"
|
||||
Var DirImage = CountryRootPath + "image/close_en"
|
||||
EndIf
|
||||
If LanguageShow = "JAPAN" Then
|
||||
Var DirImage = "ROOT/taobin_project/image/close_en"
|
||||
Var DirImage = CountryRootPath + "image/close_en"
|
||||
EndIf
|
||||
If LanguageShow = "CHINA" Then
|
||||
Var DirImage = "ROOT/taobin_project/image/close_en"
|
||||
Var DirImage = CountryRootPath + "image/close_en"
|
||||
EndIf
|
||||
If LanguageShow = "MALAY" Then
|
||||
Var DirImage = "ROOT/taobin_project/image/close_en"
|
||||
Var DirImage = CountryRootPath + "image/close_en"
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
|
|
@ -287,16 +287,16 @@
|
|||
Var DirImage = "ROOT/taobin_project/image/vending_error"
|
||||
EndIf
|
||||
If LanguageShow = "ENG" Then
|
||||
Var DirImage = "ROOT/taobin_project/image/vending_error_en"
|
||||
Var DirImage = CountryRootPath + "image/vending_error_en"
|
||||
EndIf
|
||||
If LanguageShow = "JAPAN" Then
|
||||
Var DirImage = "ROOT/taobin_project/image/vending_error_en"
|
||||
Var DirImage = CountryRootPath + "image/vending_error_en"
|
||||
EndIf
|
||||
If LanguageShow = "CHINA" Then
|
||||
Var DirImage = "ROOT/taobin_project/image/vending_error_en"
|
||||
Var DirImage = CountryRootPath + "image/vending_error_en"
|
||||
EndIf
|
||||
If LanguageShow = "MALAY" Then
|
||||
Var DirImage = "ROOT/taobin_project/image/vending_error_en"
|
||||
Var DirImage = CountryRootPath + "image/vending_error_en"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
|
@ -306,16 +306,16 @@
|
|||
Var DirImage = "ROOT/taobin_project/image/vending_error"
|
||||
EndIf
|
||||
If LanguageShow = "ENG" Then
|
||||
Var DirImage = "ROOT/taobin_project/image/vending_error_en"
|
||||
Var DirImage = CountryRootPath + "image/vending_error_en"
|
||||
EndIf
|
||||
If LanguageShow = "JAPAN" Then
|
||||
Var DirImage = "ROOT/taobin_project/image/vending_error_en"
|
||||
Var DirImage = CountryRootPath + "image/vending_error_en"
|
||||
EndIf
|
||||
If LanguageShow = "CHINA" Then
|
||||
Var DirImage = "ROOT/taobin_project/image/vending_error_en"
|
||||
Var DirImage = CountryRootPath + "image/vending_error_en"
|
||||
EndIf
|
||||
If LanguageShow = "MALAY" Then
|
||||
Var DirImage = "ROOT/taobin_project/image/vending_error_en"
|
||||
Var DirImage = CountryRootPath + "image/vending_error_en"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
|
@ -346,6 +346,13 @@
|
|||
<Filename> RandomImage </Filename>
|
||||
</Image>
|
||||
|
||||
<Image>
|
||||
<State> show_error_normal </State>
|
||||
<X> 127 </X>
|
||||
<Y> 1750 </Y>
|
||||
<Filename> Var(DirImage + "/text2.png") </Filename>
|
||||
</Image>
|
||||
|
||||
<Image>
|
||||
<State> show_error_sp1 </State>
|
||||
<X> 0 </X>
|
||||
|
|
@ -362,7 +369,7 @@
|
|||
|
||||
<Image>
|
||||
<State> show_error_sp1 </State>
|
||||
<X> 0 </X>
|
||||
<X> 127 </X>
|
||||
<Y> 1685 </Y>
|
||||
<Filename> Var(DirImage + "/text2.png") </Filename>
|
||||
</Image>
|
||||
|
|
|
|||
|
|
@ -1090,24 +1090,24 @@
|
|||
EndIf
|
||||
|
||||
|
||||
If toppingID9index1price > 0 Then
|
||||
Var priceFormated !assigned StringFmt( toppingID9index1price , PriceCustomCoffeeFormat, PreScaleConvertShow)
|
||||
If toppingID9price1 > 0 Then
|
||||
Var priceFormated !assigned StringFmt( toppingID9price1 , PriceCustomCoffeeFormat, PreScaleConvertShow)
|
||||
Var CustomCoffeeLevelAdditionalPrice[0] = "(+" + priceFormated
|
||||
Var CustomCoffeeLevelAdditionalPrice[0] = CustomCoffeeLevelAdditionalPrice[0] + ")"
|
||||
Else
|
||||
Var CustomCoffeeLevelAdditionalPrice[0] = ""
|
||||
EndIf
|
||||
|
||||
If toppingID9index2price > 0 Then
|
||||
Var priceFormated !assigned StringFmt( toppingID9index2price , PriceCustomCoffeeFormat, PreScaleConvertShow)
|
||||
If toppingID9price2 > 0 Then
|
||||
Var priceFormated !assigned StringFmt( toppingID9price2 , PriceCustomCoffeeFormat, PreScaleConvertShow)
|
||||
Var CustomCoffeeLevelAdditionalPrice[1] = "(+" + priceFormated
|
||||
Var CustomCoffeeLevelAdditionalPrice[1] = CustomCoffeeLevelAdditionalPrice[1] + ")"
|
||||
Else
|
||||
Var CustomCoffeeLevelAdditionalPrice[1] = ""
|
||||
EndIf
|
||||
|
||||
If toppingID9index3price > 0 Then
|
||||
Var priceFormated !assigned StringFmt( toppingID9index3price , PriceCustomCoffeeFormat, PreScaleConvertShow)
|
||||
If toppingID9price3 > 0 Then
|
||||
Var priceFormated !assigned StringFmt( toppingID9price3 , PriceCustomCoffeeFormat, PreScaleConvertShow)
|
||||
Var CustomCoffeeLevelAdditionalPrice[2] = "(+" + priceFormated
|
||||
Var CustomCoffeeLevelAdditionalPrice[2] = CustomCoffeeLevelAdditionalPrice[2] + ")"
|
||||
Else
|
||||
|
|
|
|||
|
|
@ -16,8 +16,18 @@
|
|||
Var LanguageButtonListEnable = "Invisible"
|
||||
|
||||
Var langFileNameIcon = lang_icon_file_name[LanguageShowByIndex]
|
||||
|
||||
Var langfn = "ROOT/taobin_project/image/lang/" + langFileNameIcon
|
||||
|
||||
;If CountryName = "Malaysia" Then
|
||||
; Var dirImageLang = CountryRootPath + "image/lang/"
|
||||
; Var langfn = dirImageLang + langFileNameIcon
|
||||
; DEBUGVAR langfn
|
||||
; DEBUGVAR ButtonLanguageCurrentXPosition
|
||||
; DEBUGVAR ButtonLanguageCurrentYPosition
|
||||
;EndIf
|
||||
|
||||
|
||||
Var ButtonLanguageListXPositionIcon = ButtonLanguageListXPosition + 27
|
||||
Var ButtonLanguageListYPositionIcon = ButtonLanguageListYPosition + 14
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue