@bacnet-js/client
    Preparing search index...

    Interface LogRecord

    LogRecord per ASHRAE 135 §12.25. Represents a single log record from a TREND_LOG. Can be either a normal data record, a special log-status record, or a time-change record.

    interface LogRecord {
        isLogStatus?: boolean;
        isTimeChange?: boolean;
        logStatus?: LogStatusFlags;
        status?: LogRecordStatusFlags;
        timestamp: Date;
        value: LogRecordValue;
    }
    Index

    Properties

    isLogStatus?: boolean

    True if this is a special log-status record (log-disabled, buffer-purged, log-interrupted). Undefined for normal data records and time-change records.

    isTimeChange?: boolean

    True if this is a time-change record (clock adjustment). Per ASHRAE 135 §12.25, time-change records contain a REAL value representing the number of seconds the clock changed (positive or negative). Undefined for normal data records and log-status records.

    logStatus?: LogStatusFlags

    Present only for log-status records. Indicates which special status applies.

    Present only when status flags are encoded. Per ASHRAE 135 §12.25, status flags are optional for ALL log record types.

    timestamp: Date

    Timestamp when the record was logged

    The logged value. For normal records, this is the actual data (number, boolean, etc.). For log-status records, this is a BACNetBitString. For time-change records, this is the number of seconds the clock changed (REAL).