PERSISTENT_PDATA_HEADER (STRUCT) ¶ TYPE PERSISTENT_PDATA_HEADER : STRUCT structure which contains PERSISTENT data header information for each object as header in the data file… InOut: Name Type Comment magicCode UDINT should be PDATA_HEADER_MAGIC version WORD version field for future use headerSize WORD size of the header structure entrySize WORD size of (W_PDATA_ENTRY) objectID CmpBACnet.IEC_BACNET_OBJECT_ID the object ID deviceId CmpBACnet.IEC_BACNET_UNSIGNED device of object clientCreated BOOL was client created object
Persistence ¶ PERSISTENT_DATA_BUFFER (Struct) PERSISTENT_INDEX_HEADER (Struct) PERSISTENT_PDATA_ENTRY (Struct)
PERSISTENT_DATA_BUFFER (STRUCT) ¶ TYPE PERSISTENT_DATA_BUFFER : STRUCT structure which contains the data for the current object InOut: Name Type Comment sPathFileName FileNameString the file name hFile RTS_IEC_HANDLE the data file handle dumpStatus CmpBACnet.IEC_BACNET_STATUS the dump error status objectHasPersistentProperties BOOL object has persistent properties tHdr PERSISTENT_PDATA_HEADER the object header tData PERSISTENT_PDATA_ENTRY the data header
PERSISTENT_INDEX_HEADER (STRUCT) ¶ TYPE PERSISTENT_INDEX_HEADER : STRUCT structure which contains PERSISTENT index header information InOut: Name Type Initial Comment magicCode UDINT Constants.PDATA_HEADER_MAGIC should be PDATA_HEADER_MAGIC version WORD Constants.PDATA_HEADER_VERSION version field for future use numBackupFiles UDINT number of persistent objects uliDateTime ULINT timestamp in milliseconds since 1.1.1970 00:00:00.000
PERSISTENT_PDATA_ENTRY (STRUCT) ¶ TYPE PERSISTENT_PDATA_ENTRY : STRUCT structure which contains persistent property data information InOut: Name Type Comment magicCode CmpBACnet.IEC_BACNET_UNSIGNED should be PDATA_PROPPER_MAGIC nPropertyId CmpBACnet.IEC_BACNET_PROPERTY_ID the PROPERTY identifier nDataLength CmpBACnet.IEC_BACNET_UNSIGNED the size of the ASN1 encoded data
PropertyConfiguration ¶ PropertyConfigurationObjectPropertyPair (Struct)
Directory.SetDir (METH) ¶ METHOD SetDir : RTS_IEC_RESULT Sets the actual dir and open it for reading. InOut: Scope Name Type Return SetDir RTS_IEC_RESULT Input dir FileNameString
Directory.ls_log (METH) ¶ METHOD ls_log : BOOL List all dir elements to logger. InOut: Scope Name Type Return ls_log BOOL
GetLocalTime (FUN) ¶ FUNCTION GetLocalTime : BACnet.BACnetTimeStamp InOut: Scope Name Type Return GetLocalTime BACnet.BACnetTimeStamp Input tz Util.TimeZone Output eErrorID Util.ERROR
GetSystemTimeZone (FUN) ¶ FUNCTION GetSystemTimeZone : Util.ERROR Determines the time zone set for the current controller and fills the passed structure with the corresponding data. See: tzTimeZone in |GetLocalDateTime| InOut: Scope Name Type Return GetSystemTimeZone Util.ERROR Inout tzTimeZone TimeZone