non-persistent properties

HouseBot Plugin Development Discussions.
Post Reply
paulwoj
Member
Posts: 8
Joined: Mon Apr 25, 2005 10:37 pm

non-persistent properties

Post by paulwoj »

i create a property and mark IsPersistent = FALSE but each time I load the property with new values (CreatePropertyValue) they remain within the property. ( i can view them in the property manager)



i want to call for the properties values and be returned a new list of values.

i dont want the values from previous calls to be included as well.



am i misinterpreting IsPersistent?

do i need to make this a DynamicVariable?

can I change something in the DB to make the values non-persistent?



thanks

paul
yaccri
HouseBot Special Member
Posts: 304
Joined: Wed May 07, 2003 2:19 pm
Location: Tel-Aviv, Israel
Contact:

Post by yaccri »

Persistent means that when you start HouseBot, the property gets its last value. Non-persistent means that immediately after HB starts, the property has NO value.



The 'DevicePropertyMap' table has a field named 'Persistent Value'. 1 is persistent.
Post Reply