This commit is contained in:
wanlop run 2024-03-24 14:37:28 +07:00
parent 41e92f542d
commit 655633a57e
10 changed files with 125 additions and 49 deletions

View file

@ -4,7 +4,7 @@
<Cache> "Enable" </Cache>
<Width> 1080 </Width>
<Height> 1312 </Height>
<Background> "0xFF0000" </Background>
<Background> "0xeae6e1" </Background>
<Volume> SoundVolume </Volume>
<EventOpen>
TopView "hide"
@ -12,7 +12,11 @@
Var FileNumber = 1
Var img_press_main_page = "ROOT/taobin_project/image/main_page/bp_main_page_start.png"
Var img_rest_main_page = ""
Var MemberButtonFileNameRest = ""
Var img_reset_topup = ""
Var CNTDOWN_PROTECT_SCREEN_BLANK = 120
DEBUGVAR SoundVolume
@ -281,6 +285,19 @@
Var SELLONLINE = 1
EndIf
If IgnoreNetCore = "true" Then
Var SELLONLINE = 1
Var ButtontoTopupMenu = "Enable"
Var ShowButtonClick2 = "Enable"
; for test press button
Var ShowNetworkProblem = "Enable"
EndIf
If SELLONLINE = 1 Then
Var ShowNetworkProblem = "Invisible"
Var ShowNetworkProblemText = ""
@ -422,6 +439,7 @@
Var WebAppShow = "Invisible"
EndIf
DEBUGVAR XMLPageVersionInt
; forever
@ -542,6 +560,10 @@
Var CountryName = "UnitedArabEmirates Dubai"
EndIf
If StrCountryShort = "" Then
Var CountryName = "Thailand"
EndIf
;
@ -870,8 +892,6 @@
WRITE_FILE "/mnt/sdcard/coffeevending/version/xml_page_version.int" StrXMLPageVer
If SELLONLINE = 1 Then
Else
@ -1317,8 +1337,20 @@
EndIf
EndIf
If MainPageEventWithTimeout = "" Then
Else
If MainPageEventWithTimeout > 0 Then
Var MainPageEventWithTimeout = MainPageEventWithTimeout - 1
EndIf
;DEBUGVAR MainPageEventWithTimeout
If MainPageEventWithTimeout = 1 Then
Var CountDownPauseVideo = 4
EndIf
EndIf
DEBUGVAR ShowButtonClick2
Refresh
@ -1407,6 +1439,7 @@
<Y> 1481 </Y>
<State> ShowButtonClick </State>
;<Color> "0x00BDFF" </Color>
<Filename> img_rest_main_page </Filename>
<FilenamePress> img_press_main_page </FilenamePress>
;<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
@ -1442,6 +1475,7 @@
<Y> YButtonMember </Y>
<State> ShowButtonClick2 </State>
;<Color> "0x00BDFF" </Color>
<Filename> MemberButtonFileNameRest </Filename>
<FilenamePress> MemberButtonFileName </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
@ -1475,6 +1509,7 @@
<Y> 1695 </Y>
<State> ButtontoTopupMenu </State>
;<Color> "0x00BDFF" </Color>
<Filename> img_reset_topup </Filename>
<FilenamePress> "ROOT/taobin_project/image/main_page/bp_main_page_topup.png" </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>