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.
GetUnsignedFromContents (FUN) ¶ FUNCTION GetUnsignedFromContents : UDINT Tries to evaluate property contents as UDINT data type. If the contents are not of type UDINT 0 is returned. InOut: Scope Name Type Comment Return GetUnsignedFromContents UDINT Input conts CmpBACnet.IEC_BACNET_PROPERTY_CONTENTS The contents to be evaluated as UDINT.
GetWStringFromContents (FUN) ¶ FUNCTION GetWStringFromContents : WSTRING(255) Tries to evaluate property contents as WSTRING data type. If the contents are not of type WSTRING “” is returned. InOut: Scope Name Type Comment Return GetWStringFromContents WSTRING(255) Input conts CmpBACnet.IEC_BACNET_PROPERTY_CONTENTS The contents to be evaluated as DINT.
GetDateFromContents (FUN) ¶ FUNCTION GetDateFromContents : DATE Tries to evaluate property contents as DATE data type. If the contents are not of type DATE 1970-1-1 is returned. InOut: Scope Name Type Comment Return GetDateFromContents DATE Input conts CmpBACnet.IEC_BACNET_PROPERTY_CONTENTS The contents to be evaluated as DATE.
GetDateRangeFromContents (FUN) ¶ FUNCTION GetDateRangeFromContents : BACnetDateRange Tries to evaluate property contents as BACnetDateRange data type. If the contents are not of type BACnetDateRange 1970-1-1 is returned. InOut: Scope Name Type Comment Return GetDateRangeFromContents BACnetDateRange Input conts CmpBACnet.IEC_BACNET_PROPERTY_CONTENTS The contents to be evaluated as BACnetDateRange .