Do term tem

This commit is contained in:
kong 2021-04-21 16:13:29 +07:00
parent 1dae55ca4b
commit 396e85c779
130 changed files with 2749 additions and 2863 deletions

View file

@ -90,6 +90,16 @@
DEBUGVAR TaobinOnline
DEBUGVAR TermTemOnline
If TaobinOnline = "true" Then
Var ShowButtonClickFull = "Invisible"
Var VideoMainPage = "ROOT/taobin_project/video/main_page.mp4"
EndIf
If TermTemOnline = "true" Then
Var ShowButtonClickFull = "Enable"
Var VideoMainPage = "ROOT/taobin_project/termtem/video/termtem01.mp4"
EndIf
Var ShowPrice = "Enable"
If RoadShow = "true" Then
Var ShowPrice = "Invisible"
@ -169,33 +179,46 @@
;SAVELOG MachineStage
;SAVELOG CountDownShowButton
;SAVELOG ShowButtonClickFull
If TaobinOnline = "true" Then
If CountDownShowButton = 31 Then
Var ShowButtonClickFull = "Enable"
Var ShowButtonClick = "Invisible"
Refresh
EndIf
If CountDownShowButton = 31 Then
Var ShowButtonClickFull = "Enable"
Var ShowButtonClick = "Invisible"
Refresh
EndIf
If CountDownShowButton = 3 Then
Var ShowButtonClick = "Enable"
Var ShowButtonClickFull = "Invisible"
Refresh
EndIf
If CountDownPauseVideo > 0 Then
; ignore
;Var CountDownPauseVideo = CountDownPauseVideo - 1
If CountDownPauseVideo = 0 Then
Var NextPage = "ROOT/taobin_project/xml/page_back_to_main.xml"
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert.xml"
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog_choose_drink1.xml"
If CountDownShowButton = 3 Then
TopView "show"
Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_main_blank.xml"
Var ShowButtonClick = "Enable"
Var ShowButtonClickFull = "Invisible"
Refresh
EndIf
If CountDownPauseVideo > 0 Then
; ignore
;Var CountDownPauseVideo = CountDownPauseVideo - 1
If CountDownPauseVideo = 0 Then
Var NextPage = "ROOT/taobin_project/xml/page_back_to_main.xml"
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert.xml"
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog_choose_drink1.xml"
TopView "show"
Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_main_blank.xml"
EndIf
EndIf
EndIf
If TermTemOnline = "true" Then
If CountDownShowButton = 3 Then
Var ShowButtonClickFull = "Enable"
Refresh
EndIf
EndIf
@ -217,11 +240,14 @@
EndIf
;DEBUGVAR CupOnArm
If CupOnArm = "true" Then
Var buttonRemoveCup = "Enable"
Else
Var buttonRemoveCup = "Invisible"
EndIf
Refresh
TimerReset
</EventTimeout>
@ -230,7 +256,10 @@
;SAVELOG ShowButtonClick
Var CountDownShowButton = 35
Var CountDownPauseVideo = 6
TouchTapClose
If TaobinOnline = "true" Then
TouchTapClose
EndIf
Open CurrentXMLFileName0
Refresh
@ -253,7 +282,7 @@
<Y> 0 </Y>
;<Loop>"true"</Loop>
;<Volume> 80 </Volume>
<Filename> "ROOT/taobin_project/video/main_page.mp4" </Filename>
<Filename> VideoMainPage </Filename>
</Video>
@ -296,12 +325,12 @@
Else
If TaobinOnline = "true" Then
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog.xml"
EndIF
EndIf
If TermTemOnline = "true" Then
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_tt_catalog.xml"
EndIF
EndIf
EndIf
@ -370,7 +399,7 @@
<Button>
<X> 868 </X>
<X> 840 </X>
<Y> 634 </Y>
<State> buttonRemoveCup </State>
;<Color> "0x00BDFF" </Color>