Adding states to generic_items

View: New views
2 Messages — Rating Filter:   Alert me  

Adding states to generic_items

by Melanie-27 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

What would be the cleanest way to add states
to generic_items such as mode_sleeping?


--
"Technical problem or defect reported by pilot or crew:
   "Mouse in cockpit."
Remedial action or answer reported by maintenance engineer:
   "Cat installed.""


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
________________________________________________________
To unsubscribe from this list, go to: http://sourceforge.net/mail/?group_id=1365


Re: Adding states to generic_items

by Jim Duda :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Check out the add_states() method Generic_Item.  You can refer to the
docs/mh.txt file for documentation.  The add_states method is the
cleanest way to add new states to a Generic_Item.

Jim

Melanie wrote:
> What would be the cleanest way to add states
> to generic_items such as mode_sleeping?
>
>


-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
________________________________________________________
To unsubscribe from this list, go to: http://sourceforge.net/mail/?group_id=1365

LightInTheBox - Buy quality products at wholesale price