THAI: Update Manual Fix time promotion (for now)
This commit is contained in:
parent
f6426b1dc6
commit
237ca1ee08
11 changed files with 63493 additions and 13465 deletions
|
|
@ -91,6 +91,14 @@ Else
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
If ThickTeaByBrewerPro = 1 Then
|
||||||
|
Var FileRecommendToOpen = "ROOT/taobin_project/xml/page_catalog_group_recommend_thick_tea.xml"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If WinterWonderPro = 1 Then
|
||||||
|
Var FileRecommendToOpen = "ROOT/taobin_project/xml/page_catalog_group_recommend_winter_wonder.xml"
|
||||||
|
EndIf
|
||||||
|
|
||||||
If 12Day12MenuPro = 1 Then
|
If 12Day12MenuPro = 1 Then
|
||||||
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/promotion_12_day_12_menu.xml"
|
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/promotion_12_day_12_menu.xml"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
|
||||||
|
|
@ -164,6 +164,12 @@ Var SugarZeroCalFreeFlag = 0
|
||||||
Var 12Day12MenuPro = 0
|
Var 12Day12MenuPro = 0
|
||||||
Var From12Day12MenuPro = 0
|
Var From12Day12MenuPro = 0
|
||||||
|
|
||||||
|
; Winter Wonder, 1 - 31 Dec
|
||||||
|
Var WinterWonderPro = 0
|
||||||
|
|
||||||
|
; ThickTeaByBrewer, start 1 Dec
|
||||||
|
Var ThickTeaByBrewerPro = 0
|
||||||
|
|
||||||
Var NewCollectPoint = 1
|
Var NewCollectPoint = 1
|
||||||
Var PayMentCodeShouldCollectPromotionPoint = 0
|
Var PayMentCodeShouldCollectPromotionPoint = 0
|
||||||
Var NotCollectPointPromotion = 0
|
Var NotCollectPointPromotion = 0
|
||||||
|
|
@ -312,11 +318,18 @@ EndIf
|
||||||
|
|
||||||
|
|
||||||
If SystemDateMonthInt = 12 Then
|
If SystemDateMonthInt = 12 Then
|
||||||
|
|
||||||
|
Var WinterWonderPro = 1
|
||||||
|
|
||||||
If SystemDateDayInt <= 12 Then
|
If SystemDateDayInt <= 12 Then
|
||||||
Var 12Day12MenuPro = 1
|
Var 12Day12MenuPro = 1
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
If SystemDateMonthInt >= 12 Then
|
||||||
|
Var ThickTeaByBrewerPro = 1
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
If BoxID = 105005 Then
|
If BoxID = 105005 Then
|
||||||
Var NewFlowPaymentCode = 1
|
Var NewFlowPaymentCode = 1
|
||||||
|
|
@ -327,7 +340,9 @@ If BoxID = 105005 Then
|
||||||
Var WeekdayDiscountProEventOn = 0
|
Var WeekdayDiscountProEventOn = 0
|
||||||
Var OreoDiscount11Pro = 0
|
Var OreoDiscount11Pro = 0
|
||||||
Var HappyTriosPro = 0
|
Var HappyTriosPro = 0
|
||||||
Var 12Day12MenuPro = 1
|
Var 12Day12MenuPro = 0
|
||||||
|
Var WinterWonderPro = 1
|
||||||
|
Var ThickTeaByBrewerPro = 1
|
||||||
|
|
||||||
Var JemilaToppingFlag = 1
|
Var JemilaToppingFlag = 1
|
||||||
Var JemilaToppingFreeFlag = 1
|
Var JemilaToppingFreeFlag = 1
|
||||||
|
|
@ -417,7 +432,7 @@ EndIf
|
||||||
Var XMLLiveInfoEnable = 1
|
Var XMLLiveInfoEnable = 1
|
||||||
|
|
||||||
|
|
||||||
; Override
|
; Override
|
||||||
Var JemilaToppingFlag = 0
|
Var JemilaToppingFlag = 0
|
||||||
Var JemilaToppingFreeFlag = 0
|
Var JemilaToppingFreeFlag = 0
|
||||||
|
|
||||||
|
|
@ -500,7 +515,7 @@ If taobin_nopro = "true" Then
|
||||||
Var 12Day12MenuPro = 0
|
Var 12Day12MenuPro = 0
|
||||||
|
|
||||||
Var HappyTriosPro = 0
|
Var HappyTriosPro = 0
|
||||||
|
|
||||||
Var AdvertiseProfile = "00/00/00/00/00/00/00/00/00/00/00/00/00/00/00/00/00/00/00/00/00/00"
|
Var AdvertiseProfile = "00/00/00/00/00/00/00/00/00/00/00/00/00/00/00/00/00/00/00/00/00/00"
|
||||||
|
|
||||||
EndIf
|
EndIf
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<?hurr
|
<?hurr
|
||||||
#include=menu_head.py
|
#include=menu_head.py
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<Popup>
|
<Popup>
|
||||||
|
|
@ -10,7 +10,12 @@
|
||||||
<Volume> SoundVolume </Volume>
|
<Volume> SoundVolume </Volume>
|
||||||
<EventOpen>
|
<EventOpen>
|
||||||
; On open
|
; On open
|
||||||
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
|
|
||||||
|
If WinterWonderPro = 1 Then
|
||||||
|
Open "ROOT/taobin_project/xml/page_catalog_group_milk_winter_wonder.xml"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
|
||||||
Var Menu4Selected = "PressForever"
|
Var Menu4Selected = "PressForever"
|
||||||
|
|
||||||
SAVELOG PreviseXMLFileName2
|
SAVELOG PreviseXMLFileName2
|
||||||
|
|
@ -26,15 +31,15 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<?hurr
|
<?hurr
|
||||||
#include=menu_new_layout_gen_v2.py
|
#include=menu_new_layout_gen_v2.py
|
||||||
?>
|
?>
|
||||||
<?hurr
|
<?hurr
|
||||||
#include=menu_new_layout_gen.py
|
#include=menu_new_layout_gen.py
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|
||||||
<?hurr
|
<?hurr
|
||||||
#include=./event/dummy_layout_promotion.py
|
#include=./event/dummy_layout_promotion.py
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load diff
10721
xml/page_catalog_group_milk_winter_wonder.xml
Normal file
10721
xml/page_catalog_group_milk_winter_wonder.xml
Normal file
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
15133
xml/page_catalog_group_recommend_thick_tea.xml
Normal file
15133
xml/page_catalog_group_recommend_thick_tea.xml
Normal file
File diff suppressed because it is too large
Load diff
16396
xml/page_catalog_group_recommend_winter_wonder.xml
Normal file
16396
xml/page_catalog_group_recommend_winter_wonder.xml
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -1,5 +1,5 @@
|
||||||
<?hurr
|
<?hurr
|
||||||
#include=menu_head.py
|
#include=menu_head.py
|
||||||
touch_less_gen = False
|
touch_less_gen = False
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|
@ -11,10 +11,15 @@
|
||||||
<Volume> SoundVolume </Volume>
|
<Volume> SoundVolume </Volume>
|
||||||
<EventOpen>
|
<EventOpen>
|
||||||
; On open
|
; On open
|
||||||
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
|
|
||||||
|
If ThickTeaByBrewerPro = 1 Then
|
||||||
|
Open "ROOT/taobin_project/xml/page_catalog_group_tea_thick_tea.xml"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
|
||||||
Var Menu3Selected = "PressForever"
|
Var Menu3Selected = "PressForever"
|
||||||
|
|
||||||
|
|
||||||
SAVELOG PreviseXMLFileName2
|
SAVELOG PreviseXMLFileName2
|
||||||
|
|
||||||
Var Timeout = 0
|
Var Timeout = 0
|
||||||
|
|
@ -32,10 +37,10 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<?hurr
|
<?hurr
|
||||||
#include=menu_new_layout_gen_v2.py
|
#include=menu_new_layout_gen_v2.py
|
||||||
?>
|
?>
|
||||||
<?hurr
|
<?hurr
|
||||||
#include=menu_new_layout_gen.py
|
#include=menu_new_layout_gen.py
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -8,10 +8,15 @@
|
||||||
<Volume> SoundVolume </Volume>
|
<Volume> SoundVolume </Volume>
|
||||||
<EventOpen>
|
<EventOpen>
|
||||||
; On open
|
; On open
|
||||||
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
|
|
||||||
|
If ThickTeaByBrewerPro = 1 Then
|
||||||
|
Open "ROOT/taobin_project/xml/page_catalog_group_tea_thick_tea.xml"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
|
||||||
Var Menu3Selected = "PressForever"
|
Var Menu3Selected = "PressForever"
|
||||||
|
|
||||||
|
|
||||||
SAVELOG PreviseXMLFileName2
|
SAVELOG PreviseXMLFileName2
|
||||||
|
|
||||||
Var Timeout = 0
|
Var Timeout = 0
|
||||||
|
|
@ -6417,773 +6422,6 @@ LIMENADE" </Value>
|
||||||
<Value> text_unavailable </Value>
|
<Value> text_unavailable </Value>
|
||||||
<Align> center-vertical-horizontal </Align>
|
<Align> center-vertical-horizontal </Align>
|
||||||
</Text>
|
</Text>
|
||||||
</Block>
|
|
||||||
; - - -
|
|
||||||
; ==================> Len = 12
|
|
||||||
; 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,$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 SYRUP"
|
|
||||||
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
|
|
||||||
|
|
||||||
|
|
||||||
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 SYRUP" </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 = 12
|
|
||||||
; 12-02-01-0084 12-02-02-0084 12-02-03-0084
|
|
||||||
<Block>
|
|
||||||
<MarginLeft> 33 </MarginLeft>
|
|
||||||
<MarginTop> 22 </MarginTop>
|
|
||||||
<Width> 225 </Width>
|
|
||||||
<Height> 296 </Height>
|
|
||||||
<State> Flag( 12-02-01-0084.Button,12-02-02-0084.Button,12-02-03-0084.Button,$Sum120201008412020200841202030084) </State>
|
|
||||||
<Button>
|
|
||||||
<State> $Sum120201008412020200841202030084 </State>
|
|
||||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_traditional_green_tea.png" </Filename>
|
|
||||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_traditional_green_tea.png" </FilenamePress>
|
|
||||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_traditional_green_tea.png" </FilenameDisable>
|
|
||||||
<OverlayImage> xmlpro( 12-02-01-0084, "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 = "TRADITIONAL GREEN TEA"
|
|
||||||
Var NameDrinkTH = "ชาเขียวโบราณ"
|
|
||||||
Var DrinkDescriptionTH = "ชามะลิ มัทฉะ นม และน้ำเชื่อมคาราเมล"
|
|
||||||
Var DrinkDescription = "JASMINE TEA, MATCHA, MILK, CARAMEL SYRUP"
|
|
||||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_traditional_green_tea.png"
|
|
||||||
Var OpenFromXML = CurrentXMLFileName2
|
|
||||||
Var PriceD1 = $12-02-01-0084.Price
|
|
||||||
Var PriceD2 = $12-02-02-0084.Price
|
|
||||||
Var PriceD3 = $12-02-03-0084.Price
|
|
||||||
Var PD_CODE1 = "12-02-01-0084"
|
|
||||||
Var PD_CODE2 = "12-02-02-0084"
|
|
||||||
Var PD_CODE3 = "12-02-03-0084"
|
|
||||||
Var PD_STAGE_1 = $12-02-01-0084.Button
|
|
||||||
Var PD_STAGE_2 = $12-02-02-0084.Button
|
|
||||||
Var PD_STAGE_3 = $12-02-03-0084.Button
|
|
||||||
Var OverlayMenuFilter !assigned xmlpro( 12-02-01-0084, "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-0084"
|
|
||||||
Else
|
|
||||||
If PD_STAGE_1 = "Enable" Then
|
|
||||||
Topping "Load" "12-02-01-0084"
|
|
||||||
Else
|
|
||||||
Topping "Load" "12-02-03-0084"
|
|
||||||
EndIf
|
|
||||||
EndIf
|
|
||||||
Var menu_name_eng_hot = $12-02-01-0084.NameE
|
|
||||||
Var menu_desc_eng_hot = $12-02-01-0084.descriptionE
|
|
||||||
Var menu_name_thai_hot = $12-02-01-0084.Name
|
|
||||||
Var menu_desc_thai_hot = $12-02-01-0084.description
|
|
||||||
|
|
||||||
Var menu_name_eng_cold = $12-02-02-0084.NameE
|
|
||||||
Var menu_desc_eng_cold = $12-02-02-0084.descriptionE
|
|
||||||
Var menu_name_thai_cold = $12-02-02-0084.Name
|
|
||||||
Var menu_desc_thai_cold = $12-02-02-0084.description
|
|
||||||
|
|
||||||
Var menu_name_eng_blender = $12-02-03-0084.NameE
|
|
||||||
Var menu_desc_eng_blender = $12-02-03-0084.descriptionE
|
|
||||||
Var menu_name_thai_blender = $12-02-03-0084.Name
|
|
||||||
Var menu_desc_thai_blender = $12-02-03-0084.description
|
|
||||||
|
|
||||||
DEBUGVAR PD_STAGE_1
|
|
||||||
DEBUGVAR PD_STAGE_2
|
|
||||||
DEBUGVAR PD_STAGE_3
|
|
||||||
Var SelectDrinkType = 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> "TRADITIONAL GREEN
|
|
||||||
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> "JASMINE TEA, MATCHA, MILK, CARAMEL SYRUP" </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-0084.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-0084.Button </State>
|
|
||||||
<Value> StringFmt( $12-02-01-0084.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-0084.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-0084.Button </State>
|
|
||||||
<Value> StringFmt( $12-02-02-0084.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-0084.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-0084.Button </State>
|
|
||||||
<Value> StringFmt( $12-02-03-0084.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
|
||||||
</Text>
|
|
||||||
<Image>
|
|
||||||
<X> 81 </X>
|
|
||||||
<Y> 264 </Y>
|
|
||||||
<State>
|
|
||||||
eval(
|
|
||||||
If ICE_PROCESS_STATUS = 2 Then
|
|
||||||
|
|
||||||
If $Sum120201008412020200841202030084 = "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 $Sum120201008412020200841202030084 = "Disable" Then
|
|
||||||
STRCONTAIN "ERR" $12-02-01-0084.TAG tag1_is_disable
|
|
||||||
STRCONTAIN "ERR" $12-02-02-0084.TAG tag2_is_disable
|
|
||||||
STRCONTAIN "ERR" $12-02-03-0084.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> $Sum120201008412020200841202030084 </State>
|
|
||||||
<Value> text_unavailable </Value>
|
|
||||||
<Align> center-vertical-horizontal </Align>
|
|
||||||
</Text>
|
|
||||||
</Block>
|
|
||||||
; - - -
|
|
||||||
; ==================> Len = 12
|
|
||||||
; 12-02-01-0085 12-02-02-0085 12-02-03-0085
|
|
||||||
<Block>
|
|
||||||
<MarginLeft> 33 </MarginLeft>
|
|
||||||
<MarginTop> 22 </MarginTop>
|
|
||||||
<Width> 225 </Width>
|
|
||||||
<Height> 296 </Height>
|
|
||||||
<State> Flag( 12-02-01-0085.Button,12-02-02-0085.Button,12-02-03-0085.Button,$Sum120201008512020200851202030085) </State>
|
|
||||||
<Button>
|
|
||||||
<State> $Sum120201008512020200851202030085 </State>
|
|
||||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_royal_milk_tea.png" </Filename>
|
|
||||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_royal_milk_tea.png" </FilenamePress>
|
|
||||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_royal_milk_tea.png" </FilenameDisable>
|
|
||||||
<OverlayImage> xmlpro( 12-02-01-0085, "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 = "ROYAL MILK TEA"
|
|
||||||
Var NameDrinkTH = "ชานมชาววัง"
|
|
||||||
Var DrinkDescriptionTH = "ชาไทย ชามะลิ นม และน้ำเชื่อมคาราเมล"
|
|
||||||
Var DrinkDescription = "THAI TEA, JASMINE TEA, MILK, CARAMEL SYRUP"
|
|
||||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_royal_milk_tea.png"
|
|
||||||
Var OpenFromXML = CurrentXMLFileName2
|
|
||||||
Var PriceD1 = $12-02-01-0085.Price
|
|
||||||
Var PriceD2 = $12-02-02-0085.Price
|
|
||||||
Var PriceD3 = $12-02-03-0085.Price
|
|
||||||
Var PD_CODE1 = "12-02-01-0085"
|
|
||||||
Var PD_CODE2 = "12-02-02-0085"
|
|
||||||
Var PD_CODE3 = "12-02-03-0085"
|
|
||||||
Var PD_STAGE_1 = $12-02-01-0085.Button
|
|
||||||
Var PD_STAGE_2 = $12-02-02-0085.Button
|
|
||||||
Var PD_STAGE_3 = $12-02-03-0085.Button
|
|
||||||
Var OverlayMenuFilter !assigned xmlpro( 12-02-01-0085, "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-0085"
|
|
||||||
Else
|
|
||||||
If PD_STAGE_1 = "Enable" Then
|
|
||||||
Topping "Load" "12-02-01-0085"
|
|
||||||
Else
|
|
||||||
Topping "Load" "12-02-03-0085"
|
|
||||||
EndIf
|
|
||||||
EndIf
|
|
||||||
Var menu_name_eng_hot = $12-02-01-0085.NameE
|
|
||||||
Var menu_desc_eng_hot = $12-02-01-0085.descriptionE
|
|
||||||
Var menu_name_thai_hot = $12-02-01-0085.Name
|
|
||||||
Var menu_desc_thai_hot = $12-02-01-0085.description
|
|
||||||
|
|
||||||
Var menu_name_eng_cold = $12-02-02-0085.NameE
|
|
||||||
Var menu_desc_eng_cold = $12-02-02-0085.descriptionE
|
|
||||||
Var menu_name_thai_cold = $12-02-02-0085.Name
|
|
||||||
Var menu_desc_thai_cold = $12-02-02-0085.description
|
|
||||||
|
|
||||||
Var menu_name_eng_blender = $12-02-03-0085.NameE
|
|
||||||
Var menu_desc_eng_blender = $12-02-03-0085.descriptionE
|
|
||||||
Var menu_name_thai_blender = $12-02-03-0085.Name
|
|
||||||
Var menu_desc_thai_blender = $12-02-03-0085.description
|
|
||||||
|
|
||||||
DEBUGVAR PD_STAGE_1
|
|
||||||
DEBUGVAR PD_STAGE_2
|
|
||||||
DEBUGVAR PD_STAGE_3
|
|
||||||
Var SelectDrinkType = 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> "ROYAL MILK 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> "THAI TEA, JASMINE TEA, MILK, CARAMEL SYRUP" </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-0085.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-0085.Button </State>
|
|
||||||
<Value> StringFmt( $12-02-01-0085.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-0085.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-0085.Button </State>
|
|
||||||
<Value> StringFmt( $12-02-02-0085.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-0085.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-0085.Button </State>
|
|
||||||
<Value> StringFmt( $12-02-03-0085.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
|
||||||
</Text>
|
|
||||||
<Image>
|
|
||||||
<X> 81 </X>
|
|
||||||
<Y> 264 </Y>
|
|
||||||
<State>
|
|
||||||
eval(
|
|
||||||
If ICE_PROCESS_STATUS = 2 Then
|
|
||||||
|
|
||||||
If $Sum120201008512020200851202030085 = "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 $Sum120201008512020200851202030085 = "Disable" Then
|
|
||||||
STRCONTAIN "ERR" $12-02-01-0085.TAG tag1_is_disable
|
|
||||||
STRCONTAIN "ERR" $12-02-02-0085.TAG tag2_is_disable
|
|
||||||
STRCONTAIN "ERR" $12-02-03-0085.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> $Sum120201008512020200851202030085 </State>
|
|
||||||
<Value> text_unavailable </Value>
|
|
||||||
<Align> center-vertical-horizontal </Align>
|
|
||||||
</Text>
|
|
||||||
</Block>
|
</Block>
|
||||||
; - - -
|
; - - -
|
||||||
; ==================> Len = 12
|
; ==================> Len = 12
|
||||||
|
|
|
||||||
11795
xml/page_catalog_group_tea_thick_tea.xml
Normal file
11795
xml/page_catalog_group_tea_thick_tea.xml
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue