The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024


[Message Prev][Message Next][Thread Prev][Thread Next][Message Index][Thread Index]

Querying block settings


  • Subject: Querying block settings
  • From: Stuart Booth
  • Date: Fri, 09 Apr 2004 17:53:00 +0000

Guys,

Imagine you have a class of message, in which one of the blocks sets
some values. Say you later want to query those current settings. How
do you currently prefer to do that?

It seems to make sense to me to return the same block format that sets
the values. But unless you change either the name of the class or the
name of the block itself, it will be a SET block, not a RESPONSE block
in the same class.

How about?

*** Class=Wibble

Wibble.Set
{
Wibble="blah"
}

Wibble.Query
{
}

Wibble.Info
{
Wibble="blah"
}

Or would you prefer the following, where the information response
block is exactly the same, just in a lightly specialised class:

*** Class=Wibble

Wibble
{
Wibble="Blah"
}

Wibble.Query
{
}

*** Class=Wibble.Info

Wibble
{
Wibble="Blah"
}

Or do you have another scheme in mind??

S
--
Stuart Booth <<a
href="/group/xAP_developer/post?postID=GnZ7ic1YtDHS6lOmYInIHnCXv_qzMCWgOPy9EIbxXZlhZCbC79hIRlaZ7tDv4X-oaHZBSMKDvipDWBxoQA">stuart@x...</a>>
xAPFramework.net - a xAP software development framework for .net

<a href="http://www.xapautomation.org/";>http://www.xapautomation.org/</a>
<a href="http://www.xapframework.net/";>http://www.xapframework.net/</a>





xAP_Development Main Index | xAP_Development Thread Index | xAP_Development Home | Archives Home

Comments to the Webmaster are always welcomed, please use this contact form . Note that as this site is a mailing list archive, the Webmaster has no control over the contents of the messages. Comments about message content should be directed to the relevant mailing list.