Page 1 of 1

non-persistent properties

Posted: Wed Jun 15, 2005 11:25 pm
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

Posted: Sun Jun 19, 2005 3:00 pm
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.