Results 1 to 5 of 5

Thread: <generic> and sliders

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Automated Home Jr Member
    Join Date
    May 2006
    Posts
    18

    Default <generic> and sliders

    First off, let me say I think the work done by both of you is excellent. I dusted off the Joggler especially!

    Has anyone tried using the <generic> with sliders or are they BSC only (as the docs say)?

    Specifically I'm trying to get the temperature out of xAPWeather like so:

    Code:
    		    <button name="slider-outside1">
    			<label>
    				<text>EGVP</text>
    			</label>
    			<gridX>2</gridX>
    			<gridY>3</gridY>
    			<xAP>
    				<schema>generic</schema>
    		                <source>mi4.weather.egvp</source>
    		                <uid>FF400100</uid>
    		                <generic>
    			                <Class>Weather.Report</Class>
    			                <body>Weather.Report</body>
    			                <parameter>TempC</parameter>
    		                </generic>
    			</xAP>
    			<mode>slider</mode>
    			<slider>
    				<type>embedded</type>
    				<min>-20</min>
    				<max>50</max>
    				<design>sleek</design>
    				<rotation>horizontal</rotation>
    			</slider>
    		</button>
    and the message is

    Code:
    xap-header
    {
    v=12
    hop=1
    uid=FF400100
    class=Weather.Report
    source=mi4.weather.egvp
    }
    Weather.Report
    {
    UTC=15:50
    Date=20111216
    WindM=12.7
    WindK=20.4
    WindDirC=W
    WindDirD=280
    TempC=4.0
    Lehane
    Last edited by g8kmh; 16th December 2011 at 07:08 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •