This commit is contained in:
wanlop run 2025-05-08 10:22:51 +07:00
commit 58e5a62690
692 changed files with 76536 additions and 81638 deletions

View file

@ -178,7 +178,7 @@
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-02-02-0099.Button,DateTimeStart="2025/04/01T00:00:00",$Sum1202020099) </State>
<State> Flag( 12-02-02-0099.Button,DateTimeStart="2025/04/01T00:00:00",DateTimeEnd="2025/05/01T00:00:00",$Sum1202020099) </State>
<Button>
<State> $Sum1202020099 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_Pure_Matcha_X3.png" </Filename>
@ -429,7 +429,7 @@
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-03-03-0103.Button,DateTimeStart="2025/04/01T00:00:00",Var=KingdomThaiTeaPro,$Sum1203030103) </State>
<State> Flag( 12-03-03-0103.Button,DateTimeStart="2025/04/01T00:00:00",DateTimeEnd="2025/05/01T00:00:00",Var=KingdomThaiTeaPro,$Sum1203030103) </State>
<Button>
<State> $Sum1203030103 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_Coconut_Milk_Smoothie.png" </Filename>
@ -684,7 +684,7 @@ And Ice" </Value>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-03-03-0106.Button,DateTimeStart="2025/04/01T00:00:00",Var=KingdomThaiTeaPro,$Sum1203030106) </State>
<State> Flag( 12-03-03-0106.Button,DateTimeStart="2025/04/01T00:00:00",DateTimeEnd="2025/05/01T00:00:00",Var=KingdomThaiTeaPro,$Sum1203030106) </State>
<Button>
<State> $Sum1203030106 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_Coconut_Milk_Matcha_Smoothie.png" </Filename>
@ -939,7 +939,7 @@ Sugar And Ice" </Value>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-01-02-0090.Button,DateTimeStart="2025/04/01T00:00:00",Var=KingdomThaiTeaPro,$Sum1201020090) </State>
<State> Flag( 12-01-02-0090.Button,DateTimeStart="2025/04/01T00:00:00",DateTimeEnd="2025/05/01T00:00:00",Var=KingdomThaiTeaPro,$Sum1201020090) </State>
<Button>
<State> $Sum1201020090 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_Oliang.png" </Filename>
@ -1188,7 +1188,7 @@ Sugar And Ice" </Value>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-21-02-0090.Button,DateTimeStart="2025/04/01T00:00:00",Var=KingdomThaiTeaPro,$Sum1221020090) </State>
<State> Flag( 12-21-02-0090.Button,DateTimeStart="2025/04/01T00:00:00",DateTimeEnd="2025/05/01T00:00:00",Var=KingdomThaiTeaPro,$Sum1221020090) </State>
<Button>
<State> $Sum1221020090 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_Oliang.png" </Filename>
@ -5739,9 +5739,9 @@ Volcano" </Value>
<State> Flag( 12-05-02-0143.Button,12-05-03-0143.Button,$Sum12050201431205030143) </State>
<Button>
<State> $Sum12050201431205030143 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_energy_drink_soda_Extra_boost_energy.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_iced_energy_drink_soda_Extra_boost_energy.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_iced_energy_drink_soda_Extra_boost_energy.png" </FilenameDisable>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_energy_drink_soda_Extra.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_iced_energy_drink_soda_Extra.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_iced_energy_drink_soda_Extra.png" </FilenameDisable>
<OverlayImage> xmlpro( 12-05-03-0143, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
@ -5750,7 +5750,7 @@ Volcano" </Value>
Var NameDrinkTH = "เต่าพลังโซดา (เพิ่มปริมาณ)"
Var DrinkDescriptionTH = "เครื่องดื่มเต่าทรงพลัง โซดา และน้ำแข็ง (มีคาเฟอีน)"
Var DrinkDescription = "Medicine Drink, Soda, Ice"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_iced_energy_drink_soda_Extra_boost_energy.png"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_iced_energy_drink_soda_Extra.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $-.Price
Var PriceD2 = $12-05-02-0143.Price

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,30 @@
[
{
"name": "school_ovaltine",
"template": "/event/promotion_video_template.inc",
"config": {
"normal_eng": "ROOT/taobin_project/image/event/school_ovaltine/school_ovaltine.png",
"normal_thai": "ROOT/taobin_project/image/event/school_ovaltine/school_ovaltine.png",
"press_eng": "ROOT/taobin_project/image/event/school_ovaltine/school_ovaltine.png",
"press_thai": "ROOT/taobin_project/image/event/school_ovaltine/school_ovaltine.png",
"disable_eng": "ROOT/taobin_project/image/event/school_ovaltine/school_ovaltine.png",
"disable_thai": "ROOT/taobin_project/image/event/school_ovaltine/school_ovaltine.png",
"video_eng": "ROOT/taobin_project/image/event/school_ovaltine/school_ovaltine.mp4",
"video_thai": "ROOT/taobin_project/image/event/school_ovaltine/school_ovaltine.mp4",
"event_on_click": "ROOT/taobin_project/xml/page_catalog_group_pro_school_ovaltine.xml"
}
},
{
"name": "oreo_volcano",
"template": "/event/promotion_template.inc",
"config": {
"normal_eng": "ROOT/taobin_project/image/event/oreo_volcano/oreo_volcano_banner.png",
"normal_thai": "ROOT/taobin_project/image/event/oreo_volcano/oreo_volcano_banner.png",
"press_eng": "ROOT/taobin_project/image/event/oreo_volcano/oreo_volcano_banner.png",
"press_thai": "ROOT/taobin_project/image/event/oreo_volcano/oreo_volcano_banner.png",
"disable_eng": "ROOT/taobin_project/image/event/oreo_volcano/oreo_volcano_banner.png",
"disable_thai": "ROOT/taobin_project/image/event/oreo_volcano/oreo_volcano_banner.png",
"event_on_click": "ROOT/taobin_project/xml/page_catalog_group_pro_oreo_volcano.xml"
}
}
]

View file

@ -1 +1 @@
/event/promotion_kingdom_thai_tea.xml
/event/promotion_school_ovaltine.xml

File diff suppressed because it is too large Load diff

View file

@ -68,7 +68,7 @@
</Script>
;dummy_layout.inc
; menu_new_list 61
; menu_new_list 62
; ==================> Len = 16
; - 12-02-02-0099 -
<Block>
@ -76,7 +76,7 @@
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-02-02-0099.Button,DateTimeStart="2025/04/01T00:00:00",Disable=Invisible,$Sum1202020099) </State>
<State> Flag( 12-02-02-0099.Button,DateTimeStart="2025/04/01T00:00:00",DateTimeEnd="2025/05/01T00:00:00",Disable=Invisible,$Sum1202020099) </State>
<Button>
<State> $Sum1202020099 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_Pure_Matcha_X3.png" </Filename>
@ -327,7 +327,7 @@
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-03-03-0103.Button,DateTimeStart="2025/04/01T00:00:00",Var=KingdomThaiTeaPro,Disable=Invisible,$Sum1203030103) </State>
<State> Flag( 12-03-03-0103.Button,DateTimeStart="2025/04/01T00:00:00",DateTimeEnd="2025/05/01T00:00:00",Var=KingdomThaiTeaPro,Disable=Invisible,$Sum1203030103) </State>
<Button>
<State> $Sum1203030103 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_Coconut_Milk_Smoothie.png" </Filename>
@ -582,7 +582,7 @@ And Ice" </Value>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-03-03-0106.Button,DateTimeStart="2025/04/01T00:00:00",Var=KingdomThaiTeaPro,Disable=Invisible,$Sum1203030106) </State>
<State> Flag( 12-03-03-0106.Button,DateTimeStart="2025/04/01T00:00:00",DateTimeEnd="2025/05/01T00:00:00",Var=KingdomThaiTeaPro,Disable=Invisible,$Sum1203030106) </State>
<Button>
<State> $Sum1203030106 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_Coconut_Milk_Matcha_Smoothie.png" </Filename>
@ -837,7 +837,7 @@ Sugar And Ice" </Value>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-01-02-0090.Button,DateTimeStart="2025/04/01T00:00:00",Var=KingdomThaiTeaPro,Disable=Invisible,$Sum1201020090) </State>
<State> Flag( 12-01-02-0090.Button,DateTimeStart="2025/04/01T00:00:00",DateTimeEnd="2025/05/01T00:00:00",Var=KingdomThaiTeaPro,Disable=Invisible,$Sum1201020090) </State>
<Button>
<State> $Sum1201020090 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_Oliang.png" </Filename>
@ -1086,7 +1086,7 @@ Sugar And Ice" </Value>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-21-02-0090.Button,DateTimeStart="2025/04/01T00:00:00",Var=KingdomThaiTeaPro,Disable=Invisible,$Sum1221020090) </State>
<State> Flag( 12-21-02-0090.Button,DateTimeStart="2025/04/01T00:00:00",DateTimeEnd="2025/05/01T00:00:00",Var=KingdomThaiTeaPro,Disable=Invisible,$Sum1221020090) </State>
<Button>
<State> $Sum1221020090 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_Oliang.png" </Filename>
@ -3091,19 +3091,19 @@ Volcano" </Value>
</Block>
; - - -
; ==================> Len = 16
; - 12-05-02-0133 -
; - 12-05-02-0133 12-05-03-0133
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-05-02-0133.Button,DateTimeStart="2025/05/01T00:00:00",Disable=Invisible,$Sum1205020133) </State>
<State> Flag( 12-05-02-0133.Button,12-05-03-0133.Button,DateTimeStart="2025/05/01T00:00:00",Disable=Invisible,$Sum12050201331205030133) </State>
<Button>
<State> $Sum1205020133 </State>
<State> $Sum12050201331205030133 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_pepsi_extra_catalog.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_iced_pepsi_extra_catalog.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_iced_pepsi_extra_catalog.png" </FilenameDisable>
<OverlayImage> xmlpro( 12-05-02-0133, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
<OverlayImage> xmlpro( 12-05-03-0133, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
@ -3115,14 +3115,14 @@ Volcano" </Value>
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $-.Price
Var PriceD2 = $12-05-02-0133.Price
Var PriceD3 = $-.Price
Var PriceD3 = $12-05-03-0133.Price
Var PD_CODE1 = "##-##-##-####"
Var PD_CODE2 = "12-05-02-0133"
Var PD_CODE3 = "##-##-##-####"
Var PD_CODE3 = "12-05-03-0133"
Var PD_STAGE_1 = "Disable2"
Var PD_STAGE_2 = $12-05-02-0133.Button
Var PD_STAGE_3 = "Disable2"
Var OverlayMenuFilter !assigned xmlpro( 12-05-02-0133, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
Var PD_STAGE_3 = $12-05-03-0133.Button
Var OverlayMenuFilter !assigned xmlpro( 12-05-03-0133, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
DEBUGVAR OverlayMenuFilter
Var SelectCountDrinkType = 0
Var DefaultDrinkType = 0
@ -3144,7 +3144,7 @@ Volcano" </Value>
If PD_STAGE_1 = "Enable" Then
Topping "Load" "-"
Else
Topping "Load" "-"
Topping "Load" "12-05-03-0133"
EndIf
EndIf
Var menu_name_eng_hot = $##-##-##-####.NameE
@ -3157,10 +3157,10 @@ Volcano" </Value>
Var menu_name_thai_cold = $12-05-02-0133.Name
Var menu_desc_thai_cold = $12-05-02-0133.description
Var menu_name_eng_blender = $##-##-##-####.NameE
Var menu_desc_eng_blender = $##-##-##-####.descriptionE
Var menu_name_thai_blender = $##-##-##-####.Name
Var menu_desc_thai_blender = $##-##-##-####.description
Var menu_name_eng_blender = $12-05-03-0133.NameE
Var menu_desc_eng_blender = $12-05-03-0133.descriptionE
Var menu_name_thai_blender = $12-05-03-0133.Name
Var menu_desc_thai_blender = $12-05-03-0133.description
DEBUGVAR PD_STAGE_1
DEBUGVAR PD_STAGE_2
@ -3260,7 +3260,7 @@ Volcano" </Value>
<Y> 264 </Y>
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
<State> "Invisible" </State>
<State> $12-05-03-0133.Button </State>
</Image>
<Text>
<X> 180 </X>
@ -3270,8 +3270,8 @@ Volcano" </Value>
<Font> KanitRegularTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> "Invisible" </State>
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
<State> $12-05-03-0133.Button </State>
<Value> StringFmt( $12-05-03-0133.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
</Text>
<Image>
<X> 81 </X>
@ -3296,10 +3296,10 @@ Volcano" </Value>
<Y> 117 </Y>
<State>
eval(
If $Sum1205020133 = "Disable" Then
If $Sum12050201331205030133 = "Disable" Then
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
STRCONTAIN "ERR" $12-05-02-0133.TAG tag2_is_disable
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
STRCONTAIN "ERR" $12-05-03-0133.TAG tag3_is_disable
Var return = "Invisible"
If tag1_is_disable = "true" Then
Var return = "Enable"
@ -3335,7 +3335,7 @@ Volcano" </Value>
<Font> MITRegularTTF </Font>
<Color> 0x5A5A5A </Color>
<Mode> "disable-show" </Mode>
<State> $Sum1205020133 </State>
<State> $Sum12050201331205030133 </State>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
@ -4874,7 +4874,7 @@ Volcano" </Value>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-03-03-0094.Button,Disable=Invisible,$Sum1203030094) </State>
<State> Flag( 12-03-03-0094.Button,DateTimeEnd="2025/05/19T00:00:00",Disable=Invisible,$Sum1203030094) </State>
<Button>
<State> $Sum1203030094 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_Ovaltine_cocoa_smoothie.png" </Filename>
@ -5118,6 +5118,262 @@ Volcano" </Value>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; - - -
; ==================> Len = 16
; 12-02-01-0083 12-02-02-0083 12-02-03-0083
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-02-01-0083.Button,12-02-02-0083.Button,12-02-03-0083.Button,DateTimeStart="2025/05/19T00:00:00",Disable=Invisible,$Sum120201008312020200831202030083) </State>
<Button>
<State> $Sum120201008312020200831202030083 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_southern_fusion_tea.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_southern_fusion_tea.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_southern_fusion_tea.png" </FilenameDisable>
<OverlayImage> xmlpro( 12-02-01-0083, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var NameDrink = "Southern Fusion Tea"
Var NameDrinkTH = "ชาผสานปักษ์ใต้"
Var DrinkDescriptionTH = "มัทฉะ ชาไทย นม และคาราเมล"
Var DrinkDescription = "Matcha , Thai Tea, Milk Caramel"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_southern_fusion_tea.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $12-02-01-0083.Price
Var PriceD2 = $12-02-02-0083.Price
Var PriceD3 = $12-02-03-0083.Price
Var PD_CODE1 = "12-02-01-0083"
Var PD_CODE2 = "12-02-02-0083"
Var PD_CODE3 = "12-02-03-0083"
Var PD_STAGE_1 = $12-02-01-0083.Button
Var PD_STAGE_2 = $12-02-02-0083.Button
Var PD_STAGE_3 = $12-02-03-0083.Button
Var OverlayMenuFilter !assigned xmlpro( 12-02-01-0083, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
DEBUGVAR OverlayMenuFilter
Var SelectCountDrinkType = 0
Var DefaultDrinkType = 0
If PD_STAGE_1 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 1
EndIf
If PD_STAGE_2 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 2
EndIf
If PD_STAGE_3 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 3
EndIf
If PD_STAGE_2 = "Enable" Then
Topping "Load" "12-02-02-0083"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "12-02-01-0083"
Else
Topping "Load" "12-02-03-0083"
EndIf
EndIf
Var menu_name_eng_hot = $12-02-01-0083.NameE
Var menu_desc_eng_hot = $12-02-01-0083.descriptionE
Var menu_name_thai_hot = $12-02-01-0083.Name
Var menu_desc_thai_hot = $12-02-01-0083.description
Var menu_name_eng_cold = $12-02-02-0083.NameE
Var menu_desc_eng_cold = $12-02-02-0083.descriptionE
Var menu_name_thai_cold = $12-02-02-0083.Name
Var menu_desc_thai_cold = $12-02-02-0083.description
Var menu_name_eng_blender = $12-02-03-0083.NameE
Var menu_desc_eng_blender = $12-02-03-0083.descriptionE
Var menu_name_thai_blender = $12-02-03-0083.Name
Var menu_desc_thai_blender = $12-02-03-0083.description
DEBUGVAR PD_STAGE_1
DEBUGVAR PD_STAGE_2
DEBUGVAR PD_STAGE_3
Var SelectDrinkType = 0
Var OpenFromInstMenuTab = 0
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
</EventOnClick>
</Button>
<Text>
<X> 16 </X>
<Y> 164 </Y>
<Size> 24 </Size>
<Width>220</Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showthaiText </State>
<Value> "ชาผสานปักษ์ใต้" </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 220 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showthaiText </State>
<Value> "มัทฉะ ชาไทย นม และคาราเมล" </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 164 </Y>
<Size> 22 </Size>
<Width>220</Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showengText </State>
<Value> "Southern Fusion
Tea" </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 220 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showengText </State>
<Value> "Matcha , Thai Tea, Milk Caramel" </Value>
</Text>
<Image>
<X> 16 </X>
<Y> 264 </Y>
<Filename> Var( DirImage2 + "option_deactive.png" ) </Filename>
</Image>
<Image>
<X> 16 </X>
<Y> 264 </Y>
<State> $12-02-01-0083.Button </State>
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
</Image>
<Text>
<X> 50 </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-02-01-0083.Button </State>
<Value> StringFmt( $12-02-01-0083.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
</Text>
<Image>
<X> 81 </X>
<Y> 264 </Y>
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
<State> $12-02-02-0083.Button </State>
</Image>
<Text>
<X> 115 </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-02-02-0083.Button </State>
<Value> StringFmt( $12-02-02-0083.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
</Text>
<Image>
<X> 146 </X>
<Y> 264 </Y>
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
<State> $12-02-03-0083.Button </State>
</Image>
<Text>
<X> 180 </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Font> KanitRegularTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-02-03-0083.Button </State>
<Value> StringFmt( $12-02-03-0083.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
</Text>
<Image>
<X> 81 </X>
<Y> 264 </Y>
<State>
eval(
If ICE_PROCESS_STATUS = 2 Then
If $Sum120201008312020200831202030083 = "Disable" Then
Var ice_tab_process_show = "Disable"
Else
Var ice_tab_process_show = "Enable"
EndIf
Else
Var ice_tab_process_show = "Invisible"
EndIf
Var return = ice_tab_process_show
)
</State>
<Filename> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </Filename>
<FilenameDisable> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </FilenameDisable>
</Image>
<Image>
<X> 49 </X>
<Y> 117 </Y>
<State>
eval(
If $Sum120201008312020200831202030083 = "Disable" Then
STRCONTAIN "ERR" $12-02-01-0083.TAG tag1_is_disable
STRCONTAIN "ERR" $12-02-02-0083.TAG tag2_is_disable
STRCONTAIN "ERR" $12-02-03-0083.TAG tag3_is_disable
Var return = "Invisible"
If tag1_is_disable = "true" Then
Var return = "Enable"
EndIf
If tag2_is_disable = "true" Then
Var return = "Enable"
EndIf
If tag3_is_disable = "true" Then
Var return = "Enable"
EndIf
Else
Var return = "Invisible"
EndIf
)
</State>
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
</Image>
<Text>
<X> 84 </X>
<Y> 266 </Y>
<Size> 10 </Size>
<Font> OpunMediumTTF </Font>
<Color> 0xDE794E </Color>
<State> ice_tab_process_show </State>
<Value> ice_show_open </Value>
</Text>
<Text>
<X> 48 </X>
<Y> 116 </Y>
<Size> 32 </Size>
<Width>128</Width>
<Height>64</Height>
<Font> MITRegularTTF </Font>
<Color> 0x5A5A5A </Color>
<Mode> "disable-show" </Mode>
<State> $Sum120201008312020200831202030083 </State>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; - - -
; ==================> Len = 21

View file

@ -1 +1 @@
Open "ROOT/taobin_project/xml/page_catalog_group_pro_kingdom_thai_tea.xml"
Var BigButtonEnable = "Invisible"

View file

@ -68,7 +68,7 @@
</Script>
;dummy_layout.inc
; menu_new_list 61
; menu_new_list 62
; ==================> Len = 16
; - 12-02-02-0099 -
<Block>
@ -76,7 +76,7 @@
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-02-02-0099.Button,DateTimeStart="2025/04/01T00:00:00",Disable=Invisible,$Sum1202020099) </State>
<State> Flag( 12-02-02-0099.Button,DateTimeStart="2025/04/01T00:00:00",DateTimeEnd="2025/05/01T00:00:00",Disable=Invisible,$Sum1202020099) </State>
<Button>
<State> $Sum1202020099 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_Pure_Matcha_X3.png" </Filename>
@ -327,7 +327,7 @@
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-03-03-0103.Button,DateTimeStart="2025/04/01T00:00:00",Var=KingdomThaiTeaPro,Disable=Invisible,$Sum1203030103) </State>
<State> Flag( 12-03-03-0103.Button,DateTimeStart="2025/04/01T00:00:00",DateTimeEnd="2025/05/01T00:00:00",Var=KingdomThaiTeaPro,Disable=Invisible,$Sum1203030103) </State>
<Button>
<State> $Sum1203030103 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_Coconut_Milk_Smoothie.png" </Filename>
@ -582,7 +582,7 @@ And Ice" </Value>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-03-03-0106.Button,DateTimeStart="2025/04/01T00:00:00",Var=KingdomThaiTeaPro,Disable=Invisible,$Sum1203030106) </State>
<State> Flag( 12-03-03-0106.Button,DateTimeStart="2025/04/01T00:00:00",DateTimeEnd="2025/05/01T00:00:00",Var=KingdomThaiTeaPro,Disable=Invisible,$Sum1203030106) </State>
<Button>
<State> $Sum1203030106 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_Coconut_Milk_Matcha_Smoothie.png" </Filename>
@ -837,7 +837,7 @@ Sugar And Ice" </Value>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-01-02-0090.Button,DateTimeStart="2025/04/01T00:00:00",Var=KingdomThaiTeaPro,Disable=Invisible,$Sum1201020090) </State>
<State> Flag( 12-01-02-0090.Button,DateTimeStart="2025/04/01T00:00:00",DateTimeEnd="2025/05/01T00:00:00",Var=KingdomThaiTeaPro,Disable=Invisible,$Sum1201020090) </State>
<Button>
<State> $Sum1201020090 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_Oliang.png" </Filename>
@ -1086,7 +1086,7 @@ Sugar And Ice" </Value>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-21-02-0090.Button,DateTimeStart="2025/04/01T00:00:00",Var=KingdomThaiTeaPro,Disable=Invisible,$Sum1221020090) </State>
<State> Flag( 12-21-02-0090.Button,DateTimeStart="2025/04/01T00:00:00",DateTimeEnd="2025/05/01T00:00:00",Var=KingdomThaiTeaPro,Disable=Invisible,$Sum1221020090) </State>
<Button>
<State> $Sum1221020090 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_Oliang.png" </Filename>
@ -3091,19 +3091,19 @@ Volcano" </Value>
</Block>
; - - -
; ==================> Len = 16
; - 12-05-02-0133 -
; - 12-05-02-0133 12-05-03-0133
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-05-02-0133.Button,DateTimeStart="2025/05/01T00:00:00",Disable=Invisible,$Sum1205020133) </State>
<State> Flag( 12-05-02-0133.Button,12-05-03-0133.Button,DateTimeStart="2025/05/01T00:00:00",Disable=Invisible,$Sum12050201331205030133) </State>
<Button>
<State> $Sum1205020133 </State>
<State> $Sum12050201331205030133 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_pepsi_extra_catalog.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_iced_pepsi_extra_catalog.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_iced_pepsi_extra_catalog.png" </FilenameDisable>
<OverlayImage> xmlpro( 12-05-02-0133, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
<OverlayImage> xmlpro( 12-05-03-0133, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
@ -3115,14 +3115,14 @@ Volcano" </Value>
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $-.Price
Var PriceD2 = $12-05-02-0133.Price
Var PriceD3 = $-.Price
Var PriceD3 = $12-05-03-0133.Price
Var PD_CODE1 = "##-##-##-####"
Var PD_CODE2 = "12-05-02-0133"
Var PD_CODE3 = "##-##-##-####"
Var PD_CODE3 = "12-05-03-0133"
Var PD_STAGE_1 = "Disable2"
Var PD_STAGE_2 = $12-05-02-0133.Button
Var PD_STAGE_3 = "Disable2"
Var OverlayMenuFilter !assigned xmlpro( 12-05-02-0133, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
Var PD_STAGE_3 = $12-05-03-0133.Button
Var OverlayMenuFilter !assigned xmlpro( 12-05-03-0133, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
DEBUGVAR OverlayMenuFilter
Var SelectCountDrinkType = 0
Var DefaultDrinkType = 0
@ -3144,7 +3144,7 @@ Volcano" </Value>
If PD_STAGE_1 = "Enable" Then
Topping "Load" "-"
Else
Topping "Load" "-"
Topping "Load" "12-05-03-0133"
EndIf
EndIf
Var menu_name_eng_hot = $##-##-##-####.NameE
@ -3157,10 +3157,10 @@ Volcano" </Value>
Var menu_name_thai_cold = $12-05-02-0133.Name
Var menu_desc_thai_cold = $12-05-02-0133.description
Var menu_name_eng_blender = $##-##-##-####.NameE
Var menu_desc_eng_blender = $##-##-##-####.descriptionE
Var menu_name_thai_blender = $##-##-##-####.Name
Var menu_desc_thai_blender = $##-##-##-####.description
Var menu_name_eng_blender = $12-05-03-0133.NameE
Var menu_desc_eng_blender = $12-05-03-0133.descriptionE
Var menu_name_thai_blender = $12-05-03-0133.Name
Var menu_desc_thai_blender = $12-05-03-0133.description
DEBUGVAR PD_STAGE_1
DEBUGVAR PD_STAGE_2
@ -3260,7 +3260,7 @@ Volcano" </Value>
<Y> 264 </Y>
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
<State> "Invisible" </State>
<State> $12-05-03-0133.Button </State>
</Image>
<Text>
<X> 180 </X>
@ -3270,8 +3270,8 @@ Volcano" </Value>
<Font> KanitRegularTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> "Invisible" </State>
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
<State> $12-05-03-0133.Button </State>
<Value> StringFmt( $12-05-03-0133.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
</Text>
<Image>
<X> 81 </X>
@ -3296,10 +3296,10 @@ Volcano" </Value>
<Y> 117 </Y>
<State>
eval(
If $Sum1205020133 = "Disable" Then
If $Sum12050201331205030133 = "Disable" Then
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
STRCONTAIN "ERR" $12-05-02-0133.TAG tag2_is_disable
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
STRCONTAIN "ERR" $12-05-03-0133.TAG tag3_is_disable
Var return = "Invisible"
If tag1_is_disable = "true" Then
Var return = "Enable"
@ -3335,7 +3335,7 @@ Volcano" </Value>
<Font> MITRegularTTF </Font>
<Color> 0x5A5A5A </Color>
<Mode> "disable-show" </Mode>
<State> $Sum1205020133 </State>
<State> $Sum12050201331205030133 </State>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
@ -4874,7 +4874,7 @@ Volcano" </Value>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-03-03-0094.Button,Disable=Invisible,$Sum1203030094) </State>
<State> Flag( 12-03-03-0094.Button,DateTimeEnd="2025/05/19T00:00:00",Disable=Invisible,$Sum1203030094) </State>
<Button>
<State> $Sum1203030094 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_Ovaltine_cocoa_smoothie.png" </Filename>
@ -5118,6 +5118,262 @@ Volcano" </Value>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; - - -
; ==================> Len = 16
; 12-02-01-0083 12-02-02-0083 12-02-03-0083
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-02-01-0083.Button,12-02-02-0083.Button,12-02-03-0083.Button,DateTimeStart="2025/05/19T00:00:00",Disable=Invisible,$Sum120201008312020200831202030083) </State>
<Button>
<State> $Sum120201008312020200831202030083 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_southern_fusion_tea.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_southern_fusion_tea.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_southern_fusion_tea.png" </FilenameDisable>
<OverlayImage> xmlpro( 12-02-01-0083, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var NameDrink = "Southern Fusion Tea"
Var NameDrinkTH = "ชาผสานปักษ์ใต้"
Var DrinkDescriptionTH = "มัทฉะ ชาไทย นม และคาราเมล"
Var DrinkDescription = "Matcha , Thai Tea, Milk Caramel"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_southern_fusion_tea.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $12-02-01-0083.Price
Var PriceD2 = $12-02-02-0083.Price
Var PriceD3 = $12-02-03-0083.Price
Var PD_CODE1 = "12-02-01-0083"
Var PD_CODE2 = "12-02-02-0083"
Var PD_CODE3 = "12-02-03-0083"
Var PD_STAGE_1 = $12-02-01-0083.Button
Var PD_STAGE_2 = $12-02-02-0083.Button
Var PD_STAGE_3 = $12-02-03-0083.Button
Var OverlayMenuFilter !assigned xmlpro( 12-02-01-0083, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
DEBUGVAR OverlayMenuFilter
Var SelectCountDrinkType = 0
Var DefaultDrinkType = 0
If PD_STAGE_1 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 1
EndIf
If PD_STAGE_2 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 2
EndIf
If PD_STAGE_3 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 3
EndIf
If PD_STAGE_2 = "Enable" Then
Topping "Load" "12-02-02-0083"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "12-02-01-0083"
Else
Topping "Load" "12-02-03-0083"
EndIf
EndIf
Var menu_name_eng_hot = $12-02-01-0083.NameE
Var menu_desc_eng_hot = $12-02-01-0083.descriptionE
Var menu_name_thai_hot = $12-02-01-0083.Name
Var menu_desc_thai_hot = $12-02-01-0083.description
Var menu_name_eng_cold = $12-02-02-0083.NameE
Var menu_desc_eng_cold = $12-02-02-0083.descriptionE
Var menu_name_thai_cold = $12-02-02-0083.Name
Var menu_desc_thai_cold = $12-02-02-0083.description
Var menu_name_eng_blender = $12-02-03-0083.NameE
Var menu_desc_eng_blender = $12-02-03-0083.descriptionE
Var menu_name_thai_blender = $12-02-03-0083.Name
Var menu_desc_thai_blender = $12-02-03-0083.description
DEBUGVAR PD_STAGE_1
DEBUGVAR PD_STAGE_2
DEBUGVAR PD_STAGE_3
Var SelectDrinkType = 0
Var OpenFromInstMenuTab = 0
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
</EventOnClick>
</Button>
<Text>
<X> 16 </X>
<Y> 164 </Y>
<Size> 24 </Size>
<Width>220</Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showthaiText </State>
<Value> "ชาผสานปักษ์ใต้" </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 220 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showthaiText </State>
<Value> "มัทฉะ ชาไทย นม และคาราเมล" </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 164 </Y>
<Size> 22 </Size>
<Width>220</Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showengText </State>
<Value> "Southern Fusion
Tea" </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 220 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showengText </State>
<Value> "Matcha , Thai Tea, Milk Caramel" </Value>
</Text>
<Image>
<X> 16 </X>
<Y> 264 </Y>
<Filename> Var( DirImage2 + "option_deactive.png" ) </Filename>
</Image>
<Image>
<X> 16 </X>
<Y> 264 </Y>
<State> $12-02-01-0083.Button </State>
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
</Image>
<Text>
<X> 50 </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-02-01-0083.Button </State>
<Value> StringFmt( $12-02-01-0083.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
</Text>
<Image>
<X> 81 </X>
<Y> 264 </Y>
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
<State> $12-02-02-0083.Button </State>
</Image>
<Text>
<X> 115 </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-02-02-0083.Button </State>
<Value> StringFmt( $12-02-02-0083.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
</Text>
<Image>
<X> 146 </X>
<Y> 264 </Y>
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
<State> $12-02-03-0083.Button </State>
</Image>
<Text>
<X> 180 </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Font> KanitRegularTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-02-03-0083.Button </State>
<Value> StringFmt( $12-02-03-0083.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
</Text>
<Image>
<X> 81 </X>
<Y> 264 </Y>
<State>
eval(
If ICE_PROCESS_STATUS = 2 Then
If $Sum120201008312020200831202030083 = "Disable" Then
Var ice_tab_process_show = "Disable"
Else
Var ice_tab_process_show = "Enable"
EndIf
Else
Var ice_tab_process_show = "Invisible"
EndIf
Var return = ice_tab_process_show
)
</State>
<Filename> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </Filename>
<FilenameDisable> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </FilenameDisable>
</Image>
<Image>
<X> 49 </X>
<Y> 117 </Y>
<State>
eval(
If $Sum120201008312020200831202030083 = "Disable" Then
STRCONTAIN "ERR" $12-02-01-0083.TAG tag1_is_disable
STRCONTAIN "ERR" $12-02-02-0083.TAG tag2_is_disable
STRCONTAIN "ERR" $12-02-03-0083.TAG tag3_is_disable
Var return = "Invisible"
If tag1_is_disable = "true" Then
Var return = "Enable"
EndIf
If tag2_is_disable = "true" Then
Var return = "Enable"
EndIf
If tag3_is_disable = "true" Then
Var return = "Enable"
EndIf
Else
Var return = "Invisible"
EndIf
)
</State>
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
</Image>
<Text>
<X> 84 </X>
<Y> 266 </Y>
<Size> 10 </Size>
<Font> OpunMediumTTF </Font>
<Color> 0xDE794E </Color>
<State> ice_tab_process_show </State>
<Value> ice_show_open </Value>
</Text>
<Text>
<X> 48 </X>
<Y> 116 </Y>
<Size> 32 </Size>
<Width>128</Width>
<Height>64</Height>
<Font> MITRegularTTF </Font>
<Color> 0x5A5A5A </Color>
<Mode> "disable-show" </Mode>
<State> $Sum120201008312020200831202030083 </State>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; - - -
; ==================> Len = 21

View file

@ -1,3 +1,4 @@
<Button>
<X> 42 </X>
<Y> 518 </Y>
@ -7,9 +8,15 @@
<FilenamePress> ###normal_thai </FilenamePress>
<FilenameDisable> ###normal_thai </FilenameDisable>
<EventOnClick>
###EventOnClick
Open "ROOT/taobin_project/xml/page_catalog_group_pro_school_ovaltine.xml"
</EventOnClick>
<Video>
<X> 42 </X>
<Y> 518 </Y>
<Width> 484 </Width>
<Height> 616 </Height>
<Loop> "true" </Loop>
<Filename> "ROOT/taobin_project/image/event/school_ovaltine/school_ovaltine.mp4" </Filename>
</Video>
</Button>

View file

@ -4,9 +4,8 @@ DEBUGVAR PayOfflineMode
DEBUGVAR CocktailShow
DEBUGVAR OpenFromPageBoard
DEBUGVAR KingdomThaiTeaPro
DEBUGVAR PepsiXTaobinPro
DEBUGVAR MatchaEveryDayPro
DEBUGVAR SchoolOvaltinePro
DEBUGVAR OreoVolcanoPro
Var PromotionState1 = "Invisible"
@ -31,37 +30,28 @@ Else
Else
If PepsiXTaobinPro = 1 Then
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/promotion_pepsi_x_taobin.xml"
EndIf
If KingdomThaiTeaPro = 1 Then
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/promotion_kingdom_thai_tea.xml"
Var PromotionState1 = "Enable"
If PepsiXTaobinPro = 1 Then
Var PromotionState2 = "Enable"
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/double_promotion_kingdom_thai_tea_and_pepsi_x_taobin.xml"
EndIf
If MatchaEveryDayPro = 1 Then
Var PromotionState2 = "Enable"
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/double_promotion_kingdom_thai_tea_and_matcha_every_day.xml"
EndIf
EndIf
If MatchaEveryDayPro = 1 Then
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/promotion_matcha_every_day.xml"
EndIf
If OreoVolcanoPro = 1 Then
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/promotion_oreo_volcano.xml"
If SchoolOvaltinePro = 1 Then
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/promotion_school_ovaltine.xml"
Var PromotionState1 = "Enable"
If MatchaEveryDayPro = 1 Then
If OreoVolcanoPro = 1 Then
Var PromotionState2 = "Enable"
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/double_promotion_matcha_every_day_and_oreo_volcano.xml"
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/double_promotion_school_ovaltine_and_oreo_volcano.xml"
EndIf
Else
If OreoVolcanoPro = 1 Then
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/promotion_oreo_volcano.xml"
Var PromotionState1 = "Enable"
If MatchaEveryDayPro = 1 Then
Var PromotionState2 = "Enable"
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/double_promotion_matcha_every_day_and_oreo_volcano.xml"
EndIf
EndIf
EndIf
EndIf

View file

@ -57,9 +57,6 @@ Var ThickTeaByBrewerBanner = 0
Var StrawberrySeriesPro = 0
Var StrawberrySeriesMenu = 0
; Ovaltine school, 1 - 28 Feb
Var OvaltineSchoolPro = 0
; Red string of fate, 10 - 23 Feb
Var RedStringOfFatePro = 0
@ -81,9 +78,12 @@ Var SongkranSoundCampaign = 0
; Boost Energy drink, 1 - 11 May
Var BoostEnergyPro = 0
; Matcha every day, 1 - 31 May
; Matcha every day, 1 - 18 May
Var MatchaEveryDayPro = 0
; School Ovaltine, 19 - 31 May
Var SchoolOvaltinePro = 0
; Oreo volcano, 1 - 31 May
Var OreoVolcanoPro = 0
@ -138,7 +138,12 @@ EndIf
If SystemDateMonthInt = 5 Then
Var OreoVolcanoPro = 1
Var MatchaEveryDayPro = 1
If SystemDateDayInt <= 18 Then
Var MatchaEveryDayPro = 1
Else
Var SchoolOvaltinePro = 1
EndIf
If SystemDateDayInt <= 11 Then
Var BoostEnergyPro = 1
@ -174,11 +179,7 @@ EndIf
If BoxID = 201714 Then
Var RedStringOfFatePro = 0
Var OvaltineSchoolPro = 0
Var KingdomThaiTeaPro = 1
Var SongkranSoundCampaign = 1
Var NewMatchaPremiumX3 = 1
EndIf
If BoxID = 201729 Then
@ -198,8 +199,6 @@ EndIf
If BoxID = 123456 Then
Var ToppingNewUINewSystem = 0
Var PepsiXTaobinPro = 1
Var MatchaEveryDayPro = 0
Var BoostEnergyPro = 1
EndIf
@ -276,7 +275,7 @@ DEBUGVAR HaveIngredientOvaltine
If HaveIngredientOvaltine = "true" Then
Else
Var OvaltineSchoolPro = 0
Var SchoolOvaltinePro = 0
Var RedStringOfFatePro = 0
EndIf
@ -286,8 +285,11 @@ Else
Var PepsiXTaobinPro = 0
EndIf
DEBUGVAR OvaltineSchoolPro
DEBUGVAR RedStringOfFatePro
If OreoEnable = "true" Then
Else
Var OreoVolcanoPro = 0
EndIf
Var CurrentMainVideoTemp = 0
@ -318,10 +320,3 @@ If BoxID = 176757 Then
EndIf
DEBUGVAR SystemDateDayOfWeek
READ_FILE "/mnt/sdcard/coffeevending/kbank_cashless_machine" KBankCashlessMachineContent
DEBUGVAR KBankCashlessMachineContent
If KBankCashlessMachineContent = 1 Then
Var KBankCashlessMachine = 1
EndIf
DEBUGVAR KBankCashlessMachine