This commit is contained in:
kong 2022-10-13 23:19:45 +07:00
parent a62a2adc5e
commit e47c36d4de
6 changed files with 4288 additions and 2078 deletions

View file

@ -192,12 +192,36 @@
Var VideoMainPage = "ROOT/taobin_project/video/main_page.mp4"
DEBUGVAR SystemDateMonth
Var EventTurnOn = 1
Var ShowButtonClickFull = "Invisible"
Var CountDownShowButton = 0
Var VideoMainPage = "ROOT/taobin_project/video/main_page_event.mp4"
DEBUGVAR SystemDateDay
Var EventTurnOn = 0
If SystemDateMonth = 10 Then
Var EventTurnOn = 1
EndIf
DEBUGVAR EventTurnOn
If SystemDateMonth = 11 Then
If SystemDateDay > 1 Then
Var EventTurnOn = 2
EndIf
EndIf
If EventTurnOn = 1 Then
Var ShowButtonClickFull = "Invisible"
Var CountDownShowButton = 0
Var VideoMainPage = "ROOT/taobin_project/video/main_page_event.mp4"
EndIf
If EventTurnOn = 2 Then
Var ShowButtonClickFull = "Invisible"
Var CountDownShowButton = 0
Var VideoMainPage = "ROOT/taobin_project/video/main_page_event_alter.mp4"
EndIf
EndIf
If TermTemOnline = "true" Then
Var CountDownShowButton = 28

View file

@ -406,7 +406,7 @@
<Button>
<X> 736 </X>
<Y> 1532 </Y>
<State>"Enable"</State>
<State>"Pressforever"</State>
<Filename> Var(DirImage + "/bn_HealthyOption.png") </Filename>
<FilenamePress> Var(DirImage + "/bp_HealthyOption.png") </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>

View file

@ -145,6 +145,9 @@
If EventTurnOn = 1 Then
Var video_file_name = "ROOT/taobin_project/video/taobin_thank1_event.mp4"
EndIf
If EventTurnOn = 2 Then
Var video_file_name = "ROOT/taobin_project/video/taobin_thank1_event_alter.mp4"
EndIf
EndIf