2020-09-14 15:09:29 +07:00
|
|
|
<Page>
|
2020-09-14 19:07:20 +07:00
|
|
|
<X> 0 </X>
|
|
|
|
|
<Y> 608 </Y>
|
2020-09-14 15:09:29 +07:00
|
|
|
<Cache> "Enable" </Cache>
|
|
|
|
|
<Width> 1080 </Width>
|
|
|
|
|
<Height> 1312 </Height>
|
2020-09-16 15:32:44 +07:00
|
|
|
<Background> "0xEFEDEA" </Background>
|
2020-09-14 15:09:29 +07:00
|
|
|
<Volume> SoundVolume </Volume>
|
|
|
|
|
<EventOpen>
|
2020-09-14 19:07:20 +07:00
|
|
|
TopView "hide"
|
2020-09-14 15:09:29 +07:00
|
|
|
; On open
|
2020-10-15 13:14:09 +07:00
|
|
|
Var menu_back_to_main = "ROOT/taobin_project/xml/page_back_to_main.xml"
|
2020-09-29 17:02:36 +07:00
|
|
|
|
2020-09-16 18:42:32 +07:00
|
|
|
Var charOfBaht = "฿"
|
2020-09-16 22:15:42 +07:00
|
|
|
Var KanitTTF = "ROOT/taobin_project/font/Kanit/Kanit-Light.ttf"
|
2020-09-17 17:35:58 +07:00
|
|
|
Var KanitMediaTTF = "ROOT/taobin_project/font/Kanit/Kanit-Medium.ttf"
|
2020-09-14 15:09:29 +07:00
|
|
|
|
2020-09-17 12:39:18 +07:00
|
|
|
Var RobotoBold = "ROOT/taobin_project/font/Roboto/Roboto-Bold.ttf"
|
2020-09-17 19:08:21 +07:00
|
|
|
Var RobotoBlack = "ROOT/taobin_project/font/Roboto/Roboto-Black.ttf"
|
2020-09-18 15:24:35 +07:00
|
|
|
|
2020-09-25 12:59:30 +07:00
|
|
|
Var KanitMediumTTF = "ROOT/taobin_project/font/Kanit/Kanit-Regular.ttf"
|
|
|
|
|
Var KanitRegularTTF = "ROOT/taobin_project/font/Kanit/Kanit-Regular.ttf"
|
|
|
|
|
Var KanitThinTTF = "ROOT/taobin_project/font/Kanit/Kanit-Thin.ttf"
|
|
|
|
|
Var KanitLightTTF = "ROOT/taobin_project/font/Kanit/Kanit-Light.ttf"
|
|
|
|
|
|
|
|
|
|
Var KanitSemiBoldTTF = "ROOT/taobin_project/font/Kanit/Kanit-Medium.ttf"
|
|
|
|
|
|
2020-09-18 15:24:35 +07:00
|
|
|
Var countClick = 0
|
2020-10-08 11:54:55 +07:00
|
|
|
|
2020-10-14 17:33:55 +07:00
|
|
|
Var RoadShow = "true"
|
2020-10-12 19:09:05 +07:00
|
|
|
Var IgnorePoint = "true"
|
|
|
|
|
|
|
|
|
|
Var CountDownShowButton = 30
|
|
|
|
|
|
|
|
|
|
Var ShowButtonClick = "Enable"
|
|
|
|
|
Var ShowButtonClickFull = "Invisible"
|
2020-10-14 17:33:55 +07:00
|
|
|
|
2020-09-14 15:09:29 +07:00
|
|
|
</EventOpen>
|
2020-10-12 19:09:05 +07:00
|
|
|
|
|
|
|
|
<Timeout> 800 </Timeout>
|
|
|
|
|
<EventTimeout>
|
|
|
|
|
|
|
|
|
|
Var CountDownShowButton = CountDownShowButton - 1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
SAVELOG CountDownShowButton
|
2020-10-14 17:33:55 +07:00
|
|
|
SAVELOG ShowButtonClickFull
|
2020-10-12 19:09:05 +07:00
|
|
|
|
|
|
|
|
If CountDownShowButton = 28 Then
|
|
|
|
|
Var ShowButtonClickFull = "Enable"
|
|
|
|
|
Var ShowButtonClick = "Invisible"
|
|
|
|
|
Refresh
|
|
|
|
|
EndIf
|
|
|
|
|
|
|
|
|
|
If CountDownShowButton = 10 Then
|
|
|
|
|
|
|
|
|
|
Var ShowButtonClick = "Enable"
|
|
|
|
|
Var ShowButtonClickFull = "Invisible"
|
|
|
|
|
Refresh
|
|
|
|
|
EndIf
|
|
|
|
|
|
|
|
|
|
|
2020-09-14 15:09:29 +07:00
|
|
|
TimerReset
|
|
|
|
|
</EventTimeout>
|
2020-09-14 19:07:20 +07:00
|
|
|
|
2020-10-12 19:09:05 +07:00
|
|
|
<EventEnd>
|
|
|
|
|
SAVELOG ShowButtonClick
|
|
|
|
|
Var CountDownShowButton = 30
|
|
|
|
|
Refresh
|
|
|
|
|
</EventEnd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<EventNetDown>
|
|
|
|
|
Open "/mnt/sdcard/coffeevending/xml/main.xml"
|
|
|
|
|
</EventNetDown>
|
|
|
|
|
<EventNetDeactive>
|
|
|
|
|
Open "/mnt/sdcard/coffeevending/xml/main.xml"
|
|
|
|
|
</EventNetDeactive>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<Video>
|
|
|
|
|
<X> 0 </X>
|
|
|
|
|
<Y> 0 </Y>
|
|
|
|
|
<Loop> "true" </Loop>
|
|
|
|
|
<Filename> "ROOT/taobin_project/video/main_page.mp4" </Filename>
|
|
|
|
|
</Video>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<Button>
|
|
|
|
|
<X> 0 </X>
|
|
|
|
|
<Y> 1860 </Y>
|
|
|
|
|
<Width> 200 </Width>
|
|
|
|
|
<Height> 50 </Height>
|
|
|
|
|
<Volume> SoundVolume </Volume>
|
|
|
|
|
<EventClick>
|
|
|
|
|
Var countClick = countClick + 1
|
|
|
|
|
If countClick = 3 Then
|
|
|
|
|
|
|
|
|
|
EndIf
|
|
|
|
|
|
|
|
|
|
If countClick = 5 Then
|
|
|
|
|
Var countClick = 0
|
|
|
|
|
MainMenu
|
|
|
|
|
EndIf
|
|
|
|
|
Refresh
|
|
|
|
|
</EventClick>
|
|
|
|
|
</Button>
|
|
|
|
|
|
|
|
|
|
|
2020-09-14 19:07:20 +07:00
|
|
|
|
|
|
|
|
<Button>
|
|
|
|
|
<X> 212 </X>
|
|
|
|
|
<Y> 1481 </Y>
|
2020-10-12 19:09:05 +07:00
|
|
|
<State> ShowButtonClick </State>
|
2020-09-14 19:07:20 +07:00
|
|
|
<FilenamePress> "ROOT/taobin_project/image/main_page/bp_main_page_start.png" </FilenamePress>
|
|
|
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
|
|
|
<Volume> SoundVolume </Volume>
|
|
|
|
|
<EventClick>
|
2020-10-15 13:14:09 +07:00
|
|
|
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert.xml"
|
|
|
|
|
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog.xml"
|
2020-09-14 19:47:50 +07:00
|
|
|
|
|
|
|
|
TopView "show"
|
2020-10-15 13:14:09 +07:00
|
|
|
Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_main_blank.xml"
|
2020-09-14 19:07:20 +07:00
|
|
|
</EventClick>
|
|
|
|
|
</Button>
|
|
|
|
|
|
|
|
|
|
<Button>
|
|
|
|
|
<X> 212 </X>
|
|
|
|
|
<Y> 1695 </Y>
|
2020-10-12 19:09:05 +07:00
|
|
|
<State> ShowButtonClick </State>
|
2020-09-14 19:07:20 +07:00
|
|
|
<FilenamePress> "ROOT/taobin_project/image/main_page/bp_main_page_member.png" </FilenamePress>
|
|
|
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
|
|
|
<Volume> SoundVolume </Volume>
|
|
|
|
|
<EventClick>
|
2020-10-15 13:14:09 +07:00
|
|
|
Open "ROOT/taobin_project/xml/page_board.xml"
|
2020-09-14 19:07:20 +07:00
|
|
|
|
|
|
|
|
</EventClick>
|
|
|
|
|
</Button>
|
|
|
|
|
|
|
|
|
|
<Button>
|
|
|
|
|
<X> 556 </X>
|
|
|
|
|
<Y> 1695 </Y>
|
2020-10-12 19:09:05 +07:00
|
|
|
<State> ShowButtonClick </State>
|
2020-09-14 19:07:20 +07:00
|
|
|
<FilenamePress> "ROOT/taobin_project/image/main_page/bp_main_page_topup.png" </FilenamePress>
|
|
|
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
|
|
|
<Volume> SoundVolume </Volume>
|
|
|
|
|
<EventClick>
|
2020-09-14 19:47:50 +07:00
|
|
|
Open "ROOT/xml/service_menu.xml"
|
2020-09-14 19:07:20 +07:00
|
|
|
</EventClick>
|
|
|
|
|
</Button>
|
|
|
|
|
|
2020-09-18 15:24:35 +07:00
|
|
|
<Button>
|
2020-10-12 19:09:05 +07:00
|
|
|
<X> 2 </X>
|
|
|
|
|
<Y> 2 </Y>
|
|
|
|
|
<State> ShowButtonClickFull </State>
|
2020-10-14 17:33:55 +07:00
|
|
|
<Width> 1070 </Width>
|
|
|
|
|
<Height> 1200 </Height>
|
2020-09-18 15:24:35 +07:00
|
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
|
|
|
<Volume> SoundVolume </Volume>
|
|
|
|
|
<EventClick>
|
2020-10-15 13:14:09 +07:00
|
|
|
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert.xml"
|
|
|
|
|
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog.xml"
|
2020-10-12 19:09:05 +07:00
|
|
|
|
|
|
|
|
TopView "show"
|
2020-10-15 13:14:09 +07:00
|
|
|
Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_main_blank.xml"
|
2020-09-18 15:24:35 +07:00
|
|
|
</Button>
|
|
|
|
|
|
|
|
|
|
<Text>
|
|
|
|
|
<X> 0 </X>
|
|
|
|
|
<Y> 1886 </Y>
|
|
|
|
|
<Size> 20 </Size>
|
2020-09-19 05:13:12 +07:00
|
|
|
<Width> 1080</Width>
|
|
|
|
|
<Align> Center </Align>
|
2020-09-18 15:24:35 +07:00
|
|
|
<Font> RobotoBlack </Font>
|
|
|
|
|
<Color> 0x513C2F </Color>
|
|
|
|
|
<Value> countClick </Value>
|
|
|
|
|
</Text>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2020-09-14 15:09:29 +07:00
|
|
|
</Page>
|