taobin_project/xml/page_catalog_group_tea.xml
2022-09-22 14:49:27 +07:00

7291 lines
210 KiB
XML

<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 "
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 = "น้ำแข็งจะพร้อมเวลา "
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
;Var Menu22Selected = "Enable"
Var Menu22Selected = "Invisible"
Var Menu3Selected = "PressForever"
SAVELOG PreviseXMLFileName2
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>
; notice enable heathy menu
<Image>
<X> 0 </X>
<Y> 380 </Y>
<Width> 1080 </Width>
<Height> 1540 </Height>
<Color> "0xeae6e1" </Color>
</Image>
<Timeout> 1000 </Timeout>
<EventTimeout>
;DEBUGVAR ICE_PROCESS_STATUS
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
If NextPage = "-" Then
Else
If CupOnArm = "true" Then
If Timeout > 9 Then
SAVELOG "COA9"
Open NextPage
EndIf
Else
If Timeout > 30 Then
SAVELOG "COA30"
Open NextPage
EndIf
EndIf
EndIf
If Timeout > 60 Then
SAVELOG "Timeout"
If Seeker = "next" Then
Open "ROOT/taobin_project/xml/page_brewing3Conti.xml"
Else
SAVELOG "Back"
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
EndIf
EndIf
If BrewCommand = "RefreshAll" Then
Var BrewCommand = "-"
Open CurrentXMLFileName2
EndIf
If Seeker = "curr" Then
If DoorCupPosition = "bottom" Then
; It normal
Var EmergencyStop = "false"
Else
Var EmergencyStop = "true"
;Open "ROOT/taobin_project/xml/page_back_to_error.xml"
EndIf
EndIf
If IgnoreNetCore = "true" Then
Else
;stop_now
If NETCORE_LOST_CNT > 120 Then
Var stop_now = "true"
Var MachineErrorDetailAll = "???"
SAVELOG "NETCORE_LOST_CNT"
Open "ROOT/taobin_project/xml/page_back_to_error.xml"
EndIf
EndIf
Var Timeout = Timeout + 1
TimerReset
</EventTimeout>
;<Image>
;<X> 0 </X>
;<Y> 0 </Y>
;<Filename> "ROOT/taobin_project/image/ad_medium_2.png" </Filename>
;</Image>
;<Video>
;<X> 0 </X>
;<Y> 0 </Y>
;<Width> 1080</Width>
;<Height> 380 </Height>
;<Loop> "true" </Loop>
;<Filename> video_menu_1 </Filename>
;</Video>
; under line
<Image>
<X> 0 </X>
<Y> 494 </Y>
<Filename> "ROOT/taobin_project/image/page3/tab_line_bottom.png" </Filename>
</Image>
; under line
<Image>
<X> 0 </X>
<Y> 358 </Y>
<Filename> "ROOT/taobin_project/image/page3/bg1.png" </Filename>
</Image>
; back
<Button>
<X> 19 </X>
<Y> 381 </Y>
<Filename> "ROOT/taobin_project/image/page2/bn_back_arrow_2.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page2/bn_back_arrow_2.png" </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
If SpiralOnline = "true" Then
If Seeker = "curr" Then
Open "ROOT/taobin_project/xml/page_catalog_with_vending.xml"
Else
Open "ROOT/taobin_project/xml/page_catalog.xml"
EndIf
Else
Open "ROOT/taobin_project/xml/page_catalog.xml"
EndIf
</EventClick>
</Button>
<Button>
<X> 1000 </X>
<Y> 381 </Y>
<Filename> show_btn </Filename>
<FilenamePress> show_btp </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
; eng
If show_eng = "true" Then
Var show_eng = "false"
Var text_unavailable = "หมด###size=32"
Else
Var show_eng = "true"
Var text_unavailable = "UNAVAILABLE###size=16"
EndIf
Open CurrentXMLFileName2
</EventClick>
</Button>
;
<ListView1>
<Width> 1080 </Width>
<Height> "auto" </Height>
<X> 0 </X>
<Y> 395 </Y>
<Row2>
<State>"Enable"</State>
<Width> 896 </Width>
<Height> 102 </Height>
<Button>
<Layout> "linear" </Layout>
<State> Menu1Selected </State>
<Filename> Var( DirImageAlter + "/bn_recommend2.png" )</Filename>
<FilenamePress> Var( DirImageAlter + "/bp_recommend2.png") </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
SAVELOG "Click rec"
Var NextPage = "-"
Open "ROOT/taobin_project/xml/page_catalog_group_recommend.xml"
</EventClick>
</Button>
<Button>
<Layout> "linear" </Layout>
<State> Menu2Selected </State>
<Filename> Var( DirImageAlter + "/bn_coffee2.png") </Filename>
<FilenamePress> Var( DirImageAlter + "/bp_coffee2.png") </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var NextPage = "-"
Open "ROOT/taobin_project/xml/page_catalog_group_coffee.xml"
</EventClick>
</Button>
<Button>
<Layout> "linear" </Layout>
<State> Menu3Selected </State>
<Filename> Var( DirImageAlter + "/bn_tea2.png") </Filename>
<FilenamePress> Var( DirImageAlter + "/bp_tea2.png") </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var NextPage = "-"
If new_layout = "true" Then
Open "ROOT/taobin_project/xml/page_catalog_group_tea.xml"
Else
Open "ROOT/taobin_project/xml/page_catalog_choose_drink3.xml"
EndIf
</EventClick>
</Button>
<Button>
<Layout> "linear" </Layout>
<State> Menu4Selected </State>
<Filename> Var( DirImageAlter + "/bn_cho_ca2.png") </Filename>
<FilenamePress> Var( DirImageAlter + "/bp_cho_ca2.png") </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var NextPage = "-"
If new_layout = "true" Then
Open "ROOT/taobin_project/xml/page_catalog_group_milk.xml"
Else
Open "ROOT/taobin_project/xml/page_catalog_choose_drink4.xml"
EndIf
</EventClick>
</Button>
<Button>
<Layout> "linear" </Layout>
<State> Menu7Selected </State>
<Filename> Var( DirImageAlter + "/bn_protein2.png") </Filename>
<FilenamePress> Var( DirImageAlter + "/bp_protein2.png") </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var NextPage = "-"
If new_layout = "true" Then
Open "ROOT/taobin_project/xml/page_catalog_group_whey.xml"
Else
Open "ROOT/taobin_project/xml/page_catalog_choose_drink7.xml"
EndIf
</EventClick>
</Button>
<Button>
<Layout> "linear" </Layout>
<State> Menu11Selected </State>
<Filename> Var( DirImageAlter + "/bn_appfast2.png") </Filename>
<FilenamePress> Var( DirImageAlter + "/bp_appfast2.png") </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var NextPage = "-"
If new_layout = "true" Then
Open "ROOT/taobin_project/xml/page_catalog_group_appfast.xml"
Else
Open "ROOT/taobin_project/xml/page_catalog_choose_drink11.xml"
EndIf
</EventClick>
</Button>
<Button>
<Layout> "linear" </Layout>
<State> Menu21Selected </State>
<Filename> Var( DirImageAlter + "/bn_forkid2.png") </Filename>
<FilenamePress> Var( DirImageAlter + "/bp_forkid2.png") </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var NextPage = "-"
Open "ROOT/taobin_project/xml/page_catalog_group_forkid.xml"
</EventClick>
</Button>
<Button>
<Layout> "linear" </Layout>
<State> Menu22Selected </State>
<Filename> Var( DirImageAlter + "/bn_health.png") </Filename>
<FilenamePress> Var( DirImageAlter + "/bp_health.png") </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var NextPage = "-"
Open "ROOT/taobin_project/xml/page_catalog_group_health.xml"
</EventClick>
</Button>
<Button>
<Layout> "linear" </Layout>
<State> Menu8Selected </State>
<Filename> Var( DirImageAlter + "/bn_cocktail.png") </Filename>
<FilenamePress> Var( DirImageAlter + "/bp_cocktail.png") </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var NextPage = "-"
Open "ROOT/taobin_project/xml/page_catalog_choose_drink8.xml"
</EventClick>
</Button>
<Button>
<Layout> "linear" </Layout>
<State> Menu6Selected </State>
<Filename> Var( DirImageAlter + "/bn_sodada2.png") </Filename>
<FilenamePress> Var( DirImageAlter + "/bp_sodada2.png") </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var NextPage = "-"
If new_layout = "true" Then
Open "ROOT/taobin_project/xml/page_catalog_group_other.xml"
Else
Open "ROOT/taobin_project/xml/page_catalog_choose_drink6.xml"
EndIf
</EventClick>
</Button>
<Button>
<Layout> "linear" </Layout>
<State> MenuVSelected2 </State>
<Filename> Var( DirImageAlter + "/bn_vending2.png") </Filename>
<FilenamePress> Var( DirImageAlter + "/bp_vending2.png") </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var NextPage = "-"
Open "ROOT/taobin_project/spiral/xml/page_catalog_vending_machine.xml"
</EventClick>
</Button>
</Row2>
</ListView1>
<EventWebApp>
DEBUGVAR web_ready
If web_ready = "true" Then
If web_ref = QRCODE99x Then
Var web_readyOK = web_ready
Var web_telnumOK = web_telnum
Var web_app_prepar = "true"
Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_payment.xml"
EndIf
Else
EndIf
</EventWebApp>
<FrameScroll>
<X> 10 </X>
<Y> 497 </Y>
<Width> 1080 </Width>
<ScrollHeight> "auto" </ScrollHeight>
<Scroll> "Vertical" </Scroll>
<Column> 4 </Column>
<Script>
Var block_index_override = 0
Var block_index_move = 0
</Script>
; menu_new_list 27
; ==================> Len = 8
; 12-02-01-0001 12-02-02-0001 12-02-03-0001
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-02-01-0001.Button,12-02-02-0001.Button,12-02-03-0001.Button,$Sum120201000112020200011202030001) </State>
<Button>
<State> $Sum120201000112020200011202030001 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_chrysanthemum_tea.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_chrysanthemum_tea.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_chrysanthemum_tea.png" </FilenameDisable>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var NameDrink = "CHRYSANTHS TEA"
Var NameDrinkTH = "เก็กฮวย "
Var DrinkDescriptionTH = "น้ำเก๊กฮวย น้ำตาล"
Var DrinkDescription = "Chrysanthemum & Water "
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_chrysanthemum_tea.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $12-02-01-0001.Price
Var PriceD2 = $12-02-02-0001.Price
Var PriceD3 = $12-02-03-0001.Price
Var PD_CODE1 = "12-02-01-0001"
Var PD_CODE2 = "12-02-02-0001"
Var PD_CODE3 = "12-02-03-0001"
Var PD_STAGE_1 = $12-02-01-0001.Button
Var PD_STAGE_2 = $12-02-02-0001.Button
Var PD_STAGE_3 = $12-02-03-0001.Button
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-0001"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "12-02-01-0001"
Else
Topping "Load" "12-02-03-0001"
EndIf
EndIf
Var menu_name_eng_hot = $12-02-01-0001.NameE
Var menu_desc_eng_hot = $12-02-01-0001.descriptionE
Var menu_name_thai_hot = $12-02-01-0001.Name
Var menu_desc_thai_hot = $12-02-01-0001.description
Var menu_name_eng_cold = $12-02-02-0001.NameE
Var menu_desc_eng_cold = $12-02-02-0001.descriptionE
Var menu_name_thai_cold = $12-02-02-0001.Name
Var menu_desc_thai_cold = $12-02-02-0001.description
Var menu_name_eng_blender = $12-02-03-0001.NameE
Var menu_desc_eng_blender = $12-02-03-0001.descriptionE
Var menu_name_thai_blender = $12-02-03-0001.Name
Var menu_desc_thai_blender = $12-02-03-0001.description
DEBUGVAR PD_STAGE_1
DEBUGVAR PD_STAGE_2
DEBUGVAR PD_STAGE_3
Open "ROOT/taobin_project/xml/page_topping_select4.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> "CHRYSANTHS 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> "Chrysanthemum & Water " </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-0001.Button </State>
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
</Image>
<Text>
<X> 50 </X>
<Y> 265 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-02-01-0001.Button </State>
<Value> Var( "฿" + $12-02-01-0001.Price ) </Value>
</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-0001.Button </State>
</Image>
<Text>
<X> 115 </X>
<Y> 265 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-02-02-0001.Button </State>
<Value> Var( "฿" + $12-02-02-0001.Price ) </Value>
</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-0001.Button </State>
</Image>
<Text>
<X> 183 </X>
<Y> 265 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-02-03-0001.Button </State>
<Value> Var( "฿" + $12-02-03-0001.Price ) </Value>
</Text>
<Image>
<X> 81 </X>
<Y> 264 </Y>
<State>
eval(
If ICE_PROCESS_STATUS = 2 Then
If $Sum120201000112020200011202030001 = "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 $Sum120201000112020200011202030001 = "Disable" Then
STRCONTAIN "ERR" $12-02-01-0001.TAG tag1_is_disable
STRCONTAIN "ERR" $12-02-02-0001.TAG tag2_is_disable
STRCONTAIN "ERR" $12-02-03-0001.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> $Sum120201000112020200011202030001 </State>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; ==================> Len = 8
; 12-02-01-0020 12-02-02-0020 12-02-03-0020
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-02-01-0020.Button,12-02-02-0020.Button,12-02-03-0020.Button,$Sum120201002012020200201202030020) </State>
<Button>
<State> $Sum120201002012020200201202030020 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_Ginger_tea.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_Ginger_tea.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_Ginger_tea.png" </FilenameDisable>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var NameDrink = "GINGER TEA"
Var NameDrinkTH = "ชาขิง "
Var DrinkDescriptionTH = "ขิง และ น้ำ "
Var DrinkDescription = "Ginger & Water "
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_Ginger_tea.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $12-02-01-0020.Price
Var PriceD2 = $12-02-02-0020.Price
Var PriceD3 = $12-02-03-0020.Price
Var PD_CODE1 = "12-02-01-0020"
Var PD_CODE2 = "12-02-02-0020"
Var PD_CODE3 = "12-02-03-0020"
Var PD_STAGE_1 = $12-02-01-0020.Button
Var PD_STAGE_2 = $12-02-02-0020.Button
Var PD_STAGE_3 = $12-02-03-0020.Button
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-0020"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "12-02-01-0020"
Else
Topping "Load" "12-02-03-0020"
EndIf
EndIf
Var menu_name_eng_hot = $12-02-01-0020.NameE
Var menu_desc_eng_hot = $12-02-01-0020.descriptionE
Var menu_name_thai_hot = $12-02-01-0020.Name
Var menu_desc_thai_hot = $12-02-01-0020.description
Var menu_name_eng_cold = $12-02-02-0020.NameE
Var menu_desc_eng_cold = $12-02-02-0020.descriptionE
Var menu_name_thai_cold = $12-02-02-0020.Name
Var menu_desc_thai_cold = $12-02-02-0020.description
Var menu_name_eng_blender = $12-02-03-0020.NameE
Var menu_desc_eng_blender = $12-02-03-0020.descriptionE
Var menu_name_thai_blender = $12-02-03-0020.Name
Var menu_desc_thai_blender = $12-02-03-0020.description
DEBUGVAR PD_STAGE_1
DEBUGVAR PD_STAGE_2
DEBUGVAR PD_STAGE_3
Open "ROOT/taobin_project/xml/page_topping_select4.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> "GINGER 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> "Ginger & Water " </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-0020.Button </State>
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
</Image>
<Text>
<X> 50 </X>
<Y> 265 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-02-01-0020.Button </State>
<Value> Var( "฿" + $12-02-01-0020.Price ) </Value>
</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-0020.Button </State>
</Image>
<Text>
<X> 115 </X>
<Y> 265 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-02-02-0020.Button </State>
<Value> Var( "฿" + $12-02-02-0020.Price ) </Value>
</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-0020.Button </State>
</Image>
<Text>
<X> 183 </X>
<Y> 265 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-02-03-0020.Button </State>
<Value> Var( "฿" + $12-02-03-0020.Price ) </Value>
</Text>
<Image>
<X> 81 </X>
<Y> 264 </Y>
<State>
eval(
If ICE_PROCESS_STATUS = 2 Then
If $Sum120201002012020200201202030020 = "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 $Sum120201002012020200201202030020 = "Disable" Then
STRCONTAIN "ERR" $12-02-01-0020.TAG tag1_is_disable
STRCONTAIN "ERR" $12-02-02-0020.TAG tag2_is_disable
STRCONTAIN "ERR" $12-02-03-0020.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> $Sum120201002012020200201202030020 </State>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; ==================> Len = 8
; 12-02-01-0017 12-05-02-0027 12-05-03-0027
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-02-01-0017.Button,12-05-02-0027.Button,12-05-03-0027.Button,$Sum120201001712050200271205030027) </State>
<Button>
<State> $Sum120201001712050200271205030027 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_marijuana_tea.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_marijuana_tea.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_marijuana_tea.png" </FilenameDisable>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var NameDrink = "CANNABIS DRINK"
Var NameDrinkTH = "น้ำกัญชา "
Var DrinkDescriptionTH = "น้ำเชื่อมกัญชา (อายุมากกว่า 20+ เท่านั้น)"
Var DrinkDescription = "Cannabis Syrup & Water "
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_marijuana_tea.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $12-02-01-0017.Price
Var PriceD2 = $12-05-02-0027.Price
Var PriceD3 = $12-05-03-0027.Price
Var PD_CODE1 = "12-02-01-0017"
Var PD_CODE2 = "12-05-02-0027"
Var PD_CODE3 = "12-05-03-0027"
Var PD_STAGE_1 = $12-02-01-0017.Button
Var PD_STAGE_2 = $12-05-02-0027.Button
Var PD_STAGE_3 = $12-05-03-0027.Button
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-0027"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "12-02-01-0017"
Else
Topping "Load" "12-05-03-0027"
EndIf
EndIf
Var menu_name_eng_hot = $12-02-01-0017.NameE
Var menu_desc_eng_hot = $12-02-01-0017.descriptionE
Var menu_name_thai_hot = $12-02-01-0017.Name
Var menu_desc_thai_hot = $12-02-01-0017.description
Var menu_name_eng_cold = $12-05-02-0027.NameE
Var menu_desc_eng_cold = $12-05-02-0027.descriptionE
Var menu_name_thai_cold = $12-05-02-0027.Name
Var menu_desc_thai_cold = $12-05-02-0027.description
Var menu_name_eng_blender = $12-05-03-0027.NameE
Var menu_desc_eng_blender = $12-05-03-0027.descriptionE
Var menu_name_thai_blender = $12-05-03-0027.Name
Var menu_desc_thai_blender = $12-05-03-0027.description
DEBUGVAR PD_STAGE_1
DEBUGVAR PD_STAGE_2
DEBUGVAR PD_STAGE_3
Open "ROOT/taobin_project/xml/page_topping_select4.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> "น้ำเชื่อมกัญชา (อายุมากกว่า 20+ เท่านั้น)" </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> "CANNABIS DRINK" </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> "Cannabis Syrup & Water " </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-0017.Button </State>
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
</Image>
<Text>
<X> 50 </X>
<Y> 265 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-02-01-0017.Button </State>
<Value> Var( "฿" + $12-02-01-0017.Price ) </Value>
</Text>
<Image>
<X> 81 </X>
<Y> 264 </Y>
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
<State> $12-05-02-0027.Button </State>
</Image>
<Text>
<X> 115 </X>
<Y> 265 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-05-02-0027.Button </State>
<Value> Var( "฿" + $12-05-02-0027.Price ) </Value>
</Text>
<Image>
<X> 146 </X>
<Y> 264 </Y>
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
<State> $12-05-03-0027.Button </State>
</Image>
<Text>
<X> 183 </X>
<Y> 265 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-05-03-0027.Button </State>
<Value> Var( "฿" + $12-05-03-0027.Price ) </Value>
</Text>
<Image>
<X> 81 </X>
<Y> 264 </Y>
<State>
eval(
If ICE_PROCESS_STATUS = 2 Then
If $Sum120201001712050200271205030027 = "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 $Sum120201001712050200271205030027 = "Disable" Then
STRCONTAIN "ERR" $12-02-01-0017.TAG tag1_is_disable
STRCONTAIN "ERR" $12-05-02-0027.TAG tag2_is_disable
STRCONTAIN "ERR" $12-05-03-0027.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> $Sum120201001712050200271205030027 </State>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; ==================> Len = 8
; 12-02-01-0007 12-02-02-0007 12-02-03-0007
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-02-01-0007.Button,12-02-02-0007.Button,12-02-03-0007.Button,$Sum120201000712020200071202030007) </State>
<Button>
<State> $Sum120201000712020200071202030007 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_lime_tea.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_lime_tea.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_lime_tea.png" </FilenameDisable>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var NameDrink = "LIME TEA"
Var NameDrinkTH = "ชามะนาว "
Var DrinkDescriptionTH = "ชาไทย มะนาว"
Var DrinkDescription = "Thai Tea, Limenade, Sugar & Water "
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_lime_tea.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $12-02-01-0007.Price
Var PriceD2 = $12-02-02-0007.Price
Var PriceD3 = $12-02-03-0007.Price
Var PD_CODE1 = "12-02-01-0007"
Var PD_CODE2 = "12-02-02-0007"
Var PD_CODE3 = "12-02-03-0007"
Var PD_STAGE_1 = $12-02-01-0007.Button
Var PD_STAGE_2 = $12-02-02-0007.Button
Var PD_STAGE_3 = $12-02-03-0007.Button
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-0007"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "12-02-01-0007"
Else
Topping "Load" "12-02-03-0007"
EndIf
EndIf
Var menu_name_eng_hot = $12-02-01-0007.NameE
Var menu_desc_eng_hot = $12-02-01-0007.descriptionE
Var menu_name_thai_hot = $12-02-01-0007.Name
Var menu_desc_thai_hot = $12-02-01-0007.description
Var menu_name_eng_cold = $12-02-02-0007.NameE
Var menu_desc_eng_cold = $12-02-02-0007.descriptionE
Var menu_name_thai_cold = $12-02-02-0007.Name
Var menu_desc_thai_cold = $12-02-02-0007.description
Var menu_name_eng_blender = $12-02-03-0007.NameE
Var menu_desc_eng_blender = $12-02-03-0007.descriptionE
Var menu_name_thai_blender = $12-02-03-0007.Name
Var menu_desc_thai_blender = $12-02-03-0007.description
DEBUGVAR PD_STAGE_1
DEBUGVAR PD_STAGE_2
DEBUGVAR PD_STAGE_3
Open "ROOT/taobin_project/xml/page_topping_select4.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> "LIME 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, Limenade, Sugar & Water " </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-0007.Button </State>
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
</Image>
<Text>
<X> 50 </X>
<Y> 265 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-02-01-0007.Button </State>
<Value> Var( "฿" + $12-02-01-0007.Price ) </Value>
</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-0007.Button </State>
</Image>
<Text>
<X> 115 </X>
<Y> 265 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-02-02-0007.Button </State>
<Value> Var( "฿" + $12-02-02-0007.Price ) </Value>
</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-0007.Button </State>
</Image>
<Text>
<X> 183 </X>
<Y> 265 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-02-03-0007.Button </State>
<Value> Var( "฿" + $12-02-03-0007.Price ) </Value>
</Text>
<Image>
<X> 81 </X>
<Y> 264 </Y>
<State>
eval(
If ICE_PROCESS_STATUS = 2 Then
If $Sum120201000712020200071202030007 = "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 $Sum120201000712020200071202030007 = "Disable" Then
STRCONTAIN "ERR" $12-02-01-0007.TAG tag1_is_disable
STRCONTAIN "ERR" $12-02-02-0007.TAG tag2_is_disable
STRCONTAIN "ERR" $12-02-03-0007.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> $Sum120201000712020200071202030007 </State>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; ==================> Len = 8
; 12-02-01-0002 12-02-02-0002 12-02-03-0002
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-02-01-0002.Button,12-02-02-0002.Button,12-02-03-0002.Button,$Sum120201000212020200021202030002) </State>
<Button>
<State> $Sum120201000212020200021202030002 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_thai_milk_tea.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_thai_milk_tea.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_thai_milk_tea.png" </FilenameDisable>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var NameDrink = "THAI MILK TEA"
Var NameDrinkTH = "ชาไทยนม "
Var DrinkDescriptionTH = "ชาไทย นม "
Var DrinkDescription = "Thai tea, Milk, Sugar"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_thai_milk_tea.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $12-02-01-0002.Price
Var PriceD2 = $12-02-02-0002.Price
Var PriceD3 = $12-02-03-0002.Price
Var PD_CODE1 = "12-02-01-0002"
Var PD_CODE2 = "12-02-02-0002"
Var PD_CODE3 = "12-02-03-0002"
Var PD_STAGE_1 = $12-02-01-0002.Button
Var PD_STAGE_2 = $12-02-02-0002.Button
Var PD_STAGE_3 = $12-02-03-0002.Button
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-0002"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "12-02-01-0002"
Else
Topping "Load" "12-02-03-0002"
EndIf
EndIf
Var menu_name_eng_hot = $12-02-01-0002.NameE
Var menu_desc_eng_hot = $12-02-01-0002.descriptionE
Var menu_name_thai_hot = $12-02-01-0002.Name
Var menu_desc_thai_hot = $12-02-01-0002.description
Var menu_name_eng_cold = $12-02-02-0002.NameE
Var menu_desc_eng_cold = $12-02-02-0002.descriptionE
Var menu_name_thai_cold = $12-02-02-0002.Name
Var menu_desc_thai_cold = $12-02-02-0002.description
Var menu_name_eng_blender = $12-02-03-0002.NameE
Var menu_desc_eng_blender = $12-02-03-0002.descriptionE
Var menu_name_thai_blender = $12-02-03-0002.Name
Var menu_desc_thai_blender = $12-02-03-0002.description
DEBUGVAR PD_STAGE_1
DEBUGVAR PD_STAGE_2
DEBUGVAR PD_STAGE_3
Open "ROOT/taobin_project/xml/page_topping_select4.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> "THAI 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, Milk, Sugar" </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-0002.Button </State>
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
</Image>
<Text>
<X> 50 </X>
<Y> 265 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-02-01-0002.Button </State>
<Value> Var( "฿" + $12-02-01-0002.Price ) </Value>
</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-0002.Button </State>
</Image>
<Text>
<X> 115 </X>
<Y> 265 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-02-02-0002.Button </State>
<Value> Var( "฿" + $12-02-02-0002.Price ) </Value>
</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-0002.Button </State>
</Image>
<Text>
<X> 183 </X>
<Y> 265 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-02-03-0002.Button </State>
<Value> Var( "฿" + $12-02-03-0002.Price ) </Value>
</Text>
<Image>
<X> 81 </X>
<Y> 264 </Y>
<State>
eval(
If ICE_PROCESS_STATUS = 2 Then
If $Sum120201000212020200021202030002 = "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 $Sum120201000212020200021202030002 = "Disable" Then
STRCONTAIN "ERR" $12-02-01-0002.TAG tag1_is_disable
STRCONTAIN "ERR" $12-02-02-0002.TAG tag2_is_disable
STRCONTAIN "ERR" $12-02-03-0002.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> $Sum120201000212020200021202030002 </State>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; ==================> Len = 8
; 12-02-01-0021 - -
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-02-01-0021.Button,$Sum1202010021) </State>
<Button>
<State> $Sum1202010021 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_Ginger_lemon_tea.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_Ginger_lemon_tea.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_Ginger_lemon_tea.png" </FilenameDisable>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var NameDrink = "LIME GINGER TEA"
Var NameDrinkTH = "ชาขิงมะนาว "
Var DrinkDescriptionTH = "ขิง มะนาว และน้ำ "
Var DrinkDescription = "Ginger, Lime & Water "
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_Ginger_lemon_tea.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $12-02-01-0021.Price
Var PriceD2 = $-.Price
Var PriceD3 = $-.Price
Var PD_CODE1 = "12-02-01-0021"
Var PD_CODE2 = "##-##-##-####"
Var PD_CODE3 = "##-##-##-####"
Var PD_STAGE_1 = $12-02-01-0021.Button
Var PD_STAGE_2 = "Disable2"
Var PD_STAGE_3 = "Disable2"
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" "-"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "12-02-01-0021"
Else
Topping "Load" "-"
EndIf
EndIf
Var menu_name_eng_hot = $12-02-01-0021.NameE
Var menu_desc_eng_hot = $12-02-01-0021.descriptionE
Var menu_name_thai_hot = $12-02-01-0021.Name
Var menu_desc_thai_hot = $12-02-01-0021.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 = $##-##-##-####.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
Open "ROOT/taobin_project/xml/page_topping_select4.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> "LIME
GINGER 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> "Ginger, Lime & Water " </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-0021.Button </State>
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
</Image>
<Text>
<X> 50 </X>
<Y> 265 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-02-01-0021.Button </State>
<Value> Var( "฿" + $12-02-01-0021.Price ) </Value>
</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> 265 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> "Invisible" </State>
<Value> Var( "฿" + $-.Price ) </Value>
</Text>
<Image>
<X> 146 </X>
<Y> 264 </Y>
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
<State> "Invisible" </State>
</Image>
<Text>
<X> 183 </X>
<Y> 265 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> "Invisible" </State>
<Value> Var( "฿" + $-.Price ) </Value>
</Text>
<Image>
<X> 81 </X>
<Y> 264 </Y>
<State>
eval(
If ICE_PROCESS_STATUS = 2 Then
If $Sum1202010021 = "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 $Sum1202010021 = "Disable" Then
STRCONTAIN "ERR" $12-02-01-0021.TAG tag1_is_disable
STRCONTAIN "ERR" $##-##-##-####.TAG tag2_is_disable
STRCONTAIN "ERR" $##-##-##-####.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> $Sum1202010021 </State>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; ==================> Len = 8
; 12-02-01-0024 12-02-02-0024 12-02-03-0024
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-02-01-0024.Button,12-02-02-0024.Button,12-02-03-0024.Button,$Sum120201002412020200241202030024) </State>
<Button>
<State> $Sum120201002412020200241202030024 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_thai_milk_tea_tacc.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_thai_milk_tea_tacc.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_thai_milk_tea_tacc.png" </FilenameDisable>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var NameDrink = "THAI MILK TEA"
Var NameDrinkTH = "ชานมไทย "
Var DrinkDescriptionTH = "ชาไทย และ นมอุ่น"
Var DrinkDescription = "Thai tea, Sugar, Warm milk"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_thai_milk_tea_tacc.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $12-02-01-0024.Price
Var PriceD2 = $12-02-02-0024.Price
Var PriceD3 = $12-02-03-0024.Price
Var PD_CODE1 = "12-02-01-0024"
Var PD_CODE2 = "12-02-02-0024"
Var PD_CODE3 = "12-02-03-0024"
Var PD_STAGE_1 = $12-02-01-0024.Button
Var PD_STAGE_2 = $12-02-02-0024.Button
Var PD_STAGE_3 = $12-02-03-0024.Button
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-0024"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "12-02-01-0024"
Else
Topping "Load" "12-02-03-0024"
EndIf
EndIf
Var menu_name_eng_hot = $12-02-01-0024.NameE
Var menu_desc_eng_hot = $12-02-01-0024.descriptionE
Var menu_name_thai_hot = $12-02-01-0024.Name
Var menu_desc_thai_hot = $12-02-01-0024.description
Var menu_name_eng_cold = $12-02-02-0024.NameE
Var menu_desc_eng_cold = $12-02-02-0024.descriptionE
Var menu_name_thai_cold = $12-02-02-0024.Name
Var menu_desc_thai_cold = $12-02-02-0024.description
Var menu_name_eng_blender = $12-02-03-0024.NameE
Var menu_desc_eng_blender = $12-02-03-0024.descriptionE
Var menu_name_thai_blender = $12-02-03-0024.Name
Var menu_desc_thai_blender = $12-02-03-0024.description
DEBUGVAR PD_STAGE_1
DEBUGVAR PD_STAGE_2
DEBUGVAR PD_STAGE_3
Open "ROOT/taobin_project/xml/page_topping_select4.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> "THAI 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, Sugar, Warm milk" </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-0024.Button </State>
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
</Image>
<Text>
<X> 50 </X>
<Y> 265 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-02-01-0024.Button </State>
<Value> Var( "฿" + $12-02-01-0024.Price ) </Value>
</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-0024.Button </State>
</Image>
<Text>
<X> 115 </X>
<Y> 265 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-02-02-0024.Button </State>
<Value> Var( "฿" + $12-02-02-0024.Price ) </Value>
</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-0024.Button </State>
</Image>
<Text>
<X> 183 </X>
<Y> 265 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-02-03-0024.Button </State>
<Value> Var( "฿" + $12-02-03-0024.Price ) </Value>
</Text>
<Image>
<X> 81 </X>
<Y> 264 </Y>
<State>
eval(
If ICE_PROCESS_STATUS = 2 Then
If $Sum120201002412020200241202030024 = "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 $Sum120201002412020200241202030024 = "Disable" Then
STRCONTAIN "ERR" $12-02-01-0024.TAG tag1_is_disable
STRCONTAIN "ERR" $12-02-02-0024.TAG tag2_is_disable
STRCONTAIN "ERR" $12-02-03-0024.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> $Sum120201002412020200241202030024 </State>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; ==================> Len = 8
; 12-02-01-0025 12-02-02-0025 12-02-03-0025
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-02-01-0025.Button,12-02-02-0025.Button,12-02-03-0025.Button,$Sum120201002512020200251202030025) </State>
<Button>
<State> $Sum120201002512020200251202030025 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_taiwan_milk_tea_Jason.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_taiwan_milk_tea_Jason.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_taiwan_milk_tea_Jason.png" </FilenameDisable>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var NameDrink = "TAIWANESE TEA"
Var NameDrinkTH = "ชานมไต้หวัน "
Var DrinkDescriptionTH = "ชาไต้หวัน และ นมอุ่น"
Var DrinkDescription = "Taiwanese Tea, Sugar, Milk"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_taiwan_milk_tea_Jason.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $12-02-01-0025.Price
Var PriceD2 = $12-02-02-0025.Price
Var PriceD3 = $12-02-03-0025.Price
Var PD_CODE1 = "12-02-01-0025"
Var PD_CODE2 = "12-02-02-0025"
Var PD_CODE3 = "12-02-03-0025"
Var PD_STAGE_1 = $12-02-01-0025.Button
Var PD_STAGE_2 = $12-02-02-0025.Button
Var PD_STAGE_3 = $12-02-03-0025.Button
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-0025"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "12-02-01-0025"
Else
Topping "Load" "12-02-03-0025"
EndIf
EndIf
Var menu_name_eng_hot = $12-02-01-0025.NameE
Var menu_desc_eng_hot = $12-02-01-0025.descriptionE
Var menu_name_thai_hot = $12-02-01-0025.Name
Var menu_desc_thai_hot = $12-02-01-0025.description
Var menu_name_eng_cold = $12-02-02-0025.NameE
Var menu_desc_eng_cold = $12-02-02-0025.descriptionE
Var menu_name_thai_cold = $12-02-02-0025.Name
Var menu_desc_thai_cold = $12-02-02-0025.description
Var menu_name_eng_blender = $12-02-03-0025.NameE
Var menu_desc_eng_blender = $12-02-03-0025.descriptionE
Var menu_name_thai_blender = $12-02-03-0025.Name
Var menu_desc_thai_blender = $12-02-03-0025.description
DEBUGVAR PD_STAGE_1
DEBUGVAR PD_STAGE_2
DEBUGVAR PD_STAGE_3
Open "ROOT/taobin_project/xml/page_topping_select4.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> "TAIWANESE 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> "Taiwanese Tea, Sugar, Milk" </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-0025.Button </State>
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
</Image>
<Text>
<X> 50 </X>
<Y> 265 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-02-01-0025.Button </State>
<Value> Var( "฿" + $12-02-01-0025.Price ) </Value>
</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-0025.Button </State>
</Image>
<Text>
<X> 115 </X>
<Y> 265 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-02-02-0025.Button </State>
<Value> Var( "฿" + $12-02-02-0025.Price ) </Value>
</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-0025.Button </State>
</Image>
<Text>
<X> 183 </X>
<Y> 265 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-02-03-0025.Button </State>
<Value> Var( "฿" + $12-02-03-0025.Price ) </Value>
</Text>
<Image>
<X> 81 </X>
<Y> 264 </Y>
<State>
eval(
If ICE_PROCESS_STATUS = 2 Then
If $Sum120201002512020200251202030025 = "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 $Sum120201002512020200251202030025 = "Disable" Then
STRCONTAIN "ERR" $12-02-01-0025.TAG tag1_is_disable
STRCONTAIN "ERR" $12-02-02-0025.TAG tag2_is_disable
STRCONTAIN "ERR" $12-02-03-0025.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> $Sum120201002512020200251202030025 </State>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; ==================> Len = 8
; 12-02-01-0003 12-02-02-0003 12-02-03-0003
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-02-01-0003.Button,12-02-02-0003.Button,12-02-03-0003.Button,$Sum120201000312020200031202030003) </State>
<Button>
<State> $Sum120201000312020200031202030003 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_taiwan_milk_tea.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_taiwan_milk_tea.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_taiwan_milk_tea.png" </FilenameDisable>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var NameDrink = "TAIWANESE TEA"
Var NameDrinkTH = "ชานมไต้หวัน"
Var DrinkDescriptionTH = "ชาไต้หวัน นม "
Var DrinkDescription = "Taiwan Tea, Milk, Sugar"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_taiwan_milk_tea.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $12-02-01-0003.Price
Var PriceD2 = $12-02-02-0003.Price
Var PriceD3 = $12-02-03-0003.Price
Var PD_CODE1 = "12-02-01-0003"
Var PD_CODE2 = "12-02-02-0003"
Var PD_CODE3 = "12-02-03-0003"
Var PD_STAGE_1 = $12-02-01-0003.Button
Var PD_STAGE_2 = $12-02-02-0003.Button
Var PD_STAGE_3 = $12-02-03-0003.Button
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-0003"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "12-02-01-0003"
Else
Topping "Load" "12-02-03-0003"
EndIf
EndIf
Var menu_name_eng_hot = $12-02-01-0003.NameE
Var menu_desc_eng_hot = $12-02-01-0003.descriptionE
Var menu_name_thai_hot = $12-02-01-0003.Name
Var menu_desc_thai_hot = $12-02-01-0003.description
Var menu_name_eng_cold = $12-02-02-0003.NameE
Var menu_desc_eng_cold = $12-02-02-0003.descriptionE
Var menu_name_thai_cold = $12-02-02-0003.Name
Var menu_desc_thai_cold = $12-02-02-0003.description
Var menu_name_eng_blender = $12-02-03-0003.NameE
Var menu_desc_eng_blender = $12-02-03-0003.descriptionE
Var menu_name_thai_blender = $12-02-03-0003.Name
Var menu_desc_thai_blender = $12-02-03-0003.description
DEBUGVAR PD_STAGE_1
DEBUGVAR PD_STAGE_2
DEBUGVAR PD_STAGE_3
Open "ROOT/taobin_project/xml/page_topping_select4.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> "TAIWANESE 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> "Taiwan Tea, Milk, Sugar" </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-0003.Button </State>
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
</Image>
<Text>
<X> 50 </X>
<Y> 265 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-02-01-0003.Button </State>
<Value> Var( "฿" + $12-02-01-0003.Price ) </Value>
</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-0003.Button </State>
</Image>
<Text>
<X> 115 </X>
<Y> 265 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-02-02-0003.Button </State>
<Value> Var( "฿" + $12-02-02-0003.Price ) </Value>
</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-0003.Button </State>
</Image>
<Text>
<X> 183 </X>
<Y> 265 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-02-03-0003.Button </State>
<Value> Var( "฿" + $12-02-03-0003.Price ) </Value>
</Text>
<Image>
<X> 81 </X>
<Y> 264 </Y>
<State>
eval(
If ICE_PROCESS_STATUS = 2 Then
If $Sum120201000312020200031202030003 = "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 $Sum120201000312020200031202030003 = "Disable" Then
STRCONTAIN "ERR" $12-02-01-0003.TAG tag1_is_disable
STRCONTAIN "ERR" $12-02-02-0003.TAG tag2_is_disable
STRCONTAIN "ERR" $12-02-03-0003.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> $Sum120201000312020200031202030003 </State>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; ==================> Len = 8
; 12-02-01-0004 12-02-02-0004 12-02-03-0004
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-02-01-0004.Button,12-02-02-0004.Button,12-02-03-0004.Button,$Sum120201000412020200041202030004) </State>
<Button>
<State> $Sum120201000412020200041202030004 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_matcha_milk_tea.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_matcha_milk_tea.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_matcha_milk_tea.png" </FilenameDisable>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var NameDrink = "MATCHA LATTE"
Var NameDrinkTH = "มัทฉะลาเต้ "
Var DrinkDescriptionTH = "ชาเชียว นม "
Var DrinkDescription = "Green Tea, Milk, Sugar"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_matcha_milk_tea.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $12-02-01-0004.Price
Var PriceD2 = $12-02-02-0004.Price
Var PriceD3 = $12-02-03-0004.Price
Var PD_CODE1 = "12-02-01-0004"
Var PD_CODE2 = "12-02-02-0004"
Var PD_CODE3 = "12-02-03-0004"
Var PD_STAGE_1 = $12-02-01-0004.Button
Var PD_STAGE_2 = $12-02-02-0004.Button
Var PD_STAGE_3 = $12-02-03-0004.Button
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-0004"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "12-02-01-0004"
Else
Topping "Load" "12-02-03-0004"
EndIf
EndIf
Var menu_name_eng_hot = $12-02-01-0004.NameE
Var menu_desc_eng_hot = $12-02-01-0004.descriptionE
Var menu_name_thai_hot = $12-02-01-0004.Name
Var menu_desc_thai_hot = $12-02-01-0004.description
Var menu_name_eng_cold = $12-02-02-0004.NameE
Var menu_desc_eng_cold = $12-02-02-0004.descriptionE
Var menu_name_thai_cold = $12-02-02-0004.Name
Var menu_desc_thai_cold = $12-02-02-0004.description
Var menu_name_eng_blender = $12-02-03-0004.NameE
Var menu_desc_eng_blender = $12-02-03-0004.descriptionE
Var menu_name_thai_blender = $12-02-03-0004.Name
Var menu_desc_thai_blender = $12-02-03-0004.description
DEBUGVAR PD_STAGE_1
DEBUGVAR PD_STAGE_2
DEBUGVAR PD_STAGE_3
Open "ROOT/taobin_project/xml/page_topping_select4.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> "MATCHA LATTE" </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> "Green Tea, Milk, Sugar" </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-0004.Button </State>
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
</Image>
<Text>
<X> 50 </X>
<Y> 265 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-02-01-0004.Button </State>
<Value> Var( "฿" + $12-02-01-0004.Price ) </Value>
</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-0004.Button </State>
</Image>
<Text>
<X> 115 </X>
<Y> 265 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-02-02-0004.Button </State>
<Value> Var( "฿" + $12-02-02-0004.Price ) </Value>
</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-0004.Button </State>
</Image>
<Text>
<X> 183 </X>
<Y> 265 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-02-03-0004.Button </State>
<Value> Var( "฿" + $12-02-03-0004.Price ) </Value>
</Text>
<Image>
<X> 81 </X>
<Y> 264 </Y>
<State>
eval(
If ICE_PROCESS_STATUS = 2 Then
If $Sum120201000412020200041202030004 = "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 $Sum120201000412020200041202030004 = "Disable" Then
STRCONTAIN "ERR" $12-02-01-0004.TAG tag1_is_disable
STRCONTAIN "ERR" $12-02-02-0004.TAG tag2_is_disable
STRCONTAIN "ERR" $12-02-03-0004.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> $Sum120201000412020200041202030004 </State>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; ==================> Len = 8
; 12-02-01-0026 12-02-02-0026 12-02-03-0026
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-02-01-0026.Button,12-02-02-0026.Button,12-02-03-0026.Button,$Sum120201002612020200261202030026) </State>
<Button>
<State> $Sum120201002612020200261202030026 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_matcha_milk_tea_sing.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_matcha_milk_tea_sing.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_matcha_milk_tea_sing.png" </FilenameDisable>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var NameDrink = "MATCHA LATTE"
Var NameDrinkTH = "มัทฉะลาเต้ "
Var DrinkDescriptionTH = "ชาเขียวมัทฉะ และ นมอุ่น"
Var DrinkDescription = "Matcha, Milk"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_matcha_milk_tea_sing.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $12-02-01-0026.Price
Var PriceD2 = $12-02-02-0026.Price
Var PriceD3 = $12-02-03-0026.Price
Var PD_CODE1 = "12-02-01-0026"
Var PD_CODE2 = "12-02-02-0026"
Var PD_CODE3 = "12-02-03-0026"
Var PD_STAGE_1 = $12-02-01-0026.Button
Var PD_STAGE_2 = $12-02-02-0026.Button
Var PD_STAGE_3 = $12-02-03-0026.Button
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-0026"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "12-02-01-0026"
Else
Topping "Load" "12-02-03-0026"
EndIf
EndIf
Var menu_name_eng_hot = $12-02-01-0026.NameE
Var menu_desc_eng_hot = $12-02-01-0026.descriptionE
Var menu_name_thai_hot = $12-02-01-0026.Name
Var menu_desc_thai_hot = $12-02-01-0026.description
Var menu_name_eng_cold = $12-02-02-0026.NameE
Var menu_desc_eng_cold = $12-02-02-0026.descriptionE
Var menu_name_thai_cold = $12-02-02-0026.Name
Var menu_desc_thai_cold = $12-02-02-0026.description
Var menu_name_eng_blender = $12-02-03-0026.NameE
Var menu_desc_eng_blender = $12-02-03-0026.descriptionE
Var menu_name_thai_blender = $12-02-03-0026.Name
Var menu_desc_thai_blender = $12-02-03-0026.description
DEBUGVAR PD_STAGE_1
DEBUGVAR PD_STAGE_2
DEBUGVAR PD_STAGE_3
Open "ROOT/taobin_project/xml/page_topping_select4.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> "MATCHA LATTE" </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, Milk" </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-0026.Button </State>
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
</Image>
<Text>
<X> 50 </X>
<Y> 265 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-02-01-0026.Button </State>
<Value> Var( "฿" + $12-02-01-0026.Price ) </Value>
</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-0026.Button </State>
</Image>
<Text>
<X> 115 </X>
<Y> 265 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-02-02-0026.Button </State>
<Value> Var( "฿" + $12-02-02-0026.Price ) </Value>
</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-0026.Button </State>
</Image>
<Text>
<X> 183 </X>
<Y> 265 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-02-03-0026.Button </State>
<Value> Var( "฿" + $12-02-03-0026.Price ) </Value>
</Text>
<Image>
<X> 81 </X>
<Y> 264 </Y>
<State>
eval(
If ICE_PROCESS_STATUS = 2 Then
If $Sum120201002612020200261202030026 = "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 $Sum120201002612020200261202030026 = "Disable" Then
STRCONTAIN "ERR" $12-02-01-0026.TAG tag1_is_disable
STRCONTAIN "ERR" $12-02-02-0026.TAG tag2_is_disable
STRCONTAIN "ERR" $12-02-03-0026.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> $Sum120201002612020200261202030026 </State>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; ==================> Len = 8
; 12-02-01-0037 12-02-02-0037 12-02-03-0037
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-02-01-0037.Button,12-02-02-0037.Button,12-02-03-0037.Button,$Sum120201003712020200371202030037) </State>
<Button>
<State> $Sum120201003712020200371202030037 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_hojicha_milk_tea_sing.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_hojicha_milk_tea_sing.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_hojicha_milk_tea_sing.png" </FilenameDisable>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var NameDrink = "HOJICHA LATTE"
Var NameDrinkTH = "โฮจิฉะลาเต้"
Var DrinkDescriptionTH = "ชาเขียวคั่ว และ นม"
Var DrinkDescription = "Hojicha and milk"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_hojicha_milk_tea_sing.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $12-02-01-0037.Price
Var PriceD2 = $12-02-02-0037.Price
Var PriceD3 = $12-02-03-0037.Price
Var PD_CODE1 = "12-02-01-0037"
Var PD_CODE2 = "12-02-02-0037"
Var PD_CODE3 = "12-02-03-0037"
Var PD_STAGE_1 = $12-02-01-0037.Button
Var PD_STAGE_2 = $12-02-02-0037.Button
Var PD_STAGE_3 = $12-02-03-0037.Button
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-0037"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "12-02-01-0037"
Else
Topping "Load" "12-02-03-0037"
EndIf
EndIf
Var menu_name_eng_hot = $12-02-01-0037.NameE
Var menu_desc_eng_hot = $12-02-01-0037.descriptionE
Var menu_name_thai_hot = $12-02-01-0037.Name
Var menu_desc_thai_hot = $12-02-01-0037.description
Var menu_name_eng_cold = $12-02-02-0037.NameE
Var menu_desc_eng_cold = $12-02-02-0037.descriptionE
Var menu_name_thai_cold = $12-02-02-0037.Name
Var menu_desc_thai_cold = $12-02-02-0037.description
Var menu_name_eng_blender = $12-02-03-0037.NameE
Var menu_desc_eng_blender = $12-02-03-0037.descriptionE
Var menu_name_thai_blender = $12-02-03-0037.Name
Var menu_desc_thai_blender = $12-02-03-0037.description
DEBUGVAR PD_STAGE_1
DEBUGVAR PD_STAGE_2
DEBUGVAR PD_STAGE_3
Open "ROOT/taobin_project/xml/page_topping_select4.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> "HOJICHA LATTE" </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> "Hojicha and milk" </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-0037.Button </State>
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
</Image>
<Text>
<X> 50 </X>
<Y> 265 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-02-01-0037.Button </State>
<Value> Var( "฿" + $12-02-01-0037.Price ) </Value>
</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-0037.Button </State>
</Image>
<Text>
<X> 115 </X>
<Y> 265 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-02-02-0037.Button </State>
<Value> Var( "฿" + $12-02-02-0037.Price ) </Value>
</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-0037.Button </State>
</Image>
<Text>
<X> 183 </X>
<Y> 265 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-02-03-0037.Button </State>
<Value> Var( "฿" + $12-02-03-0037.Price ) </Value>
</Text>
<Image>
<X> 81 </X>
<Y> 264 </Y>
<State>
eval(
If ICE_PROCESS_STATUS = 2 Then
If $Sum120201003712020200371202030037 = "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 $Sum120201003712020200371202030037 = "Disable" Then
STRCONTAIN "ERR" $12-02-01-0037.TAG tag1_is_disable
STRCONTAIN "ERR" $12-02-02-0037.TAG tag2_is_disable
STRCONTAIN "ERR" $12-02-03-0037.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> $Sum120201003712020200371202030037 </State>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; ==================> Len = 8
; 12-02-01-0027 12-02-02-0027 12-02-03-0027
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-02-01-0027.Button,12-02-02-0027.Button,12-02-03-0027.Button,$Sum120201002712020200271202030027) </State>
<Button>
<State> $Sum120201002712020200271202030027 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_matcha_tea_sing.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_matcha_tea_sing.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_matcha_tea_sing.png" </FilenameDisable>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var NameDrink = "MATCHA"
Var NameDrinkTH = "ชาเขียวญี่ปุ่น "
Var DrinkDescriptionTH = "ชาเชียว และน้ำ"
Var DrinkDescription = "Matcha & Water "
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_matcha_tea_sing.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $12-02-01-0027.Price
Var PriceD2 = $12-02-02-0027.Price
Var PriceD3 = $12-02-03-0027.Price
Var PD_CODE1 = "12-02-01-0027"
Var PD_CODE2 = "12-02-02-0027"
Var PD_CODE3 = "12-02-03-0027"
Var PD_STAGE_1 = $12-02-01-0027.Button
Var PD_STAGE_2 = $12-02-02-0027.Button
Var PD_STAGE_3 = $12-02-03-0027.Button
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-0027"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "12-02-01-0027"
Else
Topping "Load" "12-02-03-0027"
EndIf
EndIf
Var menu_name_eng_hot = $12-02-01-0027.NameE
Var menu_desc_eng_hot = $12-02-01-0027.descriptionE
Var menu_name_thai_hot = $12-02-01-0027.Name
Var menu_desc_thai_hot = $12-02-01-0027.description
Var menu_name_eng_cold = $12-02-02-0027.NameE
Var menu_desc_eng_cold = $12-02-02-0027.descriptionE
Var menu_name_thai_cold = $12-02-02-0027.Name
Var menu_desc_thai_cold = $12-02-02-0027.description
Var menu_name_eng_blender = $12-02-03-0027.NameE
Var menu_desc_eng_blender = $12-02-03-0027.descriptionE
Var menu_name_thai_blender = $12-02-03-0027.Name
Var menu_desc_thai_blender = $12-02-03-0027.description
DEBUGVAR PD_STAGE_1
DEBUGVAR PD_STAGE_2
DEBUGVAR PD_STAGE_3
Open "ROOT/taobin_project/xml/page_topping_select4.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> "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 & Water " </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-0027.Button </State>
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
</Image>
<Text>
<X> 50 </X>
<Y> 265 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-02-01-0027.Button </State>
<Value> Var( "฿" + $12-02-01-0027.Price ) </Value>
</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-0027.Button </State>
</Image>
<Text>
<X> 115 </X>
<Y> 265 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-02-02-0027.Button </State>
<Value> Var( "฿" + $12-02-02-0027.Price ) </Value>
</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-0027.Button </State>
</Image>
<Text>
<X> 183 </X>
<Y> 265 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-02-03-0027.Button </State>
<Value> Var( "฿" + $12-02-03-0027.Price ) </Value>
</Text>
<Image>
<X> 81 </X>
<Y> 264 </Y>
<State>
eval(
If ICE_PROCESS_STATUS = 2 Then
If $Sum120201002712020200271202030027 = "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 $Sum120201002712020200271202030027 = "Disable" Then
STRCONTAIN "ERR" $12-02-01-0027.TAG tag1_is_disable
STRCONTAIN "ERR" $12-02-02-0027.TAG tag2_is_disable
STRCONTAIN "ERR" $12-02-03-0027.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> $Sum120201002712020200271202030027 </State>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; ==================> Len = 8
; 12-02-01-0028 12-02-02-0028 12-02-03-0028
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-02-01-0028.Button,12-02-02-0028.Button,12-02-03-0028.Button,$Sum120201002812020200281202030028) </State>
<Button>
<State> $Sum120201002812020200281202030028 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_lime_Matcha.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_lime_Matcha.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_lime_Matcha.png" </FilenameDisable>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var NameDrink = "MATCHA LIMENADE"
Var NameDrinkTH = "ชาเขียวญี่ปุ่นมะนาว "
Var DrinkDescriptionTH = "ชาเชียว มะนาว "
Var DrinkDescription = "Matcha, Limenade, Water"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_lime_Matcha.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $12-02-01-0028.Price
Var PriceD2 = $12-02-02-0028.Price
Var PriceD3 = $12-02-03-0028.Price
Var PD_CODE1 = "12-02-01-0028"
Var PD_CODE2 = "12-02-02-0028"
Var PD_CODE3 = "12-02-03-0028"
Var PD_STAGE_1 = $12-02-01-0028.Button
Var PD_STAGE_2 = $12-02-02-0028.Button
Var PD_STAGE_3 = $12-02-03-0028.Button
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-0028"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "12-02-01-0028"
Else
Topping "Load" "12-02-03-0028"
EndIf
EndIf
Var menu_name_eng_hot = $12-02-01-0028.NameE
Var menu_desc_eng_hot = $12-02-01-0028.descriptionE
Var menu_name_thai_hot = $12-02-01-0028.Name
Var menu_desc_thai_hot = $12-02-01-0028.description
Var menu_name_eng_cold = $12-02-02-0028.NameE
Var menu_desc_eng_cold = $12-02-02-0028.descriptionE
Var menu_name_thai_cold = $12-02-02-0028.Name
Var menu_desc_thai_cold = $12-02-02-0028.description
Var menu_name_eng_blender = $12-02-03-0028.NameE
Var menu_desc_eng_blender = $12-02-03-0028.descriptionE
Var menu_name_thai_blender = $12-02-03-0028.Name
Var menu_desc_thai_blender = $12-02-03-0028.description
DEBUGVAR PD_STAGE_1
DEBUGVAR PD_STAGE_2
DEBUGVAR PD_STAGE_3
Open "ROOT/taobin_project/xml/page_topping_select4.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> "MATCHA
LIMENADE" </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, Limenade, Water" </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-0028.Button </State>
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
</Image>
<Text>
<X> 50 </X>
<Y> 265 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-02-01-0028.Button </State>
<Value> Var( "฿" + $12-02-01-0028.Price ) </Value>
</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-0028.Button </State>
</Image>
<Text>
<X> 115 </X>
<Y> 265 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-02-02-0028.Button </State>
<Value> Var( "฿" + $12-02-02-0028.Price ) </Value>
</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-0028.Button </State>
</Image>
<Text>
<X> 183 </X>
<Y> 265 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-02-03-0028.Button </State>
<Value> Var( "฿" + $12-02-03-0028.Price ) </Value>
</Text>
<Image>
<X> 81 </X>
<Y> 264 </Y>
<State>
eval(
If ICE_PROCESS_STATUS = 2 Then
If $Sum120201002812020200281202030028 = "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 $Sum120201002812020200281202030028 = "Disable" Then
STRCONTAIN "ERR" $12-02-01-0028.TAG tag1_is_disable
STRCONTAIN "ERR" $12-02-02-0028.TAG tag2_is_disable
STRCONTAIN "ERR" $12-02-03-0028.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> $Sum120201002812020200281202030028 </State>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; ==================> Len = 8
; 12-02-01-0011 12-02-02-0011 12-02-03-0011
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-02-01-0011.Button,12-02-02-0011.Button,12-02-03-0011.Button,$Sum120201001112020200111202030011) </State>
<Button>
<State> $Sum120201001112020200111202030011 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_matcha_tea.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_matcha_tea.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_matcha_tea.png" </FilenameDisable>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var NameDrink = "MATCHA"
Var NameDrinkTH = "ชาเขียวญี่ปุ่น "
Var DrinkDescriptionTH = "ชาเชียว และน้ำ"
Var DrinkDescription = "Matcha & Water "
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_matcha_tea.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $12-02-01-0011.Price
Var PriceD2 = $12-02-02-0011.Price
Var PriceD3 = $12-02-03-0011.Price
Var PD_CODE1 = "12-02-01-0011"
Var PD_CODE2 = "12-02-02-0011"
Var PD_CODE3 = "12-02-03-0011"
Var PD_STAGE_1 = $12-02-01-0011.Button
Var PD_STAGE_2 = $12-02-02-0011.Button
Var PD_STAGE_3 = $12-02-03-0011.Button
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-0011"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "12-02-01-0011"
Else
Topping "Load" "12-02-03-0011"
EndIf
EndIf
Var menu_name_eng_hot = $12-02-01-0011.NameE
Var menu_desc_eng_hot = $12-02-01-0011.descriptionE
Var menu_name_thai_hot = $12-02-01-0011.Name
Var menu_desc_thai_hot = $12-02-01-0011.description
Var menu_name_eng_cold = $12-02-02-0011.NameE
Var menu_desc_eng_cold = $12-02-02-0011.descriptionE
Var menu_name_thai_cold = $12-02-02-0011.Name
Var menu_desc_thai_cold = $12-02-02-0011.description
Var menu_name_eng_blender = $12-02-03-0011.NameE
Var menu_desc_eng_blender = $12-02-03-0011.descriptionE
Var menu_name_thai_blender = $12-02-03-0011.Name
Var menu_desc_thai_blender = $12-02-03-0011.description
DEBUGVAR PD_STAGE_1
DEBUGVAR PD_STAGE_2
DEBUGVAR PD_STAGE_3
Open "ROOT/taobin_project/xml/page_topping_select4.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> "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 & Water " </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-0011.Button </State>
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
</Image>
<Text>
<X> 50 </X>
<Y> 265 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-02-01-0011.Button </State>
<Value> Var( "฿" + $12-02-01-0011.Price ) </Value>
</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-0011.Button </State>
</Image>
<Text>
<X> 115 </X>
<Y> 265 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-02-02-0011.Button </State>
<Value> Var( "฿" + $12-02-02-0011.Price ) </Value>
</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-0011.Button </State>
</Image>
<Text>
<X> 183 </X>
<Y> 265 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-02-03-0011.Button </State>
<Value> Var( "฿" + $12-02-03-0011.Price ) </Value>
</Text>
<Image>
<X> 81 </X>
<Y> 264 </Y>
<State>
eval(
If ICE_PROCESS_STATUS = 2 Then
If $Sum120201001112020200111202030011 = "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 $Sum120201001112020200111202030011 = "Disable" Then
STRCONTAIN "ERR" $12-02-01-0011.TAG tag1_is_disable
STRCONTAIN "ERR" $12-02-02-0011.TAG tag2_is_disable
STRCONTAIN "ERR" $12-02-03-0011.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> $Sum120201001112020200111202030011 </State>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; ==================> Len = 8
; 12-02-01-0012 12-02-02-0012 12-02-03-0012
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-02-01-0012.Button,12-02-02-0012.Button,12-02-03-0012.Button,$Sum120201001212020200121202030012) </State>
<Button>
<State> $Sum120201001212020200121202030012 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_lime_Matcha.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_lime_Matcha.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_lime_Matcha.png" </FilenameDisable>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var NameDrink = "MATCHA LIMENADE"
Var NameDrinkTH = "ชาเขียวญี่ปุ่นมะนาว "
Var DrinkDescriptionTH = "ชาเชียว น้ำ มะนาว "
Var DrinkDescription = "Matcha, Limenade, Water"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_lime_Matcha.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $12-02-01-0012.Price
Var PriceD2 = $12-02-02-0012.Price
Var PriceD3 = $12-02-03-0012.Price
Var PD_CODE1 = "12-02-01-0012"
Var PD_CODE2 = "12-02-02-0012"
Var PD_CODE3 = "12-02-03-0012"
Var PD_STAGE_1 = $12-02-01-0012.Button
Var PD_STAGE_2 = $12-02-02-0012.Button
Var PD_STAGE_3 = $12-02-03-0012.Button
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-0012"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "12-02-01-0012"
Else
Topping "Load" "12-02-03-0012"
EndIf
EndIf
Var menu_name_eng_hot = $12-02-01-0012.NameE
Var menu_desc_eng_hot = $12-02-01-0012.descriptionE
Var menu_name_thai_hot = $12-02-01-0012.Name
Var menu_desc_thai_hot = $12-02-01-0012.description
Var menu_name_eng_cold = $12-02-02-0012.NameE
Var menu_desc_eng_cold = $12-02-02-0012.descriptionE
Var menu_name_thai_cold = $12-02-02-0012.Name
Var menu_desc_thai_cold = $12-02-02-0012.description
Var menu_name_eng_blender = $12-02-03-0012.NameE
Var menu_desc_eng_blender = $12-02-03-0012.descriptionE
Var menu_name_thai_blender = $12-02-03-0012.Name
Var menu_desc_thai_blender = $12-02-03-0012.description
DEBUGVAR PD_STAGE_1
DEBUGVAR PD_STAGE_2
DEBUGVAR PD_STAGE_3
Open "ROOT/taobin_project/xml/page_topping_select4.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> "MATCHA
LIMENADE" </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, Limenade, Water" </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-0012.Button </State>
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
</Image>
<Text>
<X> 50 </X>
<Y> 265 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-02-01-0012.Button </State>
<Value> Var( "฿" + $12-02-01-0012.Price ) </Value>
</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-0012.Button </State>
</Image>
<Text>
<X> 115 </X>
<Y> 265 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-02-02-0012.Button </State>
<Value> Var( "฿" + $12-02-02-0012.Price ) </Value>
</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-0012.Button </State>
</Image>
<Text>
<X> 183 </X>
<Y> 265 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-02-03-0012.Button </State>
<Value> Var( "฿" + $12-02-03-0012.Price ) </Value>
</Text>
<Image>
<X> 81 </X>
<Y> 264 </Y>
<State>
eval(
If ICE_PROCESS_STATUS = 2 Then
If $Sum120201001212020200121202030012 = "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 $Sum120201001212020200121202030012 = "Disable" Then
STRCONTAIN "ERR" $12-02-01-0012.TAG tag1_is_disable
STRCONTAIN "ERR" $12-02-02-0012.TAG tag2_is_disable
STRCONTAIN "ERR" $12-02-03-0012.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> $Sum120201001212020200121202030012 </State>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; ==================> Len = 8
; 12-02-01-0036 12-02-02-0036 12-02-03-0036
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-02-01-0036.Button,12-02-02-0036.Button,12-02-03-0036.Button,$Sum120201003612020200361202030036) </State>
<Button>
<State> $Sum120201003612020200361202030036 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_hojicha_tea_sing.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_hojicha_tea_sing.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_hojicha_tea_sing.png" </FilenameDisable>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var NameDrink = "HOJICHA"
Var NameDrinkTH = "โฮจิฉะ"
Var DrinkDescriptionTH = "ชาเขียวคั่ว "
Var DrinkDescription = "Hojicha"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_hojicha_tea_sing.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $12-02-01-0036.Price
Var PriceD2 = $12-02-02-0036.Price
Var PriceD3 = $12-02-03-0036.Price
Var PD_CODE1 = "12-02-01-0036"
Var PD_CODE2 = "12-02-02-0036"
Var PD_CODE3 = "12-02-03-0036"
Var PD_STAGE_1 = $12-02-01-0036.Button
Var PD_STAGE_2 = $12-02-02-0036.Button
Var PD_STAGE_3 = $12-02-03-0036.Button
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-0036"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "12-02-01-0036"
Else
Topping "Load" "12-02-03-0036"
EndIf
EndIf
Var menu_name_eng_hot = $12-02-01-0036.NameE
Var menu_desc_eng_hot = $12-02-01-0036.descriptionE
Var menu_name_thai_hot = $12-02-01-0036.Name
Var menu_desc_thai_hot = $12-02-01-0036.description
Var menu_name_eng_cold = $12-02-02-0036.NameE
Var menu_desc_eng_cold = $12-02-02-0036.descriptionE
Var menu_name_thai_cold = $12-02-02-0036.Name
Var menu_desc_thai_cold = $12-02-02-0036.description
Var menu_name_eng_blender = $12-02-03-0036.NameE
Var menu_desc_eng_blender = $12-02-03-0036.descriptionE
Var menu_name_thai_blender = $12-02-03-0036.Name
Var menu_desc_thai_blender = $12-02-03-0036.description
DEBUGVAR PD_STAGE_1
DEBUGVAR PD_STAGE_2
DEBUGVAR PD_STAGE_3
Open "ROOT/taobin_project/xml/page_topping_select4.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> "HOJICHA" </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> "Hojicha" </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-0036.Button </State>
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
</Image>
<Text>
<X> 50 </X>
<Y> 265 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-02-01-0036.Button </State>
<Value> Var( "฿" + $12-02-01-0036.Price ) </Value>
</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-0036.Button </State>
</Image>
<Text>
<X> 115 </X>
<Y> 265 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-02-02-0036.Button </State>
<Value> Var( "฿" + $12-02-02-0036.Price ) </Value>
</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-0036.Button </State>
</Image>
<Text>
<X> 183 </X>
<Y> 265 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-02-03-0036.Button </State>
<Value> Var( "฿" + $12-02-03-0036.Price ) </Value>
</Text>
<Image>
<X> 81 </X>
<Y> 264 </Y>
<State>
eval(
If ICE_PROCESS_STATUS = 2 Then
If $Sum120201003612020200361202030036 = "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 $Sum120201003612020200361202030036 = "Disable" Then
STRCONTAIN "ERR" $12-02-01-0036.TAG tag1_is_disable
STRCONTAIN "ERR" $12-02-02-0036.TAG tag2_is_disable
STRCONTAIN "ERR" $12-02-03-0036.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> $Sum120201003612020200361202030036 </State>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; ==================> Len = 8
; 12-02-01-0006 12-02-02-0006 12-02-03-0006
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-02-01-0006.Button,12-02-02-0006.Button,12-02-03-0006.Button,$Sum120201000612020200061202030006) </State>
<Button>
<State> $Sum120201000612020200061202030006 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_Black_Sugar_Milk_Tea.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_Black_Sugar_Milk_Tea.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_Black_Sugar_Milk_Tea.png" </FilenameDisable>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var NameDrink = "BROWN SUGAR TEA"
Var NameDrinkTH = "ชาบราวน์ชูการ์ "
Var DrinkDescriptionTH = "ชาไทย น้ำเชื่อมน้ำตาลแดง นม "
Var DrinkDescription = "Thai tea, Milk, Kokuto syrup"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_Black_Sugar_Milk_Tea.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $12-02-01-0006.Price
Var PriceD2 = $12-02-02-0006.Price
Var PriceD3 = $12-02-03-0006.Price
Var PD_CODE1 = "12-02-01-0006"
Var PD_CODE2 = "12-02-02-0006"
Var PD_CODE3 = "12-02-03-0006"
Var PD_STAGE_1 = $12-02-01-0006.Button
Var PD_STAGE_2 = $12-02-02-0006.Button
Var PD_STAGE_3 = $12-02-03-0006.Button
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-0006"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "12-02-01-0006"
Else
Topping "Load" "12-02-03-0006"
EndIf
EndIf
Var menu_name_eng_hot = $12-02-01-0006.NameE
Var menu_desc_eng_hot = $12-02-01-0006.descriptionE
Var menu_name_thai_hot = $12-02-01-0006.Name
Var menu_desc_thai_hot = $12-02-01-0006.description
Var menu_name_eng_cold = $12-02-02-0006.NameE
Var menu_desc_eng_cold = $12-02-02-0006.descriptionE
Var menu_name_thai_cold = $12-02-02-0006.Name
Var menu_desc_thai_cold = $12-02-02-0006.description
Var menu_name_eng_blender = $12-02-03-0006.NameE
Var menu_desc_eng_blender = $12-02-03-0006.descriptionE
Var menu_name_thai_blender = $12-02-03-0006.Name
Var menu_desc_thai_blender = $12-02-03-0006.description
DEBUGVAR PD_STAGE_1
DEBUGVAR PD_STAGE_2
DEBUGVAR PD_STAGE_3
Open "ROOT/taobin_project/xml/page_topping_select4.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> "BROWN SUGAR
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, Milk, Kokuto 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-0006.Button </State>
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
</Image>
<Text>
<X> 50 </X>
<Y> 265 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-02-01-0006.Button </State>
<Value> Var( "฿" + $12-02-01-0006.Price ) </Value>
</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-0006.Button </State>
</Image>
<Text>
<X> 115 </X>
<Y> 265 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-02-02-0006.Button </State>
<Value> Var( "฿" + $12-02-02-0006.Price ) </Value>
</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-0006.Button </State>
</Image>
<Text>
<X> 183 </X>
<Y> 265 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-02-03-0006.Button </State>
<Value> Var( "฿" + $12-02-03-0006.Price ) </Value>
</Text>
<Image>
<X> 81 </X>
<Y> 264 </Y>
<State>
eval(
If ICE_PROCESS_STATUS = 2 Then
If $Sum120201000612020200061202030006 = "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 $Sum120201000612020200061202030006 = "Disable" Then
STRCONTAIN "ERR" $12-02-01-0006.TAG tag1_is_disable
STRCONTAIN "ERR" $12-02-02-0006.TAG tag2_is_disable
STRCONTAIN "ERR" $12-02-03-0006.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> $Sum120201000612020200061202030006 </State>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; ==================> Len = 8
; 12-02-01-0008 12-02-02-0008 12-02-03-0008
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-02-01-0008.Button,12-02-02-0008.Button,12-02-03-0008.Button,$Sum120201000812020200081202030008) </State>
<Button>
<State> $Sum120201000812020200081202030008 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_lychee_tea.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_lychee_tea.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_lychee_tea.png" </FilenameDisable>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var NameDrink = "LYCHEE TEA"
Var NameDrinkTH = "ชาลิ้นจี่ "
Var DrinkDescriptionTH = "ชาไทย น้ำเชื่อมลิ้นจี่ "
Var DrinkDescription = "Thai tea, Lychee, Sugar, Water"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_lychee_tea.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $12-02-01-0008.Price
Var PriceD2 = $12-02-02-0008.Price
Var PriceD3 = $12-02-03-0008.Price
Var PD_CODE1 = "12-02-01-0008"
Var PD_CODE2 = "12-02-02-0008"
Var PD_CODE3 = "12-02-03-0008"
Var PD_STAGE_1 = $12-02-01-0008.Button
Var PD_STAGE_2 = $12-02-02-0008.Button
Var PD_STAGE_3 = $12-02-03-0008.Button
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-0008"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "12-02-01-0008"
Else
Topping "Load" "12-02-03-0008"
EndIf
EndIf
Var menu_name_eng_hot = $12-02-01-0008.NameE
Var menu_desc_eng_hot = $12-02-01-0008.descriptionE
Var menu_name_thai_hot = $12-02-01-0008.Name
Var menu_desc_thai_hot = $12-02-01-0008.description
Var menu_name_eng_cold = $12-02-02-0008.NameE
Var menu_desc_eng_cold = $12-02-02-0008.descriptionE
Var menu_name_thai_cold = $12-02-02-0008.Name
Var menu_desc_thai_cold = $12-02-02-0008.description
Var menu_name_eng_blender = $12-02-03-0008.NameE
Var menu_desc_eng_blender = $12-02-03-0008.descriptionE
Var menu_name_thai_blender = $12-02-03-0008.Name
Var menu_desc_thai_blender = $12-02-03-0008.description
DEBUGVAR PD_STAGE_1
DEBUGVAR PD_STAGE_2
DEBUGVAR PD_STAGE_3
Open "ROOT/taobin_project/xml/page_topping_select4.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> "LYCHEE 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, Lychee, Sugar, Water" </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-0008.Button </State>
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
</Image>
<Text>
<X> 50 </X>
<Y> 265 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-02-01-0008.Button </State>
<Value> Var( "฿" + $12-02-01-0008.Price ) </Value>
</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-0008.Button </State>
</Image>
<Text>
<X> 115 </X>
<Y> 265 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-02-02-0008.Button </State>
<Value> Var( "฿" + $12-02-02-0008.Price ) </Value>
</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-0008.Button </State>
</Image>
<Text>
<X> 183 </X>
<Y> 265 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-02-03-0008.Button </State>
<Value> Var( "฿" + $12-02-03-0008.Price ) </Value>
</Text>
<Image>
<X> 81 </X>
<Y> 264 </Y>
<State>
eval(
If ICE_PROCESS_STATUS = 2 Then
If $Sum120201000812020200081202030008 = "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 $Sum120201000812020200081202030008 = "Disable" Then
STRCONTAIN "ERR" $12-02-01-0008.TAG tag1_is_disable
STRCONTAIN "ERR" $12-02-02-0008.TAG tag2_is_disable
STRCONTAIN "ERR" $12-02-03-0008.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> $Sum120201000812020200081202030008 </State>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; ==================> Len = 8
; 12-02-01-0019 12-02-02-0019 12-02-03-0019
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-02-01-0019.Button,12-02-02-0019.Button,12-02-03-0019.Button,$Sum120201001912020200191202030019) </State>
<Button>
<State> $Sum120201001912020200191202030019 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_lychee_tea.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_lychee_tea.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_lychee_tea.png" </FilenameDisable>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var NameDrink = "LYCHEE TEA"
Var NameDrinkTH = "ชาลิ้นจี่ "
Var DrinkDescriptionTH = "ชาไทย น้ำเชื่อมลิ้นจี่"
Var DrinkDescription = "Thai tea, Lychee, Sugar, Water"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_lychee_tea.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $12-02-01-0019.Price
Var PriceD2 = $12-02-02-0019.Price
Var PriceD3 = $12-02-03-0019.Price
Var PD_CODE1 = "12-02-01-0019"
Var PD_CODE2 = "12-02-02-0019"
Var PD_CODE3 = "12-02-03-0019"
Var PD_STAGE_1 = $12-02-01-0019.Button
Var PD_STAGE_2 = $12-02-02-0019.Button
Var PD_STAGE_3 = $12-02-03-0019.Button
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-0019"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "12-02-01-0019"
Else
Topping "Load" "12-02-03-0019"
EndIf
EndIf
Var menu_name_eng_hot = $12-02-01-0019.NameE
Var menu_desc_eng_hot = $12-02-01-0019.descriptionE
Var menu_name_thai_hot = $12-02-01-0019.Name
Var menu_desc_thai_hot = $12-02-01-0019.description
Var menu_name_eng_cold = $12-02-02-0019.NameE
Var menu_desc_eng_cold = $12-02-02-0019.descriptionE
Var menu_name_thai_cold = $12-02-02-0019.Name
Var menu_desc_thai_cold = $12-02-02-0019.description
Var menu_name_eng_blender = $12-02-03-0019.NameE
Var menu_desc_eng_blender = $12-02-03-0019.descriptionE
Var menu_name_thai_blender = $12-02-03-0019.Name
Var menu_desc_thai_blender = $12-02-03-0019.description
DEBUGVAR PD_STAGE_1
DEBUGVAR PD_STAGE_2
DEBUGVAR PD_STAGE_3
Open "ROOT/taobin_project/xml/page_topping_select4.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> "LYCHEE 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, Lychee, Sugar, Water" </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-0019.Button </State>
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
</Image>
<Text>
<X> 50 </X>
<Y> 265 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-02-01-0019.Button </State>
<Value> Var( "฿" + $12-02-01-0019.Price ) </Value>
</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-0019.Button </State>
</Image>
<Text>
<X> 115 </X>
<Y> 265 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-02-02-0019.Button </State>
<Value> Var( "฿" + $12-02-02-0019.Price ) </Value>
</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-0019.Button </State>
</Image>
<Text>
<X> 183 </X>
<Y> 265 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-02-03-0019.Button </State>
<Value> Var( "฿" + $12-02-03-0019.Price ) </Value>
</Text>
<Image>
<X> 81 </X>
<Y> 264 </Y>
<State>
eval(
If ICE_PROCESS_STATUS = 2 Then
If $Sum120201001912020200191202030019 = "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 $Sum120201001912020200191202030019 = "Disable" Then
STRCONTAIN "ERR" $12-02-01-0019.TAG tag1_is_disable
STRCONTAIN "ERR" $12-02-02-0019.TAG tag2_is_disable
STRCONTAIN "ERR" $12-02-03-0019.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> $Sum120201001912020200191202030019 </State>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; ==================> Len = 8
; 12-02-02-0009 12-02-01-0009 -
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-02-02-0009.Button,12-02-01-0009.Button,$Sum12020200091202010009) </State>
<Button>
<State> $Sum12020200091202010009 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_strawberry_thai_tea.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_strawberry_thai_tea.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_strawberry_thai_tea.png" </FilenameDisable>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var NameDrink = "STRAWBERRY TEA"
Var NameDrinkTH = "ชาสตอเบอร์รี่ "
Var DrinkDescriptionTH = "ชาไทย น้ำเชื่อมสตอเบอร์รี่ "
Var DrinkDescription = "Thai tea, Strawberry Syrup, Water"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_strawberry_thai_tea.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $12-02-02-0009.Price
Var PriceD2 = $12-02-01-0009.Price
Var PriceD3 = $-.Price
Var PD_CODE1 = "12-02-02-0009"
Var PD_CODE2 = "12-02-01-0009"
Var PD_CODE3 = "##-##-##-####"
Var PD_STAGE_1 = $12-02-02-0009.Button
Var PD_STAGE_2 = $12-02-01-0009.Button
Var PD_STAGE_3 = "Disable2"
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-01-0009"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "12-02-02-0009"
Else
Topping "Load" "-"
EndIf
EndIf
Var menu_name_eng_hot = $12-02-02-0009.NameE
Var menu_desc_eng_hot = $12-02-02-0009.descriptionE
Var menu_name_thai_hot = $12-02-02-0009.Name
Var menu_desc_thai_hot = $12-02-02-0009.description
Var menu_name_eng_cold = $12-02-01-0009.NameE
Var menu_desc_eng_cold = $12-02-01-0009.descriptionE
Var menu_name_thai_cold = $12-02-01-0009.Name
Var menu_desc_thai_cold = $12-02-01-0009.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
Open "ROOT/taobin_project/xml/page_topping_select4.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> "STRAWBERRY 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, Strawberry Syrup,
Water" </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-02-0009.Button </State>
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
</Image>
<Text>
<X> 50 </X>
<Y> 265 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-02-02-0009.Button </State>
<Value> Var( "฿" + $12-02-02-0009.Price ) </Value>
</Text>
<Image>
<X> 81 </X>
<Y> 264 </Y>
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
<State> $12-02-01-0009.Button </State>
</Image>
<Text>
<X> 115 </X>
<Y> 265 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-02-01-0009.Button </State>
<Value> Var( "฿" + $12-02-01-0009.Price ) </Value>
</Text>
<Image>
<X> 146 </X>
<Y> 264 </Y>
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
<State> "Invisible" </State>
</Image>
<Text>
<X> 183 </X>
<Y> 265 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> "Invisible" </State>
<Value> Var( "฿" + $-.Price ) </Value>
</Text>
<Image>
<X> 81 </X>
<Y> 264 </Y>
<State>
eval(
If ICE_PROCESS_STATUS = 2 Then
If $Sum12020200091202010009 = "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 $Sum12020200091202010009 = "Disable" Then
STRCONTAIN "ERR" $12-02-02-0009.TAG tag1_is_disable
STRCONTAIN "ERR" $12-02-01-0009.TAG tag2_is_disable
STRCONTAIN "ERR" $##-##-##-####.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> $Sum12020200091202010009 </State>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; ==================> Len = 8
; 12-02-01-0022 12-02-02-0022 12-02-03-0022
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-02-01-0022.Button,12-02-02-0022.Button,12-02-03-0022.Button,$Sum120201002212020200221202030022) </State>
<Button>
<State> $Sum120201002212020200221202030022 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_strawberry_tea.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_strawberry_tea.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_strawberry_tea.png" </FilenameDisable>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var NameDrink = "STRAWBERRY TEA"
Var NameDrinkTH = "ชาสตอเบอร์รี่ "
Var DrinkDescriptionTH = "ชาไทย น้ำเชื่อมสตอเบอร์รี่ "
Var DrinkDescription = "Thai tea, Strawberry Syrup, Water"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_strawberry_tea.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $12-02-01-0022.Price
Var PriceD2 = $12-02-02-0022.Price
Var PriceD3 = $12-02-03-0022.Price
Var PD_CODE1 = "12-02-01-0022"
Var PD_CODE2 = "12-02-02-0022"
Var PD_CODE3 = "12-02-03-0022"
Var PD_STAGE_1 = $12-02-01-0022.Button
Var PD_STAGE_2 = $12-02-02-0022.Button
Var PD_STAGE_3 = $12-02-03-0022.Button
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-0022"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "12-02-01-0022"
Else
Topping "Load" "12-02-03-0022"
EndIf
EndIf
Var menu_name_eng_hot = $12-02-01-0022.NameE
Var menu_desc_eng_hot = $12-02-01-0022.descriptionE
Var menu_name_thai_hot = $12-02-01-0022.Name
Var menu_desc_thai_hot = $12-02-01-0022.description
Var menu_name_eng_cold = $12-02-02-0022.NameE
Var menu_desc_eng_cold = $12-02-02-0022.descriptionE
Var menu_name_thai_cold = $12-02-02-0022.Name
Var menu_desc_thai_cold = $12-02-02-0022.description
Var menu_name_eng_blender = $12-02-03-0022.NameE
Var menu_desc_eng_blender = $12-02-03-0022.descriptionE
Var menu_name_thai_blender = $12-02-03-0022.Name
Var menu_desc_thai_blender = $12-02-03-0022.description
DEBUGVAR PD_STAGE_1
DEBUGVAR PD_STAGE_2
DEBUGVAR PD_STAGE_3
Open "ROOT/taobin_project/xml/page_topping_select4.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> "STRAWBERRY 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, Strawberry Syrup,
Water" </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-0022.Button </State>
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
</Image>
<Text>
<X> 50 </X>
<Y> 265 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-02-01-0022.Button </State>
<Value> Var( "฿" + $12-02-01-0022.Price ) </Value>
</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-0022.Button </State>
</Image>
<Text>
<X> 115 </X>
<Y> 265 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-02-02-0022.Button </State>
<Value> Var( "฿" + $12-02-02-0022.Price ) </Value>
</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-0022.Button </State>
</Image>
<Text>
<X> 183 </X>
<Y> 265 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-02-03-0022.Button </State>
<Value> Var( "฿" + $12-02-03-0022.Price ) </Value>
</Text>
<Image>
<X> 81 </X>
<Y> 264 </Y>
<State>
eval(
If ICE_PROCESS_STATUS = 2 Then
If $Sum120201002212020200221202030022 = "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 $Sum120201002212020200221202030022 = "Disable" Then
STRCONTAIN "ERR" $12-02-01-0022.TAG tag1_is_disable
STRCONTAIN "ERR" $12-02-02-0022.TAG tag2_is_disable
STRCONTAIN "ERR" $12-02-03-0022.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> $Sum120201002212020200221202030022 </State>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; ==================> Len = 8
; 12-02-01-0016 12-02-02-0017 12-02-03-0017
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-02-01-0016.Button,12-02-02-0017.Button,12-02-03-0017.Button,$Sum120201001612020200171202030017) </State>
<Button>
<State> $Sum120201001612020200171202030017 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_ume_tea.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_ume_tea.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_ume_tea.png" </FilenameDisable>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var NameDrink = " PLUM TEA"
Var NameDrinkTH = "ชาบ๊วย "
Var DrinkDescriptionTH = "ชาไทย น้ำเชื่อมบ๊วย"
Var DrinkDescription = "Thai tea, Ume Syrup, Water"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_ume_tea.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $12-02-01-0016.Price
Var PriceD2 = $12-02-02-0017.Price
Var PriceD3 = $12-02-03-0017.Price
Var PD_CODE1 = "12-02-01-0016"
Var PD_CODE2 = "12-02-02-0017"
Var PD_CODE3 = "12-02-03-0017"
Var PD_STAGE_1 = $12-02-01-0016.Button
Var PD_STAGE_2 = $12-02-02-0017.Button
Var PD_STAGE_3 = $12-02-03-0017.Button
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-0017"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "12-02-01-0016"
Else
Topping "Load" "12-02-03-0017"
EndIf
EndIf
Var menu_name_eng_hot = $12-02-01-0016.NameE
Var menu_desc_eng_hot = $12-02-01-0016.descriptionE
Var menu_name_thai_hot = $12-02-01-0016.Name
Var menu_desc_thai_hot = $12-02-01-0016.description
Var menu_name_eng_cold = $12-02-02-0017.NameE
Var menu_desc_eng_cold = $12-02-02-0017.descriptionE
Var menu_name_thai_cold = $12-02-02-0017.Name
Var menu_desc_thai_cold = $12-02-02-0017.description
Var menu_name_eng_blender = $12-02-03-0017.NameE
Var menu_desc_eng_blender = $12-02-03-0017.descriptionE
Var menu_name_thai_blender = $12-02-03-0017.Name
Var menu_desc_thai_blender = $12-02-03-0017.description
DEBUGVAR PD_STAGE_1
DEBUGVAR PD_STAGE_2
DEBUGVAR PD_STAGE_3
Open "ROOT/taobin_project/xml/page_topping_select4.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> " PLUM 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, Ume Syrup, Water" </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-0016.Button </State>
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
</Image>
<Text>
<X> 50 </X>
<Y> 265 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-02-01-0016.Button </State>
<Value> Var( "฿" + $12-02-01-0016.Price ) </Value>
</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-0017.Button </State>
</Image>
<Text>
<X> 115 </X>
<Y> 265 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-02-02-0017.Button </State>
<Value> Var( "฿" + $12-02-02-0017.Price ) </Value>
</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-0017.Button </State>
</Image>
<Text>
<X> 183 </X>
<Y> 265 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-02-03-0017.Button </State>
<Value> Var( "฿" + $12-02-03-0017.Price ) </Value>
</Text>
<Image>
<X> 81 </X>
<Y> 264 </Y>
<State>
eval(
If ICE_PROCESS_STATUS = 2 Then
If $Sum120201001612020200171202030017 = "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 $Sum120201001612020200171202030017 = "Disable" Then
STRCONTAIN "ERR" $12-02-01-0016.TAG tag1_is_disable
STRCONTAIN "ERR" $12-02-02-0017.TAG tag2_is_disable
STRCONTAIN "ERR" $12-02-03-0017.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> $Sum120201001612020200171202030017 </State>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; ==================> Len = 8
; 12-02-01-0029 12-02-02-0029 -
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-02-01-0029.Button,12-02-02-0029.Button,$Sum12020100291202020029) </State>
<Button>
<State> $Sum12020100291202020029 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_thai_tea.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_thai_tea.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_thai_tea.png" </FilenameDisable>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var NameDrink = "THAI TEA"
Var NameDrinkTH = "ชาดำ "
Var DrinkDescriptionTH = "ชาไทย น้ำ "
Var DrinkDescription = "Thai tea, Water, & Ice"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_thai_tea.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $12-02-01-0029.Price
Var PriceD2 = $12-02-02-0029.Price
Var PriceD3 = $-.Price
Var PD_CODE1 = "12-02-01-0029"
Var PD_CODE2 = "12-02-02-0029"
Var PD_CODE3 = "##-##-##-####"
Var PD_STAGE_1 = $12-02-01-0029.Button
Var PD_STAGE_2 = $12-02-02-0029.Button
Var PD_STAGE_3 = "Disable2"
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-0029"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "12-02-01-0029"
Else
Topping "Load" "-"
EndIf
EndIf
Var menu_name_eng_hot = $12-02-01-0029.NameE
Var menu_desc_eng_hot = $12-02-01-0029.descriptionE
Var menu_name_thai_hot = $12-02-01-0029.Name
Var menu_desc_thai_hot = $12-02-01-0029.description
Var menu_name_eng_cold = $12-02-02-0029.NameE
Var menu_desc_eng_cold = $12-02-02-0029.descriptionE
Var menu_name_thai_cold = $12-02-02-0029.Name
Var menu_desc_thai_cold = $12-02-02-0029.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
Open "ROOT/taobin_project/xml/page_topping_select4.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> "THAI 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, Water, & Ice" </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-0029.Button </State>
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
</Image>
<Text>
<X> 50 </X>
<Y> 265 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-02-01-0029.Button </State>
<Value> Var( "฿" + $12-02-01-0029.Price ) </Value>
</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-0029.Button </State>
</Image>
<Text>
<X> 115 </X>
<Y> 265 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-02-02-0029.Button </State>
<Value> Var( "฿" + $12-02-02-0029.Price ) </Value>
</Text>
<Image>
<X> 146 </X>
<Y> 264 </Y>
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
<State> "Invisible" </State>
</Image>
<Text>
<X> 183 </X>
<Y> 265 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> "Invisible" </State>
<Value> Var( "฿" + $-.Price ) </Value>
</Text>
<Image>
<X> 81 </X>
<Y> 264 </Y>
<State>
eval(
If ICE_PROCESS_STATUS = 2 Then
If $Sum12020100291202020029 = "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 $Sum12020100291202020029 = "Disable" Then
STRCONTAIN "ERR" $12-02-01-0029.TAG tag1_is_disable
STRCONTAIN "ERR" $12-02-02-0029.TAG tag2_is_disable
STRCONTAIN "ERR" $##-##-##-####.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> $Sum12020100291202020029 </State>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; ==================> Len = 8
; 12-02-01-0030 12-02-02-0030 -
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-02-01-0030.Button,12-02-02-0030.Button,$Sum12020100301202020030) </State>
<Button>
<State> $Sum12020100301202020030 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_limeblack_tea.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_limeblack_tea.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_limeblack_tea.png" </FilenameDisable>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var NameDrink = "THAI TEA LIMENADE"
Var NameDrinkTH = "ชาดำมะนาว"
Var DrinkDescriptionTH = "ชาไทย น้ำ มะนาว "
Var DrinkDescription = "Thai tea, Limenade, Water"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_limeblack_tea.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $12-02-01-0030.Price
Var PriceD2 = $12-02-02-0030.Price
Var PriceD3 = $-.Price
Var PD_CODE1 = "12-02-01-0030"
Var PD_CODE2 = "12-02-02-0030"
Var PD_CODE3 = "##-##-##-####"
Var PD_STAGE_1 = $12-02-01-0030.Button
Var PD_STAGE_2 = $12-02-02-0030.Button
Var PD_STAGE_3 = "Disable2"
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-0030"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "12-02-01-0030"
Else
Topping "Load" "-"
EndIf
EndIf
Var menu_name_eng_hot = $12-02-01-0030.NameE
Var menu_desc_eng_hot = $12-02-01-0030.descriptionE
Var menu_name_thai_hot = $12-02-01-0030.Name
Var menu_desc_thai_hot = $12-02-01-0030.description
Var menu_name_eng_cold = $12-02-02-0030.NameE
Var menu_desc_eng_cold = $12-02-02-0030.descriptionE
Var menu_name_thai_cold = $12-02-02-0030.Name
Var menu_desc_thai_cold = $12-02-02-0030.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
Open "ROOT/taobin_project/xml/page_topping_select4.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> "THAI TEA
LIMENADE" </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, Limenade, Water" </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-0030.Button </State>
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
</Image>
<Text>
<X> 50 </X>
<Y> 265 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-02-01-0030.Button </State>
<Value> Var( "฿" + $12-02-01-0030.Price ) </Value>
</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-0030.Button </State>
</Image>
<Text>
<X> 115 </X>
<Y> 265 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-02-02-0030.Button </State>
<Value> Var( "฿" + $12-02-02-0030.Price ) </Value>
</Text>
<Image>
<X> 146 </X>
<Y> 264 </Y>
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
<State> "Invisible" </State>
</Image>
<Text>
<X> 183 </X>
<Y> 265 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> "Invisible" </State>
<Value> Var( "฿" + $-.Price ) </Value>
</Text>
<Image>
<X> 81 </X>
<Y> 264 </Y>
<State>
eval(
If ICE_PROCESS_STATUS = 2 Then
If $Sum12020100301202020030 = "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 $Sum12020100301202020030 = "Disable" Then
STRCONTAIN "ERR" $12-02-01-0030.TAG tag1_is_disable
STRCONTAIN "ERR" $12-02-02-0030.TAG tag2_is_disable
STRCONTAIN "ERR" $##-##-##-####.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> $Sum12020100301202020030 </State>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; ==================> Len = 8
; 12-02-01-0031 12-02-02-0031 -
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-02-01-0031.Button,12-02-02-0031.Button,$Sum12020100311202020031) </State>
<Button>
<State> $Sum12020100311202020031 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_oolong_tea.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_oolong_tea.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_oolong_tea.png" </FilenameDisable>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var NameDrink = "TAIWANESE BLACK TEA"
Var NameDrinkTH = "ชาดำไต้หวัน"
Var DrinkDescriptionTH = "ชาไต้หวัน น้ำ "
Var DrinkDescription = "Taiwanese tea, Water"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_oolong_tea.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $12-02-01-0031.Price
Var PriceD2 = $12-02-02-0031.Price
Var PriceD3 = $-.Price
Var PD_CODE1 = "12-02-01-0031"
Var PD_CODE2 = "12-02-02-0031"
Var PD_CODE3 = "##-##-##-####"
Var PD_STAGE_1 = $12-02-01-0031.Button
Var PD_STAGE_2 = $12-02-02-0031.Button
Var PD_STAGE_3 = "Disable2"
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-0031"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "12-02-01-0031"
Else
Topping "Load" "-"
EndIf
EndIf
Var menu_name_eng_hot = $12-02-01-0031.NameE
Var menu_desc_eng_hot = $12-02-01-0031.descriptionE
Var menu_name_thai_hot = $12-02-01-0031.Name
Var menu_desc_thai_hot = $12-02-01-0031.description
Var menu_name_eng_cold = $12-02-02-0031.NameE
Var menu_desc_eng_cold = $12-02-02-0031.descriptionE
Var menu_name_thai_cold = $12-02-02-0031.Name
Var menu_desc_thai_cold = $12-02-02-0031.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
Open "ROOT/taobin_project/xml/page_topping_select4.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> "TAIWANESE
BLACK 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> "Taiwanese tea, Water" </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-0031.Button </State>
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
</Image>
<Text>
<X> 50 </X>
<Y> 265 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-02-01-0031.Button </State>
<Value> Var( "฿" + $12-02-01-0031.Price ) </Value>
</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-0031.Button </State>
</Image>
<Text>
<X> 115 </X>
<Y> 265 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-02-02-0031.Button </State>
<Value> Var( "฿" + $12-02-02-0031.Price ) </Value>
</Text>
<Image>
<X> 146 </X>
<Y> 264 </Y>
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
<State> "Invisible" </State>
</Image>
<Text>
<X> 183 </X>
<Y> 265 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> "Invisible" </State>
<Value> Var( "฿" + $-.Price ) </Value>
</Text>
<Image>
<X> 81 </X>
<Y> 264 </Y>
<State>
eval(
If ICE_PROCESS_STATUS = 2 Then
If $Sum12020100311202020031 = "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 $Sum12020100311202020031 = "Disable" Then
STRCONTAIN "ERR" $12-02-01-0031.TAG tag1_is_disable
STRCONTAIN "ERR" $12-02-02-0031.TAG tag2_is_disable
STRCONTAIN "ERR" $##-##-##-####.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> $Sum12020100311202020031 </State>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; ==================> Len = 8
; 12-02-01-0032 12-02-02-0032 -
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-02-01-0032.Button,12-02-02-0032.Button,$Sum12020100321202020032) </State>
<Button>
<State> $Sum12020100321202020032 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_lime_Oolong_tea.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_lime_Oolong_tea.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_lime_Oolong_tea.png" </FilenameDisable>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var NameDrink = "TAIWANESE LIME TEA"
Var NameDrinkTH = "ชาดำไต้หวันมะนาว"
Var DrinkDescriptionTH = "ชาไต้หวัน น้ำ มะนาว "
Var DrinkDescription = "Taiwanese tea, Limenade, Water"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_lime_Oolong_tea.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $12-02-01-0032.Price
Var PriceD2 = $12-02-02-0032.Price
Var PriceD3 = $-.Price
Var PD_CODE1 = "12-02-01-0032"
Var PD_CODE2 = "12-02-02-0032"
Var PD_CODE3 = "##-##-##-####"
Var PD_STAGE_1 = $12-02-01-0032.Button
Var PD_STAGE_2 = $12-02-02-0032.Button
Var PD_STAGE_3 = "Disable2"
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-0032"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "12-02-01-0032"
Else
Topping "Load" "-"
EndIf
EndIf
Var menu_name_eng_hot = $12-02-01-0032.NameE
Var menu_desc_eng_hot = $12-02-01-0032.descriptionE
Var menu_name_thai_hot = $12-02-01-0032.Name
Var menu_desc_thai_hot = $12-02-01-0032.description
Var menu_name_eng_cold = $12-02-02-0032.NameE
Var menu_desc_eng_cold = $12-02-02-0032.descriptionE
Var menu_name_thai_cold = $12-02-02-0032.Name
Var menu_desc_thai_cold = $12-02-02-0032.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
Open "ROOT/taobin_project/xml/page_topping_select4.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> "TAIWANESE
LIME 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> "Taiwanese tea, Limenade,
Water" </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-0032.Button </State>
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
</Image>
<Text>
<X> 50 </X>
<Y> 265 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-02-01-0032.Button </State>
<Value> Var( "฿" + $12-02-01-0032.Price ) </Value>
</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-0032.Button </State>
</Image>
<Text>
<X> 115 </X>
<Y> 265 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-02-02-0032.Button </State>
<Value> Var( "฿" + $12-02-02-0032.Price ) </Value>
</Text>
<Image>
<X> 146 </X>
<Y> 264 </Y>
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
<State> "Invisible" </State>
</Image>
<Text>
<X> 183 </X>
<Y> 265 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> "Invisible" </State>
<Value> Var( "฿" + $-.Price ) </Value>
</Text>
<Image>
<X> 81 </X>
<Y> 264 </Y>
<State>
eval(
If ICE_PROCESS_STATUS = 2 Then
If $Sum12020100321202020032 = "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 $Sum12020100321202020032 = "Disable" Then
STRCONTAIN "ERR" $12-02-01-0032.TAG tag1_is_disable
STRCONTAIN "ERR" $12-02-02-0032.TAG tag2_is_disable
STRCONTAIN "ERR" $##-##-##-####.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> $Sum12020100321202020032 </State>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
</FrameScroll>
; Cart
<Button>
<X> 915 </X>
<Y> 1769 </Y>
<State> showCart </State>
<Filename> cart_image_bn </Filename>
<FilenamePress> cart_image_bp </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Open "ROOT/taobin_project/xml/page_payment_multi.xml"
</EventClick>
</Button>
</Popup>