THAI: Added script catalog layout v3
This commit is contained in:
parent
4df9405451
commit
3c966ee66d
124 changed files with 137793 additions and 15 deletions
994
xml/v3/page_catalog_group_songkran.xml
Normal file
994
xml/v3/page_catalog_group_songkran.xml
Normal file
|
|
@ -0,0 +1,994 @@
|
|||
|
||||
|
||||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
;<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
; On open
|
||||
Var NextPage = "-"
|
||||
|
||||
DEBUGVAR ICE_PROCESS_STATUS
|
||||
DEBUGVAR ICE_PROCESS_TXT
|
||||
|
||||
|
||||
If show_eng = "true" Then
|
||||
Var showthaiText = "Invisible"
|
||||
Var showengText = "Enable"
|
||||
Var DirImage = "ROOT/taobin_project/image/page3_en"
|
||||
Var show_btp = "ROOT/taobin_project/image/page2/bn_thai_lang_press_2.png"
|
||||
Var show_btn = "ROOT/taobin_project/image/page2/bn_thai_lang_2.png"
|
||||
|
||||
Var ice_tab_text = "Ice will be ready at "
|
||||
Var text_unavailable = "UNAVAILABLE###size=16"
|
||||
|
||||
|
||||
Else
|
||||
Var showengText = "Invisible"
|
||||
Var showthaiText = "Enable"
|
||||
|
||||
Var DirImage = "ROOT/taobin_project/image/page3"
|
||||
Var show_btp = "ROOT/taobin_project/image/page2/bn_eng_lang_2.png"
|
||||
Var show_btn = "ROOT/taobin_project/image/page2/bn_eng_lang_2.png"
|
||||
|
||||
Var ice_tab_text = "น้ำแข็งจะพร้อมเวลา "
|
||||
Var text_unavailable = "หมด###size=32"
|
||||
EndIf
|
||||
|
||||
If ICE_PROCESS_STATUS = 2 Then
|
||||
Var ice_tab_process_show = "Enable"
|
||||
Var ice_show_open = ice_tab_text + ICE_PROCESS_TXT
|
||||
Else
|
||||
Var ice_tab_process_show = "Invisible"
|
||||
EndIf
|
||||
|
||||
|
||||
; SpiralOnline
|
||||
|
||||
Var MenuVSelected2 = "Invisible"
|
||||
|
||||
Var Menu1Selected2 = "Invisible"
|
||||
Var Menu2Selected2 = "Invisible"
|
||||
Var Menu3Selected2 = "Invisible"
|
||||
Var Menu4Selected2 = "Invisible"
|
||||
|
||||
Var Menu6Selected2 = "Invisible"
|
||||
Var Menu7Selected2 = "Invisible"
|
||||
Var MenuVSelected2 = "Invisible"
|
||||
Var Menu11Selected2 = "Invisible"
|
||||
|
||||
Var Menu21Selected2 = "Invisible"
|
||||
|
||||
Var MenuVSelected2 = "Invisible"
|
||||
If SpiralOnline = "true" Then
|
||||
If Seeker = "curr" Then
|
||||
Var MenuVSelected2 = "Enable"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
; init default
|
||||
Var Menu1Selected = "Enable"
|
||||
Var Menu2Selected = "Enable"
|
||||
Var Menu3Selected = "Enable"
|
||||
Var Menu4Selected = "Enable"
|
||||
; 5 fruit
|
||||
Var Menu5Selected = "Invisible"
|
||||
Var Menu6Selected = "Enable"
|
||||
Var Menu7Selected = "Enable"
|
||||
; 8 cocktail
|
||||
Var Menu8Selected = "Invisible"
|
||||
|
||||
If CocktailShow = "true" Then
|
||||
Var Menu7Selected = "Invisible"
|
||||
Var Menu8Selected = "Enable"
|
||||
EndIf
|
||||
|
||||
|
||||
If AppFastEnable = "true" Then
|
||||
Var Menu11Selected = "Enable"
|
||||
Var Menu21Selected = "Invisible"
|
||||
Var Menu7Selected = "Invisible"
|
||||
Else
|
||||
If MenuKidEnable = "true" Then
|
||||
Var Menu11Selected = "Invisible"
|
||||
Var Menu21Selected = "Enable"
|
||||
Var Menu7Selected = "Invisible"
|
||||
Else
|
||||
Var Menu11Selected = "Invisible"
|
||||
Var Menu21Selected = "Invisible"
|
||||
Var Menu7Selected = "Enable"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If CocktailShow = "true" Then
|
||||
Var Menu7Selected = "Invisible"
|
||||
EndIf
|
||||
|
||||
If RecipeTag1 = "HealthTurnOn" Then
|
||||
Var Menu22Selected = "Enable"
|
||||
Else
|
||||
Var Menu22Selected = "Invisible"
|
||||
EndIf
|
||||
|
||||
Var Menu6Selected = "Invisible"
|
||||
Var Menu61Selected = "Enable"
|
||||
Var Menu62Selected = "Enable"
|
||||
|
||||
;
|
||||
|
||||
|
||||
|
||||
|
||||
RootLayoutVisible 3 "hide"
|
||||
RootLayoutVisible 13 "hide"
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Var Timeout = 0
|
||||
|
||||
|
||||
|
||||
If show_eng = "true" Then
|
||||
Var DirImage2 = "ROOT/taobin_project/image/drink_option_en/"
|
||||
Var DirImageAlter = "ROOT/taobin_project/image/page3_2_en/"
|
||||
|
||||
Else
|
||||
Var DirImage2 = "ROOT/taobin_project/image/drink_option/"
|
||||
Var DirImageAlter = "ROOT/taobin_project/image/page3_2/"
|
||||
EndIf
|
||||
|
||||
</EventOpen>
|
||||
|
||||
|
||||
;include="ROOT/taobin_project/xml/v3/menu_catalog_new.xml"
|
||||
|
||||
|
||||
|
||||
<ScrollableCatalog>
|
||||
<X> 0 </X>
|
||||
<Y> 497 </Y>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1423 </Height>
|
||||
<Configuration>
|
||||
<MenuNameTextConfiguration>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x322B26 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<AutoResizeConfiguration>
|
||||
<Min> 16 </Min>
|
||||
<Max> 22 </Max>
|
||||
<AdjustStep> 1 </AdjustStep>
|
||||
</AutoResizeConfiguration>
|
||||
</MenuNameTextConfiguration>
|
||||
<MenuDescriptionTextConfiguration>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x322B26 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<AutoResizeConfiguration>
|
||||
<Min> 10 </Min>
|
||||
<Max> 14 </Max>
|
||||
<AdjustStep> 1 </AdjustStep>
|
||||
</AutoResizeConfiguration>
|
||||
</MenuDescriptionTextConfiguration>
|
||||
<MenuPriceTextConfiguration>
|
||||
<Font> KanitRegularTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<AutoResizeConfiguration>
|
||||
<Min> 4 </Min>
|
||||
<Max> 20 </Max>
|
||||
<AdjustStep> 1 </AdjustStep>
|
||||
</AutoResizeConfiguration>
|
||||
</MenuPriceTextConfiguration>
|
||||
<MenuHotPriceLabel>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
Var return = "Hot"
|
||||
Else
|
||||
Var return = "ร้อน"
|
||||
EndIf
|
||||
)
|
||||
</MenuHotPriceLabel>
|
||||
<MenuIcePriceLabel>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
Var return = "Ice"
|
||||
Else
|
||||
Var return = "เย็น"
|
||||
EndIf
|
||||
)
|
||||
</MenuIcePriceLabel>
|
||||
<MenuBlendPriceLabel>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
Var return ="Blend"
|
||||
Else
|
||||
Var return = "ปั่น"
|
||||
EndIf
|
||||
)
|
||||
</MenuBlendPriceLabel>
|
||||
<MenuUnavailableLabel>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
Var return ="UNAVAILABLE"
|
||||
Else
|
||||
Var return = "หมด"
|
||||
EndIf
|
||||
)
|
||||
</MenuUnavailableLabel>
|
||||
</Configuration>
|
||||
<Menus>
|
||||
;banners
|
||||
; menu_new_list 7
|
||||
; ==================> Len = 15
|
||||
; - 12-01-02-0053 -
|
||||
<Menu>
|
||||
<State> Flag( 12-01-02-0053.Button,$Sum1201020053) </State>
|
||||
<IdleImage> "ROOT/taobin_project/image/page_drink_n//bn_iced_sexy_dance_americano.png" </IdleImage>
|
||||
<PressImage> "ROOT/taobin_project/image/page_drink_press_n//bn_iced_sexy_dance_americano.png" </PressImage>
|
||||
<DisableImage> "ROOT/taobin_project/image/page_drink_disable_n2//bn_iced_sexy_dance_americano.png" </DisableImage>
|
||||
<Name>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
Var return = "Sexy Dance\nAmericano"
|
||||
Else
|
||||
Var return = "โอเลี้ยงจ้ำบ๊ะ"
|
||||
EndIf
|
||||
)
|
||||
</Name>
|
||||
<Description>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
Var return = "Espresso, Salak ,\nwater"
|
||||
Else
|
||||
Var return = "กาแฟ น้ำ และ น้ำแดง"
|
||||
EndIf
|
||||
)
|
||||
</Description>
|
||||
<HotState> "Disable2" </HotState>
|
||||
<IceState> $12-01-02-0053.Button </IceState>
|
||||
<BlendState> "Disable2" </BlendState>
|
||||
<HotPrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </HotPrice>
|
||||
<IcePrice> StringFmt( $12-01-02-0053.Price , DisplayFormat, PreScaleConvertShow) </IcePrice>
|
||||
<BlendPrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </BlendPrice>
|
||||
<IceProcessingState>
|
||||
eval(
|
||||
If ICE_PROCESS_STATUS = 2 Then
|
||||
If $Sum510201003951020200395102030039 = "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
|
||||
)
|
||||
</IceProcessingState>
|
||||
<IceProcessingImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </IceProcessingImage>
|
||||
<IceProcessingDisableImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </IceProcessingDisableImage>
|
||||
<EventOnClick>
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_iced_sexy_dance_americano.png"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $##-##-##-####.Price
|
||||
Var PriceD2 = $12-01-02-0053.Price
|
||||
Var PriceD3 = $##-##-##-####.Price
|
||||
Var PD_CODE1 = "##-##-##-####"
|
||||
Var PD_CODE2 = "12-01-02-0053"
|
||||
Var PD_CODE3 = "##-##-##-####"
|
||||
Var PD_STAGE_1 = "Disable2"
|
||||
Var PD_STAGE_2 = $12-01-02-0053.Button
|
||||
Var PD_STAGE_3 = "Disable2"
|
||||
Var OverlayMenuFilter !assigned xmlpro( 12-01-02-0053, "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-01-02-0053"
|
||||
Else
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "-"
|
||||
Else
|
||||
Topping "Load" "-"
|
||||
EndIf
|
||||
EndIf
|
||||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
||||
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
||||
Var menu_name_thai_hot = $##-##-##-####.Name
|
||||
Var menu_desc_thai_hot = $##-##-##-####.description
|
||||
|
||||
Var menu_name_eng_cold = $12-01-02-0053.NameE
|
||||
Var menu_desc_eng_cold = $12-01-02-0053.descriptionE
|
||||
Var menu_name_thai_cold = $12-01-02-0053.Name
|
||||
Var menu_desc_thai_cold = $12-01-02-0053.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
|
||||
|
||||
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>
|
||||
</Menu>
|
||||
|
||||
; ==================> Len = 15
|
||||
; - 12-01-02-0054 -
|
||||
<Menu>
|
||||
<State> Flag( 12-01-02-0054.Button,$Sum1201020054) </State>
|
||||
<IdleImage> "ROOT/taobin_project/image/page_drink_n//bn_iced_snake_wife_americano.png" </IdleImage>
|
||||
<PressImage> "ROOT/taobin_project/image/page_drink_press_n//bn_iced_snake_wife_americano.png" </PressImage>
|
||||
<DisableImage> "ROOT/taobin_project/image/page_drink_disable_n2//bn_iced_snake_wife_americano.png" </DisableImage>
|
||||
<Name>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
Var return = "Snake Wife\nAmericano"
|
||||
Else
|
||||
Var return = "โอยั๊วะเมียงู"
|
||||
EndIf
|
||||
)
|
||||
</Name>
|
||||
<Description>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
Var return = "Espresso, Tokyo Banana ,\n Water"
|
||||
Else
|
||||
Var return = "กาแฟ น้ำ และ กล้วย"
|
||||
EndIf
|
||||
)
|
||||
</Description>
|
||||
<HotState> "Disable2" </HotState>
|
||||
<IceState> $12-01-02-0054.Button </IceState>
|
||||
<BlendState> "Disable2" </BlendState>
|
||||
<HotPrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </HotPrice>
|
||||
<IcePrice> StringFmt( $12-01-02-0054.Price , DisplayFormat, PreScaleConvertShow) </IcePrice>
|
||||
<BlendPrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </BlendPrice>
|
||||
<IceProcessingState>
|
||||
eval(
|
||||
If ICE_PROCESS_STATUS = 2 Then
|
||||
If $Sum510201003951020200395102030039 = "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
|
||||
)
|
||||
</IceProcessingState>
|
||||
<IceProcessingImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </IceProcessingImage>
|
||||
<IceProcessingDisableImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </IceProcessingDisableImage>
|
||||
<EventOnClick>
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_iced_snake_wife_americano.png"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $##-##-##-####.Price
|
||||
Var PriceD2 = $12-01-02-0054.Price
|
||||
Var PriceD3 = $##-##-##-####.Price
|
||||
Var PD_CODE1 = "##-##-##-####"
|
||||
Var PD_CODE2 = "12-01-02-0054"
|
||||
Var PD_CODE3 = "##-##-##-####"
|
||||
Var PD_STAGE_1 = "Disable2"
|
||||
Var PD_STAGE_2 = $12-01-02-0054.Button
|
||||
Var PD_STAGE_3 = "Disable2"
|
||||
Var OverlayMenuFilter !assigned xmlpro( 12-01-02-0054, "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-01-02-0054"
|
||||
Else
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "-"
|
||||
Else
|
||||
Topping "Load" "-"
|
||||
EndIf
|
||||
EndIf
|
||||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
||||
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
||||
Var menu_name_thai_hot = $##-##-##-####.Name
|
||||
Var menu_desc_thai_hot = $##-##-##-####.description
|
||||
|
||||
Var menu_name_eng_cold = $12-01-02-0054.NameE
|
||||
Var menu_desc_eng_cold = $12-01-02-0054.descriptionE
|
||||
Var menu_name_thai_cold = $12-01-02-0054.Name
|
||||
Var menu_desc_thai_cold = $12-01-02-0054.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
|
||||
|
||||
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>
|
||||
</Menu>
|
||||
|
||||
; ==================> Len = 15
|
||||
; - 12-03-02-0026 -
|
||||
<Menu>
|
||||
<State> Flag( 12-03-02-0026.Button,$Sum1203020026) </State>
|
||||
<IdleImage> "ROOT/taobin_project/image/page_drink_n//bn_iced_mini_van_Ovaltine.png" </IdleImage>
|
||||
<PressImage> "ROOT/taobin_project/image/page_drink_press_n//bn_iced_mini_van_Ovaltine.png" </PressImage>
|
||||
<DisableImage> "ROOT/taobin_project/image/page_drink_disable_n2//bn_iced_mini_van_Ovaltine.png" </DisableImage>
|
||||
<Name>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
Var return = "Mini Van Ovaltine"
|
||||
Else
|
||||
Var return = "โอวัลตินรถโรงเรียน"
|
||||
EndIf
|
||||
)
|
||||
</Name>
|
||||
<Description>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
Var return = "Ovaltine, Sugar, milk"
|
||||
Else
|
||||
Var return = "โอวัลติน น้ำตาล และ นม"
|
||||
EndIf
|
||||
)
|
||||
</Description>
|
||||
<HotState> "Disable2" </HotState>
|
||||
<IceState> $12-03-02-0026.Button </IceState>
|
||||
<BlendState> "Disable2" </BlendState>
|
||||
<HotPrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </HotPrice>
|
||||
<IcePrice> StringFmt( $12-03-02-0026.Price , DisplayFormat, PreScaleConvertShow) </IcePrice>
|
||||
<BlendPrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </BlendPrice>
|
||||
<IceProcessingState>
|
||||
eval(
|
||||
If ICE_PROCESS_STATUS = 2 Then
|
||||
If $Sum510201003951020200395102030039 = "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
|
||||
)
|
||||
</IceProcessingState>
|
||||
<IceProcessingImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </IceProcessingImage>
|
||||
<IceProcessingDisableImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </IceProcessingDisableImage>
|
||||
<EventOnClick>
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_iced_mini_van_Ovaltine.png"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $##-##-##-####.Price
|
||||
Var PriceD2 = $12-03-02-0026.Price
|
||||
Var PriceD3 = $##-##-##-####.Price
|
||||
Var PD_CODE1 = "##-##-##-####"
|
||||
Var PD_CODE2 = "12-03-02-0026"
|
||||
Var PD_CODE3 = "##-##-##-####"
|
||||
Var PD_STAGE_1 = "Disable2"
|
||||
Var PD_STAGE_2 = $12-03-02-0026.Button
|
||||
Var PD_STAGE_3 = "Disable2"
|
||||
Var OverlayMenuFilter !assigned xmlpro( 12-03-02-0026, "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-03-02-0026"
|
||||
Else
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "-"
|
||||
Else
|
||||
Topping "Load" "-"
|
||||
EndIf
|
||||
EndIf
|
||||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
||||
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
||||
Var menu_name_thai_hot = $##-##-##-####.Name
|
||||
Var menu_desc_thai_hot = $##-##-##-####.description
|
||||
|
||||
Var menu_name_eng_cold = $12-03-02-0026.NameE
|
||||
Var menu_desc_eng_cold = $12-03-02-0026.descriptionE
|
||||
Var menu_name_thai_cold = $12-03-02-0026.Name
|
||||
Var menu_desc_thai_cold = $12-03-02-0026.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
|
||||
|
||||
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>
|
||||
</Menu>
|
||||
|
||||
; ==================> Len = 20
|
||||
; - 12-02-02-0043 -
|
||||
<Menu>
|
||||
<State> Flag( 12-02-02-0043.Button,$Sum1202020043) </State>
|
||||
<IdleImage> "ROOT/taobin_project/image/page_drink_n//bn_iced_Papong_Tea_Soda.png" </IdleImage>
|
||||
<PressImage> "ROOT/taobin_project/image/page_drink_press_n//bn_iced_Papong_Tea_Soda.png" </PressImage>
|
||||
<DisableImage> "ROOT/taobin_project/image/page_drink_disable_n2//bn_iced_Papong_Tea_Soda.png" </DisableImage>
|
||||
<Name>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
Var return = "Papong Tea Soda"
|
||||
Else
|
||||
Var return = "ชาดำปาโป่ง"
|
||||
EndIf
|
||||
)
|
||||
</Name>
|
||||
<Description>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
Var return = "Thai tea, Limenade,soda"
|
||||
Else
|
||||
Var return = "ชาไทย มะนาว โซดา"
|
||||
EndIf
|
||||
)
|
||||
</Description>
|
||||
<HotState> "Disable2" </HotState>
|
||||
<IceState> $12-02-02-0043.Button </IceState>
|
||||
<BlendState> "Disable2" </BlendState>
|
||||
<HotPrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </HotPrice>
|
||||
<IcePrice> StringFmt( $12-02-02-0043.Price , DisplayFormat, PreScaleConvertShow) </IcePrice>
|
||||
<BlendPrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </BlendPrice>
|
||||
<IceProcessingState>
|
||||
eval(
|
||||
If ICE_PROCESS_STATUS = 2 Then
|
||||
If $Sum510201003951020200395102030039 = "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
|
||||
)
|
||||
</IceProcessingState>
|
||||
<IceProcessingImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </IceProcessingImage>
|
||||
<IceProcessingDisableImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </IceProcessingDisableImage>
|
||||
<EventOnClick>
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_iced_Papong_Tea_Soda.png"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $##-##-##-####.Price
|
||||
Var PriceD2 = $12-02-02-0043.Price
|
||||
Var PriceD3 = $##-##-##-####.Price
|
||||
Var PD_CODE1 = "##-##-##-####"
|
||||
Var PD_CODE2 = "12-02-02-0043"
|
||||
Var PD_CODE3 = "##-##-##-####"
|
||||
Var PD_STAGE_1 = "Disable2"
|
||||
Var PD_STAGE_2 = $12-02-02-0043.Button
|
||||
Var PD_STAGE_3 = "Disable2"
|
||||
Var OverlayMenuFilter !assigned xmlpro( 12-02-02-0043, "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-0043"
|
||||
Else
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "-"
|
||||
Else
|
||||
Topping "Load" "-"
|
||||
EndIf
|
||||
EndIf
|
||||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
||||
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
||||
Var menu_name_thai_hot = $##-##-##-####.Name
|
||||
Var menu_desc_thai_hot = $##-##-##-####.description
|
||||
|
||||
Var menu_name_eng_cold = $12-02-02-0043.NameE
|
||||
Var menu_desc_eng_cold = $12-02-02-0043.descriptionE
|
||||
Var menu_name_thai_cold = $12-02-02-0043.Name
|
||||
Var menu_desc_thai_cold = $12-02-02-0043.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
|
||||
|
||||
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>
|
||||
</Menu>
|
||||
|
||||
; ==================> Len = 20
|
||||
; - 12-02-02-0044 -
|
||||
<Menu>
|
||||
<State> Flag( 12-02-02-0044.Button,$Sum1202020044) </State>
|
||||
<IdleImage> "ROOT/taobin_project/image/page_drink_n//bn_iced_Matcha_Haunted_House.png" </IdleImage>
|
||||
<PressImage> "ROOT/taobin_project/image/page_drink_press_n//bn_iced_Matcha_Haunted_House.png" </PressImage>
|
||||
<DisableImage> "ROOT/taobin_project/image/page_drink_disable_n2//bn_iced_Matcha_Haunted_House.png" </DisableImage>
|
||||
<Name>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
Var return = "Matcha Haunted\nHouse"
|
||||
Else
|
||||
Var return = "ชาเขียวบ้านผีปอบ "
|
||||
EndIf
|
||||
)
|
||||
</Name>
|
||||
<Description>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
Var return = "Match, Strawberry ,Soda"
|
||||
Else
|
||||
Var return = "ชาเขียว สตรอเบอรี โซดา"
|
||||
EndIf
|
||||
)
|
||||
</Description>
|
||||
<HotState> "Disable2" </HotState>
|
||||
<IceState> $12-02-02-0044.Button </IceState>
|
||||
<BlendState> "Disable2" </BlendState>
|
||||
<HotPrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </HotPrice>
|
||||
<IcePrice> StringFmt( $12-02-02-0044.Price , DisplayFormat, PreScaleConvertShow) </IcePrice>
|
||||
<BlendPrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </BlendPrice>
|
||||
<IceProcessingState>
|
||||
eval(
|
||||
If ICE_PROCESS_STATUS = 2 Then
|
||||
If $Sum510201003951020200395102030039 = "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
|
||||
)
|
||||
</IceProcessingState>
|
||||
<IceProcessingImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </IceProcessingImage>
|
||||
<IceProcessingDisableImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </IceProcessingDisableImage>
|
||||
<EventOnClick>
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_iced_Matcha_Haunted_House.png"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $##-##-##-####.Price
|
||||
Var PriceD2 = $12-02-02-0044.Price
|
||||
Var PriceD3 = $##-##-##-####.Price
|
||||
Var PD_CODE1 = "##-##-##-####"
|
||||
Var PD_CODE2 = "12-02-02-0044"
|
||||
Var PD_CODE3 = "##-##-##-####"
|
||||
Var PD_STAGE_1 = "Disable2"
|
||||
Var PD_STAGE_2 = $12-02-02-0044.Button
|
||||
Var PD_STAGE_3 = "Disable2"
|
||||
Var OverlayMenuFilter !assigned xmlpro( 12-02-02-0044, "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-0044"
|
||||
Else
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "-"
|
||||
Else
|
||||
Topping "Load" "-"
|
||||
EndIf
|
||||
EndIf
|
||||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
||||
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
||||
Var menu_name_thai_hot = $##-##-##-####.Name
|
||||
Var menu_desc_thai_hot = $##-##-##-####.description
|
||||
|
||||
Var menu_name_eng_cold = $12-02-02-0044.NameE
|
||||
Var menu_desc_eng_cold = $12-02-02-0044.descriptionE
|
||||
Var menu_name_thai_cold = $12-02-02-0044.Name
|
||||
Var menu_desc_thai_cold = $12-02-02-0044.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
|
||||
|
||||
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>
|
||||
</Menu>
|
||||
|
||||
; ==================> Len = 20
|
||||
; - 12-05-02-0055 -
|
||||
<Menu>
|
||||
<State> Flag( 12-05-02-0055.Button,$Sum1205020055) </State>
|
||||
<IdleImage> "ROOT/taobin_project/image/page_drink_n//bn_iced_Wishing_Tree_Soda.png" </IdleImage>
|
||||
<PressImage> "ROOT/taobin_project/image/page_drink_press_n//bn_iced_Wishing_Tree_Soda.png" </PressImage>
|
||||
<DisableImage> "ROOT/taobin_project/image/page_drink_disable_n2//bn_iced_Wishing_Tree_Soda.png" </DisableImage>
|
||||
<Name>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
Var return = "Wishing Tree Soda"
|
||||
Else
|
||||
Var return = "โซดาสอยดาว"
|
||||
EndIf
|
||||
)
|
||||
</Name>
|
||||
<Description>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
Var return = "Limenade, Ume , Lychee & Ice"
|
||||
Else
|
||||
Var return = "มะนาว บ๊วย ลิ้นจี่ โซดา"
|
||||
EndIf
|
||||
)
|
||||
</Description>
|
||||
<HotState> "Disable2" </HotState>
|
||||
<IceState> $12-05-02-0055.Button </IceState>
|
||||
<BlendState> "Disable2" </BlendState>
|
||||
<HotPrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </HotPrice>
|
||||
<IcePrice> StringFmt( $12-05-02-0055.Price , DisplayFormat, PreScaleConvertShow) </IcePrice>
|
||||
<BlendPrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </BlendPrice>
|
||||
<IceProcessingState>
|
||||
eval(
|
||||
If ICE_PROCESS_STATUS = 2 Then
|
||||
If $Sum510201003951020200395102030039 = "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
|
||||
)
|
||||
</IceProcessingState>
|
||||
<IceProcessingImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </IceProcessingImage>
|
||||
<IceProcessingDisableImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </IceProcessingDisableImage>
|
||||
<EventOnClick>
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_iced_Wishing_Tree_Soda.png"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $##-##-##-####.Price
|
||||
Var PriceD2 = $12-05-02-0055.Price
|
||||
Var PriceD3 = $##-##-##-####.Price
|
||||
Var PD_CODE1 = "##-##-##-####"
|
||||
Var PD_CODE2 = "12-05-02-0055"
|
||||
Var PD_CODE3 = "##-##-##-####"
|
||||
Var PD_STAGE_1 = "Disable2"
|
||||
Var PD_STAGE_2 = $12-05-02-0055.Button
|
||||
Var PD_STAGE_3 = "Disable2"
|
||||
Var OverlayMenuFilter !assigned xmlpro( 12-05-02-0055, "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-05-02-0055"
|
||||
Else
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "-"
|
||||
Else
|
||||
Topping "Load" "-"
|
||||
EndIf
|
||||
EndIf
|
||||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
||||
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
||||
Var menu_name_thai_hot = $##-##-##-####.Name
|
||||
Var menu_desc_thai_hot = $##-##-##-####.description
|
||||
|
||||
Var menu_name_eng_cold = $12-05-02-0055.NameE
|
||||
Var menu_desc_eng_cold = $12-05-02-0055.descriptionE
|
||||
Var menu_name_thai_cold = $12-05-02-0055.Name
|
||||
Var menu_desc_thai_cold = $12-05-02-0055.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
|
||||
|
||||
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>
|
||||
</Menu>
|
||||
|
||||
; ==================> Len = 20
|
||||
; - 12-05-02-0056 -
|
||||
<Menu>
|
||||
<State> Flag( 12-05-02-0056.Button,$Sum1205020056) </State>
|
||||
<IdleImage> "ROOT/taobin_project/image/page_drink_n//bn_iced_bucket_popsicle_pepsi.png" </IdleImage>
|
||||
<PressImage> "ROOT/taobin_project/image/page_drink_press_n//bn_iced_bucket_popsicle_pepsi.png" </PressImage>
|
||||
<DisableImage> "ROOT/taobin_project/image/page_drink_disable_n2//bn_iced_bucket_popsicle_pepsi.png" </DisableImage>
|
||||
<Name>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
Var return = "Bucket Popsicle\nPepsi"
|
||||
Else
|
||||
Var return = "เป๊ปซี่ไอติมหลอด"
|
||||
EndIf
|
||||
)
|
||||
</Name>
|
||||
<Description>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
Var return = "Pepsi, Salak , soda"
|
||||
Else
|
||||
Var return = "เป๊ปซี่ น้ำแดงกลิ่นสละ โซดา"
|
||||
EndIf
|
||||
)
|
||||
</Description>
|
||||
<HotState> "Disable2" </HotState>
|
||||
<IceState> $12-05-02-0056.Button </IceState>
|
||||
<BlendState> "Disable2" </BlendState>
|
||||
<HotPrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </HotPrice>
|
||||
<IcePrice> StringFmt( $12-05-02-0056.Price , DisplayFormat, PreScaleConvertShow) </IcePrice>
|
||||
<BlendPrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </BlendPrice>
|
||||
<IceProcessingState>
|
||||
eval(
|
||||
If ICE_PROCESS_STATUS = 2 Then
|
||||
If $Sum510201003951020200395102030039 = "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
|
||||
)
|
||||
</IceProcessingState>
|
||||
<IceProcessingImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </IceProcessingImage>
|
||||
<IceProcessingDisableImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </IceProcessingDisableImage>
|
||||
<EventOnClick>
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_iced_bucket_popsicle_pepsi.png"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $##-##-##-####.Price
|
||||
Var PriceD2 = $12-05-02-0056.Price
|
||||
Var PriceD3 = $##-##-##-####.Price
|
||||
Var PD_CODE1 = "##-##-##-####"
|
||||
Var PD_CODE2 = "12-05-02-0056"
|
||||
Var PD_CODE3 = "##-##-##-####"
|
||||
Var PD_STAGE_1 = "Disable2"
|
||||
Var PD_STAGE_2 = $12-05-02-0056.Button
|
||||
Var PD_STAGE_3 = "Disable2"
|
||||
Var OverlayMenuFilter !assigned xmlpro( 12-05-02-0056, "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-05-02-0056"
|
||||
Else
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "-"
|
||||
Else
|
||||
Topping "Load" "-"
|
||||
EndIf
|
||||
EndIf
|
||||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
||||
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
||||
Var menu_name_thai_hot = $##-##-##-####.Name
|
||||
Var menu_desc_thai_hot = $##-##-##-####.description
|
||||
|
||||
Var menu_name_eng_cold = $12-05-02-0056.NameE
|
||||
Var menu_desc_eng_cold = $12-05-02-0056.descriptionE
|
||||
Var menu_name_thai_cold = $12-05-02-0056.Name
|
||||
Var menu_desc_thai_cold = $12-05-02-0056.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
|
||||
|
||||
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>
|
||||
</Menu>
|
||||
|
||||
</ScrollableCatalog>
|
||||
|
||||
|
||||
|
||||
|
||||
</Popup>
|
||||
Loading…
Add table
Add a link
Reference in a new issue