Move helper instance, Helper condtition
This commit is contained in:
parent
d25631caae
commit
9626a7fb2c
13 changed files with 108 additions and 67 deletions
|
|
@ -9,10 +9,10 @@
|
|||
SAVELOG "======================================= Help Center ================================"
|
||||
|
||||
RootLayoutVisible 3 "show"
|
||||
RootLayoutVisible 13 "hide"
|
||||
RootLayoutVisible 15 "hide"
|
||||
|
||||
; helper
|
||||
RootLayoutVisible 15 "show"
|
||||
RootLayoutVisible 14 "show"
|
||||
|
||||
DEBUGVAR FromPaymentCash
|
||||
DEBUGVAR FromSmoothieProcess
|
||||
|
|
@ -41,7 +41,7 @@
|
|||
|
||||
Var CurrHelpCenter = 1
|
||||
|
||||
Var TimeoutHelperProccess = 0
|
||||
Var TimeoutHelperProccess = 60
|
||||
|
||||
</EventOpen>
|
||||
|
||||
|
|
@ -49,7 +49,12 @@
|
|||
<EventTimeout>
|
||||
DEBUGVAR TimeoutHelperProccess
|
||||
|
||||
If TimeoutHelperProccess > 70 Then
|
||||
If TimeoutHelperProccess > 0 Then
|
||||
Var TimeoutHelperProccess = TimeoutHelperProccess - 1
|
||||
EndIf
|
||||
|
||||
If TimeoutHelperProccess = 0 Then
|
||||
DEBUGVAR BaseOnPageBoard
|
||||
SAVELOG "TimeoutHelperProccess"
|
||||
Var CurrHelpCenter = 0
|
||||
If BaseOnPageBoard = 1 Then
|
||||
|
|
@ -60,14 +65,11 @@
|
|||
Var ButtonLanguageListXPosition = 970
|
||||
Var ButtonLanguageListYPosition = 590
|
||||
OpenInst 3 "ROOT/taobin_project/xml/topview2.xml"
|
||||
OpenInst 2 "ROOT/taobin_project/xml/page_catalog.xml"
|
||||
OpenInst 15 "/mnt/sdcard/coffeevending/taobin_project/inter/tha/xml/page_instance_empty.lxml"
|
||||
OpenInst 14 "/mnt/sdcard/coffeevending/taobin_project/inter/tha/xml/page_instance_empty.lxml"
|
||||
Else
|
||||
OpenInst 15 "/mnt/sdcard/coffeevending/taobin_project/inter/tha/xml/page_instance_empty.lxml"
|
||||
OpenInst 14 "/mnt/sdcard/coffeevending/taobin_project/inter/tha/xml/page_instance_empty.lxml"
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
Var TimeoutHelperProccess = TimeoutHelperProccess + 1
|
||||
|
||||
Refresh
|
||||
TimerReset
|
||||
|
|
@ -94,8 +96,8 @@
|
|||
|
||||
EndIf
|
||||
|
||||
Var ButtonLanguageCurrentXPosition = 1015
|
||||
Var ButtonLanguageCurrentYPosition = 458 - 38
|
||||
Var ButtonLanguageCurrentXPosition = 1000
|
||||
Var ButtonLanguageCurrentYPosition = 458 - 18
|
||||
|
||||
Var ButtonLanguageListXPosition = 990
|
||||
Var ButtonLanguageListYPosition = 450 - 38
|
||||
|
|
@ -131,10 +133,9 @@
|
|||
Var ButtonLanguageListXPosition = 970
|
||||
Var ButtonLanguageListYPosition = 590
|
||||
OpenInst 3 "ROOT/taobin_project/xml/topview2.xml"
|
||||
OpenInst 2 "ROOT/taobin_project/xml/page_catalog.xml"
|
||||
OpenInst 15 "/mnt/sdcard/coffeevending/taobin_project/inter/tha/xml/page_instance_empty.lxml"
|
||||
OpenInst 14 "/mnt/sdcard/coffeevending/taobin_project/inter/tha/xml/page_instance_empty.lxml"
|
||||
Else
|
||||
OpenInst 15 "/mnt/sdcard/coffeevending/taobin_project/inter/tha/xml/page_instance_empty.lxml"
|
||||
OpenInst 14 "/mnt/sdcard/coffeevending/taobin_project/inter/tha/xml/page_instance_empty.lxml"
|
||||
EndIf
|
||||
|
||||
</EventClick>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue