How to use the node-opcua-types.HistoryReadRequest.schema function in node-opcua-types

To help you get started, we’ve selected a few node-opcua-types examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github node-opcua / node-opcua / packages / node-opcua-service-history / source / imports.ts View on Github external
HistoryUpdateResponse,

    ReadRawModifiedDetails,
    ReadProcessedDetails,
    ReadAtTimeDetails,

    HistoryUpdateType,

    ModificationInfo,
    ReadEventDetails,
    HistoryReadRequestOptions
} from "node-opcua-types";
import { assert } from "node-opcua-assert";
import { HistoryReadRequest } from "node-opcua-types";

assert(HistoryReadRequest.schema.fields[2].name === "timestampsToReturn");
HistoryReadRequest.schema.fields[2].defaultValue = TimestampsToReturn.Neither;
github node-opcua / node-opcua / packages / node-opcua-service-history / source / imports.ts View on Github external
ReadRawModifiedDetails,
    ReadProcessedDetails,
    ReadAtTimeDetails,

    HistoryUpdateType,

    ModificationInfo,
    ReadEventDetails,
    HistoryReadRequestOptions
} from "node-opcua-types";
import { assert } from "node-opcua-assert";
import { HistoryReadRequest } from "node-opcua-types";

assert(HistoryReadRequest.schema.fields[2].name === "timestampsToReturn");
HistoryReadRequest.schema.fields[2].defaultValue = TimestampsToReturn.Neither;