FromBACnetDataTypes ¶ Utilities for getting IEC typed values from BACnet typed data types. FromBACnetBitString (Function) FromBACnetBoolean (Function) FromBACnetDate (Function) FromBACnetDateRange (Function) FromBACnetDateTime (Function) FromBACnetDevObjPropReference (Function) FromBACnetSetpointReference (Function) FromBACnetString (Function) FromBACnetTime (Function) FromBACnetTimeStamp (Function) IsBACnetBACnetDateTimeUnspecified (Function) IsBACnetDateTimeUnspecified (Function)
FromBACnetBitString (FUN) ¶ FUNCTION FromBACnetBitString : STRING Returns a STRING corresponding to the given IEC_BACNET_BIT_STRING (i.e. in the form ‘1011011’). InOut: Scope Name Type Comment Return FromBACnetBitString STRING Input bitStr CmpBACnet.IEC_BACNET_BIT_STRING The BACnet bit string to convert to a STRING.
GetLrealFromContents (FUN) ¶ FUNCTION GetLrealFromContents : LREAL Tries to evaluate property contents as LREAL data type. If the contents are not of apropriate type 0 is returned. InOut: Scope Name Type Comment Return GetLrealFromContents LREAL Input conts CmpBACnet.IEC_BACNET_PROPERTY_CONTENTS The contents to be evaluated as LREAL.
GetObjectIDFromContents (FUN) ¶ FUNCTION GetObjectIDFromContents : CmpBACnet.IEC_BACNET_OBJECT_ID Tries to evaluate property contents as IEC_BACNET_OBJECT_ID data type. If the contents are not of type IEC_BACNET_OBJECT_ID an IEC_BACNET_OBJECT_ID(typ = _OBJ_MAX_SIZE, instNumber = 0) is returned. InOut: Scope Name Type Comment Return GetObjectIDFromContents CmpBACnet.IEC_BACNET_OBJECT_ID Input conts CmpBACnet.IEC_BACNET_PROPERTY_CONTENTS The contents to be evaluated as IEC_BACNET_OBJECT_ID.
GetDateTimeFromContents (FUN) ¶ FUNCTION GetDateTimeFromContents : BACnetDateTime Tries to evaluate property contents as BACnetDateTime data type. If the contents are not of type BACnetDateTime 1970-1-1 00:00 is returned. InOut: Scope Name Type Comment Return GetDateTimeFromContents BACnetDateTime Input conts CmpBACnet.IEC_BACNET_PROPERTY_CONTENTS The contents to be evaluated as BACnetDateTime .
GetDevObjPropReferenceFromContents (FUN) ¶ FUNCTION GetDevObjPropReferenceFromContents : BACnetDevObjPropReference Tries to evaluate property contents as BACnetDevObjPropReference data type. If the contents are not of type BACnetDevObjPropReference 0 is returned. InOut: Scope Name Type Comment Return GetDevObjPropReferenceFromContents BACnetDevObjPropReference Input conts CmpBACnet.IEC_BACNET_PROPERTY_CONTENTS The contents to be evaluated as BACnetDevObjPropReference .
GetRealFromContents (FUN) ¶ FUNCTION GetRealFromContents : REAL Tries to evaluate property contents as REAL data type. If the contents are not of apropriate type 0 is returned. InOut: Scope Name Type Comment Return GetRealFromContents REAL Input conts CmpBACnet.IEC_BACNET_PROPERTY_CONTENTS The contents to be evaluated as LREAL.
GetSetpointReferenceFromContents (FUN) ¶ FUNCTION GetSetpointReferenceFromContents : BACnetSetpointReference Tries to evaluate property contents as BACnetSetpointReference data type. If the contents are not of type BACnetSetpointReference 0 is returned. InOut: Scope Name Type Comment Return GetSetpointReferenceFromContents BACnetSetpointReference Input conts CmpBACnet.IEC_BACNET_PROPERTY_CONTENTS The contents to be evaluated as BACnetSetpointReference .
FromBACnetDateRange (FUN) ¶ FUNCTION FromBACnetDateRange : BACnetDateRange Returns a BACnetDateRange struct corresponding to the given IEC_BACNET_DATE_RANGE. InOut: Scope Name Type Comment Return FromBACnetDateRange BACnetDateRange Input bacDatRng CmpBACnet.IEC_BACNET_DATE_RANGE The BACnet date range to convert to a BACnetDateRange.
FromBACnetDateTime (FUN) ¶ FUNCTION FromBACnetDateTime : BACnetDateTime Returns a BACnetDateTime struct corresponding to the given IEC_BACNET_DATE_TIME. InOut: Scope Name Type Comment Return FromBACnetDateTime BACnetDateTime Input bacDatTim CmpBACnet.IEC_BACNET_DATE_TIME The BACnet date time to convert to a BACnetDateTime.