How to use the node-opcua-data-value.TimestampsToReturn.Neither function in node-opcua-data-value

To help you get started, we’ve selected a few node-opcua-data-value 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-client / source / client_monitored_item.ts View on Github external
public static create(
        subscription: ClientSubscription,
        itemToMonitor: ReadValueIdOptions,
        monitoringParameters: MonitoringParametersOptions,
        timestampsToReturn: TimestampsToReturn = TimestampsToReturn.Neither
    ): ClientMonitoredItem {
        /* istanbul ignore next*/
        throw new Error("unimplemented");
    }
github node-opcua / node-opcua / packages / node-opcua-service-history / deprecated_schemas / HistoryReadRequest_schema.js View on Github external
require("node-opcua-extension-object");
require("node-opcua-service-secure-channel");
const TimestampsToReturn = require("node-opcua-data-value").TimestampsToReturn;


const HistoryReadRequest_Schema = {
    name: "HistoryReadRequest",
    fields: [
        {   name: "requestHeader", fieldType: "RequestHeader"},

        {   name: "historyReadDetails", fieldType: "ExtensionObject" /* in fact a "HistoryReadDetails" */,
            documentation: "Maximum age of the value to be read in milliseconds"
        },
        {   name: "timestampsToReturn", fieldType: "TimestampsToReturn",
            documentation: "An enumeration that specifies the Timestamps to be returned for each requested Variable Value Attribute.",
            defaultValue: TimestampsToReturn.Neither
        },
        {
            name: "releaseContinuationPoints", fieldType: "Boolean"
        },
        { name: "nodesToRead", isArray: true, fieldType: "HistoryReadValueId",
            documentation: "List of Nodes and their Attributes to read. For each entry in this list, a StatusCode is " +
            "returned, and if it indicates success, the Attribute Value is also returned."
        }
    ]
};
exports.HistoryReadRequest_Schema = HistoryReadRequest_Schema;
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;