IBACnetPersistence.RestoreClientCreatedObjects (PROP) ¶ PROPERTY RestoreClientCreatedObjects : BOOL Controls if objects which have been created with client request should be restored (or not).
IBACnetPersistence.UpdateProperties (METH) ¶ METHOD UpdateProperties : CmpBACnet.IEC_BACNET_STATUS Updates the object initialization data with the persistent data (if present). InOut: Scope Name Type Comment Return UpdateProperties CmpBACnet.IEC_BACNET_STATUS Input devInstance CmpBACnet.IEC_BACNET_DWORD The device instance for which objects the update should be done. objID CmpBACnet.IEC_BACNET_OBJECT_ID The object identifier for which the update should be done. Inout propList POINTER TO CmpBACnet.IEC_BACNET_PROPERTY_INSTANCE The pointer to the array with the property declarations for the object initialization. propCount CmpBACnet.IEC_BACNET_UNSIGNED The number of entries in the array with properties. Output pBuffer POINTER TO BYTE This pointer is used to store the allocated buffer pointer which contains the loaded data which are needed for object construction. The application has to free this buffer after object construction.
IBACnetPersistence.FreePersistenceInfos (METH) ¶ METHOD FreePersistenceInfos : CmpBACnet.IEC_BACNET_STATUS Deallocate buffer allocated from IBACnetPersistence.GetPersistenceInfos . InOut: Scope Name Type Comment Return FreePersistenceInfos CmpBACnet.IEC_BACNET_STATUS Input pInfo POINTER TO BACnetPersistenceInfo Array of information about stored objects.
IBACnetPersistence.FreeUpdatePropertiesBuffer (METH) ¶ METHOD FreeUpdatePropertiesBuffer : CmpBACnet.IEC_BACNET_STATUS Deallocate buffer allocated from IBACnetPersistence.UpdateProperties . InOut: Scope Name Type Return FreeUpdatePropertiesBuffer CmpBACnet.IEC_BACNET_STATUS Input pBuffer POINTER TO BYTE
IBACnetPropertyConfiguration.GetPropertyAttributes (METH) ¶ METHOD GetPropertyAttributes : BOOL Gets the property attributes of a given object property. Returns FALSE, if no propAttr for objID/propID is provided. InOut: Scope Name Type Return GetPropertyAttributes BOOL Input objID CmpBACnet.IEC_BACNET_OBJECT_ID propID CmpBACnet.IEC_BACNET_PROPERTY_ID Output propAttr BACnetPropertyAttributes
IBACnetPropertyConfiguration.Name (PROP) ¶ PROPERTY Name : STRING
BACnetPropertyAttributes (STRUCT) ¶ TYPE BACnetPropertyAttributes : STRUCT BACnetPropertyAttributes are used to configure existance, writability and persistence of BACnet object properties. InOut: Name Type Initial existent BACnetPropertyAttributeExistent BACnetPropertyAttributeExistent.DEFAULT writable BACnetPropertyAttributeWritable BACnetPropertyAttributeWritable.DEFAULT persist BACnetPropertyAttributePersistent BACnetPropertyAttributePersistent.DEFAULT
BACnetSetpointReference (STRUCT) ¶ TYPE BACnetSetpointReference : STRUCT Helper Structure for CODESYS-Typed set point references. InOut: Name Type propPresent BOOL prop CmpBACnet.IEC_BACNET_OBJ_PROP_REFERENCE
IBACnetPersistence.GetPersistenceInfos (METH) ¶ METHOD GetPersistenceInfos : CmpBACnet.IEC_BACNET_STATUS Gets information which objects had been stored. This method allocates pInfo, the caller has to free pInfo using IBACnetPersistence.FreePersistenceInfos . InOut: Scope Name Type Comment Return GetPersistenceInfos CmpBACnet.IEC_BACNET_STATUS Output numInfo UDINT Number of stored objects. pInfo POINTER TO BACnetPersistenceInfo Array of information about stored objects.
IBACnetPersistence.Name (PROP) ¶ PROPERTY Name : STRING