node-opcua-factory
Advanced tools
Comparing version 2.5.0-alpha.4 to 2.5.0-alpha.5
@@ -0,0 +0,0 @@ /** |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
//# sourceMappingURL=constructor_type.js.map |
@@ -0,0 +0,0 @@ import { ExpandedNodeId, NodeId } from "node-opcua-nodeid"; |
@@ -271,9 +271,19 @@ "use strict"; | ||
const schema = dataFactory.getStructuredTypeSchema(structureTypeName); | ||
write("structureTypeName =", structureTypeName); | ||
if (!dataFactory.findConstructorForDataType(schema.dataTypeNodeId)) { | ||
write(" ( No constructor for " + schema.name + " " + schema.dataTypeNodeId.toString()); | ||
} | ||
if (dataFactory.hasConstructor(schema.encodingDefaultBinary)) { | ||
throw new Error("Not in Binary Encoding Map!!!!!"); | ||
if (!schema.encodingDefaultBinary) { | ||
write(" (Schema has no encoding defaultBinary )"); | ||
} | ||
write("structureTypeName =", structureTypeName); | ||
else { | ||
if (dataFactory.hasConstructor(schema.encodingDefaultBinary)) { | ||
console.log("schema", schema.name); | ||
console.log("schema", schema.dataTypeNodeId.toString()); | ||
console.log("schema", schema.encodingDefaultBinary ? schema.encodingDefaultBinary.toString() : " "); | ||
console.log("schema", schema.encodingDefaultXml ? schema.encodingDefaultXml.toString() : " "); | ||
// return; | ||
// throw new Error("Not in Binary Encoding Map!!!!! " + schema.encodingDefaultBinary); | ||
} | ||
} | ||
dumpSchema(schema, write); | ||
@@ -280,0 +290,0 @@ } |
@@ -0,0 +0,0 @@ import { BinaryStream, OutputBinaryStream } from "node-opcua-binary-stream"; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { BinaryStream, OutputBinaryStream } from "node-opcua-binary-stream"; |
@@ -0,0 +0,0 @@ "use strict"; |
import { ConstructorFunc } from "./constructor_type"; | ||
export declare function registerSpecialVariantEncoder(constructor: ConstructorFunc): void; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { BinaryStream, OutputBinaryStream } from "node-opcua-binary-stream"; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { BinaryStream, OutputBinaryStream } from "node-opcua-binary-stream"; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ "use strict"; |
export declare function generate_new_id(): number; | ||
export declare function next_available_id(): number; | ||
export declare function is_internal_id(value: number): boolean; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { FieldType, StructuredTypeField } from "./types"; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { FieldType, StructuredTypeOptions, TypeSchemaBase } from "./types"; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { BinaryStream, OutputBinaryStream } from "node-opcua-binary-stream"; |
@@ -0,0 +0,0 @@ "use strict"; |
{ | ||
"name": "node-opcua-factory", | ||
"version": "2.5.0-alpha.4", | ||
"version": "2.5.0-alpha.5", | ||
"description": "pure nodejs OPCUA SDK - module -factory", | ||
@@ -40,3 +40,3 @@ "main": "./dist/index.js", | ||
"homepage": "http://node-opcua.github.io/", | ||
"gitHead": "67068530aea80ae818cd8ee05be517194e706523" | ||
"gitHead": "07dcdd8e8c7f2b55544c6e23023093e35674829c" | ||
} |
@@ -0,0 +0,0 @@ /** |
@@ -308,9 +308,20 @@ /** | ||
write("structureTypeName =", structureTypeName); | ||
if (!dataFactory.findConstructorForDataType(schema.dataTypeNodeId)) { | ||
write(" ( No constructor for " + schema.name + " " + schema.dataTypeNodeId.toString()); | ||
} | ||
if (dataFactory.hasConstructor(schema.encodingDefaultBinary!)) { | ||
throw new Error("Not in Binary Encoding Map!!!!!"); | ||
if (!schema.encodingDefaultBinary) { | ||
write(" (Schema has no encoding defaultBinary )"); | ||
} else { | ||
if (dataFactory.hasConstructor(schema.encodingDefaultBinary)) { | ||
console.log("schema", schema.name); | ||
console.log("schema", schema.dataTypeNodeId.toString()); | ||
console.log("schema", schema.encodingDefaultBinary ? schema.encodingDefaultBinary.toString() : " "); | ||
console.log("schema", schema.encodingDefaultXml ? schema.encodingDefaultXml.toString() : " "); | ||
// return; | ||
// throw new Error("Not in Binary Encoding Map!!!!! " + schema.encodingDefaultBinary); | ||
} | ||
} | ||
write("structureTypeName =", structureTypeName); | ||
dumpSchema(schema, write); | ||
@@ -317,0 +328,0 @@ } |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ /** |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
218384
4041