3716 lines
94 KiB
XML
3716 lines
94 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 MenuVSelected2 = "PressForever"
|
|
Var MenuSpiral2 = "PressForever"
|
|
|
|
|
|
Var Timeout = 0
|
|
|
|
If SetSpiralOnline = 1 Then
|
|
Var Menu1Selected = "Invisible"
|
|
Var Menu2Selected = "Invisible"
|
|
Var Menu3Selected = "Invisible"
|
|
Var Menu4Selected = "Invisible"
|
|
Var Menu5Selected = "Invisible"
|
|
Var Menu6Selected = "Invisible"
|
|
Var Menu7Selected = "Invisible"
|
|
Var Menu8Selected = "Invisible"
|
|
Var Menu11Selected = "Invisible"
|
|
Var Menu21Selected = "Invisible"
|
|
Var Menu22Selected = "Invisible"
|
|
Var MenuVSelected2 = "Invisible"
|
|
EndIf
|
|
</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
|
|
If SetSpiralOnline = 1 Then
|
|
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
|
Else
|
|
Open "ROOT/taobin_project/spiral/xml/page_catalog_vending_machine.xml"
|
|
EndIf
|
|
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=22 03-06-01-5012
|
|
<Block>
|
|
<MarginLeft> 33 </MarginLeft>
|
|
<MarginTop> 22 </MarginTop>
|
|
<Width> 225 </Width>
|
|
<Height> 296 </Height>
|
|
<State> $03-06-01-5012.Button </State>
|
|
<Button>
|
|
<State> $03-06-01-5012.Button </State>
|
|
<Filename> Var( "ROOT/taobin_project/spiral/image/page_spiral/" + $03-06-01-5012.image ) </Filename>
|
|
<FilenamePress> Var( "ROOT/taobin_project/spiral/image/page_spiral_press/" + $03-06-01-5012.image ) " </FilenamePress>
|
|
<FilenameDisable> Var( "ROOT/taobin_project/spiral/image/page_spiral_press/" + $03-06-01-5012.image ) " </FilenameDisable>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventOnClick>
|
|
Var SpiralSelectdetail1 = $03-06-01-5012.detail1
|
|
Var SpiralSelectheader2 = $03-06-01-5012.header2
|
|
Var SpiralSelectdetail2 = $03-06-01-5012.detail2
|
|
|
|
Var SpiralSelectdetail1E = $03-06-01-5012.detail1E
|
|
Var SpiralSelectheader2E = $03-06-01-5012.header2E
|
|
Var SpiralSelectdetail2E = $03-06-01-5012.detail2E
|
|
|
|
Var ServiceCredit = "03-06-01-5012"
|
|
Var SelectDrink = $03-06-01-5012.Self
|
|
Var NameDrink = $03-06-01-5012.NameE
|
|
Var NameDrinkTH = $03-06-01-5012.Name
|
|
Var DrinkDescriptionTH = $03-06-01-5012.description
|
|
Var DrinkDescription = $03-06-01-5012.descriptionE
|
|
Var PriceDrink = $03-06-01-5012.Price
|
|
Var SpiralProduct = "ROOT/taobin_project/spiral/image/page_spiral/spiral_product_" + $03-06-01-5012.image
|
|
Var Spiraldetail = "ROOT/taobin_project/spiral/image/page_spiral/spiral_text_detail_" + $03-06-01-5012.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-06-01-5012.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-06-01-5012.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-06-01-5012.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-06-01-5012.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-06-01-5012.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-06-01-5012.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-06-01-5012.descriptionE </Value>
|
|
</Text>
|
|
|
|
</Block>
|
|
|
|
|
|
; button i=23 03-06-20-4005
|
|
<Block>
|
|
<MarginLeft> 33 </MarginLeft>
|
|
<MarginTop> 22 </MarginTop>
|
|
<Width> 225 </Width>
|
|
<Height> 296 </Height>
|
|
<State> $03-06-20-4005.Button </State>
|
|
<Button>
|
|
<State> $03-06-20-4005.Button </State>
|
|
<Filename> Var( "ROOT/taobin_project/spiral/image/page_spiral/" + $03-06-20-4005.image ) </Filename>
|
|
<FilenamePress> Var( "ROOT/taobin_project/spiral/image/page_spiral_press/" + $03-06-20-4005.image ) " </FilenamePress>
|
|
<FilenameDisable> Var( "ROOT/taobin_project/spiral/image/page_spiral_press/" + $03-06-20-4005.image ) " </FilenameDisable>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventOnClick>
|
|
Var SpiralSelectdetail1 = $03-06-20-4005.detail1
|
|
Var SpiralSelectheader2 = $03-06-20-4005.header2
|
|
Var SpiralSelectdetail2 = $03-06-20-4005.detail2
|
|
|
|
Var SpiralSelectdetail1E = $03-06-20-4005.detail1E
|
|
Var SpiralSelectheader2E = $03-06-20-4005.header2E
|
|
Var SpiralSelectdetail2E = $03-06-20-4005.detail2E
|
|
|
|
Var ServiceCredit = "03-06-20-4005"
|
|
Var SelectDrink = $03-06-20-4005.Self
|
|
Var NameDrink = $03-06-20-4005.NameE
|
|
Var NameDrinkTH = $03-06-20-4005.Name
|
|
Var DrinkDescriptionTH = $03-06-20-4005.description
|
|
Var DrinkDescription = $03-06-20-4005.descriptionE
|
|
Var PriceDrink = $03-06-20-4005.Price
|
|
Var SpiralProduct = "ROOT/taobin_project/spiral/image/page_spiral/spiral_product_" + $03-06-20-4005.image
|
|
Var Spiraldetail = "ROOT/taobin_project/spiral/image/page_spiral/spiral_text_detail_" + $03-06-20-4005.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-06-20-4005.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-06-20-4005.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-06-20-4005.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-06-20-4005.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-06-20-4005.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-06-20-4005.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-06-20-4005.descriptionE </Value>
|
|
</Text>
|
|
|
|
</Block>
|
|
|
|
|
|
; button i=24 03-06-20-5002
|
|
<Block>
|
|
<MarginLeft> 33 </MarginLeft>
|
|
<MarginTop> 22 </MarginTop>
|
|
<Width> 225 </Width>
|
|
<Height> 296 </Height>
|
|
<State> $03-06-20-5002.Button </State>
|
|
<Button>
|
|
<State> $03-06-20-5002.Button </State>
|
|
<Filename> Var( "ROOT/taobin_project/spiral/image/page_spiral/" + $03-06-20-5002.image ) </Filename>
|
|
<FilenamePress> Var( "ROOT/taobin_project/spiral/image/page_spiral_press/" + $03-06-20-5002.image ) " </FilenamePress>
|
|
<FilenameDisable> Var( "ROOT/taobin_project/spiral/image/page_spiral_press/" + $03-06-20-5002.image ) " </FilenameDisable>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventOnClick>
|
|
Var SpiralSelectdetail1 = $03-06-20-5002.detail1
|
|
Var SpiralSelectheader2 = $03-06-20-5002.header2
|
|
Var SpiralSelectdetail2 = $03-06-20-5002.detail2
|
|
|
|
Var SpiralSelectdetail1E = $03-06-20-5002.detail1E
|
|
Var SpiralSelectheader2E = $03-06-20-5002.header2E
|
|
Var SpiralSelectdetail2E = $03-06-20-5002.detail2E
|
|
|
|
Var ServiceCredit = "03-06-20-5002"
|
|
Var SelectDrink = $03-06-20-5002.Self
|
|
Var NameDrink = $03-06-20-5002.NameE
|
|
Var NameDrinkTH = $03-06-20-5002.Name
|
|
Var DrinkDescriptionTH = $03-06-20-5002.description
|
|
Var DrinkDescription = $03-06-20-5002.descriptionE
|
|
Var PriceDrink = $03-06-20-5002.Price
|
|
Var SpiralProduct = "ROOT/taobin_project/spiral/image/page_spiral/spiral_product_" + $03-06-20-5002.image
|
|
Var Spiraldetail = "ROOT/taobin_project/spiral/image/page_spiral/spiral_text_detail_" + $03-06-20-5002.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-06-20-5002.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-06-20-5002.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-06-20-5002.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-06-20-5002.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-06-20-5002.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-06-20-5002.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-06-20-5002.descriptionE </Value>
|
|
</Text>
|
|
|
|
</Block>
|
|
|
|
|
|
; button i=25 03-06-20-5003
|
|
<Block>
|
|
<MarginLeft> 33 </MarginLeft>
|
|
<MarginTop> 22 </MarginTop>
|
|
<Width> 225 </Width>
|
|
<Height> 296 </Height>
|
|
<State> $03-06-20-5003.Button </State>
|
|
<Button>
|
|
<State> $03-06-20-5003.Button </State>
|
|
<Filename> Var( "ROOT/taobin_project/spiral/image/page_spiral/" + $03-06-20-5003.image ) </Filename>
|
|
<FilenamePress> Var( "ROOT/taobin_project/spiral/image/page_spiral_press/" + $03-06-20-5003.image ) " </FilenamePress>
|
|
<FilenameDisable> Var( "ROOT/taobin_project/spiral/image/page_spiral_press/" + $03-06-20-5003.image ) " </FilenameDisable>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventOnClick>
|
|
Var SpiralSelectdetail1 = $03-06-20-5003.detail1
|
|
Var SpiralSelectheader2 = $03-06-20-5003.header2
|
|
Var SpiralSelectdetail2 = $03-06-20-5003.detail2
|
|
|
|
Var SpiralSelectdetail1E = $03-06-20-5003.detail1E
|
|
Var SpiralSelectheader2E = $03-06-20-5003.header2E
|
|
Var SpiralSelectdetail2E = $03-06-20-5003.detail2E
|
|
|
|
Var ServiceCredit = "03-06-20-5003"
|
|
Var SelectDrink = $03-06-20-5003.Self
|
|
Var NameDrink = $03-06-20-5003.NameE
|
|
Var NameDrinkTH = $03-06-20-5003.Name
|
|
Var DrinkDescriptionTH = $03-06-20-5003.description
|
|
Var DrinkDescription = $03-06-20-5003.descriptionE
|
|
Var PriceDrink = $03-06-20-5003.Price
|
|
Var SpiralProduct = "ROOT/taobin_project/spiral/image/page_spiral/spiral_product_" + $03-06-20-5003.image
|
|
Var Spiraldetail = "ROOT/taobin_project/spiral/image/page_spiral/spiral_text_detail_" + $03-06-20-5003.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-06-20-5003.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-06-20-5003.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-06-20-5003.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-06-20-5003.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-06-20-5003.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-06-20-5003.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-06-20-5003.descriptionE </Value>
|
|
</Text>
|
|
|
|
</Block>
|
|
|
|
|
|
; button i=26 03-06-22-4001
|
|
<Block>
|
|
<MarginLeft> 33 </MarginLeft>
|
|
<MarginTop> 22 </MarginTop>
|
|
<Width> 225 </Width>
|
|
<Height> 296 </Height>
|
|
<State> $03-06-22-4001.Button </State>
|
|
<Button>
|
|
<State> $03-06-22-4001.Button </State>
|
|
<Filename> Var( "ROOT/taobin_project/spiral/image/page_spiral/" + $03-06-22-4001.image ) </Filename>
|
|
<FilenamePress> Var( "ROOT/taobin_project/spiral/image/page_spiral_press/" + $03-06-22-4001.image ) " </FilenamePress>
|
|
<FilenameDisable> Var( "ROOT/taobin_project/spiral/image/page_spiral_press/" + $03-06-22-4001.image ) " </FilenameDisable>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventOnClick>
|
|
Var SpiralSelectdetail1 = $03-06-22-4001.detail1
|
|
Var SpiralSelectheader2 = $03-06-22-4001.header2
|
|
Var SpiralSelectdetail2 = $03-06-22-4001.detail2
|
|
|
|
Var SpiralSelectdetail1E = $03-06-22-4001.detail1E
|
|
Var SpiralSelectheader2E = $03-06-22-4001.header2E
|
|
Var SpiralSelectdetail2E = $03-06-22-4001.detail2E
|
|
|
|
Var ServiceCredit = "03-06-22-4001"
|
|
Var SelectDrink = $03-06-22-4001.Self
|
|
Var NameDrink = $03-06-22-4001.NameE
|
|
Var NameDrinkTH = $03-06-22-4001.Name
|
|
Var DrinkDescriptionTH = $03-06-22-4001.description
|
|
Var DrinkDescription = $03-06-22-4001.descriptionE
|
|
Var PriceDrink = $03-06-22-4001.Price
|
|
Var SpiralProduct = "ROOT/taobin_project/spiral/image/page_spiral/spiral_product_" + $03-06-22-4001.image
|
|
Var Spiraldetail = "ROOT/taobin_project/spiral/image/page_spiral/spiral_text_detail_" + $03-06-22-4001.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-06-22-4001.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-06-22-4001.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-06-22-4001.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-06-22-4001.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-06-22-4001.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-06-22-4001.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-06-22-4001.descriptionE </Value>
|
|
</Text>
|
|
|
|
</Block>
|
|
|
|
|
|
; button i=27 03-06-22-4002
|
|
<Block>
|
|
<MarginLeft> 33 </MarginLeft>
|
|
<MarginTop> 22 </MarginTop>
|
|
<Width> 225 </Width>
|
|
<Height> 296 </Height>
|
|
<State> $03-06-22-4002.Button </State>
|
|
<Button>
|
|
<State> $03-06-22-4002.Button </State>
|
|
<Filename> Var( "ROOT/taobin_project/spiral/image/page_spiral/" + $03-06-22-4002.image ) </Filename>
|
|
<FilenamePress> Var( "ROOT/taobin_project/spiral/image/page_spiral_press/" + $03-06-22-4002.image ) " </FilenamePress>
|
|
<FilenameDisable> Var( "ROOT/taobin_project/spiral/image/page_spiral_press/" + $03-06-22-4002.image ) " </FilenameDisable>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventOnClick>
|
|
Var SpiralSelectdetail1 = $03-06-22-4002.detail1
|
|
Var SpiralSelectheader2 = $03-06-22-4002.header2
|
|
Var SpiralSelectdetail2 = $03-06-22-4002.detail2
|
|
|
|
Var SpiralSelectdetail1E = $03-06-22-4002.detail1E
|
|
Var SpiralSelectheader2E = $03-06-22-4002.header2E
|
|
Var SpiralSelectdetail2E = $03-06-22-4002.detail2E
|
|
|
|
Var ServiceCredit = "03-06-22-4002"
|
|
Var SelectDrink = $03-06-22-4002.Self
|
|
Var NameDrink = $03-06-22-4002.NameE
|
|
Var NameDrinkTH = $03-06-22-4002.Name
|
|
Var DrinkDescriptionTH = $03-06-22-4002.description
|
|
Var DrinkDescription = $03-06-22-4002.descriptionE
|
|
Var PriceDrink = $03-06-22-4002.Price
|
|
Var SpiralProduct = "ROOT/taobin_project/spiral/image/page_spiral/spiral_product_" + $03-06-22-4002.image
|
|
Var Spiraldetail = "ROOT/taobin_project/spiral/image/page_spiral/spiral_text_detail_" + $03-06-22-4002.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-06-22-4002.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-06-22-4002.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-06-22-4002.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-06-22-4002.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-06-22-4002.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-06-22-4002.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-06-22-4002.descriptionE </Value>
|
|
</Text>
|
|
|
|
</Block>
|
|
|
|
|
|
; button i=28 03-06-22-4003
|
|
<Block>
|
|
<MarginLeft> 33 </MarginLeft>
|
|
<MarginTop> 22 </MarginTop>
|
|
<Width> 225 </Width>
|
|
<Height> 296 </Height>
|
|
<State> $03-06-22-4003.Button </State>
|
|
<Button>
|
|
<State> $03-06-22-4003.Button </State>
|
|
<Filename> Var( "ROOT/taobin_project/spiral/image/page_spiral/" + $03-06-22-4003.image ) </Filename>
|
|
<FilenamePress> Var( "ROOT/taobin_project/spiral/image/page_spiral_press/" + $03-06-22-4003.image ) " </FilenamePress>
|
|
<FilenameDisable> Var( "ROOT/taobin_project/spiral/image/page_spiral_press/" + $03-06-22-4003.image ) " </FilenameDisable>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventOnClick>
|
|
Var SpiralSelectdetail1 = $03-06-22-4003.detail1
|
|
Var SpiralSelectheader2 = $03-06-22-4003.header2
|
|
Var SpiralSelectdetail2 = $03-06-22-4003.detail2
|
|
|
|
Var SpiralSelectdetail1E = $03-06-22-4003.detail1E
|
|
Var SpiralSelectheader2E = $03-06-22-4003.header2E
|
|
Var SpiralSelectdetail2E = $03-06-22-4003.detail2E
|
|
|
|
Var ServiceCredit = "03-06-22-4003"
|
|
Var SelectDrink = $03-06-22-4003.Self
|
|
Var NameDrink = $03-06-22-4003.NameE
|
|
Var NameDrinkTH = $03-06-22-4003.Name
|
|
Var DrinkDescriptionTH = $03-06-22-4003.description
|
|
Var DrinkDescription = $03-06-22-4003.descriptionE
|
|
Var PriceDrink = $03-06-22-4003.Price
|
|
Var SpiralProduct = "ROOT/taobin_project/spiral/image/page_spiral/spiral_product_" + $03-06-22-4003.image
|
|
Var Spiraldetail = "ROOT/taobin_project/spiral/image/page_spiral/spiral_text_detail_" + $03-06-22-4003.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-06-22-4003.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-06-22-4003.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-06-22-4003.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-06-22-4003.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-06-22-4003.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-06-22-4003.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-06-22-4003.descriptionE </Value>
|
|
</Text>
|
|
|
|
</Block>
|
|
|
|
|
|
; button i=29 03-06-22-4004
|
|
<Block>
|
|
<MarginLeft> 33 </MarginLeft>
|
|
<MarginTop> 22 </MarginTop>
|
|
<Width> 225 </Width>
|
|
<Height> 296 </Height>
|
|
<State> $03-06-22-4004.Button </State>
|
|
<Button>
|
|
<State> $03-06-22-4004.Button </State>
|
|
<Filename> Var( "ROOT/taobin_project/spiral/image/page_spiral/" + $03-06-22-4004.image ) </Filename>
|
|
<FilenamePress> Var( "ROOT/taobin_project/spiral/image/page_spiral_press/" + $03-06-22-4004.image ) " </FilenamePress>
|
|
<FilenameDisable> Var( "ROOT/taobin_project/spiral/image/page_spiral_press/" + $03-06-22-4004.image ) " </FilenameDisable>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventOnClick>
|
|
Var SpiralSelectdetail1 = $03-06-22-4004.detail1
|
|
Var SpiralSelectheader2 = $03-06-22-4004.header2
|
|
Var SpiralSelectdetail2 = $03-06-22-4004.detail2
|
|
|
|
Var SpiralSelectdetail1E = $03-06-22-4004.detail1E
|
|
Var SpiralSelectheader2E = $03-06-22-4004.header2E
|
|
Var SpiralSelectdetail2E = $03-06-22-4004.detail2E
|
|
|
|
Var ServiceCredit = "03-06-22-4004"
|
|
Var SelectDrink = $03-06-22-4004.Self
|
|
Var NameDrink = $03-06-22-4004.NameE
|
|
Var NameDrinkTH = $03-06-22-4004.Name
|
|
Var DrinkDescriptionTH = $03-06-22-4004.description
|
|
Var DrinkDescription = $03-06-22-4004.descriptionE
|
|
Var PriceDrink = $03-06-22-4004.Price
|
|
Var SpiralProduct = "ROOT/taobin_project/spiral/image/page_spiral/spiral_product_" + $03-06-22-4004.image
|
|
Var Spiraldetail = "ROOT/taobin_project/spiral/image/page_spiral/spiral_text_detail_" + $03-06-22-4004.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-06-22-4004.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-06-22-4004.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-06-22-4004.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-06-22-4004.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-06-22-4004.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-06-22-4004.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-06-22-4004.descriptionE </Value>
|
|
</Text>
|
|
|
|
</Block>
|
|
|
|
|
|
; button i=30 03-06-22-4006
|
|
<Block>
|
|
<MarginLeft> 33 </MarginLeft>
|
|
<MarginTop> 22 </MarginTop>
|
|
<Width> 225 </Width>
|
|
<Height> 296 </Height>
|
|
<State> $03-06-22-4006.Button </State>
|
|
<Button>
|
|
<State> $03-06-22-4006.Button </State>
|
|
<Filename> Var( "ROOT/taobin_project/spiral/image/page_spiral/" + $03-06-22-4006.image ) </Filename>
|
|
<FilenamePress> Var( "ROOT/taobin_project/spiral/image/page_spiral_press/" + $03-06-22-4006.image ) " </FilenamePress>
|
|
<FilenameDisable> Var( "ROOT/taobin_project/spiral/image/page_spiral_press/" + $03-06-22-4006.image ) " </FilenameDisable>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventOnClick>
|
|
Var SpiralSelectdetail1 = $03-06-22-4006.detail1
|
|
Var SpiralSelectheader2 = $03-06-22-4006.header2
|
|
Var SpiralSelectdetail2 = $03-06-22-4006.detail2
|
|
|
|
Var SpiralSelectdetail1E = $03-06-22-4006.detail1E
|
|
Var SpiralSelectheader2E = $03-06-22-4006.header2E
|
|
Var SpiralSelectdetail2E = $03-06-22-4006.detail2E
|
|
|
|
Var ServiceCredit = "03-06-22-4006"
|
|
Var SelectDrink = $03-06-22-4006.Self
|
|
Var NameDrink = $03-06-22-4006.NameE
|
|
Var NameDrinkTH = $03-06-22-4006.Name
|
|
Var DrinkDescriptionTH = $03-06-22-4006.description
|
|
Var DrinkDescription = $03-06-22-4006.descriptionE
|
|
Var PriceDrink = $03-06-22-4006.Price
|
|
Var SpiralProduct = "ROOT/taobin_project/spiral/image/page_spiral/spiral_product_" + $03-06-22-4006.image
|
|
Var Spiraldetail = "ROOT/taobin_project/spiral/image/page_spiral/spiral_text_detail_" + $03-06-22-4006.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-06-22-4006.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-06-22-4006.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-06-22-4006.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-06-22-4006.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-06-22-4006.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-06-22-4006.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-06-22-4006.descriptionE </Value>
|
|
</Text>
|
|
|
|
</Block>
|
|
|
|
|
|
; button i=31 03-06-22-4011
|
|
<Block>
|
|
<MarginLeft> 33 </MarginLeft>
|
|
<MarginTop> 22 </MarginTop>
|
|
<Width> 225 </Width>
|
|
<Height> 296 </Height>
|
|
<State> $03-06-22-4011.Button </State>
|
|
<Button>
|
|
<State> $03-06-22-4011.Button </State>
|
|
<Filename> Var( "ROOT/taobin_project/spiral/image/page_spiral/" + $03-06-22-4011.image ) </Filename>
|
|
<FilenamePress> Var( "ROOT/taobin_project/spiral/image/page_spiral_press/" + $03-06-22-4011.image ) " </FilenamePress>
|
|
<FilenameDisable> Var( "ROOT/taobin_project/spiral/image/page_spiral_press/" + $03-06-22-4011.image ) " </FilenameDisable>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventOnClick>
|
|
Var SpiralSelectdetail1 = $03-06-22-4011.detail1
|
|
Var SpiralSelectheader2 = $03-06-22-4011.header2
|
|
Var SpiralSelectdetail2 = $03-06-22-4011.detail2
|
|
|
|
Var SpiralSelectdetail1E = $03-06-22-4011.detail1E
|
|
Var SpiralSelectheader2E = $03-06-22-4011.header2E
|
|
Var SpiralSelectdetail2E = $03-06-22-4011.detail2E
|
|
|
|
Var ServiceCredit = "03-06-22-4011"
|
|
Var SelectDrink = $03-06-22-4011.Self
|
|
Var NameDrink = $03-06-22-4011.NameE
|
|
Var NameDrinkTH = $03-06-22-4011.Name
|
|
Var DrinkDescriptionTH = $03-06-22-4011.description
|
|
Var DrinkDescription = $03-06-22-4011.descriptionE
|
|
Var PriceDrink = $03-06-22-4011.Price
|
|
Var SpiralProduct = "ROOT/taobin_project/spiral/image/page_spiral/spiral_product_" + $03-06-22-4011.image
|
|
Var Spiraldetail = "ROOT/taobin_project/spiral/image/page_spiral/spiral_text_detail_" + $03-06-22-4011.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-06-22-4011.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-06-22-4011.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-06-22-4011.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-06-22-4011.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-06-22-4011.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-06-22-4011.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-06-22-4011.descriptionE </Value>
|
|
</Text>
|
|
|
|
</Block>
|
|
|
|
|
|
; button i=32 03-06-22-4012
|
|
<Block>
|
|
<MarginLeft> 33 </MarginLeft>
|
|
<MarginTop> 22 </MarginTop>
|
|
<Width> 225 </Width>
|
|
<Height> 296 </Height>
|
|
<State> $03-06-22-4012.Button </State>
|
|
<Button>
|
|
<State> $03-06-22-4012.Button </State>
|
|
<Filename> Var( "ROOT/taobin_project/spiral/image/page_spiral/" + $03-06-22-4012.image ) </Filename>
|
|
<FilenamePress> Var( "ROOT/taobin_project/spiral/image/page_spiral_press/" + $03-06-22-4012.image ) " </FilenamePress>
|
|
<FilenameDisable> Var( "ROOT/taobin_project/spiral/image/page_spiral_press/" + $03-06-22-4012.image ) " </FilenameDisable>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventOnClick>
|
|
Var SpiralSelectdetail1 = $03-06-22-4012.detail1
|
|
Var SpiralSelectheader2 = $03-06-22-4012.header2
|
|
Var SpiralSelectdetail2 = $03-06-22-4012.detail2
|
|
|
|
Var SpiralSelectdetail1E = $03-06-22-4012.detail1E
|
|
Var SpiralSelectheader2E = $03-06-22-4012.header2E
|
|
Var SpiralSelectdetail2E = $03-06-22-4012.detail2E
|
|
|
|
Var ServiceCredit = "03-06-22-4012"
|
|
Var SelectDrink = $03-06-22-4012.Self
|
|
Var NameDrink = $03-06-22-4012.NameE
|
|
Var NameDrinkTH = $03-06-22-4012.Name
|
|
Var DrinkDescriptionTH = $03-06-22-4012.description
|
|
Var DrinkDescription = $03-06-22-4012.descriptionE
|
|
Var PriceDrink = $03-06-22-4012.Price
|
|
Var SpiralProduct = "ROOT/taobin_project/spiral/image/page_spiral/spiral_product_" + $03-06-22-4012.image
|
|
Var Spiraldetail = "ROOT/taobin_project/spiral/image/page_spiral/spiral_text_detail_" + $03-06-22-4012.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-06-22-4012.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-06-22-4012.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-06-22-4012.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-06-22-4012.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-06-22-4012.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-06-22-4012.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-06-22-4012.descriptionE </Value>
|
|
</Text>
|
|
|
|
</Block>
|
|
|
|
|
|
; button i=33 03-06-22-4013
|
|
<Block>
|
|
<MarginLeft> 33 </MarginLeft>
|
|
<MarginTop> 22 </MarginTop>
|
|
<Width> 225 </Width>
|
|
<Height> 296 </Height>
|
|
<State> $03-06-22-4013.Button </State>
|
|
<Button>
|
|
<State> $03-06-22-4013.Button </State>
|
|
<Filename> Var( "ROOT/taobin_project/spiral/image/page_spiral/" + $03-06-22-4013.image ) </Filename>
|
|
<FilenamePress> Var( "ROOT/taobin_project/spiral/image/page_spiral_press/" + $03-06-22-4013.image ) " </FilenamePress>
|
|
<FilenameDisable> Var( "ROOT/taobin_project/spiral/image/page_spiral_press/" + $03-06-22-4013.image ) " </FilenameDisable>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventOnClick>
|
|
Var SpiralSelectdetail1 = $03-06-22-4013.detail1
|
|
Var SpiralSelectheader2 = $03-06-22-4013.header2
|
|
Var SpiralSelectdetail2 = $03-06-22-4013.detail2
|
|
|
|
Var SpiralSelectdetail1E = $03-06-22-4013.detail1E
|
|
Var SpiralSelectheader2E = $03-06-22-4013.header2E
|
|
Var SpiralSelectdetail2E = $03-06-22-4013.detail2E
|
|
|
|
Var ServiceCredit = "03-06-22-4013"
|
|
Var SelectDrink = $03-06-22-4013.Self
|
|
Var NameDrink = $03-06-22-4013.NameE
|
|
Var NameDrinkTH = $03-06-22-4013.Name
|
|
Var DrinkDescriptionTH = $03-06-22-4013.description
|
|
Var DrinkDescription = $03-06-22-4013.descriptionE
|
|
Var PriceDrink = $03-06-22-4013.Price
|
|
Var SpiralProduct = "ROOT/taobin_project/spiral/image/page_spiral/spiral_product_" + $03-06-22-4013.image
|
|
Var Spiraldetail = "ROOT/taobin_project/spiral/image/page_spiral/spiral_text_detail_" + $03-06-22-4013.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-06-22-4013.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-06-22-4013.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-06-22-4013.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-06-22-4013.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-06-22-4013.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-06-22-4013.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-06-22-4013.descriptionE </Value>
|
|
</Text>
|
|
|
|
</Block>
|
|
|
|
|
|
; button i=34 03-06-22-4014
|
|
<Block>
|
|
<MarginLeft> 33 </MarginLeft>
|
|
<MarginTop> 22 </MarginTop>
|
|
<Width> 225 </Width>
|
|
<Height> 296 </Height>
|
|
<State> $03-06-22-4014.Button </State>
|
|
<Button>
|
|
<State> $03-06-22-4014.Button </State>
|
|
<Filename> Var( "ROOT/taobin_project/spiral/image/page_spiral/" + $03-06-22-4014.image ) </Filename>
|
|
<FilenamePress> Var( "ROOT/taobin_project/spiral/image/page_spiral_press/" + $03-06-22-4014.image ) " </FilenamePress>
|
|
<FilenameDisable> Var( "ROOT/taobin_project/spiral/image/page_spiral_press/" + $03-06-22-4014.image ) " </FilenameDisable>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventOnClick>
|
|
Var SpiralSelectdetail1 = $03-06-22-4014.detail1
|
|
Var SpiralSelectheader2 = $03-06-22-4014.header2
|
|
Var SpiralSelectdetail2 = $03-06-22-4014.detail2
|
|
|
|
Var SpiralSelectdetail1E = $03-06-22-4014.detail1E
|
|
Var SpiralSelectheader2E = $03-06-22-4014.header2E
|
|
Var SpiralSelectdetail2E = $03-06-22-4014.detail2E
|
|
|
|
Var ServiceCredit = "03-06-22-4014"
|
|
Var SelectDrink = $03-06-22-4014.Self
|
|
Var NameDrink = $03-06-22-4014.NameE
|
|
Var NameDrinkTH = $03-06-22-4014.Name
|
|
Var DrinkDescriptionTH = $03-06-22-4014.description
|
|
Var DrinkDescription = $03-06-22-4014.descriptionE
|
|
Var PriceDrink = $03-06-22-4014.Price
|
|
Var SpiralProduct = "ROOT/taobin_project/spiral/image/page_spiral/spiral_product_" + $03-06-22-4014.image
|
|
Var Spiraldetail = "ROOT/taobin_project/spiral/image/page_spiral/spiral_text_detail_" + $03-06-22-4014.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-06-22-4014.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-06-22-4014.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-06-22-4014.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-06-22-4014.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-06-22-4014.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-06-22-4014.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-06-22-4014.descriptionE </Value>
|
|
</Text>
|
|
|
|
</Block>
|
|
|
|
|
|
; button i=35 03-06-22-4015
|
|
<Block>
|
|
<MarginLeft> 33 </MarginLeft>
|
|
<MarginTop> 22 </MarginTop>
|
|
<Width> 225 </Width>
|
|
<Height> 296 </Height>
|
|
<State> $03-06-22-4015.Button </State>
|
|
<Button>
|
|
<State> $03-06-22-4015.Button </State>
|
|
<Filename> Var( "ROOT/taobin_project/spiral/image/page_spiral/" + $03-06-22-4015.image ) </Filename>
|
|
<FilenamePress> Var( "ROOT/taobin_project/spiral/image/page_spiral_press/" + $03-06-22-4015.image ) " </FilenamePress>
|
|
<FilenameDisable> Var( "ROOT/taobin_project/spiral/image/page_spiral_press/" + $03-06-22-4015.image ) " </FilenameDisable>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventOnClick>
|
|
Var SpiralSelectdetail1 = $03-06-22-4015.detail1
|
|
Var SpiralSelectheader2 = $03-06-22-4015.header2
|
|
Var SpiralSelectdetail2 = $03-06-22-4015.detail2
|
|
|
|
Var SpiralSelectdetail1E = $03-06-22-4015.detail1E
|
|
Var SpiralSelectheader2E = $03-06-22-4015.header2E
|
|
Var SpiralSelectdetail2E = $03-06-22-4015.detail2E
|
|
|
|
Var ServiceCredit = "03-06-22-4015"
|
|
Var SelectDrink = $03-06-22-4015.Self
|
|
Var NameDrink = $03-06-22-4015.NameE
|
|
Var NameDrinkTH = $03-06-22-4015.Name
|
|
Var DrinkDescriptionTH = $03-06-22-4015.description
|
|
Var DrinkDescription = $03-06-22-4015.descriptionE
|
|
Var PriceDrink = $03-06-22-4015.Price
|
|
Var SpiralProduct = "ROOT/taobin_project/spiral/image/page_spiral/spiral_product_" + $03-06-22-4015.image
|
|
Var Spiraldetail = "ROOT/taobin_project/spiral/image/page_spiral/spiral_text_detail_" + $03-06-22-4015.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-06-22-4015.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-06-22-4015.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-06-22-4015.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-06-22-4015.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-06-22-4015.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-06-22-4015.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-06-22-4015.descriptionE </Value>
|
|
</Text>
|
|
|
|
</Block>
|
|
|
|
|
|
; button i=36 03-06-22-5001
|
|
<Block>
|
|
<MarginLeft> 33 </MarginLeft>
|
|
<MarginTop> 22 </MarginTop>
|
|
<Width> 225 </Width>
|
|
<Height> 296 </Height>
|
|
<State> $03-06-22-5001.Button </State>
|
|
<Button>
|
|
<State> $03-06-22-5001.Button </State>
|
|
<Filename> Var( "ROOT/taobin_project/spiral/image/page_spiral/" + $03-06-22-5001.image ) </Filename>
|
|
<FilenamePress> Var( "ROOT/taobin_project/spiral/image/page_spiral_press/" + $03-06-22-5001.image ) " </FilenamePress>
|
|
<FilenameDisable> Var( "ROOT/taobin_project/spiral/image/page_spiral_press/" + $03-06-22-5001.image ) " </FilenameDisable>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventOnClick>
|
|
Var SpiralSelectdetail1 = $03-06-22-5001.detail1
|
|
Var SpiralSelectheader2 = $03-06-22-5001.header2
|
|
Var SpiralSelectdetail2 = $03-06-22-5001.detail2
|
|
|
|
Var SpiralSelectdetail1E = $03-06-22-5001.detail1E
|
|
Var SpiralSelectheader2E = $03-06-22-5001.header2E
|
|
Var SpiralSelectdetail2E = $03-06-22-5001.detail2E
|
|
|
|
Var ServiceCredit = "03-06-22-5001"
|
|
Var SelectDrink = $03-06-22-5001.Self
|
|
Var NameDrink = $03-06-22-5001.NameE
|
|
Var NameDrinkTH = $03-06-22-5001.Name
|
|
Var DrinkDescriptionTH = $03-06-22-5001.description
|
|
Var DrinkDescription = $03-06-22-5001.descriptionE
|
|
Var PriceDrink = $03-06-22-5001.Price
|
|
Var SpiralProduct = "ROOT/taobin_project/spiral/image/page_spiral/spiral_product_" + $03-06-22-5001.image
|
|
Var Spiraldetail = "ROOT/taobin_project/spiral/image/page_spiral/spiral_text_detail_" + $03-06-22-5001.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-06-22-5001.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-06-22-5001.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-06-22-5001.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-06-22-5001.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-06-22-5001.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-06-22-5001.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-06-22-5001.descriptionE </Value>
|
|
</Text>
|
|
|
|
</Block>
|
|
|
|
; button i=37 03-06-22-5004
|
|
<Block>
|
|
<MarginLeft> 33 </MarginLeft>
|
|
<MarginTop> 22 </MarginTop>
|
|
<Width> 225 </Width>
|
|
<Height> 296 </Height>
|
|
<State> $03-06-22-5004.Button </State>
|
|
<Button>
|
|
<State> $03-06-22-5004.Button </State>
|
|
<Filename> Var( "ROOT/taobin_project/spiral/image/page_spiral/" + $03-06-22-5004.image ) </Filename>
|
|
<FilenamePress> Var( "ROOT/taobin_project/spiral/image/page_spiral_press/" + $03-06-22-5004.image ) " </FilenamePress>
|
|
<FilenameDisable> Var( "ROOT/taobin_project/spiral/image/page_spiral_press/" + $03-06-22-5004.image ) " </FilenameDisable>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventOnClick>
|
|
Var SpiralSelectdetail1 = $03-06-22-5004.detail1
|
|
Var SpiralSelectheader2 = $03-06-22-5004.header2
|
|
Var SpiralSelectdetail2 = $03-06-22-5004.detail2
|
|
|
|
Var SpiralSelectdetail1E = $03-06-22-5004.detail1E
|
|
Var SpiralSelectheader2E = $03-06-22-5004.header2E
|
|
Var SpiralSelectdetail2E = $03-06-22-5004.detail2E
|
|
|
|
Var ServiceCredit = "03-06-22-5004"
|
|
Var SelectDrink = $03-06-22-5004.Self
|
|
Var NameDrink = $03-06-22-5004.NameE
|
|
Var NameDrinkTH = $03-06-22-5004.Name
|
|
Var DrinkDescriptionTH = $03-06-22-5004.description
|
|
Var DrinkDescription = $03-06-22-5004.descriptionE
|
|
Var PriceDrink = $03-06-22-5004.Price
|
|
Var SpiralProduct = "ROOT/taobin_project/spiral/image/page_spiral/spiral_product_" + $03-06-22-5004.image
|
|
Var Spiraldetail = "ROOT/taobin_project/spiral/image/page_spiral/spiral_text_detail_" + $03-06-22-5004.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-06-22-5004.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-06-22-5004.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-06-22-5004.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-06-22-5004.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-06-22-5004.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-06-22-5004.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-06-22-5004.descriptionE </Value>
|
|
</Text>
|
|
|
|
</Block>
|
|
|
|
|
|
; button i=41 03-06-22-4022
|
|
<Block>
|
|
<MarginLeft> 33 </MarginLeft>
|
|
<MarginTop> 22 </MarginTop>
|
|
<Width> 225 </Width>
|
|
<Height> 296 </Height>
|
|
<State> $03-06-22-4022.Button </State>
|
|
<Button>
|
|
<State> $03-06-22-4022.Button </State>
|
|
<Filename> Var( "ROOT/taobin_project/spiral/image/page_spiral/" + $03-06-22-4022.image ) </Filename>
|
|
<FilenamePress> Var( "ROOT/taobin_project/spiral/image/page_spiral_press/" + $03-06-22-4022.image ) " </FilenamePress>
|
|
<FilenameDisable> Var( "ROOT/taobin_project/spiral/image/page_spiral_press/" + $03-06-22-4022.image ) " </FilenameDisable>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventOnClick>
|
|
Var SpiralSelectdetail1 = $03-06-22-4022.detail1
|
|
Var SpiralSelectheader2 = $03-06-22-4022.header2
|
|
Var SpiralSelectdetail2 = $03-06-22-4022.detail2
|
|
|
|
Var SpiralSelectdetail1E = $03-06-22-4022.detail1E
|
|
Var SpiralSelectheader2E = $03-06-22-4022.header2E
|
|
Var SpiralSelectdetail2E = $03-06-22-4022.detail2E
|
|
|
|
Var ServiceCredit = "03-06-22-4022"
|
|
Var SelectDrink = $03-06-22-4022.Self
|
|
Var NameDrink = $03-06-22-4022.NameE
|
|
Var NameDrinkTH = $03-06-22-4022.Name
|
|
Var DrinkDescriptionTH = $03-06-22-4022.description
|
|
Var DrinkDescription = $03-06-22-4022.descriptionE
|
|
Var PriceDrink = $03-06-22-4022.Price
|
|
Var SpiralProduct = "ROOT/taobin_project/spiral/image/page_spiral/spiral_product_" + $03-06-22-4022.image
|
|
Var Spiraldetail = "ROOT/taobin_project/spiral/image/page_spiral/spiral_text_detail_" + $03-06-22-4022.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-06-22-4022.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-06-22-4022.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-06-22-4022.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-06-22-4022.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-06-22-4022.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-06-22-4022.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-06-22-4022.descriptionE </Value>
|
|
</Text>
|
|
|
|
</Block>
|
|
|
|
|
|
|
|
|
|
; button i=41 03-06-22-4023
|
|
<Block>
|
|
<MarginLeft> 33 </MarginLeft>
|
|
<MarginTop> 22 </MarginTop>
|
|
<Width> 225 </Width>
|
|
<Height> 296 </Height>
|
|
<State> $03-06-22-4023.Button </State>
|
|
<Button>
|
|
<State> $03-06-22-4023.Button </State>
|
|
<Filename> Var( "ROOT/taobin_project/spiral/image/page_spiral/" + $03-06-22-4023.image ) </Filename>
|
|
<FilenamePress> Var( "ROOT/taobin_project/spiral/image/page_spiral_press/" + $03-06-22-4023.image ) " </FilenamePress>
|
|
<FilenameDisable> Var( "ROOT/taobin_project/spiral/image/page_spiral_press/" + $03-06-22-4023.image ) " </FilenameDisable>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventOnClick>
|
|
Var SpiralSelectdetail1 = $03-06-22-4023.detail1
|
|
Var SpiralSelectheader2 = $03-06-22-4023.header2
|
|
Var SpiralSelectdetail2 = $03-06-22-4023.detail2
|
|
|
|
Var SpiralSelectdetail1E = $03-06-22-4023.detail1E
|
|
Var SpiralSelectheader2E = $03-06-22-4023.header2E
|
|
Var SpiralSelectdetail2E = $03-06-22-4023.detail2E
|
|
|
|
Var ServiceCredit = "03-06-22-4023"
|
|
Var SelectDrink = $03-06-22-4023.Self
|
|
Var NameDrink = $03-06-22-4023.NameE
|
|
Var NameDrinkTH = $03-06-22-4023.Name
|
|
Var DrinkDescriptionTH = $03-06-22-4023.description
|
|
Var DrinkDescription = $03-06-22-4023.descriptionE
|
|
Var PriceDrink = $03-06-22-4023.Price
|
|
Var SpiralProduct = "ROOT/taobin_project/spiral/image/page_spiral/spiral_product_" + $03-06-22-4023.image
|
|
Var Spiraldetail = "ROOT/taobin_project/spiral/image/page_spiral/spiral_text_detail_" + $03-06-22-4023.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-06-22-4023.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-06-22-4023.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-06-22-4023.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-06-22-4023.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-06-22-4023.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-06-22-4023.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-06-22-4023.descriptionE </Value>
|
|
</Text>
|
|
|
|
</Block>
|
|
|
|
|
|
|
|
|
|
; button i=41 03-06-22-5019
|
|
<Block>
|
|
<MarginLeft> 33 </MarginLeft>
|
|
<MarginTop> 22 </MarginTop>
|
|
<Width> 225 </Width>
|
|
<Height> 296 </Height>
|
|
<State> $03-06-22-5019.Button </State>
|
|
<Button>
|
|
<State> $03-06-22-5019.Button </State>
|
|
<Filename> Var( "ROOT/taobin_project/spiral/image/page_spiral/" + $03-06-22-5019.image ) </Filename>
|
|
<FilenamePress> Var( "ROOT/taobin_project/spiral/image/page_spiral_press/" + $03-06-22-5019.image ) " </FilenamePress>
|
|
<FilenameDisable> Var( "ROOT/taobin_project/spiral/image/page_spiral_press/" + $03-06-22-5019.image ) " </FilenameDisable>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventOnClick>
|
|
Var SpiralSelectdetail1 = $03-06-22-5019.detail1
|
|
Var SpiralSelectheader2 = $03-06-22-5019.header2
|
|
Var SpiralSelectdetail2 = $03-06-22-5019.detail2
|
|
|
|
Var SpiralSelectdetail1E = $03-06-22-5019.detail1E
|
|
Var SpiralSelectheader2E = $03-06-22-5019.header2E
|
|
Var SpiralSelectdetail2E = $03-06-22-5019.detail2E
|
|
|
|
Var ServiceCredit = "03-06-22-5019"
|
|
Var SelectDrink = $03-06-22-5019.Self
|
|
Var NameDrink = $03-06-22-5019.NameE
|
|
Var NameDrinkTH = $03-06-22-5019.Name
|
|
Var DrinkDescriptionTH = $03-06-22-5019.description
|
|
Var DrinkDescription = $03-06-22-5019.descriptionE
|
|
Var PriceDrink = $03-06-22-5019.Price
|
|
Var SpiralProduct = "ROOT/taobin_project/spiral/image/page_spiral/spiral_product_" + $03-06-22-5019.image
|
|
Var Spiraldetail = "ROOT/taobin_project/spiral/image/page_spiral/spiral_text_detail_" + $03-06-22-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-06-22-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-06-22-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-06-22-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-06-22-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-06-22-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-06-22-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-06-22-5019.descriptionE </Value>
|
|
</Text>
|
|
|
|
</Block>
|
|
|
|
|
|
|
|
|
|
; button i=41 03-06-22-5020
|
|
<Block>
|
|
<MarginLeft> 33 </MarginLeft>
|
|
<MarginTop> 22 </MarginTop>
|
|
<Width> 225 </Width>
|
|
<Height> 296 </Height>
|
|
<State> $03-06-22-5020.Button </State>
|
|
<Button>
|
|
<State> $03-06-22-5020.Button </State>
|
|
<Filename> Var( "ROOT/taobin_project/spiral/image/page_spiral/" + $03-06-22-5020.image ) </Filename>
|
|
<FilenamePress> Var( "ROOT/taobin_project/spiral/image/page_spiral_press/" + $03-06-22-5020.image ) " </FilenamePress>
|
|
<FilenameDisable> Var( "ROOT/taobin_project/spiral/image/page_spiral_press/" + $03-06-22-5020.image ) " </FilenameDisable>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventOnClick>
|
|
Var SpiralSelectdetail1 = $03-06-22-5020.detail1
|
|
Var SpiralSelectheader2 = $03-06-22-5020.header2
|
|
Var SpiralSelectdetail2 = $03-06-22-5020.detail2
|
|
|
|
Var SpiralSelectdetail1E = $03-06-22-5020.detail1E
|
|
Var SpiralSelectheader2E = $03-06-22-5020.header2E
|
|
Var SpiralSelectdetail2E = $03-06-22-5020.detail2E
|
|
|
|
Var ServiceCredit = "03-06-22-5020"
|
|
Var SelectDrink = $03-06-22-5020.Self
|
|
Var NameDrink = $03-06-22-5020.NameE
|
|
Var NameDrinkTH = $03-06-22-5020.Name
|
|
Var DrinkDescriptionTH = $03-06-22-5020.description
|
|
Var DrinkDescription = $03-06-22-5020.descriptionE
|
|
Var PriceDrink = $03-06-22-5020.Price
|
|
Var SpiralProduct = "ROOT/taobin_project/spiral/image/page_spiral/spiral_product_" + $03-06-22-5020.image
|
|
Var Spiraldetail = "ROOT/taobin_project/spiral/image/page_spiral/spiral_text_detail_" + $03-06-22-5020.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-06-22-5020.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-06-22-5020.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-06-22-5020.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-06-22-5020.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-06-22-5020.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-06-22-5020.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-06-22-5020.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>
|