DO
This commit is contained in:
parent
cc419bfa65
commit
9a75446335
6 changed files with 38 additions and 41 deletions
|
|
@ -1,27 +1,16 @@
|
||||||
Var MainfileSize = 0
|
Var MainfileSize = 0
|
||||||
GetFileSizeK "taobin_project/video/main_page_event.mp4" MainfileSize
|
GetFileSizeK "taobin_project/video/main_page_event.mp4" MainfileSize
|
||||||
DEBUGVAR MainfileSize
|
DEBUGVAR MainfileSize
|
||||||
If MainfileSize = 10598934 Then
|
If MainfileSize = 12369225 Then
|
||||||
|
|
||||||
If SystemDateMonthInt = 11 Then
|
Var EventTurnOn = 1
|
||||||
Var EventTurnOn = 1
|
|
||||||
EndIf
|
|
||||||
|
|
||||||
If SystemDateMonthInt = 12 Then
|
|
||||||
|
|
||||||
Var EventTurnOn = 1
|
If SystemDateMonthInt = 1 Then
|
||||||
;DEBUGVAR SystemTimeHourInt
|
|
||||||
;DEBUGVAR SystemDateDayInt
|
|
||||||
|
|
||||||
If SystemDateDayInt > 7 Then
|
If SystemDateDayInt > 5 Then
|
||||||
Var EventTurnOn = 0
|
Var EventTurnOn = 0
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
If SystemDateDayInt = 6 Then
|
|
||||||
If SystemTimeHourInt > 9 Then
|
|
||||||
Var EventTurnOn = 0
|
|
||||||
EndIf
|
|
||||||
EndIf
|
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
If EventTurnOn = 1 Then
|
If EventTurnOn = 1 Then
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@ Var MainfileSize = 0
|
||||||
GetFileSizeK "taobin_project/video/taobin_thank1_event.mp4" MainfileSize
|
GetFileSizeK "taobin_project/video/taobin_thank1_event.mp4" MainfileSize
|
||||||
DEBUGVAR MainfileSize
|
DEBUGVAR MainfileSize
|
||||||
|
|
||||||
If MainfileSize = 2786275 Then
|
If MainfileSize = 3796502 Then
|
||||||
|
|
||||||
If EventTurnOn = 1 Then
|
If EventTurnOn = 1 Then
|
||||||
Var video_file_name = "ROOT/taobin_project/video/taobin_thank1_event.mp4"
|
Var video_file_name = "ROOT/taobin_project/video/taobin_thank1_event.mp4"
|
||||||
|
|
|
||||||
|
|
@ -1,13 +1,15 @@
|
||||||
total 51828
|
total 54540
|
||||||
-rw-rw---- 1 root sdcard_rw 10598934 2022-11-22 13:59 main_page_event.mp4
|
-rw-rw---- 1 root sdcard_rw 9268737 2022-09-28 15:26 _main_page.mp4
|
||||||
-rw-rw---- 1 root sdcard_rw 686 2022-11-22 17:01 script1.ev
|
-rw-rw---- 1 root sdcard_rw 9268737 2022-09-28 15:26 main_page.mp4
|
||||||
-rw-rw---- 1 root sdcard_rw 265 2022-11-22 17:01 script2.ev
|
-rw-rw---- 1 root sdcard_rw 12369225 2022-12-08 15:58 main_page_event.mp4
|
||||||
-rw-rw---- 1 root sdcard_rw 0 2022-11-22 17:01 sync_1.file
|
-rw-rw---- 1 root sdcard_rw 455 2022-12-09 17:08 script1.ev
|
||||||
|
-rw-rw---- 1 root sdcard_rw 265 2022-12-09 17:09 script2.ev
|
||||||
|
-rw-rw---- 1 root sdcard_rw 0 2022-12-09 17:08 sync_1.file
|
||||||
-rw-rw---- 1 root sdcard_rw 557065 2021-02-18 15:05 taobin_brewing.mov
|
-rw-rw---- 1 root sdcard_rw 557065 2021-02-18 15:05 taobin_brewing.mov
|
||||||
-rw-rw---- 1 root sdcard_rw 920095 2021-02-18 15:05 taobin_drink_ok.mov
|
-rw-rw---- 1 root sdcard_rw 920095 2021-02-18 15:05 taobin_drink_ok.mov
|
||||||
-rw-rw---- 1 root sdcard_rw 4806758 2022-06-13 18:43 taobin_save_world1.mp4
|
-rw-rw---- 1 root sdcard_rw 4806758 2022-06-13 18:43 taobin_save_world1.mp4
|
||||||
-rw-rw---- 1 root sdcard_rw 6428830 2022-06-13 18:43 taobin_save_world2.mp4
|
-rw-rw---- 1 root sdcard_rw 6428830 2022-06-13 18:43 taobin_save_world2.mp4
|
||||||
-rw-rw---- 1 root sdcard_rw 4634942 2022-06-13 18:43 taobin_save_world3.mp4
|
-rw-rw---- 1 root sdcard_rw 4634942 2022-06-13 18:43 taobin_save_world3.mp4
|
||||||
-rw-rw---- 1 root sdcard_rw 2084830 2022-06-13 18:43 taobin_thank1.mp4
|
-rw-rw---- 1 root sdcard_rw 2084830 2022-06-13 18:43 taobin_thank1.mp4
|
||||||
-rw-rw---- 1 root sdcard_rw 2786275 2022-11-22 13:59 taobin_thank1_event.mp4
|
-rw-rw---- 1 root sdcard_rw 3796502 2022-12-08 15:57 taobin_thank1_event.mp4
|
||||||
-rw-rw---- 1 root sdcard_rw 1631940 2022-06-13 18:43 taobin_thank2.mp4
|
-rw-rw---- 1 root sdcard_rw 1631940 2022-06-13 18:43 taobin_thank2.mp4
|
||||||
|
|
|
||||||
|
|
@ -1050,15 +1050,18 @@
|
||||||
<Width> 1080 </Width>
|
<Width> 1080 </Width>
|
||||||
<Height> 60 </Height>
|
<Height> 60 </Height>
|
||||||
<EventClick>
|
<EventClick>
|
||||||
|
If IgnoreNetCore = "true" Then
|
||||||
|
|
||||||
Var NextPage = "-"
|
Var NextPage = "-"
|
||||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert.xml"
|
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert.xml"
|
||||||
|
|
||||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog.lxml"
|
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog.lxml"
|
||||||
|
|
||||||
|
|
||||||
TopView "show"
|
TopView "show"
|
||||||
Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_main_blank.xml"
|
Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_main_blank.xml"
|
||||||
|
|
||||||
|
EndIf
|
||||||
</EventClick>
|
</EventClick>
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -71,7 +71,7 @@
|
||||||
Var text_unavailable = "หมด###size=32"
|
Var text_unavailable = "หมด###size=32"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
Var DirImage = "ROOT/taobin_project/image/page2_inter"
|
Var DirImage = "ROOT/taobin_project/image/page2_inter/"
|
||||||
|
|
||||||
|
|
||||||
Var StrawAutoRelease1 = "false"
|
Var StrawAutoRelease1 = "false"
|
||||||
|
|
@ -323,6 +323,17 @@
|
||||||
Open "ROOT/taobin_project/xml/page_catalog_group_recommend.xml"
|
Open "ROOT/taobin_project/xml/page_catalog_group_recommend.xml"
|
||||||
|
|
||||||
</EventClick>
|
</EventClick>
|
||||||
|
<Language>
|
||||||
|
<ID> 000003 </ID>
|
||||||
|
<X> 66 </X>
|
||||||
|
<Y> 193 </Y>
|
||||||
|
<Width> 163 </Width>
|
||||||
|
<Height> 72 </Height>
|
||||||
|
|
||||||
|
<Value> "Test" </Value>
|
||||||
|
<Color> 0x000000 </Color>
|
||||||
|
<Size>50</Size>
|
||||||
|
</Language>
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
<Button>
|
<Button>
|
||||||
|
|
@ -531,17 +542,6 @@
|
||||||
</EventClick>
|
</EventClick>
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
;<QRCode>
|
|
||||||
;<X> 895 </X>
|
|
||||||
;<Y> QRCODE99_Y</Y>
|
|
||||||
;<Width> 178 </Width>
|
|
||||||
;<Height> 178 </Height>
|
|
||||||
;<State> "Enable" </State>
|
|
||||||
;<Service> testservice </Service>
|
|
||||||
;</QRCode>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
; Cart
|
; Cart
|
||||||
<Button>
|
<Button>
|
||||||
<X> 915 </X>
|
<X> 915 </X>
|
||||||
|
|
|
||||||
|
|
@ -7,8 +7,11 @@
|
||||||
<EventOpen>
|
<EventOpen>
|
||||||
|
|
||||||
If SpiralOnline = "true" Then
|
If SpiralOnline = "true" Then
|
||||||
|
If Seeker = "next" Then
|
||||||
Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog_with_vending.xml"
|
Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog2.xml"
|
||||||
|
Else
|
||||||
|
Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog_with_vending.xml"
|
||||||
|
EndIf
|
||||||
Else
|
Else
|
||||||
|
|
||||||
DEBUGVAR RecipeTag1
|
DEBUGVAR RecipeTag1
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue