SetPropertyAgain (FUN) ¶ FUNCTION SetPropertyAgain : CmpBACnet.IEC_BACNET_STATUS Just gets a properties value and sets it again, to initiate any possible callbacks and hooks when writing the specified property. InOut: Scope Name Type Comment Return SetPropertyAgain CmpBACnet.IEC_BACNET_STATUS Input itfBACnetObj IBACnetObjectBase The BACnet object to use for getting and setting the property. propID CmpBACnet.IEC_BACNET_PROPERTY_ID The ID of the property to first get and then set with the gotten value.
FromBACnetContents ¶ Utilities for getting IEC typed values from BACnet-Property-Content form data. GetBitStringFromContents (Function) GetBoolFromContents (Function) GetDateFromContents (Function) GetDateRangeFromContents (Function) GetDateTimeFromContents (Function) GetDevObjPropReferenceFromContents (Function) GetLrealFromContents (Function) GetObjectIDFromContents (Function) GetRealFromContents (Function) GetSetpointReferenceFromContents (Function) GetSignedFromContents (Function) GetTimeFromContents (Function) GetUnsignedFromContents (Function) GetWStringFromContents (Function)
GetBACnetDataTypeSize (FUN) ¶ FUNCTION GetBACnetDataTypeSize : UDINT Returns the size of the IEC-Struct corresponding to a specific BACnet-Data-Type. InOut: Scope Name Type Comment Return GetBACnetDataTypeSize UDINT Input dataID CmpBACnet.IEC_BACNET_DATA_TYPE The BACnet data type to get its size for.
GetBACnetPropertyDataType (FUN) ¶ FUNCTION GetBACnetPropertyDataType : CmpBACnet.IEC_BACNET_DATA_TYPE Returns the BACnet-Data-Type for a specific BACnet-Object-Property. Note Data types may depend on the object type (i.e. the Present_Value of a Binary Value object is different to the Present_Value of a Analog Value object). InOut: Scope Name Type Comment Return GetBACnetPropertyDataType CmpBACnet.IEC_BACNET_DATA_TYPE Input objTyp CmpBACnet.IEC_BACNET_OBJECT_TYPE The object type having the desired property. propID CmpBACnet.IEC_BACNET_PROPERTY_ID The property ID of the property to determine its BACnet data type for.
IsBACnetObjectAMEVCreatable (FUN) ¶ FUNCTION IsBACnetObjectAMEVCreatable : BOOL According to AMEV AS-B specifications return whether the given objer not. InOut: Scope Name Type Comment Return IsBACnetObjectAMEVCreatable BOOL Input objType CmpBACnet.IEC_BACNET_OBJECT_TYPE The object type to check for AMEV AS-B availability.
IsBACnetPropertyAMEVASBWritable (FUN) ¶ FUNCTION IsBACnetPropertyAMEVASBWritable : BOOL Is the Property writable following a given PICs (following AMEV-AS-B). InOut: Scope Name Type Comment Return IsBACnetPropertyAMEVASBWritable BOOL Input objTyp CmpBACnet.IEC_BACNET_OBJECT_TYPE The object type to check. propID CmpBACnet.IEC_BACNET_PROPERTY_ID The property ID within the given object type to check.
BACnetDateTimeCmp (FUN) ¶ FUNCTION BACnetDateTimeCmp : INT Compares two IEC_BACNET_DATE_TIME Return 0 -> dt1=dt2, -1 -> dt1<dt2, 1 -> dt1>dt2 InOut: Scope Name Type Return BACnetDateTimeCmp INT Inout dt1 CmpBACnet.IEC_BACNET_DATE_TIME dt2 CmpBACnet.IEC_BACNET_DATE_TIME
BACnetProperties ¶ Utilities for dealing with BACnet objects and their properties. GetBACnetDataTypeSize (Function) GetBACnetPropertyDataType (Function) InitializeEmptyPropertyInstance (Function) InitializePropertyInstance (Function) IsBACnetObjectAMEVCreatable (Function) IsBACnetPropertyAMEVASBWritable (Function) SetPropertyAgain (Function)
GetBitStringFromContents (FUN) ¶ FUNCTION GetBitStringFromContents : STRING Tries to evaluate property contents as which are Bit-Strings as STRING data type. If the contents can not be interpretated InOut: Scope Name Type Comment Return GetBitStringFromContents STRING Input conts CmpBACnet.IEC_BACNET_PROPERTY_CONTENTS The contents to be evaluated as Bir-String STRING.
GetBoolFromContents (FUN) ¶ FUNCTION GetBoolFromContents : BOOL Tries to evaluate property contents as BOOL data type. If the contents are not of type BOOL FALSE is returned. InOut: Scope Name Type Comment Return GetBoolFromContents BOOL Input conts CmpBACnet.IEC_BACNET_PROPERTY_CONTENTS The contents to be evaluated as BOOL.