BACnetObjectBase.GetPropertyAccessRight (METH) ¶ METHOD GetPropertyAccessRight : CmpBACnet.IEC_BACNET_STATUS Gets the client side access rights for a specified BACnet-Property of this BACnet-Object (propID). These restrictions only hold for client side access of the specified BACnet-Property. InOut: Scope Name Type Comment Return GetPropertyAccessRight CmpBACnet.IEC_BACNET_STATUS Input propID CmpBACnet.IEC_BACNET_PROPERTY_ID The property ID for which the access right shall be determined. Output accessRight CmpBACnet.IEC_BACNET_ACCESS The property access rights after a call to this method.
BACnetObjectBase.GetPropertyCallbackAttachment (METH) ¶ METHOD GetPropertyCallbackAttachment : CmpBACnet.IEC_BACNET_STATUS Gets the current callback status of a property of the BACnet-Object. This status defines if the WRITE- or READ-Callbacks (IEC_BACNET_CALLBACK_TYPE used in BACnetServer.RegisterCallback ) are called for the specified property of this object. InOut: Scope Name Type Initial Comment Return GetPropertyCallbackAttachment CmpBACnet.IEC_BACNET_STATUS Input ePropertyID CmpBACnet.IEC_BACNET_PROPERTY_ID The id of the property to get its callback status for. Output xReadCallbackAttached BOOL FALSE If the READ-Callback is called for the sepcified property of this object, TRUE. Else FALSE. xWriteCallbackAttached BOOL FALSE If the WRITE-Callback is called for the sepcified property of this object, TRUE. Else FALSE.
BACnetObjectBase.SetPropertyAccessRight (METH) ¶ METHOD SetPropertyAccessRight : CmpBACnet.IEC_BACNET_STATUS Sets the client side access rights for a specified BACnet-Property of this BACnet-Object (propID). These restrictions only hold for client side access of the specified BACnet-Property. InOut: Scope Name Type Comment Return SetPropertyAccessRight CmpBACnet.IEC_BACNET_STATUS Input propID CmpBACnet.IEC_BACNET_PROPERTY_ID The property ID of the property for which the access rights shall be set. accessRight CmpBACnet.IEC_BACNET_ACCESS The BACnet access rights to set for the property.
BACnetObjectBase.SetPropertyCallbackAttachment (METH) ¶ METHOD SetPropertyCallbackAttachment : CmpBACnet.IEC_BACNET_STATUS Sets the current callback status of a property of the BACnet-Object. This status defines if the WRITE- or READ-Callbacks (IEC_BACNET_CALLBACK_TYPE used in BACnetServer.RegisterCallback) are called for the specified property of this object. InOut: Scope Name Type Comment Return SetPropertyCallbackAttachment CmpBACnet.IEC_BACNET_STATUS Input ePropertyID CmpBACnet.IEC_BACNET_PROPERTY_ID The id of the property to get its callback status for. xReadCallbackAttached BOOL If the READ-Callback shall be called for the sepcified property of this object, specify TRUE. Else FALSE. xWriteCallbackAttached BOOL If the WRITE-Callback shall be called for the sepcified property of this object, specify TRUE. Else FALSE.
BACnetObjectBase.IsPropertyExistent (METH) ¶ METHOD IsPropertyExistent : BOOL Returns whether the specified BACnet-Property of this BACnet-Object (propID) exists or not. InOut: Scope Name Type Comment Return IsPropertyExistent BOOL Input propID CmpBACnet.IEC_BACNET_PROPERTY_ID The property ID for which the existance shall be determined.
BACnetObjectBase.IsPropertyWriteable (METH) ¶ METHOD IsPropertyWriteable : BOOL Returns whether the specified BACnet-Property of this BACnet-Object (propID) is client side writeable or only client side readable. This access restrictions only hold for client side access and not for the functions used in this FB (i.e. SetPropertyInstance). InOut: Scope Name Type Comment Return IsPropertyWriteable BOOL Input propID CmpBACnet.IEC_BACNET_PROPERTY_ID The property ID for which the writeability shall be determined.
BACnetObjectBase.ObjectName (PROP) ¶ PROPERTY ObjectName : WSTRING(255) BACnet-Object_Name of this BACnet-Object. To set the Object_Name SetObjectName needs to be used to pass a BACnet string type .
BACnetObjectBase.SetObjectName (METH) ¶ METHOD SetObjectName InOut: Scope Name Type Comment Input wStrInput WSTRING(255) The WSTRING value to set Object_Name to. strType CmpBACnet.IEC_BACNET_STRING_TYPE The BACnet string type the WSTRING value is converted to when setting the Object_Name.
BACnetObjectBase.GetPropertyId (METH) ¶ METHOD GetPropertyId : CmpBACnet.IEC_BACNET_PROPERTY_ID Gets the propertId with the given index (0 .. NumberOfProperties-1). Returns IEC_BACNET_PROPERTY_ID._PROP_MAX_SIZE, in case propIdx is out of range or the requested propertID can not be read properly. InOut: Scope Name Type Return GetPropertyId CmpBACnet.IEC_BACNET_PROPERTY_ID Input propIdx DWORD
BACnetObjectBase.NumberOfProperties (PROP) ¶ PROPERTY NumberOfProperties : DWORD Gets the number of properties the object provides.