[Message Prev][Message
Next][Thread Prev][Thread Next][Message
Index][Thread Index]
RE: Re: Renaming of instances and SubInstances?
- Subject: RE: Re: Renaming of instances and SubInstances?
- From: Ian B
- Date: Tue, 02 Sep 2003 20:22:00 +0000
I raised this back in the days of V1.1 and it was generally agreed it would
be SubInstance name=state. This is how I have coded all my stuff since. I
do
however also have things like the following in my targeted world
{
Value=On
Timer=00.00.10
}
Here the message is targeted and the values pertain only to the matched sub
instances therefore the body is not specific. This is in my relays schema
not the new basic one.
Hmmm, yet another twist......
Ian
>-----Original Message-----
>From: Kevin Hawkins [mailto:<a
href="/group/xAP_developer/post?postID=jtzAmwum0gWkR510dimzwso_Cs2BWSQ5wK_JTcyv8_cbJG48rWxEBva1q-p_mDYJWbwJTvSIOE01PKXxM5xYt1I">lists@u...</a>]
>Sent: 02 September 2003 17:55
>To: <a
href="/group/xAP_developer/post?postID=XsvKCHvsber9wROdaSqvYVkjWGLgOkBg7hPXM5meQlFFP6De2NEp1ZCclqazYDymRH-hurSOweACGSjBWNSGOBddUhS568DM">xAP_developer@xxxxxxx</a>
>Subject: RE: [xAP_developer] Re: Renaming of instances and
SubInstances?
>
>
>- I was trying to draw attention to now and upcoming applications
Stuart -
>of course I assumed everyone knew about yours as they pioneered this
>territory !
>
> Oops sorry - K
>
>Actually I have a question - a very fundamental one - came from a
remark
>James made - given that I have a device say
>
> acme.xapper.downstairs with 2 outputs that control lights
>
> acme.xapper.downstairs:TableLamp
>and acme.xapper.downstairs:CentreLight
>
> which do people feel is right within a Body section called output
>say
>
>output <<< This is how most people seem to go now
>{
>device=TableLamp
>state=ON
>}
>
>OR
>
>Output
>{
>TableLamp=ON
>}
>
>This has a fundamental bearing in handling multiple devices with a body
>
>Eg
>
>Output
>{
>device=TableLamp
>state=ON
>device=CentreLight
>state=OFF
>device=TableLamp
>device=CentreLight
>state=ON
>}
>
>
> Bearing in mind the ordering of name value pairs is not defined -
>and indeed is reordered by some hubs currently ;-)
>
> Or are we saying this has to be handled with mulitiple bodies and no
>name value pair can be repeated ?
>
>Output.
>{
>device=TableLamp
>device=CentreLight
>state=ON
>}
>
>being not legal - it's a bit like the housecode /action two stage
>process in
>X10 if this is right......
>
>
> K
>
>
>
>
> > -----Original Message-----
> > From: Stuart Booth [mailto:<a
href="/group/xAP_developer/post?postID=m7py4SvIekiq13WX-aretQWLCUQMYKWkdIT_uteht3FsLG2uChc2__byrX2gSpMAwR2l75ypMU6mytgq">lists@x...</a>]
> > Sent: 02 September 2003 14:42
> > To: <a
href="/group/xAP_developer/post?postID=XsvKCHvsber9wROdaSqvYVkjWGLgOkBg7hPXM5meQlFFP6De2NEp1ZCclqazYDymRH-hurSOweACGSjBWNSGOBddUhS568DM">xAP_developer@xxxxxxx</a>
> > Subject: Re: [xAP_developer] Re: Renaming of instances and
> > SubInstances?
> >
> > On Mon, 1 Sep 2003 13:30:06 +0100, "Kevin Hawkins"
> > <<a
href="/group/xAP_developer/post?postID=jtzAmwum0gWkR510dimzwso_Cs2BWSQ5wK_JTcyv8_cbJG48rWxEBva1q-p_mDYJWbwJTvSIOE01PKXxM5xYt1I">lists@u...</a>>
wrote:
> >
> > >Even to an extent James' apps that use multiple instances.
> >
> > ...and mine, I think anyway.
> >
> > <Stuart waves, not wanting to be left out of the party>
> >
> > S
> > --
> > Stuart Booth
> > xAPFramework.net - a reusable xAP framework for .net
> >
> > <a href="http://www.xapframework.net/">http://www.xapframework.net/</a>
<a
href="/group/xAP_developer/post?postID=65KIRLOv-rzl-UCOyzmkYvB2Nse5czHVVWB6OWR83n52oQuQTmiSOFivRTNrsk-muqWQequT-iIOgAeNIr9WLCyh">stuart@x...</a>
>
>
>
>
>To unsubscribe from this group, send an email to:
><a
href="/group/xAP_developer/post?postID=e6v0jq-ie7XweZywTsHAA7BgokkeHMMRdUia9O0xKXy8tcP16uYKM7i1WkrKCdVM7iDBPtgUQnQY4V6tcOJTB2xzfjFEzwXgCtArHWSzTbk">xAP_developer-unsubscribe@xxxxxxx</a>
>
>
>
>Your use of Yahoo! Groups is subject to <a href="http://docs.yahoo.com/info/terms/">http://docs.yahoo.com/info/terms/</a>
>
>
>
xAP_Development Main Index |
xAP_Development Thread Index |
xAP_Development Home |
Archives Home
|