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