node-opcua-nodeset-adi 2.51.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 +20 -0
- package/dist/enum_acquisition_result_status.d.ts +34 -0
- package/dist/enum_acquisition_result_status.js +40 -0
- package/dist/enum_acquisition_result_status.js.map +1 -0
- package/dist/enum_alarm_state.d.ts +40 -0
- package/dist/enum_alarm_state.js +46 -0
- package/dist/enum_alarm_state.js.map +1 -0
- package/dist/enum_execution_cycle.d.ts +64 -0
- package/dist/enum_execution_cycle.js +70 -0
- package/dist/enum_execution_cycle.js.map +1 -0
- package/dist/index.d.ts +38 -0
- package/dist/index.js +51 -0
- package/dist/index.js.map +1 -0
- package/dist/ua_accessory.d.ts +30 -0
- package/dist/ua_accessory.js +3 -0
- package/dist/ua_accessory.js.map +1 -0
- package/dist/ua_accessory_slot.d.ts +34 -0
- package/dist/ua_accessory_slot.js +3 -0
- package/dist/ua_accessory_slot.js.map +1 -0
- package/dist/ua_accessory_slot_state_machine.d.ts +67 -0
- package/dist/ua_accessory_slot_state_machine.js +3 -0
- package/dist/ua_accessory_slot_state_machine.js.map +1 -0
- package/dist/ua_acoustic_spectrometer_device.d.ts +13 -0
- package/dist/ua_acoustic_spectrometer_device.js +3 -0
- package/dist/ua_acoustic_spectrometer_device.js.map +1 -0
- package/dist/ua_acoustic_spectrometer_device_stream.d.ts +13 -0
- package/dist/ua_acoustic_spectrometer_device_stream.js +3 -0
- package/dist/ua_acoustic_spectrometer_device_stream.js.map +1 -0
- package/dist/ua_analyser_channel.d.ts +89 -0
- package/dist/ua_analyser_channel.js +3 -0
- package/dist/ua_analyser_channel.js.map +1 -0
- package/dist/ua_analyser_channel_local_state.d.ts +13 -0
- package/dist/ua_analyser_channel_local_state.js +3 -0
- package/dist/ua_analyser_channel_local_state.js.map +1 -0
- package/dist/ua_analyser_channel_maintenance_state.d.ts +13 -0
- package/dist/ua_analyser_channel_maintenance_state.js +3 -0
- package/dist/ua_analyser_channel_maintenance_state.js.map +1 -0
- package/dist/ua_analyser_channel_operating_execute_state.d.ts +13 -0
- package/dist/ua_analyser_channel_operating_execute_state.js +3 -0
- package/dist/ua_analyser_channel_operating_execute_state.js.map +1 -0
- package/dist/ua_analyser_channel_operating_mode_execute_sub_state_machine.d.ts +231 -0
- package/dist/ua_analyser_channel_operating_mode_execute_sub_state_machine.js +3 -0
- package/dist/ua_analyser_channel_operating_mode_execute_sub_state_machine.js.map +1 -0
- package/dist/ua_analyser_channel_operating_mode_sub_state_machine.d.ts +351 -0
- package/dist/ua_analyser_channel_operating_mode_sub_state_machine.js +3 -0
- package/dist/ua_analyser_channel_operating_mode_sub_state_machine.js.map +1 -0
- package/dist/ua_analyser_channel_operating_state.d.ts +13 -0
- package/dist/ua_analyser_channel_operating_state.js +3 -0
- package/dist/ua_analyser_channel_operating_state.js.map +1 -0
- package/dist/ua_analyser_channel_state_machine.d.ts +60 -0
- package/dist/ua_analyser_channel_state_machine.js +3 -0
- package/dist/ua_analyser_channel_state_machine.js.map +1 -0
- package/dist/ua_analyser_device.d.ts +97 -0
- package/dist/ua_analyser_device.js +3 -0
- package/dist/ua_analyser_device.js.map +1 -0
- package/dist/ua_analyser_device_state_machine.d.ts +57 -0
- package/dist/ua_analyser_device_state_machine.js +3 -0
- package/dist/ua_analyser_device_state_machine.js.map +1 -0
- package/dist/ua_chemometric_model.d.ts +26 -0
- package/dist/ua_chemometric_model.js +3 -0
- package/dist/ua_chemometric_model.js.map +1 -0
- package/dist/ua_chromatograph_device.d.ts +13 -0
- package/dist/ua_chromatograph_device.js +3 -0
- package/dist/ua_chromatograph_device.js.map +1 -0
- package/dist/ua_chromatograph_device_stream.d.ts +13 -0
- package/dist/ua_chromatograph_device_stream.js +3 -0
- package/dist/ua_chromatograph_device_stream.js.map +1 -0
- package/dist/ua_detector.d.ts +13 -0
- package/dist/ua_detector.js +3 -0
- package/dist/ua_detector.js.map +1 -0
- package/dist/ua_engineering_value.d.ts +19 -0
- package/dist/ua_engineering_value.js +3 -0
- package/dist/ua_engineering_value.js.map +1 -0
- package/dist/ua_gc_oven.d.ts +13 -0
- package/dist/ua_gc_oven.js +3 -0
- package/dist/ua_gc_oven.js.map +1 -0
- package/dist/ua_mass_spectrometer_device.d.ts +13 -0
- package/dist/ua_mass_spectrometer_device.js +3 -0
- package/dist/ua_mass_spectrometer_device.js.map +1 -0
- package/dist/ua_mass_spectrometer_device_stream.d.ts +13 -0
- package/dist/ua_mass_spectrometer_device_stream.js +3 -0
- package/dist/ua_mass_spectrometer_device_stream.js.map +1 -0
- package/dist/ua_mnr_device_stream.d.ts +13 -0
- package/dist/ua_mnr_device_stream.js +3 -0
- package/dist/ua_mnr_device_stream.js.map +1 -0
- package/dist/ua_mva_model.d.ts +24 -0
- package/dist/ua_mva_model.js +3 -0
- package/dist/ua_mva_model.js.map +1 -0
- package/dist/ua_mva_output_parameter.d.ts +27 -0
- package/dist/ua_mva_output_parameter.js +3 -0
- package/dist/ua_mva_output_parameter.js.map +1 -0
- package/dist/ua_nmr_device.d.ts +13 -0
- package/dist/ua_nmr_device.js +3 -0
- package/dist/ua_nmr_device.js.map +1 -0
- package/dist/ua_particle_size_monitor_device.d.ts +13 -0
- package/dist/ua_particle_size_monitor_device.js +3 -0
- package/dist/ua_particle_size_monitor_device.js.map +1 -0
- package/dist/ua_particle_size_monitor_device_stream.d.ts +32 -0
- package/dist/ua_particle_size_monitor_device_stream.js +3 -0
- package/dist/ua_particle_size_monitor_device_stream.js.map +1 -0
- package/dist/ua_process_variable.d.ts +21 -0
- package/dist/ua_process_variable.js +3 -0
- package/dist/ua_process_variable.js.map +1 -0
- package/dist/ua_smart_sampling_system.d.ts +13 -0
- package/dist/ua_smart_sampling_system.js +3 -0
- package/dist/ua_smart_sampling_system.js.map +1 -0
- package/dist/ua_source.d.ts +13 -0
- package/dist/ua_source.js +3 -0
- package/dist/ua_source.js.map +1 -0
- package/dist/ua_spectrometer_device.d.ts +26 -0
- package/dist/ua_spectrometer_device.js +3 -0
- package/dist/ua_spectrometer_device.js.map +1 -0
- package/dist/ua_spectrometer_device_stream.d.ts +65 -0
- package/dist/ua_spectrometer_device_stream.js +3 -0
- package/dist/ua_spectrometer_device_stream.js.map +1 -0
- package/dist/ua_stream.d.ts +362 -0
- package/dist/ua_stream.js +3 -0
- package/dist/ua_stream.js.map +1 -0
- package/package.json +23 -0
- package/pnpm-lock.yaml +21 -0
- package/source/enum_acquisition_result_status.ts +36 -0
- package/source/enum_alarm_state.ts +42 -0
- package/source/enum_execution_cycle.ts +66 -0
- package/source/index.ts +38 -0
- package/source/ua_accessory.ts +31 -0
- package/source/ua_accessory_slot.ts +35 -0
- package/source/ua_accessory_slot_state_machine.ts +70 -0
- package/source/ua_acoustic_spectrometer_device.ts +14 -0
- package/source/ua_acoustic_spectrometer_device_stream.ts +14 -0
- package/source/ua_analyser_channel.ts +90 -0
- package/source/ua_analyser_channel_local_state.ts +14 -0
- package/source/ua_analyser_channel_maintenance_state.ts +14 -0
- package/source/ua_analyser_channel_operating_execute_state.ts +14 -0
- package/source/ua_analyser_channel_operating_mode_execute_sub_state_machine.ts +232 -0
- package/source/ua_analyser_channel_operating_mode_sub_state_machine.ts +352 -0
- package/source/ua_analyser_channel_operating_state.ts +14 -0
- package/source/ua_analyser_channel_state_machine.ts +64 -0
- package/source/ua_analyser_device.ts +101 -0
- package/source/ua_analyser_device_state_machine.ts +62 -0
- package/source/ua_chemometric_model.ts +26 -0
- package/source/ua_chromatograph_device.ts +14 -0
- package/source/ua_chromatograph_device_stream.ts +14 -0
- package/source/ua_detector.ts +14 -0
- package/source/ua_engineering_value.ts +20 -0
- package/source/ua_gc_oven.ts +14 -0
- package/source/ua_mass_spectrometer_device.ts +14 -0
- package/source/ua_mass_spectrometer_device_stream.ts +14 -0
- package/source/ua_mnr_device_stream.ts +14 -0
- package/source/ua_mva_model.ts +25 -0
- package/source/ua_mva_output_parameter.ts +28 -0
- package/source/ua_nmr_device.ts +14 -0
- package/source/ua_particle_size_monitor_device.ts +14 -0
- package/source/ua_particle_size_monitor_device_stream.ts +34 -0
- package/source/ua_process_variable.ts +22 -0
- package/source/ua_smart_sampling_system.ts +14 -0
- package/source/ua_source.ts +14 -0
- package/source/ua_spectrometer_device.ts +27 -0
- package/source/ua_spectrometer_device_stream.ts +69 -0
- package/source/ua_stream.ts +363 -0
- package/tsconfig.json +25 -0
- package/tsconfig.tsbuildinfo +1 -0
|
@@ -0,0 +1,362 @@
|
|
|
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 { UAFunctionalGroup } from "node-opcua-nodeset-di/source/ua_functional_group";
|
|
8
|
+
import { UATopologyElement, UATopologyElement_Base } from "node-opcua-nodeset-di/source/ua_topology_element";
|
|
9
|
+
export interface UAStream_parameterSet extends UAObject {
|
|
10
|
+
/**
|
|
11
|
+
* isEnabled
|
|
12
|
+
* True if this stream maybe used to perform
|
|
13
|
+
* acquisition
|
|
14
|
+
*/
|
|
15
|
+
isEnabled: UADataItem<boolean, /*z*/ DataType.Boolean>;
|
|
16
|
+
/**
|
|
17
|
+
* isForced
|
|
18
|
+
* True if this stream is forced, which means that
|
|
19
|
+
* is the only Stream on this AnalyserChannel that
|
|
20
|
+
* can be used to perform acquisition
|
|
21
|
+
*/
|
|
22
|
+
isForced?: UADataItem<boolean, /*z*/ DataType.Boolean>;
|
|
23
|
+
/**
|
|
24
|
+
* diagnosticStatus
|
|
25
|
+
* Stream health status
|
|
26
|
+
*/
|
|
27
|
+
diagnosticStatus: UADataItem<any, any>;
|
|
28
|
+
/**
|
|
29
|
+
* lastCalibrationTime
|
|
30
|
+
* Time at which the last calibration was run
|
|
31
|
+
*/
|
|
32
|
+
lastCalibrationTime?: UADataItem<Date, /*z*/ DataType.DateTime>;
|
|
33
|
+
/**
|
|
34
|
+
* lastValidationTime
|
|
35
|
+
* Time at which the last validation was run
|
|
36
|
+
*/
|
|
37
|
+
lastValidationTime?: UADataItem<Date, /*z*/ DataType.DateTime>;
|
|
38
|
+
/**
|
|
39
|
+
* lastSampleTime
|
|
40
|
+
* Time at which the last sample was acquired
|
|
41
|
+
*/
|
|
42
|
+
lastSampleTime: UADataItem<Date, /*z*/ DataType.DateTime>;
|
|
43
|
+
/**
|
|
44
|
+
* timeBetweenSamples
|
|
45
|
+
* Number of milliseconds between two consecutive
|
|
46
|
+
* starts of acquisition
|
|
47
|
+
*/
|
|
48
|
+
timeBetweenSamples?: UAAnalogItem<number, /*z*/ DataType.Double>;
|
|
49
|
+
/**
|
|
50
|
+
* isActive
|
|
51
|
+
* True if this stream is actually running,
|
|
52
|
+
* acquiring data
|
|
53
|
+
*/
|
|
54
|
+
isActive: UADataItem<boolean, /*z*/ DataType.Boolean>;
|
|
55
|
+
/**
|
|
56
|
+
* executionCycle
|
|
57
|
+
* Indicates which Execution cycle is in progress
|
|
58
|
+
*/
|
|
59
|
+
executionCycle: UADataItem<any, any>;
|
|
60
|
+
/**
|
|
61
|
+
* executionCycleSubcode
|
|
62
|
+
* Indicates which Execution cycle subcode is in
|
|
63
|
+
* progress
|
|
64
|
+
*/
|
|
65
|
+
executionCycleSubcode: UAMultiStateDiscrete<any, any>;
|
|
66
|
+
/**
|
|
67
|
+
* progress
|
|
68
|
+
* Indicates the progress of an acquisition in terms
|
|
69
|
+
* of percentage of completion. Its value shall be
|
|
70
|
+
* between 0 and 100.
|
|
71
|
+
*/
|
|
72
|
+
progress: UADataItem<number, /*z*/ DataType.Float>;
|
|
73
|
+
/**
|
|
74
|
+
* acquisitionCounter
|
|
75
|
+
* Simple counter incremented after each Sampling
|
|
76
|
+
* acquisition performed on this Stream
|
|
77
|
+
*/
|
|
78
|
+
acquisitionCounter: UAAnalogItem<UInt32, /*z*/ DataType.UInt32>;
|
|
79
|
+
/**
|
|
80
|
+
* acquisitionResultStatus
|
|
81
|
+
* Quality of the acquisition
|
|
82
|
+
*/
|
|
83
|
+
acquisitionResultStatus: UADataItem<any, any>;
|
|
84
|
+
/**
|
|
85
|
+
* rawData
|
|
86
|
+
* Raw data produced as a result of data acquisition
|
|
87
|
+
* on the Stream
|
|
88
|
+
*/
|
|
89
|
+
rawData?: UADataItem<any, any>;
|
|
90
|
+
/**
|
|
91
|
+
* scaledData
|
|
92
|
+
* Scaled data produced as a result of data
|
|
93
|
+
* acquisition on the Stream and application of the
|
|
94
|
+
* analyser model
|
|
95
|
+
*/
|
|
96
|
+
scaledData: UADataItem<any, any>;
|
|
97
|
+
/**
|
|
98
|
+
* offset
|
|
99
|
+
* Difference in milliseconds between the start of
|
|
100
|
+
* sample extraction and the start of the analysis.
|
|
101
|
+
*/
|
|
102
|
+
offset?: UADataItem<number, /*z*/ DataType.Double>;
|
|
103
|
+
/**
|
|
104
|
+
* acquisitionEndTime
|
|
105
|
+
* The end time of the AnalyseSample or
|
|
106
|
+
* AnalyseCalibrationSample or
|
|
107
|
+
* AnalyseValidationSample state of the
|
|
108
|
+
* AnalyserChannel_OperatingModeExecuteSubStateMachine
|
|
109
|
+
* state machine
|
|
110
|
+
*/
|
|
111
|
+
acquisitionEndTime: UADataItem<Date, /*z*/ DataType.DateTime>;
|
|
112
|
+
/**
|
|
113
|
+
* campaignId
|
|
114
|
+
* Defines the current campaign
|
|
115
|
+
*/
|
|
116
|
+
campaignId?: UADataItem<UAString, /*z*/ DataType.String>;
|
|
117
|
+
/**
|
|
118
|
+
* batchId
|
|
119
|
+
* Defines the current batch
|
|
120
|
+
*/
|
|
121
|
+
batchId?: UADataItem<UAString, /*z*/ DataType.String>;
|
|
122
|
+
/**
|
|
123
|
+
* subBatchId
|
|
124
|
+
* Defines the current sub-batch
|
|
125
|
+
*/
|
|
126
|
+
subBatchId?: UADataItem<UAString, /*z*/ DataType.String>;
|
|
127
|
+
/**
|
|
128
|
+
* lotId
|
|
129
|
+
* Defines the current lot
|
|
130
|
+
*/
|
|
131
|
+
lotId?: UADataItem<UAString, /*z*/ DataType.String>;
|
|
132
|
+
/**
|
|
133
|
+
* materialId
|
|
134
|
+
* Defines the current material
|
|
135
|
+
*/
|
|
136
|
+
materialId?: UADataItem<UAString, /*z*/ DataType.String>;
|
|
137
|
+
/**
|
|
138
|
+
* process
|
|
139
|
+
* Current Process name
|
|
140
|
+
*/
|
|
141
|
+
process?: UADataItem<UAString, /*z*/ DataType.String>;
|
|
142
|
+
/**
|
|
143
|
+
* unit
|
|
144
|
+
* Current Unit name
|
|
145
|
+
*/
|
|
146
|
+
unit?: UADataItem<UAString, /*z*/ DataType.String>;
|
|
147
|
+
/**
|
|
148
|
+
* operation
|
|
149
|
+
* Current Operation name
|
|
150
|
+
*/
|
|
151
|
+
operation?: UADataItem<UAString, /*z*/ DataType.String>;
|
|
152
|
+
/**
|
|
153
|
+
* phase
|
|
154
|
+
* Current Phase name
|
|
155
|
+
*/
|
|
156
|
+
phase?: UADataItem<UAString, /*z*/ DataType.String>;
|
|
157
|
+
/**
|
|
158
|
+
* userId
|
|
159
|
+
* Login name of the user who is logged on at the
|
|
160
|
+
* device console
|
|
161
|
+
*/
|
|
162
|
+
userId?: UADataItem<UAString, /*z*/ DataType.String>;
|
|
163
|
+
/**
|
|
164
|
+
* sampleId
|
|
165
|
+
* Identifier for the sample
|
|
166
|
+
*/
|
|
167
|
+
sampleId?: UADataItem<UAString, /*z*/ DataType.String>;
|
|
168
|
+
}
|
|
169
|
+
export interface UAStream_configuration extends UAFunctionalGroup {
|
|
170
|
+
/**
|
|
171
|
+
* isEnabled
|
|
172
|
+
* True if this stream maybe used to perform
|
|
173
|
+
* acquisition
|
|
174
|
+
*/
|
|
175
|
+
isEnabled: UADataItem<boolean, /*z*/ DataType.Boolean>;
|
|
176
|
+
/**
|
|
177
|
+
* isForced
|
|
178
|
+
* True if this stream is forced, which means that
|
|
179
|
+
* is the only Stream on this AnalyserChannel that
|
|
180
|
+
* can be used to perform acquisition
|
|
181
|
+
*/
|
|
182
|
+
isForced?: UADataItem<boolean, /*z*/ DataType.Boolean>;
|
|
183
|
+
}
|
|
184
|
+
export interface UAStream_status extends UAFunctionalGroup {
|
|
185
|
+
/**
|
|
186
|
+
* diagnosticStatus
|
|
187
|
+
* Stream health status
|
|
188
|
+
*/
|
|
189
|
+
diagnosticStatus: UADataItem<any, any>;
|
|
190
|
+
/**
|
|
191
|
+
* lastCalibrationTime
|
|
192
|
+
* Time at which the last calibration was run
|
|
193
|
+
*/
|
|
194
|
+
lastCalibrationTime?: UADataItem<Date, /*z*/ DataType.DateTime>;
|
|
195
|
+
/**
|
|
196
|
+
* lastValidationTime
|
|
197
|
+
* Time at which the last validation was run
|
|
198
|
+
*/
|
|
199
|
+
lastValidationTime?: UADataItem<Date, /*z*/ DataType.DateTime>;
|
|
200
|
+
/**
|
|
201
|
+
* lastSampleTime
|
|
202
|
+
* Time at which the last sample was acquired
|
|
203
|
+
*/
|
|
204
|
+
lastSampleTime: UADataItem<Date, /*z*/ DataType.DateTime>;
|
|
205
|
+
}
|
|
206
|
+
export interface UAStream_acquisitionSettings extends UAFunctionalGroup {
|
|
207
|
+
/**
|
|
208
|
+
* timeBetweenSamples
|
|
209
|
+
* Number of milliseconds between two consecutive
|
|
210
|
+
* starts of acquisition
|
|
211
|
+
*/
|
|
212
|
+
timeBetweenSamples?: UAAnalogItem<number, /*z*/ DataType.Double>;
|
|
213
|
+
}
|
|
214
|
+
export interface UAStream_acquisitionStatus extends UAFunctionalGroup {
|
|
215
|
+
/**
|
|
216
|
+
* isActive
|
|
217
|
+
* True if this stream is actually running,
|
|
218
|
+
* acquiring data
|
|
219
|
+
*/
|
|
220
|
+
isActive: UADataItem<boolean, /*z*/ DataType.Boolean>;
|
|
221
|
+
/**
|
|
222
|
+
* executionCycle
|
|
223
|
+
* Indicates which Execution cycle is in progress
|
|
224
|
+
*/
|
|
225
|
+
executionCycle: UADataItem<any, any>;
|
|
226
|
+
/**
|
|
227
|
+
* executionCycleSubcode
|
|
228
|
+
* Indicates which Execution cycle subcode is in
|
|
229
|
+
* progress
|
|
230
|
+
*/
|
|
231
|
+
executionCycleSubcode: UAMultiStateDiscrete<any, any>;
|
|
232
|
+
/**
|
|
233
|
+
* progress
|
|
234
|
+
* Indicates the progress of an acquisition in terms
|
|
235
|
+
* of percentage of completion. Its value shall be
|
|
236
|
+
* between 0 and 100.
|
|
237
|
+
*/
|
|
238
|
+
progress: UADataItem<number, /*z*/ DataType.Float>;
|
|
239
|
+
}
|
|
240
|
+
export interface UAStream_acquisitionData extends UAFunctionalGroup {
|
|
241
|
+
/**
|
|
242
|
+
* acquisitionCounter
|
|
243
|
+
* Simple counter incremented after each Sampling
|
|
244
|
+
* acquisition performed on this Stream
|
|
245
|
+
*/
|
|
246
|
+
acquisitionCounter: UAAnalogItem<UInt32, /*z*/ DataType.UInt32>;
|
|
247
|
+
/**
|
|
248
|
+
* acquisitionResultStatus
|
|
249
|
+
* Quality of the acquisition
|
|
250
|
+
*/
|
|
251
|
+
acquisitionResultStatus: UADataItem<any, any>;
|
|
252
|
+
/**
|
|
253
|
+
* rawData
|
|
254
|
+
* Raw data produced as a result of data acquisition
|
|
255
|
+
* on the Stream
|
|
256
|
+
*/
|
|
257
|
+
rawData?: UADataItem<any, any>;
|
|
258
|
+
/**
|
|
259
|
+
* scaledData
|
|
260
|
+
* Scaled data produced as a result of data
|
|
261
|
+
* acquisition on the Stream and application of the
|
|
262
|
+
* analyser model
|
|
263
|
+
*/
|
|
264
|
+
scaledData: UADataItem<any, any>;
|
|
265
|
+
/**
|
|
266
|
+
* offset
|
|
267
|
+
* Difference in milliseconds between the start of
|
|
268
|
+
* sample extraction and the start of the analysis.
|
|
269
|
+
*/
|
|
270
|
+
offset?: UADataItem<number, /*z*/ DataType.Double>;
|
|
271
|
+
/**
|
|
272
|
+
* acquisitionEndTime
|
|
273
|
+
* The end time of the AnalyseSample or
|
|
274
|
+
* AnalyseCalibrationSample or
|
|
275
|
+
* AnalyseValidationSample state of the
|
|
276
|
+
* AnalyserChannel_OperatingModeExecuteSubStateMachine
|
|
277
|
+
* state machine
|
|
278
|
+
*/
|
|
279
|
+
acquisitionEndTime: UADataItem<Date, /*z*/ DataType.DateTime>;
|
|
280
|
+
}
|
|
281
|
+
export interface UAStream_context extends UAFunctionalGroup {
|
|
282
|
+
/**
|
|
283
|
+
* campaignId
|
|
284
|
+
* Defines the current campaign
|
|
285
|
+
*/
|
|
286
|
+
campaignId?: UADataItem<UAString, /*z*/ DataType.String>;
|
|
287
|
+
/**
|
|
288
|
+
* batchId
|
|
289
|
+
* Defines the current batch
|
|
290
|
+
*/
|
|
291
|
+
batchId?: UADataItem<UAString, /*z*/ DataType.String>;
|
|
292
|
+
/**
|
|
293
|
+
* subBatchId
|
|
294
|
+
* Defines the current sub-batch
|
|
295
|
+
*/
|
|
296
|
+
subBatchId?: UADataItem<UAString, /*z*/ DataType.String>;
|
|
297
|
+
/**
|
|
298
|
+
* lotId
|
|
299
|
+
* Defines the current lot
|
|
300
|
+
*/
|
|
301
|
+
lotId?: UADataItem<UAString, /*z*/ DataType.String>;
|
|
302
|
+
/**
|
|
303
|
+
* materialId
|
|
304
|
+
* Defines the current material
|
|
305
|
+
*/
|
|
306
|
+
materialId?: UADataItem<UAString, /*z*/ DataType.String>;
|
|
307
|
+
/**
|
|
308
|
+
* process
|
|
309
|
+
* Current Process name
|
|
310
|
+
*/
|
|
311
|
+
process?: UADataItem<UAString, /*z*/ DataType.String>;
|
|
312
|
+
/**
|
|
313
|
+
* unit
|
|
314
|
+
* Current Unit name
|
|
315
|
+
*/
|
|
316
|
+
unit?: UADataItem<UAString, /*z*/ DataType.String>;
|
|
317
|
+
/**
|
|
318
|
+
* operation
|
|
319
|
+
* Current Operation name
|
|
320
|
+
*/
|
|
321
|
+
operation?: UADataItem<UAString, /*z*/ DataType.String>;
|
|
322
|
+
/**
|
|
323
|
+
* phase
|
|
324
|
+
* Current Phase name
|
|
325
|
+
*/
|
|
326
|
+
phase?: UADataItem<UAString, /*z*/ DataType.String>;
|
|
327
|
+
/**
|
|
328
|
+
* userId
|
|
329
|
+
* Login name of the user who is logged on at the
|
|
330
|
+
* device console
|
|
331
|
+
*/
|
|
332
|
+
userId?: UADataItem<UAString, /*z*/ DataType.String>;
|
|
333
|
+
/**
|
|
334
|
+
* sampleId
|
|
335
|
+
* Identifier for the sample
|
|
336
|
+
*/
|
|
337
|
+
sampleId?: UADataItem<UAString, /*z*/ DataType.String>;
|
|
338
|
+
}
|
|
339
|
+
/**
|
|
340
|
+
* | | |
|
|
341
|
+
* |----------------|--------------------------------------------------|
|
|
342
|
+
* |namespace |http://opcfoundation.org/UA/ADI/ |
|
|
343
|
+
* |nodeClass |ObjectType |
|
|
344
|
+
* |typedDefinition |2:StreamType ns=2;i=1010 |
|
|
345
|
+
* |isAbstract |false |
|
|
346
|
+
*/
|
|
347
|
+
export interface UAStream_Base extends UATopologyElement_Base {
|
|
348
|
+
/**
|
|
349
|
+
* parameterSet
|
|
350
|
+
* Flat list of Parameters
|
|
351
|
+
*/
|
|
352
|
+
parameterSet?: UAStream_parameterSet;
|
|
353
|
+
configuration: UAStream_configuration;
|
|
354
|
+
status: UAStream_status;
|
|
355
|
+
acquisitionSettings: UAStream_acquisitionSettings;
|
|
356
|
+
acquisitionStatus: UAStream_acquisitionStatus;
|
|
357
|
+
acquisitionData: UAStream_acquisitionData;
|
|
358
|
+
chemometricModelSettings: UAFunctionalGroup;
|
|
359
|
+
context: UAStream_context;
|
|
360
|
+
}
|
|
361
|
+
export interface UAStream extends Omit<UATopologyElement, "parameterSet" | "$GroupIdentifier$">, UAStream_Base {
|
|
362
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ua_stream.js","sourceRoot":"","sources":["../source/ua_stream.ts"],"names":[],"mappings":""}
|
package/package.json
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "node-opcua-nodeset-adi",
|
|
3
|
+
"version": "2.51.0",
|
|
4
|
+
"description": "",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"types": "dist/index.d.ts",
|
|
7
|
+
"scripts": {
|
|
8
|
+
"build": "tsc -b"
|
|
9
|
+
},
|
|
10
|
+
"author": "etienne.rossignon@sterfive.com",
|
|
11
|
+
"license": "MIT",
|
|
12
|
+
"dependencies": {
|
|
13
|
+
"node-opcua-address-space-base": "2.51.0",
|
|
14
|
+
"node-opcua-basic-types": "2.51.0",
|
|
15
|
+
"node-opcua-data-access": "2.51.0",
|
|
16
|
+
"node-opcua-data-model": "2.51.0",
|
|
17
|
+
"node-opcua-nodeid": "2.51.0",
|
|
18
|
+
"node-opcua-nodeset-di": "2.51.0",
|
|
19
|
+
"node-opcua-nodeset-ua": "2.51.0",
|
|
20
|
+
"node-opcua-variant": "2.51.0"
|
|
21
|
+
},
|
|
22
|
+
"gitHead": "75feb111daf7ec65fa0111e4fa5beb8987fd4945"
|
|
23
|
+
}
|
package/pnpm-lock.yaml
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
lockfileVersion: 5.3
|
|
2
|
+
|
|
3
|
+
specifiers:
|
|
4
|
+
node-opcua-address-space-base: 2.50.0
|
|
5
|
+
node-opcua-basic-types: 2.47.0
|
|
6
|
+
node-opcua-data-access: 2.49.0
|
|
7
|
+
node-opcua-data-model: 2.49.0
|
|
8
|
+
node-opcua-nodeid: 2.45.0
|
|
9
|
+
node-opcua-nodeset-di: 2.50.0
|
|
10
|
+
node-opcua-nodeset-ua: 2.50.0
|
|
11
|
+
node-opcua-variant: 2.49.0
|
|
12
|
+
|
|
13
|
+
dependencies:
|
|
14
|
+
node-opcua-address-space-base: link:../node-opcua-address-space-base
|
|
15
|
+
node-opcua-basic-types: link:../node-opcua-basic-types
|
|
16
|
+
node-opcua-data-access: link:../node-opcua-data-access
|
|
17
|
+
node-opcua-data-model: link:../node-opcua-data-model
|
|
18
|
+
node-opcua-nodeid: link:../node-opcua-nodeid
|
|
19
|
+
node-opcua-nodeset-di: link:../node-opcua-nodeset-di
|
|
20
|
+
node-opcua-nodeset-ua: link:../node-opcua-nodeset-ua
|
|
21
|
+
node-opcua-variant: link:../node-opcua-variant
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
// ----- this file has been automatically generated - do not edit
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* | | |
|
|
5
|
+
* |-----------|--------------------------------------------------|
|
|
6
|
+
* | namespace |http://opcfoundation.org/UA/ADI/ |
|
|
7
|
+
* | nodeClass |DataType |
|
|
8
|
+
* | name |2:AcquisitionResultStatusEnumeration |
|
|
9
|
+
* | isAbstract|false |
|
|
10
|
+
*/
|
|
11
|
+
export enum EnumAcquisitionResultStatus {
|
|
12
|
+
/**
|
|
13
|
+
* No longer used.
|
|
14
|
+
*/
|
|
15
|
+
NOT_USED = 0,
|
|
16
|
+
/**
|
|
17
|
+
* The acquisition has been completed as requested
|
|
18
|
+
* without any error.
|
|
19
|
+
*/
|
|
20
|
+
GOOD = 1,
|
|
21
|
+
/**
|
|
22
|
+
* The acquisition has been completed as requested
|
|
23
|
+
* with error.
|
|
24
|
+
*/
|
|
25
|
+
BAD = 2,
|
|
26
|
+
/**
|
|
27
|
+
* The acquisition has been completed but nothing
|
|
28
|
+
* can be said about the quality of the result.
|
|
29
|
+
*/
|
|
30
|
+
UNKNOWN = 3,
|
|
31
|
+
/**
|
|
32
|
+
* The acquisition has been partially completed as
|
|
33
|
+
* requested without any error.
|
|
34
|
+
*/
|
|
35
|
+
PARTIAL = 4,
|
|
36
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
// ----- this file has been automatically generated - do not edit
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* | | |
|
|
5
|
+
* |-----------|--------------------------------------------------|
|
|
6
|
+
* | namespace |http://opcfoundation.org/UA/ADI/ |
|
|
7
|
+
* | nodeClass |DataType |
|
|
8
|
+
* | name |2:AlarmStateEnumeration |
|
|
9
|
+
* | isAbstract|false |
|
|
10
|
+
*/
|
|
11
|
+
export enum EnumAlarmState {
|
|
12
|
+
/**
|
|
13
|
+
* Normal
|
|
14
|
+
*/
|
|
15
|
+
NORMAL_0 = 0,
|
|
16
|
+
/**
|
|
17
|
+
* In low warning range
|
|
18
|
+
*/
|
|
19
|
+
WARNING_LOW_1 = 1,
|
|
20
|
+
/**
|
|
21
|
+
* In high warning range
|
|
22
|
+
*/
|
|
23
|
+
WARNING_HIGH_2 = 2,
|
|
24
|
+
/**
|
|
25
|
+
* In warning range (low or high) or some other
|
|
26
|
+
* warning cause
|
|
27
|
+
*/
|
|
28
|
+
WARNING_4 = 4,
|
|
29
|
+
/**
|
|
30
|
+
* In low alarm range
|
|
31
|
+
*/
|
|
32
|
+
ALARM_LOW_8 = 8,
|
|
33
|
+
/**
|
|
34
|
+
* In high alarm range
|
|
35
|
+
*/
|
|
36
|
+
ALARM_HIGH_16 = 16,
|
|
37
|
+
/**
|
|
38
|
+
* In alarm range (low or high) or some other alarm
|
|
39
|
+
* cause
|
|
40
|
+
*/
|
|
41
|
+
ALARM_32 = 32,
|
|
42
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
// ----- this file has been automatically generated - do not edit
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* | | |
|
|
5
|
+
* |-----------|--------------------------------------------------|
|
|
6
|
+
* | namespace |http://opcfoundation.org/UA/ADI/ |
|
|
7
|
+
* | nodeClass |DataType |
|
|
8
|
+
* | name |2:ExecutionCycleEnumeration |
|
|
9
|
+
* | isAbstract|false |
|
|
10
|
+
*/
|
|
11
|
+
export enum EnumExecutionCycle {
|
|
12
|
+
/**
|
|
13
|
+
* Idle, no cleaning or acquisition cycle in progress
|
|
14
|
+
*/
|
|
15
|
+
IDLE = 0,
|
|
16
|
+
/**
|
|
17
|
+
* Scquisition cycle collecting data for diagnostic
|
|
18
|
+
* purpose
|
|
19
|
+
*/
|
|
20
|
+
DIAGNOSTIC = 1,
|
|
21
|
+
/**
|
|
22
|
+
* Cleaning cycle
|
|
23
|
+
*/
|
|
24
|
+
CLEANING = 2,
|
|
25
|
+
/**
|
|
26
|
+
* Calibration acquisition cycle
|
|
27
|
+
*/
|
|
28
|
+
CALIBRATION = 4,
|
|
29
|
+
/**
|
|
30
|
+
* Validation acquisition cycle
|
|
31
|
+
*/
|
|
32
|
+
VALIDATION = 8,
|
|
33
|
+
/**
|
|
34
|
+
* Sample acquisition cycle
|
|
35
|
+
*/
|
|
36
|
+
SAMPLING = 16,
|
|
37
|
+
/**
|
|
38
|
+
* Scquisition cycle collecting data for diagnostic
|
|
39
|
+
* purpose and sample is extracted from the process
|
|
40
|
+
* to be sent in control lab
|
|
41
|
+
*/
|
|
42
|
+
DIAGNOSTIC_WITH_GRAB_SAMPLE = 32769,
|
|
43
|
+
/**
|
|
44
|
+
* Cleaning cycle with or without acquisition and
|
|
45
|
+
* sample is extracted from the process to be sent
|
|
46
|
+
* in control lab
|
|
47
|
+
*/
|
|
48
|
+
CLEANING_WITH_GRAB_SAMPLE = 32770,
|
|
49
|
+
/**
|
|
50
|
+
* Calibration acquisition cycle and sample is
|
|
51
|
+
* extracted from the process to be sent in control
|
|
52
|
+
* lab
|
|
53
|
+
*/
|
|
54
|
+
CALIBRATION_WITH_GRAB_SAMPLE = 32772,
|
|
55
|
+
/**
|
|
56
|
+
* Validation acquisition cycle and sample is
|
|
57
|
+
* extracted from the process to be sent in control
|
|
58
|
+
* lab
|
|
59
|
+
*/
|
|
60
|
+
VALIDATION_WITH_GRAB_SAMPLE = 32776,
|
|
61
|
+
/**
|
|
62
|
+
* Sample acquisition cycle and sample is extracted
|
|
63
|
+
* from the process to be sent in control lab
|
|
64
|
+
*/
|
|
65
|
+
SAMPLING_WITH_GRAB_SAMPLE = 32784,
|
|
66
|
+
}
|
package/source/index.ts
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
export * from "./enum_acquisition_result_status";
|
|
2
|
+
export * from "./enum_alarm_state";
|
|
3
|
+
export * from "./enum_execution_cycle";
|
|
4
|
+
export * from "./ua_accessory";
|
|
5
|
+
export * from "./ua_accessory_slot";
|
|
6
|
+
export * from "./ua_accessory_slot_state_machine";
|
|
7
|
+
export * from "./ua_acoustic_spectrometer_device";
|
|
8
|
+
export * from "./ua_acoustic_spectrometer_device_stream";
|
|
9
|
+
export * from "./ua_analyser_channel";
|
|
10
|
+
export * from "./ua_analyser_channel_local_state";
|
|
11
|
+
export * from "./ua_analyser_channel_maintenance_state";
|
|
12
|
+
export * from "./ua_analyser_channel_operating_execute_state";
|
|
13
|
+
export * from "./ua_analyser_channel_operating_mode_execute_sub_state_machine";
|
|
14
|
+
export * from "./ua_analyser_channel_operating_mode_sub_state_machine";
|
|
15
|
+
export * from "./ua_analyser_channel_operating_state";
|
|
16
|
+
export * from "./ua_analyser_channel_state_machine";
|
|
17
|
+
export * from "./ua_analyser_device";
|
|
18
|
+
export * from "./ua_analyser_device_state_machine";
|
|
19
|
+
export * from "./ua_chemometric_model";
|
|
20
|
+
export * from "./ua_chromatograph_device";
|
|
21
|
+
export * from "./ua_chromatograph_device_stream";
|
|
22
|
+
export * from "./ua_detector";
|
|
23
|
+
export * from "./ua_engineering_value";
|
|
24
|
+
export * from "./ua_gc_oven";
|
|
25
|
+
export * from "./ua_mass_spectrometer_device";
|
|
26
|
+
export * from "./ua_mass_spectrometer_device_stream";
|
|
27
|
+
export * from "./ua_mnr_device_stream";
|
|
28
|
+
export * from "./ua_mva_model";
|
|
29
|
+
export * from "./ua_mva_output_parameter";
|
|
30
|
+
export * from "./ua_nmr_device";
|
|
31
|
+
export * from "./ua_particle_size_monitor_device";
|
|
32
|
+
export * from "./ua_particle_size_monitor_device_stream";
|
|
33
|
+
export * from "./ua_process_variable";
|
|
34
|
+
export * from "./ua_smart_sampling_system";
|
|
35
|
+
export * from "./ua_source";
|
|
36
|
+
export * from "./ua_spectrometer_device";
|
|
37
|
+
export * from "./ua_spectrometer_device_stream";
|
|
38
|
+
export * from "./ua_stream";
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
// ----- this file has been automatically generated - do not edit
|
|
2
|
+
import { UAProperty } from "node-opcua-address-space-base"
|
|
3
|
+
import { DataType } from "node-opcua-variant"
|
|
4
|
+
import { UATopologyElement, UATopologyElement_Base } from "node-opcua-nodeset-di/source/ua_topology_element"
|
|
5
|
+
import { UAFunctionalGroup } from "node-opcua-nodeset-di/source/ua_functional_group"
|
|
6
|
+
/**
|
|
7
|
+
* | | |
|
|
8
|
+
* |----------------|--------------------------------------------------|
|
|
9
|
+
* |namespace |http://opcfoundation.org/UA/ADI/ |
|
|
10
|
+
* |nodeClass |ObjectType |
|
|
11
|
+
* |typedDefinition |2:AccessoryType ns=2;i=1019 |
|
|
12
|
+
* |isAbstract |false |
|
|
13
|
+
*/
|
|
14
|
+
export interface UAAccessory_Base extends UATopologyElement_Base {
|
|
15
|
+
configuration: UAFunctionalGroup;
|
|
16
|
+
status: UAFunctionalGroup;
|
|
17
|
+
factorySettings: UAFunctionalGroup;
|
|
18
|
+
/**
|
|
19
|
+
* isHotSwappable
|
|
20
|
+
* True if this accessory can be inserted in the
|
|
21
|
+
* accessory slot while it is powered
|
|
22
|
+
*/
|
|
23
|
+
isHotSwappable: UAProperty<boolean, /*z*/DataType.Boolean>;
|
|
24
|
+
/**
|
|
25
|
+
* isReady
|
|
26
|
+
* True if this accessory is ready for use
|
|
27
|
+
*/
|
|
28
|
+
isReady: UAProperty<boolean, /*z*/DataType.Boolean>;
|
|
29
|
+
}
|
|
30
|
+
export interface UAAccessory extends UATopologyElement, UAAccessory_Base {
|
|
31
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
// ----- this file has been automatically generated - do not edit
|
|
2
|
+
import { UAProperty } from "node-opcua-address-space-base"
|
|
3
|
+
import { DataType } from "node-opcua-variant"
|
|
4
|
+
import { UAConfigurableObject, UAConfigurableObject_Base } from "node-opcua-nodeset-di/source/ua_configurable_object"
|
|
5
|
+
import { UAAccessorySlotStateMachine } from "./ua_accessory_slot_state_machine"
|
|
6
|
+
/**
|
|
7
|
+
* Organizes zero or more Accessory objects
|
|
8
|
+
* identified by "AccessoryIdentifier" which
|
|
9
|
+
* represent Accessories currently being used on
|
|
10
|
+
* that AccessorySlot.
|
|
11
|
+
*
|
|
12
|
+
* | | |
|
|
13
|
+
* |----------------|--------------------------------------------------|
|
|
14
|
+
* |namespace |http://opcfoundation.org/UA/ADI/ |
|
|
15
|
+
* |nodeClass |ObjectType |
|
|
16
|
+
* |typedDefinition |2:AccessorySlotType ns=2;i=1017 |
|
|
17
|
+
* |isAbstract |false |
|
|
18
|
+
*/
|
|
19
|
+
export interface UAAccessorySlot_Base extends UAConfigurableObject_Base {
|
|
20
|
+
/**
|
|
21
|
+
* isHotSwappable
|
|
22
|
+
* True if an accessory can be inserted in the
|
|
23
|
+
* accessory slot while it is powered
|
|
24
|
+
*/
|
|
25
|
+
isHotSwappable: UAProperty<boolean, /*z*/DataType.Boolean>;
|
|
26
|
+
/**
|
|
27
|
+
* isEnabled
|
|
28
|
+
* True if this accessory slot is capable of
|
|
29
|
+
* accepting an accessory in it
|
|
30
|
+
*/
|
|
31
|
+
isEnabled: UAProperty<boolean, /*z*/DataType.Boolean>;
|
|
32
|
+
accessorySlotStateMachine: UAAccessorySlotStateMachine;
|
|
33
|
+
}
|
|
34
|
+
export interface UAAccessorySlot extends UAConfigurableObject, UAAccessorySlot_Base {
|
|
35
|
+
}
|