update malaysia language btn, page_show_error, and remove cup
|
|
@ -12222,8 +12222,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
|
||||
|
|
|
|||
|
|
@ -11511,8 +11511,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
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 24 KiB |
BIN
inter/mys/image/lang/bn_eng_lang.png
Normal file
|
After Width: | Height: | Size: 1.5 KiB |
BIN
inter/mys/image/lang/bn_malay_lang.png
Normal file
|
After Width: | Height: | Size: 1.5 KiB |
BIN
inter/mys/image/vending_error_en/img1.png
Normal file
|
After Width: | Height: | Size: 54 KiB |
BIN
inter/mys/image/vending_error_en/text1.png
Normal file
|
After Width: | Height: | Size: 22 KiB |
BIN
inter/mys/image/vending_error_en/text2.png
Normal file
|
After Width: | Height: | Size: 13 KiB |
|
|
@ -12222,8 +12222,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
|
||||
|
|
|
|||
|
|
@ -12222,8 +12222,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
|
||||
|
|
|
|||
|
|
@ -12222,8 +12222,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
|
||||
|
|
|
|||
|
|
@ -11511,8 +11511,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
|
||||
|
|
|
|||
|
|
@ -65,8 +65,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
|
||||
|
|
|
|||
|
|
@ -821,17 +821,20 @@
|
|||
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
|
||||
|
||||
|
|
@ -1387,8 +1390,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
|
||||
|
|
|
|||
|
|
@ -786,8 +786,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
|
||||
|
|
|
|||
|
|
@ -11409,8 +11409,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
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -16,7 +16,17 @@
|
|||
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
|
||||
|
||||
Var ButtonLanguageCurrentXPosition = ButtonLanguageCurrentXPosition - 40
|
||||
Var ButtonLanguageCurrentYPosition = ButtonLanguageCurrentYPosition + 20
|
||||
Else
|
||||
Var langfn = "ROOT/taobin_project/image/lang/" + langFileNameIcon
|
||||
EndIf
|
||||
|
||||
Var ButtonLanguageListXPositionIcon = ButtonLanguageListXPosition + 27
|
||||
Var ButtonLanguageListYPositionIcon = ButtonLanguageListYPosition + 14
|
||||
|
|
|
|||