How to use node-opcua-generator - 10 common examples

To help you get started, we’ve selected a few node-opcua-generator 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-types / source / generate.ts View on Github external
async function main() {
    try {
        // await build_generated_folder();
        const filename = path.join(__dirname, "../xmlschemas/Opc.Ua.Types.bsd");
        const generatedTypescriptFilename = path.join(__dirname, "_generated_opcua_types.ts");
        await generate(filename, generatedTypescriptFilename);
    } catch (err) {
        console.log(err);
    }
}
main().then().catch();
github node-opcua / node-opcua / packages / node-opcua-service-node-management / deprecated_generate.js View on Github external
const generator = require("node-opcua-generator");

// node Management service
generator.registerObject("AddNodesItem");
generator.registerObject("AddNodesRequest");

generator.registerObject("AddNodesResult");
generator.registerObject("AddNodesResponse");

generator.registerObject("AddReferencesItem");
generator.registerObject("AddReferencesRequest");
generator.registerObject("AddReferencesResponse");

generator.registerObject("DeleteNodesItem");
generator.registerObject("DeleteNodesRequest");
generator.registerObject("DeleteNodesResponse");

generator.registerObject("DeleteReferencesItem");
generator.registerObject("DeleteReferencesRequest");
generator.registerObject("DeleteReferencesResponse");
github node-opcua / node-opcua / packages / node-opcua-service-history / deprecated_generate.js View on Github external
const generator = require("node-opcua-generator");
require("node-opcua-service-secure-channel");
require("node-opcua-service-filter");

// Historizing service
generator.registerObject("AggregateConfiguration");
generator.registerObject("HistoryReadValueId");
generator.registerObject("HistoryReadRequest");
generator.registerObject("HistoryReadResult");
generator.registerObject("HistoryReadResponse");
generator.registerObject("HistoryReadDetails");
//Xx generator.registerObject("MonitoringFilter");
// history
generator.registerObject("ModificationInfo");
generator.registerObject("HistoryData");
generator.registerObject("HistoryModifiedData");

generator.registerObject("HistoryUpdateResult");
generator.registerObject("HistoryUpdateRequest");
generator.registerObject("HistoryUpdateResponse");

generator.registerObject("ReadRawModifiedDetails");
generator.registerObject("ReadProcessedDetails");
generator.registerObject("ReadAtTimeDetails");
generator.registerObject("ReadEventDetails");
github node-opcua / node-opcua / packages / node-opcua-service-history / deprecated_generate.js View on Github external
const generator = require("node-opcua-generator");
require("node-opcua-service-secure-channel");
require("node-opcua-service-filter");

// Historizing service
generator.registerObject("AggregateConfiguration");
generator.registerObject("HistoryReadValueId");
generator.registerObject("HistoryReadRequest");
generator.registerObject("HistoryReadResult");
generator.registerObject("HistoryReadResponse");
generator.registerObject("HistoryReadDetails");
//Xx generator.registerObject("MonitoringFilter");
// history
generator.registerObject("ModificationInfo");
generator.registerObject("HistoryData");
generator.registerObject("HistoryModifiedData");

generator.registerObject("HistoryUpdateResult");
generator.registerObject("HistoryUpdateRequest");
generator.registerObject("HistoryUpdateResponse");

generator.registerObject("ReadRawModifiedDetails");
generator.registerObject("ReadProcessedDetails");
generator.registerObject("ReadAtTimeDetails");
generator.registerObject("ReadEventDetails");
github node-opcua / node-opcua / packages / node-opcua-service-browse / source / deprecated_generate.js View on Github external
const generator = require("node-opcua-generator");
require("node-opcua-basic-types");
require("node-opcua-variant");


generator.registerObject("ReferenceDescription");
generator.registerObject("ViewDescription");
generator.registerObject("BrowseDescription");
generator.registerObject("BrowseResult");


generator.registerObject("BrowseRequest");
generator.registerObject("BrowseResponse");
generator.registerObject("BrowseNextRequest");
generator.registerObject("BrowseNextResponse");
github node-opcua / node-opcua / packages / node-opcua-data-model / generate.js View on Github external
const generator = require("node-opcua-generator");
require("node-opcua-basic-types");

generator.registerObject("LocalizedText");
generator.registerObject("QualifiedName");
generator.registerObject("DiagnosticInfo");
generator.registerObject("EnumValueType");
generator.registerObject("TimeZone");
github node-opcua / node-opcua / packages / node-opcua-data-model / generate.js View on Github external
const generator = require("node-opcua-generator");
require("node-opcua-basic-types");

generator.registerObject("LocalizedText");
generator.registerObject("QualifiedName");
generator.registerObject("DiagnosticInfo");
generator.registerObject("EnumValueType");
generator.registerObject("TimeZone");
github node-opcua / node-opcua / packages / node-opcua-service-endpoints / deprecated_generate.js View on Github external
const generator = require("node-opcua-generator");

require("node-opcua-data-model");


generator.registerObject("UserTokenPolicy");

generator.registerObject("ApplicationDescription");
generator.registerObject("EndpointDescription");

generator.registerObject("GetEndpointsRequest");
generator.registerObject("GetEndpointsResponse");
github node-opcua / node-opcua / packages / node-opcua-service-write / deprecated_generate.js View on Github external
const generator = require("node-opcua-generator");

generator.registerObject("WriteValue");
generator.registerObject("WriteRequest");
generator.registerObject("WriteResponse");
github node-opcua / node-opcua / packages / node-opcua-service-secure-channel / deprecated_generate.js View on Github external
generator.registerObject("AsymmetricAlgorithmSecurityHeader");
generator.registerObject("SymmetricAlgorithmSecurityHeader");
generator.registerObject("SequenceHeader");
generator.registerObject("ErrorMessage");


//xx generator.registerObject("DiagnosticInfo");
generator.registerObject("RequestHeader");
generator.registerObject("ResponseHeader");

generator.registerObject("ChannelSecurityToken");
generator.registerObject("SignatureData");

generator.registerObject("OpenSecureChannelRequest");
generator.registerObject("OpenSecureChannelResponse");
generator.registerObject("CloseSecureChannelRequest");
generator.registerObject("CloseSecureChannelResponse");
generator.registerObject("ServiceFault");

node-opcua-generator

pure nodejs OPCUA SDK - module generator

MIT
Latest version published 1 month ago

Package Health Score

83 / 100
Full package analysis