node-opcua-nodeset-adi 2.71.0 → 2.72.2
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/enum_acquisition_result_status.d.ts +34 -34
- package/dist/enum_acquisition_result_status.js +39 -39
- package/dist/enum_alarm_state.d.ts +40 -40
- package/dist/enum_alarm_state.js +45 -45
- package/dist/enum_execution_cycle.d.ts +64 -64
- package/dist/enum_execution_cycle.js +69 -69
- package/dist/index.d.ts +38 -38
- package/dist/index.js +54 -54
- package/dist/ua_accessory.d.ts +30 -30
- package/dist/ua_accessory.js +2 -2
- package/dist/ua_accessory_slot.d.ts +34 -34
- package/dist/ua_accessory_slot.js +2 -2
- package/dist/ua_accessory_slot_state_machine.d.ts +67 -67
- package/dist/ua_accessory_slot_state_machine.js +2 -2
- package/dist/ua_acoustic_spectrometer_device.d.ts +13 -13
- package/dist/ua_acoustic_spectrometer_device.js +2 -2
- package/dist/ua_acoustic_spectrometer_device_stream.d.ts +13 -13
- package/dist/ua_acoustic_spectrometer_device_stream.js +2 -2
- package/dist/ua_analyser_channel.d.ts +90 -90
- package/dist/ua_analyser_channel.js +2 -2
- package/dist/ua_analyser_channel_local_state.d.ts +13 -13
- package/dist/ua_analyser_channel_local_state.js +2 -2
- package/dist/ua_analyser_channel_maintenance_state.d.ts +13 -13
- package/dist/ua_analyser_channel_maintenance_state.js +2 -2
- package/dist/ua_analyser_channel_operating_execute_state.d.ts +13 -13
- package/dist/ua_analyser_channel_operating_execute_state.js +2 -2
- package/dist/ua_analyser_channel_operating_mode_execute_sub_state_machine.d.ts +231 -231
- package/dist/ua_analyser_channel_operating_mode_execute_sub_state_machine.js +2 -2
- package/dist/ua_analyser_channel_operating_mode_sub_state_machine.d.ts +351 -351
- package/dist/ua_analyser_channel_operating_mode_sub_state_machine.js +2 -2
- package/dist/ua_analyser_channel_operating_state.d.ts +13 -13
- package/dist/ua_analyser_channel_operating_state.js +2 -2
- package/dist/ua_analyser_channel_state_machine.d.ts +60 -60
- package/dist/ua_analyser_channel_state_machine.js +2 -2
- package/dist/ua_analyser_device.d.ts +98 -98
- package/dist/ua_analyser_device.js +2 -2
- package/dist/ua_analyser_device_state_machine.d.ts +57 -57
- package/dist/ua_analyser_device_state_machine.js +2 -2
- package/dist/ua_chemometric_model.d.ts +26 -26
- package/dist/ua_chemometric_model.js +2 -2
- package/dist/ua_chromatograph_device.d.ts +13 -13
- package/dist/ua_chromatograph_device.js +2 -2
- package/dist/ua_chromatograph_device_stream.d.ts +13 -13
- package/dist/ua_chromatograph_device_stream.js +2 -2
- package/dist/ua_detector.d.ts +13 -13
- package/dist/ua_detector.js +2 -2
- package/dist/ua_engineering_value.d.ts +19 -19
- package/dist/ua_engineering_value.js +2 -2
- package/dist/ua_gc_oven.d.ts +13 -13
- package/dist/ua_gc_oven.js +2 -2
- package/dist/ua_mass_spectrometer_device.d.ts +13 -13
- package/dist/ua_mass_spectrometer_device.js +2 -2
- package/dist/ua_mass_spectrometer_device_stream.d.ts +13 -13
- package/dist/ua_mass_spectrometer_device_stream.js +2 -2
- package/dist/ua_mnr_device_stream.d.ts +13 -13
- package/dist/ua_mnr_device_stream.js +2 -2
- package/dist/ua_mva_model.d.ts +24 -24
- package/dist/ua_mva_model.js +2 -2
- package/dist/ua_mva_output_parameter.d.ts +28 -28
- package/dist/ua_mva_output_parameter.js +2 -2
- package/dist/ua_nmr_device.d.ts +13 -13
- package/dist/ua_nmr_device.js +2 -2
- package/dist/ua_particle_size_monitor_device.d.ts +13 -13
- package/dist/ua_particle_size_monitor_device.js +2 -2
- package/dist/ua_particle_size_monitor_device_stream.d.ts +32 -32
- package/dist/ua_particle_size_monitor_device_stream.js +2 -2
- package/dist/ua_process_variable.d.ts +21 -21
- package/dist/ua_process_variable.js +2 -2
- package/dist/ua_smart_sampling_system.d.ts +13 -13
- package/dist/ua_smart_sampling_system.js +2 -2
- package/dist/ua_source.d.ts +13 -13
- package/dist/ua_source.js +2 -2
- package/dist/ua_spectrometer_device.d.ts +26 -26
- package/dist/ua_spectrometer_device.js +2 -2
- package/dist/ua_spectrometer_device_stream.d.ts +65 -65
- package/dist/ua_spectrometer_device_stream.js +2 -2
- package/dist/ua_stream.d.ts +365 -365
- package/dist/ua_stream.js +2 -2
- package/package.json +9 -10
- package/LICENSE +0 -20
package/dist/ua_stream.d.ts
CHANGED
|
@@ -1,365 +1,365 @@
|
|
|
1
|
-
import { UAObject } from "node-opcua-address-space-base";
|
|
2
|
-
import { DataType } from "node-opcua-variant";
|
|
3
|
-
import { UInt32, UAString } from "node-opcua-basic-types";
|
|
4
|
-
import { UADataItem } from "node-opcua-nodeset-ua/source/ua_data_item";
|
|
5
|
-
import { UAAnalogItem } from "node-opcua-nodeset-ua/source/ua_analog_item";
|
|
6
|
-
import { UAMultiStateDiscrete } from "node-opcua-nodeset-ua/source/ua_multi_state_discrete";
|
|
7
|
-
import { EnumDeviceHealth } from "node-opcua-nodeset-di/source/enum_device_health";
|
|
8
|
-
import { UAFunctionalGroup } from "node-opcua-nodeset-di/source/ua_functional_group";
|
|
9
|
-
import { UATopologyElement, UATopologyElement_Base } from "node-opcua-nodeset-di/source/ua_topology_element";
|
|
10
|
-
import { EnumExecutionCycle } from "./enum_execution_cycle";
|
|
11
|
-
import { EnumAcquisitionResultStatus } from "./enum_acquisition_result_status";
|
|
12
|
-
export interface UAStream_parameterSet extends UAObject {
|
|
13
|
-
/**
|
|
14
|
-
* isEnabled
|
|
15
|
-
* True if this stream maybe used to perform
|
|
16
|
-
* acquisition
|
|
17
|
-
*/
|
|
18
|
-
isEnabled: UADataItem<boolean, /*z*/ DataType.Boolean>;
|
|
19
|
-
/**
|
|
20
|
-
* isForced
|
|
21
|
-
* True if this stream is forced, which means that
|
|
22
|
-
* is the only Stream on this AnalyserChannel that
|
|
23
|
-
* can be used to perform acquisition
|
|
24
|
-
*/
|
|
25
|
-
isForced?: UADataItem<boolean, /*z*/ DataType.Boolean>;
|
|
26
|
-
/**
|
|
27
|
-
* diagnosticStatus
|
|
28
|
-
* Stream health status
|
|
29
|
-
*/
|
|
30
|
-
diagnosticStatus: UADataItem<EnumDeviceHealth, /*z*/ DataType.Int32>;
|
|
31
|
-
/**
|
|
32
|
-
* lastCalibrationTime
|
|
33
|
-
* Time at which the last calibration was run
|
|
34
|
-
*/
|
|
35
|
-
lastCalibrationTime?: UADataItem<Date, /*z*/ DataType.DateTime>;
|
|
36
|
-
/**
|
|
37
|
-
* lastValidationTime
|
|
38
|
-
* Time at which the last validation was run
|
|
39
|
-
*/
|
|
40
|
-
lastValidationTime?: UADataItem<Date, /*z*/ DataType.DateTime>;
|
|
41
|
-
/**
|
|
42
|
-
* lastSampleTime
|
|
43
|
-
* Time at which the last sample was acquired
|
|
44
|
-
*/
|
|
45
|
-
lastSampleTime: UADataItem<Date, /*z*/ DataType.DateTime>;
|
|
46
|
-
/**
|
|
47
|
-
* timeBetweenSamples
|
|
48
|
-
* Number of milliseconds between two consecutive
|
|
49
|
-
* starts of acquisition
|
|
50
|
-
*/
|
|
51
|
-
timeBetweenSamples?: UAAnalogItem<number, /*z*/ DataType.Double>;
|
|
52
|
-
/**
|
|
53
|
-
* isActive
|
|
54
|
-
* True if this stream is actually running,
|
|
55
|
-
* acquiring data
|
|
56
|
-
*/
|
|
57
|
-
isActive: UADataItem<boolean, /*z*/ DataType.Boolean>;
|
|
58
|
-
/**
|
|
59
|
-
* executionCycle
|
|
60
|
-
* Indicates which Execution cycle is in progress
|
|
61
|
-
*/
|
|
62
|
-
executionCycle: UADataItem<EnumExecutionCycle, /*z*/ DataType.Int32>;
|
|
63
|
-
/**
|
|
64
|
-
* executionCycleSubcode
|
|
65
|
-
* Indicates which Execution cycle subcode is in
|
|
66
|
-
* progress
|
|
67
|
-
*/
|
|
68
|
-
executionCycleSubcode: UAMultiStateDiscrete<any, any>;
|
|
69
|
-
/**
|
|
70
|
-
* progress
|
|
71
|
-
* Indicates the progress of an acquisition in terms
|
|
72
|
-
* of percentage of completion. Its value shall be
|
|
73
|
-
* between 0 and 100.
|
|
74
|
-
*/
|
|
75
|
-
progress: UADataItem<number, /*z*/ DataType.Float>;
|
|
76
|
-
/**
|
|
77
|
-
* acquisitionCounter
|
|
78
|
-
* Simple counter incremented after each Sampling
|
|
79
|
-
* acquisition performed on this Stream
|
|
80
|
-
*/
|
|
81
|
-
acquisitionCounter: UAAnalogItem<UInt32, /*z*/ DataType.UInt32>;
|
|
82
|
-
/**
|
|
83
|
-
* acquisitionResultStatus
|
|
84
|
-
* Quality of the acquisition
|
|
85
|
-
*/
|
|
86
|
-
acquisitionResultStatus: UADataItem<EnumAcquisitionResultStatus, /*z*/ DataType.Int32>;
|
|
87
|
-
/**
|
|
88
|
-
* rawData
|
|
89
|
-
* Raw data produced as a result of data acquisition
|
|
90
|
-
* on the Stream
|
|
91
|
-
*/
|
|
92
|
-
rawData?: UADataItem<any, any>;
|
|
93
|
-
/**
|
|
94
|
-
* scaledData
|
|
95
|
-
* Scaled data produced as a result of data
|
|
96
|
-
* acquisition on the Stream and application of the
|
|
97
|
-
* analyser model
|
|
98
|
-
*/
|
|
99
|
-
scaledData: UADataItem<any, any>;
|
|
100
|
-
/**
|
|
101
|
-
* offset
|
|
102
|
-
* Difference in milliseconds between the start of
|
|
103
|
-
* sample extraction and the start of the analysis.
|
|
104
|
-
*/
|
|
105
|
-
offset?: UADataItem<number, /*z*/ DataType.Double>;
|
|
106
|
-
/**
|
|
107
|
-
* acquisitionEndTime
|
|
108
|
-
* The end time of the AnalyseSample or
|
|
109
|
-
* AnalyseCalibrationSample or
|
|
110
|
-
* AnalyseValidationSample state of the
|
|
111
|
-
* AnalyserChannel_OperatingModeExecuteSubStateMachine
|
|
112
|
-
* state machine
|
|
113
|
-
*/
|
|
114
|
-
acquisitionEndTime: UADataItem<Date, /*z*/ DataType.DateTime>;
|
|
115
|
-
/**
|
|
116
|
-
* campaignId
|
|
117
|
-
* Defines the current campaign
|
|
118
|
-
*/
|
|
119
|
-
campaignId?: UADataItem<UAString, /*z*/ DataType.String>;
|
|
120
|
-
/**
|
|
121
|
-
* batchId
|
|
122
|
-
* Defines the current batch
|
|
123
|
-
*/
|
|
124
|
-
batchId?: UADataItem<UAString, /*z*/ DataType.String>;
|
|
125
|
-
/**
|
|
126
|
-
* subBatchId
|
|
127
|
-
* Defines the current sub-batch
|
|
128
|
-
*/
|
|
129
|
-
subBatchId?: UADataItem<UAString, /*z*/ DataType.String>;
|
|
130
|
-
/**
|
|
131
|
-
* lotId
|
|
132
|
-
* Defines the current lot
|
|
133
|
-
*/
|
|
134
|
-
lotId?: UADataItem<UAString, /*z*/ DataType.String>;
|
|
135
|
-
/**
|
|
136
|
-
* materialId
|
|
137
|
-
* Defines the current material
|
|
138
|
-
*/
|
|
139
|
-
materialId?: UADataItem<UAString, /*z*/ DataType.String>;
|
|
140
|
-
/**
|
|
141
|
-
* process
|
|
142
|
-
* Current Process name
|
|
143
|
-
*/
|
|
144
|
-
process?: UADataItem<UAString, /*z*/ DataType.String>;
|
|
145
|
-
/**
|
|
146
|
-
* unit
|
|
147
|
-
* Current Unit name
|
|
148
|
-
*/
|
|
149
|
-
unit?: UADataItem<UAString, /*z*/ DataType.String>;
|
|
150
|
-
/**
|
|
151
|
-
* operation
|
|
152
|
-
* Current Operation name
|
|
153
|
-
*/
|
|
154
|
-
operation?: UADataItem<UAString, /*z*/ DataType.String>;
|
|
155
|
-
/**
|
|
156
|
-
* phase
|
|
157
|
-
* Current Phase name
|
|
158
|
-
*/
|
|
159
|
-
phase?: UADataItem<UAString, /*z*/ DataType.String>;
|
|
160
|
-
/**
|
|
161
|
-
* userId
|
|
162
|
-
* Login name of the user who is logged on at the
|
|
163
|
-
* device console
|
|
164
|
-
*/
|
|
165
|
-
userId?: UADataItem<UAString, /*z*/ DataType.String>;
|
|
166
|
-
/**
|
|
167
|
-
* sampleId
|
|
168
|
-
* Identifier for the sample
|
|
169
|
-
*/
|
|
170
|
-
sampleId?: UADataItem<UAString, /*z*/ DataType.String>;
|
|
171
|
-
}
|
|
172
|
-
export interface UAStream_configuration extends UAFunctionalGroup {
|
|
173
|
-
/**
|
|
174
|
-
* isEnabled
|
|
175
|
-
* True if this stream maybe used to perform
|
|
176
|
-
* acquisition
|
|
177
|
-
*/
|
|
178
|
-
isEnabled: UADataItem<boolean, /*z*/ DataType.Boolean>;
|
|
179
|
-
/**
|
|
180
|
-
* isForced
|
|
181
|
-
* True if this stream is forced, which means that
|
|
182
|
-
* is the only Stream on this AnalyserChannel that
|
|
183
|
-
* can be used to perform acquisition
|
|
184
|
-
*/
|
|
185
|
-
isForced?: UADataItem<boolean, /*z*/ DataType.Boolean>;
|
|
186
|
-
}
|
|
187
|
-
export interface UAStream_status extends UAFunctionalGroup {
|
|
188
|
-
/**
|
|
189
|
-
* diagnosticStatus
|
|
190
|
-
* Stream health status
|
|
191
|
-
*/
|
|
192
|
-
diagnosticStatus: UADataItem<EnumDeviceHealth, /*z*/ DataType.Int32>;
|
|
193
|
-
/**
|
|
194
|
-
* lastCalibrationTime
|
|
195
|
-
* Time at which the last calibration was run
|
|
196
|
-
*/
|
|
197
|
-
lastCalibrationTime?: UADataItem<Date, /*z*/ DataType.DateTime>;
|
|
198
|
-
/**
|
|
199
|
-
* lastValidationTime
|
|
200
|
-
* Time at which the last validation was run
|
|
201
|
-
*/
|
|
202
|
-
lastValidationTime?: UADataItem<Date, /*z*/ DataType.DateTime>;
|
|
203
|
-
/**
|
|
204
|
-
* lastSampleTime
|
|
205
|
-
* Time at which the last sample was acquired
|
|
206
|
-
*/
|
|
207
|
-
lastSampleTime: UADataItem<Date, /*z*/ DataType.DateTime>;
|
|
208
|
-
}
|
|
209
|
-
export interface UAStream_acquisitionSettings extends UAFunctionalGroup {
|
|
210
|
-
/**
|
|
211
|
-
* timeBetweenSamples
|
|
212
|
-
* Number of milliseconds between two consecutive
|
|
213
|
-
* starts of acquisition
|
|
214
|
-
*/
|
|
215
|
-
timeBetweenSamples?: UAAnalogItem<number, /*z*/ DataType.Double>;
|
|
216
|
-
}
|
|
217
|
-
export interface UAStream_acquisitionStatus extends UAFunctionalGroup {
|
|
218
|
-
/**
|
|
219
|
-
* isActive
|
|
220
|
-
* True if this stream is actually running,
|
|
221
|
-
* acquiring data
|
|
222
|
-
*/
|
|
223
|
-
isActive: UADataItem<boolean, /*z*/ DataType.Boolean>;
|
|
224
|
-
/**
|
|
225
|
-
* executionCycle
|
|
226
|
-
* Indicates which Execution cycle is in progress
|
|
227
|
-
*/
|
|
228
|
-
executionCycle: UADataItem<EnumExecutionCycle, /*z*/ DataType.Int32>;
|
|
229
|
-
/**
|
|
230
|
-
* executionCycleSubcode
|
|
231
|
-
* Indicates which Execution cycle subcode is in
|
|
232
|
-
* progress
|
|
233
|
-
*/
|
|
234
|
-
executionCycleSubcode: UAMultiStateDiscrete<any, any>;
|
|
235
|
-
/**
|
|
236
|
-
* progress
|
|
237
|
-
* Indicates the progress of an acquisition in terms
|
|
238
|
-
* of percentage of completion. Its value shall be
|
|
239
|
-
* between 0 and 100.
|
|
240
|
-
*/
|
|
241
|
-
progress: UADataItem<number, /*z*/ DataType.Float>;
|
|
242
|
-
}
|
|
243
|
-
export interface UAStream_acquisitionData extends UAFunctionalGroup {
|
|
244
|
-
/**
|
|
245
|
-
* acquisitionCounter
|
|
246
|
-
* Simple counter incremented after each Sampling
|
|
247
|
-
* acquisition performed on this Stream
|
|
248
|
-
*/
|
|
249
|
-
acquisitionCounter: UAAnalogItem<UInt32, /*z*/ DataType.UInt32>;
|
|
250
|
-
/**
|
|
251
|
-
* acquisitionResultStatus
|
|
252
|
-
* Quality of the acquisition
|
|
253
|
-
*/
|
|
254
|
-
acquisitionResultStatus: UADataItem<EnumAcquisitionResultStatus, /*z*/ DataType.Int32>;
|
|
255
|
-
/**
|
|
256
|
-
* rawData
|
|
257
|
-
* Raw data produced as a result of data acquisition
|
|
258
|
-
* on the Stream
|
|
259
|
-
*/
|
|
260
|
-
rawData?: UADataItem<any, any>;
|
|
261
|
-
/**
|
|
262
|
-
* scaledData
|
|
263
|
-
* Scaled data produced as a result of data
|
|
264
|
-
* acquisition on the Stream and application of the
|
|
265
|
-
* analyser model
|
|
266
|
-
*/
|
|
267
|
-
scaledData: UADataItem<any, any>;
|
|
268
|
-
/**
|
|
269
|
-
* offset
|
|
270
|
-
* Difference in milliseconds between the start of
|
|
271
|
-
* sample extraction and the start of the analysis.
|
|
272
|
-
*/
|
|
273
|
-
offset?: UADataItem<number, /*z*/ DataType.Double>;
|
|
274
|
-
/**
|
|
275
|
-
* acquisitionEndTime
|
|
276
|
-
* The end time of the AnalyseSample or
|
|
277
|
-
* AnalyseCalibrationSample or
|
|
278
|
-
* AnalyseValidationSample state of the
|
|
279
|
-
* AnalyserChannel_OperatingModeExecuteSubStateMachine
|
|
280
|
-
* state machine
|
|
281
|
-
*/
|
|
282
|
-
acquisitionEndTime: UADataItem<Date, /*z*/ DataType.DateTime>;
|
|
283
|
-
}
|
|
284
|
-
export interface UAStream_context extends UAFunctionalGroup {
|
|
285
|
-
/**
|
|
286
|
-
* campaignId
|
|
287
|
-
* Defines the current campaign
|
|
288
|
-
*/
|
|
289
|
-
campaignId?: UADataItem<UAString, /*z*/ DataType.String>;
|
|
290
|
-
/**
|
|
291
|
-
* batchId
|
|
292
|
-
* Defines the current batch
|
|
293
|
-
*/
|
|
294
|
-
batchId?: UADataItem<UAString, /*z*/ DataType.String>;
|
|
295
|
-
/**
|
|
296
|
-
* subBatchId
|
|
297
|
-
* Defines the current sub-batch
|
|
298
|
-
*/
|
|
299
|
-
subBatchId?: UADataItem<UAString, /*z*/ DataType.String>;
|
|
300
|
-
/**
|
|
301
|
-
* lotId
|
|
302
|
-
* Defines the current lot
|
|
303
|
-
*/
|
|
304
|
-
lotId?: UADataItem<UAString, /*z*/ DataType.String>;
|
|
305
|
-
/**
|
|
306
|
-
* materialId
|
|
307
|
-
* Defines the current material
|
|
308
|
-
*/
|
|
309
|
-
materialId?: UADataItem<UAString, /*z*/ DataType.String>;
|
|
310
|
-
/**
|
|
311
|
-
* process
|
|
312
|
-
* Current Process name
|
|
313
|
-
*/
|
|
314
|
-
process?: UADataItem<UAString, /*z*/ DataType.String>;
|
|
315
|
-
/**
|
|
316
|
-
* unit
|
|
317
|
-
* Current Unit name
|
|
318
|
-
*/
|
|
319
|
-
unit?: UADataItem<UAString, /*z*/ DataType.String>;
|
|
320
|
-
/**
|
|
321
|
-
* operation
|
|
322
|
-
* Current Operation name
|
|
323
|
-
*/
|
|
324
|
-
operation?: UADataItem<UAString, /*z*/ DataType.String>;
|
|
325
|
-
/**
|
|
326
|
-
* phase
|
|
327
|
-
* Current Phase name
|
|
328
|
-
*/
|
|
329
|
-
phase?: UADataItem<UAString, /*z*/ DataType.String>;
|
|
330
|
-
/**
|
|
331
|
-
* userId
|
|
332
|
-
* Login name of the user who is logged on at the
|
|
333
|
-
* device console
|
|
334
|
-
*/
|
|
335
|
-
userId?: UADataItem<UAString, /*z*/ DataType.String>;
|
|
336
|
-
/**
|
|
337
|
-
* sampleId
|
|
338
|
-
* Identifier for the sample
|
|
339
|
-
*/
|
|
340
|
-
sampleId?: UADataItem<UAString, /*z*/ DataType.String>;
|
|
341
|
-
}
|
|
342
|
-
/**
|
|
343
|
-
* | | |
|
|
344
|
-
* |----------------|--------------------------------------------------|
|
|
345
|
-
* |namespace |http://opcfoundation.org/UA/ADI/ |
|
|
346
|
-
* |nodeClass |ObjectType |
|
|
347
|
-
* |typedDefinition |2:StreamType ns=2;i=1010 |
|
|
348
|
-
* |isAbstract |false |
|
|
349
|
-
*/
|
|
350
|
-
export interface UAStream_Base extends UATopologyElement_Base {
|
|
351
|
-
/**
|
|
352
|
-
* parameterSet
|
|
353
|
-
* Flat list of Parameters
|
|
354
|
-
*/
|
|
355
|
-
parameterSet?: UAStream_parameterSet;
|
|
356
|
-
configuration: UAStream_configuration;
|
|
357
|
-
status: UAStream_status;
|
|
358
|
-
acquisitionSettings: UAStream_acquisitionSettings;
|
|
359
|
-
acquisitionStatus: UAStream_acquisitionStatus;
|
|
360
|
-
acquisitionData: UAStream_acquisitionData;
|
|
361
|
-
chemometricModelSettings: UAFunctionalGroup;
|
|
362
|
-
context: UAStream_context;
|
|
363
|
-
}
|
|
364
|
-
export interface UAStream extends Omit<UATopologyElement, "parameterSet" | "$GroupIdentifier$">, UAStream_Base {
|
|
365
|
-
}
|
|
1
|
+
import { UAObject } from "node-opcua-address-space-base";
|
|
2
|
+
import { DataType } from "node-opcua-variant";
|
|
3
|
+
import { UInt32, UAString } from "node-opcua-basic-types";
|
|
4
|
+
import { UADataItem } from "node-opcua-nodeset-ua/source/ua_data_item";
|
|
5
|
+
import { UAAnalogItem } from "node-opcua-nodeset-ua/source/ua_analog_item";
|
|
6
|
+
import { UAMultiStateDiscrete } from "node-opcua-nodeset-ua/source/ua_multi_state_discrete";
|
|
7
|
+
import { EnumDeviceHealth } from "node-opcua-nodeset-di/source/enum_device_health";
|
|
8
|
+
import { UAFunctionalGroup } from "node-opcua-nodeset-di/source/ua_functional_group";
|
|
9
|
+
import { UATopologyElement, UATopologyElement_Base } from "node-opcua-nodeset-di/source/ua_topology_element";
|
|
10
|
+
import { EnumExecutionCycle } from "./enum_execution_cycle";
|
|
11
|
+
import { EnumAcquisitionResultStatus } from "./enum_acquisition_result_status";
|
|
12
|
+
export interface UAStream_parameterSet extends UAObject {
|
|
13
|
+
/**
|
|
14
|
+
* isEnabled
|
|
15
|
+
* True if this stream maybe used to perform
|
|
16
|
+
* acquisition
|
|
17
|
+
*/
|
|
18
|
+
isEnabled: UADataItem<boolean, /*z*/ DataType.Boolean>;
|
|
19
|
+
/**
|
|
20
|
+
* isForced
|
|
21
|
+
* True if this stream is forced, which means that
|
|
22
|
+
* is the only Stream on this AnalyserChannel that
|
|
23
|
+
* can be used to perform acquisition
|
|
24
|
+
*/
|
|
25
|
+
isForced?: UADataItem<boolean, /*z*/ DataType.Boolean>;
|
|
26
|
+
/**
|
|
27
|
+
* diagnosticStatus
|
|
28
|
+
* Stream health status
|
|
29
|
+
*/
|
|
30
|
+
diagnosticStatus: UADataItem<EnumDeviceHealth, /*z*/ DataType.Int32>;
|
|
31
|
+
/**
|
|
32
|
+
* lastCalibrationTime
|
|
33
|
+
* Time at which the last calibration was run
|
|
34
|
+
*/
|
|
35
|
+
lastCalibrationTime?: UADataItem<Date, /*z*/ DataType.DateTime>;
|
|
36
|
+
/**
|
|
37
|
+
* lastValidationTime
|
|
38
|
+
* Time at which the last validation was run
|
|
39
|
+
*/
|
|
40
|
+
lastValidationTime?: UADataItem<Date, /*z*/ DataType.DateTime>;
|
|
41
|
+
/**
|
|
42
|
+
* lastSampleTime
|
|
43
|
+
* Time at which the last sample was acquired
|
|
44
|
+
*/
|
|
45
|
+
lastSampleTime: UADataItem<Date, /*z*/ DataType.DateTime>;
|
|
46
|
+
/**
|
|
47
|
+
* timeBetweenSamples
|
|
48
|
+
* Number of milliseconds between two consecutive
|
|
49
|
+
* starts of acquisition
|
|
50
|
+
*/
|
|
51
|
+
timeBetweenSamples?: UAAnalogItem<number, /*z*/ DataType.Double>;
|
|
52
|
+
/**
|
|
53
|
+
* isActive
|
|
54
|
+
* True if this stream is actually running,
|
|
55
|
+
* acquiring data
|
|
56
|
+
*/
|
|
57
|
+
isActive: UADataItem<boolean, /*z*/ DataType.Boolean>;
|
|
58
|
+
/**
|
|
59
|
+
* executionCycle
|
|
60
|
+
* Indicates which Execution cycle is in progress
|
|
61
|
+
*/
|
|
62
|
+
executionCycle: UADataItem<EnumExecutionCycle, /*z*/ DataType.Int32>;
|
|
63
|
+
/**
|
|
64
|
+
* executionCycleSubcode
|
|
65
|
+
* Indicates which Execution cycle subcode is in
|
|
66
|
+
* progress
|
|
67
|
+
*/
|
|
68
|
+
executionCycleSubcode: UAMultiStateDiscrete<any, any>;
|
|
69
|
+
/**
|
|
70
|
+
* progress
|
|
71
|
+
* Indicates the progress of an acquisition in terms
|
|
72
|
+
* of percentage of completion. Its value shall be
|
|
73
|
+
* between 0 and 100.
|
|
74
|
+
*/
|
|
75
|
+
progress: UADataItem<number, /*z*/ DataType.Float>;
|
|
76
|
+
/**
|
|
77
|
+
* acquisitionCounter
|
|
78
|
+
* Simple counter incremented after each Sampling
|
|
79
|
+
* acquisition performed on this Stream
|
|
80
|
+
*/
|
|
81
|
+
acquisitionCounter: UAAnalogItem<UInt32, /*z*/ DataType.UInt32>;
|
|
82
|
+
/**
|
|
83
|
+
* acquisitionResultStatus
|
|
84
|
+
* Quality of the acquisition
|
|
85
|
+
*/
|
|
86
|
+
acquisitionResultStatus: UADataItem<EnumAcquisitionResultStatus, /*z*/ DataType.Int32>;
|
|
87
|
+
/**
|
|
88
|
+
* rawData
|
|
89
|
+
* Raw data produced as a result of data acquisition
|
|
90
|
+
* on the Stream
|
|
91
|
+
*/
|
|
92
|
+
rawData?: UADataItem<any, any>;
|
|
93
|
+
/**
|
|
94
|
+
* scaledData
|
|
95
|
+
* Scaled data produced as a result of data
|
|
96
|
+
* acquisition on the Stream and application of the
|
|
97
|
+
* analyser model
|
|
98
|
+
*/
|
|
99
|
+
scaledData: UADataItem<any, any>;
|
|
100
|
+
/**
|
|
101
|
+
* offset
|
|
102
|
+
* Difference in milliseconds between the start of
|
|
103
|
+
* sample extraction and the start of the analysis.
|
|
104
|
+
*/
|
|
105
|
+
offset?: UADataItem<number, /*z*/ DataType.Double>;
|
|
106
|
+
/**
|
|
107
|
+
* acquisitionEndTime
|
|
108
|
+
* The end time of the AnalyseSample or
|
|
109
|
+
* AnalyseCalibrationSample or
|
|
110
|
+
* AnalyseValidationSample state of the
|
|
111
|
+
* AnalyserChannel_OperatingModeExecuteSubStateMachine
|
|
112
|
+
* state machine
|
|
113
|
+
*/
|
|
114
|
+
acquisitionEndTime: UADataItem<Date, /*z*/ DataType.DateTime>;
|
|
115
|
+
/**
|
|
116
|
+
* campaignId
|
|
117
|
+
* Defines the current campaign
|
|
118
|
+
*/
|
|
119
|
+
campaignId?: UADataItem<UAString, /*z*/ DataType.String>;
|
|
120
|
+
/**
|
|
121
|
+
* batchId
|
|
122
|
+
* Defines the current batch
|
|
123
|
+
*/
|
|
124
|
+
batchId?: UADataItem<UAString, /*z*/ DataType.String>;
|
|
125
|
+
/**
|
|
126
|
+
* subBatchId
|
|
127
|
+
* Defines the current sub-batch
|
|
128
|
+
*/
|
|
129
|
+
subBatchId?: UADataItem<UAString, /*z*/ DataType.String>;
|
|
130
|
+
/**
|
|
131
|
+
* lotId
|
|
132
|
+
* Defines the current lot
|
|
133
|
+
*/
|
|
134
|
+
lotId?: UADataItem<UAString, /*z*/ DataType.String>;
|
|
135
|
+
/**
|
|
136
|
+
* materialId
|
|
137
|
+
* Defines the current material
|
|
138
|
+
*/
|
|
139
|
+
materialId?: UADataItem<UAString, /*z*/ DataType.String>;
|
|
140
|
+
/**
|
|
141
|
+
* process
|
|
142
|
+
* Current Process name
|
|
143
|
+
*/
|
|
144
|
+
process?: UADataItem<UAString, /*z*/ DataType.String>;
|
|
145
|
+
/**
|
|
146
|
+
* unit
|
|
147
|
+
* Current Unit name
|
|
148
|
+
*/
|
|
149
|
+
unit?: UADataItem<UAString, /*z*/ DataType.String>;
|
|
150
|
+
/**
|
|
151
|
+
* operation
|
|
152
|
+
* Current Operation name
|
|
153
|
+
*/
|
|
154
|
+
operation?: UADataItem<UAString, /*z*/ DataType.String>;
|
|
155
|
+
/**
|
|
156
|
+
* phase
|
|
157
|
+
* Current Phase name
|
|
158
|
+
*/
|
|
159
|
+
phase?: UADataItem<UAString, /*z*/ DataType.String>;
|
|
160
|
+
/**
|
|
161
|
+
* userId
|
|
162
|
+
* Login name of the user who is logged on at the
|
|
163
|
+
* device console
|
|
164
|
+
*/
|
|
165
|
+
userId?: UADataItem<UAString, /*z*/ DataType.String>;
|
|
166
|
+
/**
|
|
167
|
+
* sampleId
|
|
168
|
+
* Identifier for the sample
|
|
169
|
+
*/
|
|
170
|
+
sampleId?: UADataItem<UAString, /*z*/ DataType.String>;
|
|
171
|
+
}
|
|
172
|
+
export interface UAStream_configuration extends UAFunctionalGroup {
|
|
173
|
+
/**
|
|
174
|
+
* isEnabled
|
|
175
|
+
* True if this stream maybe used to perform
|
|
176
|
+
* acquisition
|
|
177
|
+
*/
|
|
178
|
+
isEnabled: UADataItem<boolean, /*z*/ DataType.Boolean>;
|
|
179
|
+
/**
|
|
180
|
+
* isForced
|
|
181
|
+
* True if this stream is forced, which means that
|
|
182
|
+
* is the only Stream on this AnalyserChannel that
|
|
183
|
+
* can be used to perform acquisition
|
|
184
|
+
*/
|
|
185
|
+
isForced?: UADataItem<boolean, /*z*/ DataType.Boolean>;
|
|
186
|
+
}
|
|
187
|
+
export interface UAStream_status extends UAFunctionalGroup {
|
|
188
|
+
/**
|
|
189
|
+
* diagnosticStatus
|
|
190
|
+
* Stream health status
|
|
191
|
+
*/
|
|
192
|
+
diagnosticStatus: UADataItem<EnumDeviceHealth, /*z*/ DataType.Int32>;
|
|
193
|
+
/**
|
|
194
|
+
* lastCalibrationTime
|
|
195
|
+
* Time at which the last calibration was run
|
|
196
|
+
*/
|
|
197
|
+
lastCalibrationTime?: UADataItem<Date, /*z*/ DataType.DateTime>;
|
|
198
|
+
/**
|
|
199
|
+
* lastValidationTime
|
|
200
|
+
* Time at which the last validation was run
|
|
201
|
+
*/
|
|
202
|
+
lastValidationTime?: UADataItem<Date, /*z*/ DataType.DateTime>;
|
|
203
|
+
/**
|
|
204
|
+
* lastSampleTime
|
|
205
|
+
* Time at which the last sample was acquired
|
|
206
|
+
*/
|
|
207
|
+
lastSampleTime: UADataItem<Date, /*z*/ DataType.DateTime>;
|
|
208
|
+
}
|
|
209
|
+
export interface UAStream_acquisitionSettings extends UAFunctionalGroup {
|
|
210
|
+
/**
|
|
211
|
+
* timeBetweenSamples
|
|
212
|
+
* Number of milliseconds between two consecutive
|
|
213
|
+
* starts of acquisition
|
|
214
|
+
*/
|
|
215
|
+
timeBetweenSamples?: UAAnalogItem<number, /*z*/ DataType.Double>;
|
|
216
|
+
}
|
|
217
|
+
export interface UAStream_acquisitionStatus extends UAFunctionalGroup {
|
|
218
|
+
/**
|
|
219
|
+
* isActive
|
|
220
|
+
* True if this stream is actually running,
|
|
221
|
+
* acquiring data
|
|
222
|
+
*/
|
|
223
|
+
isActive: UADataItem<boolean, /*z*/ DataType.Boolean>;
|
|
224
|
+
/**
|
|
225
|
+
* executionCycle
|
|
226
|
+
* Indicates which Execution cycle is in progress
|
|
227
|
+
*/
|
|
228
|
+
executionCycle: UADataItem<EnumExecutionCycle, /*z*/ DataType.Int32>;
|
|
229
|
+
/**
|
|
230
|
+
* executionCycleSubcode
|
|
231
|
+
* Indicates which Execution cycle subcode is in
|
|
232
|
+
* progress
|
|
233
|
+
*/
|
|
234
|
+
executionCycleSubcode: UAMultiStateDiscrete<any, any>;
|
|
235
|
+
/**
|
|
236
|
+
* progress
|
|
237
|
+
* Indicates the progress of an acquisition in terms
|
|
238
|
+
* of percentage of completion. Its value shall be
|
|
239
|
+
* between 0 and 100.
|
|
240
|
+
*/
|
|
241
|
+
progress: UADataItem<number, /*z*/ DataType.Float>;
|
|
242
|
+
}
|
|
243
|
+
export interface UAStream_acquisitionData extends UAFunctionalGroup {
|
|
244
|
+
/**
|
|
245
|
+
* acquisitionCounter
|
|
246
|
+
* Simple counter incremented after each Sampling
|
|
247
|
+
* acquisition performed on this Stream
|
|
248
|
+
*/
|
|
249
|
+
acquisitionCounter: UAAnalogItem<UInt32, /*z*/ DataType.UInt32>;
|
|
250
|
+
/**
|
|
251
|
+
* acquisitionResultStatus
|
|
252
|
+
* Quality of the acquisition
|
|
253
|
+
*/
|
|
254
|
+
acquisitionResultStatus: UADataItem<EnumAcquisitionResultStatus, /*z*/ DataType.Int32>;
|
|
255
|
+
/**
|
|
256
|
+
* rawData
|
|
257
|
+
* Raw data produced as a result of data acquisition
|
|
258
|
+
* on the Stream
|
|
259
|
+
*/
|
|
260
|
+
rawData?: UADataItem<any, any>;
|
|
261
|
+
/**
|
|
262
|
+
* scaledData
|
|
263
|
+
* Scaled data produced as a result of data
|
|
264
|
+
* acquisition on the Stream and application of the
|
|
265
|
+
* analyser model
|
|
266
|
+
*/
|
|
267
|
+
scaledData: UADataItem<any, any>;
|
|
268
|
+
/**
|
|
269
|
+
* offset
|
|
270
|
+
* Difference in milliseconds between the start of
|
|
271
|
+
* sample extraction and the start of the analysis.
|
|
272
|
+
*/
|
|
273
|
+
offset?: UADataItem<number, /*z*/ DataType.Double>;
|
|
274
|
+
/**
|
|
275
|
+
* acquisitionEndTime
|
|
276
|
+
* The end time of the AnalyseSample or
|
|
277
|
+
* AnalyseCalibrationSample or
|
|
278
|
+
* AnalyseValidationSample state of the
|
|
279
|
+
* AnalyserChannel_OperatingModeExecuteSubStateMachine
|
|
280
|
+
* state machine
|
|
281
|
+
*/
|
|
282
|
+
acquisitionEndTime: UADataItem<Date, /*z*/ DataType.DateTime>;
|
|
283
|
+
}
|
|
284
|
+
export interface UAStream_context extends UAFunctionalGroup {
|
|
285
|
+
/**
|
|
286
|
+
* campaignId
|
|
287
|
+
* Defines the current campaign
|
|
288
|
+
*/
|
|
289
|
+
campaignId?: UADataItem<UAString, /*z*/ DataType.String>;
|
|
290
|
+
/**
|
|
291
|
+
* batchId
|
|
292
|
+
* Defines the current batch
|
|
293
|
+
*/
|
|
294
|
+
batchId?: UADataItem<UAString, /*z*/ DataType.String>;
|
|
295
|
+
/**
|
|
296
|
+
* subBatchId
|
|
297
|
+
* Defines the current sub-batch
|
|
298
|
+
*/
|
|
299
|
+
subBatchId?: UADataItem<UAString, /*z*/ DataType.String>;
|
|
300
|
+
/**
|
|
301
|
+
* lotId
|
|
302
|
+
* Defines the current lot
|
|
303
|
+
*/
|
|
304
|
+
lotId?: UADataItem<UAString, /*z*/ DataType.String>;
|
|
305
|
+
/**
|
|
306
|
+
* materialId
|
|
307
|
+
* Defines the current material
|
|
308
|
+
*/
|
|
309
|
+
materialId?: UADataItem<UAString, /*z*/ DataType.String>;
|
|
310
|
+
/**
|
|
311
|
+
* process
|
|
312
|
+
* Current Process name
|
|
313
|
+
*/
|
|
314
|
+
process?: UADataItem<UAString, /*z*/ DataType.String>;
|
|
315
|
+
/**
|
|
316
|
+
* unit
|
|
317
|
+
* Current Unit name
|
|
318
|
+
*/
|
|
319
|
+
unit?: UADataItem<UAString, /*z*/ DataType.String>;
|
|
320
|
+
/**
|
|
321
|
+
* operation
|
|
322
|
+
* Current Operation name
|
|
323
|
+
*/
|
|
324
|
+
operation?: UADataItem<UAString, /*z*/ DataType.String>;
|
|
325
|
+
/**
|
|
326
|
+
* phase
|
|
327
|
+
* Current Phase name
|
|
328
|
+
*/
|
|
329
|
+
phase?: UADataItem<UAString, /*z*/ DataType.String>;
|
|
330
|
+
/**
|
|
331
|
+
* userId
|
|
332
|
+
* Login name of the user who is logged on at the
|
|
333
|
+
* device console
|
|
334
|
+
*/
|
|
335
|
+
userId?: UADataItem<UAString, /*z*/ DataType.String>;
|
|
336
|
+
/**
|
|
337
|
+
* sampleId
|
|
338
|
+
* Identifier for the sample
|
|
339
|
+
*/
|
|
340
|
+
sampleId?: UADataItem<UAString, /*z*/ DataType.String>;
|
|
341
|
+
}
|
|
342
|
+
/**
|
|
343
|
+
* | | |
|
|
344
|
+
* |----------------|--------------------------------------------------|
|
|
345
|
+
* |namespace |http://opcfoundation.org/UA/ADI/ |
|
|
346
|
+
* |nodeClass |ObjectType |
|
|
347
|
+
* |typedDefinition |2:StreamType ns=2;i=1010 |
|
|
348
|
+
* |isAbstract |false |
|
|
349
|
+
*/
|
|
350
|
+
export interface UAStream_Base extends UATopologyElement_Base {
|
|
351
|
+
/**
|
|
352
|
+
* parameterSet
|
|
353
|
+
* Flat list of Parameters
|
|
354
|
+
*/
|
|
355
|
+
parameterSet?: UAStream_parameterSet;
|
|
356
|
+
configuration: UAStream_configuration;
|
|
357
|
+
status: UAStream_status;
|
|
358
|
+
acquisitionSettings: UAStream_acquisitionSettings;
|
|
359
|
+
acquisitionStatus: UAStream_acquisitionStatus;
|
|
360
|
+
acquisitionData: UAStream_acquisitionData;
|
|
361
|
+
chemometricModelSettings: UAFunctionalGroup;
|
|
362
|
+
context: UAStream_context;
|
|
363
|
+
}
|
|
364
|
+
export interface UAStream extends Omit<UATopologyElement, "parameterSet" | "$GroupIdentifier$">, UAStream_Base {
|
|
365
|
+
}
|