node-opcua-nodeset-machinery-process-values 2.99.0 → 2.99.1
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/index.d.ts +4 -0
- package/dist/index.js +21 -0
- package/dist/index.js.map +1 -0
- package/dist/ua_process_value.d.ts +90 -0
- package/dist/ua_process_value.js +3 -0
- package/dist/ua_process_value.js.map +1 -0
- package/dist/ua_process_value_setpoint_variable.d.ts +66 -0
- package/dist/ua_process_value_setpoint_variable.js +3 -0
- package/dist/ua_process_value_setpoint_variable.js.map +1 -0
- package/dist/ua_process_value_variable.d.ts +45 -0
- package/dist/ua_process_value_variable.js +3 -0
- package/dist/ua_process_value_variable.js.map +1 -0
- package/dist/ua_zero_point_adjustment_event.d.ts +20 -0
- package/dist/ua_zero_point_adjustment_event.js +3 -0
- package/dist/ua_zero_point_adjustment_event.js.map +1 -0
- package/package.json +2 -2
package/dist/index.d.ts
ADDED
package/dist/index.js
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./ua_process_value"), exports);
|
|
18
|
+
__exportStar(require("./ua_process_value_setpoint_variable"), exports);
|
|
19
|
+
__exportStar(require("./ua_process_value_variable"), exports);
|
|
20
|
+
__exportStar(require("./ua_zero_point_adjustment_event"), exports);
|
|
21
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../source/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAmC;AACnC,uEAAqD;AACrD,8DAA4C;AAC5C,mEAAiD"}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { UAMethod, UAProperty } from "node-opcua-address-space-base";
|
|
2
|
+
import { DataType } from "node-opcua-variant";
|
|
3
|
+
import { EUInformation } from "node-opcua-data-access";
|
|
4
|
+
import { UInt16 } from "node-opcua-basic-types";
|
|
5
|
+
import { DTRange } from "node-opcua-nodeset-ua/source/dt_range";
|
|
6
|
+
import { UAAnalogUnit } from "node-opcua-nodeset-ua/source/ua_analog_unit";
|
|
7
|
+
import { UAAnalogUnitRange } from "node-opcua-nodeset-ua/source/ua_analog_unit_range";
|
|
8
|
+
import { UAMultiStateValueDiscrete } from "node-opcua-nodeset-ua/source/ua_multi_state_value_discrete";
|
|
9
|
+
import { UAExclusiveDeviationAlarm } from "node-opcua-nodeset-ua/source/ua_exclusive_deviation_alarm";
|
|
10
|
+
import { UAExclusiveLimitAlarm } from "node-opcua-nodeset-ua/source/ua_exclusive_limit_alarm";
|
|
11
|
+
import { UAAnalogSignalVariable } from "node-opcua-nodeset-padim/source/ua_analog_signal_variable";
|
|
12
|
+
import { UAAnalogSignal, UAAnalogSignal_Base } from "node-opcua-nodeset-padim/source/ua_analog_signal";
|
|
13
|
+
import { UAProcessValueSetpointVariable } from "./ua_process_value_setpoint_variable";
|
|
14
|
+
export interface UAProcessValue_analogSignal<T, DT extends DataType> extends Omit<UAAnalogSignalVariable<T, DT>, "engineeringUnits" | "euRange"> {
|
|
15
|
+
engineeringUnits: UAProperty<EUInformation, DataType.ExtensionObject>;
|
|
16
|
+
euRange: UAProperty<DTRange, DataType.ExtensionObject>;
|
|
17
|
+
/**
|
|
18
|
+
* highHighLimit
|
|
19
|
+
* Defines the absolute high high limit
|
|
20
|
+
*/
|
|
21
|
+
highHighLimit?: UAAnalogUnit<any, any>;
|
|
22
|
+
/**
|
|
23
|
+
* highLimit
|
|
24
|
+
* Defines the absolute high limit
|
|
25
|
+
*/
|
|
26
|
+
highLimit?: UAAnalogUnit<any, any>;
|
|
27
|
+
/**
|
|
28
|
+
* lowLimit
|
|
29
|
+
* Defines the absolute low limit
|
|
30
|
+
*/
|
|
31
|
+
lowLimit?: UAAnalogUnit<any, any>;
|
|
32
|
+
/**
|
|
33
|
+
* lowLowLimit
|
|
34
|
+
* Defines the absolute low low limit
|
|
35
|
+
*/
|
|
36
|
+
lowLowLimit?: UAAnalogUnit<any, any>;
|
|
37
|
+
/**
|
|
38
|
+
* percentageValue
|
|
39
|
+
* Provides the process value in percentage.
|
|
40
|
+
*/
|
|
41
|
+
percentageValue?: UAAnalogUnitRange<number, DataType.Double>;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Represents a process value
|
|
45
|
+
*
|
|
46
|
+
* | | |
|
|
47
|
+
* |----------------|--------------------------------------------------|
|
|
48
|
+
* |namespace |http://opcfoundation.org/UA/Machinery/ProcessValues/|
|
|
49
|
+
* |nodeClass |ObjectType |
|
|
50
|
+
* |typedDefinition |21:ProcessValueType ns=21;i=1003 |
|
|
51
|
+
* |isAbstract |false |
|
|
52
|
+
*/
|
|
53
|
+
export interface UAProcessValue_Base extends UAAnalogSignal_Base {
|
|
54
|
+
/**
|
|
55
|
+
* alarmSuppression
|
|
56
|
+
* Indicates if alarms based on the Status shall be
|
|
57
|
+
* suppressed.
|
|
58
|
+
*/
|
|
59
|
+
alarmSuppression?: UAMultiStateValueDiscrete<UInt16, DataType.UInt16>;
|
|
60
|
+
/**
|
|
61
|
+
* analogSignal
|
|
62
|
+
* The process value.
|
|
63
|
+
*/
|
|
64
|
+
analogSignal: UAProcessValue_analogSignal<any, any>;
|
|
65
|
+
/**
|
|
66
|
+
* deviationAlarm
|
|
67
|
+
* Becomes active, when the process values derivates
|
|
68
|
+
* from the ProcessValueSetpoint.
|
|
69
|
+
*/
|
|
70
|
+
deviationAlarm?: UAExclusiveDeviationAlarm;
|
|
71
|
+
/**
|
|
72
|
+
* limitAlarm
|
|
73
|
+
* Becomes active, when absolute limits are reached.
|
|
74
|
+
*/
|
|
75
|
+
limitAlarm?: UAExclusiveLimitAlarm;
|
|
76
|
+
/**
|
|
77
|
+
* processValueSetpoint
|
|
78
|
+
* The desired value, may or may not be controlled
|
|
79
|
+
* by the server.
|
|
80
|
+
*/
|
|
81
|
+
processValueSetpoint?: UAProcessValueSetpointVariable<any, any>;
|
|
82
|
+
/**
|
|
83
|
+
* status
|
|
84
|
+
* Indicates if a limit has been reached.
|
|
85
|
+
*/
|
|
86
|
+
status?: UAMultiStateValueDiscrete<UInt16, DataType.UInt16>;
|
|
87
|
+
zeroPointAdjustment?: UAMethod;
|
|
88
|
+
}
|
|
89
|
+
export interface UAProcessValue extends Omit<UAAnalogSignal, "analogSignal" | "zeroPointAdjustment">, UAProcessValue_Base {
|
|
90
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ua_process_value.js","sourceRoot":"","sources":["../source/ua_process_value.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { UAProperty } from "node-opcua-address-space-base";
|
|
2
|
+
import { DataType } from "node-opcua-variant";
|
|
3
|
+
import { UInt16 } from "node-opcua-basic-types";
|
|
4
|
+
import { UAAnalogUnitRange, UAAnalogUnitRange_Base } from "node-opcua-nodeset-ua/source/ua_analog_unit_range";
|
|
5
|
+
import { UAMultiStateValueDiscrete } from "node-opcua-nodeset-ua/source/ua_multi_state_value_discrete";
|
|
6
|
+
import { UAAnalogUnit } from "node-opcua-nodeset-ua/source/ua_analog_unit";
|
|
7
|
+
import { UABaseDataVariable } from "node-opcua-nodeset-ua/source/ua_base_data_variable";
|
|
8
|
+
/**
|
|
9
|
+
* Define the desired value of the Variable it
|
|
10
|
+
* belongs to.
|
|
11
|
+
*
|
|
12
|
+
* | | |
|
|
13
|
+
* |----------------|--------------------------------------------------|
|
|
14
|
+
* |namespace |http://opcfoundation.org/UA/Machinery/ProcessValues/|
|
|
15
|
+
* |nodeClass |VariableType |
|
|
16
|
+
* |typedDefinition |21:ProcessValueSetpointVariableType ns=21;i=2003 |
|
|
17
|
+
* |dataType |Variant |
|
|
18
|
+
* |dataType Name |Variant ns=0;i=26 |
|
|
19
|
+
* |isAbstract |false |
|
|
20
|
+
*/
|
|
21
|
+
export interface UAProcessValueSetpointVariable_Base<T, DT extends DataType> extends UAAnalogUnitRange_Base<T, DT> {
|
|
22
|
+
/**
|
|
23
|
+
* autoDeviationAdjustment
|
|
24
|
+
* Defines if the deviation variables are
|
|
25
|
+
* automatically adjusted.
|
|
26
|
+
*/
|
|
27
|
+
autoDeviationAdjustment?: UAProperty<boolean, DataType.Boolean>;
|
|
28
|
+
/**
|
|
29
|
+
* deviationSensitivity
|
|
30
|
+
* Indicates the sensitivity of the deviation
|
|
31
|
+
* variables when automatically set.
|
|
32
|
+
*/
|
|
33
|
+
deviationSensitivity?: UAMultiStateValueDiscrete<UInt16, DataType.UInt16>;
|
|
34
|
+
/**
|
|
35
|
+
* highDeviation
|
|
36
|
+
* Defines the high limit for deviation, relative to
|
|
37
|
+
* the process value setpoint.
|
|
38
|
+
*/
|
|
39
|
+
highDeviation?: UAAnalogUnit<any, any>;
|
|
40
|
+
/**
|
|
41
|
+
* highHighDeviation
|
|
42
|
+
* Defines the high high limit for deviation,
|
|
43
|
+
* relative to the process value setpoint.
|
|
44
|
+
*/
|
|
45
|
+
highHighDeviation?: UAAnalogUnit<any, any>;
|
|
46
|
+
/**
|
|
47
|
+
* lowDeviation
|
|
48
|
+
* Defines the low limit for deviation, relative to
|
|
49
|
+
* the process value setpoint.
|
|
50
|
+
*/
|
|
51
|
+
lowDeviation?: UAAnalogUnit<any, any>;
|
|
52
|
+
/**
|
|
53
|
+
* lowLowDeviation
|
|
54
|
+
* Defines the low low limit for deviation, relative
|
|
55
|
+
* to the process value setpoint.
|
|
56
|
+
*/
|
|
57
|
+
lowLowDeviation?: UAAnalogUnit<any, any>;
|
|
58
|
+
/**
|
|
59
|
+
* substituteValue
|
|
60
|
+
* Value that should be used when the process value
|
|
61
|
+
* setpoint cannot be controlled anymore.
|
|
62
|
+
*/
|
|
63
|
+
substituteValue?: UABaseDataVariable<any, any>;
|
|
64
|
+
}
|
|
65
|
+
export interface UAProcessValueSetpointVariable<T, DT extends DataType> extends UAAnalogUnitRange<T, DT>, UAProcessValueSetpointVariable_Base<T, DT> {
|
|
66
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ua_process_value_setpoint_variable.js","sourceRoot":"","sources":["../source/ua_process_value_setpoint_variable.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { DataType } from "node-opcua-variant";
|
|
2
|
+
import { UAAnalogUnit } from "node-opcua-nodeset-ua/source/ua_analog_unit";
|
|
3
|
+
import { UAAnalogUnitRange } from "node-opcua-nodeset-ua/source/ua_analog_unit_range";
|
|
4
|
+
import { UAAnalogSignalVariable, UAAnalogSignalVariable_Base } from "node-opcua-nodeset-padim/source/ua_analog_signal_variable";
|
|
5
|
+
/**
|
|
6
|
+
* Provides a process value and additional meta data
|
|
7
|
+
*
|
|
8
|
+
* | | |
|
|
9
|
+
* |----------------|--------------------------------------------------|
|
|
10
|
+
* |namespace |http://opcfoundation.org/UA/Machinery/ProcessValues/|
|
|
11
|
+
* |nodeClass |VariableType |
|
|
12
|
+
* |typedDefinition |21:ProcessValueVariableType ns=21;i=2002 |
|
|
13
|
+
* |dataType |Variant |
|
|
14
|
+
* |dataType Name |Variant ns=0;i=26 |
|
|
15
|
+
* |isAbstract |false |
|
|
16
|
+
*/
|
|
17
|
+
export interface UAProcessValueVariable_Base<T, DT extends DataType> extends UAAnalogSignalVariable_Base<T, DT> {
|
|
18
|
+
/**
|
|
19
|
+
* highHighLimit
|
|
20
|
+
* Defines the absolute high high limit
|
|
21
|
+
*/
|
|
22
|
+
highHighLimit?: UAAnalogUnit<any, any>;
|
|
23
|
+
/**
|
|
24
|
+
* highLimit
|
|
25
|
+
* Defines the absolute high limit
|
|
26
|
+
*/
|
|
27
|
+
highLimit?: UAAnalogUnit<any, any>;
|
|
28
|
+
/**
|
|
29
|
+
* lowLimit
|
|
30
|
+
* Defines the absolute low limit
|
|
31
|
+
*/
|
|
32
|
+
lowLimit?: UAAnalogUnit<any, any>;
|
|
33
|
+
/**
|
|
34
|
+
* lowLowLimit
|
|
35
|
+
* Defines the absolute low low limit
|
|
36
|
+
*/
|
|
37
|
+
lowLowLimit?: UAAnalogUnit<any, any>;
|
|
38
|
+
/**
|
|
39
|
+
* percentageValue
|
|
40
|
+
* Provides the process value in percentage.
|
|
41
|
+
*/
|
|
42
|
+
percentageValue?: UAAnalogUnitRange<number, DataType.Double>;
|
|
43
|
+
}
|
|
44
|
+
export interface UAProcessValueVariable<T, DT extends DataType> extends UAAnalogSignalVariable<T, DT>, UAProcessValueVariable_Base<T, DT> {
|
|
45
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ua_process_value_variable.js","sourceRoot":"","sources":["../source/ua_process_value_variable.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { UAProperty } from "node-opcua-address-space-base";
|
|
2
|
+
import { DataType } from "node-opcua-variant";
|
|
3
|
+
import { StatusCode } from "node-opcua-status-code";
|
|
4
|
+
import { UABaseEvent, UABaseEvent_Base } from "node-opcua-nodeset-ua/source/ua_base_event";
|
|
5
|
+
/**
|
|
6
|
+
* Provides information, that a zero-point
|
|
7
|
+
* adjustment took place
|
|
8
|
+
*
|
|
9
|
+
* | | |
|
|
10
|
+
* |----------------|--------------------------------------------------|
|
|
11
|
+
* |namespace |http://opcfoundation.org/UA/Machinery/ProcessValues/|
|
|
12
|
+
* |nodeClass |ObjectType |
|
|
13
|
+
* |typedDefinition |21:ZeroPointAdjustmentEventType ns=21;i=1002 |
|
|
14
|
+
* |isAbstract |true |
|
|
15
|
+
*/
|
|
16
|
+
export interface UAZeroPointAdjustmentEvent_Base extends UABaseEvent_Base {
|
|
17
|
+
zeroPointAdjustmentResult: UAProperty<StatusCode, DataType.StatusCode>;
|
|
18
|
+
}
|
|
19
|
+
export interface UAZeroPointAdjustmentEvent extends UABaseEvent, UAZeroPointAdjustmentEvent_Base {
|
|
20
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ua_zero_point_adjustment_event.js","sourceRoot":"","sources":["../source/ua_zero_point_adjustment_event.ts"],"names":[],"mappings":""}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "node-opcua-nodeset-machinery-process-values",
|
|
3
|
-
"version": "2.99.
|
|
3
|
+
"version": "2.99.1",
|
|
4
4
|
"description": "pure nodejs OPCUA SDK - module node-opcua-nodeset-machinery-process-values",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -37,5 +37,5 @@
|
|
|
37
37
|
"internet of things"
|
|
38
38
|
],
|
|
39
39
|
"homepage": "http://node-opcua.github.io/",
|
|
40
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "2653c8e3b006286ce40e4efc33670c5352fab07a"
|
|
41
41
|
}
|