HKG : Fix Page_show_error unknow stage
This commit is contained in:
parent
e0232bc7fe
commit
17b19f1d48
4 changed files with 44 additions and 3 deletions
|
|
@ -141,7 +141,7 @@
|
||||||
; under line
|
; under line
|
||||||
<Image>
|
<Image>
|
||||||
<X> 0 </X>
|
<X> 0 </X>
|
||||||
<Y> 380 </Y>
|
<Y> 358 </Y>
|
||||||
<Filename> "ROOT/taobin_project/image/page3/bg1.png" </Filename>
|
<Filename> "ROOT/taobin_project/image/page3/bg1.png" </Filename>
|
||||||
</Image>
|
</Image>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1039,6 +1039,7 @@
|
||||||
|
|
||||||
Var BtnLangToggleIndex = "Enable"
|
Var BtnLangToggleIndex = "Enable"
|
||||||
Var InternationalEnable = 1
|
Var InternationalEnable = 1
|
||||||
|
Var CurrentPageShowError = 0
|
||||||
TRY "/mnt/sdcard/coffeevending/taobin_project/inter/hkg/video/script_video.ev"
|
TRY "/mnt/sdcard/coffeevending/taobin_project/inter/hkg/video/script_video.ev"
|
||||||
|
|
||||||
EnableLanguage "ENG"
|
EnableLanguage "ENG"
|
||||||
|
|
|
||||||
|
|
@ -22,6 +22,9 @@
|
||||||
If CountryName = "Thailand" Then
|
If CountryName = "Thailand" Then
|
||||||
Var CurrentPageShowError = 1
|
Var CurrentPageShowError = 1
|
||||||
EndIf
|
EndIf
|
||||||
|
If CountryName = "HongKong" Then
|
||||||
|
Var CurrentPageShowError = 1
|
||||||
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
DEBUGVAR MachineStage
|
DEBUGVAR MachineStage
|
||||||
|
|
@ -210,6 +213,38 @@
|
||||||
DEBUGVAR MachineStage
|
DEBUGVAR MachineStage
|
||||||
DEBUGVAR stop_now
|
DEBUGVAR stop_now
|
||||||
Var DirImage = "ROOT/taobin_project/image/vending_error_en"
|
Var DirImage = "ROOT/taobin_project/image/vending_error_en"
|
||||||
|
If LanguageShow = "MSC" Then
|
||||||
|
Var DirImage = CountryRootPath + "image/vending_error_en"
|
||||||
|
EndIf
|
||||||
|
If LanguageShow = "MTC" Then
|
||||||
|
Var DirImage = CountryRootPath + "image/vending_error_en"
|
||||||
|
EndIf
|
||||||
|
If MachineStage = "show-menu" Then
|
||||||
|
If LanguageShow = "ENG" Then
|
||||||
|
Var DirImage = CountryRootPath + "image/vending_error_en"
|
||||||
|
EndIf
|
||||||
|
If LanguageShow = "JAPAN" Then
|
||||||
|
Var DirImage = CountryRootPath + "image/vending_error_en"
|
||||||
|
EndIf
|
||||||
|
If LanguageShow = "CHINA" Then
|
||||||
|
Var DirImage = CountryRootPath + "image/vending_error_en"
|
||||||
|
EndIf
|
||||||
|
If LanguageShow = "MALAY" Then
|
||||||
|
Var DirImage = CountryRootPath + "image/vending_error_en"
|
||||||
|
EndIf
|
||||||
|
If LanguageShow = "UAE_DUBAI" Then
|
||||||
|
Var DirImage = CountryRootPath + "image/vending_error_en"
|
||||||
|
EndIf
|
||||||
|
If LanguageShow = "MYANMAR" Then
|
||||||
|
Var DirImage = "ROOT/taobin_project/image/vending_error_mmr"
|
||||||
|
EndIf
|
||||||
|
If LanguageShow = "MSC" Then
|
||||||
|
Var DirImage = CountryRootPath + "image/vending_error_en"
|
||||||
|
EndIf
|
||||||
|
If LanguageShow = "MTC" Then
|
||||||
|
Var DirImage = CountryRootPath + "image/vending_error_en"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
If MachineStage = "mcu-upgrade" Then
|
If MachineStage = "mcu-upgrade" Then
|
||||||
If LanguageShow = "THAI" Then
|
If LanguageShow = "THAI" Then
|
||||||
Var DirImage = "ROOT/taobin_project/image/vending_error"
|
Var DirImage = "ROOT/taobin_project/image/vending_error"
|
||||||
|
|
|
||||||
|
|
@ -82,8 +82,13 @@
|
||||||
|
|
||||||
If BtnLangToggleIndex = "Enable" Then
|
If BtnLangToggleIndex = "Enable" Then
|
||||||
Var LanguageButtonEnable = "Invisible"
|
Var LanguageButtonEnable = "Invisible"
|
||||||
Var BtnLangCurrentXPosition = 1005
|
If CurrentPageShowError = 1 Then
|
||||||
Var BtnLangCurrentYPosition = 458 - 48
|
Var BtnLangCurrentXPosition = 990
|
||||||
|
Var BtnLangCurrentYPosition = 648
|
||||||
|
Else
|
||||||
|
Var BtnLangCurrentXPosition = 1005
|
||||||
|
Var BtnLangCurrentYPosition = 458 - 48
|
||||||
|
EndIf
|
||||||
|
|
||||||
If LanguageShowByIndex = 0 Then
|
If LanguageShowByIndex = 0 Then
|
||||||
Var LangState0 = "Enable"
|
Var LangState0 = "Enable"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue