This commit is contained in:
wanlop run 2025-05-22 17:34:37 +07:00
parent 1d7c1c1cb6
commit 0ccb714e4f
8 changed files with 74 additions and 22 deletions

View file

@ -15,6 +15,7 @@
SAVELOG "Onshow 1"
;include="ROOT/taobin_project/inter/tha/xml/multi/menu_catalog_default_init.lxml"
Var Menu63Selected = "PressForever"
SAVELOG "Onshow 2"
@ -27,7 +28,6 @@
SetInstanceIgnoreTouch
Var inst_show_coffee_counter = 4
DEBUGVAR SlientRefreshIndex
RefreshAll
@ -37,7 +37,31 @@
<Timeout> 1000 </Timeout>
<EventTimeout>
;include="ROOT/taobin_project/inter/tha/xml/multi/ForProGroup.inc"
;include="ROOT/taobin_project/inter/tha/xml/multi/InstanceGetSetString.inc"
; setvarint RefreshPepsiMenu 1
If RefreshPepsiMenu = 1 Then
Var RefreshPepsiMenu = 0
SAVELOG "OPEN FROM 7"
Open "ROOT/taobin_project/inter/tha/xml/multi/v3/page_catalog_group_20_baht.lxml"
EndIf
GetVisible inst_show_pepsi_7up
If inst_show_pepsi_7up = 1 Then
If inst_show_pepsi_7up_counter > 0 Then
DEBUGVAR inst_show_pepsi_7up_counter
Var inst_show_pepsi_7up_counter = inst_show_pepsi_7up_counter - 1
If inst_show_pepsi_7up_counter = 0 Then
RefreshAll
Var inst_show_pepsi_7up_counter = 4
EndIf
EndIf
EndIf
TimerReset

View file

@ -17,6 +17,7 @@
SAVELOG "Onshow 1"
;include="ROOT/taobin_project/inter/tha/xml/multi/menu_catalog_default_init.lxml"
Var Menu63Selected = "PressForever"
SAVELOG "Onshow 2"
@ -29,7 +30,6 @@
SetInstanceIgnoreTouch
Var inst_show_coffee_counter = 4
DEBUGVAR SlientRefreshIndex
RefreshAll
@ -39,7 +39,31 @@
<Timeout> 1000 </Timeout>
<EventTimeout>
;include="ROOT/taobin_project/inter/tha/xml/multi/ForProGroup.inc"
;include="ROOT/taobin_project/inter/tha/xml/multi/InstanceGetSetString.inc"
; setvarint RefreshPepsiMenu 1
If RefreshPepsiMenu = 1 Then
Var RefreshPepsiMenu = 0
SAVELOG "OPEN FROM 7"
Open "ROOT/taobin_project/inter/tha/xml/multi/v3/page_catalog_group_20_baht.lxml"
EndIf
GetVisible inst_show_pepsi_7up
If inst_show_pepsi_7up = 1 Then
If inst_show_pepsi_7up_counter > 0 Then
DEBUGVAR inst_show_pepsi_7up_counter
Var inst_show_pepsi_7up_counter = inst_show_pepsi_7up_counter - 1
If inst_show_pepsi_7up_counter = 0 Then
RefreshAll
Var inst_show_pepsi_7up_counter = 4
EndIf
EndIf
EndIf
TimerReset