Do Invisible block object

This commit is contained in:
kong 2021-03-19 08:27:10 +07:00
parent 568e57c656
commit 31c8889732
4 changed files with 33 additions and 30 deletions

View file

@ -11,7 +11,7 @@
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/topview_button_back_main.xml" OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/topview_button_back_main.xml"
Var FileNumber = 1 Var FileNumber = 1
Var taobin_version = "1.28" Var taobin_version = "1.32"
; 1.00 is ; 1.00 is
; On open ; On open
@ -110,8 +110,6 @@
Var TimerFirst = "true" Var TimerFirst = "true"
; TODO: remove when release
;Var IgnoreNetCore = "true"
Var buttonRemoveCup = "Invisible" Var buttonRemoveCup = "Invisible"
@ -202,7 +200,7 @@
DEBUGVAR CountUpReloadAll DEBUGVAR CountUpReloadAll
If CountUpReloadAll > 120 Then If CountUpReloadAll > 180 Then
Var StartUpExt = "-" Var StartUpExt = "-"
Var CountUpReloadAll = 0 Var CountUpReloadAll = 0

View file

@ -48,6 +48,8 @@
<EventOpen> <EventOpen>
; On open ; On open
DEBUGVAR $12-01-01-0012.Button
If show_eng = "true" Then If show_eng = "true" Then
Var showthaiText = "Invisible" Var showthaiText = "Invisible"
Var showengText = "Enable" Var showengText = "Enable"

View file

@ -11,6 +11,8 @@
<EventOpen> <EventOpen>
; On open ; On open
DEBUGVAR $12-01-01-0012.Button
If show_eng = "true" Then If show_eng = "true" Then
Var showthaiText = "Invisible" Var showthaiText = "Invisible"
Var showengText = "Enable" Var showengText = "Enable"

View file

@ -1064,33 +1064,34 @@
EndIf EndIf
If countClick2 = 5 Then If countClick2 = 5 Then
If IgnoreNetCore = "true" Then
;Var MachineStage = "make-drink"
; make drink
Var MachineStage = "make-drink" MakeDrinkV1 SelectDrink ExtendData
; make drink Open "ROOT/taobin_project/xml/page_thankyou.xml"
MakeDrinkV1 SelectDrink ExtendData ;Var UnitTestType = "1"
Open "ROOT/taobin_project/xml/page_thankyou.xml" Var UnitTestType = "2"
;Var UnitTestType = "1" ;Open "ROOT/taobin_project/xml/page_show_consent2.xml"
Var UnitTestType = "2"
;Open "ROOT/taobin_project/xml/page_show_consent2.xml" ;Open "ROOT/taobin_project/xml/page_payment_code.xml"
;Open "ROOT/taobin_project/xml/page_payment_code.xml" ;Open "ROOT/taobin_project/xml/page_thankyou.xml"
;Open "ROOT/taobin_project/xml/page_thankyou.xml" ;Open "ROOT/taobin_project/xml/page_collect_point_1.xml"
;Open "ROOT/taobin_project/xml/page_collect_point_1.xml" ; show consent
;Open "ROOT/taobin_project/xml/page_show_consent.xml"
; show consent ;Open "ROOT/taobin_project/xml/page_drinkok.xml"
;Open "ROOT/taobin_project/xml/page_show_consent.xml"
;Open "ROOT/taobin_project/xml/page_drinkok.xml"
;Var CoffeePoint = 11 ;Var CoffeePoint = 11
;Open "ROOT/taobin_project/xml/page_collect_point_3.xml" ;Open "ROOT/taobin_project/xml/page_collect_point_3.xml"
;Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_back_to_error.xml" ;Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_back_to_error.xml"
EndIf
EndIf EndIf
Refresh Refresh
</EventClick> </EventClick>