Add image cat 20 baht

This commit is contained in:
wanlop run 2025-05-20 21:13:47 +07:00
parent 00d0a0fc7c
commit 4f9bc018eb
45 changed files with 12510 additions and 8245 deletions

View file

@ -156,6 +156,13 @@ If SystemDateDayOfWeek = "Wednesday" Then
EndIf
Var Catalog20BahtEnable = 0
STRCONTAIN "Catalog20" XMLProfile Catalog20Enable
If Catalog20Enable = "true" Then
Var Catalog20BahtEnable = 1
EndIf
Var ToppingNewUINewSystem = 0
If BoxID = 201193 Then
@ -178,7 +185,7 @@ EndIf
If BoxID = 201714 Then
Var Catalog20BahtEnable = 1
EndIf
If BoxID = 201729 Then
@ -199,6 +206,7 @@ EndIf
If BoxID = 123456 Then
Var ToppingNewUINewSystem = 0
Var BoostEnergyPro = 1
Var Catalog20BahtEnable = 1
EndIf
DEBUGVAR ConfigNumer

View file

@ -116,6 +116,15 @@
If Catalog20BahtEnable = 1 Then
Var Menu61Selected = "Invisible"
Var Menu63Selected = "Enable"
Else
Var Menu61Selected = "Enable"
Var Menu63Selected = "Invisible"
EndIf

View file

@ -391,6 +391,7 @@
</EventClick>
</Button>
<Button>
<Layout> "linear" </Layout>
<State> Menu62Selected </State>
@ -412,6 +413,28 @@
</EventClick>
</Button>
<Button>
<Layout> "linear" </Layout>
<State> Menu63Selected </State>
<Filename> Var( DirImageAlter + "/bn_20_baht.png") </Filename>
<FilenamePress> Var( DirImageAlter + "/bp_20_baht.png") </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var NextPage = "-"
If EnableMultiInstance = "true" Then
TabMenuVisibleInst 7
Var OpenFileXML = CountryRootPath + "/xml/multi/page_instance2.xml"
OpenInst 2 OpenFileXML
Else
Open "ROOT/taobin_project/xml/page_catalog_group_20_baht.xml"
EndIf
</EventClick>
</Button>
<Button>
<Layout> "linear" </Layout>
<State> MenuVSelected2 </State>

View file

@ -255,6 +255,16 @@
Open "ROOT/taobin_project/inter/tha/xml/multi/page_catalog.lxml"
EndIf
DEBUGVAR Catalog20BahtEnable
If Catalog20BahtEnable = 1 Then
Var PepsiCatalogStage = "Invisible"
Var Menu20BahtStage = "Enable"
Else
Var PepsiCatalogStage = "Enable"
Var Menu20BahtStage = "Invisible"
EndIf
Var Price5Active = 0
</EventOpen>
@ -494,6 +504,7 @@
<Button>
<X> 48 </X>
<Y> 1532 </Y>
<State> PepsiCatalogStage </State>
<Filename> Var(DirImage + "/bn_Pepsi_7up.png") </Filename>
<FilenamePress> Var(DirImage + "/bp_Pepsi_7up.png") </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
@ -505,6 +516,23 @@
</EventClick>
</Button>
<Button>
<X> 48 </X>
<Y> 1532 </Y>
<State> Menu20BahtStage </State>
<Filename> Var(DirImage + "/bn_soda_20B.png") </Filename>
<FilenamePress> Var(DirImage + "/bp_soda_20B.png") </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert2.xml"
Open "ROOT/taobin_project/xml/page_catalog_group_20_baht.xml"
</EventClick>
</Button>
<Button>

View file

