node-opcua-nodeset-machinery-result 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,39 @@
1
+ {
2
+ "name": "node-opcua-nodeset-machinery-result",
3
+ "version": "2.99.0",
4
+ "description": "pure nodejs OPCUA SDK - module node-opcua-nodeset-machinery-result",
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-model": "2.99.0",
16
+ "node-opcua-extension-object": "2.99.0",
17
+ "node-opcua-nodeid": "2.99.0",
18
+ "node-opcua-nodeset-ua": "2.99.0",
19
+ "node-opcua-variant": "2.99.0"
20
+ },
21
+ "files": [
22
+ "dist",
23
+ "source"
24
+ ],
25
+ "repository": {
26
+ "type": "git",
27
+ "url": "git://github.com/node-opcua/node-opcua.git"
28
+ },
29
+ "keywords": [
30
+ "OPCUA",
31
+ "opcua",
32
+ "m2m",
33
+ "iot",
34
+ "opc ua",
35
+ "internet of things"
36
+ ],
37
+ "homepage": "http://node-opcua.github.io/",
38
+ "gitHead": "90ce9f5b44d74198d84a384de622dfa94fd05c0c"
39
+ }
@@ -0,0 +1,20 @@
1
+ // ----- this file has been automatically generated - do not edit
2
+ import { UAString } from "node-opcua-basic-types"
3
+ import { ExtensionObject } from "node-opcua-extension-object"
4
+ import { DTStructure } from "node-opcua-nodeset-ua/source/dt_structure"
5
+ /**
6
+ * Abstract type containing information which file
7
+ * should be provided.
8
+ *
9
+ * | | |
10
+ * |-----------|--------------------------------------------------|
11
+ * | namespace |http://opcfoundation.org/UA/Machinery/Result/ |
12
+ * | nodeClass |DataType |
13
+ * | name |22:BaseResultTransferOptionsDataType |
14
+ * | isAbstract|true |
15
+ */
16
+ export interface DTBaseResultTransferOptions extends DTStructure {
17
+ /** The Id of the result to be transferred to the Clients*/
18
+ resultId: UAString; // String ns=0;i=31918
19
+ }
20
+ export interface UDTBaseResultTransferOptions extends ExtensionObject, DTBaseResultTransferOptions {};
@@ -0,0 +1,25 @@
1
+ // ----- this file has been automatically generated - do not edit
2
+ import { ExtensionObject } from "node-opcua-extension-object"
3
+ import { DTStructure } from "node-opcua-nodeset-ua/source/dt_structure"
4
+ /**
5
+ * Contains measured times that were generated
6
+ * during the execution of a recipe.
7
+ *
8
+ * | | |
9
+ * |-----------|--------------------------------------------------|
10
+ * | namespace |http://opcfoundation.org/UA/Machinery/Result/ |
11
+ * | nodeClass |DataType |
12
+ * | name |22:ProcessingTimesDataType |
13
+ * | isAbstract|false |
14
+ */
15
+ export interface DTProcessingTimes extends DTStructure {
16
+ /** Contains the time when the system started execution of the recipe.*/
17
+ startTime: Date; // DateTime ns=0;i=294
18
+ /** Contains the time when the system finished (or stopped/aborted) execution of the recipe.*/
19
+ endTime: Date; // DateTime ns=0;i=294
20
+ /** Time spent by the system acquiring data.*/
21
+ acquisitionDuration?: number; // Double ns=0;i=290
22
+ /** Time spent by the system processing data.*/
23
+ processingDuration?: number; // Double ns=0;i=290
24
+ }
25
+ export interface UDTProcessingTimes extends ExtensionObject, DTProcessingTimes {};
@@ -0,0 +1,23 @@
1
+ // ----- this file has been automatically generated - do not edit
2
+ import { Variant } from "node-opcua-variant"
3
+ import { ExtensionObject } from "node-opcua-extension-object"
4
+ import { DTStructure } from "node-opcua-nodeset-ua/source/dt_structure"
5
+ import { DTResultMeta } from "./dt_result_meta"
6
+ /**
7
+ * Contains fields that were created during the
8
+ * execution of a recipe.
9
+ *
10
+ * | | |
11
+ * |-----------|--------------------------------------------------|
12
+ * | namespace |http://opcfoundation.org/UA/Machinery/Result/ |
13
+ * | nodeClass |DataType |
14
+ * | name |22:ResultDataType |
15
+ * | isAbstract|false |
16
+ */
17
+ export interface DTResult extends DTStructure {
18
+ /** Contains meta data describing the resultContent.*/
19
+ resultMetaData: DTResultMeta; // ExtensionObject ns=22;i=3007
20
+ /** Abstract data type to be subtyped from to hold result data created by the selected recipe.*/
21
+ resultContent: Variant[]; // Variant ns=0;i=24
22
+ }
23
+ export interface UDTResult extends ExtensionObject, DTResult {};
@@ -0,0 +1,81 @@
1
+ // ----- this file has been automatically generated - do not edit
2
+ import { LocalizedText } from "node-opcua-data-model"
3
+ import { Int64, Int32, UAString } from "node-opcua-basic-types"
4
+ import { ExtensionObject } from "node-opcua-extension-object"
5
+ import { DTStructure } from "node-opcua-nodeset-ua/source/dt_structure"
6
+ import { DTProcessingTimes } from "./dt_processing_times"
7
+ import { EnumResultEvaluationEnum } from "./enum_result_evaluation_enum"
8
+ /**
9
+ * Meta data of a result, describing the result.
10
+ *
11
+ * | | |
12
+ * |-----------|--------------------------------------------------|
13
+ * | namespace |http://opcfoundation.org/UA/Machinery/Result/ |
14
+ * | nodeClass |DataType |
15
+ * | name |22:ResultMetaDataType |
16
+ * | isAbstract|false |
17
+ */
18
+ export interface DTResultMeta extends DTStructure {
19
+ /** System-wide unique identifier, which is assigned by the system. This ID can be used for fetching exactly this result using the method GetResultById and it is identical to the ResultId of the ResultReadyEventType.
20
+ If the system does not manage resultIds, it should always be set to “NA”.*/
21
+ resultId: UAString; // String ns=0;i=31918
22
+ /** Indicates that additional data for this result can be retrieved by temporary file transfer.
23
+ If not provided, it is assumed that no file is available.*/
24
+ hasTransferableDataOnFile?: boolean; // Boolean ns=0;i=1
25
+ /** Indicates whether the result is the partial result of a total result. When not all samples are finished yet the result is 'partial'.
26
+ If not provided, it is assumed to be a total result.*/
27
+ isPartial?: boolean; // Boolean ns=0;i=1
28
+ /** Indicates whether the result was created in simulation mode.
29
+ Simulation mode implies that the result is only generated for testing purposes and not based on real production data.
30
+ If not provided, it is assumed to not be simulated.*/
31
+ isSimulated?: boolean; // Boolean ns=0;i=1
32
+ /** ResultState provides information about the current state of the process or measurement creating a result.
33
+ Applications may use negative values for application-specific states. All other values shall only be used as defined in the following:
34
+ 0 – Undefined initial value
35
+ 1 – Completed: Processing was carried out completely
36
+ 2 – Processing: Processing has not been finished yet
37
+ 3 – Aborted: Processing was stopped at some point before completion
38
+ 4 – Failed: Processing failed in some way*/
39
+ resultState?: Int32; // Int32 ns=0;i=6
40
+ /** Identifies the step which produced the result.
41
+ Although the system-wide unique JobId would be sufficient to identify the job which the result belongs to, this makes for easier filtering without keeping track of JobIds.
42
+ This specification does not define how the stepId is transmitted to the system. Typically, it is provided by the client when starting an execution.*/
43
+ stepId?: UAString; // String ns=0;i=31918
44
+ /** Identifies the part used to produce the result.
45
+ Although the system-wide unique JobId would be sufficient to identify the job which the result belongs to, this makes for easier filtering without keeping track of JobIds.
46
+ This specification does not define how the partId is transmitted to the system. Typically, it is provided by the client when starting the job.*/
47
+ partId?: UAString; // String ns=0;i=31918
48
+ /** External ID of the recipe in use which produced the result. The External ID is managed by the environment.
49
+ This specification does not define how the externalRecipeId is transmitted to the system. Typically, it is provided by the client.*/
50
+ externalRecipeId?: UAString; // String ns=0;i=31918
51
+ /** Internal ID of the recipe in use which produced the result. This ID is system-wide unique and it is assigned by the system.*/
52
+ internalRecipeId?: UAString; // String ns=0;i=31918
53
+ /** Identifies the product used to produce the result.
54
+ This specification does not define how the externalRecipeId is transmitted to the system. Typically, it is provided by the client.*/
55
+ productId?: UAString; // String ns=0;i=31918
56
+ /** External ID of the Configuration in use while the result was produced.
57
+ It is managed by the Environment.
58
+ This specification does not define how the externalConfigurationId is transmitted to the system. Typically, it is provided by the client.*/
59
+ externalConfigurationId?: UAString; // String ns=0;i=31918
60
+ /** Internal ID of the Configuration in use while the result was produced. This ID is system-wide unique and it is assigned by the system.*/
61
+ internalConfigurationId?: UAString; // String ns=0;i=31918
62
+ /** Identifies the job which produced the result.
63
+ This ID is system-wide unique and it is assigned by the system.*/
64
+ jobId?: UAString; // String ns=0;i=31918
65
+ /** CreationTime indicates the time when the result was created. Creation time on the measurement system (not the receive time of the server).
66
+ It is recommended to always provide the creationTime.*/
67
+ creationTime?: Date; // DateTime ns=0;i=294
68
+ /** Collection of different processing times that were needed to create the result.*/
69
+ processingTimes?: DTProcessingTimes; // ExtensionObject ns=22;i=3006
70
+ /** Path to the actual measured result, managed external to the server.*/
71
+ resultUri?: UAString[]; // String ns=0;i=23751
72
+ /** The ResultEvaluation indicates whether the result was in tolerance.*/
73
+ resultEvaluation?: EnumResultEvaluationEnum; // Int32 ns=22;i=3002
74
+ /** Vendor-specific code describing more details on resultEvaluation.*/
75
+ resultEvaluationCode?: Int64; // Int64 ns=0;i=8
76
+ /** The optional EvaluationDetails provides high level status information in a user-friendly text. This can be left empty for successful operations.*/
77
+ resultEvaluationDetails?: LocalizedText; // LocalizedText ns=0;i=21
78
+ /** The format in which the measurement results are available (e.g. QDAS, CSV, …) using the ResultTransfer Object. If multiple file formats are provided, the GenerateFileForRead of ResultTransfer should contain corresponding transferOptions, to select the file format. This specification does not define those transferOptions.*/
79
+ fileFormat?: UAString[]; // String ns=0;i=12
80
+ }
81
+ export interface UDTResultMeta extends ExtensionObject, DTResultMeta {};
@@ -0,0 +1,20 @@
1
+ // ----- this file has been automatically generated - do not edit
2
+ import { UAString } from "node-opcua-basic-types"
3
+ import { ExtensionObject } from "node-opcua-extension-object"
4
+ import { DTBaseResultTransferOptions } from "./dt_base_result_transfer_options"
5
+ /**
6
+ * Contains information which file should be
7
+ * provided.
8
+ *
9
+ * | | |
10
+ * |-----------|--------------------------------------------------|
11
+ * | namespace |http://opcfoundation.org/UA/Machinery/Result/ |
12
+ * | nodeClass |DataType |
13
+ * | name |22:ResultTransferOptionsDataType |
14
+ * | isAbstract|false |
15
+ */
16
+ export interface DTResultTransferOptions extends DTBaseResultTransferOptions {
17
+ /** The Id of the result to be transferred to the Clients*/
18
+ resultId: UAString; // String ns=0;i=31918
19
+ }
20
+ export interface UDTResultTransferOptions extends ExtensionObject, DTResultTransferOptions {};
@@ -0,0 +1,32 @@
1
+ // ----- this file has been automatically generated - do not edit
2
+
3
+ /**
4
+ * Indicates whether a result was in tolerance
5
+ *
6
+ * | | |
7
+ * |-----------|--------------------------------------------------|
8
+ * | namespace |http://opcfoundation.org/UA/Machinery/Result/ |
9
+ * | nodeClass |DataType |
10
+ * | name |22:ResultEvaluationEnum |
11
+ * | isAbstract|false |
12
+ */
13
+ export enum EnumResultEvaluationEnum {
14
+ /**
15
+ * The evaluation of the result is unknown, for
16
+ * example because it failed
17
+ */
18
+ Undefined = 0,
19
+ /**
20
+ * The result is in tolerance
21
+ */
22
+ OK = 1,
23
+ /**
24
+ * The result is out of tolerance
25
+ */
26
+ NotOK = 2,
27
+ /**
28
+ * The decision is not possible due to measurement
29
+ * uncertainty.
30
+ */
31
+ NotDecidable = 3,
32
+ }
@@ -0,0 +1,10 @@
1
+ export * from "./dt_base_result_transfer_options";
2
+ export * from "./dt_processing_times";
3
+ export * from "./dt_result";
4
+ export * from "./dt_result_meta";
5
+ export * from "./dt_result_transfer_options";
6
+ export * from "./enum_result_evaluation_enum";
7
+ export * from "./ua_result";
8
+ export * from "./ua_result_management";
9
+ export * from "./ua_result_ready_event";
10
+ export * from "./ua_result_transfer";
@@ -0,0 +1,197 @@
1
+ // ----- this file has been automatically generated - do not edit
2
+ import { DataType, VariantOptions } from "node-opcua-variant"
3
+ import { LocalizedText } from "node-opcua-data-model"
4
+ import { Int64, Int32, UAString } from "node-opcua-basic-types"
5
+ import { UABaseDataVariable, UABaseDataVariable_Base } from "node-opcua-nodeset-ua/source/ua_base_data_variable"
6
+ import { DTProcessingTimes } from "./dt_processing_times"
7
+ import { EnumResultEvaluationEnum } from "./enum_result_evaluation_enum"
8
+ import { DTResult } from "./dt_result"
9
+ import { DTResultMeta } from "./dt_result_meta"
10
+ export interface UAResult_resultMetaData<T, DT extends DataType> extends UABaseDataVariable<T, DT> { // Variable
11
+ /**
12
+ * creationTime
13
+ * CreationTime indicates the time when the result
14
+ * was created. Creation time on the measurement
15
+ * system (not the receive time of the server).
16
+ * It is recommended to always provide the
17
+ * creationTime.
18
+ */
19
+ creationTime?: UABaseDataVariable<Date, DataType.DateTime>;
20
+ externalConfigurationId?: UABaseDataVariable<UAString, DataType.String>;
21
+ /**
22
+ * externalRecipeId
23
+ * External ID of the recipe in use which produced
24
+ * the result. The External ID is managed by the
25
+ * environment.
26
+ * This specification does not define how the
27
+ * externalRecipeId is transmitted to the system.
28
+ * Typically, it is provided by the client.
29
+ */
30
+ externalRecipeId?: UABaseDataVariable<UAString, DataType.String>;
31
+ /**
32
+ * fileFormat
33
+ * The format in which the measurement results are
34
+ * available (e.g. QDAS, CSV, …) using the
35
+ * ResultTransfer Object. If multiple file formats
36
+ * are provided, the GenerateFileForRead of
37
+ * ResultTransfer should contain corresponding
38
+ * transferOptions, to select the file format. This
39
+ * specification does not define those
40
+ * transferOptions.
41
+ */
42
+ fileFormat?: UABaseDataVariable<UAString[], DataType.String>;
43
+ /**
44
+ * hasTransferableDataOnFile
45
+ * Indicates that additional data for this result
46
+ * can be retrieved by temporary file transfer.
47
+ * If not provided, it is assumed that no file is
48
+ * available.
49
+ */
50
+ hasTransferableDataOnFile?: UABaseDataVariable<boolean, DataType.Boolean>;
51
+ /**
52
+ * internalConfigurationId
53
+ * Internal ID of the Configuration in use while the
54
+ * result was produced. This ID is system-wide
55
+ * unique and it is assigned by the system.
56
+ */
57
+ internalConfigurationId?: UABaseDataVariable<UAString, DataType.String>;
58
+ /**
59
+ * internalRecipeId
60
+ * Internal ID of the recipe in use which produced
61
+ * the result. This ID is system-wide unique and it
62
+ * is assigned by the system.
63
+ */
64
+ internalRecipeId?: UABaseDataVariable<UAString, DataType.String>;
65
+ /**
66
+ * isPartial
67
+ * Indicates whether the result is the partial
68
+ * result of a total result. When not all samples
69
+ * are finished yet the result is 'partial'.
70
+ * If not provided, it is assumed to be a total
71
+ * result.
72
+ */
73
+ isPartial?: UABaseDataVariable<boolean, DataType.Boolean>;
74
+ /**
75
+ * isSimulated
76
+ * Indicates whether the result was created in
77
+ * simulation mode.
78
+ * Simulation mode implies that the result is only
79
+ * generated for testing purposes and not based on
80
+ * real production data.
81
+ * If not provided, it is assumed to not be
82
+ * simulated.
83
+ */
84
+ isSimulated?: UABaseDataVariable<boolean, DataType.Boolean>;
85
+ /**
86
+ * jobId
87
+ * Identifies the job which produced the result.
88
+ * This ID is system-wide unique and it is assigned
89
+ * by the system.
90
+ */
91
+ jobId?: UABaseDataVariable<UAString, DataType.String>;
92
+ /**
93
+ * partId
94
+ * Identifies the part used to produce the result.
95
+ * Although the system-wide unique JobId would be
96
+ * sufficient to identify the job which the result
97
+ * belongs to, this makes for easier filtering
98
+ * without keeping track of JobIds.
99
+ * This specification does not define how the partId
100
+ * is transmitted to the system. Typically, it is
101
+ * provided by the client when starting the job.
102
+ */
103
+ partId?: UABaseDataVariable<UAString, DataType.String>;
104
+ /**
105
+ * processingTimes
106
+ * Collection of different processing times that
107
+ * were needed to create the result.
108
+ */
109
+ processingTimes?: UABaseDataVariable<DTProcessingTimes, DataType.ExtensionObject>;
110
+ productId?: UABaseDataVariable<UAString, DataType.String>;
111
+ /**
112
+ * resultEvaluation
113
+ * The ResultEvaluation indicates whether the result
114
+ * was in tolerance.
115
+ */
116
+ resultEvaluation?: UABaseDataVariable<EnumResultEvaluationEnum, DataType.Int32>;
117
+ /**
118
+ * resultEvaluationCode
119
+ * Vendor-specific code describing more details on
120
+ * resultEvaluation.
121
+ */
122
+ resultEvaluationCode?: UABaseDataVariable<Int64, DataType.Int64>;
123
+ /**
124
+ * resultEvaluationDetails
125
+ * The optional EvaluationDetails provides high
126
+ * level status information in a user-friendly text.
127
+ * This can be left empty for successful operations.
128
+ */
129
+ resultEvaluationDetails?: UABaseDataVariable<LocalizedText, DataType.LocalizedText>;
130
+ /**
131
+ * resultId
132
+ * System-wide unique identifier, which is assigned
133
+ * by the system. This ID can be used for fetching
134
+ * exactly this result using the method
135
+ * GetResultById and it is identical to the ResultId
136
+ * of the ResultReadyEventType.
137
+ * If the system does not manage resultIds, it
138
+ * should always be set to “NA”.
139
+ */
140
+ resultId: UABaseDataVariable<UAString, DataType.String>;
141
+ /**
142
+ * resultState
143
+ * ResultState provides information about the
144
+ * current state of the process or measurement
145
+ * creating a result.
146
+ * Applications may use negative values for
147
+ * application-specific states. All other values
148
+ * shall only be used as defined in the following:
149
+ * 0 – Undefined initial value
150
+ * 1 – Completed: Processing was carried out
151
+ * completely
152
+ * 2 – Processing: Processing has not been finished
153
+ * yet
154
+ * 3 – Aborted: Processing was stopped at some point
155
+ * before completion
156
+ * 4 – Failed: Processing failed in some way.
157
+ */
158
+ resultState?: UABaseDataVariable<Int32, DataType.Int32>;
159
+ /**
160
+ * resultUri
161
+ * Path to the actual measured result, managed
162
+ * external to the server.
163
+ */
164
+ resultUri?: UABaseDataVariable<UAString[], DataType.String>;
165
+ /**
166
+ * stepId
167
+ * Identifies the step which produced the result.
168
+ * Although the system-wide unique JobId would be
169
+ * sufficient to identify the job which the result
170
+ * belongs to, this makes for easier filtering
171
+ * without keeping track of JobIds.
172
+ * This specification does not define how the stepId
173
+ * is transmitted to the system. Typically, it is
174
+ * provided by the client when starting an execution.
175
+ */
176
+ stepId?: UABaseDataVariable<UAString, DataType.String>;
177
+ }
178
+ /**
179
+ * Exposes the information of the ResultDataType in
180
+ * individual subvariables.
181
+ *
182
+ * | | |
183
+ * |----------------|--------------------------------------------------|
184
+ * |namespace |http://opcfoundation.org/UA/Machinery/Result/ |
185
+ * |nodeClass |VariableType |
186
+ * |typedDefinition |22:ResultType ns=22;i=2001 |
187
+ * |dataType |ExtensionObject |
188
+ * |dataType Name |DTResult ns=22;i=3008 |
189
+ * |isAbstract |false |
190
+ */
191
+ export interface UAResult_Base<T extends DTResult> extends UABaseDataVariable_Base<T, DataType.ExtensionObject> {
192
+ reducedResultContent?: UABaseDataVariable<any, any>;
193
+ resultContent?: UABaseDataVariable<any, any>;
194
+ resultMetaData: UAResult_resultMetaData<DTResultMeta, DataType.ExtensionObject>;
195
+ }
196
+ export interface UAResult<T extends DTResult> extends UABaseDataVariable<T, DataType.ExtensionObject>, UAResult_Base<T> {
197
+ }
@@ -0,0 +1,34 @@
1
+ // ----- this file has been automatically generated - do not edit
2
+ import { UAObject, UAMethod, UAProperty } from "node-opcua-address-space-base"
3
+ import { DataType } from "node-opcua-variant"
4
+ import { QualifiedName } from "node-opcua-data-model"
5
+ import { DTArgument } from "node-opcua-nodeset-ua/source/dt_argument"
6
+ import { UAFolder } from "node-opcua-nodeset-ua/source/ua_folder"
7
+ import { DTResult } from "./dt_result"
8
+ import { UAResultTransfer } from "./ua_result_transfer"
9
+ /**
10
+ * Provides mechanism to access results generated by
11
+ * the underlying system.
12
+ *
13
+ * | | |
14
+ * |----------------|--------------------------------------------------|
15
+ * |namespace |http://opcfoundation.org/UA/Machinery/Result/ |
16
+ * |nodeClass |ObjectType |
17
+ * |typedDefinition |22:ResultManagementType ns=22;i=1004 |
18
+ * |isAbstract |false |
19
+ */
20
+ export interface UAResultManagement_Base {
21
+ /**
22
+ * defaultInstanceBrowseName
23
+ * The default BrowseName for instances of the type.
24
+ */
25
+ defaultInstanceBrowseName: UAProperty<QualifiedName, DataType.QualifiedName>;
26
+ getLatestResult?: UAMethod;
27
+ getResultById?: UAMethod;
28
+ getResultIdListFiltered?: UAMethod;
29
+ releaseResultHandle?: UAMethod;
30
+ results?: UAFolder;
31
+ resultTransfer?: UAResultTransfer;
32
+ }
33
+ export interface UAResultManagement extends UAObject, UAResultManagement_Base {
34
+ }
@@ -0,0 +1,28 @@
1
+ // ----- this file has been automatically generated - do not edit
2
+ import { DataType, VariantOptions } from "node-opcua-variant"
3
+ import { LocalizedText } from "node-opcua-data-model"
4
+ import { NodeId } from "node-opcua-nodeid"
5
+ import { Int64, Int32, UInt16, UAString } from "node-opcua-basic-types"
6
+ import { DTTimeZone } from "node-opcua-nodeset-ua/source/dt_time_zone"
7
+ import { UABaseEvent, UABaseEvent_Base } from "node-opcua-nodeset-ua/source/ua_base_event"
8
+ import { DTResult } from "./dt_result"
9
+ import { DTProcessingTimes } from "./dt_processing_times"
10
+ import { EnumResultEvaluationEnum } from "./enum_result_evaluation_enum"
11
+ import { DTResultMeta } from "./dt_result_meta"
12
+ import { UAResult } from "./ua_result"
13
+ /**
14
+ * Provides information of a complete or partial
15
+ * result.
16
+ *
17
+ * | | |
18
+ * |----------------|--------------------------------------------------|
19
+ * |namespace |http://opcfoundation.org/UA/Machinery/Result/ |
20
+ * |nodeClass |ObjectType |
21
+ * |typedDefinition |22:ResultReadyEventType ns=22;i=1002 |
22
+ * |isAbstract |true |
23
+ */
24
+ export interface UAResultReadyEvent_Base extends UABaseEvent_Base {
25
+ result: UAResult<DTResult>;
26
+ }
27
+ export interface UAResultReadyEvent extends UABaseEvent, UAResultReadyEvent_Base {
28
+ }
@@ -0,0 +1,23 @@
1
+ // ----- this file has been automatically generated - do not edit
2
+ import { UAMethod } from "node-opcua-address-space-base"
3
+ import { DataType, VariantOptions } from "node-opcua-variant"
4
+ import { LocalizedText, QualifiedName } from "node-opcua-data-model"
5
+ import { NodeId } from "node-opcua-nodeid"
6
+ import { UInt32 } from "node-opcua-basic-types"
7
+ import { DTArgument } from "node-opcua-nodeset-ua/source/dt_argument"
8
+ import { UATemporaryFileTransfer, UATemporaryFileTransfer_Base } from "node-opcua-nodeset-ua/source/ua_temporary_file_transfer"
9
+ /**
10
+ * Transfers result data as a file.
11
+ *
12
+ * | | |
13
+ * |----------------|--------------------------------------------------|
14
+ * |namespace |http://opcfoundation.org/UA/Machinery/Result/ |
15
+ * |nodeClass |ObjectType |
16
+ * |typedDefinition |22:ResultTransferType ns=22;i=1003 |
17
+ * |isAbstract |false |
18
+ */
19
+ export interface UAResultTransfer_Base extends UATemporaryFileTransfer_Base {
20
+ generateFileForRead: UAMethod;
21
+ }
22
+ export interface UAResultTransfer extends Omit<UATemporaryFileTransfer, "generateFileForRead">, UAResultTransfer_Base {
23
+ }