..
This commit is contained in:
parent
691a292501
commit
271d219278
19 changed files with 982 additions and 391 deletions
|
|
@ -11,7 +11,7 @@
|
|||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/topview_button_back_main.xml"
|
||||
Var FileNumber = 1
|
||||
|
||||
Var taobin_version = "1.13"
|
||||
Var taobin_version = "1.18"
|
||||
; 1.00 is
|
||||
|
||||
; On open
|
||||
|
|
@ -20,7 +20,6 @@
|
|||
Var charOfBaht = "฿"
|
||||
Var KanitTTF = "ROOT/taobin_project/font/Kanit/Kanit-Light.ttf"
|
||||
Var KanitMediaTTF = "ROOT/taobin_project/font/Kanit/Kanit-Medium.ttf"
|
||||
|
||||
Var KanitBoldTTF = "ROOT/taobin_project/font/Kanit/Kanit-Bold.ttf"
|
||||
|
||||
Var RobotoBold = "ROOT/taobin_project/font/Roboto/Roboto-Bold.ttf"
|
||||
|
|
@ -46,7 +45,7 @@
|
|||
Var ShowButtonClick = "Enable"
|
||||
Var ShowButtonClickFull = "Invisible"
|
||||
|
||||
SAVELOG DisplayType
|
||||
;SAVELOG DisplayType
|
||||
|
||||
If DisplayType = "2" Then
|
||||
Var XPosiShowCountDownBrew = 693
|
||||
|
|
@ -64,14 +63,17 @@
|
|||
|
||||
EndIf
|
||||
|
||||
If NeedUpgrade = "true" Then
|
||||
Open "ROOT/taobin_project/xml/page_show_error.xml"
|
||||
EndIf
|
||||
|
||||
|
||||
Var TestLoopMakeDrink = 0
|
||||
Var TestLoopSuccess = 0
|
||||
Var TestLoopFailed = 0
|
||||
|
||||
Var IgnoreNetCore = "false"
|
||||
SAVELOG SaleProfile
|
||||
;Var IgnoreNetCore = "false"
|
||||
;SAVELOG SaleProfile
|
||||
|
||||
STRCONTAIN "whey" SaleProfile WheyShow
|
||||
STRCONTAIN "cocktail" SaleProfile CocktailShow
|
||||
|
|
@ -83,13 +85,25 @@
|
|||
Var ShowPrice = "Invisible"
|
||||
EndIf
|
||||
|
||||
SAVELOG WheyShow
|
||||
SAVELOG CocktailShow
|
||||
SAVELOG RoadShow
|
||||
SAVELOG ShowPrice
|
||||
;SAVELOG WheyShow
|
||||
;SAVELOG CocktailShow
|
||||
;SAVELOG RoadShow
|
||||
;SAVELOG ShowPrice
|
||||
|
||||
|
||||
Var CountDownShowButton = 35
|
||||
Var CountDownPauseVideo = 0
|
||||
Var NextPage = "-"
|
||||
|
||||
If StartUpExt = "false" Then
|
||||
|
||||
Else
|
||||
Machine Initial
|
||||
Var StartUpExt = "false"
|
||||
EndIf
|
||||
|
||||
StopLongPlay
|
||||
|
||||
</EventOpen>
|
||||
|
||||
<Timeout> 1000 </Timeout>
|
||||
|
|
@ -127,10 +141,16 @@
|
|||
|
||||
EndIf
|
||||
|
||||
|
||||
Var CountDownShowButton = CountDownShowButton - 1
|
||||
|
||||
|
||||
If NeedUpgrade = "true" Then
|
||||
Open "ROOT/taobin_project/xml/page_show_error.xml"
|
||||
EndIf
|
||||
|
||||
If CountDownShowButton > 0 Then
|
||||
Var CountDownShowButton = CountDownShowButton - 1
|
||||
EndIf
|
||||
|
||||
;SAVELOG MachineStage
|
||||
;SAVELOG CountDownShowButton
|
||||
;SAVELOG ShowButtonClickFull
|
||||
|
||||
|
|
@ -147,13 +167,29 @@
|
|||
Refresh
|
||||
EndIf
|
||||
|
||||
If CountDownPauseVideo > 0 Then
|
||||
; ignore
|
||||
;Var CountDownPauseVideo = CountDownPauseVideo - 1
|
||||
If CountDownPauseVideo = 0 Then
|
||||
|
||||
Var NextPage = "ROOT/taobin_project/xml/page_back_to_main.xml"
|
||||
|
||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert.xml"
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog_choose_drink1.xml"
|
||||
|
||||
TopView "show"
|
||||
Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_main_blank.xml"
|
||||
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
TimerReset
|
||||
</EventTimeout>
|
||||
|
||||
<EventEnd>
|
||||
SAVELOG ShowButtonClick
|
||||
Var CountDownShowButton = 35
|
||||
;SAVELOG ShowButtonClick
|
||||
Var CountDownShowButton = 35
|
||||
Var CountDownPauseVideo = 6
|
||||
Refresh
|
||||
</EventEnd>
|
||||
|
||||
|
|
@ -172,8 +208,8 @@
|
|||
<Video>
|
||||
<X> 0 </X>
|
||||
<Y> 0 </Y>
|
||||
<Loop>"true"</Loop>
|
||||
;<Volume> 80 </Volume>
|
||||
<Loop> "true" </Loop>
|
||||
<Filename> "ROOT/taobin_project/video/main_page.mp4" </Filename>
|
||||
</Video>
|
||||
|
||||
|
|
@ -230,8 +266,14 @@
|
|||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Open "ROOT/taobin_project/xml/page_board.xml"
|
||||
|
||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert.xml"
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_check_memeber.xml"
|
||||
|
||||
TopView "show"
|
||||
Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_main_blank.xml"
|
||||
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue