Do fruit
This commit is contained in:
parent
dfa3717c22
commit
03bbd116ca
14 changed files with 143 additions and 862 deletions
|
|
@ -25,7 +25,6 @@
|
|||
|
||||
OpenInst 13 "ROOT/taobin_project/inter/tha/xml/multi/tab_menu.lxml"
|
||||
RootLayoutVisible 13 "show"
|
||||
RootLayoutVisible 12 "show"
|
||||
RootLayoutVisible 3 "show"
|
||||
|
||||
DEBUGVAR SlientRefreshIndex
|
||||
|
|
|
|||
|
|
@ -300,9 +300,19 @@
|
|||
|
||||
print("topping_xml_file=" + topping_xml_file)
|
||||
print("current_file_name=" + current_file_name)
|
||||
out_xml( '\t\t\t\tOpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_topping_select5.xml"\n')
|
||||
if len( topping_xml_file) == 0 :
|
||||
out_xml( '\t\t\t\tOpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_topping_select5.xml"\n')
|
||||
else:
|
||||
out_xml( '\t\t\t\tOpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/inter/tha/xml/'+ topping_xml_file +'\n')
|
||||
|
||||
out_xml( '\t\t\tElse\n')
|
||||
out_xml( '\t\t\t\tOpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/inter/tha/xml/page_topping_select6.lxml"\n')
|
||||
|
||||
if len( topping_xml_file) == 0 :
|
||||
out_xml( '\t\t\t\tOpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/inter/tha/xml/page_topping_select6.lxml"\n')
|
||||
else:
|
||||
out_xml( '\t\t\t\tOpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/inter/tha/xml/'+ topping_xml_file +'\n')
|
||||
|
||||
|
||||
out_xml( '\t\t\tEndIf\n')
|
||||
out_xml( '\t\t\t\n')
|
||||
out_xml( '\t\t\t\n')
|
||||
|
|
|
|||
|
|
@ -49,10 +49,60 @@
|
|||
|
||||
<Timeout> 1000 </Timeout>
|
||||
<EventTimeout>
|
||||
;DEBUGVAR ICE_PROCESS_STATUS
|
||||
|
||||
;include="ROOT/taobin_project/inter/tha/xml/multi/ForProGroup.inc"
|
||||
;include="ROOT/taobin_project/inter/tha/xml/multi/InstanceGetSetString.inc"
|
||||
|
||||
|
||||
If ICE_PROCESS_STATUS = 2 Then
|
||||
Var ice_tab_process_show = "Enable"
|
||||
Var ice_show_open = ice_tab_text + ICE_PROCESS_TXT
|
||||
Else
|
||||
Var ice_tab_process_show = "Invisible"
|
||||
EndIf
|
||||
|
||||
|
||||
GetVisible inst_show_frozen_fruit
|
||||
|
||||
|
||||
If inst_show_frozen_fruit = 1 Then
|
||||
If inst_show_frozen_fruit_counter > 0 Then
|
||||
DEBUGVAR inst_show_frozen_fruit_counter
|
||||
|
||||
Var inst_show_frozen_fruit_counter = inst_show_frozen_fruit_counter - 1
|
||||
|
||||
If inst_show_frozen_fruit_counter = 0 Then
|
||||
RefreshAll
|
||||
Var inst_show_frozen_fruit_counter = 4
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
|
||||
; setvarint RefreshFrozenFruitMenu 1
|
||||
If RefreshFrozenFruitMenu = 1 Then
|
||||
Var RefreshFrozenFruitMenu = 0
|
||||
SAVELOG "OPEN FROM 3"
|
||||
Open "ROOT/taobin_project/inter/tha/xml/multi/v3/page_catalog_group_frozen_fruit.lxml"
|
||||
EndIf
|
||||
|
||||
; setvarint ScriptFrozenMenu 1
|
||||
If ScriptFrozenMenu = 1 Then
|
||||
Var ScriptFrozenMenu = 0
|
||||
SAVELOG "Runscript 3"
|
||||
Script "-" "-"
|
||||
EndIf
|
||||
|
||||
If FrozenFruitRefreshTimeOut > 15 Then
|
||||
Var FrozenFruitRefreshTimeOut = 0
|
||||
Script "-" "-"
|
||||
EndIf
|
||||
|
||||
Var FrozenFruitRefreshTimeOut = FrozenFruitRefreshTimeOut + 1
|
||||
|
||||
|
||||
TimerReset
|
||||
</EventTimeout>
|
||||
|
||||
|
|
@ -320,9 +370,9 @@
|
|||
Else
|
||||
Var show_eng = "true"
|
||||
EndIf
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_topping_select5.xml"
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/inter/tha/xml/page_topping_frozen_fruit_select.lxml
|
||||
Else
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/inter/tha/xml/page_topping_select6.lxml"
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/inter/tha/xml/page_topping_frozen_fruit_select.lxml
|
||||
EndIf
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -51,10 +51,60 @@
|
|||
|
||||
<Timeout> 1000 </Timeout>
|
||||
<EventTimeout>
|
||||
;DEBUGVAR ICE_PROCESS_STATUS
|
||||
|
||||
;include="ROOT/taobin_project/inter/tha/xml/multi/ForProGroup.inc"
|
||||
;include="ROOT/taobin_project/inter/tha/xml/multi/InstanceGetSetString.inc"
|
||||
|
||||
|
||||
If ICE_PROCESS_STATUS = 2 Then
|
||||
Var ice_tab_process_show = "Enable"
|
||||
Var ice_show_open = ice_tab_text + ICE_PROCESS_TXT
|
||||
Else
|
||||
Var ice_tab_process_show = "Invisible"
|
||||
EndIf
|
||||
|
||||
|
||||
GetVisible inst_show_frozen_fruit
|
||||
|
||||
|
||||
If inst_show_frozen_fruit = 1 Then
|
||||
If inst_show_frozen_fruit_counter > 0 Then
|
||||
DEBUGVAR inst_show_frozen_fruit_counter
|
||||
|
||||
Var inst_show_frozen_fruit_counter = inst_show_frozen_fruit_counter - 1
|
||||
|
||||
If inst_show_frozen_fruit_counter = 0 Then
|
||||
RefreshAll
|
||||
Var inst_show_frozen_fruit_counter = 4
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
|
||||
; setvarint RefreshFrozenFruitMenu 1
|
||||
If RefreshFrozenFruitMenu = 1 Then
|
||||
Var RefreshFrozenFruitMenu = 0
|
||||
SAVELOG "OPEN FROM 3"
|
||||
Open "ROOT/taobin_project/inter/tha/xml/multi/v3/page_catalog_group_frozen_fruit.lxml"
|
||||
EndIf
|
||||
|
||||
; setvarint ScriptFrozenMenu 1
|
||||
If ScriptFrozenMenu = 1 Then
|
||||
Var ScriptFrozenMenu = 0
|
||||
SAVELOG "Runscript 3"
|
||||
Script "-" "-"
|
||||
EndIf
|
||||
|
||||
If FrozenFruitRefreshTimeOut > 15 Then
|
||||
Var FrozenFruitRefreshTimeOut = 0
|
||||
Script "-" "-"
|
||||
EndIf
|
||||
|
||||
Var FrozenFruitRefreshTimeOut = FrozenFruitRefreshTimeOut + 1
|
||||
|
||||
|
||||
TimerReset
|
||||
</EventTimeout>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue