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]

Re: xAP BSC



Also,

What about Shutdown? Is that considered a change of state too?

The way my app is implemented the endpoint defaults to OFF. If it's
disabled at startup it pumps out a xAPBSC.Info message as the state
hasn't changed from OFF.

If it's enabled at startup it pumps out a xAPBSC.Event message as the
state was OFF but it's now been activated.

Then, when it shutsdown its state changes to OFF before terminating.

If it had been disabled at startup, remained disabled during its
lifetime, then was shutdown, it would pump out a xAPBSC.Info message
upon termination, which seems somewhat odd if essentially correct.

Is this suitable?

S
--
Stuart Booth <stuart@xxxxxxx>
xAPFramework.NET - a xAP software development framework for .NET

http://www.xapautomation.org/ 
     http://www.xapframework.net/




  • References:
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.