1706 lines
45 KiB
XML
1706 lines
45 KiB
XML
|
|
|
|
|
|
|
|
<Popup>
|
|
<Cache> "Enable" </Cache>
|
|
<Width> 1080 </Width>
|
|
<Height> 1920 </Height>
|
|
<Background> "0xeae6e1" </Background>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventOpen>
|
|
Var SpiralOption = 0
|
|
Var SpiralSoftwareVersion = "1.10"
|
|
Var ColorBrown = 0x746253
|
|
Var ColorBrown2 = 0x513C2F
|
|
|
|
Var ColorBlack = 0x000000
|
|
Var ColorBlack1 = 0x322B26
|
|
|
|
Var ColorWhite = 0xFFFFFF
|
|
|
|
Var ColorOrange = 0xDE794E
|
|
DEBUGVAR DirImageSpiral
|
|
Var PayDetail=""
|
|
GenHashWithTimeStamp SpiralRef
|
|
If show_eng = "true" Then
|
|
Var showthaiText = "Invisible"
|
|
Var showengText = "Enable"
|
|
Var DirImage = "ROOT/taobin_project/image/page3_en"
|
|
Var DirImageSpiral = "ROOT/taobin_project/spiral/image/page_spiral/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 text_unavailable = "UNAVAILABLE###size=16"
|
|
|
|
Var ImageShowPrice ="ROOT/taobin_project/spiral/image/page_spiral/spiral_en_price.png"
|
|
|
|
Else
|
|
Var showengText = "Invisible"
|
|
Var showthaiText = "Enable"
|
|
|
|
Var DirImage = "ROOT/taobin_project/image/page3"
|
|
Var DirImageSpiral = "ROOT/taobin_project/spiral/image/page_spiral/"
|
|
Var show_btp = "ROOT/taobin_project/image/bn_eng_lang_press.png"
|
|
Var show_btn = "ROOT/taobin_project/image/bn_eng_lang.png"
|
|
Var ImageShowPrice ="ROOT/taobin_project/spiral/image/page_spiral/spiral_th_price.png"
|
|
Var text_unavailable = "หมด###size=32"
|
|
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"
|
|
Var MenuSpiral1 = "Enable"
|
|
Var MenuSpiral2 = "Enable"
|
|
Var MenuSpiral3 = "Enable"
|
|
Var MenuSpiral4 = "Enable"
|
|
Var MenuSpiral5 = "Enable"
|
|
Var MenuSpiral6 = "Enable"
|
|
Var MenuSpiral7 = "Enable"
|
|
Var MenuSpiral8 = "Enable"
|
|
EndIf
|
|
EndIf
|
|
|
|
; init default
|
|
Var Menu1Selected = "Enable"
|
|
Var Menu2Selected = "Enable"
|
|
Var Menu3Selected = "Enable"
|
|
Var Menu4Selected = "Enable"
|
|
; 5 fruit
|
|
Var Menu5Selected = "Invisible"
|
|
Var Menu6Selected = "Enable"
|
|
Var Menu7Selected = "Enable"
|
|
; 8 cocktail
|
|
Var Menu8Selected = "Invisible"
|
|
|
|
If CocktailShow = "true" Then
|
|
Var Menu7Selected = "Invisible"
|
|
Var Menu8Selected = "Enable"
|
|
EndIf
|
|
|
|
|
|
If AppFastEnable = "true" Then
|
|
Var Menu11Selected = "Enable"
|
|
Var Menu21Selected = "Invisible"
|
|
Var Menu7Selected = "Invisible"
|
|
Else
|
|
If MenuKidEnable = "true" Then
|
|
Var Menu11Selected = "Invisible"
|
|
Var Menu21Selected = "Enable"
|
|
Var Menu7Selected = "Invisible"
|
|
Else
|
|
Var Menu11Selected = "Invisible"
|
|
Var Menu21Selected = "Invisible"
|
|
Var Menu7Selected = "Enable"
|
|
EndIf
|
|
EndIf
|
|
|
|
|
|
;Var Menu22Selected = "Enable"
|
|
Var Menu22Selected = "Invisible"
|
|
|
|
If RecipeTag1 = "HealthTurnOn" Then
|
|
Var Menu22Selected = "Enable"
|
|
Else
|
|
Var Menu22Selected = "Invisible"
|
|
EndIf
|
|
|
|
; spiral
|
|
Var MenuSpiral6 = "PressForever"
|
|
Var MenuVSelected2 = "PressForever"
|
|
|
|
Var Timeout = 0
|
|
</EventOpen>
|
|
|
|
|
|
|
|
|
|
<Timeout> 1000 </Timeout>
|
|
<EventTimeout>
|
|
If NextPage = "-" Then
|
|
|
|
Else
|
|
If CupOnArm = "true" Then
|
|
If Timeout > 9 Then
|
|
Open NextPage
|
|
EndIf
|
|
Else
|
|
If Timeout > 30 Then
|
|
Open NextPage
|
|
EndIf
|
|
EndIf
|
|
EndIf
|
|
|
|
If Timeout > 60 Then
|
|
If Seeker = "next" Then
|
|
Open "ROOT/taobin_project/xml/page_brewing3Conti.xml"
|
|
Else
|
|
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
|
EndIf
|
|
EndIf
|
|
|
|
If BrewCommand = "RefreshAll" Then
|
|
Var BrewCommand = "-"
|
|
Open CurrentXMLFileName2
|
|
EndIf
|
|
|
|
Var Timeout = Timeout + 1
|
|
TimerReset
|
|
</EventTimeout>
|
|
|
|
|
|
;<Image>
|
|
;<X> 0 </X>
|
|
;<Y> 0 </Y>
|
|
;<Filename> "ROOT/taobin_project/image/ad_medium_2.png" </Filename>
|
|
;</Image>
|
|
|
|
<Video>
|
|
<X> 0 </X>
|
|
<Y> 0 </Y>
|
|
<Width> 1080</Width>
|
|
<Height> 380 </Height>
|
|
<Loop> "true" </Loop>
|
|
<Filename> video_menu_1 </Filename>
|
|
</Video>
|
|
|
|
; under line
|
|
<Image>
|
|
<X> 0 </X>
|
|
<Y> 494 </Y>
|
|
<Filename> "ROOT/taobin_project/image/page3/tab_line_bottom.png" </Filename>
|
|
</Image>
|
|
|
|
|
|
; under line
|
|
<Image>
|
|
<X> 0 </X>
|
|
<Y> 358 </Y>
|
|
<Filename> "ROOT/taobin_project/image/page3/bg1.png" </Filename>
|
|
</Image>
|
|
|
|
|
|
|
|
; back
|
|
<Button>
|
|
<X> 19 </X>
|
|
<Y> 381 </Y>
|
|
<Filename> "ROOT/taobin_project/image/page2/bn_back_arrow_2.png" </Filename>
|
|
<FilenamePress> "ROOT/taobin_project/image/page2/bn_back_arrow_2.png" </FilenamePress>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventClick>
|
|
If SpiralOnline = "true" Then
|
|
If Seeker = "curr" Then
|
|
Open "ROOT/taobin_project/xml/page_catalog_with_vending.xml"
|
|
Else
|
|
Open "ROOT/taobin_project/xml/page_catalog.xml"
|
|
EndIf
|
|
Else
|
|
Open "ROOT/taobin_project/xml/page_catalog.xml"
|
|
EndIf
|
|
|
|
</EventClick>
|
|
</Button>
|
|
|
|
<Button>
|
|
<X> 1000 </X>
|
|
<Y> 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>
|
|
|
|
;
|
|
|
|
;
|
|
<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 = "-"
|
|
|
|
If ShowPromoitonOreo = 1 Then
|
|
Open "ROOT/taobin_project/xml/page_catalog_group_recommend2.xml"
|
|
Else
|
|
|
|
If SongkranEnable = 1 Then
|
|
Open "ROOT/taobin_project/xml/page_catalog_group_recommend3.xml"
|
|
Else
|
|
Open "ROOT/taobin_project/xml/page_catalog_group_recommend.xml"
|
|
EndIf
|
|
EndIf
|
|
</EventClick>
|
|
</Button>
|
|
|
|
|
|
<Button>
|
|
<Layout> "linear" </Layout>
|
|
<State> Menu2Selected </State>
|
|
<Filename> Var( DirImageAlter + "/bn_coffee2.png") </Filename>
|
|
<FilenamePress> Var( DirImageAlter + "/bp_coffee2.png") </FilenamePress>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventClick>
|
|
Var NextPage = "-"
|
|
Open "ROOT/taobin_project/xml/page_catalog_group_coffee.xml"
|
|
|
|
</EventClick>
|
|
</Button>
|
|
|
|
<Button>
|
|
<Layout> "linear" </Layout>
|
|
<State> Menu3Selected </State>
|
|
<Filename> Var( DirImageAlter + "/bn_tea2.png") </Filename>
|
|
<FilenamePress> Var( DirImageAlter + "/bp_tea2.png") </FilenamePress>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventClick>
|
|
Var NextPage = "-"
|
|
If new_layout = "true" Then
|
|
Open "ROOT/taobin_project/xml/page_catalog_group_tea.xml"
|
|
Else
|
|
Open "ROOT/taobin_project/xml/page_catalog_choose_drink3.xml"
|
|
EndIf
|
|
</EventClick>
|
|
</Button>
|
|
|
|
|
|
<Button>
|
|
<Layout> "linear" </Layout>
|
|
<State> Menu4Selected </State>
|
|
<Filename> Var( DirImageAlter + "/bn_cho_ca2.png") </Filename>
|
|
<FilenamePress> Var( DirImageAlter + "/bp_cho_ca2.png") </FilenamePress>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventClick>
|
|
Var NextPage = "-"
|
|
If new_layout = "true" Then
|
|
Open "ROOT/taobin_project/xml/page_catalog_group_milk.xml"
|
|
Else
|
|
Open "ROOT/taobin_project/xml/page_catalog_choose_drink4.xml"
|
|
|
|
EndIf
|
|
</EventClick>
|
|
</Button>
|
|
|
|
|
|
<Button>
|
|
<Layout> "linear" </Layout>
|
|
<State> Menu7Selected </State>
|
|
<Filename> Var( DirImageAlter + "/bn_protein2.png") </Filename>
|
|
<FilenamePress> Var( DirImageAlter + "/bp_protein2.png") </FilenamePress>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventClick>
|
|
Var NextPage = "-"
|
|
If new_layout = "true" Then
|
|
Open "ROOT/taobin_project/xml/page_catalog_group_whey.xml"
|
|
Else
|
|
Open "ROOT/taobin_project/xml/page_catalog_choose_drink7.xml"
|
|
EndIf
|
|
</EventClick>
|
|
</Button>
|
|
|
|
<Button>
|
|
<Layout> "linear" </Layout>
|
|
<State> Menu11Selected </State>
|
|
<Filename> Var( DirImageAlter + "/bn_appfast2.png") </Filename>
|
|
<FilenamePress> Var( DirImageAlter + "/bp_appfast2.png") </FilenamePress>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventClick>
|
|
Var NextPage = "-"
|
|
If new_layout = "true" Then
|
|
Open "ROOT/taobin_project/xml/page_catalog_group_appfast.xml"
|
|
Else
|
|
Open "ROOT/taobin_project/xml/page_catalog_choose_drink11.xml"
|
|
EndIf
|
|
</EventClick>
|
|
</Button>
|
|
|
|
|
|
|
|
<Button>
|
|
<Layout> "linear" </Layout>
|
|
<State> Menu21Selected </State>
|
|
<Filename> Var( DirImageAlter + "/bn_forkid2.png") </Filename>
|
|
<FilenamePress> Var( DirImageAlter + "/bp_forkid2.png") </FilenamePress>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventClick>
|
|
Var NextPage = "-"
|
|
Open "ROOT/taobin_project/xml/page_catalog_group_forkid.xml"
|
|
</EventClick>
|
|
</Button>
|
|
|
|
|
|
<Button>
|
|
<Layout> "linear" </Layout>
|
|
<State> Menu22Selected </State>
|
|
<Filename> Var( DirImageAlter + "/bn_health.png") </Filename>
|
|
<FilenamePress> Var( DirImageAlter + "/bp_health.png") </FilenamePress>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventClick>
|
|
Var NextPage = "-"
|
|
Open "ROOT/taobin_project/xml/page_catalog_group_health.xml"
|
|
</EventClick>
|
|
</Button>
|
|
|
|
<Button>
|
|
<Layout> "linear" </Layout>
|
|
<State> Menu8Selected </State>
|
|
<Filename> Var( DirImageAlter + "/bn_cocktail.png") </Filename>
|
|
<FilenamePress> Var( DirImageAlter + "/bp_cocktail.png") </FilenamePress>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventClick>
|
|
Var NextPage = "-"
|
|
Open "ROOT/taobin_project/xml/page_catalog_choose_drink8.xml"
|
|
</EventClick>
|
|
</Button>
|
|
|
|
<Button>
|
|
<Layout> "linear" </Layout>
|
|
<State> Menu6Selected </State>
|
|
<Filename> Var( DirImageAlter + "/bn_sodada2.png") </Filename>
|
|
<FilenamePress> Var( DirImageAlter + "/bp_sodada2.png") </FilenamePress>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventClick>
|
|
Var NextPage = "-"
|
|
If new_layout = "true" Then
|
|
Open "ROOT/taobin_project/xml/page_catalog_group_other.xml"
|
|
Else
|
|
Open "ROOT/taobin_project/xml/page_catalog_choose_drink6.xml"
|
|
EndIf
|
|
</EventClick>
|
|
</Button>
|
|
|
|
<Button>
|
|
<Layout> "linear" </Layout>
|
|
<State> MenuVSelected2 </State>
|
|
<Filename> Var( DirImageAlter + "/bn_vending2.png") </Filename>
|
|
<FilenamePress> Var( DirImageAlter + "/bp_vending2.png") </FilenamePress>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventClick>
|
|
Var NextPage = "-"
|
|
Open "ROOT/taobin_project/spiral/xml/page_catalog_vending_machine.xml"
|
|
</EventClick>
|
|
</Button>
|
|
</Row2>
|
|
</ListView1>
|
|
|
|
<Image>
|
|
<X> 0 </X>
|
|
<Y> 599 </Y>
|
|
<Filename> "ROOT/taobin_project/image/page3/tab_line_bottom.png" </Filename>
|
|
</Image>
|
|
|
|
<ListView1>
|
|
<Width> 1080 </Width>
|
|
<Height> "auto" </Height>
|
|
<X> 0 </X>
|
|
<Y> 500 </Y>
|
|
<Row2>
|
|
<State>"Enable"</State>
|
|
<Width> 896 </Width>
|
|
<Height> 102 </Height>
|
|
<Button>
|
|
<Layout> "linear" </Layout>
|
|
<State> MenuSpiral1 </State>
|
|
<Filename> Var( DirImageSpiral + "bn_all.png") </Filename>
|
|
<FilenamePress> Var( DirImageSpiral + "bp_all.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>
|
|
|
|
|
|
<Button>
|
|
<Layout> "linear" </Layout>
|
|
<State> MenuSpiral2 </State>
|
|
<Filename> Var( DirImageSpiral + "bn_snacks.png") </Filename>
|
|
<FilenamePress> Var( DirImageSpiral + "bp_snacks.png") </FilenamePress>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventClick>
|
|
Var NextPage = "-"
|
|
Open "ROOT/taobin_project/spiral/xml/page_catalog_group_snacks.xml"
|
|
</EventClick>
|
|
</Button>
|
|
|
|
|
|
<Button>
|
|
<Layout> "linear" </Layout>
|
|
<State> MenuSpiral3 </State>
|
|
<Filename> Var( DirImageSpiral + "bn_nuts.png") </Filename>
|
|
<FilenamePress> Var( DirImageSpiral + "bp_nuts.png") </FilenamePress>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventClick>
|
|
Var NextPage = "-"
|
|
Open "ROOT/taobin_project/spiral/xml/page_catalog_group_nuts.xml"
|
|
</EventClick>
|
|
</Button>
|
|
|
|
|
|
<Button>
|
|
<Layout> "linear" </Layout>
|
|
<State> MenuSpiral4 </State>
|
|
<Filename> Var( DirImageSpiral + "bn_noodies.png") </Filename>
|
|
<FilenamePress> Var( DirImageSpiral + "bp_noodies.png") </FilenamePress>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventClick>
|
|
Var NextPage = "-"
|
|
Open "ROOT/taobin_project/spiral/xml/page_catalog_group_noodies.xml"
|
|
</EventClick>
|
|
</Button>
|
|
|
|
<Button>
|
|
<Layout> "linear" </Layout>
|
|
<State> MenuSpiral5 </State>
|
|
<Filename> Var( DirImageSpiral + "bn_candies.png") </Filename>
|
|
<FilenamePress> Var( DirImageSpiral + "bp_candies.png") </FilenamePress>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventClick>
|
|
Var NextPage = "-"
|
|
Open "ROOT/taobin_project/spiral/xml/page_catalog_group_candies.xml"
|
|
</EventClick>
|
|
</Button>
|
|
|
|
|
|
|
|
<Button>
|
|
<Layout> "linear" </Layout>
|
|
<State> MenuSpiral6 </State>
|
|
<Filename> Var( DirImageSpiral + "bn_cookies.png") </Filename>
|
|
<FilenamePress> Var( DirImageSpiral + "bp_cookies.png") </FilenamePress>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventClick>
|
|
Var NextPage = "-"
|
|
Open "ROOT/taobin_project/spiral/xml/page_catalog_group_cookies.xml"
|
|
</EventClick>
|
|
</Button>
|
|
|
|
|
|
<Button>
|
|
<Layout> "linear" </Layout>
|
|
<State> MenuSpiral7 </State>
|
|
<Filename> Var( DirImageSpiral + "bn_health.png") </Filename>
|
|
<FilenamePress> Var( DirImageSpiral + "bp_health.png") </FilenamePress>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventClick>
|
|
Var NextPage = "-"
|
|
Open "ROOT/taobin_project/spiral/xml/page_catalog_group_health.xml"
|
|
</EventClick>
|
|
</Button>
|
|
|
|
<Button>
|
|
<Layout> "linear" </Layout>
|
|
<State> MenuSpiral8 </State>
|
|
<Filename> Var( DirImageSpiral + "bn_drinks.png") </Filename>
|
|
<FilenamePress> Var( DirImageSpiral + "bp_drinks.png") </FilenamePress>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventClick>
|
|
Var NextPage = "-"
|
|
Open "ROOT/taobin_project/spiral/xml/page_catalog_group_drinks.xml"
|
|
</EventClick>
|
|
</Button>
|
|
|
|
|
|
</Row2>
|
|
</ListView1>
|
|
|
|
<EventWebApp>
|
|
|
|
DEBUGVAR web_ready
|
|
If web_ready = "true" Then
|
|
If web_ref = QRCODE99x Then
|
|
|
|
Var web_readyOK = web_ready
|
|
Var web_telnumOK = web_telnum
|
|
|
|
Var web_app_prepar = "true"
|
|
Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_payment.xml"
|
|
|
|
EndIf
|
|
Else
|
|
EndIf
|
|
|
|
</EventWebApp>
|
|
|
|
|
|
|
|
<FrameScroll>
|
|
<X> 10 </X>
|
|
<Y> 602 </Y>
|
|
<Width> 1080 </Width>
|
|
<ScrollHeight> "auto" </ScrollHeight>
|
|
<Scroll> "Vertical" </Scroll>
|
|
<Column> 4 </Column>
|
|
|
|
; button i=1 03-02-00-5007
|
|
<Block>
|
|
<MarginLeft> 33 </MarginLeft>
|
|
<MarginTop> 22 </MarginTop>
|
|
<Width> 225 </Width>
|
|
<Height> 296 </Height>
|
|
<State> $03-02-00-5007.Button </State>
|
|
<Button>
|
|
<State> $03-02-00-5007.Button </State>
|
|
<Filename> Var( "ROOT/taobin_project/spiral/image/page_spiral/" + $03-02-00-5007.image ) </Filename>
|
|
<FilenamePress> Var( "ROOT/taobin_project/spiral/image/page_spiral_press/" + $03-02-00-5007.image ) " </FilenamePress>
|
|
<FilenameDisable> Var( "ROOT/taobin_project/spiral/image/page_spiral_press/" + $03-02-00-5007.image ) " </FilenameDisable>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventOnClick>
|
|
|
|
Var SpiralSelectdetail1 = $03-02-00-5007.detail1
|
|
Var SpiralSelectheader2 = $03-02-00-5007.header2
|
|
Var SpiralSelectdetail2 = $03-02-00-5007.detail2
|
|
|
|
Var SpiralSelectdetail1E = $03-02-00-5007.detail1E
|
|
Var SpiralSelectheader2E = $03-02-00-5007.header2E
|
|
Var SpiralSelectdetail2E = $03-02-00-5007.detail2E
|
|
|
|
Var ServiceCredit = "03-02-00-5007"
|
|
Var NameDrink = $03-02-00-5007.NameE
|
|
Var NameDrinkTH = $03-02-00-5007.Name
|
|
Var DrinkDescriptionTH = $03-02-00-5007.description
|
|
Var DrinkDescription = $03-02-00-5007.descriptionE
|
|
Var PriceDrink = $03-02-00-5007.Price
|
|
Var SpiralProduct = "ROOT/taobin_project/spiral/image/page_spiral/spiral_product_" + $03-02-00-5007.image
|
|
Var Spiraldetail = "ROOT/taobin_project/spiral/image/page_spiral/spiral_text_detail_" + $03-02-00-5007.image
|
|
|
|
SAVELOG NameDrink
|
|
Var PriceShowValue = charOfBaht + PriceDrink
|
|
|
|
|
|
SPIRAL_VERIFY ServiceCredit SpiralRef
|
|
Open "ROOT/taobin_project/spiral/xml/page_spiral_check.xml"
|
|
|
|
</EventOnClick>
|
|
</Button>
|
|
|
|
<Image>
|
|
<X> 49 </X>
|
|
<Y> 117 </Y>
|
|
<State>
|
|
eval(
|
|
If $03-02-00-5007.Button = "Disable" Then
|
|
Var return = "Enable"
|
|
|
|
Else
|
|
Var return = "Invisible"
|
|
EndIf
|
|
)
|
|
</State>
|
|
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
|
</Image>
|
|
|
|
<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> $03-02-00-5007.Button </State>
|
|
<Value> text_unavailable </Value>
|
|
<Align> center-vertical-horizontal </Align>
|
|
</Text>
|
|
|
|
<Image>
|
|
<X> 10 </X>
|
|
<Y> 251 </Y>
|
|
<State> ShowPrice </State>
|
|
<Width> 67 </Width>
|
|
<Height> 62 </Height>
|
|
<Filename> ImageShowPrice </Filename>
|
|
</Image>
|
|
|
|
|
|
<Text>
|
|
<X> 57 </X>
|
|
<Y> 260 </Y>
|
|
<State> ShowPrice </State>
|
|
<Align> "Hurr" </Align>
|
|
<Width>150</Width>
|
|
<Size> 17 </Size>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> ColorBrown2 </Color>
|
|
<Value> $03-02-00-5007.Price </Value>
|
|
</Text>
|
|
|
|
<Text>
|
|
<X> 45 </X>
|
|
<Y> 260 </Y>
|
|
<State> ShowPrice </State>
|
|
<Width>20</Width>
|
|
<Size> 17 </Size>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> ColorBrown2 </Color>
|
|
<Value> "฿"" </Value>
|
|
</Text>
|
|
|
|
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 180 </Y>
|
|
<Size> 22 </Size>
|
|
<Width>220</Width>
|
|
<Mode> "multi2" </Mode>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> ColorBlack1 </Color>
|
|
<State> showthaiText </State>
|
|
<Value> $03-02-00-5007.Name </Value>
|
|
</Text>
|
|
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 240 </Y>
|
|
<Size> 14 </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> ColorBrown </Color>
|
|
<State> showthaiText </State>
|
|
<Value> $03-02-00-5007.description </Value>
|
|
</Text>
|
|
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 180 </Y>
|
|
<Size> 22 </Size>
|
|
<Width>220</Width>
|
|
<Mode> "multi2" </Mode>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> ColorBlack1 </Color>
|
|
<State> showengText </State>
|
|
<Value> $03-02-00-5007.NameE </Value>
|
|
</Text>
|
|
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 240 </Y>
|
|
<Size> 14 </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> ColorBrown </Color>
|
|
<State> showengText </State>
|
|
<Value> $03-02-00-5007.descriptionE </Value>
|
|
</Text>
|
|
|
|
</Block>
|
|
|
|
|
|
; button i=1 03-02-00-5008
|
|
<Block>
|
|
<MarginLeft> 33 </MarginLeft>
|
|
<MarginTop> 22 </MarginTop>
|
|
<Width> 225 </Width>
|
|
<Height> 296 </Height>
|
|
<State> $03-02-00-5008.Button </State>
|
|
<Button>
|
|
<State> $03-02-00-5008.Button </State>
|
|
<Filename> Var( "ROOT/taobin_project/spiral/image/page_spiral/" + $03-02-00-5008.image ) </Filename>
|
|
<FilenamePress> Var( "ROOT/taobin_project/spiral/image/page_spiral_press/" + $03-02-00-5008.image ) " </FilenamePress>
|
|
<FilenameDisable> Var( "ROOT/taobin_project/spiral/image/page_spiral_press/" + $03-02-00-5008.image ) " </FilenameDisable>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventOnClick>
|
|
|
|
Var SpiralSelectdetail1 = $03-02-00-5008.detail1
|
|
Var SpiralSelectheader2 = $03-02-00-5008.header2
|
|
Var SpiralSelectdetail2 = $03-02-00-5008.detail2
|
|
|
|
Var SpiralSelectdetail1E = $03-02-00-5008.detail1E
|
|
Var SpiralSelectheader2E = $03-02-00-5008.header2E
|
|
Var SpiralSelectdetail2E = $03-02-00-5008.detail2E
|
|
|
|
Var ServiceCredit = "03-02-00-5008"
|
|
Var SelectDrink = $03-02-00-5008.Self
|
|
Var NameDrink = $03-02-00-5008.NameE
|
|
Var NameDrinkTH = $03-02-00-5008.Name
|
|
Var DrinkDescriptionTH = $03-02-00-5008.description
|
|
Var DrinkDescription = $03-02-00-5008.descriptionE
|
|
Var PriceDrink = $03-02-00-5008.Price
|
|
Var SpiralProduct = "ROOT/taobin_project/spiral/image/page_spiral/spiral_product_" + $03-02-00-5008.image
|
|
Var Spiraldetail = "ROOT/taobin_project/spiral/image/page_spiral/spiral_text_detail_" + $03-02-00-5008.image
|
|
|
|
SAVELOG NameDrink
|
|
Var PriceShowValue = charOfBaht + PriceDrink
|
|
|
|
SPIRAL_VERIFY ServiceCredit SpiralRef
|
|
Open "ROOT/taobin_project/spiral/xml/page_spiral_check.xml"
|
|
|
|
</EventOnClick>
|
|
</Button>
|
|
|
|
|
|
<Image>
|
|
<X> 49 </X>
|
|
<Y> 117 </Y>
|
|
<State>
|
|
eval(
|
|
If $03-02-00-5008.Button = "Disable" Then
|
|
Var return = "Enable"
|
|
|
|
Else
|
|
Var return = "Invisible"
|
|
EndIf
|
|
)
|
|
</State>
|
|
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
|
</Image>
|
|
|
|
<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> $03-02-00-5008.Button </State>
|
|
<Value> text_unavailable </Value>
|
|
<Align> center-vertical-horizontal </Align>
|
|
</Text>
|
|
|
|
<Image>
|
|
<X> 10 </X>
|
|
<Y> 251 </Y>
|
|
<State> ShowPrice </State>
|
|
<Width> 67 </Width>
|
|
<Height> 62 </Height>
|
|
<Filename> ImageShowPrice </Filename>
|
|
</Image>
|
|
|
|
<Text>
|
|
<X> 57 </X>
|
|
<Y> 260 </Y>
|
|
<State> ShowPrice </State>
|
|
<Align> "Hurr" </Align>
|
|
<Width>150</Width>
|
|
<Size> 17 </Size>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> ColorBrown2 </Color>
|
|
<Value> $03-02-00-5008.Price </Value>
|
|
</Text>
|
|
|
|
<Text>
|
|
<X> 45 </X>
|
|
<Y> 260 </Y>
|
|
<State> ShowPrice </State>
|
|
<Width>20</Width>
|
|
<Size> 17 </Size>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> ColorBrown2 </Color>
|
|
<Value> "฿"" </Value>
|
|
</Text>
|
|
|
|
|
|
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 180 </Y>
|
|
<Size> 22 </Size>
|
|
<Width>220</Width>
|
|
<Mode> "multi2" </Mode>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> ColorBlack1 </Color>
|
|
<State> showthaiText </State>
|
|
<Value> $03-02-00-5008.Name </Value>
|
|
</Text>
|
|
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 240 </Y>
|
|
<Size> 14 </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> ColorBrown </Color>
|
|
<State> showthaiText </State>
|
|
<Value> $03-02-00-5008.description </Value>
|
|
</Text>
|
|
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 180 </Y>
|
|
<Size> 22 </Size>
|
|
<Width>220</Width>
|
|
<Mode> "multi2" </Mode>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> ColorBlack1 </Color>
|
|
<State> showengText </State>
|
|
<Value> $03-02-00-5008.NameE </Value>
|
|
</Text>
|
|
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 240 </Y>
|
|
<Size> 14 </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> ColorBrown </Color>
|
|
<State> showengText </State>
|
|
<Value> $03-02-00-5008.descriptionE </Value>
|
|
</Text>
|
|
|
|
</Block>
|
|
|
|
; button i=1 03-02-00-5009
|
|
<Block>
|
|
<MarginLeft> 33 </MarginLeft>
|
|
<MarginTop> 22 </MarginTop>
|
|
<Width> 225 </Width>
|
|
<Height> 296 </Height>
|
|
<State> $03-02-00-5009.Button </State>
|
|
<Button>
|
|
<State> $03-02-00-5009.Button </State>
|
|
<Filename> Var( "ROOT/taobin_project/spiral/image/page_spiral/" + $03-02-00-5009.image ) </Filename>
|
|
<FilenamePress> Var( "ROOT/taobin_project/spiral/image/page_spiral_press/" + $03-02-00-5009.image ) " </FilenamePress>
|
|
<FilenameDisable> Var( "ROOT/taobin_project/spiral/image/page_spiral_press/" + $03-02-00-5009.image ) " </FilenameDisable>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventOnClick>
|
|
|
|
Var SpiralSelectdetail1 = $03-02-00-5009.detail1
|
|
Var SpiralSelectheader2 = $03-02-00-5009.header2
|
|
Var SpiralSelectdetail2 = $03-02-00-5009.detail2
|
|
|
|
Var SpiralSelectdetail1E = $03-02-00-5009.detail1E
|
|
Var SpiralSelectheader2E = $03-02-00-5009.header2E
|
|
Var SpiralSelectdetail2E = $03-02-00-5009.detail2E
|
|
|
|
Var ServiceCredit = "03-02-00-5009"
|
|
Var SelectDrink = $03-02-00-5009.Self
|
|
Var NameDrink = $03-02-00-5009.NameE
|
|
Var NameDrinkTH = $03-02-00-5009.Name
|
|
Var DrinkDescriptionTH = $03-02-00-5009.description
|
|
Var DrinkDescription = $03-02-00-5009.descriptionE
|
|
Var PriceDrink = $03-02-00-5009.Price
|
|
Var SpiralProduct = "ROOT/taobin_project/spiral/image/page_spiral/spiral_product_" + $03-02-00-5009.image
|
|
Var Spiraldetail = "ROOT/taobin_project/spiral/image/page_spiral/spiral_text_detail_" + $03-02-00-5009.image
|
|
|
|
SAVELOG NameDrink
|
|
Var PriceShowValue = charOfBaht + PriceDrink
|
|
|
|
|
|
SPIRAL_VERIFY ServiceCredit SpiralRef
|
|
Open "ROOT/taobin_project/spiral/xml/page_spiral_check.xml"
|
|
|
|
</EventOnClick>
|
|
</Button>
|
|
|
|
<Image>
|
|
<X> 49 </X>
|
|
<Y> 117 </Y>
|
|
<State>
|
|
eval(
|
|
If $03-02-00-5009.Button = "Disable" Then
|
|
Var return = "Enable"
|
|
|
|
Else
|
|
Var return = "Invisible"
|
|
EndIf
|
|
)
|
|
</State>
|
|
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
|
</Image>
|
|
|
|
<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> $03-02-00-5009.Button </State>
|
|
<Value> text_unavailable </Value>
|
|
<Align> center-vertical-horizontal </Align>
|
|
</Text>
|
|
|
|
|
|
|
|
<Image>
|
|
<X> 10 </X>
|
|
<Y> 251 </Y>
|
|
<State> ShowPrice </State>
|
|
<Width> 67 </Width>
|
|
<Height> 62 </Height>
|
|
<Filename> ImageShowPrice </Filename>
|
|
</Image>
|
|
|
|
<Text>
|
|
<X> 57 </X>
|
|
<Y> 260 </Y>
|
|
<State> ShowPrice </State>
|
|
<Align> "Hurr" </Align>
|
|
<Width>150</Width>
|
|
<Size> 17 </Size>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> ColorBrown2 </Color>
|
|
<Value> $03-02-00-5009.Price </Value>
|
|
</Text>
|
|
|
|
<Text>
|
|
<X> 45 </X>
|
|
<Y> 260 </Y>
|
|
<State> ShowPrice </State>
|
|
<Width>20</Width>
|
|
<Size> 17 </Size>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> ColorBrown2 </Color>
|
|
<Value> "฿"" </Value>
|
|
</Text>
|
|
|
|
|
|
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 180 </Y>
|
|
<Size> 22 </Size>
|
|
<Width>220</Width>
|
|
<Mode> "multi2" </Mode>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> ColorBlack1 </Color>
|
|
<State> showthaiText </State>
|
|
<Value> $03-02-00-5009.Name </Value>
|
|
</Text>
|
|
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 240 </Y>
|
|
<Size> 14 </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> ColorBrown </Color>
|
|
<State> showthaiText </State>
|
|
<Value> $03-02-00-5009.description </Value>
|
|
</Text>
|
|
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 180 </Y>
|
|
<Size> 22 </Size>
|
|
<Width>220</Width>
|
|
<Mode> "multi2" </Mode>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> ColorBlack1 </Color>
|
|
<State> showengText </State>
|
|
<Value> $03-02-00-5009.NameE </Value>
|
|
</Text>
|
|
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 240 </Y>
|
|
<Size> 14 </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> ColorBrown </Color>
|
|
<State> showengText </State>
|
|
<Value> $03-02-00-5009.descriptionE </Value>
|
|
</Text>
|
|
|
|
</Block>
|
|
|
|
|
|
|
|
|
|
; button i=1 03-02-01-4009
|
|
<Block>
|
|
<MarginLeft> 33 </MarginLeft>
|
|
<MarginTop> 22 </MarginTop>
|
|
<Width> 225 </Width>
|
|
<Height> 296 </Height>
|
|
<State> $03-02-01-4009.Button </State>
|
|
<Button>
|
|
<State> $03-02-01-4009.Button </State>
|
|
<Filename> Var( "ROOT/taobin_project/spiral/image/page_spiral/" + $03-02-01-4009.image ) </Filename>
|
|
<FilenamePress> Var( "ROOT/taobin_project/spiral/image/page_spiral_press/" + $03-02-01-4009.image ) " </FilenamePress>
|
|
<FilenameDisable> Var( "ROOT/taobin_project/spiral/image/page_spiral_press/" + $03-02-01-4009.image ) " </FilenameDisable>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventOnClick>
|
|
Var SpiralSelectdetail1 = $03-02-01-4009.detail1
|
|
Var SpiralSelectheader2 = $03-02-01-4009.header2
|
|
Var SpiralSelectdetail2 = $03-02-01-4009.detail2
|
|
|
|
Var SpiralSelectdetail1E = $03-02-01-4009.detail1E
|
|
Var SpiralSelectheader2E = $03-02-01-4009.header2E
|
|
Var SpiralSelectdetail2E = $03-02-01-4009.detail2E
|
|
|
|
Var ServiceCredit = "03-02-01-4009"
|
|
Var SelectDrink = $03-02-01-4009.Self
|
|
Var NameDrink = $03-02-01-4009.NameE
|
|
Var NameDrinkTH = $03-02-01-4009.Name
|
|
Var DrinkDescriptionTH = $03-02-01-4009.description
|
|
Var DrinkDescription = $03-02-01-4009.descriptionE
|
|
Var PriceDrink = $03-02-01-4009.Price
|
|
Var SpiralProduct = "ROOT/taobin_project/spiral/image/page_spiral/spiral_product_" + $03-02-01-4009.image
|
|
Var Spiraldetail = "ROOT/taobin_project/spiral/image/page_spiral/spiral_text_detail_" + $03-02-01-4009.image
|
|
|
|
SAVELOG NameDrink
|
|
Var PriceShowValue = charOfBaht + PriceDrink
|
|
|
|
SPIRAL_VERIFY ServiceCredit SpiralRef
|
|
Open "ROOT/taobin_project/spiral/xml/page_spiral_check.xml"
|
|
|
|
</EventOnClick>
|
|
</Button>
|
|
|
|
<Image>
|
|
<X> 49 </X>
|
|
<Y> 117 </Y>
|
|
<State>
|
|
eval(
|
|
If $03-02-01-4009.Button = "Disable" Then
|
|
Var return = "Enable"
|
|
|
|
Else
|
|
Var return = "Invisible"
|
|
EndIf
|
|
)
|
|
</State>
|
|
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
|
</Image>
|
|
|
|
<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> $03-02-01-4009.Button </State>
|
|
<Value> text_unavailable </Value>
|
|
<Align> center-vertical-horizontal </Align>
|
|
</Text>
|
|
|
|
<Image>
|
|
<X> 10 </X>
|
|
<Y> 251 </Y>
|
|
<State> ShowPrice </State>
|
|
<Width> 67 </Width>
|
|
<Height> 62 </Height>
|
|
<Filename> ImageShowPrice </Filename>
|
|
</Image>
|
|
|
|
<Text>
|
|
<X> 57 </X>
|
|
<Y> 260 </Y>
|
|
<State> ShowPrice </State>
|
|
<Align> "Hurr" </Align>
|
|
<Width>150</Width>
|
|
<Size> 17 </Size>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> ColorBrown2 </Color>
|
|
<Value> $03-02-01-4009.Price </Value>
|
|
</Text>
|
|
|
|
<Text>
|
|
<X> 45 </X>
|
|
<Y> 260 </Y>
|
|
<State> ShowPrice </State>
|
|
<Width>20</Width>
|
|
<Size> 17 </Size>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> ColorBrown2 </Color>
|
|
<Value> "฿"" </Value>
|
|
</Text>
|
|
|
|
|
|
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 180 </Y>
|
|
<Size> 22 </Size>
|
|
<Width>220</Width>
|
|
<Mode> "multi2" </Mode>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> ColorBlack1 </Color>
|
|
<State> showthaiText </State>
|
|
<Value> $03-02-01-4009.Name </Value>
|
|
</Text>
|
|
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 240 </Y>
|
|
<Size> 14 </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> ColorBrown </Color>
|
|
<State> showthaiText </State>
|
|
<Value> $03-02-01-4009.description </Value>
|
|
</Text>
|
|
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 180 </Y>
|
|
<Size> 22 </Size>
|
|
<Width>220</Width>
|
|
<Mode> "multi2" </Mode>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> ColorBlack1 </Color>
|
|
<State> showengText </State>
|
|
<Value> $03-02-01-4009.NameE </Value>
|
|
</Text>
|
|
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 240 </Y>
|
|
<Size> 14 </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> ColorBrown </Color>
|
|
<State> showengText </State>
|
|
<Value> $03-02-01-4009.descriptionE </Value>
|
|
</Text>
|
|
|
|
</Block>
|
|
|
|
; button i=1 03-02-01-4010
|
|
<Block>
|
|
<MarginLeft> 33 </MarginLeft>
|
|
<MarginTop> 22 </MarginTop>
|
|
<Width> 225 </Width>
|
|
<Height> 296 </Height>
|
|
<State> $03-02-01-4010.Button </State>
|
|
<Button>
|
|
<State> $03-02-01-4010.Button </State>
|
|
<Filename> Var( "ROOT/taobin_project/spiral/image/page_spiral/" + $03-02-01-4010.image ) </Filename>
|
|
<FilenamePress> Var( "ROOT/taobin_project/spiral/image/page_spiral_press/" + $03-02-01-4010.image ) " </FilenamePress>
|
|
<FilenameDisable> Var( "ROOT/taobin_project/spiral/image/page_spiral_press/" + $03-02-01-4010.image ) " </FilenameDisable>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventOnClick>
|
|
Var SpiralSelectdetail1 = $03-02-01-4010.detail1
|
|
Var SpiralSelectheader2 = $03-02-01-4010.header2
|
|
Var SpiralSelectdetail2 = $03-02-01-4010.detail2
|
|
|
|
Var SpiralSelectdetail1E = $03-02-01-4010.detail1E
|
|
Var SpiralSelectheader2E = $03-02-01-4010.header2E
|
|
Var SpiralSelectdetail2E = $03-02-01-4010.detail2E
|
|
|
|
Var ServiceCredit = "03-02-01-4010"
|
|
Var SelectDrink = $03-02-01-4010.Self
|
|
Var NameDrink = $03-02-01-4010.NameE
|
|
Var NameDrinkTH = $03-02-01-4010.Name
|
|
Var DrinkDescriptionTH = $03-02-01-4010.description
|
|
Var DrinkDescription = $03-02-01-4010.descriptionE
|
|
Var PriceDrink = $03-02-01-4010.Price
|
|
Var SpiralProduct = "ROOT/taobin_project/spiral/image/page_spiral/spiral_product_" + $03-02-01-4010.image
|
|
Var Spiraldetail = "ROOT/taobin_project/spiral/image/page_spiral/spiral_text_detail_" + $03-02-01-4010.image
|
|
|
|
SAVELOG NameDrink
|
|
Var PriceShowValue = charOfBaht + PriceDrink
|
|
|
|
SPIRAL_VERIFY ServiceCredit SpiralRef
|
|
Open "ROOT/taobin_project/spiral/xml/page_spiral_check.xml"
|
|
|
|
</EventOnClick>
|
|
</Button>
|
|
|
|
|
|
<Image>
|
|
<X> 49 </X>
|
|
<Y> 117 </Y>
|
|
<State>
|
|
eval(
|
|
If $03-02-01-4010.Button = "Disable" Then
|
|
Var return = "Enable"
|
|
|
|
Else
|
|
Var return = "Invisible"
|
|
EndIf
|
|
)
|
|
</State>
|
|
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
|
</Image>
|
|
|
|
<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> $03-02-01-4010.Button </State>
|
|
<Value> text_unavailable </Value>
|
|
<Align> center-vertical-horizontal </Align>
|
|
</Text>
|
|
|
|
|
|
<Image>
|
|
<X> 10 </X>
|
|
<Y> 251 </Y>
|
|
<State> ShowPrice </State>
|
|
<Width> 67 </Width>
|
|
<Height> 62 </Height>
|
|
<Filename> ImageShowPrice </Filename>
|
|
</Image>
|
|
|
|
<Text>
|
|
<X> 57 </X>
|
|
<Y> 260 </Y>
|
|
<State> ShowPrice </State>
|
|
<Align> "Hurr" </Align>
|
|
<Width>150</Width>
|
|
<Size> 17 </Size>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> ColorBrown2 </Color>
|
|
<Value> $03-02-01-4010.Price </Value>
|
|
</Text>
|
|
|
|
<Text>
|
|
<X> 45 </X>
|
|
<Y> 260 </Y>
|
|
<State> ShowPrice </State>
|
|
<Width>20</Width>
|
|
<Size> 17 </Size>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> ColorBrown2 </Color>
|
|
<Value> "฿"" </Value>
|
|
</Text>
|
|
|
|
|
|
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 180 </Y>
|
|
<Size> 22 </Size>
|
|
<Width>220</Width>
|
|
<Mode> "multi2" </Mode>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> ColorBlack1 </Color>
|
|
<State> showthaiText </State>
|
|
<Value> $03-02-01-4010.Name </Value>
|
|
</Text>
|
|
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 240 </Y>
|
|
<Size> 14 </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> ColorBrown </Color>
|
|
<State> showthaiText </State>
|
|
<Value> $03-02-01-4010.description </Value>
|
|
</Text>
|
|
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 180 </Y>
|
|
<Size> 22 </Size>
|
|
<Width>220</Width>
|
|
<Mode> "multi2" </Mode>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> ColorBlack1 </Color>
|
|
<State> showengText </State>
|
|
<Value> $03-02-01-4010.NameE </Value>
|
|
</Text>
|
|
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 240 </Y>
|
|
<Size> 14 </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> ColorBrown </Color>
|
|
<State> showengText </State>
|
|
<Value> $03-02-01-4010.descriptionE </Value>
|
|
</Text>
|
|
|
|
</Block>
|
|
|
|
; button i=1 03-02-11-5019
|
|
<Block>
|
|
<MarginLeft> 33 </MarginLeft>
|
|
<MarginTop> 22 </MarginTop>
|
|
<Width> 225 </Width>
|
|
<Height> 296 </Height>
|
|
<State> $03-02-11-5019.Button </State>
|
|
<Button>
|
|
<State> $03-02-11-5019.Button </State>
|
|
<Filename> Var( "ROOT/taobin_project/spiral/image/page_spiral/" + $03-02-11-5019.image ) </Filename>
|
|
<FilenamePress> Var( "ROOT/taobin_project/spiral/image/page_spiral_press/" + $03-02-11-5019.image ) " </FilenamePress>
|
|
<FilenameDisable> Var( "ROOT/taobin_project/spiral/image/page_spiral_press/" + $03-02-11-5019.image ) " </FilenameDisable>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventOnClick>
|
|
Var SpiralSelectdetail1 = $03-02-11-5019.detail1
|
|
Var SpiralSelectheader2 = $03-02-11-5019.header2
|
|
Var SpiralSelectdetail2 = $03-02-11-5019.detail2
|
|
|
|
Var SpiralSelectdetail1E = $03-02-11-5019.detail1E
|
|
Var SpiralSelectheader2E = $03-02-11-5019.header2E
|
|
Var SpiralSelectdetail2E = $03-02-11-5019.detail2E
|
|
|
|
Var ServiceCredit = "03-02-11-5019"
|
|
Var SelectDrink = $03-02-11-5019.Self
|
|
Var NameDrink = $03-02-11-5019.NameE
|
|
Var NameDrinkTH = $03-02-11-5019.Name
|
|
Var DrinkDescriptionTH = $03-02-11-5019.description
|
|
Var DrinkDescription = $03-02-11-5019.descriptionE
|
|
Var PriceDrink = $03-02-11-5019.Price
|
|
Var SpiralProduct = "ROOT/taobin_project/spiral/image/page_spiral/spiral_product_" + $03-02-11-5019.image
|
|
Var Spiraldetail = "ROOT/taobin_project/spiral/image/page_spiral/spiral_text_detail_" + $03-02-11-5019.image
|
|
|
|
SAVELOG NameDrink
|
|
Var PriceShowValue = charOfBaht + PriceDrink
|
|
|
|
SPIRAL_VERIFY ServiceCredit SpiralRef
|
|
Open "ROOT/taobin_project/spiral/xml/page_spiral_check.xml"
|
|
|
|
</EventOnClick>
|
|
</Button>
|
|
|
|
<Image>
|
|
<X> 49 </X>
|
|
<Y> 117 </Y>
|
|
<State>
|
|
eval(
|
|
If $03-02-11-5019.Button = "Disable" Then
|
|
Var return = "Enable"
|
|
|
|
Else
|
|
Var return = "Invisible"
|
|
EndIf
|
|
)
|
|
</State>
|
|
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
|
</Image>
|
|
|
|
<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> $03-02-11-5019.Button </State>
|
|
<Value> text_unavailable </Value>
|
|
<Align> center-vertical-horizontal </Align>
|
|
</Text>
|
|
|
|
|
|
<Image>
|
|
<X> 10 </X>
|
|
<Y> 251 </Y>
|
|
<State> ShowPrice </State>
|
|
<Width> 67 </Width>
|
|
<Height> 62 </Height>
|
|
<Filename> ImageShowPrice </Filename>
|
|
</Image>
|
|
|
|
<Text>
|
|
<X> 57 </X>
|
|
<Y> 260 </Y>
|
|
<State> ShowPrice </State>
|
|
<Align> "Hurr" </Align>
|
|
<Width>150</Width>
|
|
<Size> 17 </Size>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> ColorBrown2 </Color>
|
|
<Value> $03-02-11-5019.Price </Value>
|
|
</Text>
|
|
|
|
<Text>
|
|
<X> 45 </X>
|
|
<Y> 260 </Y>
|
|
<State> ShowPrice </State>
|
|
<Width>20</Width>
|
|
<Size> 17 </Size>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> ColorBrown2 </Color>
|
|
<Value> "฿"" </Value>
|
|
</Text>
|
|
|
|
|
|
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 180 </Y>
|
|
<Size> 22 </Size>
|
|
<Width>220</Width>
|
|
<Mode> "multi2" </Mode>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> ColorBlack1 </Color>
|
|
<State> showthaiText </State>
|
|
<Value> $03-02-11-5019.Name </Value>
|
|
</Text>
|
|
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 240 </Y>
|
|
<Size> 14 </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> ColorBrown </Color>
|
|
<State> showthaiText </State>
|
|
<Value> $03-02-11-5019.description </Value>
|
|
</Text>
|
|
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 180 </Y>
|
|
<Size> 22 </Size>
|
|
<Width>220</Width>
|
|
<Mode> "multi2" </Mode>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> ColorBlack1 </Color>
|
|
<State> showengText </State>
|
|
<Value> $03-02-11-5019.NameE </Value>
|
|
</Text>
|
|
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 240 </Y>
|
|
<Size> 14 </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> ColorBrown </Color>
|
|
<State> showengText </State>
|
|
<Value> $03-02-11-5019.descriptionE </Value>
|
|
</Text>
|
|
|
|
</Block>
|
|
|
|
|
|
; button i=1 03-02-12-5013
|
|
<Block>
|
|
<MarginLeft> 33 </MarginLeft>
|
|
<MarginTop> 22 </MarginTop>
|
|
<Width> 225 </Width>
|
|
<Height> 296 </Height>
|
|
<State> $03-02-12-5013.Button </State>
|
|
<Button>
|
|
<State> $03-02-12-5013.Button </State>
|
|
<Filename> Var( "ROOT/taobin_project/spiral/image/page_spiral/" + $03-02-12-5013.image ) </Filename>
|
|
<FilenamePress> Var( "ROOT/taobin_project/spiral/image/page_spiral_press/" + $03-02-12-5013.image ) " </FilenamePress>
|
|
<FilenameDisable> Var( "ROOT/taobin_project/spiral/image/page_spiral_press/" + $03-02-12-5013.image ) " </FilenameDisable>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventOnClick>
|
|
Var SpiralSelectdetail1 = $03-02-12-5013.detail1
|
|
Var SpiralSelectheader2 = $03-02-12-5013.header2
|
|
Var SpiralSelectdetail2 = $03-02-12-5013.detail2
|
|
|
|
Var SpiralSelectdetail1E = $03-02-12-5013.detail1E
|
|
Var SpiralSelectheader2E = $03-02-12-5013.header2E
|
|
Var SpiralSelectdetail2E = $03-02-12-5013.detail2E
|
|
|
|
Var ServiceCredit = "03-02-12-5013"
|
|
Var SelectDrink = $03-02-12-5013.Self
|
|
Var NameDrink = $03-02-12-5013.NameE
|
|
Var NameDrinkTH = $03-02-12-5013.Name
|
|
Var DrinkDescriptionTH = $03-02-12-5013.description
|
|
Var DrinkDescription = $03-02-12-5013.descriptionE
|
|
Var PriceDrink = $03-02-12-5013.Price
|
|
Var SpiralProduct = "ROOT/taobin_project/spiral/image/page_spiral/spiral_product_" + $03-02-12-5013.image
|
|
Var Spiraldetail = "ROOT/taobin_project/spiral/image/page_spiral/spiral_text_detail_" + $03-02-12-5013.image
|
|
|
|
SAVELOG NameDrink
|
|
Var PriceShowValue = charOfBaht + PriceDrink
|
|
|
|
SPIRAL_VERIFY ServiceCredit SpiralRef
|
|
Open "ROOT/taobin_project/spiral/xml/page_spiral_check.xml"
|
|
|
|
</EventOnClick>
|
|
</Button>
|
|
|
|
<Image>
|
|
<X> 49 </X>
|
|
<Y> 117 </Y>
|
|
<State>
|
|
eval(
|
|
If $03-02-12-5013.Button = "Disable" Then
|
|
Var return = "Enable"
|
|
|
|
Else
|
|
Var return = "Invisible"
|
|
EndIf
|
|
)
|
|
</State>
|
|
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
|
</Image>
|
|
|
|
<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> $03-02-12-5013.Button </State>
|
|
<Value> text_unavailable </Value>
|
|
<Align> center-vertical-horizontal </Align>
|
|
</Text>
|
|
|
|
<Image>
|
|
<X> 10 </X>
|
|
<Y> 251 </Y>
|
|
<State> ShowPrice </State>
|
|
<Width> 67 </Width>
|
|
<Height> 62 </Height>
|
|
<Filename> ImageShowPrice </Filename>
|
|
</Image>
|
|
|
|
<Text>
|
|
<X> 57 </X>
|
|
<Y> 260 </Y>
|
|
<State> ShowPrice </State>
|
|
<Align> "Hurr" </Align>
|
|
<Width>150</Width>
|
|
<Size> 17 </Size>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> ColorBrown2 </Color>
|
|
<Value> $03-02-12-5013.Price </Value>
|
|
</Text>
|
|
|
|
<Text>
|
|
<X> 45 </X>
|
|
<Y> 260 </Y>
|
|
<State> ShowPrice </State>
|
|
<Width>20</Width>
|
|
<Size> 17 </Size>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> ColorBrown2 </Color>
|
|
<Value> "฿"" </Value>
|
|
</Text>
|
|
|
|
|
|
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 180 </Y>
|
|
<Size> 22 </Size>
|
|
<Width>220</Width>
|
|
<Mode> "multi2" </Mode>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> ColorBlack1 </Color>
|
|
<State> showthaiText </State>
|
|
<Value> $03-02-12-5013.Name </Value>
|
|
</Text>
|
|
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 240 </Y>
|
|
<Size> 14 </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> ColorBrown </Color>
|
|
<State> showthaiText </State>
|
|
<Value> $03-02-12-5013.description </Value>
|
|
</Text>
|
|
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 180 </Y>
|
|
<Size> 22 </Size>
|
|
<Width>220</Width>
|
|
<Mode> "multi2" </Mode>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> ColorBlack1 </Color>
|
|
<State> showengText </State>
|
|
<Value> $03-02-12-5013.NameE </Value>
|
|
</Text>
|
|
|
|
<Text>
|
|
<X> 16 </X>
|
|
<Y> 240 </Y>
|
|
<Size> 14 </Size>
|
|
<Width>220</Width>
|
|
<Font> KanitMediumTTF </Font>
|
|
<Color> ColorBrown </Color>
|
|
<State> showengText </State>
|
|
<Value> $03-02-12-5013.descriptionE </Value>
|
|
</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>
|