DO
This commit is contained in:
parent
605112cd9f
commit
df2387c089
51 changed files with 11583 additions and 832 deletions
|
|
@ -1 +1 @@
|
|||
/event/promotion_pepsi_end.xml
|
||||
/event/promotion_momday.xml
|
||||
8985
xml/event/promotion_momday.xml
Normal file
8985
xml/event/promotion_momday.xml
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -1 +1 @@
|
|||
Open "ROOT/taobin_project/xml/page_catalog_group_pepsi_pro.xml"
|
||||
Open "ROOT/taobin_project/xml/page_catalog_momday.xml"
|
||||
|
|
|
|||
|
|
@ -2,45 +2,23 @@
|
|||
; zone promote
|
||||
If OpenFromPageBoard = 1 Then
|
||||
|
||||
If MysteryProEnable = 1 Then
|
||||
If MomDayEnable = 1 Then
|
||||
|
||||
Var BigButtonEnable = "Enable"
|
||||
OpenInst 2 "ROOT/taobin_project/xml/event/promotion_mystery_cup_35.xml"
|
||||
OpenInst 2 "ROOT/taobin_project/xml/event/promotion_momday.xml"
|
||||
Var OpenFromPageBoard = 0
|
||||
|
||||
Else
|
||||
If OreoWelcomeDrinkEnable = 1 Then
|
||||
|
||||
READ_FILE "/mnt/sdcard/oreo_for_free_limit" oreo_for_free_limit
|
||||
If oreo_for_free_limit = "true" Then
|
||||
Var BigButtonEnable = "Disable"
|
||||
Else
|
||||
Var BigButtonEnable = "Enable"
|
||||
EndIf
|
||||
|
||||
OpenInst 2 "ROOT/taobin_project/xml/event/promotion_oreo_welcome_drink.xml"
|
||||
Else
|
||||
OpenInst 2 "ROOT/taobin_project/xml/page_catalog_group_recommend.xml"
|
||||
EndIf
|
||||
OpenInst 2 "ROOT/taobin_project/xml/page_catalog_group_recommend.xml"
|
||||
|
||||
EndIf
|
||||
Else
|
||||
|
||||
If MysteryProEnable = 1 Then
|
||||
If MomDayEnable = 1 Then
|
||||
Var BigButtonEnable = "Enable"
|
||||
Open "ROOT/taobin_project/xml/event/promotion_mystery_cup_35.xml"
|
||||
Open "ROOT/taobin_project/xml/event/promotion_momday.xml"
|
||||
Else
|
||||
If OreoWelcomeDrinkEnable = 1 Then
|
||||
READ_FILE "/mnt/sdcard/oreo_for_free_limit" oreo_for_free_limit
|
||||
If oreo_for_free_limit = "true" Then
|
||||
Var BigButtonEnable = "Disable"
|
||||
Else
|
||||
Var BigButtonEnable = "Enable"
|
||||
EndIf
|
||||
Open "ROOT/taobin_project/xml/event/promotion_oreo_welcome_drink.xml"
|
||||
Else
|
||||
Open "ROOT/taobin_project/xml/page_catalog_group_recommend.xml"
|
||||
EndIf
|
||||
Open "ROOT/taobin_project/xml/page_catalog_group_recommend.xml"
|
||||
EndIf
|
||||
EndIf
|
||||
Var OpenFromPageBoard = 0
|
||||
|
|
|
|||
|
|
@ -26,156 +26,19 @@ Var MysteryProEnable = 0
|
|||
Var OreoWelcomeDrinkEnable = 0
|
||||
Var Anniversary3VideoEnable = 0
|
||||
|
||||
If SystemDateMonthInt = 7 Then
|
||||
If SystemDateDayInt = 3 Then
|
||||
Var MysteryProEnable = 1
|
||||
EndIf
|
||||
If SystemDateDayInt = 4 Then
|
||||
Var MysteryProEnable = 1
|
||||
EndIf
|
||||
If SystemDateDayInt = 5 Then
|
||||
Var MysteryProEnable = 1
|
||||
EndIf
|
||||
If SystemDateDayInt = 6 Then
|
||||
Var MysteryProEnable = 1
|
||||
EndIf
|
||||
If SystemDateDayInt = 7 Then
|
||||
Var MysteryProEnable = 1
|
||||
EndIf
|
||||
If SystemDateDayInt = 8 Then
|
||||
Var MysteryProEnable = 1
|
||||
EndIf
|
||||
If SystemDateDayInt = 9 Then
|
||||
Var MysteryProEnable = 1
|
||||
EndIf
|
||||
If SystemDateDayInt = 10 Then
|
||||
Var MysteryProEnable = 1
|
||||
EndIf
|
||||
If SystemDateDayInt = 11 Then
|
||||
Var MysteryProEnable = 1
|
||||
EndIf
|
||||
If SystemDateDayInt = 12 Then
|
||||
Var MysteryProEnable = 1
|
||||
EndIf
|
||||
If SystemDateDayInt = 13 Then
|
||||
Var MysteryProEnable = 1
|
||||
EndIf
|
||||
If SystemDateDayInt = 14 Then
|
||||
Var MysteryProEnable = 1
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If BoxID = 200001 Then
|
||||
Var OreoDueEnable = 0
|
||||
Var OreoForFreeEnable = 0
|
||||
Var PepsiProEnable = 0
|
||||
Var PepsiProCodeEnable = 0
|
||||
Var MysteryProEnable = 0
|
||||
EndIf
|
||||
|
||||
If BoxID = 200000 Then
|
||||
Var OreoDueEnable = 0
|
||||
Var OreoForFreeEnable = 0
|
||||
Var PepsiProEnable = 0
|
||||
Var PepsiProCodeEnable = 0
|
||||
Var MysteryProEnable = 0
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
If SystemDateMonthInt = 7 Then
|
||||
If SystemDateDayInt = 24 Then
|
||||
Var OreoWelcomeDrinkEnable = 0
|
||||
EndIf
|
||||
If SystemDateDayInt = 25 Then
|
||||
Var OreoWelcomeDrinkEnable = 0
|
||||
EndIf
|
||||
If SystemDateDayInt = 26 Then
|
||||
Var OreoWelcomeDrinkEnable = 1
|
||||
EndIf
|
||||
If SystemDateDayInt = 27 Then
|
||||
Var OreoWelcomeDrinkEnable = 1
|
||||
EndIf
|
||||
If SystemDateDayInt = 28 Then
|
||||
Var OreoWelcomeDrinkEnable = 1
|
||||
EndIf
|
||||
If SystemDateDayInt = 29 Then
|
||||
Var OreoWelcomeDrinkEnable = 1
|
||||
EndIf
|
||||
If SystemDateDayInt = 30 Then
|
||||
Var OreoWelcomeDrinkEnable = 1
|
||||
EndIf
|
||||
If SystemDateDayInt = 31 Then
|
||||
Var OreoWelcomeDrinkEnable = 1
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
|
||||
|
||||
Var MomDayEnable = 0
|
||||
|
||||
If SystemDateMonthInt = 8 Then
|
||||
|
||||
If SystemDateDayInt = 1 Then
|
||||
Var OreoWelcomeDrinkEnable = 1
|
||||
EndIf
|
||||
If SystemDateDayInt = 2 Then
|
||||
Var OreoWelcomeDrinkEnable = 1
|
||||
EndIf
|
||||
If SystemDateDayInt = 3 Then
|
||||
Var OreoWelcomeDrinkEnable = 1
|
||||
EndIf
|
||||
If SystemDateDayInt = 4 Then
|
||||
Var OreoWelcomeDrinkEnable = 1
|
||||
EndIf
|
||||
If SystemDateDayInt = 5 Then
|
||||
Var OreoWelcomeDrinkEnable = 1
|
||||
EndIf
|
||||
If SystemDateDayInt = 6 Then
|
||||
Var OreoWelcomeDrinkEnable = 1
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
|
||||
;/mnt/sdcard/oreo_for_free_limit
|
||||
|
||||
|
||||
|
||||
|
||||
If SystemDateMonthInt = 7 Then
|
||||
If SystemDateDayInt > 19 Then
|
||||
Var Anniversary3VideoEnable = 1
|
||||
If JasmineTeaEnable = "true" Then
|
||||
Var MomDayEnable = 1
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
If SystemDateMonthInt = 8 Then
|
||||
If SystemDateDayInt < 7 Then
|
||||
Var Anniversary3VideoEnable = 1
|
||||
EndIf
|
||||
EndIf
|
||||
DEBUGVAR MomDayEnable
|
||||
DEBUGVAR JasmineTeaEnable
|
||||
|
||||
|
||||
|
||||
If BoxID = 173149 Then
|
||||
Var MysteryProEnable = 0
|
||||
Var OreoWelcomeDrinkEnable = 1
|
||||
EndIf
|
||||
|
||||
If BoxID = 176475 Then
|
||||
Var MysteryProEnable = 0
|
||||
Var OreoWelcomeDrinkEnable = 1
|
||||
EndIf
|
||||
|
||||
If BoxID = 172053 Then
|
||||
Var MysteryProEnable = 1
|
||||
Var OreoWelcomeDrinkEnable = 0
|
||||
EndIf
|
||||
|
||||
|
||||
If BoxID = 105005 Then
|
||||
Var OreoWelcomeDrinkEnable = 1
|
||||
EndIf
|
||||
|
||||
If BoxID = 33170 Then
|
||||
Var PepsiProEnable = 0
|
||||
Var PepsiPromoteVideo = 0
|
||||
|
|
@ -185,10 +48,6 @@ If BoxID = 33170 Then
|
|||
EndIf
|
||||
|
||||
|
||||
DEBUGVAR Anniversary3VideoEnable
|
||||
DEBUGVAR OreoWelcomeDrinkEnable
|
||||
|
||||
|
||||
|
||||
If InternationalEnable = 1 Then
|
||||
Var PepsiProEnable = 0
|
||||
|
|
|
|||
|
|
@ -113,20 +113,8 @@
|
|||
|
||||
EndIf
|
||||
|
||||
If BoxID = 200001 Then
|
||||
Var NoWaitMachineEnable = 1
|
||||
EndIf
|
||||
If BoxID = 173149 Then
|
||||
Var NoWaitMachineEnable = 1
|
||||
EndIf
|
||||
If BoxID = 172527 Then
|
||||
Var NoWaitMachineEnable = 1
|
||||
EndIf
|
||||
|
||||
If BoxID > 200000 Then
|
||||
Var NoWaitMachineEnable = 1
|
||||
EndIf
|
||||
|
||||
Var NoWaitMachineEnable = 1
|
||||
DEBUGVAR InternationalEnable
|
||||
|
||||
If NoWaitMachineEnable = 1 Then
|
||||
|
|
@ -190,81 +178,8 @@
|
|||
; move to TRY actoin.
|
||||
Var RoadShow = "false"
|
||||
|
||||
; echo > /mnt/sdcard/free_mode_enable
|
||||
READ_FILE "/mnt/sdcard/free_mode_enable" free_mode_str
|
||||
STRCONTAIN "bonusbonus" free_mode_str free_mode_enable
|
||||
DEBUGVAR BoxID
|
||||
DEBUGVAR free_mode_enable
|
||||
If free_mode_enable = "true" Then
|
||||
|
||||
If SystemDateMonthInt = 8 Then
|
||||
If SystemDateDayInt = 5 Then
|
||||
If BoxID = 201316 Then
|
||||
Var RoadShow = "true"
|
||||
EndIf
|
||||
If BoxID = 200435 Then
|
||||
Var RoadShow = "true"
|
||||
EndIf
|
||||
EndIf
|
||||
If SystemDateDayInt = 6 Then
|
||||
If BoxID = 201316 Then
|
||||
Var RoadShow = "true"
|
||||
EndIf
|
||||
If BoxID = 200435 Then
|
||||
Var RoadShow = "true"
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
If SystemDateMonthInt = 8 Then
|
||||
If SystemDateDayInt = 4 Then
|
||||
If BoxID = 33170 Then
|
||||
Var RoadShow = "true"
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
; next gen move to TRY action
|
||||
Var matchBoxID = 0
|
||||
If BoxID = 201174 Then
|
||||
Var matchBoxID = 1
|
||||
EndIf
|
||||
If BoxID = 201188 Then
|
||||
Var matchBoxID = 1
|
||||
EndIf
|
||||
If BoxID = 201360 Then
|
||||
Var matchBoxID = 1
|
||||
EndIf
|
||||
If BoxID = 201374 Then
|
||||
Var matchBoxID = 1
|
||||
EndIf
|
||||
|
||||
DEBUGVAR matchBoxID
|
||||
|
||||
If SystemDateMonthInt = 8 Then
|
||||
If SystemDateDayInt = 4 Then
|
||||
If matchBoxID = 1 Then
|
||||
Var RoadShow = "true"
|
||||
EndIf
|
||||
EndIf
|
||||
If SystemDateDayInt = 5 Then
|
||||
If matchBoxID = 1 Then
|
||||
Var RoadShow = "true"
|
||||
EndIf
|
||||
EndIf
|
||||
If SystemDateDayInt = 6 Then
|
||||
If matchBoxID = 1 Then
|
||||
Var RoadShow = "true"
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
; take a look file page_board_1.xml
|
||||
|
||||
|
||||
If XMLProfile = "" Then
|
||||
|
|
@ -293,6 +208,8 @@
|
|||
|
||||
STRCONTAIN "1208" MaterialAvailable PromoteYuzuEnable
|
||||
STRCONTAIN "1058" MaterialAvailable OreoEnable
|
||||
|
||||
STRCONTAIN "1068" MaterialAvailable JasmineTeaEnable
|
||||
|
||||
Var MenuKidEnable = "false"
|
||||
|
||||
|
|
|
|||
|
|
@ -1,388 +1,73 @@
|
|||
<Page>
|
||||
<X> 0 </X>
|
||||
<Y> 608 </Y>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1312 </Height>
|
||||
<Background> "0xEFEDEA" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
TopView "hide"
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/topview_button_back_main.xml"
|
||||
Var FileNumber = 1
|
||||
|
||||
Var taobin_version = "1.32"
|
||||
; 1.00 is
|
||||
|
||||
; On open
|
||||
Var menu_back_to_main = "ROOT/taobin_project/xml/page_back_to_main.xml"
|
||||
|
||||
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"
|
||||
Var RobotoBlack = "ROOT/taobin_project/font/Roboto/Roboto-Black.ttf"
|
||||
Var RobotoRegular = "ROOT/taobin_project/font/Roboto/Roboto-Regular.ttf"
|
||||
|
||||
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"
|
||||
|
||||
Var BlinkStar = "ROOT/taobin_project/image/animation/blink_star.gif"
|
||||
|
||||
Var countClick = 0
|
||||
|
||||
Var RoadShow = "false"
|
||||
Var IgnorePoint = "true"
|
||||
|
||||
Var ShowButtonClick = "Enable"
|
||||
Var ShowButtonClickFull = "Invisible"
|
||||
|
||||
;SAVELOG DisplayType
|
||||
|
||||
If DisplayType = "2" Then
|
||||
Var XPosiShowCountDownBrew = 693
|
||||
Var WQR = 185
|
||||
Var HQR = 185
|
||||
Else
|
||||
Var XPosiShowCountDownBrew = 768
|
||||
Var WQR = 290
|
||||
Var HQR = 290
|
||||
|
||||
EndIf
|
||||
|
||||
If MachineStage = "close-maintenance" Then
|
||||
Open "ROOT/taobin_project/xml/page_show_error.xml"
|
||||
|
||||
EndIf
|
||||
|
||||
If MachineStage = "mcu-upgrade" Then
|
||||
Open "ROOT/taobin_project/xml/page_show_error.xml"
|
||||
|
||||
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
|
||||
|
||||
STRCONTAIN "whey" SaleProfile WheyShow
|
||||
STRCONTAIN "cocktail" SaleProfile CocktailShow
|
||||
STRCONTAIN "roadshow" SaleProfile RoadShow
|
||||
|
||||
Var TermTemOnline = "false"
|
||||
Var TaobinOnline = "false"
|
||||
STRCONTAIN "9501" MaterialAvailable TaobinOnline
|
||||
STRCONTAIN "9505" MaterialAvailable TermTemOnline
|
||||
|
||||
DEBUGVAR TaobinOnline
|
||||
DEBUGVAR TermTemOnline
|
||||
|
||||
Var ShowPrice = "Enable"
|
||||
If RoadShow = "true" Then
|
||||
Var ShowPrice = "Invisible"
|
||||
EndIf
|
||||
|
||||
;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
|
||||
|
||||
|
||||
Var TimerFirst = "true"
|
||||
|
||||
|
||||
Var buttonRemoveCup = "Invisible"
|
||||
|
||||
</EventOpen>
|
||||
|
||||
<Timeout> 1000 </Timeout>
|
||||
<EventTimeout>
|
||||
If IgnoreNetCore = "true" Then
|
||||
|
||||
Else
|
||||
If NetworkStatus = "DOWN" Then
|
||||
;Open "/ROOT/xml/outservice.xml"
|
||||
Var WebAppShow = "Invisible"
|
||||
EndIf
|
||||
If SELLSTATUS = "DEACTIVE" Then
|
||||
Open "/ROOT/xml/offline.xml"
|
||||
EndIf
|
||||
|
||||
If MachineStage = "close-maintenance" Then
|
||||
Open "ROOT/taobin_project/xml/page_show_error.xml"
|
||||
|
||||
EndIf
|
||||
|
||||
If MachineStage = "mcu-upgrade" Then
|
||||
Open "ROOT/taobin_project/xml/page_show_error.xml"
|
||||
; echo bonusbonus > /mnt/sdcard/free_mode_enable
|
||||
READ_FILE "/mnt/sdcard/free_mode_enable" free_mode_str
|
||||
STRCONTAIN "bonusbonus" free_mode_str free_mode_enable
|
||||
DEBUGVAR BoxID
|
||||
DEBUGVAR free_mode_enable
|
||||
If free_mode_enable = "true" Then
|
||||
|
||||
If SystemDateMonthInt = 8 Then
|
||||
If SystemDateDayInt = 5 Then
|
||||
If BoxID = 201316 Then
|
||||
Var RoadShow = "true"
|
||||
EndIf
|
||||
If BoxID = 200435 Then
|
||||
Var RoadShow = "true"
|
||||
EndIf
|
||||
EndIf
|
||||
If SystemDateDayInt = 6 Then
|
||||
If BoxID = 201316 Then
|
||||
Var RoadShow = "true"
|
||||
EndIf
|
||||
If BoxID = 200435 Then
|
||||
Var RoadShow = "true"
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
EndIf
|
||||
|
||||
If MachineStage = "drink-failed" Then
|
||||
Open "ROOT/taobin_project/xml/page_show_error.xml"
|
||||
|
||||
EndIf
|
||||
|
||||
If MachineStage = "remove-cup" Then
|
||||
Open "ROOT/taobin_project/xml/page_remove_cup.xml"
|
||||
|
||||
EndIf
|
||||
|
||||
|
||||
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
|
||||
|
||||
If CountDownShowButton = 31 Then
|
||||
Var ShowButtonClickFull = "Enable"
|
||||
Var ShowButtonClick = "Invisible"
|
||||
Refresh
|
||||
EndIf
|
||||
|
||||
If CountDownShowButton = 3 Then
|
||||
|
||||
Var ShowButtonClick = "Enable"
|
||||
Var ShowButtonClickFull = "Invisible"
|
||||
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"
|
||||
If SystemDateMonthInt = 8 Then
|
||||
If SystemDateDayInt = 4 Then
|
||||
If BoxID = 33170 Then
|
||||
Var RoadShow = "true"
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
; next gen move to TRY action
|
||||
Var matchBoxID = 0
|
||||
If BoxID = 201174 Then
|
||||
Var matchBoxID = 1
|
||||
EndIf
|
||||
If BoxID = 201188 Then
|
||||
Var matchBoxID = 1
|
||||
EndIf
|
||||
If BoxID = 201360 Then
|
||||
Var matchBoxID = 1
|
||||
EndIf
|
||||
If BoxID = 201374 Then
|
||||
Var matchBoxID = 1
|
||||
EndIf
|
||||
|
||||
DEBUGVAR matchBoxID
|
||||
|
||||
If TimerFirst = "true" Then
|
||||
Var TimerFirst = "false"
|
||||
Var CountUpReloadAll = CountUpReloadAll + 1
|
||||
|
||||
DEBUGVAR CountUpReloadAll
|
||||
|
||||
If CountUpReloadAll > 180 Then
|
||||
|
||||
Var StartUpExt = "-"
|
||||
Var CountUpReloadAll = 0
|
||||
|
||||
ReloadAll
|
||||
If SystemDateMonthInt = 8 Then
|
||||
If SystemDateDayInt = 4 Then
|
||||
If matchBoxID = 1 Then
|
||||
Var RoadShow = "true"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
|
||||
If CupOnArm = "true" Then
|
||||
Var buttonRemoveCup = "Enable"
|
||||
Else
|
||||
Var buttonRemoveCup = "Invisible"
|
||||
EndIf
|
||||
|
||||
TimerReset
|
||||
</EventTimeout>
|
||||
|
||||
<EventEnd>
|
||||
;SAVELOG ShowButtonClick
|
||||
Var CountDownShowButton = 35
|
||||
Var CountDownPauseVideo = 6
|
||||
TouchTapClose
|
||||
Open CurrentXMLFileName0
|
||||
Refresh
|
||||
|
||||
</EventEnd>
|
||||
|
||||
|
||||
<EventNetDown>
|
||||
SAVELOG NetworkStatus
|
||||
Open "/mnt/sdcard/coffeevending/xml/main.xml"
|
||||
</EventNetDown>
|
||||
|
||||
<EventNetDeactive>
|
||||
SAVELOG NetworkStatus
|
||||
If SELLSTATUS = "DEACTIVE" Then
|
||||
Open "/mnt/sdcard/coffeevending/xml/main.xml"
|
||||
EndIf
|
||||
</EventNetDeactive>
|
||||
|
||||
|
||||
<Video>
|
||||
<X> 0 </X>
|
||||
<Y> 0 </Y>
|
||||
;<Loop>"true"</Loop>
|
||||
;<Volume> 80 </Volume>
|
||||
<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
|
||||
|
||||
;Var TestLoopMakeDrink = 1
|
||||
|
||||
EndIf
|
||||
|
||||
If countClick = 5 Then
|
||||
Var countClick = 0
|
||||
MainMenu
|
||||
EndIf
|
||||
Refresh
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 212 </X>
|
||||
<Y> 1481 </Y>
|
||||
<State> ShowButtonClick </State>
|
||||
;<Color> "0x00BDFF" </Color>
|
||||
<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>
|
||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert.xml"
|
||||
If CocktailShow = "true" Then
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog_cocktail.xml"
|
||||
Else
|
||||
If TaobinOnline = "true" Then
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog.xml"
|
||||
If SystemDateDayInt = 5 Then
|
||||
If matchBoxID = 1 Then
|
||||
Var RoadShow = "true"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
If TermTemOnline = "true" Then
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_tt_catalog.xml"
|
||||
If SystemDateDayInt = 6 Then
|
||||
If matchBoxID = 1 Then
|
||||
Var RoadShow = "true"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
|
||||
TopView "show"
|
||||
Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_main_blank.xml"
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 212 </X>
|
||||
<Y> 1695 </Y>
|
||||
<State> ShowButtonClick </State>
|
||||
;<Color> "0x00BDFF" </Color>
|
||||
<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>
|
||||
|
||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert.xml"
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_check_member.xml"
|
||||
|
||||
TopView "show"
|
||||
Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_main_blank.xml"
|
||||
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 556 </X>
|
||||
<Y> 1695 </Y>
|
||||
<State> ShowButtonClick </State>
|
||||
;<Color> "0x00BDFF" </Color>
|
||||
<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>
|
||||
|
||||
Open "ROOT/xml/service_menu.xml"
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 2 </X>
|
||||
<Y> 609 </Y>
|
||||
<State> ShowButtonClickFull </State>
|
||||
;<Color> "0x00BDFF" </Color>
|
||||
<Width> 1070 </Width>
|
||||
<Height> 1310 </Height>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert.xml"
|
||||
If TaobinOnline = "true" Then
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog.xml"
|
||||
EndIf
|
||||
If TermTemOnline = "true" Then
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_tt_catalog.xml"
|
||||
EndIf
|
||||
|
||||
TopView "show"
|
||||
Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_main_blank.xml"
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 868 </X>
|
||||
<Y> 634 </Y>
|
||||
<State> buttonRemoveCup </State>
|
||||
;<Color> "0x00BDFF" </Color>
|
||||
<Interval> 300 </Interval>
|
||||
<Filename> "ROOT/taobin_project/image/main_page/bn_remove_cup.png" </Filename>
|
||||
<Filename> "ROOT/taobin_project/image/main_page/bp_remove_cup.png" </Filename>
|
||||
<EventClick>
|
||||
Machine RemoveCup
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
</Page>
|
||||
|
|
|
|||
|
|
@ -3988,21 +3988,21 @@
|
|||
Var DescLang[0][2] = ""
|
||||
Var DescLang[0][3] = ""
|
||||
Var DescLang[0][4] = "Susu, Koko, Yuzu"
|
||||
Var NameLang[1][0] = "Cocoa Yuzu SMOOTHIE"
|
||||
Var NameLang[1][1] = "โกโก้ยูซุปั่น"
|
||||
Var NameLang[1][0] = "Iced Cocoa Yuzu"
|
||||
Var NameLang[1][1] = "โกโก้ยูซุเย็น"
|
||||
Var NameLang[1][2] = ""
|
||||
Var NameLang[1][3] = ""
|
||||
Var NameLang[1][4] = "SMOOTHIE KOKO YUZU"
|
||||
Var NameLang[1][4] = "KOKO YUZU AIS"
|
||||
Var DescLang[1][0] = "Milk, Cocoa, Yuzu, Ice"
|
||||
Var DescLang[1][1] = "โกโก้ นม ยูซุ และน้ำแข็ง"
|
||||
Var DescLang[1][2] = ""
|
||||
Var DescLang[1][3] = ""
|
||||
Var DescLang[1][4] = "Susu, Koko, Yuzu, Ais"
|
||||
Var NameLang[2][0] = "Iced Cocoa Yuzu"
|
||||
Var NameLang[2][1] = "โกโก้ยูซุเย็น"
|
||||
Var NameLang[2][0] = "SMOOTHIE COCOA YUZU"
|
||||
Var NameLang[2][1] = "โกโก้ยูซุปั่น"
|
||||
Var NameLang[2][2] = ""
|
||||
Var NameLang[2][3] = ""
|
||||
Var NameLang[2][4] = "KOKO YUZU AIS"
|
||||
Var NameLang[2][4] = "SMOOTHIE KOKO YUZU"
|
||||
Var DescLang[2][0] = "Milk, Cocoa, Yuzu, Ice"
|
||||
Var DescLang[2][1] = "โกโก้ นม ยูซุ และน้ำแข็ง"
|
||||
Var DescLang[2][2] = ""
|
||||
|
|
|
|||
45
xml/page_catalog_momday.skt
Normal file
45
xml/page_catalog_momday.skt
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
<?hurr
|
||||
#include=menu_head.py
|
||||
?>
|
||||
|
||||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
;<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
; On open
|
||||
<?hurr
|
||||
#include=menu_catalog_default_init.py
|
||||
?>
|
||||
|
||||
|
||||
|
||||
Var Timeout = 0
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_catalog_new_menu.py
|
||||
?>
|
||||
|
||||
</EventOpen>
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_catalog_new.py
|
||||
?>
|
||||
|
||||
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen_v2.py
|
||||
?>
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen.py
|
||||
?>
|
||||
|
||||
|
||||
|
||||
</Popup>
|
||||
1809
xml/page_catalog_momday.xml
Normal file
1809
xml/page_catalog_momday.xml
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -111,6 +111,7 @@
|
|||
Else
|
||||
|
||||
|
||||
; Seeker.TNumberTaobinMember
|
||||
Var OpenFromCollectPoint3 = 0
|
||||
READ_FILE "/mnt/sdcard/game_enable" game_mode_str
|
||||
STRCONTAIN "1" game_mode_str game_mode_enable
|
||||
|
|
|
|||
|
|
@ -17,6 +17,8 @@
|
|||
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_list.xml"
|
||||
|
||||
Var DirImage = "ROOT/taobin_project/image/vending_error"
|
||||
|
||||
Var show_error_normal = "Invisible"
|
||||
Var show_error_sp1 = "Enable"
|
||||
|
||||
|
|
|
|||
|
|
@ -400,7 +400,7 @@
|
|||
Var ConfirmDrinkButtonState = "Enable"
|
||||
|
||||
If stop_now = "true" Then
|
||||
Open "ROOT/taobin_project/xml/page_show_error.xml"
|
||||
Open "ROOT/taobin_project/xml/page_back_to_error.xml"
|
||||
EndIf
|
||||
Else
|
||||
Var ConfirmDrinkButtonState = "Invisible"
|
||||
|
|
@ -409,6 +409,22 @@
|
|||
|
||||
|
||||
|
||||
EndIf
|
||||
|
||||
If show_eng = "true" Then
|
||||
If MACHINE_SELF_TEST_COUNT_DOWN > 0 Then
|
||||
Var ShowTextSelfTestCountDown = "Please wait a moment (" + MACHINE_SELF_TEST_COUNT_DOWN
|
||||
Var ShowTextSelfTestCountDown = ShowTextSelfTestCountDown + ")"
|
||||
Else
|
||||
Var ShowTextSelfTestCountDown = "Please wait a moment"
|
||||
EndIf
|
||||
Else
|
||||
If MACHINE_SELF_TEST_COUNT_DOWN > 0 Then
|
||||
Var ShowTextSelfTestCountDown ="กรุณารอสักครู่ (" + MACHINE_SELF_TEST_COUNT_DOWN
|
||||
Var ShowTextSelfTestCountDown = ShowTextSelfTestCountDown + ")"
|
||||
Else
|
||||
Var ShowTextSelfTestCountDown ="กรุณารอสักครู่"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
Refresh
|
||||
|
|
@ -4241,12 +4257,24 @@
|
|||
<State> ConfirmDrinkButtonState </State>
|
||||
<X> 526 </X>
|
||||
<Y> 1785 </Y>
|
||||
<Filename> Var( DirImage + "/please_wait.png" )</Filename>
|
||||
<Filename> "ROOT/taobin_project/image/topping/topping2/bd_next2.png"</Filename>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
|
||||
<Text>
|
||||
<State> ConfirmDrinkButtonState </State>
|
||||
<X> 0 </X>
|
||||
<Y> 18 </Y>
|
||||
<Align> Center </Align>
|
||||
<Width> 512 </Width>
|
||||
<Font> KanitTTF </Font>
|
||||
<Size> 36 </Size>
|
||||
<Color> 0x746253 </Color>
|
||||
<Value> ShowTextSelfTestCountDown </Value>
|
||||
</Text>
|
||||
</Button>
|
||||
|
||||
|
||||
; zone
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -445,7 +445,7 @@
|
|||
Var ConfirmDrinkButtonState = "Enable"
|
||||
|
||||
If stop_now = "true" Then
|
||||
Open "ROOT/taobin_project/xml/page_show_error.xml"
|
||||
Open "ROOT/taobin_project/xml/page_back_to_error.xml"
|
||||
EndIf
|
||||
Else
|
||||
Var ConfirmDrinkButtonState = "Invisible"
|
||||
|
|
@ -456,6 +456,23 @@
|
|||
|
||||
EndIf
|
||||
|
||||
|
||||
If show_eng = "true" Then
|
||||
If MACHINE_SELF_TEST_COUNT_DOWN > 0 Then
|
||||
Var ShowTextSelfTestCountDown = "Please wait a moment (" + MACHINE_SELF_TEST_COUNT_DOWN
|
||||
Var ShowTextSelfTestCountDown = ShowTextSelfTestCountDown + ")"
|
||||
Else
|
||||
Var ShowTextSelfTestCountDown = "Please wait a moment"
|
||||
EndIf
|
||||
Else
|
||||
If MACHINE_SELF_TEST_COUNT_DOWN > 0 Then
|
||||
Var ShowTextSelfTestCountDown ="กรุณารอสักครู่ (" + MACHINE_SELF_TEST_COUNT_DOWN
|
||||
Var ShowTextSelfTestCountDown = ShowTextSelfTestCountDown + ")"
|
||||
Else
|
||||
Var ShowTextSelfTestCountDown ="กรุณารอสักครู่"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
Refresh
|
||||
TimerReset
|
||||
</EventTimeout>
|
||||
|
|
@ -1557,7 +1574,7 @@
|
|||
<Y> 752 </Y>
|
||||
<Width> 1080</Width>
|
||||
<Align> Center </Align>
|
||||
<Size> 72 </Size>
|
||||
<Size> 68 </Size>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x513C2F </Color>
|
||||
<Value> showname </Value>
|
||||
|
|
@ -2764,157 +2781,6 @@
|
|||
;
|
||||
;
|
||||
;
|
||||
|
||||
;
|
||||
;
|
||||
;
|
||||
;
|
||||
;
|
||||
;
|
||||
;
|
||||
;
|
||||
;
|
||||
;
|
||||
;-BEGIN
|
||||
;
|
||||
;-BEGIN Lid straw
|
||||
<Block>
|
||||
<Width> 986 </Width>
|
||||
<Height> 240 </Height>
|
||||
<MarginTop> 20 </MarginTop>
|
||||
<State> ShowLidStraw </State>
|
||||
<Image>
|
||||
<Filename> bg_strawlid </Filename>
|
||||
</Image>
|
||||
|
||||
; straw left
|
||||
<Button>
|
||||
<X> 40 </X>
|
||||
<Y> 72 </Y>
|
||||
<State> StrawState </State>
|
||||
<Mode> "No" </Mode>
|
||||
<Filename> "ROOT/taobin_project/image/topping2/bn_straw.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/topping2/bp_straw.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/topping2/bd_straw.png" </FilenameDisable>
|
||||
<EventClick>
|
||||
SAVELOG "Click straw cb"
|
||||
If StrawState = "Press" Then
|
||||
Var StrawState = "Enable"
|
||||
|
||||
Var Seeker.thankStrawFlag = 0
|
||||
|
||||
Else
|
||||
Var StrawState = "Press"
|
||||
|
||||
Var Seeker.thankStrawFlag = 1
|
||||
|
||||
EndIf
|
||||
Refresh
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 896 </X>
|
||||
<Y> 79 </Y>
|
||||
<State> StrawState </State>
|
||||
<Mode> "No" </Mode>
|
||||
<Filename> "ROOT/taobin_project/image/topping2/cb_notcheck.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/topping2/cb_checked.png" </FilenamePress>
|
||||
<FilenameDisable> Var( DirImage + "/cb_checkdis.png" ) </FilenameDisable>
|
||||
<EventClick>
|
||||
SAVELOG "Click straw cb"
|
||||
If StrawState = "Press" Then
|
||||
Var StrawState = "Enable"
|
||||
|
||||
Var Seeker.thankStrawFlag = 0
|
||||
|
||||
Else
|
||||
Var StrawState = "Press"
|
||||
|
||||
Var Seeker.thankStrawFlag = 1
|
||||
|
||||
EndIf
|
||||
Refresh
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
|
||||
; LID left
|
||||
<Button>
|
||||
<X> 40 </X>
|
||||
<Y> 148 </Y>
|
||||
<State> LidState </State>
|
||||
<Mode> "No" </Mode>
|
||||
<Filename> "ROOT/taobin_project/image/topping2/bn_lid.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/topping2/bp_lid.png" </FilenamePress>
|
||||
<FilenameDisable> Var( DirImage + "/bd_lid.png" ) </FilenameDisable>
|
||||
<EventClick>
|
||||
SAVELOG "Click LID pic"
|
||||
If LidState = "Press" Then
|
||||
Var LidState = "Enable"
|
||||
|
||||
Var Seeker.thankLidFlag = 0
|
||||
|
||||
Else
|
||||
Var LidState = "Press"
|
||||
|
||||
Var Seeker.thankLidFlag = 1
|
||||
|
||||
EndIf
|
||||
|
||||
|
||||
DEBUGVAR SugarState1
|
||||
Refresh
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 896 </X>
|
||||
<Y> 155 </Y>
|
||||
<State> LidState </State>
|
||||
<Mode> "No" </Mode>
|
||||
<Filename> "ROOT/taobin_project/image/topping2/cb_notcheck.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/topping2/cb_checked.png" </FilenamePress>
|
||||
<FilenameDisable> Var( DirImage + "/cb_checkdis.png" ) </FilenameDisable>
|
||||
<EventClick>
|
||||
SAVELOG "Click LID cb"
|
||||
If LidState = "Press" Then
|
||||
Var LidState = "Enable"
|
||||
|
||||
Var Seeker.thankLidFlag = 0
|
||||
|
||||
Else
|
||||
Var LidState = "Press"
|
||||
|
||||
Var Seeker.thankLidFlag = 1
|
||||
|
||||
EndIf
|
||||
Refresh
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Image>
|
||||
<State> StrawDeactiveButton </State>
|
||||
<X> 602 </X>
|
||||
<Y> 64 </Y>
|
||||
<Filename> Var( DirImage + "/text20.png" ) </Filename>
|
||||
</Image>
|
||||
|
||||
|
||||
<Image>
|
||||
<State> LidDeactiveButton </State>
|
||||
<X> 602 </X>
|
||||
<Y> 150 </Y>
|
||||
<Filename> Var( DirImage + "/text21.png" ) </Filename>
|
||||
</Image>
|
||||
|
||||
</Block>
|
||||
|
||||
;-END
|
||||
;
|
||||
;
|
||||
; Extra topping.
|
||||
;
|
||||
;
|
||||
|
|
@ -3351,6 +3217,157 @@
|
|||
|
||||
|
||||
|
||||
;
|
||||
;
|
||||
;
|
||||
;
|
||||
;
|
||||
;
|
||||
;
|
||||
;
|
||||
;
|
||||
;
|
||||
;-BEGIN
|
||||
;
|
||||
;-BEGIN Lid straw
|
||||
<Block>
|
||||
<Width> 986 </Width>
|
||||
<Height> 240 </Height>
|
||||
<MarginTop> 20 </MarginTop>
|
||||
<State> ShowLidStraw </State>
|
||||
<Image>
|
||||
<Filename> bg_strawlid </Filename>
|
||||
</Image>
|
||||
|
||||
; straw left
|
||||
<Button>
|
||||
<X> 40 </X>
|
||||
<Y> 72 </Y>
|
||||
<State> StrawState </State>
|
||||
<Mode> "No" </Mode>
|
||||
<Filename> "ROOT/taobin_project/image/topping2/bn_straw.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/topping2/bp_straw.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/topping2/bd_straw.png" </FilenameDisable>
|
||||
<EventClick>
|
||||
SAVELOG "Click straw cb"
|
||||
If StrawState = "Press" Then
|
||||
Var StrawState = "Enable"
|
||||
|
||||
Var Seeker.thankStrawFlag = 0
|
||||
|
||||
Else
|
||||
Var StrawState = "Press"
|
||||
|
||||
Var Seeker.thankStrawFlag = 1
|
||||
|
||||
EndIf
|
||||
Refresh
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 896 </X>
|
||||
<Y> 79 </Y>
|
||||
<State> StrawState </State>
|
||||
<Mode> "No" </Mode>
|
||||
<Filename> "ROOT/taobin_project/image/topping2/cb_notcheck.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/topping2/cb_checked.png" </FilenamePress>
|
||||
<FilenameDisable> Var( DirImage + "/cb_checkdis.png" ) </FilenameDisable>
|
||||
<EventClick>
|
||||
SAVELOG "Click straw cb"
|
||||
If StrawState = "Press" Then
|
||||
Var StrawState = "Enable"
|
||||
|
||||
Var Seeker.thankStrawFlag = 0
|
||||
|
||||
Else
|
||||
Var StrawState = "Press"
|
||||
|
||||
Var Seeker.thankStrawFlag = 1
|
||||
|
||||
EndIf
|
||||
Refresh
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
|
||||
; LID left
|
||||
<Button>
|
||||
<X> 40 </X>
|
||||
<Y> 148 </Y>
|
||||
<State> LidState </State>
|
||||
<Mode> "No" </Mode>
|
||||
<Filename> "ROOT/taobin_project/image/topping2/bn_lid.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/topping2/bp_lid.png" </FilenamePress>
|
||||
<FilenameDisable> Var( DirImage + "/bd_lid.png" ) </FilenameDisable>
|
||||
<EventClick>
|
||||
SAVELOG "Click LID pic"
|
||||
If LidState = "Press" Then
|
||||
Var LidState = "Enable"
|
||||
|
||||
Var Seeker.thankLidFlag = 0
|
||||
|
||||
Else
|
||||
Var LidState = "Press"
|
||||
|
||||
Var Seeker.thankLidFlag = 1
|
||||
|
||||
EndIf
|
||||
|
||||
|
||||
DEBUGVAR SugarState1
|
||||
Refresh
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 896 </X>
|
||||
<Y> 155 </Y>
|
||||
<State> LidState </State>
|
||||
<Mode> "No" </Mode>
|
||||
<Filename> "ROOT/taobin_project/image/topping2/cb_notcheck.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/topping2/cb_checked.png" </FilenamePress>
|
||||
<FilenameDisable> Var( DirImage + "/cb_checkdis.png" ) </FilenameDisable>
|
||||
<EventClick>
|
||||
SAVELOG "Click LID cb"
|
||||
If LidState = "Press" Then
|
||||
Var LidState = "Enable"
|
||||
|
||||
Var Seeker.thankLidFlag = 0
|
||||
|
||||
Else
|
||||
Var LidState = "Press"
|
||||
|
||||
Var Seeker.thankLidFlag = 1
|
||||
|
||||
EndIf
|
||||
Refresh
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Image>
|
||||
<State> StrawDeactiveButton </State>
|
||||
<X> 602 </X>
|
||||
<Y> 64 </Y>
|
||||
<Filename> Var( DirImage + "/text20.png" ) </Filename>
|
||||
</Image>
|
||||
|
||||
|
||||
<Image>
|
||||
<State> LidDeactiveButton </State>
|
||||
<X> 602 </X>
|
||||
<Y> 150 </Y>
|
||||
<Filename> Var( DirImage + "/text21.png" ) </Filename>
|
||||
</Image>
|
||||
|
||||
</Block>
|
||||
|
||||
;-END
|
||||
;
|
||||
;
|
||||
|
||||
;
|
||||
;
|
||||
;
|
||||
|
|
@ -4290,7 +4307,8 @@
|
|||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
BackslashNToEnter showname
|
||||
BackslashNToEnter showdesc
|
||||
CRLFToSpace showname
|
||||
CRLFToSpace showdesc
|
||||
DEBUGVAR showname
|
||||
|
|
@ -4325,10 +4343,21 @@
|
|||
<State> ConfirmDrinkButtonState </State>
|
||||
<X> 526 </X>
|
||||
<Y> 1785 </Y>
|
||||
<Filename> Var( DirImage + "/please_wait.png" )</Filename>
|
||||
<Filename> "ROOT/taobin_project/image/topping/topping2/bd_next2.png"</Filename>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
|
||||
<Text>
|
||||
<State> ConfirmDrinkButtonState </State>
|
||||
<X> 0 </X>
|
||||
<Y> 18 </Y>
|
||||
<Align> Center </Align>
|
||||
<Width> 512 </Width>
|
||||
<Font> KanitTTF </Font>
|
||||
<Size> 36 </Size>
|
||||
<Color> 0x746253 </Color>
|
||||
<Value> ShowTextSelfTestCountDown </Value>
|
||||
</Text>
|
||||
</Button>
|
||||
|
||||
; zone
|
||||
|
|
|
|||
|
|
@ -660,7 +660,13 @@
|
|||
<Y> info_11Y </Y>
|
||||
<Filename> "ROOT/taobin_project/image/tab_1.png" </Filename>
|
||||
<EventClick>
|
||||
RunApp "com.NDF.taobin"
|
||||
Var GameInstalled = "-"
|
||||
CheckApp "com.NDF.taobin" GameInstalled
|
||||
DEBUGVAR GameInstalled
|
||||
|
||||
If GameInstalled = "true" Then
|
||||
RunApp "com.NDF.taobin"
|
||||
EndIf
|
||||
|
||||
</EventClick>
|
||||
</Image>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue