node-opcua-data-value 2.111.0 → 2.113.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/datavalue.js +6 -6
- package/package.json +11 -11
- package/source/datavalue.ts +6 -6
package/dist/datavalue.js
CHANGED
|
@@ -189,12 +189,12 @@ const schemaDataValue = (0, node_opcua_factory_1.buildStructuredType)({
|
|
|
189
189
|
baseType: "BaseUAObject",
|
|
190
190
|
name: "DataValue",
|
|
191
191
|
fields: [
|
|
192
|
-
{ name: "
|
|
193
|
-
{ name: "
|
|
194
|
-
{ name: "
|
|
195
|
-
{ name: "
|
|
196
|
-
{ name: "
|
|
197
|
-
{ name: "
|
|
192
|
+
{ name: "Value", fieldType: "Variant", defaultValue: null },
|
|
193
|
+
{ name: "StatusCode", fieldType: "StatusCode", defaultValue: node_opcua_status_code_1.StatusCodes.Good },
|
|
194
|
+
{ name: "SourceTimestamp", fieldType: "DateTime", defaultValue: null },
|
|
195
|
+
{ name: "SourcePicoseconds", fieldType: "UInt16", defaultValue: 0 },
|
|
196
|
+
{ name: "ServerTimestamp", fieldType: "DateTime", defaultValue: null },
|
|
197
|
+
{ name: "ServerPicoseconds", fieldType: "UInt16", defaultValue: 0 }
|
|
198
198
|
]
|
|
199
199
|
});
|
|
200
200
|
function toMicroNanoPico(picoseconds) {
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "node-opcua-data-value",
|
|
3
3
|
"main": "./dist/index.js",
|
|
4
4
|
"types": "./dist/index.d.ts",
|
|
5
|
-
"version": "2.
|
|
5
|
+
"version": "2.113.0",
|
|
6
6
|
"description": "pure nodejs OPCUA SDK - module data-value",
|
|
7
7
|
"scripts": {
|
|
8
8
|
"build": "tsc -b",
|
|
@@ -13,20 +13,20 @@
|
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
15
|
"node-opcua-assert": "2.105.0",
|
|
16
|
-
"node-opcua-basic-types": "2.
|
|
16
|
+
"node-opcua-basic-types": "2.113.0",
|
|
17
17
|
"node-opcua-binary-stream": "2.110.0",
|
|
18
|
-
"node-opcua-data-model": "2.
|
|
19
|
-
"node-opcua-date-time": "2.
|
|
18
|
+
"node-opcua-data-model": "2.113.0",
|
|
19
|
+
"node-opcua-date-time": "2.113.0",
|
|
20
20
|
"node-opcua-enum": "2.110.0",
|
|
21
|
-
"node-opcua-factory": "2.
|
|
21
|
+
"node-opcua-factory": "2.113.0",
|
|
22
22
|
"node-opcua-status-code": "2.110.0",
|
|
23
|
-
"node-opcua-variant": "2.
|
|
23
|
+
"node-opcua-variant": "2.113.0"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"node-opcua-debug": "2.
|
|
27
|
-
"node-opcua-extension-object": "2.
|
|
28
|
-
"node-opcua-numeric-range": "2.
|
|
29
|
-
"node-opcua-packet-analyzer": "2.
|
|
26
|
+
"node-opcua-debug": "2.113.0",
|
|
27
|
+
"node-opcua-extension-object": "2.113.0",
|
|
28
|
+
"node-opcua-numeric-range": "2.113.0",
|
|
29
|
+
"node-opcua-packet-analyzer": "2.113.0",
|
|
30
30
|
"should": "^13.2.3"
|
|
31
31
|
},
|
|
32
32
|
"author": "Etienne Rossignon",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"internet of things"
|
|
45
45
|
],
|
|
46
46
|
"homepage": "http://node-opcua.github.io/",
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "36db335391fedd39726990a1b37f7768da16466a",
|
|
48
48
|
"files": [
|
|
49
49
|
"dist",
|
|
50
50
|
"source"
|
package/source/datavalue.ts
CHANGED
|
@@ -219,12 +219,12 @@ const schemaDataValue: IStructuredTypeSchema = buildStructuredType({
|
|
|
219
219
|
name: "DataValue",
|
|
220
220
|
|
|
221
221
|
fields: [
|
|
222
|
-
{ name: "
|
|
223
|
-
{ name: "
|
|
224
|
-
{ name: "
|
|
225
|
-
{ name: "
|
|
226
|
-
{ name: "
|
|
227
|
-
{ name: "
|
|
222
|
+
{ name: "Value", fieldType: "Variant", defaultValue: null },
|
|
223
|
+
{ name: "StatusCode", fieldType: "StatusCode", defaultValue: StatusCodes.Good },
|
|
224
|
+
{ name: "SourceTimestamp", fieldType: "DateTime", defaultValue: null },
|
|
225
|
+
{ name: "SourcePicoseconds", fieldType: "UInt16", defaultValue: 0 },
|
|
226
|
+
{ name: "ServerTimestamp", fieldType: "DateTime", defaultValue: null },
|
|
227
|
+
{ name: "ServerPicoseconds", fieldType: "UInt16", defaultValue: 0 }
|
|
228
228
|
]
|
|
229
229
|
});
|
|
230
230
|
|