WTC+SGP: change collect pt ui and member regis QR
This commit is contained in:
parent
da3e42901e
commit
9ad0f10a7c
25 changed files with 565 additions and 349 deletions
|
|
@ -108,6 +108,9 @@
|
|||
Var InterRegular = "ROOT/taobin_project/font/Inter/Inter-Regular.ttf"
|
||||
|
||||
|
||||
Var PepsiExtend = "ROOT/taobin_project/font/PepsiOwners2/PepsiOwners2-Extended220909.ttf"
|
||||
|
||||
|
||||
Var countClick = 0
|
||||
|
||||
Var RoadShow = "false"
|
||||
|
|
@ -907,6 +910,9 @@
|
|||
If BoxID = 210604 Then
|
||||
Var SettingIgnoreCollectPoint = 0
|
||||
EndIf
|
||||
If BoxID = 210699 Then
|
||||
Var SettingIgnoreCollectPoint = 0
|
||||
EndIf
|
||||
|
||||
READ_FILE "/mnt/sdcard/coffeevending/use_pt_dev" use_pt_dev
|
||||
STRCONTAIN "1" use_pt_dev enable_pt_mode_by_cfg
|
||||
|
|
@ -994,8 +1000,8 @@
|
|||
Var MinPhoneNumber = 9
|
||||
Var MaxPhoneNumber = 9
|
||||
|
||||
Var UsePepsiTheme = 1
|
||||
Var TargetThemeNum = 2
|
||||
;Var UsePepsiTheme = 0
|
||||
;Var TargetThemeNum = 2
|
||||
|
||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/sold_cup_count.xml"
|
||||
|
||||
|
|
@ -1157,7 +1163,9 @@
|
|||
EndIf
|
||||
EndIf
|
||||
|
||||
TRY "ROOT/taobin_project/xml/profile/run.ev"
|
||||
If ProYuzu250Enable = 0 Then
|
||||
TRY "ROOT/taobin_project/xml/profile/run.ev"
|
||||
EndIf
|
||||
|
||||
Var NETCORE_LOST_COUNT_UP = 0
|
||||
|
||||
|
|
|
|||
|
|
@ -2,13 +2,20 @@
|
|||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
<Background> "0xeae6e1" </Background>
|
||||
<Background> BackgroundColor </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
|
||||
<EventOpen>
|
||||
|
||||
If UsePepsiTheme = 1 Then
|
||||
Var WTCGetFree = CountryWTCRootPath + "/xml/page_display_get_free.xml"
|
||||
Open WTCGetFree
|
||||
EndIf
|
||||
|
||||
|
||||
; On open
|
||||
Var Timeout = 0
|
||||
If show_eng = "true" Then
|
||||
If show_eng = "true" Then
|
||||
Var DirImage = "ROOT/taobin_project/image/display_get_free_en"
|
||||
Var page_doing_show_time_image = "ROOT/taobin_project/image/page_doing/img2.png"
|
||||
|
||||
|
|
@ -31,15 +38,15 @@
|
|||
Var MemberState2 = "Enable"
|
||||
Var MemberState3 = "Invisible"
|
||||
|
||||
If show_eng = "true" Then
|
||||
If show_eng = "true" Then
|
||||
PlayLong "/mnt/sdcard/coffeevending/taobin_project/sound_eng/Get_free_drink_faster.mp3"
|
||||
Else
|
||||
PlayLong "/mnt/sdcard/coffeevending/taobin_project/sound_thai/Get_free_drink_faster.mp3"
|
||||
EndIf
|
||||
|
||||
Else
|
||||
Else
|
||||
|
||||
If show_eng = "true" Then
|
||||
If show_eng = "true" Then
|
||||
PlayLong "/mnt/sdcard/coffeevending/taobin_project/sound_eng/You_mode_it.mp3"
|
||||
Else
|
||||
PlayLong "/mnt/sdcard/coffeevending/taobin_project/sound_thai/You_mode_it.mp3"
|
||||
|
|
@ -66,25 +73,25 @@
|
|||
Var MemberState3 = "Invisible"
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</EventOpen>
|
||||
<Timeout> 1000 </Timeout>
|
||||
<EventTimeout>
|
||||
<EventTimeout>
|
||||
|
||||
Var CountDownBrewing = BREW_CNT
|
||||
|
||||
Var ShowCountDownBrewing = CountDownBrewing
|
||||
|
||||
|
||||
|
||||
|
||||
Var Timeout = Timeout + 1
|
||||
If Timeout > 5 Then
|
||||
; goto lid straw
|
||||
|
||||
|
||||
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_lid_straw.xml"
|
||||
;Open "ROOT/taobin_project/xml/page_catalog.xml"
|
||||
|
|
@ -92,14 +99,14 @@
|
|||
|
||||
TimerReset
|
||||
Refresh
|
||||
</EventTimeout>
|
||||
</EventTimeout>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<EventSecurity>
|
||||
Open "/media/bt/xml/security_alarm.xml"
|
||||
|
||||
<EventSecurity>
|
||||
Open "/media/bt/xml/security_alarm.xml"
|
||||
</EventSecurity>
|
||||
|
||||
<EventActionOk>
|
||||
|
|
@ -169,10 +176,10 @@
|
|||
<FilenamePress> Var( DirImage + "/bp_accept.png" )</FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
<EventClick>
|
||||
; goto lid straw
|
||||
|
||||
|
||||
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_lid_straw.xml"
|
||||
|
||||
|
|
@ -199,4 +206,3 @@
|
|||
|
||||
|
||||
</Popup>
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue