3617 lines
105 KiB
XML
3617 lines
105 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
|
|
Var RerunProCode = ""
|
|
Var FromRerunPro = 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 12
|
|
; ==================> Len = 12
|
|
; - 12-02-02-0044 -
|
|
<Block>
|
|
<MarginLeft> 33 </MarginLeft>
|
|
<MarginTop> 22 </MarginTop>
|
|
<Width> 225 </Width>
|
|
<Height> 296 </Height>
|
|
<State> Flag( 12-02-02-0044.Button,$Sum1202020044) </State>
|
|
<Button>
|
|
<State> $Sum1202020044 </State>
|
|
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_Matcha_Haunted_House_rerun.png" </Filename>
|
|
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_iced_Matcha_Haunted_House_rerun.png" </FilenamePress>
|
|
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_iced_Matcha_Haunted_House_rerun.png" </FilenameDisable>
|
|
<OverlayImage> xmlpro( 12-02-02-0044, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventOnClick>
|
|
Var NameDrink = "MATCHA HAUNTED HOUSE "
|
|
Var NameDrinkTH = "ชาเขียวบ้านผีปอบ "
|
|
Var DrinkDescriptionTH = "ชาเขียว น้ำเชื่อมสตรอเบอรี โซดา"
|
|
Var DrinkDescription = "Match, Strawberry Syrup,Soda"
|
|
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_iced_Matcha_Haunted_House_rerun.png"
|
|
Var OpenFromXML = CurrentXMLFileName2
|
|
Var PriceD1 = 20
|
|
Var PriceD2 = 20
|
|
Var PriceD3 = 20
|
|
Var OldPrice = 25
|
|
Var PD_CODE1 = "##-##-##-####"
|
|
Var PD_CODE2 = "12-02-02-0044"
|
|
Var PD_CODE3 = "##-##-##-####"
|
|
Var PD_STAGE_1 = "Disable2"
|
|
Var PD_STAGE_2 = $12-02-02-0044.Button
|
|
Var PD_STAGE_3 = "Disable2"
|
|
Var OverlayMenuFilter !assigned xmlpro( 12-02-02-0044, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
|
DEBUGVAR OverlayMenuFilter
|
|
Var SelectCountDrinkType = 0
|
|
Var DefaultDrinkType = 0
|
|
If PD_STAGE_1 = "Enable" Then
|
|
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
Var DefaultDrinkType = 1
|
|
EndIf
|
|
If PD_STAGE_2 = "Enable" Then
|
|
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
Var DefaultDrinkType = 2
|
|
EndIf
|
|
If PD_STAGE_3 = "Enable" Then
|
|
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
Var DefaultDrinkType = 3
|
|
EndIf
|
|
If PD_STAGE_2 = "Enable" Then
|
|
Topping "Load" "12-02-02-0044"
|
|
Else
|
|
If PD_STAGE_1 = "Enable" Then
|
|
Topping "Load" "-"
|
|
Else
|
|
Topping "Load" "-"
|
|
EndIf
|
|
EndIf
|
|
Var menu_name_eng_hot = $##-##-##-####.NameE
|
|
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
|
Var menu_name_thai_hot = $##-##-##-####.Name
|
|
Var menu_desc_thai_hot = $##-##-##-####.description
|
|
|
|
Var menu_name_eng_cold = $12-02-02-0044.NameE
|
|
Var menu_desc_eng_cold = $12-02-02-0044.descriptionE
|
|
Var menu_name_thai_cold = $12-02-02-0044.Name
|
|
Var menu_desc_thai_cold = $12-02-02-0044.description
|
|
|
|
Var menu_name_eng_blender = $##-##-##-####.NameE
|
|
Var menu_desc_eng_blender = $##-##-##-####.descriptionE
|
|
Var menu_name_thai_blender = $##-##-##-####.Name
|
|
Var menu_desc_thai_blender = $##-##-##-####.description
|
|
|
|
DEBUGVAR PD_STAGE_1
|
|
DEBUGVAR PD_STAGE_2
|
|
DEBUGVAR PD_STAGE_3
|
|
Var SelectDrinkType = 0
|
|
Var FromRerunPro = 1
|
|
Var RerunProCode = "PMD05"
|
|
|
|
|
|
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> "MATCHA HAUNTED
|
|
HOUSE " </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> "Match, Strawberry Syrup,Soda" </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( 20 , DisplayFormat, PreScaleConvertShow) </Value>; test
|
|
</Text>
|
|
<Image>
|
|
<X> 81 </X>
|
|
<Y> 264 </Y>
|
|
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
|
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
|
<State> $12-02-02-0044.Button </State>
|
|
</Image>
|
|
<Text>
|
|
<X> 115 </X>
|
|
<Y> TextPriceMenuY </Y>
|
|
<Size> TextPriceMenuSize </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x6F5F51 </Color>
|
|
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
|
<State> $12-02-02-0044.Button </State>
|
|
<Value> StringFmt( 20 , 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> "Invisible" </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> "Invisible" </State>
|
|
<Value> StringFmt( 20 , 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 $Sum1202020044 = "Disable" Then
|
|
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
|
STRCONTAIN "ERR" $12-02-02-0044.TAG tag2_is_disable
|
|
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
|
Var return = "Invisible"
|
|
If tag1_is_disable = "true" Then
|
|
Var return = "Enable"
|
|
EndIf
|
|
If tag2_is_disable = "true" Then
|
|
Var return = "Enable"
|
|
EndIf
|
|
If tag3_is_disable = "true" Then
|
|
Var return = "Enable"
|
|
EndIf
|
|
Else
|
|
Var return = "Invisible"
|
|
EndIf
|
|
)
|
|
</State>
|
|
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
|
</Image>
|
|
<Text>
|
|
<X> 84 </X>
|
|
<Y> 266 </Y>
|
|
<Size> 10 </Size>
|
|
<Font> OpunMediumTTF </Font>
|
|
<Color> 0xDE794E </Color>
|
|
<State> ice_tab_process_show </State>
|
|
<Value> ice_show_open </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 48 </X>
|
|
<Y> 116 </Y>
|
|
<Size> 32 </Size>
|
|
<Width>128</Width>
|
|
<Height>64</Height>
|
|
<Font> MITRegularTTF </Font>
|
|
<Color> 0x5A5A5A </Color>
|
|
<Mode> "disable-show" </Mode>
|
|
<State> $Sum1202020044 </State>
|
|
<Value> text_unavailable </Value>
|
|
<Align> center-vertical-horizontal </Align>
|
|
</Text>
|
|
</Block>
|
|
; - - -
|
|
; ==================> Len = 17
|
|
; - 12-02-02-0043 -
|
|
<Block>
|
|
<MarginLeft> 33 </MarginLeft>
|
|
<MarginTop> 22 </MarginTop>
|
|
<Width> 225 </Width>
|
|
<Height> 296 </Height>
|
|
<State> Flag( 12-02-02-0043.Button,$Sum1202020043) </State>
|
|
<Button>
|
|
<State> $Sum1202020043 </State>
|
|
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_Papong_Tea_Soda_rerun.png" </Filename>
|
|
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_iced_Papong_Tea_Soda_rerun.png" </FilenamePress>
|
|
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_iced_Papong_Tea_Soda_rerun.png" </FilenameDisable>
|
|
<OverlayImage> xmlpro( 12-02-02-0043, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventOnClick>
|
|
Var NameDrink = "PAPONG TEA SODA"
|
|
Var NameDrinkTH = "ชาดำปาโป่ง"
|
|
Var DrinkDescriptionTH = "ชาไทย มะนาว โซดา"
|
|
Var DrinkDescription = "Thai tea, Limenade,soda"
|
|
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_iced_Papong_Tea_Soda_rerun.png"
|
|
Var OpenFromXML = CurrentXMLFileName2
|
|
Var PriceD1 = 15
|
|
Var PriceD2 = 15
|
|
Var PriceD3 = 15
|
|
Var OldPrice = 35
|
|
Var PD_CODE1 = "##-##-##-####"
|
|
Var PD_CODE2 = "12-02-02-0043"
|
|
Var PD_CODE3 = "##-##-##-####"
|
|
Var PD_STAGE_1 = "Disable2"
|
|
Var PD_STAGE_2 = $12-02-02-0043.Button
|
|
Var PD_STAGE_3 = "Disable2"
|
|
Var OverlayMenuFilter !assigned xmlpro( 12-02-02-0043, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
|
DEBUGVAR OverlayMenuFilter
|
|
Var SelectCountDrinkType = 0
|
|
Var DefaultDrinkType = 0
|
|
If PD_STAGE_1 = "Enable" Then
|
|
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
Var DefaultDrinkType = 1
|
|
EndIf
|
|
If PD_STAGE_2 = "Enable" Then
|
|
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
Var DefaultDrinkType = 2
|
|
EndIf
|
|
If PD_STAGE_3 = "Enable" Then
|
|
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
Var DefaultDrinkType = 3
|
|
EndIf
|
|
If PD_STAGE_2 = "Enable" Then
|
|
Topping "Load" "12-02-02-0043"
|
|
Else
|
|
If PD_STAGE_1 = "Enable" Then
|
|
Topping "Load" "-"
|
|
Else
|
|
Topping "Load" "-"
|
|
EndIf
|
|
EndIf
|
|
Var menu_name_eng_hot = $##-##-##-####.NameE
|
|
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
|
Var menu_name_thai_hot = $##-##-##-####.Name
|
|
Var menu_desc_thai_hot = $##-##-##-####.description
|
|
|
|
Var menu_name_eng_cold = $12-02-02-0043.NameE
|
|
Var menu_desc_eng_cold = $12-02-02-0043.descriptionE
|
|
Var menu_name_thai_cold = $12-02-02-0043.Name
|
|
Var menu_desc_thai_cold = $12-02-02-0043.description
|
|
|
|
Var menu_name_eng_blender = $##-##-##-####.NameE
|
|
Var menu_desc_eng_blender = $##-##-##-####.descriptionE
|
|
Var menu_name_thai_blender = $##-##-##-####.Name
|
|
Var menu_desc_thai_blender = $##-##-##-####.description
|
|
|
|
DEBUGVAR PD_STAGE_1
|
|
DEBUGVAR PD_STAGE_2
|
|
DEBUGVAR PD_STAGE_3
|
|
Var SelectDrinkType = 0
|
|
Var FromRerunPro = 1
|
|
Var RerunProCode = "PMD20"
|
|
|
|
|
|
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> "PAPONG TEA SODA" </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 220 </Y>
|
|
<Size> 14 </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x6F5F51 </Color>
|
|
<State> showengText </State>
|
|
<Value> "Thai tea, Limenade,soda" </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( 15 , DisplayFormat, PreScaleConvertShow) </Value>; test
|
|
</Text>
|
|
<Image>
|
|
<X> 81 </X>
|
|
<Y> 264 </Y>
|
|
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
|
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
|
<State> $12-02-02-0043.Button </State>
|
|
</Image>
|
|
<Text>
|
|
<X> 115 </X>
|
|
<Y> TextPriceMenuY </Y>
|
|
<Size> TextPriceMenuSize </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x6F5F51 </Color>
|
|
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
|
<State> $12-02-02-0043.Button </State>
|
|
<Value> StringFmt( 15 , 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> "Invisible" </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> "Invisible" </State>
|
|
<Value> StringFmt( 15 , 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 $Sum1202020043 = "Disable" Then
|
|
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
|
STRCONTAIN "ERR" $12-02-02-0043.TAG tag2_is_disable
|
|
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
|
Var return = "Invisible"
|
|
If tag1_is_disable = "true" Then
|
|
Var return = "Enable"
|
|
EndIf
|
|
If tag2_is_disable = "true" Then
|
|
Var return = "Enable"
|
|
EndIf
|
|
If tag3_is_disable = "true" Then
|
|
Var return = "Enable"
|
|
EndIf
|
|
Else
|
|
Var return = "Invisible"
|
|
EndIf
|
|
)
|
|
</State>
|
|
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
|
</Image>
|
|
<Text>
|
|
<X> 84 </X>
|
|
<Y> 266 </Y>
|
|
<Size> 10 </Size>
|
|
<Font> OpunMediumTTF </Font>
|
|
<Color> 0xDE794E </Color>
|
|
<State> ice_tab_process_show </State>
|
|
<Value> ice_show_open </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 48 </X>
|
|
<Y> 116 </Y>
|
|
<Size> 32 </Size>
|
|
<Width>128</Width>
|
|
<Height>64</Height>
|
|
<Font> MITRegularTTF </Font>
|
|
<Color> 0x5A5A5A </Color>
|
|
<Mode> "disable-show" </Mode>
|
|
<State> $Sum1202020043 </State>
|
|
<Value> text_unavailable </Value>
|
|
<Align> center-vertical-horizontal </Align>
|
|
</Text>
|
|
</Block>
|
|
; - - -
|
|
; ==================> Len = 12
|
|
; - 12-99-02-0003 -
|
|
<Block>
|
|
<MarginLeft> 33 </MarginLeft>
|
|
<MarginTop> 22 </MarginTop>
|
|
<Width> 225 </Width>
|
|
<Height> 296 </Height>
|
|
<State> Flag( 12-99-02-0003.Button,$Sum1299020003) </State>
|
|
<Button>
|
|
<State> $Sum1299020003 </State>
|
|
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_PEPSI_MILK_rerun.png" </Filename>
|
|
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_PEPSI_MILK_rerun.png" </FilenamePress>
|
|
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_PEPSI_MILK_rerun.png" </FilenameDisable>
|
|
<OverlayImage> xmlpro( 12-99-02-0003, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventOnClick>
|
|
Var NameDrink = "Freaky Everyday"
|
|
Var NameDrinkTH = "เป๊ปซี่นมแน่นะวิ"
|
|
Var DrinkDescriptionTH = "เป๊ปซี่ นม"
|
|
Var DrinkDescription = "Pepsi, Milk"
|
|
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_PEPSI_MILK_rerun.png"
|
|
Var OpenFromXML = CurrentXMLFileName2
|
|
Var PriceD1 = 30
|
|
Var PriceD2 = 30
|
|
Var PriceD3 = 30
|
|
Var OldPrice = 35
|
|
Var PD_CODE1 = "##-##-##-####"
|
|
Var PD_CODE2 = "12-99-02-0003"
|
|
Var PD_CODE3 = "##-##-##-####"
|
|
Var PD_STAGE_1 = "Disable2"
|
|
Var PD_STAGE_2 = $12-99-02-0003.Button
|
|
Var PD_STAGE_3 = "Disable2"
|
|
Var OverlayMenuFilter !assigned xmlpro( 12-99-02-0003, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
|
DEBUGVAR OverlayMenuFilter
|
|
Var SelectCountDrinkType = 0
|
|
Var DefaultDrinkType = 0
|
|
If PD_STAGE_1 = "Enable" Then
|
|
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
Var DefaultDrinkType = 1
|
|
EndIf
|
|
If PD_STAGE_2 = "Enable" Then
|
|
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
Var DefaultDrinkType = 2
|
|
EndIf
|
|
If PD_STAGE_3 = "Enable" Then
|
|
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
Var DefaultDrinkType = 3
|
|
EndIf
|
|
If PD_STAGE_2 = "Enable" Then
|
|
Topping "Load" "12-99-02-0003"
|
|
Else
|
|
If PD_STAGE_1 = "Enable" Then
|
|
Topping "Load" "-"
|
|
Else
|
|
Topping "Load" "-"
|
|
EndIf
|
|
EndIf
|
|
Var menu_name_eng_hot = $##-##-##-####.NameE
|
|
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
|
Var menu_name_thai_hot = $##-##-##-####.Name
|
|
Var menu_desc_thai_hot = $##-##-##-####.description
|
|
|
|
Var menu_name_eng_cold = $12-99-02-0003.NameE
|
|
Var menu_desc_eng_cold = $12-99-02-0003.descriptionE
|
|
Var menu_name_thai_cold = $12-99-02-0003.Name
|
|
Var menu_desc_thai_cold = $12-99-02-0003.description
|
|
|
|
Var menu_name_eng_blender = $##-##-##-####.NameE
|
|
Var menu_desc_eng_blender = $##-##-##-####.descriptionE
|
|
Var menu_name_thai_blender = $##-##-##-####.Name
|
|
Var menu_desc_thai_blender = $##-##-##-####.description
|
|
|
|
DEBUGVAR PD_STAGE_1
|
|
DEBUGVAR PD_STAGE_2
|
|
DEBUGVAR PD_STAGE_3
|
|
Var SelectDrinkType = 0
|
|
Var FromRerunPro = 1
|
|
Var RerunProCode = "PMD05"
|
|
|
|
|
|
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> "Freaky Everyday" </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> "Pepsi, 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( 30 , DisplayFormat, PreScaleConvertShow) </Value>; test
|
|
</Text>
|
|
<Image>
|
|
<X> 81 </X>
|
|
<Y> 264 </Y>
|
|
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
|
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
|
<State> $12-99-02-0003.Button </State>
|
|
</Image>
|
|
<Text>
|
|
<X> 115 </X>
|
|
<Y> TextPriceMenuY </Y>
|
|
<Size> TextPriceMenuSize </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x6F5F51 </Color>
|
|
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
|
<State> $12-99-02-0003.Button </State>
|
|
<Value> StringFmt( 30 , 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> "Invisible" </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> "Invisible" </State>
|
|
<Value> StringFmt( 30 , 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 $Sum1299020003 = "Disable" Then
|
|
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
|
STRCONTAIN "ERR" $12-99-02-0003.TAG tag2_is_disable
|
|
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
|
Var return = "Invisible"
|
|
If tag1_is_disable = "true" Then
|
|
Var return = "Enable"
|
|
EndIf
|
|
If tag2_is_disable = "true" Then
|
|
Var return = "Enable"
|
|
EndIf
|
|
If tag3_is_disable = "true" Then
|
|
Var return = "Enable"
|
|
EndIf
|
|
Else
|
|
Var return = "Invisible"
|
|
EndIf
|
|
)
|
|
</State>
|
|
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
|
</Image>
|
|
<Text>
|
|
<X> 84 </X>
|
|
<Y> 266 </Y>
|
|
<Size> 10 </Size>
|
|
<Font> OpunMediumTTF </Font>
|
|
<Color> 0xDE794E </Color>
|
|
<State> ice_tab_process_show </State>
|
|
<Value> ice_show_open </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 48 </X>
|
|
<Y> 116 </Y>
|
|
<Size> 32 </Size>
|
|
<Width>128</Width>
|
|
<Height>64</Height>
|
|
<Font> MITRegularTTF </Font>
|
|
<Color> 0x5A5A5A </Color>
|
|
<Mode> "disable-show" </Mode>
|
|
<State> $Sum1299020003 </State>
|
|
<Value> text_unavailable </Value>
|
|
<Align> center-vertical-horizontal </Align>
|
|
</Text>
|
|
</Block>
|
|
; - - -
|
|
; ==================> Len = 12
|
|
; - 12-99-02-0001 -
|
|
<Block>
|
|
<MarginLeft> 33 </MarginLeft>
|
|
<MarginTop> 22 </MarginTop>
|
|
<Width> 225 </Width>
|
|
<Height> 296 </Height>
|
|
<State> Flag( 12-99-02-0001.Button,$Sum1299020001) </State>
|
|
<Button>
|
|
<State> $Sum1299020001 </State>
|
|
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_PEPSI_COFFEE_rerun.png" </Filename>
|
|
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_PEPSI_COFFEE_rerun.png" </FilenamePress>
|
|
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_PEPSI_COFFEE_rerun.png" </FilenameDisable>
|
|
<OverlayImage> xmlpro( 12-99-02-0001, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventOnClick>
|
|
Var NameDrink = "THAT'S LIT"
|
|
Var NameDrinkTH = "เข้มจัดเลยพี่"
|
|
Var DrinkDescriptionTH = "กาแฟ เป๊ปซี่"
|
|
Var DrinkDescription = "Espresso, Pepsi, Water"
|
|
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_PEPSI_COFFEE_rerun.png"
|
|
Var OpenFromXML = CurrentXMLFileName2
|
|
Var PriceD1 = 30
|
|
Var PriceD2 = 30
|
|
Var PriceD3 = 30
|
|
Var OldPrice = 35
|
|
Var PD_CODE1 = "##-##-##-####"
|
|
Var PD_CODE2 = "12-99-02-0001"
|
|
Var PD_CODE3 = "##-##-##-####"
|
|
Var PD_STAGE_1 = "Disable2"
|
|
Var PD_STAGE_2 = $12-99-02-0001.Button
|
|
Var PD_STAGE_3 = "Disable2"
|
|
Var OverlayMenuFilter !assigned xmlpro( 12-99-02-0001, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
|
DEBUGVAR OverlayMenuFilter
|
|
Var SelectCountDrinkType = 0
|
|
Var DefaultDrinkType = 0
|
|
If PD_STAGE_1 = "Enable" Then
|
|
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
Var DefaultDrinkType = 1
|
|
EndIf
|
|
If PD_STAGE_2 = "Enable" Then
|
|
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
Var DefaultDrinkType = 2
|
|
EndIf
|
|
If PD_STAGE_3 = "Enable" Then
|
|
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
Var DefaultDrinkType = 3
|
|
EndIf
|
|
If PD_STAGE_2 = "Enable" Then
|
|
Topping "Load" "12-99-02-0001"
|
|
Else
|
|
If PD_STAGE_1 = "Enable" Then
|
|
Topping "Load" "-"
|
|
Else
|
|
Topping "Load" "-"
|
|
EndIf
|
|
EndIf
|
|
Var menu_name_eng_hot = $##-##-##-####.NameE
|
|
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
|
Var menu_name_thai_hot = $##-##-##-####.Name
|
|
Var menu_desc_thai_hot = $##-##-##-####.description
|
|
|
|
Var menu_name_eng_cold = $12-99-02-0001.NameE
|
|
Var menu_desc_eng_cold = $12-99-02-0001.descriptionE
|
|
Var menu_name_thai_cold = $12-99-02-0001.Name
|
|
Var menu_desc_thai_cold = $12-99-02-0001.description
|
|
|
|
Var menu_name_eng_blender = $##-##-##-####.NameE
|
|
Var menu_desc_eng_blender = $##-##-##-####.descriptionE
|
|
Var menu_name_thai_blender = $##-##-##-####.Name
|
|
Var menu_desc_thai_blender = $##-##-##-####.description
|
|
|
|
DEBUGVAR PD_STAGE_1
|
|
DEBUGVAR PD_STAGE_2
|
|
DEBUGVAR PD_STAGE_3
|
|
Var SelectDrinkType = 0
|
|
Var FromRerunPro = 1
|
|
Var RerunProCode = "PMD05"
|
|
|
|
|
|
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> "THAT'S LIT" </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> "Espresso, Pepsi, Water" </Value>
|
|
</Text>
|
|
<Image>
|
|
<X> 16 </X>
|
|
<Y> 264 </Y>
|
|
<Filename> Var( DirImage2 + "option_deactive.png" ) </Filename>
|
|
</Image>
|
|
<Image>
|
|
<X> 16 </X>
|
|
<Y> 264 </Y>
|
|
<State> "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( 30 , DisplayFormat, PreScaleConvertShow) </Value>; test
|
|
</Text>
|
|
<Image>
|
|
<X> 81 </X>
|
|
<Y> 264 </Y>
|
|
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
|
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
|
<State> $12-99-02-0001.Button </State>
|
|
</Image>
|
|
<Text>
|
|
<X> 115 </X>
|
|
<Y> TextPriceMenuY </Y>
|
|
<Size> TextPriceMenuSize </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x6F5F51 </Color>
|
|
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
|
<State> $12-99-02-0001.Button </State>
|
|
<Value> StringFmt( 30 , 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> "Invisible" </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> "Invisible" </State>
|
|
<Value> StringFmt( 30 , 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 $Sum1299020001 = "Disable" Then
|
|
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
|
STRCONTAIN "ERR" $12-99-02-0001.TAG tag2_is_disable
|
|
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
|
Var return = "Invisible"
|
|
If tag1_is_disable = "true" Then
|
|
Var return = "Enable"
|
|
EndIf
|
|
If tag2_is_disable = "true" Then
|
|
Var return = "Enable"
|
|
EndIf
|
|
If tag3_is_disable = "true" Then
|
|
Var return = "Enable"
|
|
EndIf
|
|
Else
|
|
Var return = "Invisible"
|
|
EndIf
|
|
)
|
|
</State>
|
|
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
|
</Image>
|
|
<Text>
|
|
<X> 84 </X>
|
|
<Y> 266 </Y>
|
|
<Size> 10 </Size>
|
|
<Font> OpunMediumTTF </Font>
|
|
<Color> 0xDE794E </Color>
|
|
<State> ice_tab_process_show </State>
|
|
<Value> ice_show_open </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 48 </X>
|
|
<Y> 116 </Y>
|
|
<Size> 32 </Size>
|
|
<Width>128</Width>
|
|
<Height>64</Height>
|
|
<Font> MITRegularTTF </Font>
|
|
<Color> 0x5A5A5A </Color>
|
|
<Mode> "disable-show" </Mode>
|
|
<State> $Sum1299020001 </State>
|
|
<Value> text_unavailable </Value>
|
|
<Align> center-vertical-horizontal </Align>
|
|
</Text>
|
|
</Block>
|
|
; - - -
|
|
; ==================> Len = 12
|
|
; - - 12-99-03-0046
|
|
<Block>
|
|
<MarginLeft> 33 </MarginLeft>
|
|
<MarginTop> 22 </MarginTop>
|
|
<Width> 225 </Width>
|
|
<Height> 296 </Height>
|
|
<State> Flag( 12-99-03-0046.Button,$Sum1299030046) </State>
|
|
<Button>
|
|
<State> $Sum1299030046 </State>
|
|
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_jasmine_tea_motherday_rerun.png" </Filename>
|
|
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_jasmine_tea_motherday_rerun.png" </FilenamePress>
|
|
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_jasmine_tea_motherday_rerun.png" </FilenameDisable>
|
|
<OverlayImage> xmlpro( 12-99-03-0046, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventOnClick>
|
|
Var NameDrink = "JASMINE TEA"
|
|
Var NameDrinkTH = "นี่สิตัวแม่"
|
|
Var DrinkDescriptionTH = "ชามะลิ น้ำ "
|
|
Var DrinkDescription = "Jasmine Tea ,Water"
|
|
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_jasmine_tea_motherday_rerun.png"
|
|
Var OpenFromXML = CurrentXMLFileName2
|
|
Var PriceD1 = 20
|
|
Var PriceD2 = 20
|
|
Var PriceD3 = 20
|
|
Var OldPrice = 25
|
|
Var PD_CODE1 = "##-##-##-####"
|
|
Var PD_CODE2 = "##-##-##-####"
|
|
Var PD_CODE3 = "12-99-03-0046"
|
|
Var PD_STAGE_1 = "Disable2"
|
|
Var PD_STAGE_2 = "Disable2"
|
|
Var PD_STAGE_3 = $12-99-03-0046.Button
|
|
Var OverlayMenuFilter !assigned xmlpro( 12-99-03-0046, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
|
DEBUGVAR OverlayMenuFilter
|
|
Var SelectCountDrinkType = 0
|
|
Var DefaultDrinkType = 0
|
|
If PD_STAGE_1 = "Enable" Then
|
|
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
Var DefaultDrinkType = 1
|
|
EndIf
|
|
If PD_STAGE_2 = "Enable" Then
|
|
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
Var DefaultDrinkType = 2
|
|
EndIf
|
|
If PD_STAGE_3 = "Enable" Then
|
|
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
Var DefaultDrinkType = 3
|
|
EndIf
|
|
If PD_STAGE_2 = "Enable" Then
|
|
Topping "Load" "-"
|
|
Else
|
|
If PD_STAGE_1 = "Enable" Then
|
|
Topping "Load" "-"
|
|
Else
|
|
Topping "Load" "12-99-03-0046"
|
|
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-99-03-0046.NameE
|
|
Var menu_desc_eng_blender = $12-99-03-0046.descriptionE
|
|
Var menu_name_thai_blender = $12-99-03-0046.Name
|
|
Var menu_desc_thai_blender = $12-99-03-0046.description
|
|
|
|
DEBUGVAR PD_STAGE_1
|
|
DEBUGVAR PD_STAGE_2
|
|
DEBUGVAR PD_STAGE_3
|
|
Var SelectDrinkType = 0
|
|
Var FromRerunPro = 1
|
|
Var RerunProCode = "PMD05"
|
|
|
|
|
|
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> "JASMINE TEA" </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 220 </Y>
|
|
<Size> 14 </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x6F5F51 </Color>
|
|
<State> showengText </State>
|
|
<Value> "Jasmine Tea ,Water" </Value>
|
|
</Text>
|
|
<Image>
|
|
<X> 16 </X>
|
|
<Y> 264 </Y>
|
|
<Filename> Var( DirImage2 + "option_deactive.png" ) </Filename>
|
|
</Image>
|
|
<Image>
|
|
<X> 16 </X>
|
|
<Y> 264 </Y>
|
|
<State> "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( 20 , 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( 20 , 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-99-03-0046.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-99-03-0046.Button </State>
|
|
<Value> StringFmt( 20 , 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 $Sum1299030046 = "Disable" Then
|
|
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
|
STRCONTAIN "ERR" $##-##-##-####.TAG tag2_is_disable
|
|
STRCONTAIN "ERR" $12-99-03-0046.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> $Sum1299030046 </State>
|
|
<Value> text_unavailable </Value>
|
|
<Align> center-vertical-horizontal </Align>
|
|
</Text>
|
|
</Block>
|
|
; - - -
|
|
; ==================> Len = 12
|
|
; - 12-99-02-0011 -
|
|
<Block>
|
|
<MarginLeft> 33 </MarginLeft>
|
|
<MarginTop> 22 </MarginTop>
|
|
<Width> 225 </Width>
|
|
<Height> 296 </Height>
|
|
<State> Flag( 12-99-02-0011.Button,$Sum1299020011) </State>
|
|
<Button>
|
|
<State> $Sum1299020011 </State>
|
|
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_Melon_Lime_rerun.png" </Filename>
|
|
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_Melon_Lime_rerun.png" </FilenamePress>
|
|
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_Melon_Lime_rerun.png" </FilenameDisable>
|
|
<OverlayImage> xmlpro( 12-99-02-0011, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventOnClick>
|
|
Var NameDrink = "MALONNA"
|
|
Var NameDrinkTH = "มาลอน่า"
|
|
Var DrinkDescriptionTH = "น้ำเชื่อมเมล่อน ผงมะนาว ชาไทย และน้ำแข็ง"
|
|
Var DrinkDescription = "melon, Limenade, Thai tea and ice"
|
|
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_Melon_Lime_rerun.png"
|
|
Var OpenFromXML = CurrentXMLFileName2
|
|
Var PriceD1 = 25
|
|
Var PriceD2 = 25
|
|
Var PriceD3 = 25
|
|
Var OldPrice = 30
|
|
Var PD_CODE1 = "##-##-##-####"
|
|
Var PD_CODE2 = "12-99-02-0011"
|
|
Var PD_CODE3 = "##-##-##-####"
|
|
Var PD_STAGE_1 = "Disable2"
|
|
Var PD_STAGE_2 = $12-99-02-0011.Button
|
|
Var PD_STAGE_3 = "Disable2"
|
|
Var OverlayMenuFilter !assigned xmlpro( 12-99-02-0011, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
|
DEBUGVAR OverlayMenuFilter
|
|
Var SelectCountDrinkType = 0
|
|
Var DefaultDrinkType = 0
|
|
If PD_STAGE_1 = "Enable" Then
|
|
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
Var DefaultDrinkType = 1
|
|
EndIf
|
|
If PD_STAGE_2 = "Enable" Then
|
|
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
Var DefaultDrinkType = 2
|
|
EndIf
|
|
If PD_STAGE_3 = "Enable" Then
|
|
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
Var DefaultDrinkType = 3
|
|
EndIf
|
|
If PD_STAGE_2 = "Enable" Then
|
|
Topping "Load" "12-99-02-0011"
|
|
Else
|
|
If PD_STAGE_1 = "Enable" Then
|
|
Topping "Load" "-"
|
|
Else
|
|
Topping "Load" "-"
|
|
EndIf
|
|
EndIf
|
|
Var menu_name_eng_hot = $##-##-##-####.NameE
|
|
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
|
Var menu_name_thai_hot = $##-##-##-####.Name
|
|
Var menu_desc_thai_hot = $##-##-##-####.description
|
|
|
|
Var menu_name_eng_cold = $12-99-02-0011.NameE
|
|
Var menu_desc_eng_cold = $12-99-02-0011.descriptionE
|
|
Var menu_name_thai_cold = $12-99-02-0011.Name
|
|
Var menu_desc_thai_cold = $12-99-02-0011.description
|
|
|
|
Var menu_name_eng_blender = $##-##-##-####.NameE
|
|
Var menu_desc_eng_blender = $##-##-##-####.descriptionE
|
|
Var menu_name_thai_blender = $##-##-##-####.Name
|
|
Var menu_desc_thai_blender = $##-##-##-####.description
|
|
|
|
DEBUGVAR PD_STAGE_1
|
|
DEBUGVAR PD_STAGE_2
|
|
DEBUGVAR PD_STAGE_3
|
|
Var SelectDrinkType = 0
|
|
Var FromRerunPro = 1
|
|
Var RerunProCode = "PMD05"
|
|
|
|
|
|
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> "MALONNA" </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> "melon, Limenade, Thai tea and ice" </Value>
|
|
</Text>
|
|
<Image>
|
|
<X> 16 </X>
|
|
<Y> 264 </Y>
|
|
<Filename> Var( DirImage2 + "option_deactive.png" ) </Filename>
|
|
</Image>
|
|
<Image>
|
|
<X> 16 </X>
|
|
<Y> 264 </Y>
|
|
<State> "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( 25 , DisplayFormat, PreScaleConvertShow) </Value>; test
|
|
</Text>
|
|
<Image>
|
|
<X> 81 </X>
|
|
<Y> 264 </Y>
|
|
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
|
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
|
<State> $12-99-02-0011.Button </State>
|
|
</Image>
|
|
<Text>
|
|
<X> 115 </X>
|
|
<Y> TextPriceMenuY </Y>
|
|
<Size> TextPriceMenuSize </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x6F5F51 </Color>
|
|
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
|
<State> $12-99-02-0011.Button </State>
|
|
<Value> StringFmt( 25 , 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> "Invisible" </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> "Invisible" </State>
|
|
<Value> StringFmt( 25 , 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 $Sum1299020011 = "Disable" Then
|
|
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
|
STRCONTAIN "ERR" $12-99-02-0011.TAG tag2_is_disable
|
|
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
|
Var return = "Invisible"
|
|
If tag1_is_disable = "true" Then
|
|
Var return = "Enable"
|
|
EndIf
|
|
If tag2_is_disable = "true" Then
|
|
Var return = "Enable"
|
|
EndIf
|
|
If tag3_is_disable = "true" Then
|
|
Var return = "Enable"
|
|
EndIf
|
|
Else
|
|
Var return = "Invisible"
|
|
EndIf
|
|
)
|
|
</State>
|
|
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
|
</Image>
|
|
<Text>
|
|
<X> 84 </X>
|
|
<Y> 266 </Y>
|
|
<Size> 10 </Size>
|
|
<Font> OpunMediumTTF </Font>
|
|
<Color> 0xDE794E </Color>
|
|
<State> ice_tab_process_show </State>
|
|
<Value> ice_show_open </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 48 </X>
|
|
<Y> 116 </Y>
|
|
<Size> 32 </Size>
|
|
<Width>128</Width>
|
|
<Height>64</Height>
|
|
<Font> MITRegularTTF </Font>
|
|
<Color> 0x5A5A5A </Color>
|
|
<Mode> "disable-show" </Mode>
|
|
<State> $Sum1299020011 </State>
|
|
<Value> text_unavailable </Value>
|
|
<Align> center-vertical-horizontal </Align>
|
|
</Text>
|
|
</Block>
|
|
; - - -
|
|
; ==================> Len = 12
|
|
; - 12-99-02-0015 -
|
|
<Block>
|
|
<MarginLeft> 33 </MarginLeft>
|
|
<MarginTop> 22 </MarginTop>
|
|
<Width> 225 </Width>
|
|
<Height> 296 </Height>
|
|
<State> Flag( 12-99-02-0015.Button,$Sum1299020015) </State>
|
|
<Button>
|
|
<State> $Sum1299020015 </State>
|
|
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_Melon_PLUM_Soda_rerun.png" </Filename>
|
|
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_Melon_PLUM_Soda_rerun.png" </FilenamePress>
|
|
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_Melon_PLUM_Soda_rerun.png" </FilenameDisable>
|
|
<OverlayImage> xmlpro( 12-99-02-0015, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventOnClick>
|
|
Var NameDrink = "MEBOZA"
|
|
Var NameDrinkTH = "เมโบซ่า"
|
|
Var DrinkDescriptionTH = "น้ำเชื่อมเมล่อน น้ำเชื่อมบ๊วย โซดา และน้ำแข็ง"
|
|
Var DrinkDescription = "melon, Ume , soda and ice"
|
|
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_Melon_PLUM_Soda_rerun.png"
|
|
Var OpenFromXML = CurrentXMLFileName2
|
|
Var PriceD1 = 25
|
|
Var PriceD2 = 25
|
|
Var PriceD3 = 25
|
|
Var OldPrice = 30
|
|
Var PD_CODE1 = "##-##-##-####"
|
|
Var PD_CODE2 = "12-99-02-0015"
|
|
Var PD_CODE3 = "##-##-##-####"
|
|
Var PD_STAGE_1 = "Disable2"
|
|
Var PD_STAGE_2 = $12-99-02-0015.Button
|
|
Var PD_STAGE_3 = "Disable2"
|
|
Var OverlayMenuFilter !assigned xmlpro( 12-99-02-0015, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
|
DEBUGVAR OverlayMenuFilter
|
|
Var SelectCountDrinkType = 0
|
|
Var DefaultDrinkType = 0
|
|
If PD_STAGE_1 = "Enable" Then
|
|
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
Var DefaultDrinkType = 1
|
|
EndIf
|
|
If PD_STAGE_2 = "Enable" Then
|
|
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
Var DefaultDrinkType = 2
|
|
EndIf
|
|
If PD_STAGE_3 = "Enable" Then
|
|
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
Var DefaultDrinkType = 3
|
|
EndIf
|
|
If PD_STAGE_2 = "Enable" Then
|
|
Topping "Load" "12-99-02-0015"
|
|
Else
|
|
If PD_STAGE_1 = "Enable" Then
|
|
Topping "Load" "-"
|
|
Else
|
|
Topping "Load" "-"
|
|
EndIf
|
|
EndIf
|
|
Var menu_name_eng_hot = $##-##-##-####.NameE
|
|
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
|
Var menu_name_thai_hot = $##-##-##-####.Name
|
|
Var menu_desc_thai_hot = $##-##-##-####.description
|
|
|
|
Var menu_name_eng_cold = $12-99-02-0015.NameE
|
|
Var menu_desc_eng_cold = $12-99-02-0015.descriptionE
|
|
Var menu_name_thai_cold = $12-99-02-0015.Name
|
|
Var menu_desc_thai_cold = $12-99-02-0015.description
|
|
|
|
Var menu_name_eng_blender = $##-##-##-####.NameE
|
|
Var menu_desc_eng_blender = $##-##-##-####.descriptionE
|
|
Var menu_name_thai_blender = $##-##-##-####.Name
|
|
Var menu_desc_thai_blender = $##-##-##-####.description
|
|
|
|
DEBUGVAR PD_STAGE_1
|
|
DEBUGVAR PD_STAGE_2
|
|
DEBUGVAR PD_STAGE_3
|
|
Var SelectDrinkType = 0
|
|
Var FromRerunPro = 1
|
|
Var RerunProCode = "PMD05"
|
|
|
|
|
|
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> "MEBOZA" </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> "melon, Ume , soda and ice" </Value>
|
|
</Text>
|
|
<Image>
|
|
<X> 16 </X>
|
|
<Y> 264 </Y>
|
|
<Filename> Var( DirImage2 + "option_deactive.png" ) </Filename>
|
|
</Image>
|
|
<Image>
|
|
<X> 16 </X>
|
|
<Y> 264 </Y>
|
|
<State> "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( 25 , DisplayFormat, PreScaleConvertShow) </Value>; test
|
|
</Text>
|
|
<Image>
|
|
<X> 81 </X>
|
|
<Y> 264 </Y>
|
|
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
|
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
|
<State> $12-99-02-0015.Button </State>
|
|
</Image>
|
|
<Text>
|
|
<X> 115 </X>
|
|
<Y> TextPriceMenuY </Y>
|
|
<Size> TextPriceMenuSize </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x6F5F51 </Color>
|
|
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
|
<State> $12-99-02-0015.Button </State>
|
|
<Value> StringFmt( 25 , 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> "Invisible" </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> "Invisible" </State>
|
|
<Value> StringFmt( 25 , 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 $Sum1299020015 = "Disable" Then
|
|
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
|
STRCONTAIN "ERR" $12-99-02-0015.TAG tag2_is_disable
|
|
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
|
Var return = "Invisible"
|
|
If tag1_is_disable = "true" Then
|
|
Var return = "Enable"
|
|
EndIf
|
|
If tag2_is_disable = "true" Then
|
|
Var return = "Enable"
|
|
EndIf
|
|
If tag3_is_disable = "true" Then
|
|
Var return = "Enable"
|
|
EndIf
|
|
Else
|
|
Var return = "Invisible"
|
|
EndIf
|
|
)
|
|
</State>
|
|
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
|
</Image>
|
|
<Text>
|
|
<X> 84 </X>
|
|
<Y> 266 </Y>
|
|
<Size> 10 </Size>
|
|
<Font> OpunMediumTTF </Font>
|
|
<Color> 0xDE794E </Color>
|
|
<State> ice_tab_process_show </State>
|
|
<Value> ice_show_open </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 48 </X>
|
|
<Y> 116 </Y>
|
|
<Size> 32 </Size>
|
|
<Width>128</Width>
|
|
<Height>64</Height>
|
|
<Font> MITRegularTTF </Font>
|
|
<Color> 0x5A5A5A </Color>
|
|
<Mode> "disable-show" </Mode>
|
|
<State> $Sum1299020015 </State>
|
|
<Value> text_unavailable </Value>
|
|
<Align> center-vertical-horizontal </Align>
|
|
</Text>
|
|
</Block>
|
|
; - - -
|
|
; ==================> Len = 12
|
|
; - 12-99-05-0059 -
|
|
<Block>
|
|
<MarginLeft> 33 </MarginLeft>
|
|
<MarginTop> 22 </MarginTop>
|
|
<Width> 225 </Width>
|
|
<Height> 296 </Height>
|
|
<State> Flag( 12-99-05-0059.Button,$Sum1299050059) </State>
|
|
<Button>
|
|
<State> $Sum1299050059 </State>
|
|
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_room_no_13_rerun.png" </Filename>
|
|
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_room_no_13_rerun.png" </FilenamePress>
|
|
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_room_no_13_rerun.png" </FilenameDisable>
|
|
<OverlayImage> xmlpro( 12-99-05-0059, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventOnClick>
|
|
Var NameDrink = "Room no.13"
|
|
Var NameDrinkTH = "ห้องเชือด หมายเลข 13"
|
|
Var DrinkDescriptionTH = "เป๊ปซี่ น้ำเชื่อมลิ้นจี่ มะนาว และโซดา"
|
|
Var DrinkDescription = "pepsi, lychee , Lime and Soda"
|
|
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_room_no_13_rerun.png"
|
|
Var OpenFromXML = CurrentXMLFileName2
|
|
Var PriceD1 = 15
|
|
Var PriceD2 = 15
|
|
Var PriceD3 = 15
|
|
Var OldPrice = 20
|
|
Var PD_CODE1 = "##-##-##-####"
|
|
Var PD_CODE2 = "12-99-05-0059"
|
|
Var PD_CODE3 = "##-##-##-####"
|
|
Var PD_STAGE_1 = "Disable2"
|
|
Var PD_STAGE_2 = $12-99-05-0059.Button
|
|
Var PD_STAGE_3 = "Disable2"
|
|
Var OverlayMenuFilter !assigned xmlpro( 12-99-05-0059, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
|
DEBUGVAR OverlayMenuFilter
|
|
Var SelectCountDrinkType = 0
|
|
Var DefaultDrinkType = 0
|
|
If PD_STAGE_1 = "Enable" Then
|
|
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
Var DefaultDrinkType = 1
|
|
EndIf
|
|
If PD_STAGE_2 = "Enable" Then
|
|
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
Var DefaultDrinkType = 2
|
|
EndIf
|
|
If PD_STAGE_3 = "Enable" Then
|
|
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
Var DefaultDrinkType = 3
|
|
EndIf
|
|
If PD_STAGE_2 = "Enable" Then
|
|
Topping "Load" "12-99-05-0059"
|
|
Else
|
|
If PD_STAGE_1 = "Enable" Then
|
|
Topping "Load" "-"
|
|
Else
|
|
Topping "Load" "-"
|
|
EndIf
|
|
EndIf
|
|
Var menu_name_eng_hot = $##-##-##-####.NameE
|
|
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
|
Var menu_name_thai_hot = $##-##-##-####.Name
|
|
Var menu_desc_thai_hot = $##-##-##-####.description
|
|
|
|
Var menu_name_eng_cold = $12-99-05-0059.NameE
|
|
Var menu_desc_eng_cold = $12-99-05-0059.descriptionE
|
|
Var menu_name_thai_cold = $12-99-05-0059.Name
|
|
Var menu_desc_thai_cold = $12-99-05-0059.description
|
|
|
|
Var menu_name_eng_blender = $##-##-##-####.NameE
|
|
Var menu_desc_eng_blender = $##-##-##-####.descriptionE
|
|
Var menu_name_thai_blender = $##-##-##-####.Name
|
|
Var menu_desc_thai_blender = $##-##-##-####.description
|
|
|
|
DEBUGVAR PD_STAGE_1
|
|
DEBUGVAR PD_STAGE_2
|
|
DEBUGVAR PD_STAGE_3
|
|
Var SelectDrinkType = 0
|
|
Var FromRerunPro = 1
|
|
Var RerunProCode = "PMD05"
|
|
|
|
|
|
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> "ห้องเชือด
|
|
หมายเลข 13" </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> "Room no.13" </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> "pepsi, lychee , Lime and Soda" </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( 15 , DisplayFormat, PreScaleConvertShow) </Value>; test
|
|
</Text>
|
|
<Image>
|
|
<X> 81 </X>
|
|
<Y> 264 </Y>
|
|
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
|
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
|
<State> $12-99-05-0059.Button </State>
|
|
</Image>
|
|
<Text>
|
|
<X> 115 </X>
|
|
<Y> TextPriceMenuY </Y>
|
|
<Size> TextPriceMenuSize </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x6F5F51 </Color>
|
|
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
|
<State> $12-99-05-0059.Button </State>
|
|
<Value> StringFmt( 15 , 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> "Invisible" </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> "Invisible" </State>
|
|
<Value> StringFmt( 15 , 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 $Sum1299050059 = "Disable" Then
|
|
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
|
STRCONTAIN "ERR" $12-99-05-0059.TAG tag2_is_disable
|
|
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
|
Var return = "Invisible"
|
|
If tag1_is_disable = "true" Then
|
|
Var return = "Enable"
|
|
EndIf
|
|
If tag2_is_disable = "true" Then
|
|
Var return = "Enable"
|
|
EndIf
|
|
If tag3_is_disable = "true" Then
|
|
Var return = "Enable"
|
|
EndIf
|
|
Else
|
|
Var return = "Invisible"
|
|
EndIf
|
|
)
|
|
</State>
|
|
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
|
</Image>
|
|
<Text>
|
|
<X> 84 </X>
|
|
<Y> 266 </Y>
|
|
<Size> 10 </Size>
|
|
<Font> OpunMediumTTF </Font>
|
|
<Color> 0xDE794E </Color>
|
|
<State> ice_tab_process_show </State>
|
|
<Value> ice_show_open </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 48 </X>
|
|
<Y> 116 </Y>
|
|
<Size> 32 </Size>
|
|
<Width>128</Width>
|
|
<Height>64</Height>
|
|
<Font> MITRegularTTF </Font>
|
|
<Color> 0x5A5A5A </Color>
|
|
<Mode> "disable-show" </Mode>
|
|
<State> $Sum1299050059 </State>
|
|
<Value> text_unavailable </Value>
|
|
<Align> center-vertical-horizontal </Align>
|
|
</Text>
|
|
</Block>
|
|
; - - -
|
|
; ==================> Len = 12
|
|
; - 12-99-05-0057 -
|
|
<Block>
|
|
<MarginLeft> 33 </MarginLeft>
|
|
<MarginTop> 22 </MarginTop>
|
|
<Width> 225 </Width>
|
|
<Height> 296 </Height>
|
|
<State> Flag( 12-99-05-0057.Button,$Sum1299050057) </State>
|
|
<Button>
|
|
<State> $Sum1299050057 </State>
|
|
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_haunting_of_the_past_rerun.png" </Filename>
|
|
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_haunting_of_the_past_rerun.png" </FilenamePress>
|
|
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_haunting_of_the_past_rerun.png" </FilenameDisable>
|
|
<OverlayImage> xmlpro( 12-99-05-0057, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventOnClick>
|
|
Var NameDrink = "The Haunting of the Past"
|
|
Var NameDrinkTH = "พยาบาทชาติที่แล้ว"
|
|
Var DrinkDescriptionTH = "เป๊ปซี่ น้ำเชื่อมชูกำลัง มะนาว และโซดา"
|
|
Var DrinkDescription = "Pepsi Energy, Lime and Soda"
|
|
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_haunting_of_the_past_rerun.png"
|
|
Var OpenFromXML = CurrentXMLFileName2
|
|
Var PriceD1 = 15
|
|
Var PriceD2 = 15
|
|
Var PriceD3 = 15
|
|
Var OldPrice = 20
|
|
Var PD_CODE1 = "##-##-##-####"
|
|
Var PD_CODE2 = "12-99-05-0057"
|
|
Var PD_CODE3 = "##-##-##-####"
|
|
Var PD_STAGE_1 = "Disable2"
|
|
Var PD_STAGE_2 = $12-99-05-0057.Button
|
|
Var PD_STAGE_3 = "Disable2"
|
|
Var OverlayMenuFilter !assigned xmlpro( 12-99-05-0057, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
|
DEBUGVAR OverlayMenuFilter
|
|
Var SelectCountDrinkType = 0
|
|
Var DefaultDrinkType = 0
|
|
If PD_STAGE_1 = "Enable" Then
|
|
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
Var DefaultDrinkType = 1
|
|
EndIf
|
|
If PD_STAGE_2 = "Enable" Then
|
|
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
Var DefaultDrinkType = 2
|
|
EndIf
|
|
If PD_STAGE_3 = "Enable" Then
|
|
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
Var DefaultDrinkType = 3
|
|
EndIf
|
|
If PD_STAGE_2 = "Enable" Then
|
|
Topping "Load" "12-99-05-0057"
|
|
Else
|
|
If PD_STAGE_1 = "Enable" Then
|
|
Topping "Load" "-"
|
|
Else
|
|
Topping "Load" "-"
|
|
EndIf
|
|
EndIf
|
|
Var menu_name_eng_hot = $##-##-##-####.NameE
|
|
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
|
Var menu_name_thai_hot = $##-##-##-####.Name
|
|
Var menu_desc_thai_hot = $##-##-##-####.description
|
|
|
|
Var menu_name_eng_cold = $12-99-05-0057.NameE
|
|
Var menu_desc_eng_cold = $12-99-05-0057.descriptionE
|
|
Var menu_name_thai_cold = $12-99-05-0057.Name
|
|
Var menu_desc_thai_cold = $12-99-05-0057.description
|
|
|
|
Var menu_name_eng_blender = $##-##-##-####.NameE
|
|
Var menu_desc_eng_blender = $##-##-##-####.descriptionE
|
|
Var menu_name_thai_blender = $##-##-##-####.Name
|
|
Var menu_desc_thai_blender = $##-##-##-####.description
|
|
|
|
DEBUGVAR PD_STAGE_1
|
|
DEBUGVAR PD_STAGE_2
|
|
DEBUGVAR PD_STAGE_3
|
|
Var SelectDrinkType = 0
|
|
Var FromRerunPro = 1
|
|
Var RerunProCode = "PMD05"
|
|
|
|
|
|
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> "The Haunting of
|
|
the Past" </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> "Pepsi Energy, Lime and Soda" </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( 15 , DisplayFormat, PreScaleConvertShow) </Value>; test
|
|
</Text>
|
|
<Image>
|
|
<X> 81 </X>
|
|
<Y> 264 </Y>
|
|
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
|
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
|
<State> $12-99-05-0057.Button </State>
|
|
</Image>
|
|
<Text>
|
|
<X> 115 </X>
|
|
<Y> TextPriceMenuY </Y>
|
|
<Size> TextPriceMenuSize </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x6F5F51 </Color>
|
|
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
|
<State> $12-99-05-0057.Button </State>
|
|
<Value> StringFmt( 15 , 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> "Invisible" </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> "Invisible" </State>
|
|
<Value> StringFmt( 15 , 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 $Sum1299050057 = "Disable" Then
|
|
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
|
STRCONTAIN "ERR" $12-99-05-0057.TAG tag2_is_disable
|
|
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
|
Var return = "Invisible"
|
|
If tag1_is_disable = "true" Then
|
|
Var return = "Enable"
|
|
EndIf
|
|
If tag2_is_disable = "true" Then
|
|
Var return = "Enable"
|
|
EndIf
|
|
If tag3_is_disable = "true" Then
|
|
Var return = "Enable"
|
|
EndIf
|
|
Else
|
|
Var return = "Invisible"
|
|
EndIf
|
|
)
|
|
</State>
|
|
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
|
</Image>
|
|
<Text>
|
|
<X> 84 </X>
|
|
<Y> 266 </Y>
|
|
<Size> 10 </Size>
|
|
<Font> OpunMediumTTF </Font>
|
|
<Color> 0xDE794E </Color>
|
|
<State> ice_tab_process_show </State>
|
|
<Value> ice_show_open </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 48 </X>
|
|
<Y> 116 </Y>
|
|
<Size> 32 </Size>
|
|
<Width>128</Width>
|
|
<Height>64</Height>
|
|
<Font> MITRegularTTF </Font>
|
|
<Color> 0x5A5A5A </Color>
|
|
<Mode> "disable-show" </Mode>
|
|
<State> $Sum1299050057 </State>
|
|
<Value> text_unavailable </Value>
|
|
<Align> center-vertical-horizontal </Align>
|
|
</Text>
|
|
</Block>
|
|
; - - -
|
|
; ==================> Len = 12
|
|
; - - 12-03-03-0035
|
|
<Block>
|
|
<MarginLeft> 33 </MarginLeft>
|
|
<MarginTop> 22 </MarginTop>
|
|
<Width> 225 </Width>
|
|
<Height> 296 </Height>
|
|
<State> Flag( 12-03-03-0035.Button,$Sum1203030035) </State>
|
|
<Button>
|
|
<State> $Sum1203030035 </State>
|
|
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_Mint_Wealthy_Cocoa_rerun.png" </Filename>
|
|
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_Mint_Wealthy_Cocoa_rerun.png" </FilenamePress>
|
|
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_Mint_Wealthy_Cocoa_rerun.png" </FilenameDisable>
|
|
<OverlayImage> xmlpro( 12-03-03-0035, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventOnClick>
|
|
Var NameDrink = "COCOA MINT"
|
|
Var NameDrinkTH = "รวยจนช็อก! น็อคแล้วไหม"
|
|
Var DrinkDescriptionTH = "น้ำเชื่อมมินต์ นม น้ำตาล และโกโก้"
|
|
Var DrinkDescription = "Mint Syrup, Milk, Sugar, Cocoa"
|
|
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_Mint_Wealthy_Cocoa_rerun.png"
|
|
Var OpenFromXML = CurrentXMLFileName2
|
|
Var PriceD1 = 35
|
|
Var PriceD2 = 35
|
|
Var PriceD3 = 35
|
|
Var OldPrice = 45
|
|
Var PD_CODE1 = "##-##-##-####"
|
|
Var PD_CODE2 = "##-##-##-####"
|
|
Var PD_CODE3 = "12-03-03-0035"
|
|
Var PD_STAGE_1 = "Disable2"
|
|
Var PD_STAGE_2 = "Disable2"
|
|
Var PD_STAGE_3 = $12-03-03-0035.Button
|
|
Var OverlayMenuFilter !assigned xmlpro( 12-03-03-0035, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
|
DEBUGVAR OverlayMenuFilter
|
|
Var SelectCountDrinkType = 0
|
|
Var DefaultDrinkType = 0
|
|
If PD_STAGE_1 = "Enable" Then
|
|
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
Var DefaultDrinkType = 1
|
|
EndIf
|
|
If PD_STAGE_2 = "Enable" Then
|
|
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
Var DefaultDrinkType = 2
|
|
EndIf
|
|
If PD_STAGE_3 = "Enable" Then
|
|
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
Var DefaultDrinkType = 3
|
|
EndIf
|
|
If PD_STAGE_2 = "Enable" Then
|
|
Topping "Load" "-"
|
|
Else
|
|
If PD_STAGE_1 = "Enable" Then
|
|
Topping "Load" "-"
|
|
Else
|
|
Topping "Load" "12-03-03-0035"
|
|
EndIf
|
|
EndIf
|
|
Var menu_name_eng_hot = $##-##-##-####.NameE
|
|
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
|
Var menu_name_thai_hot = $##-##-##-####.Name
|
|
Var menu_desc_thai_hot = $##-##-##-####.description
|
|
|
|
Var menu_name_eng_cold = $##-##-##-####.NameE
|
|
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
|
|
Var menu_name_thai_cold = $##-##-##-####.Name
|
|
Var menu_desc_thai_cold = $##-##-##-####.description
|
|
|
|
Var menu_name_eng_blender = $12-03-03-0035.NameE
|
|
Var menu_desc_eng_blender = $12-03-03-0035.descriptionE
|
|
Var menu_name_thai_blender = $12-03-03-0035.Name
|
|
Var menu_desc_thai_blender = $12-03-03-0035.description
|
|
|
|
DEBUGVAR PD_STAGE_1
|
|
DEBUGVAR PD_STAGE_2
|
|
DEBUGVAR PD_STAGE_3
|
|
Var SelectDrinkType = 0
|
|
Var FromRerunPro = 1
|
|
Var RerunProCode = "PMD10"
|
|
|
|
|
|
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> "COCOA 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> "Mint Syrup, Milk,
|
|
Sugar, 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( 35 , 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( 35 , DisplayFormat, PreScaleConvertShow) </Value>; test
|
|
</Text>
|
|
<Image>
|
|
<X> 146 </X>
|
|
<Y> 264 </Y>
|
|
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
|
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
|
<State> $12-03-03-0035.Button </State>
|
|
</Image>
|
|
<Text>
|
|
<X> 180 </X>
|
|
<Y> TextPriceMenuY </Y>
|
|
<Size> TextPriceMenuSize </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitRegularTTF </Font>
|
|
<Color> 0x6F5F51 </Color>
|
|
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
|
<State> $12-03-03-0035.Button </State>
|
|
<Value> StringFmt( 35 , 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 $Sum1203030035 = "Disable" Then
|
|
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
|
STRCONTAIN "ERR" $##-##-##-####.TAG tag2_is_disable
|
|
STRCONTAIN "ERR" $12-03-03-0035.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> $Sum1203030035 </State>
|
|
<Value> text_unavailable </Value>
|
|
<Align> center-vertical-horizontal </Align>
|
|
</Text>
|
|
</Block>
|
|
; - - -
|
|
; ==================> Len = 12
|
|
; - 12-03-02-0036 -
|
|
<Block>
|
|
<MarginLeft> 33 </MarginLeft>
|
|
<MarginTop> 22 </MarginTop>
|
|
<Width> 225 </Width>
|
|
<Height> 296 </Height>
|
|
<State> Flag( 12-03-02-0036.Button,$Sum1203020036) </State>
|
|
<Button>
|
|
<State> $Sum1203020036 </State>
|
|
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_Mint_Wealthy_Milk_rerun.png" </Filename>
|
|
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_Mint_Wealthy_Milk_rerun.png" </FilenamePress>
|
|
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_Mint_Wealthy_Milk_rerun.png" </FilenameDisable>
|
|
<OverlayImage> xmlpro( 12-03-02-0036, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventOnClick>
|
|
Var NameDrink = "MINT MILK"
|
|
Var NameDrinkTH = "รวยไม่รู้ล้ม เอาผมลงไหมล่ะ"
|
|
Var DrinkDescriptionTH = "น้ำเชื่อมมินต์ และนม "
|
|
Var DrinkDescription = "Mint Syrup and Milk"
|
|
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_Mint_Wealthy_Milk_rerun.png"
|
|
Var OpenFromXML = CurrentXMLFileName2
|
|
Var PriceD1 = 30
|
|
Var PriceD2 = 30
|
|
Var PriceD3 = 30
|
|
Var OldPrice = 40
|
|
Var PD_CODE1 = "##-##-##-####"
|
|
Var PD_CODE2 = "12-03-02-0036"
|
|
Var PD_CODE3 = "##-##-##-####"
|
|
Var PD_STAGE_1 = "Disable2"
|
|
Var PD_STAGE_2 = $12-03-02-0036.Button
|
|
Var PD_STAGE_3 = "Disable2"
|
|
Var OverlayMenuFilter !assigned xmlpro( 12-03-02-0036, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
|
DEBUGVAR OverlayMenuFilter
|
|
Var SelectCountDrinkType = 0
|
|
Var DefaultDrinkType = 0
|
|
If PD_STAGE_1 = "Enable" Then
|
|
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
Var DefaultDrinkType = 1
|
|
EndIf
|
|
If PD_STAGE_2 = "Enable" Then
|
|
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
Var DefaultDrinkType = 2
|
|
EndIf
|
|
If PD_STAGE_3 = "Enable" Then
|
|
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
Var DefaultDrinkType = 3
|
|
EndIf
|
|
If PD_STAGE_2 = "Enable" Then
|
|
Topping "Load" "12-03-02-0036"
|
|
Else
|
|
If PD_STAGE_1 = "Enable" Then
|
|
Topping "Load" "-"
|
|
Else
|
|
Topping "Load" "-"
|
|
EndIf
|
|
EndIf
|
|
Var menu_name_eng_hot = $##-##-##-####.NameE
|
|
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
|
Var menu_name_thai_hot = $##-##-##-####.Name
|
|
Var menu_desc_thai_hot = $##-##-##-####.description
|
|
|
|
Var menu_name_eng_cold = $12-03-02-0036.NameE
|
|
Var menu_desc_eng_cold = $12-03-02-0036.descriptionE
|
|
Var menu_name_thai_cold = $12-03-02-0036.Name
|
|
Var menu_desc_thai_cold = $12-03-02-0036.description
|
|
|
|
Var menu_name_eng_blender = $##-##-##-####.NameE
|
|
Var menu_desc_eng_blender = $##-##-##-####.descriptionE
|
|
Var menu_name_thai_blender = $##-##-##-####.Name
|
|
Var menu_desc_thai_blender = $##-##-##-####.description
|
|
|
|
DEBUGVAR PD_STAGE_1
|
|
DEBUGVAR PD_STAGE_2
|
|
DEBUGVAR PD_STAGE_3
|
|
Var SelectDrinkType = 0
|
|
Var FromRerunPro = 1
|
|
Var RerunProCode = "PMD10"
|
|
|
|
|
|
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> "MINT MILK" </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> "Mint Syrup and Milk" </Value>
|
|
</Text>
|
|
<Image>
|
|
<X> 16 </X>
|
|
<Y> 264 </Y>
|
|
<Filename> Var( DirImage2 + "option_deactive.png" ) </Filename>
|
|
</Image>
|
|
<Image>
|
|
<X> 16 </X>
|
|
<Y> 264 </Y>
|
|
<State> "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( 30 , DisplayFormat, PreScaleConvertShow) </Value>; test
|
|
</Text>
|
|
<Image>
|
|
<X> 81 </X>
|
|
<Y> 264 </Y>
|
|
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
|
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
|
<State> $12-03-02-0036.Button </State>
|
|
</Image>
|
|
<Text>
|
|
<X> 115 </X>
|
|
<Y> TextPriceMenuY </Y>
|
|
<Size> TextPriceMenuSize </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x6F5F51 </Color>
|
|
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
|
<State> $12-03-02-0036.Button </State>
|
|
<Value> StringFmt( 30 , 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> "Invisible" </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> "Invisible" </State>
|
|
<Value> StringFmt( 30 , 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 $Sum1203020036 = "Disable" Then
|
|
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
|
STRCONTAIN "ERR" $12-03-02-0036.TAG tag2_is_disable
|
|
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
|
Var return = "Invisible"
|
|
If tag1_is_disable = "true" Then
|
|
Var return = "Enable"
|
|
EndIf
|
|
If tag2_is_disable = "true" Then
|
|
Var return = "Enable"
|
|
EndIf
|
|
If tag3_is_disable = "true" Then
|
|
Var return = "Enable"
|
|
EndIf
|
|
Else
|
|
Var return = "Invisible"
|
|
EndIf
|
|
)
|
|
</State>
|
|
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
|
</Image>
|
|
<Text>
|
|
<X> 84 </X>
|
|
<Y> 266 </Y>
|
|
<Size> 10 </Size>
|
|
<Font> OpunMediumTTF </Font>
|
|
<Color> 0xDE794E </Color>
|
|
<State> ice_tab_process_show </State>
|
|
<Value> ice_show_open </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 48 </X>
|
|
<Y> 116 </Y>
|
|
<Size> 32 </Size>
|
|
<Width>128</Width>
|
|
<Height>64</Height>
|
|
<Font> MITRegularTTF </Font>
|
|
<Color> 0x5A5A5A </Color>
|
|
<Mode> "disable-show" </Mode>
|
|
<State> $Sum1203020036 </State>
|
|
<Value> text_unavailable </Value>
|
|
<Align> center-vertical-horizontal </Align>
|
|
</Text>
|
|
</Block>
|
|
; - - -
|
|
; ==================> Len = 12
|
|
; - - 12-99-03-0066
|
|
<Block>
|
|
<MarginLeft> 33 </MarginLeft>
|
|
<MarginTop> 22 </MarginTop>
|
|
<Width> 225 </Width>
|
|
<Height> 296 </Height>
|
|
<State> Flag( 12-99-03-0066.Button,$Sum1299030066) </State>
|
|
<Button>
|
|
<State> $Sum1299030066 </State>
|
|
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_haunted_woods_rerun.png" </Filename>
|
|
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_haunted_woods_rerun.png" </FilenamePress>
|
|
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_haunted_woods_rerun.png" </FilenameDisable>
|
|
<OverlayImage> xmlpro( 12-99-03-0066, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventOnClick>
|
|
Var NameDrink = "7 Haunted Woods"
|
|
Var NameDrinkTH = "ดิน 7 ป่าช้า"
|
|
Var DrinkDescriptionTH = "เป๊ปซี่ นม และโอริโอ้"
|
|
Var DrinkDescription = "Pepsi, Milk, Oreo and Ice"
|
|
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_haunted_woods_rerun.png"
|
|
Var OpenFromXML = CurrentXMLFileName2
|
|
Var PriceD1 = 30
|
|
Var PriceD2 = 30
|
|
Var PriceD3 = 30
|
|
Var OldPrice = 60
|
|
Var PD_CODE1 = "##-##-##-####"
|
|
Var PD_CODE2 = "##-##-##-####"
|
|
Var PD_CODE3 = "12-99-03-0066"
|
|
Var PD_STAGE_1 = "Disable2"
|
|
Var PD_STAGE_2 = "Disable2"
|
|
Var PD_STAGE_3 = $12-99-03-0066.Button
|
|
Var OverlayMenuFilter !assigned xmlpro( 12-99-03-0066, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
|
DEBUGVAR OverlayMenuFilter
|
|
Var SelectCountDrinkType = 0
|
|
Var DefaultDrinkType = 0
|
|
If PD_STAGE_1 = "Enable" Then
|
|
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
Var DefaultDrinkType = 1
|
|
EndIf
|
|
If PD_STAGE_2 = "Enable" Then
|
|
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
Var DefaultDrinkType = 2
|
|
EndIf
|
|
If PD_STAGE_3 = "Enable" Then
|
|
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
|
Var DefaultDrinkType = 3
|
|
EndIf
|
|
If PD_STAGE_2 = "Enable" Then
|
|
Topping "Load" "-"
|
|
Else
|
|
If PD_STAGE_1 = "Enable" Then
|
|
Topping "Load" "-"
|
|
Else
|
|
Topping "Load" "12-99-03-0066"
|
|
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-99-03-0066.NameE
|
|
Var menu_desc_eng_blender = $12-99-03-0066.descriptionE
|
|
Var menu_name_thai_blender = $12-99-03-0066.Name
|
|
Var menu_desc_thai_blender = $12-99-03-0066.description
|
|
|
|
DEBUGVAR PD_STAGE_1
|
|
DEBUGVAR PD_STAGE_2
|
|
DEBUGVAR PD_STAGE_3
|
|
Var SelectDrinkType = 0
|
|
Var FromRerunPro = 1
|
|
Var RerunProCode = "PMD30"
|
|
|
|
|
|
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> "ดิน 7 ป่าช้า" </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> "7 Haunted Woods" </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> "Pepsi, Milk, Oreo and Ice" </Value>
|
|
</Text>
|
|
<Image>
|
|
<X> 16 </X>
|
|
<Y> 264 </Y>
|
|
<Filename> Var( DirImage2 + "option_deactive.png" ) </Filename>
|
|
</Image>
|
|
<Image>
|
|
<X> 16 </X>
|
|
<Y> 264 </Y>
|
|
<State> "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( 30 , 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( 30 , 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-99-03-0066.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-99-03-0066.Button </State>
|
|
<Value> StringFmt( 30 , 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 $Sum1299030066 = "Disable" Then
|
|
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
|
STRCONTAIN "ERR" $##-##-##-####.TAG tag2_is_disable
|
|
STRCONTAIN "ERR" $12-99-03-0066.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> $Sum1299030066 </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>
|