interface MonitoredItemOptions {
    clientHandle: number;
    discardOldest: boolean;
    filter: null | ExtensionObject;
    itemToMonitor?: ReadValueIdOptions;
    monitoredItemId: number;
    monitoringMode: MonitoringMode;
    queueSize: number;
    samplingInterval: number;
    timestampsToReturn?: TimestampsToReturn;
    get schema(): IStructuredTypeSchema;
    applyOnAllFields<T>(func: Func1<T>, data: T): void;
    binaryStoreSize(): number;
    clone(): any;
    decode(stream: BinaryStream): void;
    decodeDebug(stream: BinaryStream, options: DecodeDebugOptions): void;
    encode(stream: OutputBinaryStream): void;
    explore(): string;
    isValid(): boolean;
    toJSON(): any;
    toString(...args: any[]): string;
}

Hierarchy (view full)

Properties

clientHandle: number

the client handle

discardOldest: boolean

if discardOldest === true, older items are removed from the queue when queue overflows

filter: null | ExtensionObject
itemToMonitor?: ReadValueIdOptions
monitoredItemId: number

the monitoredItem Id assigned by the server to this monitoredItem.

monitoringMode: MonitoringMode
queueSize: number

the size of the queue.

samplingInterval: number

the monitored item sampling interval ..

timestampsToReturn?: TimestampsToReturn

Accessors

  • get schema(): IStructuredTypeSchema
  • Returns IStructuredTypeSchema

Methods

  • Type Parameters

    • T

    Parameters

    • func: Func1<T>
    • data: T

    Returns void

  • Calculate the required size to store this object in a binary stream.

    Returns number

  • Returns any

  • Decode the object from the binary stream.

    Parameters

    Returns void

  • Parameters

    Returns void

  • Encode the object to the binary stream.

    Parameters

    • stream: OutputBinaryStream

    Returns void

  • Returns string

  • verify that all object attributes values are valid according to schema

    Returns boolean

  • Returns any

  • Parameters

    • Rest...args: any[]

    Returns string