How to use the node-opcua-types.MonitoringParameters.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-subscription / source / index.ts View on Github external
ContentFilterResult, ContentFilterElementResult,
    EventFieldList, DataChangeFilter, AggregateFilter,
    SetTriggeringRequest, SetTriggeringResponse, SetTriggeringRequestOptions,
    TransferResult, TransferSubscriptionsRequest, TransferSubscriptionsRequestOptions,
    TransferSubscriptionsResponse

} from "node-opcua-types";

export * from "./deadband_checker";
import { assert } from "node-opcua-assert";
import { MonitoringParameters, PublishResponse } from "node-opcua-types";

assert(PublishResponse.schema.fields[1].name === "subscriptionId");
PublishResponse.schema.fields[1].defaultValue = 0xFFFFFFFF;

assert(MonitoringParameters.schema.fields[0].name === "clientHandle");
MonitoringParameters.schema.fields[0].defaultValue = 0xFFFFFFFF;
github node-opcua / node-opcua / packages / node-opcua-service-subscription / source / index.ts View on Github external
EventFieldList, DataChangeFilter, AggregateFilter,
    SetTriggeringRequest, SetTriggeringResponse, SetTriggeringRequestOptions,
    TransferResult, TransferSubscriptionsRequest, TransferSubscriptionsRequestOptions,
    TransferSubscriptionsResponse

} from "node-opcua-types";

export * from "./deadband_checker";
import { assert } from "node-opcua-assert";
import { MonitoringParameters, PublishResponse } from "node-opcua-types";

assert(PublishResponse.schema.fields[1].name === "subscriptionId");
PublishResponse.schema.fields[1].defaultValue = 0xFFFFFFFF;

assert(MonitoringParameters.schema.fields[0].name === "clientHandle");
MonitoringParameters.schema.fields[0].defaultValue = 0xFFFFFFFF;