@ -15,7 +15,7 @@
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
; soda and other
Var Menu62Selected = "PressForever"
Var Menu63Selected = "PressForever"
SAVELOG PreviseXMLFileName2

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -40,7 +40,7 @@
;banner_shifting
</Script>
;dummy_layout.inc
; menu_new_list 60
; menu_new_list 61
; ==================> Len = 21
; - - 12-03-03-0032
<Block>
@ -1049,6 +1049,257 @@ Volcano" </Value>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; - - -
; ==================> Len = 16
; - - 12-03-03-0107
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-03-03-0107.Button,$Sum1203030107) </State>
<Button>
<State> $Sum1203030107 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_Apple_Oreo_Volcano.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_Apple_Oreo_Volcano.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_Apple_Oreo_Volcano.png" </FilenameDisable>
<OverlayImage> xmlpro( 12-03-03-0107, "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 = "Apple Oreo Volcano"
Var NameDrinkTH = "แอปเปิ้ลโอริโอ"
Var DrinkDescriptionTH = "แอปเปิ้ล นม โอรีโอ"
Var DrinkDescription = "Apple Milk Oreo"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_Apple_Oreo_Volcano.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $-.Price
Var PriceD2 = $-.Price
Var PriceD3 = $12-03-03-0107.Price
Var PD_CODE1 = "##-##-##-####"
Var PD_CODE2 = "##-##-##-####"
Var PD_CODE3 = "12-03-03-0107"
Var PD_STAGE_1 = "Disable2"
Var PD_STAGE_2 = "Disable2"
Var PD_STAGE_3 = $12-03-03-0107.Button
Var OverlayMenuFilter !assigned xmlpro( 12-03-03-0107, "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_3 = "Enable" Then
Topping "Load" "12-03-03-0107"
Else
If PD_STAGE_2 = "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 = $##-##-##-####.NameE
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
Var menu_name_thai_cold = $##-##-##-####.Name
Var menu_desc_thai_cold = $##-##-##-####.description
Var menu_name_eng_blender = $12-03-03-0107.NameE
Var menu_desc_eng_blender = $12-03-03-0107.descriptionE
Var menu_name_thai_blender = $12-03-03-0107.Name
Var menu_desc_thai_blender = $12-03-03-0107.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> "Apple Oreo Volcano" </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> "Apple Milk Oreo" </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> "Invisible" </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> "Invisible" </State>
<Value> StringFmt( $-.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> "Invisible" </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> "Invisible" </State>
<Value> StringFmt( $-.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-03-03-0107.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-03-03-0107.Button </State>
<Value> StringFmt( $12-03-03-0107.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
</Text>
<Image>
<X> 81 </X>
<Y> 264 </Y>
<State>
eval(
If ICE_PROCESS_STATUS = 2 Then
Var ice_tab_process_show = "Invisible"
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 $Sum1203030107 = "Disable" Then
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
STRCONTAIN "ERR" $##-##-##-####.TAG tag2_is_disable
STRCONTAIN "ERR" $12-03-03-0107.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> $Sum1203030107 </State>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; - - -
; ==================> Len = 16

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -127,6 +127,15 @@
If Catalog20BahtEnable = 1 Then
Var Menu61Selected = "Invisible"
Var Menu63Selected = "Enable"
Else
Var Menu61Selected = "Enable"
Var Menu63Selected = "Invisible"
EndIf

View file

@ -49,9 +49,9 @@
<State> Flag( 12-01-03-0078.Button,$Sum1201030078) </State>
<Button>
<State> $Sum1201030078 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_super_oreo_volcano_Caramel_happy_trios.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_super_oreo_volcano_Caramel_happy_trios.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_super_oreo_volcano_Caramel_happy_trios.png" </FilenameDisable>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_Caramel_Espresso_Oreo_smoothie.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_Caramel_Espresso_Oreo_smoothie.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_Caramel_Espresso_Oreo_smoothie.png" </FilenameDisable>
<OverlayImage> xmlpro( 12-01-03-0078, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
@ -60,7 +60,7 @@
Var NameDrinkTH = "พรีเมียมเอสเพรสโซ่ คาราเมลโอรีโอ"
Var DrinkDescriptionTH = "กาแฟ นม คาราเมล และโอรีโอ"
Var DrinkDescription = "Coffee, Milk, Caramel , Oreo"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_super_oreo_volcano_Caramel_happy_trios.png"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_Caramel_Espresso_Oreo_smoothie.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $-.Price
Var PriceD2 = $-.Price
@ -301,9 +301,9 @@ Caramel Oreo" </Value>
<State> Flag( 12-21-03-0078.Button,$Sum1221030078) </State>
<Button>
<State> $Sum1221030078 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_super_oreo_volcano_Caramel_happy_trios.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_super_oreo_volcano_Caramel_happy_trios.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_super_oreo_volcano_Caramel_happy_trios.png" </FilenameDisable>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_Caramel_Espresso_Oreo_smoothie.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_Caramel_Espresso_Oreo_smoothie.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_Caramel_Espresso_Oreo_smoothie.png" </FilenameDisable>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<OverlayImage> xmlpro( 12-21-03-0078, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
@ -312,7 +312,7 @@ Caramel Oreo" </Value>
Var NameDrinkTH = "พรีเมียมเอสเพรสโซ่ คาราเมลโอรีโอ"
Var DrinkDescriptionTH = "กาแฟ นม คาราเมล และโอรีโอ"
Var DrinkDescription = "Coffee, Milk, Caramel , Oreo"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_super_oreo_volcano_Caramel_happy_trios.png"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_Caramel_Espresso_Oreo_smoothie.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $-.Price
Var PriceD2 = $-.Price
@ -554,9 +554,9 @@ Caramel Oreo" </Value>
<State> Flag( 12-02-03-0057.Button,$Sum1202030057) </State>
<Button>
<State> $Sum1202030057 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_super_oreo_volcano_Matcha_happy_trios.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_super_oreo_volcano_Matcha_happy_trios.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_super_oreo_volcano_Matcha_happy_trios.png" </FilenameDisable>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_Caramel_GreenTea_Oreo_smoothie.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_Caramel_GreenTea_Oreo_smoothie.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_Caramel_GreenTea_Oreo_smoothie.png" </FilenameDisable>
<OverlayImage> xmlpro( 12-02-03-0057, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
@ -565,7 +565,7 @@ Caramel Oreo" </Value>
Var NameDrinkTH = "พรีเมียมมัทฉะ คาราเมลโอรีโอ"
Var DrinkDescriptionTH = "มัทฉะ นม คาราเมล และโอรีโอ"
Var DrinkDescription = "Matcha, Milk, Caramel , Oreo"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_super_oreo_volcano_Matcha_happy_trios.png"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_Caramel_GreenTea_Oreo_smoothie.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $-.Price
Var PriceD2 = $-.Price
@ -808,9 +808,9 @@ Caramel Oreo" </Value>
<State> Flag( 12-02-03-0058.Button,$Sum1202030058) </State>
<Button>
<State> $Sum1202030058 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_super_oreo_volcano_ThaiTea_happy_trios.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_super_oreo_volcano_ThaiTea_happy_trios.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_super_oreo_volcano_ThaiTea_happy_trios.png" </FilenameDisable>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_Caramel_ThaiTea_Oreo_smoothie.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_Caramel_ThaiTea_Oreo_smoothie.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_Caramel_ThaiTea_Oreo_smoothie.png" </FilenameDisable>
<OverlayImage> xmlpro( 12-02-03-0058, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
@ -819,7 +819,7 @@ Caramel Oreo" </Value>
Var NameDrinkTH = "พรีเมียมชาไทย คาราเมลโอรีโอ"
Var DrinkDescriptionTH = "ชาไทย นม คาราเมล และโอรีโอ"
Var DrinkDescription = "Thai Tea, Milk, Caramel , Oreo"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_super_oreo_volcano_ThaiTea_happy_trios.png"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_Caramel_ThaiTea_Oreo_smoothie.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $-.Price
Var PriceD2 = $-.Price

File diff suppressed because it is too large Load diff

View file

@ -127,6 +127,15 @@
If Catalog20BahtEnable = 1 Then
Var Menu61Selected = "Invisible"
Var Menu63Selected = "Enable"
Else
Var Menu61Selected = "Enable"
Var Menu63Selected = "Invisible"
EndIf

View file

@ -45,7 +45,7 @@
;banner_shifting
</Script>
;dummy_layout.inc
; menu_new_list 64
; menu_new_list 67
; ==================> Len = 21
; 12-02-01-0004 12-02-02-0004 12-02-03-0004
<Block>
@ -1064,6 +1064,771 @@
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; - - -
; ==================> Len = 16
; 12-02-01-0088 12-02-02-0088 12-02-03-0088
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-02-01-0088.Button,12-02-02-0088.Button,12-02-03-0088.Button,DateTimeStart="2025/06/01T00:00:00",$Sum120201008812020200881202030088) </State>
<Button>
<State> $Sum120201008812020200881202030088 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_Apple_Pure_matcha.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_Apple_Pure_matcha.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_Apple_Pure_matcha.png" </FilenameDisable>
<OverlayImage> xmlpro( 12-02-01-0088, "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 = "Apple Pure Matcha"
Var NameDrinkTH = "เพียวมัทฉะแอปเปิ้ล"
Var DrinkDescriptionTH = "ชาเขียว แอปเปิ้ล"
Var DrinkDescription = "Matcha Apple"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_Apple_Pure_matcha.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $12-02-01-0088.Price
Var PriceD2 = $12-02-02-0088.Price
Var PriceD3 = $12-02-03-0088.Price
Var PD_CODE1 = "12-02-01-0088"
Var PD_CODE2 = "12-02-02-0088"
Var PD_CODE3 = "12-02-03-0088"
Var PD_STAGE_1 = $12-02-01-0088.Button
Var PD_STAGE_2 = $12-02-02-0088.Button
Var PD_STAGE_3 = $12-02-03-0088.Button
Var OverlayMenuFilter !assigned xmlpro( 12-02-01-0088, "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_3 = "Enable" Then
Topping "Load" "12-02-03-0088"
Else
If PD_STAGE_2 = "Enable" Then
Topping "Load" "12-02-02-0088"
Else
Topping "Load" "12-02-01-0088"
EndIf
EndIf
Var menu_name_eng_hot = $12-02-01-0088.NameE
Var menu_desc_eng_hot = $12-02-01-0088.descriptionE
Var menu_name_thai_hot = $12-02-01-0088.Name
Var menu_desc_thai_hot = $12-02-01-0088.description
Var menu_name_eng_cold = $12-02-02-0088.NameE
Var menu_desc_eng_cold = $12-02-02-0088.descriptionE
Var menu_name_thai_cold = $12-02-02-0088.Name
Var menu_desc_thai_cold = $12-02-02-0088.description
Var menu_name_eng_blender = $12-02-03-0088.NameE
Var menu_desc_eng_blender = $12-02-03-0088.descriptionE
Var menu_name_thai_blender = $12-02-03-0088.Name
Var menu_desc_thai_blender = $12-02-03-0088.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> "Apple Pure Matcha" </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 Apple" </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-0088.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-0088.Button </State>
<Value> StringFmt( $12-02-01-0088.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-0088.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-0088.Button </State>
<Value> StringFmt( $12-02-02-0088.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-0088.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-0088.Button </State>
<Value> StringFmt( $12-02-03-0088.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
</Text>
<Image>
<X> 81 </X>
<Y> 264 </Y>
<State>
eval(
If ICE_PROCESS_STATUS = 2 Then
If $Sum120201008812020200881202030088 = "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 $Sum120201008812020200881202030088 = "Disable" Then
STRCONTAIN "ERR" $12-02-01-0088.TAG tag1_is_disable
STRCONTAIN "ERR" $12-02-02-0088.TAG tag2_is_disable
STRCONTAIN "ERR" $12-02-03-0088.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> $Sum120201008812020200881202030088 </State>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; - - -
; ==================> Len = 16
; 12-02-01-0102 12-02-02-0102 12-02-03-0102
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-02-01-0102.Button,12-02-02-0102.Button,12-02-03-0102.Button,DateTimeStart="2025/06/01T00:00:00",$Sum120201010212020201021202030102) </State>
<Button>
<State> $Sum120201010212020201021202030102 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_Apple_Jasmine_Tea.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_Apple_Jasmine_Tea.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_Apple_Jasmine_Tea.png" </FilenameDisable>
<OverlayImage> xmlpro( 12-02-01-0102, "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 = "Apple Jasmine Tea"
Var NameDrinkTH = "แอปเปิ้ลจัสมิน"
Var DrinkDescriptionTH = "ชามะลิ แอปเปิ้ล"
Var DrinkDescription = "Apple Jasmine Tea"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_Apple_Jasmine_Tea.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $12-02-01-0102.Price
Var PriceD2 = $12-02-02-0102.Price
Var PriceD3 = $12-02-03-0102.Price
Var PD_CODE1 = "12-02-01-0102"
Var PD_CODE2 = "12-02-02-0102"
Var PD_CODE3 = "12-02-03-0102"
Var PD_STAGE_1 = $12-02-01-0102.Button
Var PD_STAGE_2 = $12-02-02-0102.Button
Var PD_STAGE_3 = $12-02-03-0102.Button
Var OverlayMenuFilter !assigned xmlpro( 12-02-01-0102, "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_3 = "Enable" Then
Topping "Load" "12-02-03-0102"
Else
If PD_STAGE_2 = "Enable" Then
Topping "Load" "12-02-02-0102"
Else
Topping "Load" "12-02-01-0102"
EndIf
EndIf
Var menu_name_eng_hot = $12-02-01-0102.NameE
Var menu_desc_eng_hot = $12-02-01-0102.descriptionE
Var menu_name_thai_hot = $12-02-01-0102.Name
Var menu_desc_thai_hot = $12-02-01-0102.description
Var menu_name_eng_cold = $12-02-02-0102.NameE
Var menu_desc_eng_cold = $12-02-02-0102.descriptionE
Var menu_name_thai_cold = $12-02-02-0102.Name
Var menu_desc_thai_cold = $12-02-02-0102.description
Var menu_name_eng_blender = $12-02-03-0102.NameE
Var menu_desc_eng_blender = $12-02-03-0102.descriptionE
Var menu_name_thai_blender = $12-02-03-0102.Name
Var menu_desc_thai_blender = $12-02-03-0102.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> "Apple Jasmine 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> "Apple Jasmine Tea" </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-0102.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-0102.Button </State>
<Value> StringFmt( $12-02-01-0102.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-0102.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-0102.Button </State>
<Value> StringFmt( $12-02-02-0102.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-0102.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-0102.Button </State>
<Value> StringFmt( $12-02-03-0102.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
</Text>
<Image>
<X> 81 </X>
<Y> 264 </Y>
<State>
eval(
If ICE_PROCESS_STATUS = 2 Then
If $Sum120201010212020201021202030102 = "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 $Sum120201010212020201021202030102 = "Disable" Then
STRCONTAIN "ERR" $12-02-01-0102.TAG tag1_is_disable
STRCONTAIN "ERR" $12-02-02-0102.TAG tag2_is_disable
STRCONTAIN "ERR" $12-02-03-0102.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> $Sum120201010212020201021202030102 </State>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; - - -
; ==================> Len = 16
; 12-02-01-0101 12-02-02-0101 12-02-03-0101
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-02-01-0101.Button,12-02-02-0101.Button,12-02-03-0101.Button,DateTimeStart="2025/06/01T00:00:00",$Sum120201010112020201011202030101) </State>
<Button>
<State> $Sum120201010112020201011202030101 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_Apple_Oolong.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_Apple_Oolong.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_Apple_Oolong.png" </FilenameDisable>
<OverlayImage> xmlpro( 12-02-01-0101, "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 = "Apple Oolong Tea"
Var NameDrinkTH = "แอปเปิ้ลอู่หลง"
Var DrinkDescriptionTH = "ชาอู่หลง แอปเปิ้ล"
Var DrinkDescription = "Apple Oolong Tea"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_Apple_Oolong.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $12-02-01-0101.Price
Var PriceD2 = $12-02-02-0101.Price
Var PriceD3 = $12-02-03-0101.Price
Var PD_CODE1 = "12-02-01-0101"
Var PD_CODE2 = "12-02-02-0101"
Var PD_CODE3 = "12-02-03-0101"
Var PD_STAGE_1 = $12-02-01-0101.Button
Var PD_STAGE_2 = $12-02-02-0101.Button
Var PD_STAGE_3 = $12-02-03-0101.Button
Var OverlayMenuFilter !assigned xmlpro( 12-02-01-0101, "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_3 = "Enable" Then
Topping "Load" "12-02-03-0101"
Else
If PD_STAGE_2 = "Enable" Then
Topping "Load" "12-02-02-0101"
Else
Topping "Load" "12-02-01-0101"
EndIf
EndIf
Var menu_name_eng_hot = $12-02-01-0101.NameE
Var menu_desc_eng_hot = $12-02-01-0101.descriptionE
Var menu_name_thai_hot = $12-02-01-0101.Name
Var menu_desc_thai_hot = $12-02-01-0101.description
Var menu_name_eng_cold = $12-02-02-0101.NameE
Var menu_desc_eng_cold = $12-02-02-0101.descriptionE
Var menu_name_thai_cold = $12-02-02-0101.Name
Var menu_desc_thai_cold = $12-02-02-0101.description
Var menu_name_eng_blender = $12-02-03-0101.NameE
Var menu_desc_eng_blender = $12-02-03-0101.descriptionE
Var menu_name_thai_blender = $12-02-03-0101.Name
Var menu_desc_thai_blender = $12-02-03-0101.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> "Apple Oolong 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> "Apple Oolong Tea" </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-0101.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-0101.Button </State>
<Value> StringFmt( $12-02-01-0101.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-0101.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-0101.Button </State>
<Value> StringFmt( $12-02-02-0101.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-0101.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-0101.Button </State>
<Value> StringFmt( $12-02-03-0101.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
</Text>
<Image>
<X> 81 </X>
<Y> 264 </Y>
<State>
eval(
If ICE_PROCESS_STATUS = 2 Then
If $Sum120201010112020201011202030101 = "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 $Sum120201010112020201011202030101 = "Disable" Then
STRCONTAIN "ERR" $12-02-01-0101.TAG tag1_is_disable
STRCONTAIN "ERR" $12-02-02-0101.TAG tag2_is_disable
STRCONTAIN "ERR" $12-02-03-0101.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> $Sum120201010112020201011202030101 </State>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; - - -
; ==================> Len = 16

View file

@ -2537,6 +2537,8 @@
DEBUGVAR toppingID2price1
DEBUGVAR toppingID2price2
DEBUGVAR toppingID2price3
DEBUGVAR toppingID2price4
DEBUGVAR toppingID9price1
DEBUGVAR toppingID9price2
DEBUGVAR toppingID9price3
@ -6684,10 +6686,10 @@
Var topping2 = toppingID2index1
EndIf
If CustomCoffeeQuantityState[1] = "PressForever" Then
Var topping2 = toppingID2index2
Var topping2 = toppingID2index3
EndIf
If CustomCoffeeQuantityState[2] = "PressForever" Then
Var topping2 = toppingID2index3
Var topping2 = toppingID2index4
EndIf
Else
If toppingID2index3 = "" Then
@ -7315,10 +7317,10 @@
Var topping2 = toppingID2index1
EndIf
If CustomCoffeeQuantityState[1] = "PressForever" Then
Var topping2 = toppingID2index2
Var topping2 = toppingID2index3
EndIf
If CustomCoffeeQuantityState[2] = "PressForever" Then
Var topping2 = toppingID2index3
Var topping2 = toppingID2index4
EndIf
Else
If toppingID2index3 = "" Then