4779 lines
137 KiB
XML
4779 lines
137 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 "
|
|
Var text_unavailable = "UNAVAILABLE###size=16"
|
|
|
|
|
|
Else
|
|
Var showengText = "Invisible"
|
|
Var showthaiText = "Enable"
|
|
|
|
Var DirImage = "ROOT/taobin_project/image/page3"
|
|
Var show_btp = "ROOT/taobin_project/image/page2/bn_eng_lang_2.png"
|
|
Var show_btn = "ROOT/taobin_project/image/page2/bn_eng_lang_2.png"
|
|
|
|
Var ice_tab_text = "น้ำแข็งจะพร้อมเวลา "
|
|
Var text_unavailable = "หมด###size=32"
|
|
EndIf
|
|
|
|
If ICE_PROCESS_STATUS = 2 Then
|
|
Var ice_tab_process_show = "Enable"
|
|
Var ice_show_open = ice_tab_text + ICE_PROCESS_TXT
|
|
Else
|
|
Var ice_tab_process_show = "Invisible"
|
|
EndIf
|
|
|
|
|
|
; SpiralOnline
|
|
|
|
Var MenuVSelected2 = "Invisible"
|
|
|
|
Var Menu1Selected2 = "Invisible"
|
|
Var Menu2Selected2 = "Invisible"
|
|
Var Menu3Selected2 = "Invisible"
|
|
Var Menu4Selected2 = "Invisible"
|
|
|
|
Var Menu6Selected2 = "Invisible"
|
|
Var Menu7Selected2 = "Invisible"
|
|
Var MenuVSelected2 = "Invisible"
|
|
Var Menu11Selected2 = "Invisible"
|
|
|
|
Var Menu21Selected2 = "Invisible"
|
|
|
|
Var MenuVSelected2 = "Invisible"
|
|
If SpiralOnline = "true" Then
|
|
If Seeker = "curr" Then
|
|
Var MenuVSelected2 = "Enable"
|
|
EndIf
|
|
EndIf
|
|
|
|
; init default
|
|
Var Menu1Selected = "Enable"
|
|
Var Menu2Selected = "Enable"
|
|
Var Menu3Selected = "Enable"
|
|
Var Menu4Selected = "Enable"
|
|
; 5 fruit
|
|
Var Menu5Selected = "Invisible"
|
|
Var Menu6Selected = "Enable"
|
|
Var Menu7Selected = "Enable"
|
|
; 8 cocktail
|
|
Var Menu8Selected = "Invisible"
|
|
|
|
If CocktailShow = "true" Then
|
|
Var Menu7Selected = "Invisible"
|
|
Var Menu8Selected = "Enable"
|
|
EndIf
|
|
|
|
|
|
If AppFastEnable = "true" Then
|
|
Var Menu11Selected = "Enable"
|
|
Var Menu21Selected = "Invisible"
|
|
Var Menu7Selected = "Invisible"
|
|
Else
|
|
If MenuKidEnable = "true" Then
|
|
Var Menu11Selected = "Invisible"
|
|
Var Menu21Selected = "Enable"
|
|
Var Menu7Selected = "Invisible"
|
|
Else
|
|
Var Menu11Selected = "Invisible"
|
|
Var Menu21Selected = "Invisible"
|
|
Var Menu7Selected = "Enable"
|
|
EndIf
|
|
EndIf
|
|
|
|
If CocktailShow = "true" Then
|
|
Var Menu7Selected = "Invisible"
|
|
EndIf
|
|
|
|
If RecipeTag1 = "HealthTurnOn" Then
|
|
Var Menu22Selected = "Enable"
|
|
Else
|
|
Var Menu22Selected = "Invisible"
|
|
EndIf
|
|
;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Var 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
|
|
|
|
EndIf
|
|
|
|
|
|
; zone cup on arm
|
|
If CupOnArm = "true" Then
|
|
|
|
If CheckCupStateDoorCupClose = "" Then
|
|
If buttonRemoveCup = "Enable" Then
|
|
|
|
Else
|
|
Refresh
|
|
EndIf
|
|
|
|
Var buttonRemoveCup = "Enable"
|
|
|
|
EndIf
|
|
|
|
If CheckCupStateDoorCupClose = "done" Then
|
|
If buttonRemoveCup = "Enable" Then
|
|
|
|
Else
|
|
Refresh
|
|
EndIf
|
|
|
|
Var buttonRemoveCup = "Enable"
|
|
|
|
EndIf
|
|
Else
|
|
If buttonRemoveCup = "Enable" Then
|
|
Var buttonRemoveCup = "Invisible"
|
|
Refresh
|
|
EndIf
|
|
EndIf
|
|
|
|
|
|
Var Timeout = Timeout + 1
|
|
TimerReset
|
|
</EventTimeout>
|
|
|
|
|
|
; 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 = "-"
|
|
|
|
|
|
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/event/script_common_for_open_promotion_xml.ev"
|
|
</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_group_cocktail.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"
|
|
|
|
; Handle penetrator
|
|
|
|
If Only18 = "true" Then
|
|
|
|
Open "ROOT/taobin_project/xml/page_identity18_verification.xml"
|
|
Else
|
|
|
|
Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_payment.xml"
|
|
EndIf
|
|
|
|
; 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 24
|
|
; ==================> Len = 17
|
|
; - - 12-41-03-0001
|
|
<Block>
|
|
<MarginLeft> 33 </MarginLeft>
|
|
<MarginTop> 22 </MarginTop>
|
|
<Width> 225 </Width>
|
|
<Height> 296 </Height>
|
|
<State> Flag( 12-41-03-0001.Button,$Sum1241030001) </State>
|
|
<Button>
|
|
<State> $Sum1241030001 </State>
|
|
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_TAOTIM_Original.png" </Filename>
|
|
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_TAOTIM_Original.png" </FilenamePress>
|
|
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_TAOTIM_Original.png" </FilenameDisable>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventOnClick>
|
|
Var NameDrink = "Tao Tim Original"
|
|
Var NameDrinkTH = "เต่าติมออริจินอล"
|
|
Var DrinkDescriptionTH = "ไอศกรีมนม "
|
|
Var DrinkDescription = "Icecream, milk"
|
|
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_TAOTIM_Original.png"
|
|
Var OpenFromXML = CurrentXMLFileName2
|
|
Var PriceD1 = $-.Price
|
|
Var PriceD2 = $-.Price
|
|
Var PriceD3 = $12-41-03-0001.Price
|
|
Var PD_CODE1 = "##-##-##-####"
|
|
Var PD_CODE2 = "##-##-##-####"
|
|
Var PD_CODE3 = "12-41-03-0001"
|
|
Var PD_STAGE_1 = "Disable2"
|
|
Var PD_STAGE_2 = "Disable2"
|
|
Var PD_STAGE_3 = $12-41-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" "-"
|
|
Else
|
|
If PD_STAGE_1 = "Enable" Then
|
|
Topping "Load" "-"
|
|
Else
|
|
Topping "Load" "12-41-03-0001"
|
|
EndIf
|
|
EndIf
|
|
Var menu_name_eng_hot = $##-##-##-####.NameE
|
|
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
|
Var menu_name_thai_hot = $##-##-##-####.Name
|
|
Var menu_desc_thai_hot = $##-##-##-####.description
|
|
|
|
Var menu_name_eng_cold = $##-##-##-####.NameE
|
|
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
|
|
Var menu_name_thai_cold = $##-##-##-####.Name
|
|
Var menu_desc_thai_cold = $##-##-##-####.description
|
|
|
|
Var menu_name_eng_blender = $12-41-03-0001.NameE
|
|
Var menu_desc_eng_blender = $12-41-03-0001.descriptionE
|
|
Var menu_name_thai_blender = $12-41-03-0001.Name
|
|
Var menu_desc_thai_blender = $12-41-03-0001.description
|
|
|
|
DEBUGVAR PD_STAGE_1
|
|
DEBUGVAR PD_STAGE_2
|
|
DEBUGVAR PD_STAGE_3
|
|
Var SelectDrinkType = 0
|
|
|
|
|
|
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
|
|
|
</EventOnClick>
|
|
</Button>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 164 </Y>
|
|
<Size> 24 </Size>
|
|
<Width>220</Width>
|
|
<Mode> "multi2" </Mode>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x322B26 </Color>
|
|
<State> showthaiText </State>
|
|
<Value> "เต่าติมออริจินอล" </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 220 </Y>
|
|
<Size> 14 </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x6F5F51 </Color>
|
|
<State> showthaiText </State>
|
|
<Value> "ไอศกรีมนม " </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 164 </Y>
|
|
<Size> 22 </Size>
|
|
<Width>220</Width>
|
|
<Mode> "multi2" </Mode>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x322B26 </Color>
|
|
<State> showengText </State>
|
|
<Value> "Tao Tim Original" </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> "Icecream, 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> "Invisible" </State>
|
|
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
|
|
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
|
|
</Image>
|
|
<Text>
|
|
<X> 50 </X>
|
|
<Y> TextPriceMenuY </Y>
|
|
<Size> TextPriceMenuSize </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x6F5F51 </Color>
|
|
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
|
<State> "Invisible" </State>
|
|
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
|
</Text>
|
|
<Image>
|
|
<X> 81 </X>
|
|
<Y> 264 </Y>
|
|
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
|
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
|
<State> "Invisible" </State>
|
|
</Image>
|
|
<Text>
|
|
<X> 115 </X>
|
|
<Y> TextPriceMenuY </Y>
|
|
<Size> TextPriceMenuSize </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x6F5F51 </Color>
|
|
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
|
<State> "Invisible" </State>
|
|
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
|
</Text>
|
|
<Image>
|
|
<X> 146 </X>
|
|
<Y> 264 </Y>
|
|
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
|
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
|
<State> $12-41-03-0001.Button </State>
|
|
</Image>
|
|
<Text>
|
|
<X> 180 </X>
|
|
<Y> TextPriceMenuY </Y>
|
|
<Size> TextPriceMenuSize </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitRegularTTF </Font>
|
|
<Color> 0x6F5F51 </Color>
|
|
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
|
<State> $12-41-03-0001.Button </State>
|
|
<Value> StringFmt( $12-41-03-0001.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
|
</Text>
|
|
<Image>
|
|
<X> 81 </X>
|
|
<Y> 264 </Y>
|
|
<State>
|
|
eval(
|
|
If ICE_PROCESS_STATUS = 2 Then
|
|
|
|
Var ice_tab_process_show = "Invisible"
|
|
|
|
Else
|
|
Var ice_tab_process_show = "Invisible"
|
|
EndIf
|
|
Var return = ice_tab_process_show
|
|
)
|
|
</State>
|
|
<Filename> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </Filename>
|
|
<FilenameDisable> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </FilenameDisable>
|
|
</Image>
|
|
<Image>
|
|
<X> 49 </X>
|
|
<Y> 117 </Y>
|
|
<State>
|
|
eval(
|
|
If $Sum1241030001 = "Disable" Then
|
|
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
|
STRCONTAIN "ERR" $##-##-##-####.TAG tag2_is_disable
|
|
STRCONTAIN "ERR" $12-41-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> $Sum1241030001 </State>
|
|
<Value> text_unavailable </Value>
|
|
<Align> center-vertical-horizontal </Align>
|
|
</Text>
|
|
</Block>
|
|
; - - -
|
|
; ==================> Len = 17
|
|
; - - 12-41-03-0002
|
|
<Block>
|
|
<MarginLeft> 33 </MarginLeft>
|
|
<MarginTop> 22 </MarginTop>
|
|
<Width> 225 </Width>
|
|
<Height> 296 </Height>
|
|
<State> Flag( 12-41-03-0002.Button,$Sum1241030002) </State>
|
|
<Button>
|
|
<State> $Sum1241030002 </State>
|
|
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_TAOTIM_Oreo.png" </Filename>
|
|
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_TAOTIM_Oreo.png" </FilenamePress>
|
|
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_TAOTIM_Oreo.png" </FilenameDisable>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventOnClick>
|
|
Var NameDrink = "Tao Tim OREO"
|
|
Var NameDrinkTH = "เต่าติมโอริโอ้"
|
|
Var DrinkDescriptionTH = "ไอศกรีมนม และโอริโอ้"
|
|
Var DrinkDescription = "Icecream, milk, Oreo"
|
|
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_TAOTIM_Oreo.png"
|
|
Var OpenFromXML = CurrentXMLFileName2
|
|
Var PriceD1 = $-.Price
|
|
Var PriceD2 = $-.Price
|
|
Var PriceD3 = $12-41-03-0002.Price
|
|
Var PD_CODE1 = "##-##-##-####"
|
|
Var PD_CODE2 = "##-##-##-####"
|
|
Var PD_CODE3 = "12-41-03-0002"
|
|
Var PD_STAGE_1 = "Disable2"
|
|
Var PD_STAGE_2 = "Disable2"
|
|
Var PD_STAGE_3 = $12-41-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" "-"
|
|
Else
|
|
If PD_STAGE_1 = "Enable" Then
|
|
Topping "Load" "-"
|
|
Else
|
|
Topping "Load" "12-41-03-0002"
|
|
EndIf
|
|
EndIf
|
|
Var menu_name_eng_hot = $##-##-##-####.NameE
|
|
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
|
Var menu_name_thai_hot = $##-##-##-####.Name
|
|
Var menu_desc_thai_hot = $##-##-##-####.description
|
|
|
|
Var menu_name_eng_cold = $##-##-##-####.NameE
|
|
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
|
|
Var menu_name_thai_cold = $##-##-##-####.Name
|
|
Var menu_desc_thai_cold = $##-##-##-####.description
|
|
|
|
Var menu_name_eng_blender = $12-41-03-0002.NameE
|
|
Var menu_desc_eng_blender = $12-41-03-0002.descriptionE
|
|
Var menu_name_thai_blender = $12-41-03-0002.Name
|
|
Var menu_desc_thai_blender = $12-41-03-0002.description
|
|
|
|
DEBUGVAR PD_STAGE_1
|
|
DEBUGVAR PD_STAGE_2
|
|
DEBUGVAR PD_STAGE_3
|
|
Var SelectDrinkType = 0
|
|
|
|
|
|
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
|
|
|
</EventOnClick>
|
|
</Button>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 164 </Y>
|
|
<Size> 24 </Size>
|
|
<Width>220</Width>
|
|
<Mode> "multi2" </Mode>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x322B26 </Color>
|
|
<State> showthaiText </State>
|
|
<Value> "เต่าติมโอริโอ้" </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 220 </Y>
|
|
<Size> 14 </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x6F5F51 </Color>
|
|
<State> showthaiText </State>
|
|
<Value> "ไอศกรีมนม และโอริโอ้" </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 164 </Y>
|
|
<Size> 22 </Size>
|
|
<Width>220</Width>
|
|
<Mode> "multi2" </Mode>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x322B26 </Color>
|
|
<State> showengText </State>
|
|
<Value> "Tao Tim OREO" </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> "Icecream, milk, Oreo" </Value>
|
|
</Text>
|
|
<Image>
|
|
<X> 16 </X>
|
|
<Y> 264 </Y>
|
|
<Filename> Var( DirImage2 + "option_deactive.png" ) </Filename>
|
|
</Image>
|
|
<Image>
|
|
<X> 16 </X>
|
|
<Y> 264 </Y>
|
|
<State> "Invisible" </State>
|
|
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
|
|
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
|
|
</Image>
|
|
<Text>
|
|
<X> 50 </X>
|
|
<Y> TextPriceMenuY </Y>
|
|
<Size> TextPriceMenuSize </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x6F5F51 </Color>
|
|
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
|
<State> "Invisible" </State>
|
|
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
|
</Text>
|
|
<Image>
|
|
<X> 81 </X>
|
|
<Y> 264 </Y>
|
|
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
|
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
|
<State> "Invisible" </State>
|
|
</Image>
|
|
<Text>
|
|
<X> 115 </X>
|
|
<Y> TextPriceMenuY </Y>
|
|
<Size> TextPriceMenuSize </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x6F5F51 </Color>
|
|
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
|
<State> "Invisible" </State>
|
|
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
|
</Text>
|
|
<Image>
|
|
<X> 146 </X>
|
|
<Y> 264 </Y>
|
|
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
|
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
|
<State> $12-41-03-0002.Button </State>
|
|
</Image>
|
|
<Text>
|
|
<X> 180 </X>
|
|
<Y> TextPriceMenuY </Y>
|
|
<Size> TextPriceMenuSize </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitRegularTTF </Font>
|
|
<Color> 0x6F5F51 </Color>
|
|
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
|
<State> $12-41-03-0002.Button </State>
|
|
<Value> StringFmt( $12-41-03-0002.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
|
</Text>
|
|
<Image>
|
|
<X> 81 </X>
|
|
<Y> 264 </Y>
|
|
<State>
|
|
eval(
|
|
If ICE_PROCESS_STATUS = 2 Then
|
|
|
|
Var ice_tab_process_show = "Invisible"
|
|
|
|
Else
|
|
Var ice_tab_process_show = "Invisible"
|
|
EndIf
|
|
Var return = ice_tab_process_show
|
|
)
|
|
</State>
|
|
<Filename> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </Filename>
|
|
<FilenameDisable> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </FilenameDisable>
|
|
</Image>
|
|
<Image>
|
|
<X> 49 </X>
|
|
<Y> 117 </Y>
|
|
<State>
|
|
eval(
|
|
If $Sum1241030002 = "Disable" Then
|
|
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
|
STRCONTAIN "ERR" $##-##-##-####.TAG tag2_is_disable
|
|
STRCONTAIN "ERR" $12-41-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> $Sum1241030002 </State>
|
|
<Value> text_unavailable </Value>
|
|
<Align> center-vertical-horizontal </Align>
|
|
</Text>
|
|
</Block>
|
|
; - - -
|
|
; ==================> Len = 17
|
|
; - - 12-41-03-0003
|
|
<Block>
|
|
<MarginLeft> 33 </MarginLeft>
|
|
<MarginTop> 22 </MarginTop>
|
|
<Width> 225 </Width>
|
|
<Height> 296 </Height>
|
|
<State> Flag( 12-41-03-0003.Button,$Sum1241030003) </State>
|
|
<Button>
|
|
<State> $Sum1241030003 </State>
|
|
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_TAOTIM_Biskit.png" </Filename>
|
|
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_TAOTIM_Biskit.png" </FilenamePress>
|
|
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_TAOTIM_Biskit.png" </FilenameDisable>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventOnClick>
|
|
Var NameDrink = "Tao Tim Biscoff"
|
|
Var NameDrinkTH = "เต่าติมบิสคอฟ"
|
|
Var DrinkDescriptionTH = "ไอศกรีมนม และบิสคอฟ"
|
|
Var DrinkDescription = "Icecream, milk, Biscoff"
|
|
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_TAOTIM_Biskit.png"
|
|
Var OpenFromXML = CurrentXMLFileName2
|
|
Var PriceD1 = $-.Price
|
|
Var PriceD2 = $-.Price
|
|
Var PriceD3 = $12-41-03-0003.Price
|
|
Var PD_CODE1 = "##-##-##-####"
|
|
Var PD_CODE2 = "##-##-##-####"
|
|
Var PD_CODE3 = "12-41-03-0003"
|
|
Var PD_STAGE_1 = "Disable2"
|
|
Var PD_STAGE_2 = "Disable2"
|
|
Var PD_STAGE_3 = $12-41-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" "-"
|
|
Else
|
|
If PD_STAGE_1 = "Enable" Then
|
|
Topping "Load" "-"
|
|
Else
|
|
Topping "Load" "12-41-03-0003"
|
|
EndIf
|
|
EndIf
|
|
Var menu_name_eng_hot = $##-##-##-####.NameE
|
|
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
|
Var menu_name_thai_hot = $##-##-##-####.Name
|
|
Var menu_desc_thai_hot = $##-##-##-####.description
|
|
|
|
Var menu_name_eng_cold = $##-##-##-####.NameE
|
|
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
|
|
Var menu_name_thai_cold = $##-##-##-####.Name
|
|
Var menu_desc_thai_cold = $##-##-##-####.description
|
|
|
|
Var menu_name_eng_blender = $12-41-03-0003.NameE
|
|
Var menu_desc_eng_blender = $12-41-03-0003.descriptionE
|
|
Var menu_name_thai_blender = $12-41-03-0003.Name
|
|
Var menu_desc_thai_blender = $12-41-03-0003.description
|
|
|
|
DEBUGVAR PD_STAGE_1
|
|
DEBUGVAR PD_STAGE_2
|
|
DEBUGVAR PD_STAGE_3
|
|
Var SelectDrinkType = 0
|
|
|
|
|
|
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
|
|
|
</EventOnClick>
|
|
</Button>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 164 </Y>
|
|
<Size> 24 </Size>
|
|
<Width>220</Width>
|
|
<Mode> "multi2" </Mode>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x322B26 </Color>
|
|
<State> showthaiText </State>
|
|
<Value> "เต่าติมบิสคอฟ" </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 220 </Y>
|
|
<Size> 14 </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x6F5F51 </Color>
|
|
<State> showthaiText </State>
|
|
<Value> "ไอศกรีมนม และบิสคอฟ" </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 164 </Y>
|
|
<Size> 22 </Size>
|
|
<Width>220</Width>
|
|
<Mode> "multi2" </Mode>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x322B26 </Color>
|
|
<State> showengText </State>
|
|
<Value> "Tao Tim Biscoff" </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> "Icecream, milk, Biscoff" </Value>
|
|
</Text>
|
|
<Image>
|
|
<X> 16 </X>
|
|
<Y> 264 </Y>
|
|
<Filename> Var( DirImage2 + "option_deactive.png" ) </Filename>
|
|
</Image>
|
|
<Image>
|
|
<X> 16 </X>
|
|
<Y> 264 </Y>
|
|
<State> "Invisible" </State>
|
|
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
|
|
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
|
|
</Image>
|
|
<Text>
|
|
<X> 50 </X>
|
|
<Y> TextPriceMenuY </Y>
|
|
<Size> TextPriceMenuSize </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x6F5F51 </Color>
|
|
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
|
<State> "Invisible" </State>
|
|
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
|
</Text>
|
|
<Image>
|
|
<X> 81 </X>
|
|
<Y> 264 </Y>
|
|
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
|
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
|
<State> "Invisible" </State>
|
|
</Image>
|
|
<Text>
|
|
<X> 115 </X>
|
|
<Y> TextPriceMenuY </Y>
|
|
<Size> TextPriceMenuSize </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x6F5F51 </Color>
|
|
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
|
<State> "Invisible" </State>
|
|
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
|
</Text>
|
|
<Image>
|
|
<X> 146 </X>
|
|
<Y> 264 </Y>
|
|
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
|
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
|
<State> $12-41-03-0003.Button </State>
|
|
</Image>
|
|
<Text>
|
|
<X> 180 </X>
|
|
<Y> TextPriceMenuY </Y>
|
|
<Size> TextPriceMenuSize </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitRegularTTF </Font>
|
|
<Color> 0x6F5F51 </Color>
|
|
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
|
<State> $12-41-03-0003.Button </State>
|
|
<Value> StringFmt( $12-41-03-0003.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
|
</Text>
|
|
<Image>
|
|
<X> 81 </X>
|
|
<Y> 264 </Y>
|
|
<State>
|
|
eval(
|
|
If ICE_PROCESS_STATUS = 2 Then
|
|
|
|
Var ice_tab_process_show = "Invisible"
|
|
|
|
Else
|
|
Var ice_tab_process_show = "Invisible"
|
|
EndIf
|
|
Var return = ice_tab_process_show
|
|
)
|
|
</State>
|
|
<Filename> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </Filename>
|
|
<FilenameDisable> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </FilenameDisable>
|
|
</Image>
|
|
<Image>
|
|
<X> 49 </X>
|
|
<Y> 117 </Y>
|
|
<State>
|
|
eval(
|
|
If $Sum1241030003 = "Disable" Then
|
|
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
|
STRCONTAIN "ERR" $##-##-##-####.TAG tag2_is_disable
|
|
STRCONTAIN "ERR" $12-41-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> $Sum1241030003 </State>
|
|
<Value> text_unavailable </Value>
|
|
<Align> center-vertical-horizontal </Align>
|
|
</Text>
|
|
</Block>
|
|
; - - -
|
|
; ==================> Len = 17
|
|
; - - 12-41-03-0004
|
|
<Block>
|
|
<MarginLeft> 33 </MarginLeft>
|
|
<MarginTop> 22 </MarginTop>
|
|
<Width> 225 </Width>
|
|
<Height> 296 </Height>
|
|
<State> Flag( 12-41-03-0004.Button,$Sum1241030004) </State>
|
|
<Button>
|
|
<State> $Sum1241030004 </State>
|
|
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_TAOTIM_strawberry.png" </Filename>
|
|
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_TAOTIM_strawberry.png" </FilenamePress>
|
|
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_TAOTIM_strawberry.png" </FilenameDisable>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventOnClick>
|
|
Var NameDrink = "Tao Tim Strawberry"
|
|
Var NameDrinkTH = "เต่าติมสตอเบอร์รี่"
|
|
Var DrinkDescriptionTH = "ไอศกรีมนม และสตรอว์เบอร์รี่"
|
|
Var DrinkDescription = "Icecream, milk, Strawberry"
|
|
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_TAOTIM_strawberry.png"
|
|
Var OpenFromXML = CurrentXMLFileName2
|
|
Var PriceD1 = $-.Price
|
|
Var PriceD2 = $-.Price
|
|
Var PriceD3 = $12-41-03-0004.Price
|
|
Var PD_CODE1 = "##-##-##-####"
|
|
Var PD_CODE2 = "##-##-##-####"
|
|
Var PD_CODE3 = "12-41-03-0004"
|
|
Var PD_STAGE_1 = "Disable2"
|
|
Var PD_STAGE_2 = "Disable2"
|
|
Var PD_STAGE_3 = $12-41-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" "-"
|
|
Else
|
|
If PD_STAGE_1 = "Enable" Then
|
|
Topping "Load" "-"
|
|
Else
|
|
Topping "Load" "12-41-03-0004"
|
|
EndIf
|
|
EndIf
|
|
Var menu_name_eng_hot = $##-##-##-####.NameE
|
|
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
|
Var menu_name_thai_hot = $##-##-##-####.Name
|
|
Var menu_desc_thai_hot = $##-##-##-####.description
|
|
|
|
Var menu_name_eng_cold = $##-##-##-####.NameE
|
|
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
|
|
Var menu_name_thai_cold = $##-##-##-####.Name
|
|
Var menu_desc_thai_cold = $##-##-##-####.description
|
|
|
|
Var menu_name_eng_blender = $12-41-03-0004.NameE
|
|
Var menu_desc_eng_blender = $12-41-03-0004.descriptionE
|
|
Var menu_name_thai_blender = $12-41-03-0004.Name
|
|
Var menu_desc_thai_blender = $12-41-03-0004.description
|
|
|
|
DEBUGVAR PD_STAGE_1
|
|
DEBUGVAR PD_STAGE_2
|
|
DEBUGVAR PD_STAGE_3
|
|
Var SelectDrinkType = 0
|
|
|
|
|
|
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
|
|
|
</EventOnClick>
|
|
</Button>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 164 </Y>
|
|
<Size> 24 </Size>
|
|
<Width>220</Width>
|
|
<Mode> "multi2" </Mode>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x322B26 </Color>
|
|
<State> showthaiText </State>
|
|
<Value> "เต่าติมสตอเบอร์รี่" </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 220 </Y>
|
|
<Size> 14 </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x6F5F51 </Color>
|
|
<State> showthaiText </State>
|
|
<Value> "ไอศกรีมนม และสตรอว์เบอร์รี่" </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 164 </Y>
|
|
<Size> 22 </Size>
|
|
<Width>220</Width>
|
|
<Mode> "multi2" </Mode>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x322B26 </Color>
|
|
<State> showengText </State>
|
|
<Value> "Tao Tim Strawberry" </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> "Icecream, milk, Strawberry" </Value>
|
|
</Text>
|
|
<Image>
|
|
<X> 16 </X>
|
|
<Y> 264 </Y>
|
|
<Filename> Var( DirImage2 + "option_deactive.png" ) </Filename>
|
|
</Image>
|
|
<Image>
|
|
<X> 16 </X>
|
|
<Y> 264 </Y>
|
|
<State> "Invisible" </State>
|
|
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
|
|
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
|
|
</Image>
|
|
<Text>
|
|
<X> 50 </X>
|
|
<Y> TextPriceMenuY </Y>
|
|
<Size> TextPriceMenuSize </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x6F5F51 </Color>
|
|
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
|
<State> "Invisible" </State>
|
|
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
|
</Text>
|
|
<Image>
|
|
<X> 81 </X>
|
|
<Y> 264 </Y>
|
|
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
|
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
|
<State> "Invisible" </State>
|
|
</Image>
|
|
<Text>
|
|
<X> 115 </X>
|
|
<Y> TextPriceMenuY </Y>
|
|
<Size> TextPriceMenuSize </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x6F5F51 </Color>
|
|
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
|
<State> "Invisible" </State>
|
|
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
|
</Text>
|
|
<Image>
|
|
<X> 146 </X>
|
|
<Y> 264 </Y>
|
|
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
|
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
|
<State> $12-41-03-0004.Button </State>
|
|
</Image>
|
|
<Text>
|
|
<X> 180 </X>
|
|
<Y> TextPriceMenuY </Y>
|
|
<Size> TextPriceMenuSize </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitRegularTTF </Font>
|
|
<Color> 0x6F5F51 </Color>
|
|
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
|
<State> $12-41-03-0004.Button </State>
|
|
<Value> StringFmt( $12-41-03-0004.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
|
</Text>
|
|
<Image>
|
|
<X> 81 </X>
|
|
<Y> 264 </Y>
|
|
<State>
|
|
eval(
|
|
If ICE_PROCESS_STATUS = 2 Then
|
|
|
|
Var ice_tab_process_show = "Invisible"
|
|
|
|
Else
|
|
Var ice_tab_process_show = "Invisible"
|
|
EndIf
|
|
Var return = ice_tab_process_show
|
|
)
|
|
</State>
|
|
<Filename> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </Filename>
|
|
<FilenameDisable> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </FilenameDisable>
|
|
</Image>
|
|
<Image>
|
|
<X> 49 </X>
|
|
<Y> 117 </Y>
|
|
<State>
|
|
eval(
|
|
If $Sum1241030004 = "Disable" Then
|
|
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
|
STRCONTAIN "ERR" $##-##-##-####.TAG tag2_is_disable
|
|
STRCONTAIN "ERR" $12-41-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> $Sum1241030004 </State>
|
|
<Value> text_unavailable </Value>
|
|
<Align> center-vertical-horizontal </Align>
|
|
</Text>
|
|
</Block>
|
|
; - - -
|
|
; ==================> Len = 17
|
|
; - - 12-41-03-0005
|
|
<Block>
|
|
<MarginLeft> 33 </MarginLeft>
|
|
<MarginTop> 22 </MarginTop>
|
|
<Width> 225 </Width>
|
|
<Height> 296 </Height>
|
|
<State> Flag( 12-41-03-0005.Button,$Sum1241030005) </State>
|
|
<Button>
|
|
<State> $Sum1241030005 </State>
|
|
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_TAOTIM_Original-1.png" </Filename>
|
|
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_TAOTIM_Original-1.png" </FilenamePress>
|
|
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_TAOTIM_Original-1.png" </FilenameDisable>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventOnClick>
|
|
Var NameDrink = "Tao Tim Cocoa"
|
|
Var NameDrinkTH = "เต่าติมโกโก้"
|
|
Var DrinkDescriptionTH = "ไอศกรีมนม และโกโก้"
|
|
Var DrinkDescription = "Icecream, milk, Cocoa"
|
|
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_TAOTIM_Original-1.png"
|
|
Var OpenFromXML = CurrentXMLFileName2
|
|
Var PriceD1 = $-.Price
|
|
Var PriceD2 = $-.Price
|
|
Var PriceD3 = $12-41-03-0005.Price
|
|
Var PD_CODE1 = "##-##-##-####"
|
|
Var PD_CODE2 = "##-##-##-####"
|
|
Var PD_CODE3 = "12-41-03-0005"
|
|
Var PD_STAGE_1 = "Disable2"
|
|
Var PD_STAGE_2 = "Disable2"
|
|
Var PD_STAGE_3 = $12-41-03-0005.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" "-"
|
|
Else
|
|
If PD_STAGE_1 = "Enable" Then
|
|
Topping "Load" "-"
|
|
Else
|
|
Topping "Load" "12-41-03-0005"
|
|
EndIf
|
|
EndIf
|
|
Var menu_name_eng_hot = $##-##-##-####.NameE
|
|
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
|
Var menu_name_thai_hot = $##-##-##-####.Name
|
|
Var menu_desc_thai_hot = $##-##-##-####.description
|
|
|
|
Var menu_name_eng_cold = $##-##-##-####.NameE
|
|
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
|
|
Var menu_name_thai_cold = $##-##-##-####.Name
|
|
Var menu_desc_thai_cold = $##-##-##-####.description
|
|
|
|
Var menu_name_eng_blender = $12-41-03-0005.NameE
|
|
Var menu_desc_eng_blender = $12-41-03-0005.descriptionE
|
|
Var menu_name_thai_blender = $12-41-03-0005.Name
|
|
Var menu_desc_thai_blender = $12-41-03-0005.description
|
|
|
|
DEBUGVAR PD_STAGE_1
|
|
DEBUGVAR PD_STAGE_2
|
|
DEBUGVAR PD_STAGE_3
|
|
Var SelectDrinkType = 0
|
|
|
|
|
|
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
|
|
|
</EventOnClick>
|
|
</Button>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 164 </Y>
|
|
<Size> 24 </Size>
|
|
<Width>220</Width>
|
|
<Mode> "multi2" </Mode>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x322B26 </Color>
|
|
<State> showthaiText </State>
|
|
<Value> "เต่าติมโกโก้" </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 220 </Y>
|
|
<Size> 14 </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x6F5F51 </Color>
|
|
<State> showthaiText </State>
|
|
<Value> "ไอศกรีมนม และโกโก้" </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 164 </Y>
|
|
<Size> 22 </Size>
|
|
<Width>220</Width>
|
|
<Mode> "multi2" </Mode>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x322B26 </Color>
|
|
<State> showengText </State>
|
|
<Value> "Tao Tim Cocoa" </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> "Icecream, milk, Cocoa" </Value>
|
|
</Text>
|
|
<Image>
|
|
<X> 16 </X>
|
|
<Y> 264 </Y>
|
|
<Filename> Var( DirImage2 + "option_deactive.png" ) </Filename>
|
|
</Image>
|
|
<Image>
|
|
<X> 16 </X>
|
|
<Y> 264 </Y>
|
|
<State> "Invisible" </State>
|
|
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
|
|
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
|
|
</Image>
|
|
<Text>
|
|
<X> 50 </X>
|
|
<Y> TextPriceMenuY </Y>
|
|
<Size> TextPriceMenuSize </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x6F5F51 </Color>
|
|
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
|
<State> "Invisible" </State>
|
|
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
|
</Text>
|
|
<Image>
|
|
<X> 81 </X>
|
|
<Y> 264 </Y>
|
|
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
|
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
|
<State> "Invisible" </State>
|
|
</Image>
|
|
<Text>
|
|
<X> 115 </X>
|
|
<Y> TextPriceMenuY </Y>
|
|
<Size> TextPriceMenuSize </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x6F5F51 </Color>
|
|
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
|
<State> "Invisible" </State>
|
|
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
|
</Text>
|
|
<Image>
|
|
<X> 146 </X>
|
|
<Y> 264 </Y>
|
|
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
|
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
|
<State> $12-41-03-0005.Button </State>
|
|
</Image>
|
|
<Text>
|
|
<X> 180 </X>
|
|
<Y> TextPriceMenuY </Y>
|
|
<Size> TextPriceMenuSize </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitRegularTTF </Font>
|
|
<Color> 0x6F5F51 </Color>
|
|
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
|
<State> $12-41-03-0005.Button </State>
|
|
<Value> StringFmt( $12-41-03-0005.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
|
</Text>
|
|
<Image>
|
|
<X> 81 </X>
|
|
<Y> 264 </Y>
|
|
<State>
|
|
eval(
|
|
If ICE_PROCESS_STATUS = 2 Then
|
|
|
|
Var ice_tab_process_show = "Invisible"
|
|
|
|
Else
|
|
Var ice_tab_process_show = "Invisible"
|
|
EndIf
|
|
Var return = ice_tab_process_show
|
|
)
|
|
</State>
|
|
<Filename> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </Filename>
|
|
<FilenameDisable> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </FilenameDisable>
|
|
</Image>
|
|
<Image>
|
|
<X> 49 </X>
|
|
<Y> 117 </Y>
|
|
<State>
|
|
eval(
|
|
If $Sum1241030005 = "Disable" Then
|
|
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
|
STRCONTAIN "ERR" $##-##-##-####.TAG tag2_is_disable
|
|
STRCONTAIN "ERR" $12-41-03-0005.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> $Sum1241030005 </State>
|
|
<Value> text_unavailable </Value>
|
|
<Align> center-vertical-horizontal </Align>
|
|
</Text>
|
|
</Block>
|
|
; - - -
|
|
; ==================> Len = 17
|
|
; - - 12-41-03-0006
|
|
<Block>
|
|
<MarginLeft> 33 </MarginLeft>
|
|
<MarginTop> 22 </MarginTop>
|
|
<Width> 225 </Width>
|
|
<Height> 296 </Height>
|
|
<State> Flag( 12-41-03-0006.Button,$Sum1241030006) </State>
|
|
<Button>
|
|
<State> $Sum1241030006 </State>
|
|
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_TAOTIM_Matcha.png" </Filename>
|
|
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_TAOTIM_Matcha.png" </FilenamePress>
|
|
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_TAOTIM_Matcha.png" </FilenameDisable>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventOnClick>
|
|
Var NameDrink = "Tao Tim Matcha"
|
|
Var NameDrinkTH = "เต่าติมชาเขียว"
|
|
Var DrinkDescriptionTH = "ไอศกรีมนม และชาเขียว"
|
|
Var DrinkDescription = "Icecream, milk, Matcha"
|
|
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_TAOTIM_Matcha.png"
|
|
Var OpenFromXML = CurrentXMLFileName2
|
|
Var PriceD1 = $-.Price
|
|
Var PriceD2 = $-.Price
|
|
Var PriceD3 = $12-41-03-0006.Price
|
|
Var PD_CODE1 = "##-##-##-####"
|
|
Var PD_CODE2 = "##-##-##-####"
|
|
Var PD_CODE3 = "12-41-03-0006"
|
|
Var PD_STAGE_1 = "Disable2"
|
|
Var PD_STAGE_2 = "Disable2"
|
|
Var PD_STAGE_3 = $12-41-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" "-"
|
|
Else
|
|
If PD_STAGE_1 = "Enable" Then
|
|
Topping "Load" "-"
|
|
Else
|
|
Topping "Load" "12-41-03-0006"
|
|
EndIf
|
|
EndIf
|
|
Var menu_name_eng_hot = $##-##-##-####.NameE
|
|
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
|
Var menu_name_thai_hot = $##-##-##-####.Name
|
|
Var menu_desc_thai_hot = $##-##-##-####.description
|
|
|
|
Var menu_name_eng_cold = $##-##-##-####.NameE
|
|
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
|
|
Var menu_name_thai_cold = $##-##-##-####.Name
|
|
Var menu_desc_thai_cold = $##-##-##-####.description
|
|
|
|
Var menu_name_eng_blender = $12-41-03-0006.NameE
|
|
Var menu_desc_eng_blender = $12-41-03-0006.descriptionE
|
|
Var menu_name_thai_blender = $12-41-03-0006.Name
|
|
Var menu_desc_thai_blender = $12-41-03-0006.description
|
|
|
|
DEBUGVAR PD_STAGE_1
|
|
DEBUGVAR PD_STAGE_2
|
|
DEBUGVAR PD_STAGE_3
|
|
Var SelectDrinkType = 0
|
|
|
|
|
|
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
|
|
|
</EventOnClick>
|
|
</Button>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 164 </Y>
|
|
<Size> 24 </Size>
|
|
<Width>220</Width>
|
|
<Mode> "multi2" </Mode>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x322B26 </Color>
|
|
<State> showthaiText </State>
|
|
<Value> "เต่าติมชาเขียว" </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 220 </Y>
|
|
<Size> 14 </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x6F5F51 </Color>
|
|
<State> showthaiText </State>
|
|
<Value> "ไอศกรีมนม และชาเขียว" </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 164 </Y>
|
|
<Size> 22 </Size>
|
|
<Width>220</Width>
|
|
<Mode> "multi2" </Mode>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x322B26 </Color>
|
|
<State> showengText </State>
|
|
<Value> "Tao Tim 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> "Icecream, milk, Matcha" </Value>
|
|
</Text>
|
|
<Image>
|
|
<X> 16 </X>
|
|
<Y> 264 </Y>
|
|
<Filename> Var( DirImage2 + "option_deactive.png" ) </Filename>
|
|
</Image>
|
|
<Image>
|
|
<X> 16 </X>
|
|
<Y> 264 </Y>
|
|
<State> "Invisible" </State>
|
|
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
|
|
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
|
|
</Image>
|
|
<Text>
|
|
<X> 50 </X>
|
|
<Y> TextPriceMenuY </Y>
|
|
<Size> TextPriceMenuSize </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x6F5F51 </Color>
|
|
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
|
<State> "Invisible" </State>
|
|
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
|
</Text>
|
|
<Image>
|
|
<X> 81 </X>
|
|
<Y> 264 </Y>
|
|
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
|
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
|
<State> "Invisible" </State>
|
|
</Image>
|
|
<Text>
|
|
<X> 115 </X>
|
|
<Y> TextPriceMenuY </Y>
|
|
<Size> TextPriceMenuSize </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x6F5F51 </Color>
|
|
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
|
<State> "Invisible" </State>
|
|
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
|
</Text>
|
|
<Image>
|
|
<X> 146 </X>
|
|
<Y> 264 </Y>
|
|
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
|
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
|
<State> $12-41-03-0006.Button </State>
|
|
</Image>
|
|
<Text>
|
|
<X> 180 </X>
|
|
<Y> TextPriceMenuY </Y>
|
|
<Size> TextPriceMenuSize </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitRegularTTF </Font>
|
|
<Color> 0x6F5F51 </Color>
|
|
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
|
<State> $12-41-03-0006.Button </State>
|
|
<Value> StringFmt( $12-41-03-0006.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
|
</Text>
|
|
<Image>
|
|
<X> 81 </X>
|
|
<Y> 264 </Y>
|
|
<State>
|
|
eval(
|
|
If ICE_PROCESS_STATUS = 2 Then
|
|
|
|
Var ice_tab_process_show = "Invisible"
|
|
|
|
Else
|
|
Var ice_tab_process_show = "Invisible"
|
|
EndIf
|
|
Var return = ice_tab_process_show
|
|
)
|
|
</State>
|
|
<Filename> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </Filename>
|
|
<FilenameDisable> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </FilenameDisable>
|
|
</Image>
|
|
<Image>
|
|
<X> 49 </X>
|
|
<Y> 117 </Y>
|
|
<State>
|
|
eval(
|
|
If $Sum1241030006 = "Disable" Then
|
|
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
|
STRCONTAIN "ERR" $##-##-##-####.TAG tag2_is_disable
|
|
STRCONTAIN "ERR" $12-41-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> $Sum1241030006 </State>
|
|
<Value> text_unavailable </Value>
|
|
<Align> center-vertical-horizontal </Align>
|
|
</Text>
|
|
</Block>
|
|
; - - -
|
|
; ==================> Len = 17
|
|
; - - 12-41-03-0007
|
|
<Block>
|
|
<MarginLeft> 33 </MarginLeft>
|
|
<MarginTop> 22 </MarginTop>
|
|
<Width> 225 </Width>
|
|
<Height> 296 </Height>
|
|
<State> Flag( 12-41-03-0007.Button,$Sum1241030007) </State>
|
|
<Button>
|
|
<State> $Sum1241030007 </State>
|
|
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_TAOTIM_Melon.png" </Filename>
|
|
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_TAOTIM_Melon.png" </FilenamePress>
|
|
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_TAOTIM_Melon.png" </FilenameDisable>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventOnClick>
|
|
Var NameDrink = "Tao Tim Melon"
|
|
Var NameDrinkTH = "เต่าติมเมล่อน"
|
|
Var DrinkDescriptionTH = "ไอศกรีมนม และน้ำเชื่อมเมล่อน"
|
|
Var DrinkDescription = "Icecream, milk, Melon"
|
|
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_TAOTIM_Melon.png"
|
|
Var OpenFromXML = CurrentXMLFileName2
|
|
Var PriceD1 = $-.Price
|
|
Var PriceD2 = $-.Price
|
|
Var PriceD3 = $12-41-03-0007.Price
|
|
Var PD_CODE1 = "##-##-##-####"
|
|
Var PD_CODE2 = "##-##-##-####"
|
|
Var PD_CODE3 = "12-41-03-0007"
|
|
Var PD_STAGE_1 = "Disable2"
|
|
Var PD_STAGE_2 = "Disable2"
|
|
Var PD_STAGE_3 = $12-41-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" "-"
|
|
Else
|
|
If PD_STAGE_1 = "Enable" Then
|
|
Topping "Load" "-"
|
|
Else
|
|
Topping "Load" "12-41-03-0007"
|
|
EndIf
|
|
EndIf
|
|
Var menu_name_eng_hot = $##-##-##-####.NameE
|
|
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
|
Var menu_name_thai_hot = $##-##-##-####.Name
|
|
Var menu_desc_thai_hot = $##-##-##-####.description
|
|
|
|
Var menu_name_eng_cold = $##-##-##-####.NameE
|
|
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
|
|
Var menu_name_thai_cold = $##-##-##-####.Name
|
|
Var menu_desc_thai_cold = $##-##-##-####.description
|
|
|
|
Var menu_name_eng_blender = $12-41-03-0007.NameE
|
|
Var menu_desc_eng_blender = $12-41-03-0007.descriptionE
|
|
Var menu_name_thai_blender = $12-41-03-0007.Name
|
|
Var menu_desc_thai_blender = $12-41-03-0007.description
|
|
|
|
DEBUGVAR PD_STAGE_1
|
|
DEBUGVAR PD_STAGE_2
|
|
DEBUGVAR PD_STAGE_3
|
|
Var SelectDrinkType = 0
|
|
|
|
|
|
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
|
|
|
</EventOnClick>
|
|
</Button>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 164 </Y>
|
|
<Size> 24 </Size>
|
|
<Width>220</Width>
|
|
<Mode> "multi2" </Mode>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x322B26 </Color>
|
|
<State> showthaiText </State>
|
|
<Value> "เต่าติมเมล่อน" </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 220 </Y>
|
|
<Size> 14 </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x6F5F51 </Color>
|
|
<State> showthaiText </State>
|
|
<Value> "ไอศกรีมนม และน้ำเชื่อมเมล่อน" </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 164 </Y>
|
|
<Size> 22 </Size>
|
|
<Width>220</Width>
|
|
<Mode> "multi2" </Mode>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x322B26 </Color>
|
|
<State> showengText </State>
|
|
<Value> "Tao Tim Melon" </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> "Icecream, milk, Melon" </Value>
|
|
</Text>
|
|
<Image>
|
|
<X> 16 </X>
|
|
<Y> 264 </Y>
|
|
<Filename> Var( DirImage2 + "option_deactive.png" ) </Filename>
|
|
</Image>
|
|
<Image>
|
|
<X> 16 </X>
|
|
<Y> 264 </Y>
|
|
<State> "Invisible" </State>
|
|
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
|
|
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
|
|
</Image>
|
|
<Text>
|
|
<X> 50 </X>
|
|
<Y> TextPriceMenuY </Y>
|
|
<Size> TextPriceMenuSize </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x6F5F51 </Color>
|
|
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
|
<State> "Invisible" </State>
|
|
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
|
</Text>
|
|
<Image>
|
|
<X> 81 </X>
|
|
<Y> 264 </Y>
|
|
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
|
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
|
<State> "Invisible" </State>
|
|
</Image>
|
|
<Text>
|
|
<X> 115 </X>
|
|
<Y> TextPriceMenuY </Y>
|
|
<Size> TextPriceMenuSize </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x6F5F51 </Color>
|
|
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
|
<State> "Invisible" </State>
|
|
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
|
</Text>
|
|
<Image>
|
|
<X> 146 </X>
|
|
<Y> 264 </Y>
|
|
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
|
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
|
<State> $12-41-03-0007.Button </State>
|
|
</Image>
|
|
<Text>
|
|
<X> 180 </X>
|
|
<Y> TextPriceMenuY </Y>
|
|
<Size> TextPriceMenuSize </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitRegularTTF </Font>
|
|
<Color> 0x6F5F51 </Color>
|
|
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
|
<State> $12-41-03-0007.Button </State>
|
|
<Value> StringFmt( $12-41-03-0007.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
|
</Text>
|
|
<Image>
|
|
<X> 81 </X>
|
|
<Y> 264 </Y>
|
|
<State>
|
|
eval(
|
|
If ICE_PROCESS_STATUS = 2 Then
|
|
|
|
Var ice_tab_process_show = "Invisible"
|
|
|
|
Else
|
|
Var ice_tab_process_show = "Invisible"
|
|
EndIf
|
|
Var return = ice_tab_process_show
|
|
)
|
|
</State>
|
|
<Filename> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </Filename>
|
|
<FilenameDisable> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </FilenameDisable>
|
|
</Image>
|
|
<Image>
|
|
<X> 49 </X>
|
|
<Y> 117 </Y>
|
|
<State>
|
|
eval(
|
|
If $Sum1241030007 = "Disable" Then
|
|
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
|
STRCONTAIN "ERR" $##-##-##-####.TAG tag2_is_disable
|
|
STRCONTAIN "ERR" $12-41-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> $Sum1241030007 </State>
|
|
<Value> text_unavailable </Value>
|
|
<Align> center-vertical-horizontal </Align>
|
|
</Text>
|
|
</Block>
|
|
; - - -
|
|
; ==================> Len = 17
|
|
; - - 12-41-03-0008
|
|
<Block>
|
|
<MarginLeft> 33 </MarginLeft>
|
|
<MarginTop> 22 </MarginTop>
|
|
<Width> 225 </Width>
|
|
<Height> 296 </Height>
|
|
<State> Flag( 12-41-03-0008.Button,$Sum1241030008) </State>
|
|
<Button>
|
|
<State> $Sum1241030008 </State>
|
|
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_TAOTIM_Caramel.png" </Filename>
|
|
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_TAOTIM_Caramel.png" </FilenamePress>
|
|
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_TAOTIM_Caramel.png" </FilenameDisable>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventOnClick>
|
|
Var NameDrink = "Tao Tim Caramel"
|
|
Var NameDrinkTH = "เต่าติมคาราเมล"
|
|
Var DrinkDescriptionTH = "ไอศกรีมนม และน้ำเชื่อมคาราเมล"
|
|
Var DrinkDescription = "Icecream, milk, Caramel"
|
|
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_TAOTIM_Caramel.png"
|
|
Var OpenFromXML = CurrentXMLFileName2
|
|
Var PriceD1 = $-.Price
|
|
Var PriceD2 = $-.Price
|
|
Var PriceD3 = $12-41-03-0008.Price
|
|
Var PD_CODE1 = "##-##-##-####"
|
|
Var PD_CODE2 = "##-##-##-####"
|
|
Var PD_CODE3 = "12-41-03-0008"
|
|
Var PD_STAGE_1 = "Disable2"
|
|
Var PD_STAGE_2 = "Disable2"
|
|
Var PD_STAGE_3 = $12-41-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" "-"
|
|
Else
|
|
If PD_STAGE_1 = "Enable" Then
|
|
Topping "Load" "-"
|
|
Else
|
|
Topping "Load" "12-41-03-0008"
|
|
EndIf
|
|
EndIf
|
|
Var menu_name_eng_hot = $##-##-##-####.NameE
|
|
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
|
Var menu_name_thai_hot = $##-##-##-####.Name
|
|
Var menu_desc_thai_hot = $##-##-##-####.description
|
|
|
|
Var menu_name_eng_cold = $##-##-##-####.NameE
|
|
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
|
|
Var menu_name_thai_cold = $##-##-##-####.Name
|
|
Var menu_desc_thai_cold = $##-##-##-####.description
|
|
|
|
Var menu_name_eng_blender = $12-41-03-0008.NameE
|
|
Var menu_desc_eng_blender = $12-41-03-0008.descriptionE
|
|
Var menu_name_thai_blender = $12-41-03-0008.Name
|
|
Var menu_desc_thai_blender = $12-41-03-0008.description
|
|
|
|
DEBUGVAR PD_STAGE_1
|
|
DEBUGVAR PD_STAGE_2
|
|
DEBUGVAR PD_STAGE_3
|
|
Var SelectDrinkType = 0
|
|
|
|
|
|
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
|
|
|
</EventOnClick>
|
|
</Button>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 164 </Y>
|
|
<Size> 24 </Size>
|
|
<Width>220</Width>
|
|
<Mode> "multi2" </Mode>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x322B26 </Color>
|
|
<State> showthaiText </State>
|
|
<Value> "เต่าติมคาราเมล" </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 220 </Y>
|
|
<Size> 14 </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x6F5F51 </Color>
|
|
<State> showthaiText </State>
|
|
<Value> "ไอศกรีมนม และน้ำเชื่อมคาราเมล" </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 164 </Y>
|
|
<Size> 22 </Size>
|
|
<Width>220</Width>
|
|
<Mode> "multi2" </Mode>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x322B26 </Color>
|
|
<State> showengText </State>
|
|
<Value> "Tao Tim Caramel" </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> "Icecream, milk, Caramel" </Value>
|
|
</Text>
|
|
<Image>
|
|
<X> 16 </X>
|
|
<Y> 264 </Y>
|
|
<Filename> Var( DirImage2 + "option_deactive.png" ) </Filename>
|
|
</Image>
|
|
<Image>
|
|
<X> 16 </X>
|
|
<Y> 264 </Y>
|
|
<State> "Invisible" </State>
|
|
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
|
|
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
|
|
</Image>
|
|
<Text>
|
|
<X> 50 </X>
|
|
<Y> TextPriceMenuY </Y>
|
|
<Size> TextPriceMenuSize </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x6F5F51 </Color>
|
|
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
|
<State> "Invisible" </State>
|
|
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
|
</Text>
|
|
<Image>
|
|
<X> 81 </X>
|
|
<Y> 264 </Y>
|
|
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
|
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
|
<State> "Invisible" </State>
|
|
</Image>
|
|
<Text>
|
|
<X> 115 </X>
|
|
<Y> TextPriceMenuY </Y>
|
|
<Size> TextPriceMenuSize </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x6F5F51 </Color>
|
|
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
|
<State> "Invisible" </State>
|
|
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
|
</Text>
|
|
<Image>
|
|
<X> 146 </X>
|
|
<Y> 264 </Y>
|
|
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
|
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
|
<State> $12-41-03-0008.Button </State>
|
|
</Image>
|
|
<Text>
|
|
<X> 180 </X>
|
|
<Y> TextPriceMenuY </Y>
|
|
<Size> TextPriceMenuSize </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitRegularTTF </Font>
|
|
<Color> 0x6F5F51 </Color>
|
|
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
|
<State> $12-41-03-0008.Button </State>
|
|
<Value> StringFmt( $12-41-03-0008.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
|
</Text>
|
|
<Image>
|
|
<X> 81 </X>
|
|
<Y> 264 </Y>
|
|
<State>
|
|
eval(
|
|
If ICE_PROCESS_STATUS = 2 Then
|
|
|
|
Var ice_tab_process_show = "Invisible"
|
|
|
|
Else
|
|
Var ice_tab_process_show = "Invisible"
|
|
EndIf
|
|
Var return = ice_tab_process_show
|
|
)
|
|
</State>
|
|
<Filename> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </Filename>
|
|
<FilenameDisable> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </FilenameDisable>
|
|
</Image>
|
|
<Image>
|
|
<X> 49 </X>
|
|
<Y> 117 </Y>
|
|
<State>
|
|
eval(
|
|
If $Sum1241030008 = "Disable" Then
|
|
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
|
STRCONTAIN "ERR" $##-##-##-####.TAG tag2_is_disable
|
|
STRCONTAIN "ERR" $12-41-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> $Sum1241030008 </State>
|
|
<Value> text_unavailable </Value>
|
|
<Align> center-vertical-horizontal </Align>
|
|
</Text>
|
|
</Block>
|
|
; - - -
|
|
; ==================> Len = 17
|
|
; - - 12-41-03-0009
|
|
<Block>
|
|
<MarginLeft> 33 </MarginLeft>
|
|
<MarginTop> 22 </MarginTop>
|
|
<Width> 225 </Width>
|
|
<Height> 296 </Height>
|
|
<State> Flag( 12-41-03-0009.Button,$Sum1241030009) </State>
|
|
<Button>
|
|
<State> $Sum1241030009 </State>
|
|
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_TAOTIM_Orange.png" </Filename>
|
|
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_TAOTIM_Orange.png" </FilenamePress>
|
|
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_TAOTIM_Orange.png" </FilenameDisable>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventOnClick>
|
|
Var NameDrink = "Tao Tim Yuzu"
|
|
Var NameDrinkTH = "เต่าติมยูซุ"
|
|
Var DrinkDescriptionTH = "ไอศกรีมนม และน้ำเชื่อมยูซุ"
|
|
Var DrinkDescription = "Icecream, milk, Yuzu"
|
|
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_TAOTIM_Orange.png"
|
|
Var OpenFromXML = CurrentXMLFileName2
|
|
Var PriceD1 = $-.Price
|
|
Var PriceD2 = $-.Price
|
|
Var PriceD3 = $12-41-03-0009.Price
|
|
Var PD_CODE1 = "##-##-##-####"
|
|
Var PD_CODE2 = "##-##-##-####"
|
|
Var PD_CODE3 = "12-41-03-0009"
|
|
Var PD_STAGE_1 = "Disable2"
|
|
Var PD_STAGE_2 = "Disable2"
|
|
Var PD_STAGE_3 = $12-41-03-0009.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" "-"
|
|
Else
|
|
If PD_STAGE_1 = "Enable" Then
|
|
Topping "Load" "-"
|
|
Else
|
|
Topping "Load" "12-41-03-0009"
|
|
EndIf
|
|
EndIf
|
|
Var menu_name_eng_hot = $##-##-##-####.NameE
|
|
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
|
Var menu_name_thai_hot = $##-##-##-####.Name
|
|
Var menu_desc_thai_hot = $##-##-##-####.description
|
|
|
|
Var menu_name_eng_cold = $##-##-##-####.NameE
|
|
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
|
|
Var menu_name_thai_cold = $##-##-##-####.Name
|
|
Var menu_desc_thai_cold = $##-##-##-####.description
|
|
|
|
Var menu_name_eng_blender = $12-41-03-0009.NameE
|
|
Var menu_desc_eng_blender = $12-41-03-0009.descriptionE
|
|
Var menu_name_thai_blender = $12-41-03-0009.Name
|
|
Var menu_desc_thai_blender = $12-41-03-0009.description
|
|
|
|
DEBUGVAR PD_STAGE_1
|
|
DEBUGVAR PD_STAGE_2
|
|
DEBUGVAR PD_STAGE_3
|
|
Var SelectDrinkType = 0
|
|
|
|
|
|
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
|
|
|
</EventOnClick>
|
|
</Button>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 164 </Y>
|
|
<Size> 24 </Size>
|
|
<Width>220</Width>
|
|
<Mode> "multi2" </Mode>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x322B26 </Color>
|
|
<State> showthaiText </State>
|
|
<Value> "เต่าติมยูซุ" </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 220 </Y>
|
|
<Size> 14 </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x6F5F51 </Color>
|
|
<State> showthaiText </State>
|
|
<Value> "ไอศกรีมนม และน้ำเชื่อมยูซุ" </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 164 </Y>
|
|
<Size> 22 </Size>
|
|
<Width>220</Width>
|
|
<Mode> "multi2" </Mode>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x322B26 </Color>
|
|
<State> showengText </State>
|
|
<Value> "Tao Tim Yuzu" </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> "Icecream, milk, Yuzu" </Value>
|
|
</Text>
|
|
<Image>
|
|
<X> 16 </X>
|
|
<Y> 264 </Y>
|
|
<Filename> Var( DirImage2 + "option_deactive.png" ) </Filename>
|
|
</Image>
|
|
<Image>
|
|
<X> 16 </X>
|
|
<Y> 264 </Y>
|
|
<State> "Invisible" </State>
|
|
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
|
|
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
|
|
</Image>
|
|
<Text>
|
|
<X> 50 </X>
|
|
<Y> TextPriceMenuY </Y>
|
|
<Size> TextPriceMenuSize </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x6F5F51 </Color>
|
|
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
|
<State> "Invisible" </State>
|
|
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
|
</Text>
|
|
<Image>
|
|
<X> 81 </X>
|
|
<Y> 264 </Y>
|
|
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
|
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
|
<State> "Invisible" </State>
|
|
</Image>
|
|
<Text>
|
|
<X> 115 </X>
|
|
<Y> TextPriceMenuY </Y>
|
|
<Size> TextPriceMenuSize </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x6F5F51 </Color>
|
|
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
|
<State> "Invisible" </State>
|
|
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
|
</Text>
|
|
<Image>
|
|
<X> 146 </X>
|
|
<Y> 264 </Y>
|
|
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
|
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
|
<State> $12-41-03-0009.Button </State>
|
|
</Image>
|
|
<Text>
|
|
<X> 180 </X>
|
|
<Y> TextPriceMenuY </Y>
|
|
<Size> TextPriceMenuSize </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitRegularTTF </Font>
|
|
<Color> 0x6F5F51 </Color>
|
|
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
|
<State> $12-41-03-0009.Button </State>
|
|
<Value> StringFmt( $12-41-03-0009.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
|
</Text>
|
|
<Image>
|
|
<X> 81 </X>
|
|
<Y> 264 </Y>
|
|
<State>
|
|
eval(
|
|
If ICE_PROCESS_STATUS = 2 Then
|
|
|
|
Var ice_tab_process_show = "Invisible"
|
|
|
|
Else
|
|
Var ice_tab_process_show = "Invisible"
|
|
EndIf
|
|
Var return = ice_tab_process_show
|
|
)
|
|
</State>
|
|
<Filename> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </Filename>
|
|
<FilenameDisable> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </FilenameDisable>
|
|
</Image>
|
|
<Image>
|
|
<X> 49 </X>
|
|
<Y> 117 </Y>
|
|
<State>
|
|
eval(
|
|
If $Sum1241030009 = "Disable" Then
|
|
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
|
STRCONTAIN "ERR" $##-##-##-####.TAG tag2_is_disable
|
|
STRCONTAIN "ERR" $12-41-03-0009.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> $Sum1241030009 </State>
|
|
<Value> text_unavailable </Value>
|
|
<Align> center-vertical-horizontal </Align>
|
|
</Text>
|
|
</Block>
|
|
; - - -
|
|
; ==================> Len = 17
|
|
; - - 12-41-03-0010
|
|
<Block>
|
|
<MarginLeft> 33 </MarginLeft>
|
|
<MarginTop> 22 </MarginTop>
|
|
<Width> 225 </Width>
|
|
<Height> 296 </Height>
|
|
<State> Flag( 12-41-03-0010.Button,$Sum1241030010) </State>
|
|
<Button>
|
|
<State> $Sum1241030010 </State>
|
|
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_TAOTIM_Mint.png" </Filename>
|
|
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_TAOTIM_Mint.png" </FilenamePress>
|
|
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_TAOTIM_Mint.png" </FilenameDisable>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventOnClick>
|
|
Var NameDrink = "Tao Tim Mint"
|
|
Var NameDrinkTH = "เต่าติมมินต์"
|
|
Var DrinkDescriptionTH = "ไอศกรีมนม และน้ำเชื่อมมินต์"
|
|
Var DrinkDescription = "Icecream, milk, Mint"
|
|
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_TAOTIM_Mint.png"
|
|
Var OpenFromXML = CurrentXMLFileName2
|
|
Var PriceD1 = $-.Price
|
|
Var PriceD2 = $-.Price
|
|
Var PriceD3 = $12-41-03-0010.Price
|
|
Var PD_CODE1 = "##-##-##-####"
|
|
Var PD_CODE2 = "##-##-##-####"
|
|
Var PD_CODE3 = "12-41-03-0010"
|
|
Var PD_STAGE_1 = "Disable2"
|
|
Var PD_STAGE_2 = "Disable2"
|
|
Var PD_STAGE_3 = $12-41-03-0010.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" "-"
|
|
Else
|
|
If PD_STAGE_1 = "Enable" Then
|
|
Topping "Load" "-"
|
|
Else
|
|
Topping "Load" "12-41-03-0010"
|
|
EndIf
|
|
EndIf
|
|
Var menu_name_eng_hot = $##-##-##-####.NameE
|
|
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
|
Var menu_name_thai_hot = $##-##-##-####.Name
|
|
Var menu_desc_thai_hot = $##-##-##-####.description
|
|
|
|
Var menu_name_eng_cold = $##-##-##-####.NameE
|
|
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
|
|
Var menu_name_thai_cold = $##-##-##-####.Name
|
|
Var menu_desc_thai_cold = $##-##-##-####.description
|
|
|
|
Var menu_name_eng_blender = $12-41-03-0010.NameE
|
|
Var menu_desc_eng_blender = $12-41-03-0010.descriptionE
|
|
Var menu_name_thai_blender = $12-41-03-0010.Name
|
|
Var menu_desc_thai_blender = $12-41-03-0010.description
|
|
|
|
DEBUGVAR PD_STAGE_1
|
|
DEBUGVAR PD_STAGE_2
|
|
DEBUGVAR PD_STAGE_3
|
|
Var SelectDrinkType = 0
|
|
|
|
|
|
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
|
|
|
</EventOnClick>
|
|
</Button>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 164 </Y>
|
|
<Size> 24 </Size>
|
|
<Width>220</Width>
|
|
<Mode> "multi2" </Mode>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x322B26 </Color>
|
|
<State> showthaiText </State>
|
|
<Value> "เต่าติมมินต์" </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 220 </Y>
|
|
<Size> 14 </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x6F5F51 </Color>
|
|
<State> showthaiText </State>
|
|
<Value> "ไอศกรีมนม และน้ำเชื่อมมินต์" </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 164 </Y>
|
|
<Size> 22 </Size>
|
|
<Width>220</Width>
|
|
<Mode> "multi2" </Mode>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x322B26 </Color>
|
|
<State> showengText </State>
|
|
<Value> "Tao Tim Mint" </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> "Icecream, milk, Mint" </Value>
|
|
</Text>
|
|
<Image>
|
|
<X> 16 </X>
|
|
<Y> 264 </Y>
|
|
<Filename> Var( DirImage2 + "option_deactive.png" ) </Filename>
|
|
</Image>
|
|
<Image>
|
|
<X> 16 </X>
|
|
<Y> 264 </Y>
|
|
<State> "Invisible" </State>
|
|
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
|
|
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
|
|
</Image>
|
|
<Text>
|
|
<X> 50 </X>
|
|
<Y> TextPriceMenuY </Y>
|
|
<Size> TextPriceMenuSize </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x6F5F51 </Color>
|
|
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
|
<State> "Invisible" </State>
|
|
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
|
</Text>
|
|
<Image>
|
|
<X> 81 </X>
|
|
<Y> 264 </Y>
|
|
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
|
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
|
<State> "Invisible" </State>
|
|
</Image>
|
|
<Text>
|
|
<X> 115 </X>
|
|
<Y> TextPriceMenuY </Y>
|
|
<Size> TextPriceMenuSize </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x6F5F51 </Color>
|
|
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
|
<State> "Invisible" </State>
|
|
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
|
</Text>
|
|
<Image>
|
|
<X> 146 </X>
|
|
<Y> 264 </Y>
|
|
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
|
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
|
<State> $12-41-03-0010.Button </State>
|
|
</Image>
|
|
<Text>
|
|
<X> 180 </X>
|
|
<Y> TextPriceMenuY </Y>
|
|
<Size> TextPriceMenuSize </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitRegularTTF </Font>
|
|
<Color> 0x6F5F51 </Color>
|
|
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
|
<State> $12-41-03-0010.Button </State>
|
|
<Value> StringFmt( $12-41-03-0010.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
|
</Text>
|
|
<Image>
|
|
<X> 81 </X>
|
|
<Y> 264 </Y>
|
|
<State>
|
|
eval(
|
|
If ICE_PROCESS_STATUS = 2 Then
|
|
|
|
Var ice_tab_process_show = "Invisible"
|
|
|
|
Else
|
|
Var ice_tab_process_show = "Invisible"
|
|
EndIf
|
|
Var return = ice_tab_process_show
|
|
)
|
|
</State>
|
|
<Filename> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </Filename>
|
|
<FilenameDisable> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </FilenameDisable>
|
|
</Image>
|
|
<Image>
|
|
<X> 49 </X>
|
|
<Y> 117 </Y>
|
|
<State>
|
|
eval(
|
|
If $Sum1241030010 = "Disable" Then
|
|
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
|
STRCONTAIN "ERR" $##-##-##-####.TAG tag2_is_disable
|
|
STRCONTAIN "ERR" $12-41-03-0010.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> $Sum1241030010 </State>
|
|
<Value> text_unavailable </Value>
|
|
<Align> center-vertical-horizontal </Align>
|
|
</Text>
|
|
</Block>
|
|
; - - -
|
|
; ==================> Len = 17
|
|
; - - 12-41-03-0011
|
|
<Block>
|
|
<MarginLeft> 33 </MarginLeft>
|
|
<MarginTop> 22 </MarginTop>
|
|
<Width> 225 </Width>
|
|
<Height> 296 </Height>
|
|
<State> Flag( 12-41-03-0011.Button,$Sum1241030011) </State>
|
|
<Button>
|
|
<State> $Sum1241030011 </State>
|
|
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_TAOTIM_Peach.png" </Filename>
|
|
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_TAOTIM_Peach.png" </FilenamePress>
|
|
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_TAOTIM_Peach.png" </FilenameDisable>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventOnClick>
|
|
Var NameDrink = "Tao Tim Peach"
|
|
Var NameDrinkTH = "เต่าติมพีช"
|
|
Var DrinkDescriptionTH = "ไอศกรีมนม และน้ำเชื่อมพีช"
|
|
Var DrinkDescription = "Icecream, milk, Peach"
|
|
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_TAOTIM_Peach.png"
|
|
Var OpenFromXML = CurrentXMLFileName2
|
|
Var PriceD1 = $-.Price
|
|
Var PriceD2 = $-.Price
|
|
Var PriceD3 = $12-41-03-0011.Price
|
|
Var PD_CODE1 = "##-##-##-####"
|
|
Var PD_CODE2 = "##-##-##-####"
|
|
Var PD_CODE3 = "12-41-03-0011"
|
|
Var PD_STAGE_1 = "Disable2"
|
|
Var PD_STAGE_2 = "Disable2"
|
|
Var PD_STAGE_3 = $12-41-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" "-"
|
|
Else
|
|
If PD_STAGE_1 = "Enable" Then
|
|
Topping "Load" "-"
|
|
Else
|
|
Topping "Load" "12-41-03-0011"
|
|
EndIf
|
|
EndIf
|
|
Var menu_name_eng_hot = $##-##-##-####.NameE
|
|
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
|
Var menu_name_thai_hot = $##-##-##-####.Name
|
|
Var menu_desc_thai_hot = $##-##-##-####.description
|
|
|
|
Var menu_name_eng_cold = $##-##-##-####.NameE
|
|
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
|
|
Var menu_name_thai_cold = $##-##-##-####.Name
|
|
Var menu_desc_thai_cold = $##-##-##-####.description
|
|
|
|
Var menu_name_eng_blender = $12-41-03-0011.NameE
|
|
Var menu_desc_eng_blender = $12-41-03-0011.descriptionE
|
|
Var menu_name_thai_blender = $12-41-03-0011.Name
|
|
Var menu_desc_thai_blender = $12-41-03-0011.description
|
|
|
|
DEBUGVAR PD_STAGE_1
|
|
DEBUGVAR PD_STAGE_2
|
|
DEBUGVAR PD_STAGE_3
|
|
Var SelectDrinkType = 0
|
|
|
|
|
|
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
|
|
|
</EventOnClick>
|
|
</Button>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 164 </Y>
|
|
<Size> 24 </Size>
|
|
<Width>220</Width>
|
|
<Mode> "multi2" </Mode>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x322B26 </Color>
|
|
<State> showthaiText </State>
|
|
<Value> "เต่าติมพีช" </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 220 </Y>
|
|
<Size> 14 </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x6F5F51 </Color>
|
|
<State> showthaiText </State>
|
|
<Value> "ไอศกรีมนม และน้ำเชื่อมพีช" </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 164 </Y>
|
|
<Size> 22 </Size>
|
|
<Width>220</Width>
|
|
<Mode> "multi2" </Mode>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x322B26 </Color>
|
|
<State> showengText </State>
|
|
<Value> "Tao Tim Peach" </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> "Icecream, milk, Peach" </Value>
|
|
</Text>
|
|
<Image>
|
|
<X> 16 </X>
|
|
<Y> 264 </Y>
|
|
<Filename> Var( DirImage2 + "option_deactive.png" ) </Filename>
|
|
</Image>
|
|
<Image>
|
|
<X> 16 </X>
|
|
<Y> 264 </Y>
|
|
<State> "Invisible" </State>
|
|
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
|
|
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
|
|
</Image>
|
|
<Text>
|
|
<X> 50 </X>
|
|
<Y> TextPriceMenuY </Y>
|
|
<Size> TextPriceMenuSize </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x6F5F51 </Color>
|
|
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
|
<State> "Invisible" </State>
|
|
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
|
</Text>
|
|
<Image>
|
|
<X> 81 </X>
|
|
<Y> 264 </Y>
|
|
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
|
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
|
<State> "Invisible" </State>
|
|
</Image>
|
|
<Text>
|
|
<X> 115 </X>
|
|
<Y> TextPriceMenuY </Y>
|
|
<Size> TextPriceMenuSize </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x6F5F51 </Color>
|
|
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
|
<State> "Invisible" </State>
|
|
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
|
</Text>
|
|
<Image>
|
|
<X> 146 </X>
|
|
<Y> 264 </Y>
|
|
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
|
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
|
<State> $12-41-03-0011.Button </State>
|
|
</Image>
|
|
<Text>
|
|
<X> 180 </X>
|
|
<Y> TextPriceMenuY </Y>
|
|
<Size> TextPriceMenuSize </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitRegularTTF </Font>
|
|
<Color> 0x6F5F51 </Color>
|
|
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
|
<State> $12-41-03-0011.Button </State>
|
|
<Value> StringFmt( $12-41-03-0011.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
|
</Text>
|
|
<Image>
|
|
<X> 81 </X>
|
|
<Y> 264 </Y>
|
|
<State>
|
|
eval(
|
|
If ICE_PROCESS_STATUS = 2 Then
|
|
|
|
Var ice_tab_process_show = "Invisible"
|
|
|
|
Else
|
|
Var ice_tab_process_show = "Invisible"
|
|
EndIf
|
|
Var return = ice_tab_process_show
|
|
)
|
|
</State>
|
|
<Filename> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </Filename>
|
|
<FilenameDisable> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </FilenameDisable>
|
|
</Image>
|
|
<Image>
|
|
<X> 49 </X>
|
|
<Y> 117 </Y>
|
|
<State>
|
|
eval(
|
|
If $Sum1241030011 = "Disable" Then
|
|
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
|
STRCONTAIN "ERR" $##-##-##-####.TAG tag2_is_disable
|
|
STRCONTAIN "ERR" $12-41-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> $Sum1241030011 </State>
|
|
<Value> text_unavailable </Value>
|
|
<Align> center-vertical-horizontal </Align>
|
|
</Text>
|
|
</Block>
|
|
; - - -
|
|
; ==================> Len = 17
|
|
; - - 12-41-03-0012
|
|
<Block>
|
|
<MarginLeft> 33 </MarginLeft>
|
|
<MarginTop> 22 </MarginTop>
|
|
<Width> 225 </Width>
|
|
<Height> 296 </Height>
|
|
<State> Flag( 12-41-03-0012.Button,$Sum1241030012) </State>
|
|
<Button>
|
|
<State> $Sum1241030012 </State>
|
|
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_TAOTIM_Coffee.png" </Filename>
|
|
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_TAOTIM_Coffee.png" </FilenamePress>
|
|
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_TAOTIM_Coffee.png" </FilenameDisable>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventOnClick>
|
|
Var NameDrink = "Tao Tim Espresso"
|
|
Var NameDrinkTH = "เต่าติมเอสเพรสโซ่"
|
|
Var DrinkDescriptionTH = "ไอศกรีมนม และกาแฟ"
|
|
Var DrinkDescription = "Icecream, milk, Espresso"
|
|
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_TAOTIM_Coffee.png"
|
|
Var OpenFromXML = CurrentXMLFileName2
|
|
Var PriceD1 = $-.Price
|
|
Var PriceD2 = $-.Price
|
|
Var PriceD3 = $12-41-03-0012.Price
|
|
Var PD_CODE1 = "##-##-##-####"
|
|
Var PD_CODE2 = "##-##-##-####"
|
|
Var PD_CODE3 = "12-41-03-0012"
|
|
Var PD_STAGE_1 = "Disable2"
|
|
Var PD_STAGE_2 = "Disable2"
|
|
Var PD_STAGE_3 = $12-41-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" "-"
|
|
Else
|
|
If PD_STAGE_1 = "Enable" Then
|
|
Topping "Load" "-"
|
|
Else
|
|
Topping "Load" "12-41-03-0012"
|
|
EndIf
|
|
EndIf
|
|
Var menu_name_eng_hot = $##-##-##-####.NameE
|
|
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
|
Var menu_name_thai_hot = $##-##-##-####.Name
|
|
Var menu_desc_thai_hot = $##-##-##-####.description
|
|
|
|
Var menu_name_eng_cold = $##-##-##-####.NameE
|
|
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
|
|
Var menu_name_thai_cold = $##-##-##-####.Name
|
|
Var menu_desc_thai_cold = $##-##-##-####.description
|
|
|
|
Var menu_name_eng_blender = $12-41-03-0012.NameE
|
|
Var menu_desc_eng_blender = $12-41-03-0012.descriptionE
|
|
Var menu_name_thai_blender = $12-41-03-0012.Name
|
|
Var menu_desc_thai_blender = $12-41-03-0012.description
|
|
|
|
DEBUGVAR PD_STAGE_1
|
|
DEBUGVAR PD_STAGE_2
|
|
DEBUGVAR PD_STAGE_3
|
|
Var SelectDrinkType = 0
|
|
|
|
|
|
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
|
|
|
</EventOnClick>
|
|
</Button>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 164 </Y>
|
|
<Size> 24 </Size>
|
|
<Width>220</Width>
|
|
<Mode> "multi2" </Mode>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x322B26 </Color>
|
|
<State> showthaiText </State>
|
|
<Value> "เต่าติมเอสเพรสโซ่" </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 220 </Y>
|
|
<Size> 14 </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x6F5F51 </Color>
|
|
<State> showthaiText </State>
|
|
<Value> "ไอศกรีมนม และกาแฟ" </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 164 </Y>
|
|
<Size> 22 </Size>
|
|
<Width>220</Width>
|
|
<Mode> "multi2" </Mode>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x322B26 </Color>
|
|
<State> showengText </State>
|
|
<Value> "Tao Tim Espresso" </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> "Icecream, milk, Espresso" </Value>
|
|
</Text>
|
|
<Image>
|
|
<X> 16 </X>
|
|
<Y> 264 </Y>
|
|
<Filename> Var( DirImage2 + "option_deactive.png" ) </Filename>
|
|
</Image>
|
|
<Image>
|
|
<X> 16 </X>
|
|
<Y> 264 </Y>
|
|
<State> "Invisible" </State>
|
|
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
|
|
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
|
|
</Image>
|
|
<Text>
|
|
<X> 50 </X>
|
|
<Y> TextPriceMenuY </Y>
|
|
<Size> TextPriceMenuSize </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x6F5F51 </Color>
|
|
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
|
<State> "Invisible" </State>
|
|
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
|
</Text>
|
|
<Image>
|
|
<X> 81 </X>
|
|
<Y> 264 </Y>
|
|
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
|
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
|
<State> "Invisible" </State>
|
|
</Image>
|
|
<Text>
|
|
<X> 115 </X>
|
|
<Y> TextPriceMenuY </Y>
|
|
<Size> TextPriceMenuSize </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x6F5F51 </Color>
|
|
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
|
<State> "Invisible" </State>
|
|
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
|
</Text>
|
|
<Image>
|
|
<X> 146 </X>
|
|
<Y> 264 </Y>
|
|
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
|
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
|
<State> $12-41-03-0012.Button </State>
|
|
</Image>
|
|
<Text>
|
|
<X> 180 </X>
|
|
<Y> TextPriceMenuY </Y>
|
|
<Size> TextPriceMenuSize </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitRegularTTF </Font>
|
|
<Color> 0x6F5F51 </Color>
|
|
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
|
<State> $12-41-03-0012.Button </State>
|
|
<Value> StringFmt( $12-41-03-0012.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
|
</Text>
|
|
<Image>
|
|
<X> 81 </X>
|
|
<Y> 264 </Y>
|
|
<State>
|
|
eval(
|
|
If ICE_PROCESS_STATUS = 2 Then
|
|
|
|
Var ice_tab_process_show = "Invisible"
|
|
|
|
Else
|
|
Var ice_tab_process_show = "Invisible"
|
|
EndIf
|
|
Var return = ice_tab_process_show
|
|
)
|
|
</State>
|
|
<Filename> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </Filename>
|
|
<FilenameDisable> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </FilenameDisable>
|
|
</Image>
|
|
<Image>
|
|
<X> 49 </X>
|
|
<Y> 117 </Y>
|
|
<State>
|
|
eval(
|
|
If $Sum1241030012 = "Disable" Then
|
|
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
|
STRCONTAIN "ERR" $##-##-##-####.TAG tag2_is_disable
|
|
STRCONTAIN "ERR" $12-41-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> $Sum1241030012 </State>
|
|
<Value> text_unavailable </Value>
|
|
<Align> center-vertical-horizontal </Align>
|
|
</Text>
|
|
</Block>
|
|
; - - -
|
|
; ==================> Len = 17
|
|
; - - 12-41-03-0013
|
|
<Block>
|
|
<MarginLeft> 33 </MarginLeft>
|
|
<MarginTop> 22 </MarginTop>
|
|
<Width> 225 </Width>
|
|
<Height> 296 </Height>
|
|
<State> Flag( 12-41-03-0013.Button,$Sum1241030013) </State>
|
|
<Button>
|
|
<State> $Sum1241030013 </State>
|
|
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_TAOTIM_Thai_Tea.png" </Filename>
|
|
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_TAOTIM_Thai_Tea.png" </FilenamePress>
|
|
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_TAOTIM_Thai_Tea.png" </FilenameDisable>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventOnClick>
|
|
Var NameDrink = "Tao Tim Thai Tea"
|
|
Var NameDrinkTH = "เต่าติมชาไทย"
|
|
Var DrinkDescriptionTH = "ไอศกรีมนม และชาไทย"
|
|
Var DrinkDescription = "Icecream, milk, Thai Tea"
|
|
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_TAOTIM_Thai_Tea.png"
|
|
Var OpenFromXML = CurrentXMLFileName2
|
|
Var PriceD1 = $-.Price
|
|
Var PriceD2 = $-.Price
|
|
Var PriceD3 = $12-41-03-0013.Price
|
|
Var PD_CODE1 = "##-##-##-####"
|
|
Var PD_CODE2 = "##-##-##-####"
|
|
Var PD_CODE3 = "12-41-03-0013"
|
|
Var PD_STAGE_1 = "Disable2"
|
|
Var PD_STAGE_2 = "Disable2"
|
|
Var PD_STAGE_3 = $12-41-03-0013.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" "-"
|
|
Else
|
|
If PD_STAGE_1 = "Enable" Then
|
|
Topping "Load" "-"
|
|
Else
|
|
Topping "Load" "12-41-03-0013"
|
|
EndIf
|
|
EndIf
|
|
Var menu_name_eng_hot = $##-##-##-####.NameE
|
|
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
|
Var menu_name_thai_hot = $##-##-##-####.Name
|
|
Var menu_desc_thai_hot = $##-##-##-####.description
|
|
|
|
Var menu_name_eng_cold = $##-##-##-####.NameE
|
|
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
|
|
Var menu_name_thai_cold = $##-##-##-####.Name
|
|
Var menu_desc_thai_cold = $##-##-##-####.description
|
|
|
|
Var menu_name_eng_blender = $12-41-03-0013.NameE
|
|
Var menu_desc_eng_blender = $12-41-03-0013.descriptionE
|
|
Var menu_name_thai_blender = $12-41-03-0013.Name
|
|
Var menu_desc_thai_blender = $12-41-03-0013.description
|
|
|
|
DEBUGVAR PD_STAGE_1
|
|
DEBUGVAR PD_STAGE_2
|
|
DEBUGVAR PD_STAGE_3
|
|
Var SelectDrinkType = 0
|
|
|
|
|
|
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
|
|
|
</EventOnClick>
|
|
</Button>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 164 </Y>
|
|
<Size> 24 </Size>
|
|
<Width>220</Width>
|
|
<Mode> "multi2" </Mode>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x322B26 </Color>
|
|
<State> showthaiText </State>
|
|
<Value> "เต่าติมชาไทย" </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 220 </Y>
|
|
<Size> 14 </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x6F5F51 </Color>
|
|
<State> showthaiText </State>
|
|
<Value> "ไอศกรีมนม และชาไทย" </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 164 </Y>
|
|
<Size> 22 </Size>
|
|
<Width>220</Width>
|
|
<Mode> "multi2" </Mode>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x322B26 </Color>
|
|
<State> showengText </State>
|
|
<Value> "Tao Tim 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> "Icecream, milk, Thai Tea" </Value>
|
|
</Text>
|
|
<Image>
|
|
<X> 16 </X>
|
|
<Y> 264 </Y>
|
|
<Filename> Var( DirImage2 + "option_deactive.png" ) </Filename>
|
|
</Image>
|
|
<Image>
|
|
<X> 16 </X>
|
|
<Y> 264 </Y>
|
|
<State> "Invisible" </State>
|
|
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
|
|
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
|
|
</Image>
|
|
<Text>
|
|
<X> 50 </X>
|
|
<Y> TextPriceMenuY </Y>
|
|
<Size> TextPriceMenuSize </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x6F5F51 </Color>
|
|
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
|
<State> "Invisible" </State>
|
|
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
|
</Text>
|
|
<Image>
|
|
<X> 81 </X>
|
|
<Y> 264 </Y>
|
|
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
|
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
|
<State> "Invisible" </State>
|
|
</Image>
|
|
<Text>
|
|
<X> 115 </X>
|
|
<Y> TextPriceMenuY </Y>
|
|
<Size> TextPriceMenuSize </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x6F5F51 </Color>
|
|
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
|
<State> "Invisible" </State>
|
|
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
|
</Text>
|
|
<Image>
|
|
<X> 146 </X>
|
|
<Y> 264 </Y>
|
|
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
|
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
|
<State> $12-41-03-0013.Button </State>
|
|
</Image>
|
|
<Text>
|
|
<X> 180 </X>
|
|
<Y> TextPriceMenuY </Y>
|
|
<Size> TextPriceMenuSize </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitRegularTTF </Font>
|
|
<Color> 0x6F5F51 </Color>
|
|
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
|
<State> $12-41-03-0013.Button </State>
|
|
<Value> StringFmt( $12-41-03-0013.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
|
</Text>
|
|
<Image>
|
|
<X> 81 </X>
|
|
<Y> 264 </Y>
|
|
<State>
|
|
eval(
|
|
If ICE_PROCESS_STATUS = 2 Then
|
|
|
|
Var ice_tab_process_show = "Invisible"
|
|
|
|
Else
|
|
Var ice_tab_process_show = "Invisible"
|
|
EndIf
|
|
Var return = ice_tab_process_show
|
|
)
|
|
</State>
|
|
<Filename> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </Filename>
|
|
<FilenameDisable> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </FilenameDisable>
|
|
</Image>
|
|
<Image>
|
|
<X> 49 </X>
|
|
<Y> 117 </Y>
|
|
<State>
|
|
eval(
|
|
If $Sum1241030013 = "Disable" Then
|
|
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
|
STRCONTAIN "ERR" $##-##-##-####.TAG tag2_is_disable
|
|
STRCONTAIN "ERR" $12-41-03-0013.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> $Sum1241030013 </State>
|
|
<Value> text_unavailable </Value>
|
|
<Align> center-vertical-horizontal </Align>
|
|
</Text>
|
|
</Block>
|
|
; - - -
|
|
; ==================> Len = 17
|
|
; - - 12-41-03-0016
|
|
<Block>
|
|
<MarginLeft> 33 </MarginLeft>
|
|
<MarginTop> 22 </MarginTop>
|
|
<Width> 225 </Width>
|
|
<Height> 296 </Height>
|
|
<State> Flag( 12-41-03-0016.Button,$Sum1241030016) </State>
|
|
<Button>
|
|
<State> $Sum1241030016 </State>
|
|
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_TAOTIM_Lime.png" </Filename>
|
|
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_TAOTIM_Lime.png" </FilenamePress>
|
|
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_TAOTIM_Lime.png" </FilenameDisable>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventOnClick>
|
|
Var NameDrink = "Tao Tim Lime"
|
|
Var NameDrinkTH = "เต่าติมมะนาว"
|
|
Var DrinkDescriptionTH = "ไอศกรีมนม และมะนาว"
|
|
Var DrinkDescription = "Icecream, milk, Lime"
|
|
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_TAOTIM_Lime.png"
|
|
Var OpenFromXML = CurrentXMLFileName2
|
|
Var PriceD1 = $-.Price
|
|
Var PriceD2 = $-.Price
|
|
Var PriceD3 = $12-41-03-0016.Price
|
|
Var PD_CODE1 = "##-##-##-####"
|
|
Var PD_CODE2 = "##-##-##-####"
|
|
Var PD_CODE3 = "12-41-03-0016"
|
|
Var PD_STAGE_1 = "Disable2"
|
|
Var PD_STAGE_2 = "Disable2"
|
|
Var PD_STAGE_3 = $12-41-03-0016.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" "-"
|
|
Else
|
|
If PD_STAGE_1 = "Enable" Then
|
|
Topping "Load" "-"
|
|
Else
|
|
Topping "Load" "12-41-03-0016"
|
|
EndIf
|
|
EndIf
|
|
Var menu_name_eng_hot = $##-##-##-####.NameE
|
|
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
|
Var menu_name_thai_hot = $##-##-##-####.Name
|
|
Var menu_desc_thai_hot = $##-##-##-####.description
|
|
|
|
Var menu_name_eng_cold = $##-##-##-####.NameE
|
|
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
|
|
Var menu_name_thai_cold = $##-##-##-####.Name
|
|
Var menu_desc_thai_cold = $##-##-##-####.description
|
|
|
|
Var menu_name_eng_blender = $12-41-03-0016.NameE
|
|
Var menu_desc_eng_blender = $12-41-03-0016.descriptionE
|
|
Var menu_name_thai_blender = $12-41-03-0016.Name
|
|
Var menu_desc_thai_blender = $12-41-03-0016.description
|
|
|
|
DEBUGVAR PD_STAGE_1
|
|
DEBUGVAR PD_STAGE_2
|
|
DEBUGVAR PD_STAGE_3
|
|
Var SelectDrinkType = 0
|
|
|
|
|
|
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
|
|
|
</EventOnClick>
|
|
</Button>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 164 </Y>
|
|
<Size> 24 </Size>
|
|
<Width>220</Width>
|
|
<Mode> "multi2" </Mode>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x322B26 </Color>
|
|
<State> showthaiText </State>
|
|
<Value> "เต่าติมมะนาว" </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 220 </Y>
|
|
<Size> 14 </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x6F5F51 </Color>
|
|
<State> showthaiText </State>
|
|
<Value> "ไอศกรีมนม และมะนาว" </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 164 </Y>
|
|
<Size> 22 </Size>
|
|
<Width>220</Width>
|
|
<Mode> "multi2" </Mode>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x322B26 </Color>
|
|
<State> showengText </State>
|
|
<Value> "Tao Tim Lime" </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> "Icecream, milk, Lime" </Value>
|
|
</Text>
|
|
<Image>
|
|
<X> 16 </X>
|
|
<Y> 264 </Y>
|
|
<Filename> Var( DirImage2 + "option_deactive.png" ) </Filename>
|
|
</Image>
|
|
<Image>
|
|
<X> 16 </X>
|
|
<Y> 264 </Y>
|
|
<State> "Invisible" </State>
|
|
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
|
|
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
|
|
</Image>
|
|
<Text>
|
|
<X> 50 </X>
|
|
<Y> TextPriceMenuY </Y>
|
|
<Size> TextPriceMenuSize </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x6F5F51 </Color>
|
|
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
|
<State> "Invisible" </State>
|
|
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
|
</Text>
|
|
<Image>
|
|
<X> 81 </X>
|
|
<Y> 264 </Y>
|
|
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
|
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
|
<State> "Invisible" </State>
|
|
</Image>
|
|
<Text>
|
|
<X> 115 </X>
|
|
<Y> TextPriceMenuY </Y>
|
|
<Size> TextPriceMenuSize </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x6F5F51 </Color>
|
|
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
|
<State> "Invisible" </State>
|
|
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
|
</Text>
|
|
<Image>
|
|
<X> 146 </X>
|
|
<Y> 264 </Y>
|
|
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
|
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
|
<State> $12-41-03-0016.Button </State>
|
|
</Image>
|
|
<Text>
|
|
<X> 180 </X>
|
|
<Y> TextPriceMenuY </Y>
|
|
<Size> TextPriceMenuSize </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitRegularTTF </Font>
|
|
<Color> 0x6F5F51 </Color>
|
|
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
|
<State> $12-41-03-0016.Button </State>
|
|
<Value> StringFmt( $12-41-03-0016.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
|
</Text>
|
|
<Image>
|
|
<X> 81 </X>
|
|
<Y> 264 </Y>
|
|
<State>
|
|
eval(
|
|
If ICE_PROCESS_STATUS = 2 Then
|
|
|
|
Var ice_tab_process_show = "Invisible"
|
|
|
|
Else
|
|
Var ice_tab_process_show = "Invisible"
|
|
EndIf
|
|
Var return = ice_tab_process_show
|
|
)
|
|
</State>
|
|
<Filename> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </Filename>
|
|
<FilenameDisable> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </FilenameDisable>
|
|
</Image>
|
|
<Image>
|
|
<X> 49 </X>
|
|
<Y> 117 </Y>
|
|
<State>
|
|
eval(
|
|
If $Sum1241030016 = "Disable" Then
|
|
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
|
STRCONTAIN "ERR" $##-##-##-####.TAG tag2_is_disable
|
|
STRCONTAIN "ERR" $12-41-03-0016.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> $Sum1241030016 </State>
|
|
<Value> text_unavailable </Value>
|
|
<Align> center-vertical-horizontal </Align>
|
|
</Text>
|
|
</Block>
|
|
; - - -
|
|
; ==================> Len = 17
|
|
; - - 12-41-03-0021
|
|
<Block>
|
|
<MarginLeft> 33 </MarginLeft>
|
|
<MarginTop> 22 </MarginTop>
|
|
<Width> 225 </Width>
|
|
<Height> 296 </Height>
|
|
<State> Flag( 12-41-03-0021.Button,$Sum1241030021) </State>
|
|
<Button>
|
|
<State> $Sum1241030021 </State>
|
|
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_TAOTIM_Lychee.png" </Filename>
|
|
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_TAOTIM_Lychee.png" </FilenamePress>
|
|
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_TAOTIM_Lychee.png" </FilenameDisable>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventOnClick>
|
|
Var NameDrink = "Tao Tim Lynchee"
|
|
Var NameDrinkTH = "เต่าติมลิ้นจี่"
|
|
Var DrinkDescriptionTH = "ไอศกรีมนม และน้ำเชื่อมลิ้นจี่"
|
|
Var DrinkDescription = "Icecream, milk, Lynchee"
|
|
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_TAOTIM_Lychee.png"
|
|
Var OpenFromXML = CurrentXMLFileName2
|
|
Var PriceD1 = $-.Price
|
|
Var PriceD2 = $-.Price
|
|
Var PriceD3 = $12-41-03-0021.Price
|
|
Var PD_CODE1 = "##-##-##-####"
|
|
Var PD_CODE2 = "##-##-##-####"
|
|
Var PD_CODE3 = "12-41-03-0021"
|
|
Var PD_STAGE_1 = "Disable2"
|
|
Var PD_STAGE_2 = "Disable2"
|
|
Var PD_STAGE_3 = $12-41-03-0021.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" "-"
|
|
Else
|
|
If PD_STAGE_1 = "Enable" Then
|
|
Topping "Load" "-"
|
|
Else
|
|
Topping "Load" "12-41-03-0021"
|
|
EndIf
|
|
EndIf
|
|
Var menu_name_eng_hot = $##-##-##-####.NameE
|
|
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
|
Var menu_name_thai_hot = $##-##-##-####.Name
|
|
Var menu_desc_thai_hot = $##-##-##-####.description
|
|
|
|
Var menu_name_eng_cold = $##-##-##-####.NameE
|
|
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
|
|
Var menu_name_thai_cold = $##-##-##-####.Name
|
|
Var menu_desc_thai_cold = $##-##-##-####.description
|
|
|
|
Var menu_name_eng_blender = $12-41-03-0021.NameE
|
|
Var menu_desc_eng_blender = $12-41-03-0021.descriptionE
|
|
Var menu_name_thai_blender = $12-41-03-0021.Name
|
|
Var menu_desc_thai_blender = $12-41-03-0021.description
|
|
|
|
DEBUGVAR PD_STAGE_1
|
|
DEBUGVAR PD_STAGE_2
|
|
DEBUGVAR PD_STAGE_3
|
|
Var SelectDrinkType = 0
|
|
|
|
|
|
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
|
|
|
</EventOnClick>
|
|
</Button>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 164 </Y>
|
|
<Size> 24 </Size>
|
|
<Width>220</Width>
|
|
<Mode> "multi2" </Mode>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x322B26 </Color>
|
|
<State> showthaiText </State>
|
|
<Value> "เต่าติมลิ้นจี่" </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 220 </Y>
|
|
<Size> 14 </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x6F5F51 </Color>
|
|
<State> showthaiText </State>
|
|
<Value> "ไอศกรีมนม และน้ำเชื่อมลิ้นจี่" </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 164 </Y>
|
|
<Size> 22 </Size>
|
|
<Width>220</Width>
|
|
<Mode> "multi2" </Mode>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x322B26 </Color>
|
|
<State> showengText </State>
|
|
<Value> "Tao Tim Lynchee" </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> "Icecream, milk, Lynchee" </Value>
|
|
</Text>
|
|
<Image>
|
|
<X> 16 </X>
|
|
<Y> 264 </Y>
|
|
<Filename> Var( DirImage2 + "option_deactive.png" ) </Filename>
|
|
</Image>
|
|
<Image>
|
|
<X> 16 </X>
|
|
<Y> 264 </Y>
|
|
<State> "Invisible" </State>
|
|
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
|
|
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
|
|
</Image>
|
|
<Text>
|
|
<X> 50 </X>
|
|
<Y> TextPriceMenuY </Y>
|
|
<Size> TextPriceMenuSize </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x6F5F51 </Color>
|
|
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
|
<State> "Invisible" </State>
|
|
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
|
</Text>
|
|
<Image>
|
|
<X> 81 </X>
|
|
<Y> 264 </Y>
|
|
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
|
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
|
<State> "Invisible" </State>
|
|
</Image>
|
|
<Text>
|
|
<X> 115 </X>
|
|
<Y> TextPriceMenuY </Y>
|
|
<Size> TextPriceMenuSize </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x6F5F51 </Color>
|
|
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
|
<State> "Invisible" </State>
|
|
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
|
</Text>
|
|
<Image>
|
|
<X> 146 </X>
|
|
<Y> 264 </Y>
|
|
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
|
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
|
<State> $12-41-03-0021.Button </State>
|
|
</Image>
|
|
<Text>
|
|
<X> 180 </X>
|
|
<Y> TextPriceMenuY </Y>
|
|
<Size> TextPriceMenuSize </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitRegularTTF </Font>
|
|
<Color> 0x6F5F51 </Color>
|
|
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
|
<State> $12-41-03-0021.Button </State>
|
|
<Value> StringFmt( $12-41-03-0021.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
|
</Text>
|
|
<Image>
|
|
<X> 81 </X>
|
|
<Y> 264 </Y>
|
|
<State>
|
|
eval(
|
|
If ICE_PROCESS_STATUS = 2 Then
|
|
|
|
Var ice_tab_process_show = "Invisible"
|
|
|
|
Else
|
|
Var ice_tab_process_show = "Invisible"
|
|
EndIf
|
|
Var return = ice_tab_process_show
|
|
)
|
|
</State>
|
|
<Filename> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </Filename>
|
|
<FilenameDisable> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </FilenameDisable>
|
|
</Image>
|
|
<Image>
|
|
<X> 49 </X>
|
|
<Y> 117 </Y>
|
|
<State>
|
|
eval(
|
|
If $Sum1241030021 = "Disable" Then
|
|
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
|
STRCONTAIN "ERR" $##-##-##-####.TAG tag2_is_disable
|
|
STRCONTAIN "ERR" $12-41-03-0021.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> $Sum1241030021 </State>
|
|
<Value> text_unavailable </Value>
|
|
<Align> center-vertical-horizontal </Align>
|
|
</Text>
|
|
</Block>
|
|
; - - -
|
|
; ==================> Len = 17
|
|
; - - 12-41-03-0022
|
|
<Block>
|
|
<MarginLeft> 33 </MarginLeft>
|
|
<MarginTop> 22 </MarginTop>
|
|
<Width> 225 </Width>
|
|
<Height> 296 </Height>
|
|
<State> Flag( 12-41-03-0022.Button,$Sum1241030022) </State>
|
|
<Button>
|
|
<State> $Sum1241030022 </State>
|
|
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_TAOTIM_Banana.png" </Filename>
|
|
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_TAOTIM_Banana.png" </FilenamePress>
|
|
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_TAOTIM_Banana.png" </FilenameDisable>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventOnClick>
|
|
Var NameDrink = "Tao Tim Tokyo Banana"
|
|
Var NameDrinkTH = "เต่าติมโตเกียว บานาน่า"
|
|
Var DrinkDescriptionTH = "ไอศกรีมนม และน้ำเชื่อมโตเกียว บานาน่า"
|
|
Var DrinkDescription = "Icecream, milk, Tokyo Banana"
|
|
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_TAOTIM_Banana.png"
|
|
Var OpenFromXML = CurrentXMLFileName2
|
|
Var PriceD1 = $-.Price
|
|
Var PriceD2 = $-.Price
|
|
Var PriceD3 = $12-41-03-0022.Price
|
|
Var PD_CODE1 = "##-##-##-####"
|
|
Var PD_CODE2 = "##-##-##-####"
|
|
Var PD_CODE3 = "12-41-03-0022"
|
|
Var PD_STAGE_1 = "Disable2"
|
|
Var PD_STAGE_2 = "Disable2"
|
|
Var PD_STAGE_3 = $12-41-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" "-"
|
|
Else
|
|
If PD_STAGE_1 = "Enable" Then
|
|
Topping "Load" "-"
|
|
Else
|
|
Topping "Load" "12-41-03-0022"
|
|
EndIf
|
|
EndIf
|
|
Var menu_name_eng_hot = $##-##-##-####.NameE
|
|
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
|
Var menu_name_thai_hot = $##-##-##-####.Name
|
|
Var menu_desc_thai_hot = $##-##-##-####.description
|
|
|
|
Var menu_name_eng_cold = $##-##-##-####.NameE
|
|
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
|
|
Var menu_name_thai_cold = $##-##-##-####.Name
|
|
Var menu_desc_thai_cold = $##-##-##-####.description
|
|
|
|
Var menu_name_eng_blender = $12-41-03-0022.NameE
|
|
Var menu_desc_eng_blender = $12-41-03-0022.descriptionE
|
|
Var menu_name_thai_blender = $12-41-03-0022.Name
|
|
Var menu_desc_thai_blender = $12-41-03-0022.description
|
|
|
|
DEBUGVAR PD_STAGE_1
|
|
DEBUGVAR PD_STAGE_2
|
|
DEBUGVAR PD_STAGE_3
|
|
Var SelectDrinkType = 0
|
|
|
|
|
|
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
|
|
|
</EventOnClick>
|
|
</Button>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 164 </Y>
|
|
<Size> 24 </Size>
|
|
<Width>220</Width>
|
|
<Mode> "multi2" </Mode>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x322B26 </Color>
|
|
<State> showthaiText </State>
|
|
<Value> "เต่าติมโตเกียว
|
|
บานาน่า" </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 220 </Y>
|
|
<Size> 14 </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x6F5F51 </Color>
|
|
<State> showthaiText </State>
|
|
<Value> "ไอศกรีมนม และน้ำเชื่อมโตเกียว บานาน่า" </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 164 </Y>
|
|
<Size> 22 </Size>
|
|
<Width>220</Width>
|
|
<Mode> "multi2" </Mode>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x322B26 </Color>
|
|
<State> showengText </State>
|
|
<Value> "Tao Tim Tokyo
|
|
Banana" </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> "Icecream, milk, Tokyo Banana" </Value>
|
|
</Text>
|
|
<Image>
|
|
<X> 16 </X>
|
|
<Y> 264 </Y>
|
|
<Filename> Var( DirImage2 + "option_deactive.png" ) </Filename>
|
|
</Image>
|
|
<Image>
|
|
<X> 16 </X>
|
|
<Y> 264 </Y>
|
|
<State> "Invisible" </State>
|
|
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
|
|
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
|
|
</Image>
|
|
<Text>
|
|
<X> 50 </X>
|
|
<Y> TextPriceMenuY </Y>
|
|
<Size> TextPriceMenuSize </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x6F5F51 </Color>
|
|
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
|
<State> "Invisible" </State>
|
|
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
|
</Text>
|
|
<Image>
|
|
<X> 81 </X>
|
|
<Y> 264 </Y>
|
|
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
|
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
|
<State> "Invisible" </State>
|
|
</Image>
|
|
<Text>
|
|
<X> 115 </X>
|
|
<Y> TextPriceMenuY </Y>
|
|
<Size> TextPriceMenuSize </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x6F5F51 </Color>
|
|
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
|
<State> "Invisible" </State>
|
|
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
|
</Text>
|
|
<Image>
|
|
<X> 146 </X>
|
|
<Y> 264 </Y>
|
|
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
|
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
|
<State> $12-41-03-0022.Button </State>
|
|
</Image>
|
|
<Text>
|
|
<X> 180 </X>
|
|
<Y> TextPriceMenuY </Y>
|
|
<Size> TextPriceMenuSize </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitRegularTTF </Font>
|
|
<Color> 0x6F5F51 </Color>
|
|
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
|
<State> $12-41-03-0022.Button </State>
|
|
<Value> StringFmt( $12-41-03-0022.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
|
</Text>
|
|
<Image>
|
|
<X> 81 </X>
|
|
<Y> 264 </Y>
|
|
<State>
|
|
eval(
|
|
If ICE_PROCESS_STATUS = 2 Then
|
|
|
|
Var ice_tab_process_show = "Invisible"
|
|
|
|
Else
|
|
Var ice_tab_process_show = "Invisible"
|
|
EndIf
|
|
Var return = ice_tab_process_show
|
|
)
|
|
</State>
|
|
<Filename> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </Filename>
|
|
<FilenameDisable> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </FilenameDisable>
|
|
</Image>
|
|
<Image>
|
|
<X> 49 </X>
|
|
<Y> 117 </Y>
|
|
<State>
|
|
eval(
|
|
If $Sum1241030022 = "Disable" Then
|
|
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
|
STRCONTAIN "ERR" $##-##-##-####.TAG tag2_is_disable
|
|
STRCONTAIN "ERR" $12-41-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> $Sum1241030022 </State>
|
|
<Value> text_unavailable </Value>
|
|
<Align> center-vertical-horizontal </Align>
|
|
</Text>
|
|
</Block>
|
|
; - - -
|
|
; ==================> Len = 17
|
|
; - - 12-41-03-0023
|
|
<Block>
|
|
<MarginLeft> 33 </MarginLeft>
|
|
<MarginTop> 22 </MarginTop>
|
|
<Width> 225 </Width>
|
|
<Height> 296 </Height>
|
|
<State> Flag( 12-41-03-0023.Button,$Sum1241030023) </State>
|
|
<Button>
|
|
<State> $Sum1241030023 </State>
|
|
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_TAOTIM_Jasmine.png" </Filename>
|
|
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_TAOTIM_Jasmine.png" </FilenamePress>
|
|
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_TAOTIM_Jasmine.png" </FilenameDisable>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventOnClick>
|
|
Var NameDrink = "Tao Time Jasmin Tea"
|
|
Var NameDrinkTH = "เต่าติมชามะลิ"
|
|
Var DrinkDescriptionTH = "ไอศกรีมนม และชามะลิ"
|
|
Var DrinkDescription = "Icecream, milk, Jasmine"
|
|
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_TAOTIM_Jasmine.png"
|
|
Var OpenFromXML = CurrentXMLFileName2
|
|
Var PriceD1 = $-.Price
|
|
Var PriceD2 = $-.Price
|
|
Var PriceD3 = $12-41-03-0023.Price
|
|
Var PD_CODE1 = "##-##-##-####"
|
|
Var PD_CODE2 = "##-##-##-####"
|
|
Var PD_CODE3 = "12-41-03-0023"
|
|
Var PD_STAGE_1 = "Disable2"
|
|
Var PD_STAGE_2 = "Disable2"
|
|
Var PD_STAGE_3 = $12-41-03-0023.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" "-"
|
|
Else
|
|
If PD_STAGE_1 = "Enable" Then
|
|
Topping "Load" "-"
|
|
Else
|
|
Topping "Load" "12-41-03-0023"
|
|
EndIf
|
|
EndIf
|
|
Var menu_name_eng_hot = $##-##-##-####.NameE
|
|
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
|
Var menu_name_thai_hot = $##-##-##-####.Name
|
|
Var menu_desc_thai_hot = $##-##-##-####.description
|
|
|
|
Var menu_name_eng_cold = $##-##-##-####.NameE
|
|
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
|
|
Var menu_name_thai_cold = $##-##-##-####.Name
|
|
Var menu_desc_thai_cold = $##-##-##-####.description
|
|
|
|
Var menu_name_eng_blender = $12-41-03-0023.NameE
|
|
Var menu_desc_eng_blender = $12-41-03-0023.descriptionE
|
|
Var menu_name_thai_blender = $12-41-03-0023.Name
|
|
Var menu_desc_thai_blender = $12-41-03-0023.description
|
|
|
|
DEBUGVAR PD_STAGE_1
|
|
DEBUGVAR PD_STAGE_2
|
|
DEBUGVAR PD_STAGE_3
|
|
Var SelectDrinkType = 0
|
|
|
|
|
|
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
|
|
|
</EventOnClick>
|
|
</Button>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 164 </Y>
|
|
<Size> 24 </Size>
|
|
<Width>220</Width>
|
|
<Mode> "multi2" </Mode>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x322B26 </Color>
|
|
<State> showthaiText </State>
|
|
<Value> "เต่าติมชามะลิ" </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 220 </Y>
|
|
<Size> 14 </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x6F5F51 </Color>
|
|
<State> showthaiText </State>
|
|
<Value> "ไอศกรีมนม และชามะลิ" </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 164 </Y>
|
|
<Size> 22 </Size>
|
|
<Width>220</Width>
|
|
<Mode> "multi2" </Mode>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x322B26 </Color>
|
|
<State> showengText </State>
|
|
<Value> "Tao Time Jasmin 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> "Icecream, milk, Jasmine" </Value>
|
|
</Text>
|
|
<Image>
|
|
<X> 16 </X>
|
|
<Y> 264 </Y>
|
|
<Filename> Var( DirImage2 + "option_deactive.png" ) </Filename>
|
|
</Image>
|
|
<Image>
|
|
<X> 16 </X>
|
|
<Y> 264 </Y>
|
|
<State> "Invisible" </State>
|
|
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
|
|
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
|
|
</Image>
|
|
<Text>
|
|
<X> 50 </X>
|
|
<Y> TextPriceMenuY </Y>
|
|
<Size> TextPriceMenuSize </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x6F5F51 </Color>
|
|
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
|
<State> "Invisible" </State>
|
|
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
|
</Text>
|
|
<Image>
|
|
<X> 81 </X>
|
|
<Y> 264 </Y>
|
|
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
|
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
|
<State> "Invisible" </State>
|
|
</Image>
|
|
<Text>
|
|
<X> 115 </X>
|
|
<Y> TextPriceMenuY </Y>
|
|
<Size> TextPriceMenuSize </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x6F5F51 </Color>
|
|
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
|
<State> "Invisible" </State>
|
|
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
|
</Text>
|
|
<Image>
|
|
<X> 146 </X>
|
|
<Y> 264 </Y>
|
|
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
|
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
|
<State> $12-41-03-0023.Button </State>
|
|
</Image>
|
|
<Text>
|
|
<X> 180 </X>
|
|
<Y> TextPriceMenuY </Y>
|
|
<Size> TextPriceMenuSize </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitRegularTTF </Font>
|
|
<Color> 0x6F5F51 </Color>
|
|
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
|
<State> $12-41-03-0023.Button </State>
|
|
<Value> StringFmt( $12-41-03-0023.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
|
</Text>
|
|
<Image>
|
|
<X> 81 </X>
|
|
<Y> 264 </Y>
|
|
<State>
|
|
eval(
|
|
If ICE_PROCESS_STATUS = 2 Then
|
|
|
|
Var ice_tab_process_show = "Invisible"
|
|
|
|
Else
|
|
Var ice_tab_process_show = "Invisible"
|
|
EndIf
|
|
Var return = ice_tab_process_show
|
|
)
|
|
</State>
|
|
<Filename> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </Filename>
|
|
<FilenameDisable> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </FilenameDisable>
|
|
</Image>
|
|
<Image>
|
|
<X> 49 </X>
|
|
<Y> 117 </Y>
|
|
<State>
|
|
eval(
|
|
If $Sum1241030023 = "Disable" Then
|
|
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
|
STRCONTAIN "ERR" $##-##-##-####.TAG tag2_is_disable
|
|
STRCONTAIN "ERR" $12-41-03-0023.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> $Sum1241030023 </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>
|