do hurr
This commit is contained in:
parent
585bef4d26
commit
944dfd78e0
11 changed files with 142 additions and 28 deletions
|
|
@ -493,7 +493,7 @@
|
|||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-03-03-0032.Button,Disable=Invisible,$Sum1203030032) </State>
|
||||
<State> Flag( 12-03-03-0032.Button, ,$Sum1203030032) </State>
|
||||
<Button>
|
||||
<State> $Sum1203030032 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_super_oreo_volcano.png" </Filename>
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
<Button>
|
||||
<X> 42 </X>
|
||||
<Y> 520 </Y>
|
||||
<State> BigButtonEnable </State>
|
||||
<State> Flag( 12-03-03-0032.Button, ,$Sum1203030032) </State>
|
||||
<Filename>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
|
|
@ -24,6 +24,17 @@
|
|||
Var return = "ROOT/taobin_project/image/event/bp_back_to_school.png"
|
||||
EndIf
|
||||
)
|
||||
</FilenamePress>
|
||||
<FilenameDisable>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
|
||||
Var return = "ROOT/taobin_project/image/event/bn_back_to_school_en.png"
|
||||
|
||||
Else
|
||||
Var return = "ROOT/taobin_project/image/event/bn_back_to_school.png"
|
||||
EndIf
|
||||
)
|
||||
</FilenameDisable>
|
||||
<EventOnClick>
|
||||
Var NameDrink = "OREO SMOOTHIE VOLCANO"
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
<Button>
|
||||
<X> 42 </X>
|
||||
<Y> 520 </Y>
|
||||
<State> BigButtonEnable </State>
|
||||
<State> Flag( 12-03-03-0032.Button, ,$Sum1203030032) </State>
|
||||
<Filename>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
|
|
@ -24,6 +24,17 @@
|
|||
Var return = "ROOT/taobin_project/image/event/bp_oreo_buy2_save_move.png"
|
||||
EndIf
|
||||
)
|
||||
</FilenamePress>
|
||||
<FilenameDisable>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
|
||||
Var return = "ROOT/taobin_project/image/event/bn_oreo_buy2_save_move_en.png"
|
||||
|
||||
Else
|
||||
Var return = "ROOT/taobin_project/image/event/bn_oreo_buy2_save_move.png"
|
||||
EndIf
|
||||
)
|
||||
</FilenameDisable>
|
||||
<EventOnClick>
|
||||
Var NameDrink = "OREO SMOOTHIE VOLCANO"
|
||||
|
|
|
|||
|
|
@ -1068,7 +1068,7 @@
|
|||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-03-03-0032.Button,Disable=Invisible,$Sum1203030032) </State>
|
||||
<State> Flag( 12-03-03-0032.Button, ,$Sum1203030032) </State>
|
||||
<Button>
|
||||
<State> $Sum1203030032 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_super_oreo_volcano.png" </Filename>
|
||||
|
|
@ -8916,7 +8916,7 @@ LIMENADE SODA" </Value>
|
|||
<Button>
|
||||
<X> 42 </X>
|
||||
<Y> 520 </Y>
|
||||
<State> BigButtonEnable </State>
|
||||
<State> Flag( 12-03-03-0032.Button, ,$Sum1203030032) </State>
|
||||
<Filename>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
|
|
@ -8938,6 +8938,17 @@ LIMENADE SODA" </Value>
|
|||
Var return = "ROOT/taobin_project/image/event/bp_back_to_school.png"
|
||||
EndIf
|
||||
)
|
||||
</FilenamePress>
|
||||
<FilenameDisable>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
|
||||
Var return = "ROOT/taobin_project/image/event/bn_back_to_school_en.png"
|
||||
|
||||
Else
|
||||
Var return = "ROOT/taobin_project/image/event/bn_back_to_school.png"
|
||||
EndIf
|
||||
)
|
||||
</FilenameDisable>
|
||||
<EventOnClick>
|
||||
Var NameDrink = "OREO SMOOTHIE VOLCANO"
|
||||
|
|
|
|||
|
|
@ -1068,7 +1068,7 @@
|
|||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-03-03-0032.Button,Disable=Invisible,$Sum1203030032) </State>
|
||||
<State> Flag( 12-03-03-0032.Button, ,$Sum1203030032) </State>
|
||||
<Button>
|
||||
<State> $Sum1203030032 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_super_oreo_volcano.png" </Filename>
|
||||
|
|
@ -8916,7 +8916,7 @@ LIMENADE SODA" </Value>
|
|||
<Button>
|
||||
<X> 42 </X>
|
||||
<Y> 520 </Y>
|
||||
<State> BigButtonEnable </State>
|
||||
<State> Flag( 12-03-03-0032.Button, ,$Sum1203030032) </State>
|
||||
<Filename>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
|
|
@ -8938,6 +8938,17 @@ LIMENADE SODA" </Value>
|
|||
Var return = "ROOT/taobin_project/image/event/bp_oreo_buy2_save_move.png"
|
||||
EndIf
|
||||
)
|
||||
</FilenamePress>
|
||||
<FilenameDisable>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
|
||||
Var return = "ROOT/taobin_project/image/event/bn_oreo_buy2_save_move_en.png"
|
||||
|
||||
Else
|
||||
Var return = "ROOT/taobin_project/image/event/bn_oreo_buy2_save_move.png"
|
||||
EndIf
|
||||
)
|
||||
</FilenameDisable>
|
||||
<EventOnClick>
|
||||
Var NameDrink = "OREO SMOOTHIE VOLCANO"
|
||||
|
|
|
|||
|
|
@ -1,8 +1,40 @@
|
|||
|
||||
; zone promote
|
||||
If SongkranEnable = 1 Then
|
||||
Open "ROOT/taobin_project/xml/page_catalog_group_recommend3.xml"
|
||||
Else
|
||||
Open "ROOT/taobin_project/xml/page_catalog_group_recommend.xml"
|
||||
EndIf
|
||||
If OpenFromPageBoard = 1 Then
|
||||
|
||||
If SongkranEnable = 1 Then
|
||||
OpenInst 2 "ROOT/taobin_project/xml/page_catalog_group_recommend3.xml"
|
||||
Var OpenFromPageBoard = 0
|
||||
Else
|
||||
If OreoForFreeEnable = 1 Then
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/event/page_recommend_backToSchool.xml"
|
||||
Var OpenFromPageBoard = 0
|
||||
EndIf
|
||||
|
||||
If OreoDueEnable = 1 Then
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/event/page_recommend_oreo_buy2_save_more.xml"
|
||||
Var OpenFromPageBoard = 0
|
||||
EndIf
|
||||
|
||||
If OpenFromPageBoard = 1 Then
|
||||
OpenInst 2 "ROOT/taobin_project/xml/page_catalog_group_recommend.xml"
|
||||
EndIf
|
||||
EndIf
|
||||
Else
|
||||
|
||||
If SongkranEnable = 1 Then
|
||||
Open "ROOT/taobin_project/xml/page_catalog_group_recommend3.xml"
|
||||
Else
|
||||
If OreoForFreeEnable = 1 Then
|
||||
Open "/mnt/sdcard/coffeevending/taobin_project/xml/event/page_recommend_backToSchool.xml"
|
||||
EndIf
|
||||
|
||||
If OreoDueEnable = 1 Then
|
||||
Open "/mnt/sdcard/coffeevending/taobin_project/xml/event/page_recommend_oreo_buy2_save_more.xml"
|
||||
EndIf
|
||||
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_catalog_group_recommend.xml"
|
||||
EndIf
|
||||
EndIf
|
||||
Var OpenFromPageBoard = 0
|
||||
|
|
|
|||
|
|
@ -8,6 +8,7 @@ Var BackToSchoolForFreeEnable = 0
|
|||
|
||||
Var OreoForFreeEnable = 0
|
||||
Var OreoDueEnable = 0
|
||||
|
||||
If SystemDateMonthInt = 5 Then
|
||||
If SystemDateDayInt = 6 Then
|
||||
Var OreoDueEnable = 1
|
||||
|
|
@ -49,7 +50,6 @@ If SystemDateMonthInt = 5 Then
|
|||
EndIf
|
||||
EndIf
|
||||
|
||||
DEBUGVAR OreoDueEnable
|
||||
If OreoDueEnable = 0 Then
|
||||
Var $12-03-03-0009-alter.Button = "Invisible"
|
||||
Else
|
||||
|
|
@ -58,10 +58,26 @@ Else
|
|||
EndIf
|
||||
|
||||
|
||||
Var $12-03-03-0009-alter.Price = 70
|
||||
If BoxID = 172644 Then
|
||||
Var OreoDueEnable = 1
|
||||
EndIf
|
||||
|
||||
Var $12-03-03-0009-alter.NameE = $12-03-03-0009.NameE
|
||||
Var $12-03-03-0009-alter.descriptionE = $12-03-03-0009.descriptionE
|
||||
Var $12-03-03-0009-alter.Name = $12-03-03-0009.Name
|
||||
Var $12-03-03-0009-alter.description = $12-03-03-0009.description
|
||||
If BoxID = 172527 Then
|
||||
Var OreoDueEnable = 1
|
||||
EndIf
|
||||
If BoxID = 173149 Then
|
||||
Var OreoForFreeEnable = 1
|
||||
EndIf
|
||||
|
||||
Var SoundBackToSchoolEnable = 1
|
||||
|
||||
|
||||
DEBUGVAR OreoDueEnable
|
||||
DEBUGVAR OreoForFreeEnable
|
||||
|
||||
;Var $12-03-03-0009-alter.Price = 70
|
||||
;Var $12-03-03-0009-alter.NameE = $12-03-03-0009.NameE
|
||||
;Var $12-03-03-0009-alter.descriptionE = $12-03-03-0009.descriptionE
|
||||
;Var $12-03-03-0009-alter.Name = $12-03-03-0009.Name
|
||||
;Var $12-03-03-0009-alter.description = $12-03-03-0009.description
|
||||
|
||||
|
|
|
|||
|
|
@ -744,6 +744,19 @@
|
|||
DEBUGVAR Not#CameraSettingStatus
|
||||
|
||||
RootLayoutVisible 3 "hide"
|
||||
|
||||
; Init default
|
||||
If SoundBackToSchoolType = "" Then
|
||||
Var SoundBackToSchoolType = 1
|
||||
EndIf
|
||||
If SoundBackToSchoolType = 1 Then
|
||||
Var SoundBackToSchoolType = 2
|
||||
Else
|
||||
Var SoundBackToSchoolType = 1
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
</EventOpen>
|
||||
|
||||
<EventUnitTest1>
|
||||
|
|
@ -861,12 +874,10 @@
|
|||
|
||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert2.xml"
|
||||
|
||||
|
||||
If SongkranEnable = 1 Then
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog_group_recommend3.xml"
|
||||
Else
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog_group_recommend.xml"
|
||||
EndIf
|
||||
|
||||
Var OpenFromPageBoard = 1
|
||||
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/event/script_common_for_open_promotion_xml.ev"
|
||||
|
||||
|
||||
Machine DoorClose
|
||||
|
||||
|
|
|
|||
|
|
@ -44,7 +44,8 @@
|
|||
|
||||
|
||||
Var text_price_6 = ""
|
||||
|
||||
|
||||
; zone sound
|
||||
|
||||
; Clear value
|
||||
Topping "clear" "-"
|
||||
|
|
@ -77,6 +78,16 @@
|
|||
Var PlaySoundLag = "/mnt/sdcard/coffeevending/taobin_project/sound_thai/sublang/south/taobin_sawade.wav"
|
||||
EndIf
|
||||
|
||||
If SoundBackToSchoolEnable = 1 Then
|
||||
|
||||
If SoundBackToSchoolType = 1 Then
|
||||
Var RootPathSoundBackToSchool = "/mnt/sdcard/coffeevending/taobin_project/sound_thai/boy/"
|
||||
EndIf
|
||||
If SoundBackToSchoolType = 2 Then
|
||||
Var RootPathSoundBackToSchool = "/mnt/sdcard/coffeevending/taobin_project/sound_thai/girl/"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
Play PlaySoundLag
|
||||
|
||||
Var DirImageCart = "ROOT/taobin_project/image/cart_th"
|
||||
|
|
|
|||
|
|
@ -1068,7 +1068,7 @@
|
|||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-03-03-0032.Button,Disable=Invisible,$Sum1203030032) </State>
|
||||
<State> Flag( 12-03-03-0032.Button, ,$Sum1203030032) </State>
|
||||
<Button>
|
||||
<State> $Sum1203030032 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_super_oreo_volcano.png" </Filename>
|
||||
|
|
|
|||
|
|
@ -108,8 +108,8 @@
|
|||
Var RandomPromotionMyworld = 0
|
||||
Var RandomSalePackage = 0
|
||||
|
||||
Var XMLPageVersion = "7.16"
|
||||
Var XMLPageVersionInt = 716
|
||||
Var XMLPageVersion = "7.17"
|
||||
Var XMLPageVersionInt = 717
|
||||
</EventOpen>
|
||||
|
||||
<Text>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue