node-opcua-service-subscription 2.178.0 → 2.179.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/deadband_checker.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +31 -31
- package/dist/index.js.map +1 -1
- package/package.json +12 -12
- package/source/deadband_checker.ts +1 -1
- package/source/index.ts +60 -28
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deadband_checker.js","sourceRoot":"","sources":["../source/deadband_checker.ts"],"names":[],"mappings":";;;AAiIA,sDAGC;AAKD,8DAGC;AAMD,4DA2BC;AA7KD;;GAEG;AACH,yDAA2C;AAE3C,2DAA8E;AAE9E,IAAY,YAKX;AALD,WAAY,YAAY;IACpB,+CAAW,CAAA;IACX,uDAAe,CAAA;IACf,qDAAc,CAAA;IACd,wDAAgB,CAAA;AACpB,CAAC,EALW,YAAY,4BAAZ,YAAY,QAKvB;AASD;;GAEG;AACH,SAAS,wBAAwB,CAAC,MAAkB,EAAE,MAAkB,EAAE,QAAkB,EAAE,gBAAwB;IAClH,IAAI,
|
|
1
|
+
{"version":3,"file":"deadband_checker.js","sourceRoot":"","sources":["../source/deadband_checker.ts"],"names":[],"mappings":";;;AAiIA,sDAGC;AAKD,8DAGC;AAMD,4DA2BC;AA7KD;;GAEG;AACH,yDAA2C;AAE3C,2DAA8E;AAE9E,IAAY,YAKX;AALD,WAAY,YAAY;IACpB,+CAAW,CAAA;IACX,uDAAe,CAAA;IACf,qDAAc,CAAA;IACd,wDAAgB,CAAA;AACpB,CAAC,EALW,YAAY,4BAAZ,YAAY,QAKvB;AASD;;GAEG;AACH,SAAS,wBAAwB,CAAC,MAAkB,EAAE,MAAkB,EAAE,QAAkB,EAAE,gBAAwB;IAClH,IAAI,IAAY,CAAC;IACjB,IAAI,QAAQ,KAAK,6BAAQ,CAAC,MAAM,IAAI,QAAQ,KAAK,6BAAQ,CAAC,KAAK,EAAE,CAAC;QA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AM,EAAC,oBAAoB,IAAI,CAAC,IAAI,oBAAoB,IAAI,GAAG,CAAC,CAAC;IAEjE,MAAM,UAAU,GAAG,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,IAAI,GAAG,KAAK,CAAC,GAAG,CAAC,CAAC;IACpD,MAAM,qBAAqB,GAAG,CAAC,oBAAoB,GAAG,KAAK,CAAC,GAAG,UAAU,CAAC;IAE1E,2EAA2E;IAC3E,mBAAmB;IACnB,IAAI;IAEJ,OAAO,yBAAyB,CAAC,QAAQ,EAAE,QAAQ,EAAE,qBAAqB,CAAC,CAAC;AAChF,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @module node-opcua-service-subscription
|
|
3
3
|
*/
|
|
4
|
-
export {
|
|
4
|
+
export { AggregateFilter, ContentFilterElementResult, ContentFilterResult, CreateMonitoredItemsRequest, CreateMonitoredItemsRequestOptions, CreateMonitoredItemsResponse, CreateSubscriptionRequest, CreateSubscriptionRequestOptions, CreateSubscriptionResponse, DataChangeFilter, DataChangeNotification, DataChangeTrigger, DeleteMonitoredItemsRequest, DeleteMonitoredItemsRequestOptions, DeleteMonitoredItemsResponse, DeleteSubscriptionsRequest, DeleteSubscriptionsRequestOptions, DeleteSubscriptionsResponse, EventFieldList, EventFilterResult, EventNotificationList, ModifyMonitoredItemsRequest, ModifyMonitoredItemsRequestOptions, ModifyMonitoredItemsResponse, ModifySubscriptionRequest, ModifySubscriptionRequestOptions, ModifySubscriptionResponse, MonitoredItemCreateRequest, MonitoredItemCreateRequestOptions, MonitoredItemCreateResult, MonitoredItemModifyRequest, MonitoredItemModifyResult, MonitoredItemNotification, MonitoringMode, MonitoringParameters, MonitoringParametersOptions, NotificationData, NotificationMessage, PublishRequest, PublishRequestOptions, PublishResponse, PublishResponseOptions, RepublishRequest, RepublishRequestOptions, RepublishResponse, RepublishResponseOptions, SetMonitoringModeRequest, SetMonitoringModeRequestOptions, SetMonitoringModeResponse, SetPublishingModeRequest, SetPublishingModeRequestOptions, SetPublishingModeResponse, SetTriggeringRequest, SetTriggeringRequestOptions, SetTriggeringResponse, StatusChangeNotification, SubscriptionAcknowledgement, TransferResult, TransferSubscriptionsRequest, TransferSubscriptionsRequestOptions, TransferSubscriptionsResponse } from "node-opcua-types";
|
|
5
5
|
export * from "./deadband_checker";
|
package/dist/index.js
CHANGED
|
@@ -14,53 +14,53 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
exports.TransferSubscriptionsResponse = exports.TransferSubscriptionsRequest = exports.TransferResult = exports.
|
|
17
|
+
exports.TransferSubscriptionsResponse = exports.TransferSubscriptionsRequest = exports.TransferResult = exports.SubscriptionAcknowledgement = exports.StatusChangeNotification = exports.SetTriggeringResponse = exports.SetTriggeringRequest = exports.SetPublishingModeResponse = exports.SetPublishingModeRequest = exports.SetMonitoringModeResponse = exports.SetMonitoringModeRequest = exports.RepublishResponse = exports.RepublishRequest = exports.PublishResponse = exports.PublishRequest = exports.NotificationMessage = exports.NotificationData = exports.MonitoringParameters = exports.MonitoringMode = exports.MonitoredItemNotification = exports.MonitoredItemModifyResult = exports.MonitoredItemModifyRequest = exports.MonitoredItemCreateResult = exports.MonitoredItemCreateRequest = exports.ModifySubscriptionResponse = exports.ModifySubscriptionRequest = exports.ModifyMonitoredItemsResponse = exports.ModifyMonitoredItemsRequest = exports.EventNotificationList = exports.EventFilterResult = exports.EventFieldList = exports.DeleteSubscriptionsResponse = exports.DeleteSubscriptionsRequest = exports.DeleteMonitoredItemsResponse = exports.DeleteMonitoredItemsRequest = exports.DataChangeTrigger = exports.DataChangeNotification = exports.DataChangeFilter = exports.CreateSubscriptionResponse = exports.CreateSubscriptionRequest = exports.CreateMonitoredItemsResponse = exports.CreateMonitoredItemsRequest = exports.ContentFilterResult = exports.ContentFilterElementResult = exports.AggregateFilter = void 0;
|
|
18
18
|
/**
|
|
19
19
|
* @module node-opcua-service-subscription
|
|
20
20
|
*/
|
|
21
21
|
var node_opcua_types_1 = require("node-opcua-types");
|
|
22
|
-
Object.defineProperty(exports, "
|
|
23
|
-
Object.defineProperty(exports, "
|
|
24
|
-
Object.defineProperty(exports, "
|
|
22
|
+
Object.defineProperty(exports, "AggregateFilter", { enumerable: true, get: function () { return node_opcua_types_1.AggregateFilter; } });
|
|
23
|
+
Object.defineProperty(exports, "ContentFilterElementResult", { enumerable: true, get: function () { return node_opcua_types_1.ContentFilterElementResult; } });
|
|
24
|
+
Object.defineProperty(exports, "ContentFilterResult", { enumerable: true, get: function () { return node_opcua_types_1.ContentFilterResult; } });
|
|
25
|
+
Object.defineProperty(exports, "CreateMonitoredItemsRequest", { enumerable: true, get: function () { return node_opcua_types_1.CreateMonitoredItemsRequest; } });
|
|
26
|
+
Object.defineProperty(exports, "CreateMonitoredItemsResponse", { enumerable: true, get: function () { return node_opcua_types_1.CreateMonitoredItemsResponse; } });
|
|
25
27
|
Object.defineProperty(exports, "CreateSubscriptionRequest", { enumerable: true, get: function () { return node_opcua_types_1.CreateSubscriptionRequest; } });
|
|
26
28
|
Object.defineProperty(exports, "CreateSubscriptionResponse", { enumerable: true, get: function () { return node_opcua_types_1.CreateSubscriptionResponse; } });
|
|
29
|
+
Object.defineProperty(exports, "DataChangeFilter", { enumerable: true, get: function () { return node_opcua_types_1.DataChangeFilter; } });
|
|
30
|
+
Object.defineProperty(exports, "DataChangeNotification", { enumerable: true, get: function () { return node_opcua_types_1.DataChangeNotification; } });
|
|
31
|
+
Object.defineProperty(exports, "DataChangeTrigger", { enumerable: true, get: function () { return node_opcua_types_1.DataChangeTrigger; } });
|
|
32
|
+
Object.defineProperty(exports, "DeleteMonitoredItemsRequest", { enumerable: true, get: function () { return node_opcua_types_1.DeleteMonitoredItemsRequest; } });
|
|
33
|
+
Object.defineProperty(exports, "DeleteMonitoredItemsResponse", { enumerable: true, get: function () { return node_opcua_types_1.DeleteMonitoredItemsResponse; } });
|
|
34
|
+
Object.defineProperty(exports, "DeleteSubscriptionsRequest", { enumerable: true, get: function () { return node_opcua_types_1.DeleteSubscriptionsRequest; } });
|
|
35
|
+
Object.defineProperty(exports, "DeleteSubscriptionsResponse", { enumerable: true, get: function () { return node_opcua_types_1.DeleteSubscriptionsResponse; } });
|
|
36
|
+
Object.defineProperty(exports, "EventFieldList", { enumerable: true, get: function () { return node_opcua_types_1.EventFieldList; } });
|
|
37
|
+
Object.defineProperty(exports, "EventFilterResult", { enumerable: true, get: function () { return node_opcua_types_1.EventFilterResult; } });
|
|
38
|
+
Object.defineProperty(exports, "EventNotificationList", { enumerable: true, get: function () { return node_opcua_types_1.EventNotificationList; } });
|
|
39
|
+
Object.defineProperty(exports, "ModifyMonitoredItemsRequest", { enumerable: true, get: function () { return node_opcua_types_1.ModifyMonitoredItemsRequest; } });
|
|
40
|
+
Object.defineProperty(exports, "ModifyMonitoredItemsResponse", { enumerable: true, get: function () { return node_opcua_types_1.ModifyMonitoredItemsResponse; } });
|
|
27
41
|
Object.defineProperty(exports, "ModifySubscriptionRequest", { enumerable: true, get: function () { return node_opcua_types_1.ModifySubscriptionRequest; } });
|
|
28
42
|
Object.defineProperty(exports, "ModifySubscriptionResponse", { enumerable: true, get: function () { return node_opcua_types_1.ModifySubscriptionResponse; } });
|
|
29
|
-
Object.defineProperty(exports, "MonitoringParameters", { enumerable: true, get: function () { return node_opcua_types_1.MonitoringParameters; } });
|
|
30
43
|
Object.defineProperty(exports, "MonitoredItemCreateRequest", { enumerable: true, get: function () { return node_opcua_types_1.MonitoredItemCreateRequest; } });
|
|
31
44
|
Object.defineProperty(exports, "MonitoredItemCreateResult", { enumerable: true, get: function () { return node_opcua_types_1.MonitoredItemCreateResult; } });
|
|
32
|
-
Object.defineProperty(exports, "
|
|
33
|
-
Object.defineProperty(exports, "
|
|
34
|
-
Object.defineProperty(exports, "
|
|
45
|
+
Object.defineProperty(exports, "MonitoredItemModifyRequest", { enumerable: true, get: function () { return node_opcua_types_1.MonitoredItemModifyRequest; } });
|
|
46
|
+
Object.defineProperty(exports, "MonitoredItemModifyResult", { enumerable: true, get: function () { return node_opcua_types_1.MonitoredItemModifyResult; } });
|
|
47
|
+
Object.defineProperty(exports, "MonitoredItemNotification", { enumerable: true, get: function () { return node_opcua_types_1.MonitoredItemNotification; } });
|
|
48
|
+
Object.defineProperty(exports, "MonitoringMode", { enumerable: true, get: function () { return node_opcua_types_1.MonitoringMode; } });
|
|
49
|
+
Object.defineProperty(exports, "MonitoringParameters", { enumerable: true, get: function () { return node_opcua_types_1.MonitoringParameters; } });
|
|
50
|
+
Object.defineProperty(exports, "NotificationData", { enumerable: true, get: function () { return node_opcua_types_1.NotificationData; } });
|
|
51
|
+
Object.defineProperty(exports, "NotificationMessage", { enumerable: true, get: function () { return node_opcua_types_1.NotificationMessage; } });
|
|
35
52
|
Object.defineProperty(exports, "PublishRequest", { enumerable: true, get: function () { return node_opcua_types_1.PublishRequest; } });
|
|
36
53
|
Object.defineProperty(exports, "PublishResponse", { enumerable: true, get: function () { return node_opcua_types_1.PublishResponse; } });
|
|
37
54
|
Object.defineProperty(exports, "RepublishRequest", { enumerable: true, get: function () { return node_opcua_types_1.RepublishRequest; } });
|
|
38
55
|
Object.defineProperty(exports, "RepublishResponse", { enumerable: true, get: function () { return node_opcua_types_1.RepublishResponse; } });
|
|
39
|
-
Object.defineProperty(exports, "NotificationMessage", { enumerable: true, get: function () { return node_opcua_types_1.NotificationMessage; } });
|
|
40
|
-
Object.defineProperty(exports, "DataChangeNotification", { enumerable: true, get: function () { return node_opcua_types_1.DataChangeNotification; } });
|
|
41
|
-
Object.defineProperty(exports, "StatusChangeNotification", { enumerable: true, get: function () { return node_opcua_types_1.StatusChangeNotification; } });
|
|
42
|
-
Object.defineProperty(exports, "EventNotificationList", { enumerable: true, get: function () { return node_opcua_types_1.EventNotificationList; } });
|
|
43
|
-
Object.defineProperty(exports, "DeleteMonitoredItemsRequest", { enumerable: true, get: function () { return node_opcua_types_1.DeleteMonitoredItemsRequest; } });
|
|
44
|
-
Object.defineProperty(exports, "DeleteMonitoredItemsResponse", { enumerable: true, get: function () { return node_opcua_types_1.DeleteMonitoredItemsResponse; } });
|
|
45
|
-
Object.defineProperty(exports, "SetPublishingModeRequest", { enumerable: true, get: function () { return node_opcua_types_1.SetPublishingModeRequest; } });
|
|
46
|
-
Object.defineProperty(exports, "SetPublishingModeResponse", { enumerable: true, get: function () { return node_opcua_types_1.SetPublishingModeResponse; } });
|
|
47
|
-
Object.defineProperty(exports, "DeleteSubscriptionsRequest", { enumerable: true, get: function () { return node_opcua_types_1.DeleteSubscriptionsRequest; } });
|
|
48
|
-
Object.defineProperty(exports, "DeleteSubscriptionsResponse", { enumerable: true, get: function () { return node_opcua_types_1.DeleteSubscriptionsResponse; } });
|
|
49
|
-
Object.defineProperty(exports, "MonitoredItemNotification", { enumerable: true, get: function () { return node_opcua_types_1.MonitoredItemNotification; } });
|
|
50
|
-
Object.defineProperty(exports, "MonitoredItemModifyRequest", { enumerable: true, get: function () { return node_opcua_types_1.MonitoredItemModifyRequest; } });
|
|
51
|
-
Object.defineProperty(exports, "MonitoredItemModifyResult", { enumerable: true, get: function () { return node_opcua_types_1.MonitoredItemModifyResult; } });
|
|
52
|
-
Object.defineProperty(exports, "ModifyMonitoredItemsRequest", { enumerable: true, get: function () { return node_opcua_types_1.ModifyMonitoredItemsRequest; } });
|
|
53
|
-
Object.defineProperty(exports, "ModifyMonitoredItemsResponse", { enumerable: true, get: function () { return node_opcua_types_1.ModifyMonitoredItemsResponse; } });
|
|
54
56
|
Object.defineProperty(exports, "SetMonitoringModeRequest", { enumerable: true, get: function () { return node_opcua_types_1.SetMonitoringModeRequest; } });
|
|
55
57
|
Object.defineProperty(exports, "SetMonitoringModeResponse", { enumerable: true, get: function () { return node_opcua_types_1.SetMonitoringModeResponse; } });
|
|
56
|
-
Object.defineProperty(exports, "
|
|
57
|
-
Object.defineProperty(exports, "
|
|
58
|
-
Object.defineProperty(exports, "ContentFilterElementResult", { enumerable: true, get: function () { return node_opcua_types_1.ContentFilterElementResult; } });
|
|
59
|
-
Object.defineProperty(exports, "EventFieldList", { enumerable: true, get: function () { return node_opcua_types_1.EventFieldList; } });
|
|
60
|
-
Object.defineProperty(exports, "DataChangeFilter", { enumerable: true, get: function () { return node_opcua_types_1.DataChangeFilter; } });
|
|
61
|
-
Object.defineProperty(exports, "AggregateFilter", { enumerable: true, get: function () { return node_opcua_types_1.AggregateFilter; } });
|
|
58
|
+
Object.defineProperty(exports, "SetPublishingModeRequest", { enumerable: true, get: function () { return node_opcua_types_1.SetPublishingModeRequest; } });
|
|
59
|
+
Object.defineProperty(exports, "SetPublishingModeResponse", { enumerable: true, get: function () { return node_opcua_types_1.SetPublishingModeResponse; } });
|
|
62
60
|
Object.defineProperty(exports, "SetTriggeringRequest", { enumerable: true, get: function () { return node_opcua_types_1.SetTriggeringRequest; } });
|
|
63
61
|
Object.defineProperty(exports, "SetTriggeringResponse", { enumerable: true, get: function () { return node_opcua_types_1.SetTriggeringResponse; } });
|
|
62
|
+
Object.defineProperty(exports, "StatusChangeNotification", { enumerable: true, get: function () { return node_opcua_types_1.StatusChangeNotification; } });
|
|
63
|
+
Object.defineProperty(exports, "SubscriptionAcknowledgement", { enumerable: true, get: function () { return node_opcua_types_1.SubscriptionAcknowledgement; } });
|
|
64
64
|
Object.defineProperty(exports, "TransferResult", { enumerable: true, get: function () { return node_opcua_types_1.TransferResult; } });
|
|
65
65
|
Object.defineProperty(exports, "TransferSubscriptionsRequest", { enumerable: true, get: function () { return node_opcua_types_1.TransferSubscriptionsRequest; } });
|
|
66
66
|
Object.defineProperty(exports, "TransferSubscriptionsResponse", { enumerable: true, get: function () { return node_opcua_types_1.TransferSubscriptionsResponse; } });
|
|
@@ -68,7 +68,7 @@ __exportStar(require("./deadband_checker"), exports);
|
|
|
68
68
|
const node_opcua_assert_1 = require("node-opcua-assert");
|
|
69
69
|
const node_opcua_types_2 = require("node-opcua-types");
|
|
70
70
|
(0, node_opcua_assert_1.assert)(node_opcua_types_2.PublishResponse.schema.fields[1].name === "subscriptionId");
|
|
71
|
-
node_opcua_types_2.PublishResponse.schema.fields[1].defaultValue =
|
|
71
|
+
node_opcua_types_2.PublishResponse.schema.fields[1].defaultValue = 0xffffffff;
|
|
72
72
|
(0, node_opcua_assert_1.assert)(node_opcua_types_2.MonitoringParameters.schema.fields[0].name === "clientHandle");
|
|
73
|
-
node_opcua_types_2.MonitoringParameters.schema.fields[0].defaultValue =
|
|
73
|
+
node_opcua_types_2.MonitoringParameters.schema.fields[0].defaultValue = 0xffffffff;
|
|
74
74
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../source/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA;;GAEG;AACH,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../source/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA;;GAEG;AACH,qDA8D0B;AA7DtB,mHAAA,eAAe,OAAA;AACf,8HAAA,0BAA0B,OAAA;AAC1B,uHAAA,mBAAmB,OAAA;AACnB,+HAAA,2BAA2B,OAAA;AAE3B,gIAAA,4BAA4B,OAAA;AAC5B,6HAAA,yBAAyB,OAAA;AAEzB,8HAAA,0BAA0B,OAAA;AAC1B,oHAAA,gBAAgB,OAAA;AAChB,0HAAA,sBAAsB,OAAA;AACtB,qHAAA,iBAAiB,OAAA;AACjB,+HAAA,2BAA2B,OAAA;AAE3B,gIAAA,4BAA4B,OAAA;AAC5B,8HAAA,0BAA0B,OAAA;AAE1B,+HAAA,2BAA2B,OAAA;AAC3B,kHAAA,cAAc,OAAA;AACd,qHAAA,iBAAiB,OAAA;AACjB,yHAAA,qBAA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"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "node-opcua-service-subscription",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.179.0",
|
|
4
4
|
"description": "pure nodejs OPCUA SDK - module service-subscription",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -12,18 +12,18 @@
|
|
|
12
12
|
"deprected_generate": "node ./generate"
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"node-opcua-assert": "2.
|
|
16
|
-
"node-opcua-types": "2.
|
|
17
|
-
"node-opcua-variant": "2.
|
|
15
|
+
"node-opcua-assert": "2.179.0",
|
|
16
|
+
"node-opcua-types": "2.179.0",
|
|
17
|
+
"node-opcua-variant": "2.179.0"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
|
-
"node-opcua-buffer-utils": "2.
|
|
21
|
-
"node-opcua-debug": "2.
|
|
22
|
-
"node-opcua-nodeid": "2.
|
|
23
|
-
"node-opcua-packet-analyzer": "2.
|
|
24
|
-
"node-opcua-secure-channel": "2.
|
|
25
|
-
"node-opcua-service-read": "2.
|
|
26
|
-
"node-opcua-status-code": "2.
|
|
20
|
+
"node-opcua-buffer-utils": "2.179.0",
|
|
21
|
+
"node-opcua-debug": "2.179.0",
|
|
22
|
+
"node-opcua-nodeid": "2.179.0",
|
|
23
|
+
"node-opcua-packet-analyzer": "2.179.0",
|
|
24
|
+
"node-opcua-secure-channel": "2.179.0",
|
|
25
|
+
"node-opcua-service-read": "2.179.0",
|
|
26
|
+
"node-opcua-status-code": "2.179.0"
|
|
27
27
|
},
|
|
28
28
|
"author": "Etienne Rossignon",
|
|
29
29
|
"license": "MIT",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"internet of things"
|
|
41
41
|
],
|
|
42
42
|
"homepage": "http://node-opcua.github.io/",
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "c78c6ee424bae3c6e851fabd8e144390e2941f8a",
|
|
44
44
|
"files": [
|
|
45
45
|
"dist",
|
|
46
46
|
"source"
|
|
@@ -23,7 +23,7 @@ export interface PseudoRange {
|
|
|
23
23
|
* @returns true if the difference between value1 and value2 is greater than absoluteDeadband
|
|
24
24
|
*/
|
|
25
25
|
function _isOutsideDeadbandScalar(value1: NumberType, value2: NumberType, dataType: DataType, absoluteDeadband: number): boolean {
|
|
26
|
-
let diff;
|
|
26
|
+
let diff: number;
|
|
27
27
|
if (dataType === DataType.UInt64 || dataType === DataType.Int64) {
|
|
28
28
|
// c8 ignore next
|
|
29
29
|
if (!(Array.isArray(value1) && Array.isArray(value2))) {
|
package/source/index.ts
CHANGED
|
@@ -2,44 +2,76 @@
|
|
|
2
2
|
* @module node-opcua-service-subscription
|
|
3
3
|
*/
|
|
4
4
|
export {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
AggregateFilter,
|
|
6
|
+
ContentFilterElementResult,
|
|
7
|
+
ContentFilterResult,
|
|
8
|
+
CreateMonitoredItemsRequest,
|
|
9
|
+
CreateMonitoredItemsRequestOptions,
|
|
10
|
+
CreateMonitoredItemsResponse,
|
|
11
|
+
CreateSubscriptionRequest,
|
|
12
|
+
CreateSubscriptionRequestOptions,
|
|
13
|
+
CreateSubscriptionResponse,
|
|
14
|
+
DataChangeFilter,
|
|
15
|
+
DataChangeNotification,
|
|
7
16
|
DataChangeTrigger,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
17
|
+
DeleteMonitoredItemsRequest,
|
|
18
|
+
DeleteMonitoredItemsRequestOptions,
|
|
19
|
+
DeleteMonitoredItemsResponse,
|
|
20
|
+
DeleteSubscriptionsRequest,
|
|
21
|
+
DeleteSubscriptionsRequestOptions,
|
|
22
|
+
DeleteSubscriptionsResponse,
|
|
23
|
+
EventFieldList,
|
|
24
|
+
EventFilterResult,
|
|
25
|
+
EventNotificationList,
|
|
26
|
+
ModifyMonitoredItemsRequest,
|
|
27
|
+
ModifyMonitoredItemsRequestOptions,
|
|
28
|
+
ModifyMonitoredItemsResponse,
|
|
29
|
+
ModifySubscriptionRequest,
|
|
30
|
+
ModifySubscriptionRequestOptions,
|
|
31
|
+
ModifySubscriptionResponse,
|
|
32
|
+
MonitoredItemCreateRequest,
|
|
33
|
+
MonitoredItemCreateRequestOptions,
|
|
34
|
+
MonitoredItemCreateResult,
|
|
35
|
+
MonitoredItemModifyRequest,
|
|
36
|
+
MonitoredItemModifyResult,
|
|
37
|
+
MonitoredItemNotification,
|
|
38
|
+
MonitoringMode,
|
|
39
|
+
MonitoringParameters,
|
|
40
|
+
MonitoringParametersOptions,
|
|
41
|
+
NotificationData,
|
|
18
42
|
NotificationMessage,
|
|
19
|
-
|
|
43
|
+
PublishRequest,
|
|
44
|
+
PublishRequestOptions,
|
|
45
|
+
PublishResponse,
|
|
46
|
+
PublishResponseOptions,
|
|
47
|
+
RepublishRequest,
|
|
48
|
+
RepublishRequestOptions,
|
|
49
|
+
RepublishResponse,
|
|
50
|
+
RepublishResponseOptions,
|
|
51
|
+
SetMonitoringModeRequest,
|
|
52
|
+
SetMonitoringModeRequestOptions,
|
|
53
|
+
SetMonitoringModeResponse,
|
|
54
|
+
SetPublishingModeRequest,
|
|
55
|
+
SetPublishingModeRequestOptions,
|
|
56
|
+
SetPublishingModeResponse,
|
|
57
|
+
SetTriggeringRequest,
|
|
58
|
+
SetTriggeringRequestOptions,
|
|
59
|
+
SetTriggeringResponse,
|
|
20
60
|
StatusChangeNotification,
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
MonitoredItemNotification, MonitoredItemModifyRequest,
|
|
26
|
-
MonitoredItemModifyResult, ModifyMonitoredItemsRequest, ModifyMonitoredItemsRequestOptions,
|
|
27
|
-
ModifyMonitoredItemsResponse, SetMonitoringModeRequest, SetMonitoringModeRequestOptions,
|
|
28
|
-
SetMonitoringModeResponse, EventFilterResult,
|
|
29
|
-
ContentFilterResult, ContentFilterElementResult,
|
|
30
|
-
EventFieldList, DataChangeFilter, AggregateFilter,
|
|
31
|
-
SetTriggeringRequest, SetTriggeringResponse, SetTriggeringRequestOptions,
|
|
32
|
-
TransferResult, TransferSubscriptionsRequest, TransferSubscriptionsRequestOptions,
|
|
61
|
+
SubscriptionAcknowledgement,
|
|
62
|
+
TransferResult,
|
|
63
|
+
TransferSubscriptionsRequest,
|
|
64
|
+
TransferSubscriptionsRequestOptions,
|
|
33
65
|
TransferSubscriptionsResponse
|
|
34
|
-
|
|
35
66
|
} from "node-opcua-types";
|
|
36
67
|
|
|
37
68
|
export * from "./deadband_checker";
|
|
69
|
+
|
|
38
70
|
import { assert } from "node-opcua-assert";
|
|
39
71
|
import { MonitoringParameters, PublishResponse } from "node-opcua-types";
|
|
40
72
|
|
|
41
73
|
assert(PublishResponse.schema.fields[1].name === "subscriptionId");
|
|
42
|
-
PublishResponse.schema.fields[1].defaultValue =
|
|
74
|
+
PublishResponse.schema.fields[1].defaultValue = 0xffffffff;
|
|
43
75
|
|
|
44
76
|
assert(MonitoringParameters.schema.fields[0].name === "clientHandle");
|
|
45
|
-
MonitoringParameters.schema.fields[0].defaultValue =
|
|
77
|
+
MonitoringParameters.schema.fields[0].defaultValue = 0xffffffff;
|