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>
|
<MarginTop> 22 </MarginTop>
|
||||||
<Width> 225 </Width>
|
<Width> 225 </Width>
|
||||||
<Height> 296 </Height>
|
<Height> 296 </Height>
|
||||||
<State> Flag( 12-03-03-0032.Button,Disable=Invisible,$Sum1203030032) </State>
|
<State> Flag( 12-03-03-0032.Button, ,$Sum1203030032) </State>
|
||||||
<Button>
|
<Button>
|
||||||
<State> $Sum1203030032 </State>
|
<State> $Sum1203030032 </State>
|
||||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_super_oreo_volcano.png" </Filename>
|
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_super_oreo_volcano.png" </Filename>
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
<Button>
|
<Button>
|
||||||
<X> 42 </X>
|
<X> 42 </X>
|
||||||
<Y> 520 </Y>
|
<Y> 520 </Y>
|
||||||
<State> BigButtonEnable </State>
|
<State> Flag( 12-03-03-0032.Button, ,$Sum1203030032) </State>
|
||||||
<Filename>
|
<Filename>
|
||||||
eval(
|
eval(
|
||||||
If show_eng = "true" Then
|
If show_eng = "true" Then
|
||||||
|
|
@ -24,6 +24,17 @@
|
||||||
Var return = "ROOT/taobin_project/image/event/bp_back_to_school.png"
|
Var return = "ROOT/taobin_project/image/event/bp_back_to_school.png"
|
||||||
EndIf
|
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>
|
</FilenameDisable>
|
||||||
<EventOnClick>
|
<EventOnClick>
|
||||||
Var NameDrink = "OREO SMOOTHIE VOLCANO"
|
Var NameDrink = "OREO SMOOTHIE VOLCANO"
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
<Button>
|
<Button>
|
||||||
<X> 42 </X>
|
<X> 42 </X>
|
||||||
<Y> 520 </Y>
|
<Y> 520 </Y>
|
||||||
<State> BigButtonEnable </State>
|
<State> Flag( 12-03-03-0032.Button, ,$Sum1203030032) </State>
|
||||||
<Filename>
|
<Filename>
|
||||||
eval(
|
eval(
|
||||||
If show_eng = "true" Then
|
If show_eng = "true" Then
|
||||||
|
|
@ -24,6 +24,17 @@
|
||||||
Var return = "ROOT/taobin_project/image/event/bp_oreo_buy2_save_move.png"
|
Var return = "ROOT/taobin_project/image/event/bp_oreo_buy2_save_move.png"
|
||||||
EndIf
|
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>
|
</FilenameDisable>
|
||||||
<EventOnClick>
|
<EventOnClick>
|
||||||
Var NameDrink = "OREO SMOOTHIE VOLCANO"
|
Var NameDrink = "OREO SMOOTHIE VOLCANO"
|
||||||
|
|
|
||||||
|
|
@ -1068,7 +1068,7 @@
|
||||||
<MarginTop> 22 </MarginTop>
|
<MarginTop> 22 </MarginTop>
|
||||||
<Width> 225 </Width>
|
<Width> 225 </Width>
|
||||||
<Height> 296 </Height>
|
<Height> 296 </Height>
|
||||||
<State> Flag( 12-03-03-0032.Button,Disable=Invisible,$Sum1203030032) </State>
|
<State> Flag( 12-03-03-0032.Button, ,$Sum1203030032) </State>
|
||||||
<Button>
|
<Button>
|
||||||
<State> $Sum1203030032 </State>
|
<State> $Sum1203030032 </State>
|
||||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_super_oreo_volcano.png" </Filename>
|
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_super_oreo_volcano.png" </Filename>
|
||||||
|
|
@ -8916,7 +8916,7 @@ LIMENADE SODA" </Value>
|
||||||
<Button>
|
<Button>
|
||||||
<X> 42 </X>
|
<X> 42 </X>
|
||||||
<Y> 520 </Y>
|
<Y> 520 </Y>
|
||||||
<State> BigButtonEnable </State>
|
<State> Flag( 12-03-03-0032.Button, ,$Sum1203030032) </State>
|
||||||
<Filename>
|
<Filename>
|
||||||
eval(
|
eval(
|
||||||
If show_eng = "true" Then
|
If show_eng = "true" Then
|
||||||
|
|
@ -8938,6 +8938,17 @@ LIMENADE SODA" </Value>
|
||||||
Var return = "ROOT/taobin_project/image/event/bp_back_to_school.png"
|
Var return = "ROOT/taobin_project/image/event/bp_back_to_school.png"
|
||||||
EndIf
|
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>
|
</FilenameDisable>
|
||||||
<EventOnClick>
|
<EventOnClick>
|
||||||
Var NameDrink = "OREO SMOOTHIE VOLCANO"
|
Var NameDrink = "OREO SMOOTHIE VOLCANO"
|
||||||
|
|
|
||||||
|
|
@ -1068,7 +1068,7 @@
|
||||||
<MarginTop> 22 </MarginTop>
|
<MarginTop> 22 </MarginTop>
|
||||||
<Width> 225 </Width>
|
<Width> 225 </Width>
|
||||||
<Height> 296 </Height>
|
<Height> 296 </Height>
|
||||||
<State> Flag( 12-03-03-0032.Button,Disable=Invisible,$Sum1203030032) </State>
|
<State> Flag( 12-03-03-0032.Button, ,$Sum1203030032) </State>
|
||||||
<Button>
|
<Button>
|
||||||
<State> $Sum1203030032 </State>
|
<State> $Sum1203030032 </State>
|
||||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_super_oreo_volcano.png" </Filename>
|
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_super_oreo_volcano.png" </Filename>
|
||||||
|
|
@ -8916,7 +8916,7 @@ LIMENADE SODA" </Value>
|
||||||
<Button>
|
<Button>
|
||||||
<X> 42 </X>
|
<X> 42 </X>
|
||||||
<Y> 520 </Y>
|
<Y> 520 </Y>
|
||||||
<State> BigButtonEnable </State>
|
<State> Flag( 12-03-03-0032.Button, ,$Sum1203030032) </State>
|
||||||
<Filename>
|
<Filename>
|
||||||
eval(
|
eval(
|
||||||
If show_eng = "true" Then
|
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"
|
Var return = "ROOT/taobin_project/image/event/bp_oreo_buy2_save_move.png"
|
||||||
EndIf
|
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>
|
</FilenameDisable>
|
||||||
<EventOnClick>
|
<EventOnClick>
|
||||||
Var NameDrink = "OREO SMOOTHIE VOLCANO"
|
Var NameDrink = "OREO SMOOTHIE VOLCANO"
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,40 @@
|
||||||
|
|
||||||
; zone promote
|
; zone promote
|
||||||
If SongkranEnable = 1 Then
|
If OpenFromPageBoard = 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 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 OreoForFreeEnable = 0
|
||||||
Var OreoDueEnable = 0
|
Var OreoDueEnable = 0
|
||||||
|
|
||||||
If SystemDateMonthInt = 5 Then
|
If SystemDateMonthInt = 5 Then
|
||||||
If SystemDateDayInt = 6 Then
|
If SystemDateDayInt = 6 Then
|
||||||
Var OreoDueEnable = 1
|
Var OreoDueEnable = 1
|
||||||
|
|
@ -49,7 +50,6 @@ If SystemDateMonthInt = 5 Then
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
DEBUGVAR OreoDueEnable
|
|
||||||
If OreoDueEnable = 0 Then
|
If OreoDueEnable = 0 Then
|
||||||
Var $12-03-03-0009-alter.Button = "Invisible"
|
Var $12-03-03-0009-alter.Button = "Invisible"
|
||||||
Else
|
Else
|
||||||
|
|
@ -58,10 +58,26 @@ Else
|
||||||
EndIf
|
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
|
If BoxID = 172527 Then
|
||||||
Var $12-03-03-0009-alter.descriptionE = $12-03-03-0009.descriptionE
|
Var OreoDueEnable = 1
|
||||||
Var $12-03-03-0009-alter.Name = $12-03-03-0009.Name
|
EndIf
|
||||||
Var $12-03-03-0009-alter.description = $12-03-03-0009.description
|
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
|
DEBUGVAR Not#CameraSettingStatus
|
||||||
|
|
||||||
RootLayoutVisible 3 "hide"
|
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>
|
</EventOpen>
|
||||||
|
|
||||||
<EventUnitTest1>
|
<EventUnitTest1>
|
||||||
|
|
@ -862,11 +875,9 @@
|
||||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert2.xml"
|
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert2.xml"
|
||||||
|
|
||||||
|
|
||||||
If SongkranEnable = 1 Then
|
Var OpenFromPageBoard = 1
|
||||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog_group_recommend3.xml"
|
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/event/script_common_for_open_promotion_xml.ev"
|
||||||
Else
|
|
||||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog_group_recommend.xml"
|
|
||||||
EndIf
|
|
||||||
|
|
||||||
Machine DoorClose
|
Machine DoorClose
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -45,6 +45,7 @@
|
||||||
|
|
||||||
Var text_price_6 = ""
|
Var text_price_6 = ""
|
||||||
|
|
||||||
|
; zone sound
|
||||||
|
|
||||||
; Clear value
|
; Clear value
|
||||||
Topping "clear" "-"
|
Topping "clear" "-"
|
||||||
|
|
@ -77,6 +78,16 @@
|
||||||
Var PlaySoundLag = "/mnt/sdcard/coffeevending/taobin_project/sound_thai/sublang/south/taobin_sawade.wav"
|
Var PlaySoundLag = "/mnt/sdcard/coffeevending/taobin_project/sound_thai/sublang/south/taobin_sawade.wav"
|
||||||
EndIf
|
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
|
Play PlaySoundLag
|
||||||
|
|
||||||
Var DirImageCart = "ROOT/taobin_project/image/cart_th"
|
Var DirImageCart = "ROOT/taobin_project/image/cart_th"
|
||||||
|
|
|
||||||
|
|
@ -1068,7 +1068,7 @@
|
||||||
<MarginTop> 22 </MarginTop>
|
<MarginTop> 22 </MarginTop>
|
||||||
<Width> 225 </Width>
|
<Width> 225 </Width>
|
||||||
<Height> 296 </Height>
|
<Height> 296 </Height>
|
||||||
<State> Flag( 12-03-03-0032.Button,Disable=Invisible,$Sum1203030032) </State>
|
<State> Flag( 12-03-03-0032.Button, ,$Sum1203030032) </State>
|
||||||
<Button>
|
<Button>
|
||||||
<State> $Sum1203030032 </State>
|
<State> $Sum1203030032 </State>
|
||||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_super_oreo_volcano.png" </Filename>
|
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_super_oreo_volcano.png" </Filename>
|
||||||
|
|
|
||||||
|
|
@ -108,8 +108,8 @@
|
||||||
Var RandomPromotionMyworld = 0
|
Var RandomPromotionMyworld = 0
|
||||||
Var RandomSalePackage = 0
|
Var RandomSalePackage = 0
|
||||||
|
|
||||||
Var XMLPageVersion = "7.16"
|
Var XMLPageVersion = "7.17"
|
||||||
Var XMLPageVersionInt = 716
|
Var XMLPageVersionInt = 717
|
||||||
</EventOpen>
|
</EventOpen>
|
||||||
|
|
||||||
<Text>
|
<Text>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue