2375 lines
65 KiB
XML
2375 lines
65 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/bn_thai_lang_press.png"
|
|
Var show_btn = "ROOT/taobin_project/image/bn_thai_lang.png"
|
|
|
|
Var ice_tab_text = "Ice will be ready at "
|
|
|
|
Else
|
|
Var showengText = "Invisible"
|
|
Var showthaiText = "Enable"
|
|
|
|
Var DirImage = "ROOT/taobin_project/image/page3"
|
|
Var show_btp = "ROOT/taobin_project/image/bn_eng_lang_press.png"
|
|
Var show_btn = "ROOT/taobin_project/image/bn_eng_lang.png"
|
|
|
|
Var ice_tab_text = "น้ำแข็งจะพร้อมเวลา "
|
|
EndIf
|
|
|
|
If ICE_PROCESS_STATUS = 2 Then
|
|
Var ice_tab_process_show = "Enable"
|
|
Var ice_show_open = ice_tab_text + ICE_PROCESS_TXT
|
|
Else
|
|
Var ice_tab_process_show = "Invisible"
|
|
EndIf
|
|
|
|
|
|
; SpiralOnline
|
|
If SpiralOnline = "true" Then
|
|
Var Menu1Selected2 = "Enable"
|
|
Var Menu2Selected2 = "Enable"
|
|
Var Menu3Selected2 = "Enable"
|
|
Var Menu4Selected2 = "Enable"
|
|
|
|
Var Menu6Selected2 = "Enable"
|
|
Var Menu7Selected2 = "Enable"
|
|
Var MenuVSelected2 = "Enable"
|
|
|
|
If AppFastEnable = "true" Then
|
|
Var Menu11Selected2 = "Enable"
|
|
Var Menu7Selected2 = "Invisible"
|
|
Else
|
|
Var Menu11Selected2 = "Invisible"
|
|
Var Menu7Selected2 = "Enable"
|
|
EndIf
|
|
|
|
; init default
|
|
Var Menu1Selected = "Invisible"
|
|
Var Menu2Selected = "Invisible"
|
|
Var Menu3Selected = "Invisible"
|
|
Var Menu4Selected = "Invisible"
|
|
; 5 fruit
|
|
Var Menu5Selected = "Invisible"
|
|
Var Menu6Selected = "Invisible"
|
|
Var Menu7Selected = "Invisible"
|
|
; 8 cocktail
|
|
Var Menu8Selected = "Invisible"
|
|
|
|
|
|
Var Menu11Selected = "Invisible"
|
|
Var Menu7Selected = "Invisible"
|
|
; fuck
|
|
Else
|
|
Var Menu1Selected2 = "Invisible"
|
|
Var Menu2Selected2 = "Invisible"
|
|
Var Menu3Selected2 = "Invisible"
|
|
Var Menu4Selected2 = "Invisible"
|
|
|
|
Var Menu6Selected2 = "Invisible"
|
|
Var Menu7Selected2 = "Invisible"
|
|
Var MenuVSelected2 = "Invisible"
|
|
Var Menu11Selected2 = "Invisible"
|
|
|
|
; 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 Menu7Selected = "Invisible"
|
|
Else
|
|
Var Menu11Selected = "Invisible"
|
|
Var Menu7Selected = "Enable"
|
|
EndIf
|
|
EndIf
|
|
|
|
If SpiralOnline = "true" Then
|
|
Var Menu1Selected2 = "PressForever"
|
|
Else
|
|
; coffee show
|
|
Var Menu1Selected = "PressForever"
|
|
EndIf
|
|
|
|
|
|
|
|
SAVELOG PreviseXMLFileName2
|
|
|
|
Var Timeout = 0
|
|
|
|
Var showCart = "Invisible"
|
|
If MultiPayEnable = "true" Then
|
|
|
|
If CART_COUNT = 1 Then
|
|
Var showCart = "Enable"
|
|
Var cart_image_bn = DirImageCart + "/bn_cart1.png"
|
|
Var cart_image_bp = DirImageCart + "/bp_cart1.png"
|
|
EndIf
|
|
|
|
If CART_COUNT = 2 Then
|
|
Var showCart = "Enable"
|
|
Var cart_image_bn = DirImageCart + "/bn_cart2.png"
|
|
Var cart_image_bp = DirImageCart + "/bp_cart2.png"
|
|
EndIf
|
|
|
|
|
|
|
|
If CART_COUNT = 3 Then
|
|
Open "ROOT/taobin_project/xml/page_payment_multi.xml"
|
|
EndIf
|
|
|
|
EndIf
|
|
|
|
</EventOpen>
|
|
|
|
|
|
|
|
<Image>
|
|
<X> 0 </X>
|
|
<Y> 380 </Y>
|
|
<Width> 1080 </Width>
|
|
<Height> 1540 </Height>
|
|
<Color> "0xeae6e1" </Color>
|
|
</Image>
|
|
|
|
|
|
|
|
<Timeout> 1000 </Timeout>
|
|
<EventTimeout>
|
|
;DEBUGVAR ICE_PROCESS_STATUS
|
|
|
|
If ICE_PROCESS_STATUS = 2 Then
|
|
Var ice_tab_process_show = "Enable"
|
|
Var ice_show_open = ice_tab_text + ICE_PROCESS_TXT
|
|
Else
|
|
Var ice_tab_process_show = "Invisible"
|
|
EndIf
|
|
|
|
|
|
If NextPage = "-" Then
|
|
|
|
Else
|
|
If CupOnArm = "true" Then
|
|
If Timeout > 9 Then
|
|
SAVELOG "COA9"
|
|
Open NextPage
|
|
EndIf
|
|
Else
|
|
If Timeout > 30 Then
|
|
SAVELOG "COA30"
|
|
Open NextPage
|
|
EndIf
|
|
EndIf
|
|
EndIf
|
|
|
|
If Timeout > 60 Then
|
|
SAVELOG "Timeout"
|
|
If Seeker = "next" Then
|
|
Open "ROOT/taobin_project/xml/page_brewing3Conti.xml"
|
|
Else
|
|
SAVELOG "Back"
|
|
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
|
EndIf
|
|
EndIf
|
|
|
|
If BrewCommand = "RefreshAll" Then
|
|
Var BrewCommand = "-"
|
|
Open CurrentXMLFileName2
|
|
EndIf
|
|
|
|
If Seeker = "curr" Then
|
|
If DoorCupPosition = "bottom" Then
|
|
; It normal
|
|
Var EmergencyStop = "false"
|
|
Else
|
|
Var EmergencyStop = "true"
|
|
|
|
;Open "ROOT/taobin_project/xml/page_back_to_error.xml"
|
|
|
|
EndIf
|
|
EndIf
|
|
|
|
If IgnoreNetCore = "true" Then
|
|
|
|
Else
|
|
;stop_now
|
|
If NETCORE_LOST_CNT > 120 Then
|
|
Var stop_now = "true"
|
|
Var MachineErrorDetailAll = "???"
|
|
SAVELOG "NETCORE_LOST_CNT"
|
|
|
|
Open "ROOT/taobin_project/xml/page_back_to_error.xml"
|
|
EndIf
|
|
EndIf
|
|
|
|
Var Timeout = Timeout + 1
|
|
TimerReset
|
|
</EventTimeout>
|
|
|
|
|
|
;<Image>
|
|
;<X> 0 </X>
|
|
;<Y> 0 </Y>
|
|
;<Filename> "ROOT/taobin_project/image/ad_medium_2.png" </Filename>
|
|
;</Image>
|
|
|
|
;<Video>
|
|
;<X> 0 </X>
|
|
;<Y> 0 </Y>
|
|
;<Width> 1080</Width>
|
|
;<Height> 380 </Height>
|
|
;<Loop> "true" </Loop>
|
|
;<Filename> video_menu_1 </Filename>
|
|
;</Video>
|
|
|
|
; under line
|
|
<Image>
|
|
<X> 0 </X>
|
|
<Y> 494 </Y>
|
|
<Filename> "ROOT/taobin_project/image/page3/tab_line_bottom.png" </Filename>
|
|
</Image>
|
|
|
|
|
|
; under line
|
|
<Image>
|
|
<X> 0 </X>
|
|
<Y> 358 </Y>
|
|
<Filename> "ROOT/taobin_project/image/page3/bg1.png" </Filename>
|
|
</Image>
|
|
|
|
|
|
; back
|
|
<Button>
|
|
<X> 19 </X>
|
|
<Y> 397 </Y>
|
|
<Filename> "ROOT/taobin_project/image/page2/bn_back_arrow.png" </Filename>
|
|
<FilenamePress> "ROOT/taobin_project/image/page2/bn_back_arrow.png" </FilenamePress>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventClick>
|
|
If SpiralOnline = "true" Then
|
|
Open "ROOT/taobin_project/xml/page_catalog_with_vending.xml"
|
|
|
|
Else
|
|
Open "ROOT/taobin_project/xml/page_catalog.xml"
|
|
EndIf
|
|
|
|
</EventClick>
|
|
</Button>
|
|
|
|
<Button>
|
|
<X> 1000 </X>
|
|
<Y> 415 </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"
|
|
Else
|
|
Var show_eng = "true"
|
|
EndIf
|
|
|
|
|
|
Open CurrentXMLFileName2
|
|
</EventClick>
|
|
</Button>
|
|
|
|
;
|
|
|
|
<Button>
|
|
<X> 92 </X>
|
|
<Y> 395 </Y>
|
|
<State> Menu1Selected </State>
|
|
<Filename> Var( DirImage + "/bn_bestseller.png" )</Filename>
|
|
<FilenamePress> Var( DirImage + "/bp_bestseller.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_recommend.xml"
|
|
Else
|
|
Open "ROOT/taobin_project/xml/page_catalog_choose_drink1.xml"
|
|
EndIf
|
|
</EventClick>
|
|
</Button>
|
|
<Button>
|
|
<X> 99 </X>
|
|
<Y> 395 </Y>
|
|
<State> Menu1Selected2 </State>
|
|
<Filename> Var( DirImage + "/bn_recommend2.png" )</Filename>
|
|
<FilenamePress> Var( DirImage + "/bp_recommend2.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_recommend.xml"
|
|
Else
|
|
Open "ROOT/taobin_project/xml/page_catalog_choose_drink1.xml"
|
|
EndIf
|
|
</EventClick>
|
|
</Button>
|
|
|
|
|
|
|
|
|
|
<Button>
|
|
<X> 243 </X>
|
|
<Y> 395 </Y>
|
|
<State> Menu2Selected </State>
|
|
<Filename> Var( DirImage + "/bn_coffee.png") </Filename>
|
|
<FilenamePress> Var( DirImage + "/bp_coffee.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_coffee.xml"
|
|
Else
|
|
Open "ROOT/taobin_project/xml/page_catalog_choose_drink2.xml"
|
|
EndIf
|
|
</EventClick>
|
|
</Button>
|
|
<Button>
|
|
<X> 227 </X>
|
|
<Y> 395 </Y>
|
|
<State> Menu2Selected2 </State>
|
|
<Filename> Var( DirImage + "/bn_coffee2.png") </Filename>
|
|
<FilenamePress> Var( DirImage + "/bp_coffee2.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_coffee.xml"
|
|
Else
|
|
Open "ROOT/taobin_project/xml/page_catalog_choose_drink2.xml"
|
|
EndIf
|
|
</EventClick>
|
|
</Button>
|
|
|
|
|
|
|
|
<Button>
|
|
<X> 394 </X>
|
|
<Y> 395 </Y>
|
|
<State> Menu3Selected </State>
|
|
<Filename> Var( DirImage + "/bn_tea.png") </Filename>
|
|
<FilenamePress> Var( DirImage + "/bp_tea.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>
|
|
<X> 355 </X>
|
|
<Y> 395 </Y>
|
|
<State> Menu3Selected2 </State>
|
|
<Filename> Var( DirImage + "/bn_tea2.png") </Filename>
|
|
<FilenamePress> Var( DirImage + "/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>
|
|
<X> 545 </X>
|
|
<Y> 395 </Y>
|
|
<State> Menu4Selected </State>
|
|
<Filename> Var( DirImage + "/bn_cho_ca.png") </Filename>
|
|
<FilenamePress> Var( DirImage + "/bp_cho_ca.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>
|
|
<X> 483 </X>
|
|
<Y> 395 </Y>
|
|
<State> Menu4Selected2 </State>
|
|
<Filename> Var( DirImage + "/bn_cho_ca2.png") </Filename>
|
|
<FilenamePress> Var( DirImage + "/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>
|
|
<X> 696 </X>
|
|
<Y> 395 </Y>
|
|
<State> Menu7Selected </State>
|
|
<Filename> Var( DirImage + "/bn_protein.png") </Filename>
|
|
<FilenamePress> Var( DirImage + "/bp_protein.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>
|
|
<X> 611 </X>
|
|
<Y> 395 </Y>
|
|
<State> Menu7Selected2 </State>
|
|
<Filename> Var( DirImage + "/bn_protein2.png") </Filename>
|
|
<FilenamePress> Var( DirImage + "/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>
|
|
<X> 696 </X>
|
|
<Y> 395 </Y>
|
|
<State> Menu11Selected </State>
|
|
<Filename> Var( DirImage + "/bn_appfast.png") </Filename>
|
|
<FilenamePress> Var( DirImage + "/bp_appfast.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>
|
|
<X> 611 </X>
|
|
<Y> 395 </Y>
|
|
<State> Menu11Selected2 </State>
|
|
<Filename> Var( DirImage + "/bn_appfast2.png") </Filename>
|
|
<FilenamePress> Var( DirImage + "/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>
|
|
<X> 696 </X>
|
|
<Y> 395 </Y>
|
|
<State> Menu8Selected </State>
|
|
<Filename> Var( DirImage + "/bn_cocktail.png") </Filename>
|
|
<FilenamePress> Var( DirImage + "/bp_cocktail.png") </FilenamePress>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventClick>
|
|
Var NextPage = "-"
|
|
Open "ROOT/taobin_project/xml/page_catalog_choose_drink8.xml"
|
|
</EventClick>
|
|
</Button>
|
|
<Button>
|
|
<X> 739 </X>
|
|
<Y> 395 </Y>
|
|
<State> Menu8Selected2 </State>
|
|
<Filename> Var( DirImage + "/bn_cocktail2.png") </Filename>
|
|
<FilenamePress> Var( DirImage + "/bp_cocktail2.png") </FilenamePress>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventClick>
|
|
Var NextPage = "-"
|
|
Open "ROOT/taobin_project/xml/page_catalog_choose_drink8.xml"
|
|
</EventClick>
|
|
</Button>
|
|
|
|
|
|
<Button>
|
|
<X> 847 </X>
|
|
<Y> 395 </Y>
|
|
<State> Menu6Selected </State>
|
|
<Filename> Var( DirImage + "/bn_sodada.png") </Filename>
|
|
<FilenamePress> Var( DirImage + "/bp_sodada.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>
|
|
<X> 739 </X>
|
|
<Y> 395 </Y>
|
|
<State> Menu6Selected2 </State>
|
|
<Filename> Var( DirImage + "/bn_sodada2.png") </Filename>
|
|
<FilenamePress> Var( DirImage + "/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>
|
|
<X> 867 </X>
|
|
<Y> 395 </Y>
|
|
<State> MenuVSelected2 </State>
|
|
<Filename> Var( DirImage + "/bn_vending2.png") </Filename>
|
|
<FilenamePress> Var( DirImage + "/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>
|
|
|
|
<EventWebApp>
|
|
|
|
DEBUGVAR web_ready
|
|
If web_ready = "true" Then
|
|
If web_ref = QRCODE99x Then
|
|
|
|
Var web_readyOK = web_ready
|
|
Var web_telnumOK = web_telnum
|
|
|
|
Var web_app_prepar = "true"
|
|
Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_payment.xml"
|
|
|
|
EndIf
|
|
Else
|
|
EndIf
|
|
|
|
</EventWebApp>
|
|
|
|
|
|
|
|
<FrameScroll>
|
|
<X> 10 </X>
|
|
<Y> 497 </Y>
|
|
<Width> 1080 </Width>
|
|
<ScrollHeight> "auto" </ScrollHeight>
|
|
<Scroll> "Vertical" </Scroll>
|
|
<Column> 4 </Column>
|
|
; button i=1 best_seller_1
|
|
<Block>
|
|
<MarginLeft> 33 </MarginLeft>
|
|
<MarginTop> 22 </MarginTop>
|
|
<Width> 225 </Width>
|
|
<Height> 296 </Height>
|
|
<State> $best_seller_1.Button </State>
|
|
<Button>
|
|
<State> $best_seller_1.Button </State>
|
|
<Filename> Var( "ROOT/taobin_project/image/page_drink/" + $best_seller_1.image ) </Filename>
|
|
<FilenamePress> Var( "ROOT/taobin_project/image/page_drink_press/" + $best_seller_1.image ) " </FilenamePress>
|
|
<FilenameDisable> Var( "ROOT/taobin_project/image/page_drink_disable/" + $best_seller_1.image ) " </FilenameDisable>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventOnClick>
|
|
Var SelectDrink = $best_seller_1.Self
|
|
Var NameDrink = $best_seller_1.NameE
|
|
Var NameDrinkTH = $best_seller_1.Name
|
|
Var DrinkDescriptionTH = $best_seller_1.description
|
|
Var DrinkDescription = $best_seller_1.descriptionE
|
|
Var PriceDrink = $best_seller_1.Price
|
|
Var PictureDrink = "ROOT/taobin_project/image/page_drink_select/" + $best_seller_1.image
|
|
Topping "Load" SelectDrink
|
|
SAVELOG NameDrink
|
|
Var PriceShowValue = charOfBaht + PriceDrink
|
|
Var OpenFromXML = CurrentXMLFileName2
|
|
STRCONTAIN "Smoothie" $best_seller_1.Button IsSmoRet
|
|
Open "ROOT/taobin_project/xml/page_topping_select.xml"
|
|
</EventOnClick>
|
|
</Button>
|
|
<Text>
|
|
<X> 182 </X>
|
|
<Y> 12 </Y>
|
|
<State> ShowPrice </State>
|
|
<Align> "Hurr" </Align>
|
|
<Width>150</Width>
|
|
<Size> 27 </Size>
|
|
<Font> KanitTTF </Font>
|
|
<Color> 0xB78F24 </Color>
|
|
<Value> $best_seller_1.Price </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 164 </X>
|
|
<Y> 12 </Y>
|
|
<State> ShowPrice </State>
|
|
<Width>20</Width>
|
|
<Size> 27 </Size>
|
|
<Font> KanitTTF </Font>
|
|
<Color> 0xB78F24 </Color>
|
|
<Value> "฿"" </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 190 </Y>
|
|
<Size> 24 </Size>
|
|
<Width>220</Width>
|
|
<Mode> "multi2" </Mode>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x322B26 </Color>
|
|
<State> showthaiText </State>
|
|
<Value> $best_seller_1.Name </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 246 </Y>
|
|
<Size> 14 </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x6F5F51 </Color>
|
|
<State> showthaiText </State>
|
|
<Value> $best_seller_1.description </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 190 </Y>
|
|
<Size> 22 </Size>
|
|
<Width>220</Width>
|
|
<Mode> "multi2" </Mode>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x322B26 </Color>
|
|
<State> showengText </State>
|
|
<Value> $best_seller_1.NameE </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 246 </Y>
|
|
<Size> 14 </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x6F5F51 </Color>
|
|
<State> showengText </State>
|
|
<Value> $best_seller_1.descriptionE </Value>
|
|
</Text>
|
|
<Image>
|
|
<X> 2 </X>
|
|
<Y> 2 </Y>
|
|
<State> eval( STRCONTAIN "Smoothie" $best_seller_1.Button SmoRet
|
|
If SmoRet = "true" Then
|
|
Var return = "Enable"
|
|
Else
|
|
Var return = "Invisible"
|
|
EndIf
|
|
) </State>
|
|
<Filename> "ROOT/taobin_project/image/topping2/blender_icon.png" </Filename>
|
|
</Image>
|
|
</Block>
|
|
; button i=2 best_seller_2
|
|
<Block>
|
|
<MarginLeft> 33 </MarginLeft>
|
|
<MarginTop> 22 </MarginTop>
|
|
<Width> 225 </Width>
|
|
<Height> 296 </Height>
|
|
<State> $best_seller_2.Button </State>
|
|
<Button>
|
|
<State> $best_seller_2.Button </State>
|
|
<Filename> Var( "ROOT/taobin_project/image/page_drink/" + $best_seller_2.image ) </Filename>
|
|
<FilenamePress> Var( "ROOT/taobin_project/image/page_drink_press/" + $best_seller_2.image ) " </FilenamePress>
|
|
<FilenameDisable> Var( "ROOT/taobin_project/image/page_drink_disable/" + $best_seller_2.image ) " </FilenameDisable>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventOnClick>
|
|
Var SelectDrink = $best_seller_2.Self
|
|
Var NameDrink = $best_seller_2.NameE
|
|
Var NameDrinkTH = $best_seller_2.Name
|
|
Var DrinkDescriptionTH = $best_seller_2.description
|
|
Var DrinkDescription = $best_seller_2.descriptionE
|
|
Var PriceDrink = $best_seller_2.Price
|
|
Var PictureDrink = "ROOT/taobin_project/image/page_drink_select/" + $best_seller_2.image
|
|
Topping "Load" SelectDrink
|
|
SAVELOG NameDrink
|
|
Var PriceShowValue = charOfBaht + PriceDrink
|
|
Var OpenFromXML = CurrentXMLFileName2
|
|
STRCONTAIN "Smoothie" $best_seller_2.Button IsSmoRet
|
|
Open "ROOT/taobin_project/xml/page_topping_select.xml"
|
|
</EventOnClick>
|
|
</Button>
|
|
<Text>
|
|
<X> 182 </X>
|
|
<Y> 12 </Y>
|
|
<State> ShowPrice </State>
|
|
<Align> "Hurr" </Align>
|
|
<Width>150</Width>
|
|
<Size> 27 </Size>
|
|
<Font> KanitTTF </Font>
|
|
<Color> 0xB78F24 </Color>
|
|
<Value> $best_seller_2.Price </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 164 </X>
|
|
<Y> 12 </Y>
|
|
<State> ShowPrice </State>
|
|
<Width>20</Width>
|
|
<Size> 27 </Size>
|
|
<Font> KanitTTF </Font>
|
|
<Color> 0xB78F24 </Color>
|
|
<Value> "฿"" </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 190 </Y>
|
|
<Size> 24 </Size>
|
|
<Width>220</Width>
|
|
<Mode> "multi2" </Mode>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x322B26 </Color>
|
|
<State> showthaiText </State>
|
|
<Value> $best_seller_2.Name </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 246 </Y>
|
|
<Size> 14 </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x6F5F51 </Color>
|
|
<State> showthaiText </State>
|
|
<Value> $best_seller_2.description </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 190 </Y>
|
|
<Size> 22 </Size>
|
|
<Width>220</Width>
|
|
<Mode> "multi2" </Mode>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x322B26 </Color>
|
|
<State> showengText </State>
|
|
<Value> $best_seller_2.NameE </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 246 </Y>
|
|
<Size> 14 </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x6F5F51 </Color>
|
|
<State> showengText </State>
|
|
<Value> $best_seller_2.descriptionE </Value>
|
|
</Text>
|
|
<Image>
|
|
<X> 2 </X>
|
|
<Y> 2 </Y>
|
|
<State> eval( STRCONTAIN "Smoothie" $best_seller_2.Button SmoRet
|
|
If SmoRet = "true" Then
|
|
Var return = "Enable"
|
|
Else
|
|
Var return = "Invisible"
|
|
EndIf
|
|
) </State>
|
|
<Filename> "ROOT/taobin_project/image/topping2/blender_icon.png" </Filename>
|
|
</Image>
|
|
</Block>
|
|
; button i=3 best_seller_3
|
|
<Block>
|
|
<MarginLeft> 33 </MarginLeft>
|
|
<MarginTop> 22 </MarginTop>
|
|
<Width> 225 </Width>
|
|
<Height> 296 </Height>
|
|
<State> $best_seller_3.Button </State>
|
|
<Button>
|
|
<State> $best_seller_3.Button </State>
|
|
<Filename> Var( "ROOT/taobin_project/image/page_drink/" + $best_seller_3.image ) </Filename>
|
|
<FilenamePress> Var( "ROOT/taobin_project/image/page_drink_press/" + $best_seller_3.image ) " </FilenamePress>
|
|
<FilenameDisable> Var( "ROOT/taobin_project/image/page_drink_disable/" + $best_seller_3.image ) " </FilenameDisable>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventOnClick>
|
|
Var SelectDrink = $best_seller_3.Self
|
|
Var NameDrink = $best_seller_3.NameE
|
|
Var NameDrinkTH = $best_seller_3.Name
|
|
Var DrinkDescriptionTH = $best_seller_3.description
|
|
Var DrinkDescription = $best_seller_3.descriptionE
|
|
Var PriceDrink = $best_seller_3.Price
|
|
Var PictureDrink = "ROOT/taobin_project/image/page_drink_select/" + $best_seller_3.image
|
|
Topping "Load" SelectDrink
|
|
SAVELOG NameDrink
|
|
Var PriceShowValue = charOfBaht + PriceDrink
|
|
Var OpenFromXML = CurrentXMLFileName2
|
|
STRCONTAIN "Smoothie" $best_seller_3.Button IsSmoRet
|
|
Open "ROOT/taobin_project/xml/page_topping_select.xml"
|
|
</EventOnClick>
|
|
</Button>
|
|
<Text>
|
|
<X> 182 </X>
|
|
<Y> 12 </Y>
|
|
<State> ShowPrice </State>
|
|
<Align> "Hurr" </Align>
|
|
<Width>150</Width>
|
|
<Size> 27 </Size>
|
|
<Font> KanitTTF </Font>
|
|
<Color> 0xB78F24 </Color>
|
|
<Value> $best_seller_3.Price </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 164 </X>
|
|
<Y> 12 </Y>
|
|
<State> ShowPrice </State>
|
|
<Width>20</Width>
|
|
<Size> 27 </Size>
|
|
<Font> KanitTTF </Font>
|
|
<Color> 0xB78F24 </Color>
|
|
<Value> "฿"" </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 190 </Y>
|
|
<Size> 24 </Size>
|
|
<Width>220</Width>
|
|
<Mode> "multi2" </Mode>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x322B26 </Color>
|
|
<State> showthaiText </State>
|
|
<Value> $best_seller_3.Name </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 246 </Y>
|
|
<Size> 14 </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x6F5F51 </Color>
|
|
<State> showthaiText </State>
|
|
<Value> $best_seller_3.description </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 190 </Y>
|
|
<Size> 22 </Size>
|
|
<Width>220</Width>
|
|
<Mode> "multi2" </Mode>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x322B26 </Color>
|
|
<State> showengText </State>
|
|
<Value> $best_seller_3.NameE </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 246 </Y>
|
|
<Size> 14 </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x6F5F51 </Color>
|
|
<State> showengText </State>
|
|
<Value> $best_seller_3.descriptionE </Value>
|
|
</Text>
|
|
<Image>
|
|
<X> 2 </X>
|
|
<Y> 2 </Y>
|
|
<State> eval( STRCONTAIN "Smoothie" $best_seller_3.Button SmoRet
|
|
If SmoRet = "true" Then
|
|
Var return = "Enable"
|
|
Else
|
|
Var return = "Invisible"
|
|
EndIf
|
|
) </State>
|
|
<Filename> "ROOT/taobin_project/image/topping2/blender_icon.png" </Filename>
|
|
</Image>
|
|
</Block>
|
|
; button i=4 best_seller_4
|
|
<Block>
|
|
<MarginLeft> 33 </MarginLeft>
|
|
<MarginTop> 22 </MarginTop>
|
|
<Width> 225 </Width>
|
|
<Height> 296 </Height>
|
|
<State> $best_seller_4.Button </State>
|
|
<Button>
|
|
<State> $best_seller_4.Button </State>
|
|
<Filename> Var( "ROOT/taobin_project/image/page_drink/" + $best_seller_4.image ) </Filename>
|
|
<FilenamePress> Var( "ROOT/taobin_project/image/page_drink_press/" + $best_seller_4.image ) " </FilenamePress>
|
|
<FilenameDisable> Var( "ROOT/taobin_project/image/page_drink_disable/" + $best_seller_4.image ) " </FilenameDisable>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventOnClick>
|
|
Var SelectDrink = $best_seller_4.Self
|
|
Var NameDrink = $best_seller_4.NameE
|
|
Var NameDrinkTH = $best_seller_4.Name
|
|
Var DrinkDescriptionTH = $best_seller_4.description
|
|
Var DrinkDescription = $best_seller_4.descriptionE
|
|
Var PriceDrink = $best_seller_4.Price
|
|
Var PictureDrink = "ROOT/taobin_project/image/page_drink_select/" + $best_seller_4.image
|
|
Topping "Load" SelectDrink
|
|
SAVELOG NameDrink
|
|
Var PriceShowValue = charOfBaht + PriceDrink
|
|
Var OpenFromXML = CurrentXMLFileName2
|
|
STRCONTAIN "Smoothie" $best_seller_4.Button IsSmoRet
|
|
Open "ROOT/taobin_project/xml/page_topping_select.xml"
|
|
</EventOnClick>
|
|
</Button>
|
|
<Text>
|
|
<X> 182 </X>
|
|
<Y> 12 </Y>
|
|
<State> ShowPrice </State>
|
|
<Align> "Hurr" </Align>
|
|
<Width>150</Width>
|
|
<Size> 27 </Size>
|
|
<Font> KanitTTF </Font>
|
|
<Color> 0xB78F24 </Color>
|
|
<Value> $best_seller_4.Price </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 164 </X>
|
|
<Y> 12 </Y>
|
|
<State> ShowPrice </State>
|
|
<Width>20</Width>
|
|
<Size> 27 </Size>
|
|
<Font> KanitTTF </Font>
|
|
<Color> 0xB78F24 </Color>
|
|
<Value> "฿"" </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 190 </Y>
|
|
<Size> 24 </Size>
|
|
<Width>220</Width>
|
|
<Mode> "multi2" </Mode>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x322B26 </Color>
|
|
<State> showthaiText </State>
|
|
<Value> $best_seller_4.Name </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 246 </Y>
|
|
<Size> 14 </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x6F5F51 </Color>
|
|
<State> showthaiText </State>
|
|
<Value> $best_seller_4.description </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 190 </Y>
|
|
<Size> 22 </Size>
|
|
<Width>220</Width>
|
|
<Mode> "multi2" </Mode>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x322B26 </Color>
|
|
<State> showengText </State>
|
|
<Value> $best_seller_4.NameE </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 246 </Y>
|
|
<Size> 14 </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x6F5F51 </Color>
|
|
<State> showengText </State>
|
|
<Value> $best_seller_4.descriptionE </Value>
|
|
</Text>
|
|
<Image>
|
|
<X> 2 </X>
|
|
<Y> 2 </Y>
|
|
<State> eval( STRCONTAIN "Smoothie" $best_seller_4.Button SmoRet
|
|
If SmoRet = "true" Then
|
|
Var return = "Enable"
|
|
Else
|
|
Var return = "Invisible"
|
|
EndIf
|
|
) </State>
|
|
<Filename> "ROOT/taobin_project/image/topping2/blender_icon.png" </Filename>
|
|
</Image>
|
|
</Block>
|
|
; button i=5 best_seller_5
|
|
<Block>
|
|
<MarginLeft> 33 </MarginLeft>
|
|
<MarginTop> 22 </MarginTop>
|
|
<Width> 225 </Width>
|
|
<Height> 296 </Height>
|
|
<State> $best_seller_5.Button </State>
|
|
<Button>
|
|
<State> $best_seller_5.Button </State>
|
|
<Filename> Var( "ROOT/taobin_project/image/page_drink/" + $best_seller_5.image ) </Filename>
|
|
<FilenamePress> Var( "ROOT/taobin_project/image/page_drink_press/" + $best_seller_5.image ) " </FilenamePress>
|
|
<FilenameDisable> Var( "ROOT/taobin_project/image/page_drink_disable/" + $best_seller_5.image ) " </FilenameDisable>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventOnClick>
|
|
Var SelectDrink = $best_seller_5.Self
|
|
Var NameDrink = $best_seller_5.NameE
|
|
Var NameDrinkTH = $best_seller_5.Name
|
|
Var DrinkDescriptionTH = $best_seller_5.description
|
|
Var DrinkDescription = $best_seller_5.descriptionE
|
|
Var PriceDrink = $best_seller_5.Price
|
|
Var PictureDrink = "ROOT/taobin_project/image/page_drink_select/" + $best_seller_5.image
|
|
Topping "Load" SelectDrink
|
|
SAVELOG NameDrink
|
|
Var PriceShowValue = charOfBaht + PriceDrink
|
|
Var OpenFromXML = CurrentXMLFileName2
|
|
STRCONTAIN "Smoothie" $best_seller_5.Button IsSmoRet
|
|
Open "ROOT/taobin_project/xml/page_topping_select.xml"
|
|
</EventOnClick>
|
|
</Button>
|
|
<Text>
|
|
<X> 182 </X>
|
|
<Y> 12 </Y>
|
|
<State> ShowPrice </State>
|
|
<Align> "Hurr" </Align>
|
|
<Width>150</Width>
|
|
<Size> 27 </Size>
|
|
<Font> KanitTTF </Font>
|
|
<Color> 0xB78F24 </Color>
|
|
<Value> $best_seller_5.Price </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 164 </X>
|
|
<Y> 12 </Y>
|
|
<State> ShowPrice </State>
|
|
<Width>20</Width>
|
|
<Size> 27 </Size>
|
|
<Font> KanitTTF </Font>
|
|
<Color> 0xB78F24 </Color>
|
|
<Value> "฿"" </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 190 </Y>
|
|
<Size> 24 </Size>
|
|
<Width>220</Width>
|
|
<Mode> "multi2" </Mode>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x322B26 </Color>
|
|
<State> showthaiText </State>
|
|
<Value> $best_seller_5.Name </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 246 </Y>
|
|
<Size> 14 </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x6F5F51 </Color>
|
|
<State> showthaiText </State>
|
|
<Value> $best_seller_5.description </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 190 </Y>
|
|
<Size> 22 </Size>
|
|
<Width>220</Width>
|
|
<Mode> "multi2" </Mode>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x322B26 </Color>
|
|
<State> showengText </State>
|
|
<Value> $best_seller_5.NameE </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 246 </Y>
|
|
<Size> 14 </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x6F5F51 </Color>
|
|
<State> showengText </State>
|
|
<Value> $best_seller_5.descriptionE </Value>
|
|
</Text>
|
|
<Image>
|
|
<X> 2 </X>
|
|
<Y> 2 </Y>
|
|
<State> eval( STRCONTAIN "Smoothie" $best_seller_5.Button SmoRet
|
|
If SmoRet = "true" Then
|
|
Var return = "Enable"
|
|
Else
|
|
Var return = "Invisible"
|
|
EndIf
|
|
) </State>
|
|
<Filename> "ROOT/taobin_project/image/topping2/blender_icon.png" </Filename>
|
|
</Image>
|
|
</Block>
|
|
; button i=6 best_seller_6
|
|
<Block>
|
|
<MarginLeft> 33 </MarginLeft>
|
|
<MarginTop> 22 </MarginTop>
|
|
<Width> 225 </Width>
|
|
<Height> 296 </Height>
|
|
<State> $best_seller_6.Button </State>
|
|
<Button>
|
|
<State> $best_seller_6.Button </State>
|
|
<Filename> Var( "ROOT/taobin_project/image/page_drink/" + $best_seller_6.image ) </Filename>
|
|
<FilenamePress> Var( "ROOT/taobin_project/image/page_drink_press/" + $best_seller_6.image ) " </FilenamePress>
|
|
<FilenameDisable> Var( "ROOT/taobin_project/image/page_drink_disable/" + $best_seller_6.image ) " </FilenameDisable>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventOnClick>
|
|
Var SelectDrink = $best_seller_6.Self
|
|
Var NameDrink = $best_seller_6.NameE
|
|
Var NameDrinkTH = $best_seller_6.Name
|
|
Var DrinkDescriptionTH = $best_seller_6.description
|
|
Var DrinkDescription = $best_seller_6.descriptionE
|
|
Var PriceDrink = $best_seller_6.Price
|
|
Var PictureDrink = "ROOT/taobin_project/image/page_drink_select/" + $best_seller_6.image
|
|
Topping "Load" SelectDrink
|
|
SAVELOG NameDrink
|
|
Var PriceShowValue = charOfBaht + PriceDrink
|
|
Var OpenFromXML = CurrentXMLFileName2
|
|
STRCONTAIN "Smoothie" $best_seller_6.Button IsSmoRet
|
|
Open "ROOT/taobin_project/xml/page_topping_select.xml"
|
|
</EventOnClick>
|
|
</Button>
|
|
<Text>
|
|
<X> 182 </X>
|
|
<Y> 12 </Y>
|
|
<State> ShowPrice </State>
|
|
<Align> "Hurr" </Align>
|
|
<Width>150</Width>
|
|
<Size> 27 </Size>
|
|
<Font> KanitTTF </Font>
|
|
<Color> 0xB78F24 </Color>
|
|
<Value> $best_seller_6.Price </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 164 </X>
|
|
<Y> 12 </Y>
|
|
<State> ShowPrice </State>
|
|
<Width>20</Width>
|
|
<Size> 27 </Size>
|
|
<Font> KanitTTF </Font>
|
|
<Color> 0xB78F24 </Color>
|
|
<Value> "฿"" </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 190 </Y>
|
|
<Size> 24 </Size>
|
|
<Width>220</Width>
|
|
<Mode> "multi2" </Mode>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x322B26 </Color>
|
|
<State> showthaiText </State>
|
|
<Value> $best_seller_6.Name </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 246 </Y>
|
|
<Size> 14 </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x6F5F51 </Color>
|
|
<State> showthaiText </State>
|
|
<Value> $best_seller_6.description </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 190 </Y>
|
|
<Size> 22 </Size>
|
|
<Width>220</Width>
|
|
<Mode> "multi2" </Mode>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x322B26 </Color>
|
|
<State> showengText </State>
|
|
<Value> $best_seller_6.NameE </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 246 </Y>
|
|
<Size> 14 </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x6F5F51 </Color>
|
|
<State> showengText </State>
|
|
<Value> $best_seller_6.descriptionE </Value>
|
|
</Text>
|
|
<Image>
|
|
<X> 2 </X>
|
|
<Y> 2 </Y>
|
|
<State> eval( STRCONTAIN "Smoothie" $best_seller_6.Button SmoRet
|
|
If SmoRet = "true" Then
|
|
Var return = "Enable"
|
|
Else
|
|
Var return = "Invisible"
|
|
EndIf
|
|
) </State>
|
|
<Filename> "ROOT/taobin_project/image/topping2/blender_icon.png" </Filename>
|
|
</Image>
|
|
</Block>
|
|
; button i=7 best_seller_7
|
|
<Block>
|
|
<MarginLeft> 33 </MarginLeft>
|
|
<MarginTop> 22 </MarginTop>
|
|
<Width> 225 </Width>
|
|
<Height> 296 </Height>
|
|
<State> $best_seller_7.Button </State>
|
|
<Button>
|
|
<State> $best_seller_7.Button </State>
|
|
<Filename> Var( "ROOT/taobin_project/image/page_drink/" + $best_seller_7.image ) </Filename>
|
|
<FilenamePress> Var( "ROOT/taobin_project/image/page_drink_press/" + $best_seller_7.image ) " </FilenamePress>
|
|
<FilenameDisable> Var( "ROOT/taobin_project/image/page_drink_disable/" + $best_seller_7.image ) " </FilenameDisable>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventOnClick>
|
|
Var SelectDrink = $best_seller_7.Self
|
|
Var NameDrink = $best_seller_7.NameE
|
|
Var NameDrinkTH = $best_seller_7.Name
|
|
Var DrinkDescriptionTH = $best_seller_7.description
|
|
Var DrinkDescription = $best_seller_7.descriptionE
|
|
Var PriceDrink = $best_seller_7.Price
|
|
Var PictureDrink = "ROOT/taobin_project/image/page_drink_select/" + $best_seller_7.image
|
|
Topping "Load" SelectDrink
|
|
SAVELOG NameDrink
|
|
Var PriceShowValue = charOfBaht + PriceDrink
|
|
Var OpenFromXML = CurrentXMLFileName2
|
|
STRCONTAIN "Smoothie" $best_seller_7.Button IsSmoRet
|
|
Open "ROOT/taobin_project/xml/page_topping_select.xml"
|
|
</EventOnClick>
|
|
</Button>
|
|
<Text>
|
|
<X> 182 </X>
|
|
<Y> 12 </Y>
|
|
<State> ShowPrice </State>
|
|
<Align> "Hurr" </Align>
|
|
<Width>150</Width>
|
|
<Size> 27 </Size>
|
|
<Font> KanitTTF </Font>
|
|
<Color> 0xB78F24 </Color>
|
|
<Value> $best_seller_7.Price </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 164 </X>
|
|
<Y> 12 </Y>
|
|
<State> ShowPrice </State>
|
|
<Width>20</Width>
|
|
<Size> 27 </Size>
|
|
<Font> KanitTTF </Font>
|
|
<Color> 0xB78F24 </Color>
|
|
<Value> "฿"" </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 190 </Y>
|
|
<Size> 24 </Size>
|
|
<Width>220</Width>
|
|
<Mode> "multi2" </Mode>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x322B26 </Color>
|
|
<State> showthaiText </State>
|
|
<Value> $best_seller_7.Name </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 246 </Y>
|
|
<Size> 14 </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x6F5F51 </Color>
|
|
<State> showthaiText </State>
|
|
<Value> $best_seller_7.description </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 190 </Y>
|
|
<Size> 22 </Size>
|
|
<Width>220</Width>
|
|
<Mode> "multi2" </Mode>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x322B26 </Color>
|
|
<State> showengText </State>
|
|
<Value> $best_seller_7.NameE </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 246 </Y>
|
|
<Size> 14 </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x6F5F51 </Color>
|
|
<State> showengText </State>
|
|
<Value> $best_seller_7.descriptionE </Value>
|
|
</Text>
|
|
<Image>
|
|
<X> 2 </X>
|
|
<Y> 2 </Y>
|
|
<State> eval( STRCONTAIN "Smoothie" $best_seller_7.Button SmoRet
|
|
If SmoRet = "true" Then
|
|
Var return = "Enable"
|
|
Else
|
|
Var return = "Invisible"
|
|
EndIf
|
|
) </State>
|
|
<Filename> "ROOT/taobin_project/image/topping2/blender_icon.png" </Filename>
|
|
</Image>
|
|
</Block>
|
|
; button i=8 best_seller_8
|
|
<Block>
|
|
<MarginLeft> 33 </MarginLeft>
|
|
<MarginTop> 22 </MarginTop>
|
|
<Width> 225 </Width>
|
|
<Height> 296 </Height>
|
|
<State> $best_seller_8.Button </State>
|
|
<Button>
|
|
<State> $best_seller_8.Button </State>
|
|
<Filename> Var( "ROOT/taobin_project/image/page_drink/" + $best_seller_8.image ) </Filename>
|
|
<FilenamePress> Var( "ROOT/taobin_project/image/page_drink_press/" + $best_seller_8.image ) " </FilenamePress>
|
|
<FilenameDisable> Var( "ROOT/taobin_project/image/page_drink_disable/" + $best_seller_8.image ) " </FilenameDisable>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventOnClick>
|
|
Var SelectDrink = $best_seller_8.Self
|
|
Var NameDrink = $best_seller_8.NameE
|
|
Var NameDrinkTH = $best_seller_8.Name
|
|
Var DrinkDescriptionTH = $best_seller_8.description
|
|
Var DrinkDescription = $best_seller_8.descriptionE
|
|
Var PriceDrink = $best_seller_8.Price
|
|
Var PictureDrink = "ROOT/taobin_project/image/page_drink_select/" + $best_seller_8.image
|
|
Topping "Load" SelectDrink
|
|
SAVELOG NameDrink
|
|
Var PriceShowValue = charOfBaht + PriceDrink
|
|
Var OpenFromXML = CurrentXMLFileName2
|
|
STRCONTAIN "Smoothie" $best_seller_8.Button IsSmoRet
|
|
Open "ROOT/taobin_project/xml/page_topping_select.xml"
|
|
</EventOnClick>
|
|
</Button>
|
|
<Text>
|
|
<X> 182 </X>
|
|
<Y> 12 </Y>
|
|
<State> ShowPrice </State>
|
|
<Align> "Hurr" </Align>
|
|
<Width>150</Width>
|
|
<Size> 27 </Size>
|
|
<Font> KanitTTF </Font>
|
|
<Color> 0xB78F24 </Color>
|
|
<Value> $best_seller_8.Price </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 164 </X>
|
|
<Y> 12 </Y>
|
|
<State> ShowPrice </State>
|
|
<Width>20</Width>
|
|
<Size> 27 </Size>
|
|
<Font> KanitTTF </Font>
|
|
<Color> 0xB78F24 </Color>
|
|
<Value> "฿"" </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 190 </Y>
|
|
<Size> 24 </Size>
|
|
<Width>220</Width>
|
|
<Mode> "multi2" </Mode>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x322B26 </Color>
|
|
<State> showthaiText </State>
|
|
<Value> $best_seller_8.Name </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 246 </Y>
|
|
<Size> 14 </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x6F5F51 </Color>
|
|
<State> showthaiText </State>
|
|
<Value> $best_seller_8.description </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 190 </Y>
|
|
<Size> 22 </Size>
|
|
<Width>220</Width>
|
|
<Mode> "multi2" </Mode>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x322B26 </Color>
|
|
<State> showengText </State>
|
|
<Value> $best_seller_8.NameE </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 246 </Y>
|
|
<Size> 14 </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x6F5F51 </Color>
|
|
<State> showengText </State>
|
|
<Value> $best_seller_8.descriptionE </Value>
|
|
</Text>
|
|
<Image>
|
|
<X> 2 </X>
|
|
<Y> 2 </Y>
|
|
<State> eval( STRCONTAIN "Smoothie" $best_seller_8.Button SmoRet
|
|
If SmoRet = "true" Then
|
|
Var return = "Enable"
|
|
Else
|
|
Var return = "Invisible"
|
|
EndIf
|
|
) </State>
|
|
<Filename> "ROOT/taobin_project/image/topping2/blender_icon.png" </Filename>
|
|
</Image>
|
|
</Block>
|
|
; button i=9 best_seller_9
|
|
<Block>
|
|
<MarginLeft> 33 </MarginLeft>
|
|
<MarginTop> 22 </MarginTop>
|
|
<Width> 225 </Width>
|
|
<Height> 296 </Height>
|
|
<State> $best_seller_9.Button </State>
|
|
<Button>
|
|
<State> $best_seller_9.Button </State>
|
|
<Filename> Var( "ROOT/taobin_project/image/page_drink/" + $best_seller_9.image ) </Filename>
|
|
<FilenamePress> Var( "ROOT/taobin_project/image/page_drink_press/" + $best_seller_9.image ) " </FilenamePress>
|
|
<FilenameDisable> Var( "ROOT/taobin_project/image/page_drink_disable/" + $best_seller_9.image ) " </FilenameDisable>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventOnClick>
|
|
Var SelectDrink = $best_seller_9.Self
|
|
Var NameDrink = $best_seller_9.NameE
|
|
Var NameDrinkTH = $best_seller_9.Name
|
|
Var DrinkDescriptionTH = $best_seller_9.description
|
|
Var DrinkDescription = $best_seller_9.descriptionE
|
|
Var PriceDrink = $best_seller_9.Price
|
|
Var PictureDrink = "ROOT/taobin_project/image/page_drink_select/" + $best_seller_9.image
|
|
Topping "Load" SelectDrink
|
|
SAVELOG NameDrink
|
|
Var PriceShowValue = charOfBaht + PriceDrink
|
|
Var OpenFromXML = CurrentXMLFileName2
|
|
STRCONTAIN "Smoothie" $best_seller_9.Button IsSmoRet
|
|
Open "ROOT/taobin_project/xml/page_topping_select.xml"
|
|
</EventOnClick>
|
|
</Button>
|
|
<Text>
|
|
<X> 182 </X>
|
|
<Y> 12 </Y>
|
|
<State> ShowPrice </State>
|
|
<Align> "Hurr" </Align>
|
|
<Width>150</Width>
|
|
<Size> 27 </Size>
|
|
<Font> KanitTTF </Font>
|
|
<Color> 0xB78F24 </Color>
|
|
<Value> $best_seller_9.Price </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 164 </X>
|
|
<Y> 12 </Y>
|
|
<State> ShowPrice </State>
|
|
<Width>20</Width>
|
|
<Size> 27 </Size>
|
|
<Font> KanitTTF </Font>
|
|
<Color> 0xB78F24 </Color>
|
|
<Value> "฿"" </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 190 </Y>
|
|
<Size> 24 </Size>
|
|
<Width>220</Width>
|
|
<Mode> "multi2" </Mode>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x322B26 </Color>
|
|
<State> showthaiText </State>
|
|
<Value> $best_seller_9.Name </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 246 </Y>
|
|
<Size> 14 </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x6F5F51 </Color>
|
|
<State> showthaiText </State>
|
|
<Value> $best_seller_9.description </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 190 </Y>
|
|
<Size> 22 </Size>
|
|
<Width>220</Width>
|
|
<Mode> "multi2" </Mode>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x322B26 </Color>
|
|
<State> showengText </State>
|
|
<Value> $best_seller_9.NameE </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 246 </Y>
|
|
<Size> 14 </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x6F5F51 </Color>
|
|
<State> showengText </State>
|
|
<Value> $best_seller_9.descriptionE </Value>
|
|
</Text>
|
|
<Image>
|
|
<X> 2 </X>
|
|
<Y> 2 </Y>
|
|
<State> eval( STRCONTAIN "Smoothie" $best_seller_9.Button SmoRet
|
|
If SmoRet = "true" Then
|
|
Var return = "Enable"
|
|
Else
|
|
Var return = "Invisible"
|
|
EndIf
|
|
) </State>
|
|
<Filename> "ROOT/taobin_project/image/topping2/blender_icon.png" </Filename>
|
|
</Image>
|
|
</Block>
|
|
; button i=10 best_seller_10
|
|
<Block>
|
|
<MarginLeft> 33 </MarginLeft>
|
|
<MarginTop> 22 </MarginTop>
|
|
<Width> 225 </Width>
|
|
<Height> 296 </Height>
|
|
<State> $best_seller_10.Button </State>
|
|
<Button>
|
|
<State> $best_seller_10.Button </State>
|
|
<Filename> Var( "ROOT/taobin_project/image/page_drink/" + $best_seller_10.image ) </Filename>
|
|
<FilenamePress> Var( "ROOT/taobin_project/image/page_drink_press/" + $best_seller_10.image ) " </FilenamePress>
|
|
<FilenameDisable> Var( "ROOT/taobin_project/image/page_drink_disable/" + $best_seller_10.image ) " </FilenameDisable>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventOnClick>
|
|
Var SelectDrink = $best_seller_10.Self
|
|
Var NameDrink = $best_seller_10.NameE
|
|
Var NameDrinkTH = $best_seller_10.Name
|
|
Var DrinkDescriptionTH = $best_seller_10.description
|
|
Var DrinkDescription = $best_seller_10.descriptionE
|
|
Var PriceDrink = $best_seller_10.Price
|
|
Var PictureDrink = "ROOT/taobin_project/image/page_drink_select/" + $best_seller_10.image
|
|
Topping "Load" SelectDrink
|
|
SAVELOG NameDrink
|
|
Var PriceShowValue = charOfBaht + PriceDrink
|
|
Var OpenFromXML = CurrentXMLFileName2
|
|
STRCONTAIN "Smoothie" $best_seller_10.Button IsSmoRet
|
|
Open "ROOT/taobin_project/xml/page_topping_select.xml"
|
|
</EventOnClick>
|
|
</Button>
|
|
<Text>
|
|
<X> 182 </X>
|
|
<Y> 12 </Y>
|
|
<State> ShowPrice </State>
|
|
<Align> "Hurr" </Align>
|
|
<Width>150</Width>
|
|
<Size> 27 </Size>
|
|
<Font> KanitTTF </Font>
|
|
<Color> 0xB78F24 </Color>
|
|
<Value> $best_seller_10.Price </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 164 </X>
|
|
<Y> 12 </Y>
|
|
<State> ShowPrice </State>
|
|
<Width>20</Width>
|
|
<Size> 27 </Size>
|
|
<Font> KanitTTF </Font>
|
|
<Color> 0xB78F24 </Color>
|
|
<Value> "฿"" </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 190 </Y>
|
|
<Size> 24 </Size>
|
|
<Width>220</Width>
|
|
<Mode> "multi2" </Mode>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x322B26 </Color>
|
|
<State> showthaiText </State>
|
|
<Value> $best_seller_10.Name </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 246 </Y>
|
|
<Size> 14 </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x6F5F51 </Color>
|
|
<State> showthaiText </State>
|
|
<Value> $best_seller_10.description </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 190 </Y>
|
|
<Size> 22 </Size>
|
|
<Width>220</Width>
|
|
<Mode> "multi2" </Mode>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x322B26 </Color>
|
|
<State> showengText </State>
|
|
<Value> $best_seller_10.NameE </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 246 </Y>
|
|
<Size> 14 </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x6F5F51 </Color>
|
|
<State> showengText </State>
|
|
<Value> $best_seller_10.descriptionE </Value>
|
|
</Text>
|
|
<Image>
|
|
<X> 2 </X>
|
|
<Y> 2 </Y>
|
|
<State> eval( STRCONTAIN "Smoothie" $best_seller_10.Button SmoRet
|
|
If SmoRet = "true" Then
|
|
Var return = "Enable"
|
|
Else
|
|
Var return = "Invisible"
|
|
EndIf
|
|
) </State>
|
|
<Filename> "ROOT/taobin_project/image/topping2/blender_icon.png" </Filename>
|
|
</Image>
|
|
</Block>
|
|
; button i=11 best_seller_11
|
|
<Block>
|
|
<MarginLeft> 33 </MarginLeft>
|
|
<MarginTop> 22 </MarginTop>
|
|
<Width> 225 </Width>
|
|
<Height> 296 </Height>
|
|
<State> $best_seller_11.Button </State>
|
|
<Button>
|
|
<State> $best_seller_11.Button </State>
|
|
<Filename> Var( "ROOT/taobin_project/image/page_drink/" + $best_seller_11.image ) </Filename>
|
|
<FilenamePress> Var( "ROOT/taobin_project/image/page_drink_press/" + $best_seller_11.image ) " </FilenamePress>
|
|
<FilenameDisable> Var( "ROOT/taobin_project/image/page_drink_disable/" + $best_seller_11.image ) " </FilenameDisable>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventOnClick>
|
|
Var SelectDrink = $best_seller_11.Self
|
|
Var NameDrink = $best_seller_11.NameE
|
|
Var NameDrinkTH = $best_seller_11.Name
|
|
Var DrinkDescriptionTH = $best_seller_11.description
|
|
Var DrinkDescription = $best_seller_11.descriptionE
|
|
Var PriceDrink = $best_seller_11.Price
|
|
Var PictureDrink = "ROOT/taobin_project/image/page_drink_select/" + $best_seller_11.image
|
|
Topping "Load" SelectDrink
|
|
SAVELOG NameDrink
|
|
Var PriceShowValue = charOfBaht + PriceDrink
|
|
Var OpenFromXML = CurrentXMLFileName2
|
|
STRCONTAIN "Smoothie" $best_seller_11.Button IsSmoRet
|
|
Open "ROOT/taobin_project/xml/page_topping_select.xml"
|
|
</EventOnClick>
|
|
</Button>
|
|
<Text>
|
|
<X> 182 </X>
|
|
<Y> 12 </Y>
|
|
<State> ShowPrice </State>
|
|
<Align> "Hurr" </Align>
|
|
<Width>150</Width>
|
|
<Size> 27 </Size>
|
|
<Font> KanitTTF </Font>
|
|
<Color> 0xB78F24 </Color>
|
|
<Value> $best_seller_11.Price </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 164 </X>
|
|
<Y> 12 </Y>
|
|
<State> ShowPrice </State>
|
|
<Width>20</Width>
|
|
<Size> 27 </Size>
|
|
<Font> KanitTTF </Font>
|
|
<Color> 0xB78F24 </Color>
|
|
<Value> "฿"" </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 190 </Y>
|
|
<Size> 24 </Size>
|
|
<Width>220</Width>
|
|
<Mode> "multi2" </Mode>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x322B26 </Color>
|
|
<State> showthaiText </State>
|
|
<Value> $best_seller_11.Name </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 246 </Y>
|
|
<Size> 14 </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x6F5F51 </Color>
|
|
<State> showthaiText </State>
|
|
<Value> $best_seller_11.description </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 190 </Y>
|
|
<Size> 22 </Size>
|
|
<Width>220</Width>
|
|
<Mode> "multi2" </Mode>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x322B26 </Color>
|
|
<State> showengText </State>
|
|
<Value> $best_seller_11.NameE </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 246 </Y>
|
|
<Size> 14 </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x6F5F51 </Color>
|
|
<State> showengText </State>
|
|
<Value> $best_seller_11.descriptionE </Value>
|
|
</Text>
|
|
<Image>
|
|
<X> 2 </X>
|
|
<Y> 2 </Y>
|
|
<State> eval( STRCONTAIN "Smoothie" $best_seller_11.Button SmoRet
|
|
If SmoRet = "true" Then
|
|
Var return = "Enable"
|
|
Else
|
|
Var return = "Invisible"
|
|
EndIf
|
|
) </State>
|
|
<Filename> "ROOT/taobin_project/image/topping2/blender_icon.png" </Filename>
|
|
</Image>
|
|
</Block>
|
|
; button i=12 best_seller_12
|
|
<Block>
|
|
<MarginLeft> 33 </MarginLeft>
|
|
<MarginTop> 22 </MarginTop>
|
|
<Width> 225 </Width>
|
|
<Height> 296 </Height>
|
|
<State> $best_seller_12.Button </State>
|
|
<Button>
|
|
<State> $best_seller_12.Button </State>
|
|
<Filename> Var( "ROOT/taobin_project/image/page_drink/" + $best_seller_12.image ) </Filename>
|
|
<FilenamePress> Var( "ROOT/taobin_project/image/page_drink_press/" + $best_seller_12.image ) " </FilenamePress>
|
|
<FilenameDisable> Var( "ROOT/taobin_project/image/page_drink_disable/" + $best_seller_12.image ) " </FilenameDisable>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventOnClick>
|
|
Var SelectDrink = $best_seller_12.Self
|
|
Var NameDrink = $best_seller_12.NameE
|
|
Var NameDrinkTH = $best_seller_12.Name
|
|
Var DrinkDescriptionTH = $best_seller_12.description
|
|
Var DrinkDescription = $best_seller_12.descriptionE
|
|
Var PriceDrink = $best_seller_12.Price
|
|
Var PictureDrink = "ROOT/taobin_project/image/page_drink_select/" + $best_seller_12.image
|
|
Topping "Load" SelectDrink
|
|
SAVELOG NameDrink
|
|
Var PriceShowValue = charOfBaht + PriceDrink
|
|
Var OpenFromXML = CurrentXMLFileName2
|
|
STRCONTAIN "Smoothie" $best_seller_12.Button IsSmoRet
|
|
Open "ROOT/taobin_project/xml/page_topping_select.xml"
|
|
</EventOnClick>
|
|
</Button>
|
|
<Text>
|
|
<X> 182 </X>
|
|
<Y> 12 </Y>
|
|
<State> ShowPrice </State>
|
|
<Align> "Hurr" </Align>
|
|
<Width>150</Width>
|
|
<Size> 27 </Size>
|
|
<Font> KanitTTF </Font>
|
|
<Color> 0xB78F24 </Color>
|
|
<Value> $best_seller_12.Price </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 164 </X>
|
|
<Y> 12 </Y>
|
|
<State> ShowPrice </State>
|
|
<Width>20</Width>
|
|
<Size> 27 </Size>
|
|
<Font> KanitTTF </Font>
|
|
<Color> 0xB78F24 </Color>
|
|
<Value> "฿"" </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 190 </Y>
|
|
<Size> 24 </Size>
|
|
<Width>220</Width>
|
|
<Mode> "multi2" </Mode>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x322B26 </Color>
|
|
<State> showthaiText </State>
|
|
<Value> $best_seller_12.Name </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 246 </Y>
|
|
<Size> 14 </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x6F5F51 </Color>
|
|
<State> showthaiText </State>
|
|
<Value> $best_seller_12.description </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 190 </Y>
|
|
<Size> 22 </Size>
|
|
<Width>220</Width>
|
|
<Mode> "multi2" </Mode>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x322B26 </Color>
|
|
<State> showengText </State>
|
|
<Value> $best_seller_12.NameE </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 246 </Y>
|
|
<Size> 14 </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x6F5F51 </Color>
|
|
<State> showengText </State>
|
|
<Value> $best_seller_12.descriptionE </Value>
|
|
</Text>
|
|
<Image>
|
|
<X> 2 </X>
|
|
<Y> 2 </Y>
|
|
<State> eval( STRCONTAIN "Smoothie" $best_seller_12.Button SmoRet
|
|
If SmoRet = "true" Then
|
|
Var return = "Enable"
|
|
Else
|
|
Var return = "Invisible"
|
|
EndIf
|
|
) </State>
|
|
<Filename> "ROOT/taobin_project/image/topping2/blender_icon.png" </Filename>
|
|
</Image>
|
|
</Block>
|
|
; button i=13 best_seller_13
|
|
<Block>
|
|
<MarginLeft> 33 </MarginLeft>
|
|
<MarginTop> 22 </MarginTop>
|
|
<Width> 225 </Width>
|
|
<Height> 296 </Height>
|
|
<State> $best_seller_13.Button </State>
|
|
<Button>
|
|
<State> $best_seller_13.Button </State>
|
|
<Filename> Var( "ROOT/taobin_project/image/page_drink/" + $best_seller_13.image ) </Filename>
|
|
<FilenamePress> Var( "ROOT/taobin_project/image/page_drink_press/" + $best_seller_13.image ) " </FilenamePress>
|
|
<FilenameDisable> Var( "ROOT/taobin_project/image/page_drink_disable/" + $best_seller_13.image ) " </FilenameDisable>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventOnClick>
|
|
Var SelectDrink = $best_seller_13.Self
|
|
Var NameDrink = $best_seller_13.NameE
|
|
Var NameDrinkTH = $best_seller_13.Name
|
|
Var DrinkDescriptionTH = $best_seller_13.description
|
|
Var DrinkDescription = $best_seller_13.descriptionE
|
|
Var PriceDrink = $best_seller_13.Price
|
|
Var PictureDrink = "ROOT/taobin_project/image/page_drink_select/" + $best_seller_13.image
|
|
Topping "Load" SelectDrink
|
|
SAVELOG NameDrink
|
|
Var PriceShowValue = charOfBaht + PriceDrink
|
|
Var OpenFromXML = CurrentXMLFileName2
|
|
STRCONTAIN "Smoothie" $best_seller_13.Button IsSmoRet
|
|
Open "ROOT/taobin_project/xml/page_topping_select.xml"
|
|
</EventOnClick>
|
|
</Button>
|
|
<Text>
|
|
<X> 182 </X>
|
|
<Y> 12 </Y>
|
|
<State> ShowPrice </State>
|
|
<Align> "Hurr" </Align>
|
|
<Width>150</Width>
|
|
<Size> 27 </Size>
|
|
<Font> KanitTTF </Font>
|
|
<Color> 0xB78F24 </Color>
|
|
<Value> $best_seller_13.Price </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 164 </X>
|
|
<Y> 12 </Y>
|
|
<State> ShowPrice </State>
|
|
<Width>20</Width>
|
|
<Size> 27 </Size>
|
|
<Font> KanitTTF </Font>
|
|
<Color> 0xB78F24 </Color>
|
|
<Value> "฿"" </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 190 </Y>
|
|
<Size> 24 </Size>
|
|
<Width>220</Width>
|
|
<Mode> "multi2" </Mode>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x322B26 </Color>
|
|
<State> showthaiText </State>
|
|
<Value> $best_seller_13.Name </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 246 </Y>
|
|
<Size> 14 </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x6F5F51 </Color>
|
|
<State> showthaiText </State>
|
|
<Value> $best_seller_13.description </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 190 </Y>
|
|
<Size> 22 </Size>
|
|
<Width>220</Width>
|
|
<Mode> "multi2" </Mode>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x322B26 </Color>
|
|
<State> showengText </State>
|
|
<Value> $best_seller_13.NameE </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 246 </Y>
|
|
<Size> 14 </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x6F5F51 </Color>
|
|
<State> showengText </State>
|
|
<Value> $best_seller_13.descriptionE </Value>
|
|
</Text>
|
|
<Image>
|
|
<X> 2 </X>
|
|
<Y> 2 </Y>
|
|
<State> eval( STRCONTAIN "Smoothie" $best_seller_13.Button SmoRet
|
|
If SmoRet = "true" Then
|
|
Var return = "Enable"
|
|
Else
|
|
Var return = "Invisible"
|
|
EndIf
|
|
) </State>
|
|
<Filename> "ROOT/taobin_project/image/topping2/blender_icon.png" </Filename>
|
|
</Image>
|
|
</Block>
|
|
; button i=14 best_seller_14
|
|
<Block>
|
|
<MarginLeft> 33 </MarginLeft>
|
|
<MarginTop> 22 </MarginTop>
|
|
<Width> 225 </Width>
|
|
<Height> 296 </Height>
|
|
<State> $best_seller_14.Button </State>
|
|
<Button>
|
|
<State> $best_seller_14.Button </State>
|
|
<Filename> Var( "ROOT/taobin_project/image/page_drink/" + $best_seller_14.image ) </Filename>
|
|
<FilenamePress> Var( "ROOT/taobin_project/image/page_drink_press/" + $best_seller_14.image ) " </FilenamePress>
|
|
<FilenameDisable> Var( "ROOT/taobin_project/image/page_drink_disable/" + $best_seller_14.image ) " </FilenameDisable>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventOnClick>
|
|
Var SelectDrink = $best_seller_14.Self
|
|
Var NameDrink = $best_seller_14.NameE
|
|
Var NameDrinkTH = $best_seller_14.Name
|
|
Var DrinkDescriptionTH = $best_seller_14.description
|
|
Var DrinkDescription = $best_seller_14.descriptionE
|
|
Var PriceDrink = $best_seller_14.Price
|
|
Var PictureDrink = "ROOT/taobin_project/image/page_drink_select/" + $best_seller_14.image
|
|
Topping "Load" SelectDrink
|
|
SAVELOG NameDrink
|
|
Var PriceShowValue = charOfBaht + PriceDrink
|
|
Var OpenFromXML = CurrentXMLFileName2
|
|
STRCONTAIN "Smoothie" $best_seller_14.Button IsSmoRet
|
|
Open "ROOT/taobin_project/xml/page_topping_select.xml"
|
|
</EventOnClick>
|
|
</Button>
|
|
<Text>
|
|
<X> 182 </X>
|
|
<Y> 12 </Y>
|
|
<State> ShowPrice </State>
|
|
<Align> "Hurr" </Align>
|
|
<Width>150</Width>
|
|
<Size> 27 </Size>
|
|
<Font> KanitTTF </Font>
|
|
<Color> 0xB78F24 </Color>
|
|
<Value> $best_seller_14.Price </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 164 </X>
|
|
<Y> 12 </Y>
|
|
<State> ShowPrice </State>
|
|
<Width>20</Width>
|
|
<Size> 27 </Size>
|
|
<Font> KanitTTF </Font>
|
|
<Color> 0xB78F24 </Color>
|
|
<Value> "฿"" </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 190 </Y>
|
|
<Size> 24 </Size>
|
|
<Width>220</Width>
|
|
<Mode> "multi2" </Mode>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x322B26 </Color>
|
|
<State> showthaiText </State>
|
|
<Value> $best_seller_14.Name </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 246 </Y>
|
|
<Size> 14 </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x6F5F51 </Color>
|
|
<State> showthaiText </State>
|
|
<Value> $best_seller_14.description </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 190 </Y>
|
|
<Size> 22 </Size>
|
|
<Width>220</Width>
|
|
<Mode> "multi2" </Mode>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x322B26 </Color>
|
|
<State> showengText </State>
|
|
<Value> $best_seller_14.NameE </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 246 </Y>
|
|
<Size> 14 </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x6F5F51 </Color>
|
|
<State> showengText </State>
|
|
<Value> $best_seller_14.descriptionE </Value>
|
|
</Text>
|
|
<Image>
|
|
<X> 2 </X>
|
|
<Y> 2 </Y>
|
|
<State> eval( STRCONTAIN "Smoothie" $best_seller_14.Button SmoRet
|
|
If SmoRet = "true" Then
|
|
Var return = "Enable"
|
|
Else
|
|
Var return = "Invisible"
|
|
EndIf
|
|
) </State>
|
|
<Filename> "ROOT/taobin_project/image/topping2/blender_icon.png" </Filename>
|
|
</Image>
|
|
</Block>
|
|
; button i=15 best_seller_15
|
|
<Block>
|
|
<MarginLeft> 33 </MarginLeft>
|
|
<MarginTop> 22 </MarginTop>
|
|
<Width> 225 </Width>
|
|
<Height> 296 </Height>
|
|
<State> $best_seller_15.Button </State>
|
|
<Button>
|
|
<State> $best_seller_15.Button </State>
|
|
<Filename> Var( "ROOT/taobin_project/image/page_drink/" + $best_seller_15.image ) </Filename>
|
|
<FilenamePress> Var( "ROOT/taobin_project/image/page_drink_press/" + $best_seller_15.image ) " </FilenamePress>
|
|
<FilenameDisable> Var( "ROOT/taobin_project/image/page_drink_disable/" + $best_seller_15.image ) " </FilenameDisable>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventOnClick>
|
|
Var SelectDrink = $best_seller_15.Self
|
|
Var NameDrink = $best_seller_15.NameE
|
|
Var NameDrinkTH = $best_seller_15.Name
|
|
Var DrinkDescriptionTH = $best_seller_15.description
|
|
Var DrinkDescription = $best_seller_15.descriptionE
|
|
Var PriceDrink = $best_seller_15.Price
|
|
Var PictureDrink = "ROOT/taobin_project/image/page_drink_select/" + $best_seller_15.image
|
|
Topping "Load" SelectDrink
|
|
SAVELOG NameDrink
|
|
Var PriceShowValue = charOfBaht + PriceDrink
|
|
Var OpenFromXML = CurrentXMLFileName2
|
|
STRCONTAIN "Smoothie" $best_seller_15.Button IsSmoRet
|
|
Open "ROOT/taobin_project/xml/page_topping_select.xml"
|
|
</EventOnClick>
|
|
</Button>
|
|
<Text>
|
|
<X> 182 </X>
|
|
<Y> 12 </Y>
|
|
<State> ShowPrice </State>
|
|
<Align> "Hurr" </Align>
|
|
<Width>150</Width>
|
|
<Size> 27 </Size>
|
|
<Font> KanitTTF </Font>
|
|
<Color> 0xB78F24 </Color>
|
|
<Value> $best_seller_15.Price </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 164 </X>
|
|
<Y> 12 </Y>
|
|
<State> ShowPrice </State>
|
|
<Width>20</Width>
|
|
<Size> 27 </Size>
|
|
<Font> KanitTTF </Font>
|
|
<Color> 0xB78F24 </Color>
|
|
<Value> "฿"" </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 190 </Y>
|
|
<Size> 24 </Size>
|
|
<Width>220</Width>
|
|
<Mode> "multi2" </Mode>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x322B26 </Color>
|
|
<State> showthaiText </State>
|
|
<Value> $best_seller_15.Name </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 246 </Y>
|
|
<Size> 14 </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x6F5F51 </Color>
|
|
<State> showthaiText </State>
|
|
<Value> $best_seller_15.description </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 190 </Y>
|
|
<Size> 22 </Size>
|
|
<Width>220</Width>
|
|
<Mode> "multi2" </Mode>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x322B26 </Color>
|
|
<State> showengText </State>
|
|
<Value> $best_seller_15.NameE </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 246 </Y>
|
|
<Size> 14 </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x6F5F51 </Color>
|
|
<State> showengText </State>
|
|
<Value> $best_seller_15.descriptionE </Value>
|
|
</Text>
|
|
<Image>
|
|
<X> 2 </X>
|
|
<Y> 2 </Y>
|
|
<State> eval( STRCONTAIN "Smoothie" $best_seller_15.Button SmoRet
|
|
If SmoRet = "true" Then
|
|
Var return = "Enable"
|
|
Else
|
|
Var return = "Invisible"
|
|
EndIf
|
|
) </State>
|
|
<Filename> "ROOT/taobin_project/image/topping2/blender_icon.png" </Filename>
|
|
</Image>
|
|
</Block>
|
|
; button i=16 best_seller_16
|
|
<Block>
|
|
<MarginLeft> 33 </MarginLeft>
|
|
<MarginTop> 22 </MarginTop>
|
|
<Width> 225 </Width>
|
|
<Height> 296 </Height>
|
|
<State> $best_seller_16.Button </State>
|
|
<Button>
|
|
<State> $best_seller_16.Button </State>
|
|
<Filename> Var( "ROOT/taobin_project/image/page_drink/" + $best_seller_16.image ) </Filename>
|
|
<FilenamePress> Var( "ROOT/taobin_project/image/page_drink_press/" + $best_seller_16.image ) " </FilenamePress>
|
|
<FilenameDisable> Var( "ROOT/taobin_project/image/page_drink_disable/" + $best_seller_16.image ) " </FilenameDisable>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventOnClick>
|
|
Var SelectDrink = $best_seller_16.Self
|
|
Var NameDrink = $best_seller_16.NameE
|
|
Var NameDrinkTH = $best_seller_16.Name
|
|
Var DrinkDescriptionTH = $best_seller_16.description
|
|
Var DrinkDescription = $best_seller_16.descriptionE
|
|
Var PriceDrink = $best_seller_16.Price
|
|
Var PictureDrink = "ROOT/taobin_project/image/page_drink_select/" + $best_seller_16.image
|
|
Topping "Load" SelectDrink
|
|
SAVELOG NameDrink
|
|
Var PriceShowValue = charOfBaht + PriceDrink
|
|
Var OpenFromXML = CurrentXMLFileName2
|
|
STRCONTAIN "Smoothie" $best_seller_16.Button IsSmoRet
|
|
Open "ROOT/taobin_project/xml/page_topping_select.xml"
|
|
</EventOnClick>
|
|
</Button>
|
|
<Text>
|
|
<X> 182 </X>
|
|
<Y> 12 </Y>
|
|
<State> ShowPrice </State>
|
|
<Align> "Hurr" </Align>
|
|
<Width>150</Width>
|
|
<Size> 27 </Size>
|
|
<Font> KanitTTF </Font>
|
|
<Color> 0xB78F24 </Color>
|
|
<Value> $best_seller_16.Price </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 164 </X>
|
|
<Y> 12 </Y>
|
|
<State> ShowPrice </State>
|
|
<Width>20</Width>
|
|
<Size> 27 </Size>
|
|
<Font> KanitTTF </Font>
|
|
<Color> 0xB78F24 </Color>
|
|
<Value> "฿"" </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 190 </Y>
|
|
<Size> 24 </Size>
|
|
<Width>220</Width>
|
|
<Mode> "multi2" </Mode>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x322B26 </Color>
|
|
<State> showthaiText </State>
|
|
<Value> $best_seller_16.Name </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 246 </Y>
|
|
<Size> 14 </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x6F5F51 </Color>
|
|
<State> showthaiText </State>
|
|
<Value> $best_seller_16.description </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 190 </Y>
|
|
<Size> 22 </Size>
|
|
<Width>220</Width>
|
|
<Mode> "multi2" </Mode>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x322B26 </Color>
|
|
<State> showengText </State>
|
|
<Value> $best_seller_16.NameE </Value>
|
|
</Text>
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 246 </Y>
|
|
<Size> 14 </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> 0x6F5F51 </Color>
|
|
<State> showengText </State>
|
|
<Value> $best_seller_16.descriptionE </Value>
|
|
</Text>
|
|
<Image>
|
|
<X> 2 </X>
|
|
<Y> 2 </Y>
|
|
<State> eval( STRCONTAIN "Smoothie" $best_seller_16.Button SmoRet
|
|
If SmoRet = "true" Then
|
|
Var return = "Enable"
|
|
Else
|
|
Var return = "Invisible"
|
|
EndIf
|
|
) </State>
|
|
<Filename> "ROOT/taobin_project/image/topping2/blender_icon.png" </Filename>
|
|
</Image>
|
|
</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>
|
|
|
|
|
|
|
|
|
|
<Button>
|
|
<X> 780 </X>
|
|
<Y> 500 </Y>
|
|
<State> buttonRemoveCup </State>
|
|
;<Color> "0x00BDFF" </Color>
|
|
<Interval> 500 </Interval>
|
|
<Filename> "ROOT/taobin_project/image/main_page/bn_remove_cup.png" </Filename>
|
|
<Filename> "ROOT/taobin_project/image/main_page/bp_remove_cup.png" </Filename>
|
|
<EventClick>
|
|
Machine RemoveCup
|
|
Machine DoorLidOpen
|
|
</EventClick>
|
|
</Button>
|
|
|
|
|
|
|
|
|
|
</Popup>
|