node-opcua-nodeset-machinery-process-values 2.99.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/LICENSE ADDED
@@ -0,0 +1,22 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2022-2023 Sterfive SAS - 833264583 RCS ORLEANS - France (https://www.sterfive.com)
4
+
5
+ Copyright (c) 2014-2022 Etienne Rossignon
6
+
7
+ Permission is hereby granted, free of charge, to any person obtaining a copy of
8
+ this software and associated documentation files (the "Software"), to deal in
9
+ the Software without restriction, including without limitation the rights to
10
+ use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
11
+ the Software, and to permit persons to whom the Software is furnished to do so,
12
+ subject to the following conditions:
13
+
14
+ The above copyright notice and this permission notice shall be included in all
15
+ copies or substantial portions of the Software.
16
+
17
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
19
+ FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
20
+ COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
21
+ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
22
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
package/package.json ADDED
@@ -0,0 +1,41 @@
1
+ {
2
+ "name": "node-opcua-nodeset-machinery-process-values",
3
+ "version": "2.99.0",
4
+ "description": "pure nodejs OPCUA SDK - module node-opcua-nodeset-machinery-process-values",
5
+ "main": "dist/index.js",
6
+ "types": "dist/index.d.ts",
7
+ "scripts": {
8
+ "build": "tsc -b"
9
+ },
10
+ "author": "Etienne Rossignon <etienne.rossignon@sterfive.com>",
11
+ "license": "MIT",
12
+ "dependencies": {
13
+ "node-opcua-address-space-base": "2.99.0",
14
+ "node-opcua-basic-types": "2.99.0",
15
+ "node-opcua-data-access": "2.99.0",
16
+ "node-opcua-data-model": "2.99.0",
17
+ "node-opcua-nodeid": "2.99.0",
18
+ "node-opcua-nodeset-padim": "2.99.0",
19
+ "node-opcua-nodeset-ua": "2.99.0",
20
+ "node-opcua-status-code": "2.98.1",
21
+ "node-opcua-variant": "2.99.0"
22
+ },
23
+ "files": [
24
+ "dist",
25
+ "source"
26
+ ],
27
+ "repository": {
28
+ "type": "git",
29
+ "url": "git://github.com/node-opcua/node-opcua.git"
30
+ },
31
+ "keywords": [
32
+ "OPCUA",
33
+ "opcua",
34
+ "m2m",
35
+ "iot",
36
+ "opc ua",
37
+ "internet of things"
38
+ ],
39
+ "homepage": "http://node-opcua.github.io/",
40
+ "gitHead": "90ce9f5b44d74198d84a384de622dfa94fd05c0c"
41
+ }
@@ -0,0 +1,4 @@
1
+ export * from "./ua_process_value";
2
+ export * from "./ua_process_value_setpoint_variable";
3
+ export * from "./ua_process_value_variable";
4
+ export * from "./ua_zero_point_adjustment_event";
@@ -0,0 +1,96 @@
1
+ // ----- this file has been automatically generated - do not edit
2
+ import { UAMethod, UAProperty } from "node-opcua-address-space-base"
3
+ import { DataType, Variant, VariantOptions } from "node-opcua-variant"
4
+ import { LocalizedText, QualifiedName } from "node-opcua-data-model"
5
+ import { EUInformation } from "node-opcua-data-access"
6
+ import { NodeId } from "node-opcua-nodeid"
7
+ import { StatusCode } from "node-opcua-status-code"
8
+ import { UInt32, UInt16, Int16, UAString } from "node-opcua-basic-types"
9
+ import { DTRange } from "node-opcua-nodeset-ua/source/dt_range"
10
+ import { DTEnumValue } from "node-opcua-nodeset-ua/source/dt_enum_value"
11
+ import { DTArgument } from "node-opcua-nodeset-ua/source/dt_argument"
12
+ import { UAAnalogUnit } from "node-opcua-nodeset-ua/source/ua_analog_unit"
13
+ import { UAAnalogUnitRange } from "node-opcua-nodeset-ua/source/ua_analog_unit_range"
14
+ import { UAMultiStateValueDiscrete } from "node-opcua-nodeset-ua/source/ua_multi_state_value_discrete"
15
+ import { UAExclusiveDeviationAlarm } from "node-opcua-nodeset-ua/source/ua_exclusive_deviation_alarm"
16
+ import { UAExclusiveLimitAlarm } from "node-opcua-nodeset-ua/source/ua_exclusive_limit_alarm"
17
+ import { UAAnalogSignalVariable } from "node-opcua-nodeset-padim/source/ua_analog_signal_variable"
18
+ import { UAAnalogSignal, UAAnalogSignal_Base } from "node-opcua-nodeset-padim/source/ua_analog_signal"
19
+ import { UAProcessValueSetpointVariable } from "./ua_process_value_setpoint_variable"
20
+ export interface UAProcessValue_analogSignal<T, DT extends DataType> extends Omit<UAAnalogSignalVariable<T, DT>, "engineeringUnits"|"euRange"> { // Variable
21
+ engineeringUnits: UAProperty<EUInformation, DataType.ExtensionObject>;
22
+ euRange: UAProperty<DTRange, DataType.ExtensionObject>;
23
+ /**
24
+ * highHighLimit
25
+ * Defines the absolute high high limit
26
+ */
27
+ highHighLimit?: UAAnalogUnit<any, any>;
28
+ /**
29
+ * highLimit
30
+ * Defines the absolute high limit
31
+ */
32
+ highLimit?: UAAnalogUnit<any, any>;
33
+ /**
34
+ * lowLimit
35
+ * Defines the absolute low limit
36
+ */
37
+ lowLimit?: UAAnalogUnit<any, any>;
38
+ /**
39
+ * lowLowLimit
40
+ * Defines the absolute low low limit
41
+ */
42
+ lowLowLimit?: UAAnalogUnit<any, any>;
43
+ /**
44
+ * percentageValue
45
+ * Provides the process value in percentage.
46
+ */
47
+ percentageValue?: UAAnalogUnitRange<number, DataType.Double>;
48
+ }
49
+ /**
50
+ * Represents a process value
51
+ *
52
+ * | | |
53
+ * |----------------|--------------------------------------------------|
54
+ * |namespace |http://opcfoundation.org/UA/Machinery/ProcessValues/|
55
+ * |nodeClass |ObjectType |
56
+ * |typedDefinition |21:ProcessValueType ns=21;i=1003 |
57
+ * |isAbstract |false |
58
+ */
59
+ export interface UAProcessValue_Base extends UAAnalogSignal_Base {
60
+ /**
61
+ * alarmSuppression
62
+ * Indicates if alarms based on the Status shall be
63
+ * suppressed.
64
+ */
65
+ alarmSuppression?: UAMultiStateValueDiscrete<UInt16, DataType.UInt16>;
66
+ /**
67
+ * analogSignal
68
+ * The process value.
69
+ */
70
+ analogSignal: UAProcessValue_analogSignal<any, any>;
71
+ /**
72
+ * deviationAlarm
73
+ * Becomes active, when the process values derivates
74
+ * from the ProcessValueSetpoint.
75
+ */
76
+ deviationAlarm?: UAExclusiveDeviationAlarm;
77
+ /**
78
+ * limitAlarm
79
+ * Becomes active, when absolute limits are reached.
80
+ */
81
+ limitAlarm?: UAExclusiveLimitAlarm;
82
+ /**
83
+ * processValueSetpoint
84
+ * The desired value, may or may not be controlled
85
+ * by the server.
86
+ */
87
+ processValueSetpoint?: UAProcessValueSetpointVariable<any, any>;
88
+ /**
89
+ * status
90
+ * Indicates if a limit has been reached.
91
+ */
92
+ status?: UAMultiStateValueDiscrete<UInt16, DataType.UInt16>;
93
+ zeroPointAdjustment?: UAMethod;
94
+ }
95
+ export interface UAProcessValue extends Omit<UAAnalogSignal, "analogSignal"|"zeroPointAdjustment">, UAProcessValue_Base {
96
+ }
@@ -0,0 +1,67 @@
1
+ // ----- this file has been automatically generated - do not edit
2
+ import { UAProperty } from "node-opcua-address-space-base"
3
+ import { DataType, Variant } from "node-opcua-variant"
4
+ import { UInt16 } from "node-opcua-basic-types"
5
+ import { UAAnalogUnitRange, UAAnalogUnitRange_Base } from "node-opcua-nodeset-ua/source/ua_analog_unit_range"
6
+ import { UAMultiStateValueDiscrete } from "node-opcua-nodeset-ua/source/ua_multi_state_value_discrete"
7
+ import { UAAnalogUnit } from "node-opcua-nodeset-ua/source/ua_analog_unit"
8
+ import { UABaseDataVariable } from "node-opcua-nodeset-ua/source/ua_base_data_variable"
9
+ /**
10
+ * Define the desired value of the Variable it
11
+ * belongs to.
12
+ *
13
+ * | | |
14
+ * |----------------|--------------------------------------------------|
15
+ * |namespace |http://opcfoundation.org/UA/Machinery/ProcessValues/|
16
+ * |nodeClass |VariableType |
17
+ * |typedDefinition |21:ProcessValueSetpointVariableType ns=21;i=2003 |
18
+ * |dataType |Variant |
19
+ * |dataType Name |Variant ns=0;i=26 |
20
+ * |isAbstract |false |
21
+ */
22
+ export interface UAProcessValueSetpointVariable_Base<T, DT extends DataType> extends UAAnalogUnitRange_Base<T, DT> {
23
+ /**
24
+ * autoDeviationAdjustment
25
+ * Defines if the deviation variables are
26
+ * automatically adjusted.
27
+ */
28
+ autoDeviationAdjustment?: UAProperty<boolean, DataType.Boolean>;
29
+ /**
30
+ * deviationSensitivity
31
+ * Indicates the sensitivity of the deviation
32
+ * variables when automatically set.
33
+ */
34
+ deviationSensitivity?: UAMultiStateValueDiscrete<UInt16, DataType.UInt16>;
35
+ /**
36
+ * highDeviation
37
+ * Defines the high limit for deviation, relative to
38
+ * the process value setpoint.
39
+ */
40
+ highDeviation?: UAAnalogUnit<any, any>;
41
+ /**
42
+ * highHighDeviation
43
+ * Defines the high high limit for deviation,
44
+ * relative to the process value setpoint.
45
+ */
46
+ highHighDeviation?: UAAnalogUnit<any, any>;
47
+ /**
48
+ * lowDeviation
49
+ * Defines the low limit for deviation, relative to
50
+ * the process value setpoint.
51
+ */
52
+ lowDeviation?: UAAnalogUnit<any, any>;
53
+ /**
54
+ * lowLowDeviation
55
+ * Defines the low low limit for deviation, relative
56
+ * to the process value setpoint.
57
+ */
58
+ lowLowDeviation?: UAAnalogUnit<any, any>;
59
+ /**
60
+ * substituteValue
61
+ * Value that should be used when the process value
62
+ * setpoint cannot be controlled anymore.
63
+ */
64
+ substituteValue?: UABaseDataVariable<any, any>;
65
+ }
66
+ export interface UAProcessValueSetpointVariable<T, DT extends DataType> extends UAAnalogUnitRange<T, DT>, UAProcessValueSetpointVariable_Base<T, DT> {
67
+ }
@@ -0,0 +1,48 @@
1
+ // ----- this file has been automatically generated - do not edit
2
+ import { DataType, Variant } from "node-opcua-variant"
3
+ import { EUInformation } from "node-opcua-data-access"
4
+ import { DTRange } from "node-opcua-nodeset-ua/source/dt_range"
5
+ import { UAAnalogUnit } from "node-opcua-nodeset-ua/source/ua_analog_unit"
6
+ import { UAAnalogUnitRange } from "node-opcua-nodeset-ua/source/ua_analog_unit_range"
7
+ import { UAAnalogSignalVariable, UAAnalogSignalVariable_Base } from "node-opcua-nodeset-padim/source/ua_analog_signal_variable"
8
+ /**
9
+ * Provides a process value and additional meta data
10
+ *
11
+ * | | |
12
+ * |----------------|--------------------------------------------------|
13
+ * |namespace |http://opcfoundation.org/UA/Machinery/ProcessValues/|
14
+ * |nodeClass |VariableType |
15
+ * |typedDefinition |21:ProcessValueVariableType ns=21;i=2002 |
16
+ * |dataType |Variant |
17
+ * |dataType Name |Variant ns=0;i=26 |
18
+ * |isAbstract |false |
19
+ */
20
+ export interface UAProcessValueVariable_Base<T, DT extends DataType> extends UAAnalogSignalVariable_Base<T, DT> {
21
+ /**
22
+ * highHighLimit
23
+ * Defines the absolute high high limit
24
+ */
25
+ highHighLimit?: UAAnalogUnit<any, any>;
26
+ /**
27
+ * highLimit
28
+ * Defines the absolute high limit
29
+ */
30
+ highLimit?: UAAnalogUnit<any, any>;
31
+ /**
32
+ * lowLimit
33
+ * Defines the absolute low limit
34
+ */
35
+ lowLimit?: UAAnalogUnit<any, any>;
36
+ /**
37
+ * lowLowLimit
38
+ * Defines the absolute low low limit
39
+ */
40
+ lowLowLimit?: UAAnalogUnit<any, any>;
41
+ /**
42
+ * percentageValue
43
+ * Provides the process value in percentage.
44
+ */
45
+ percentageValue?: UAAnalogUnitRange<number, DataType.Double>;
46
+ }
47
+ export interface UAProcessValueVariable<T, DT extends DataType> extends UAAnalogSignalVariable<T, DT>, UAProcessValueVariable_Base<T, DT> {
48
+ }
@@ -0,0 +1,25 @@
1
+ // ----- this file has been automatically generated - do not edit
2
+ import { UAProperty } from "node-opcua-address-space-base"
3
+ import { DataType, VariantOptions } from "node-opcua-variant"
4
+ import { LocalizedText } from "node-opcua-data-model"
5
+ import { NodeId } from "node-opcua-nodeid"
6
+ import { StatusCode } from "node-opcua-status-code"
7
+ import { UInt16, UAString } from "node-opcua-basic-types"
8
+ import { DTTimeZone } from "node-opcua-nodeset-ua/source/dt_time_zone"
9
+ import { UABaseEvent, UABaseEvent_Base } from "node-opcua-nodeset-ua/source/ua_base_event"
10
+ /**
11
+ * Provides information, that a zero-point
12
+ * adjustment took place
13
+ *
14
+ * | | |
15
+ * |----------------|--------------------------------------------------|
16
+ * |namespace |http://opcfoundation.org/UA/Machinery/ProcessValues/|
17
+ * |nodeClass |ObjectType |
18
+ * |typedDefinition |21:ZeroPointAdjustmentEventType ns=21;i=1002 |
19
+ * |isAbstract |true |
20
+ */
21
+ export interface UAZeroPointAdjustmentEvent_Base extends UABaseEvent_Base {
22
+ zeroPointAdjustmentResult: UAProperty<StatusCode, DataType.StatusCode>;
23
+ }
24
+ export interface UAZeroPointAdjustmentEvent extends UABaseEvent, UAZeroPointAdjustmentEvent_Base {
25
+ }