Do
This commit is contained in:
parent
41e92f542d
commit
655633a57e
10 changed files with 125 additions and 49 deletions
|
|
@ -250,10 +250,11 @@ If BoxID = 105005 Then
|
|||
EndIf
|
||||
|
||||
If BoxID = 172644 Then
|
||||
Var ProPeachEnable = 1
|
||||
Var LipitPro = 1
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
If BoxID = 173149 Then
|
||||
Var ProBadValentineEnable = 0
|
||||
Var PepsiSecondCup30Enable = 0
|
||||
|
|
@ -271,9 +272,7 @@ If BoxID = 174758 Then
|
|||
Var NewFlowPaymentCode = 0
|
||||
EndIf
|
||||
|
||||
If BoxID = 200001 Then
|
||||
Var XMLLiveInfoEnable = 1
|
||||
EndIf
|
||||
Var XMLLiveInfoEnable = 1
|
||||
|
||||
If BoxID = 173973 Then
|
||||
Var ProBadValentineEnable = 0
|
||||
|
|
@ -282,6 +281,7 @@ If BoxID = 173973 Then
|
|||
Var NewFlowPaymentCode = 0
|
||||
EndIf
|
||||
|
||||
|
||||
; Exclusive Box
|
||||
|
||||
|
||||
|
|
@ -364,5 +364,19 @@ Else
|
|||
Var FreeEnergyDrink = 0
|
||||
EndIf
|
||||
|
||||
If LipitPro = 1 Then
|
||||
|
||||
|
||||
Var VideoMainPage = "ROOT/taobin_project/video/main_page_event_pro1.mp4"
|
||||
Var CountDownShowButton = 0
|
||||
;Var MainPageEventWithTimeout = 25
|
||||
Var ShowButtonClickFull = "Invisible"
|
||||
|
||||
Var img_rest_main_page = "ROOT/taobin_project/image/main_page/bn_main_page_start.png"
|
||||
Var MemberButtonFileNameRest = "ROOT/taobin_project/image/main_page/bn_main_page_member.png"
|
||||
Var img_reset_topup = "ROOT/taobin_project/image/main_page/bn_main_page_topup.png"
|
||||
|
||||
Var WebAppShow = "Invisible"
|
||||
EndIf
|
||||
DEBUGVAR FreePowerup
|
||||
|
||||
DEBUGVAR FreePowerup
|
||||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -22,14 +22,14 @@
|
|||
DEBUGVAR SoldCupDigit[8]
|
||||
|
||||
Var ClickCountMainTe = 0
|
||||
Var Timeout = 0
|
||||
Var SoldCupTimeout = 0
|
||||
</EventOpen>
|
||||
|
||||
;include="ROOT/taobin_project/inc/video.inc"
|
||||
|
||||
<Timeout> 1000 </Timeout>
|
||||
<EventTimeout>
|
||||
Var Timeout = Timeout + 1
|
||||
Var SoldCupTimeout = SoldCupTimeout + 1
|
||||
|
||||
SPLIT XMLLiveInfo "/" 2 CurrentTotalCup
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue