SGP: postpone event season_pass
This commit is contained in:
parent
0ad55e86d9
commit
8d0133c6b3
4 changed files with 15 additions and 12 deletions
2
inter/sgp/animation01/push.sh
Executable file
2
inter/sgp/animation01/push.sh
Executable file
|
|
@ -0,0 +1,2 @@
|
||||||
|
#!/bin/zsh
|
||||||
|
adb push play_list.tsv /sdcard/coffeevending/taobin_project/animation01/
|
||||||
|
|
@ -8,22 +8,24 @@ Var SeasonTrick = CountryRootPath + "xml/event/season_pass/"
|
||||||
|
|
||||||
If SystemDateMonthInt = 7 Then
|
If SystemDateMonthInt = 7 Then
|
||||||
|
|
||||||
If SystemDateDayInt >= 22 Then
|
If SystemDateDayInt >= 29 Then
|
||||||
Var Season1 = "true"
|
Var Season1 = "true"
|
||||||
|
Else
|
||||||
|
Var Season1 = "false"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
If SystemDateMonthInt = 8 Then
|
If SystemDateMonthInt = 8 Then
|
||||||
|
|
||||||
If SystemDateDayInt <= 4 Then
|
If SystemDateDayInt <= 11 Then
|
||||||
Var Season1 = "true"
|
Var Season1 = "true"
|
||||||
Else
|
Else
|
||||||
Var Season1 = "false"
|
Var Season1 = "false"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
If SystemDateDayInt > 4 Then
|
If SystemDateDayInt > 11 Then
|
||||||
If SystemDateDayInt < 19 Then
|
If SystemDateDayInt < 26 Then
|
||||||
Var Season2 = "true"
|
Var Season2 = "true"
|
||||||
Else
|
Else
|
||||||
Var Season2 = "false"
|
Var Season2 = "false"
|
||||||
|
|
@ -36,7 +38,7 @@ EndIf
|
||||||
|
|
||||||
|
|
||||||
If SystemDateMonthInt = 9 Then
|
If SystemDateMonthInt = 9 Then
|
||||||
If SystemDateDayInt = 1 Then
|
If SystemDateDayInt < 9 Then
|
||||||
Var Season3 = "true"
|
Var Season3 = "true"
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
|
@ -68,5 +70,3 @@ Else
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
; Singapore
|
; Singapore
|
||||||
|
|
||||||
|
|
||||||
;DEBUGVAR SystemDateMonthInt
|
;DEBUGVAR SystemDateMonthInt
|
||||||
|
|
@ -10,7 +10,7 @@
|
||||||
Var SeasonPassMode = 0
|
Var SeasonPassMode = 0
|
||||||
|
|
||||||
If SystemDateMonthInt = 7 Then
|
If SystemDateMonthInt = 7 Then
|
||||||
If SystemDateDayInt > 21 Then
|
If SystemDateDayInt > 28 Then
|
||||||
Var SeasonPassMode = 1
|
Var SeasonPassMode = 1
|
||||||
Else
|
Else
|
||||||
Var SeasonPassMode = 0
|
Var SeasonPassMode = 0
|
||||||
|
|
@ -23,7 +23,7 @@ EndIf
|
||||||
|
|
||||||
If SystemDateMonthInt = 9 Then
|
If SystemDateMonthInt = 9 Then
|
||||||
Var SeasonPassMode = 1
|
Var SeasonPassMode = 1
|
||||||
If SystemDateDayInt > 1 Then
|
If SystemDateDayInt > 8 Then
|
||||||
Var SeasonPassMode = 0
|
Var SeasonPassMode = 0
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
|
@ -36,4 +36,4 @@ EndIf
|
||||||
If SeasonPassMode = 1 Then
|
If SeasonPassMode = 1 Then
|
||||||
Var SeasonPassFile = CountryRootPath + "xml/event/season_pass/season_pass.ev"
|
Var SeasonPassFile = CountryRootPath + "xml/event/season_pass/season_pass.ev"
|
||||||
TRY SeasonPassFile
|
TRY SeasonPassFile
|
||||||
EndIf
|
EndIf
|
||||||
|
|
|
||||||
|
|
@ -589,6 +589,7 @@
|
||||||
|
|
||||||
If MOVE_CUP_TO_DOOR = "true" Then
|
If MOVE_CUP_TO_DOOR = "true" Then
|
||||||
Var MOVE_CUP_TO_DOOR = "false"
|
Var MOVE_CUP_TO_DOOR = "false"
|
||||||
|
Var SetPercent100 = 1
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
If BREW_COUNT_DOWN_FROM_APP = "on" Then
|
If BREW_COUNT_DOWN_FROM_APP = "on" Then
|
||||||
|
|
@ -1478,7 +1479,7 @@
|
||||||
|
|
||||||
If MachineStage = "drink-success" Then
|
If MachineStage = "drink-success" Then
|
||||||
Var MachineState_Result = 1
|
Var MachineState_Result = 1
|
||||||
Var SetPercent100 = 1
|
;Var SetPercent100 = 1
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue