1#[allow(unused)]
9mod opcua {
10 pub(super) use opcua_nodes as nodes;
11 pub(super) use opcua_nodes::{Event, EventField};
12 pub(super) use opcua_types as types;
13}
14#[derive(Debug, opcua::Event)]
15#[opcua(identifier = "i=2881")]
16pub struct AcknowledgeableConditionType {
17 pub base: ConditionType,
18 pub acked_state: TwoStateVariableType,
19 pub acknowledge: opcua::nodes::MethodEventField,
20 pub confirm: opcua::nodes::MethodEventField,
21 pub confirmed_state: TwoStateVariableType,
22 pub enabled_state: TwoStateVariableType,
23}
24#[derive(Debug, opcua::Event)]
25#[opcua(identifier = "i=2915")]
26pub struct AlarmConditionType {
27 pub base: AcknowledgeableConditionType,
28 #[opcua(placeholder)]
29 pub alarm_groups: opcua::types::PlaceholderEventField<AlarmGroupType>,
30 pub active_state: TwoStateVariableType,
31 pub audible_enabled: bool,
32 pub audible_sound: AudioVariableType,
33 pub enabled_state: TwoStateVariableType,
34 pub first_in_group: AlarmGroupType,
35 pub first_in_group_flag: bool,
36 pub get_group_memberships: opcua::nodes::MethodEventField,
37 pub input_node: opcua::types::NodeId,
38 pub latched_state: TwoStateVariableType,
39 pub max_time_shelved: opcua::types::Duration,
40 pub off_delay: opcua::types::Duration,
41 pub on_delay: opcua::types::Duration,
42 pub out_of_service_state: TwoStateVariableType,
43 pub place_in_service: opcua::nodes::MethodEventField,
44 pub place_in_service_2: opcua::nodes::MethodEventField,
45 pub re_alarm_repeat_count: i16,
46 pub re_alarm_time: opcua::types::Duration,
47 pub remove_from_service: opcua::nodes::MethodEventField,
48 pub remove_from_service_2: opcua::nodes::MethodEventField,
49 pub reset: opcua::nodes::MethodEventField,
50 pub reset_2: opcua::nodes::MethodEventField,
51 pub shelving_state: ShelvedStateMachineType,
52 pub silence: opcua::nodes::MethodEventField,
53 pub silence_state: TwoStateVariableType,
54 pub suppress: opcua::nodes::MethodEventField,
55 pub suppress_2: opcua::nodes::MethodEventField,
56 pub suppressed_or_shelved: bool,
57 pub suppressed_state: TwoStateVariableType,
58 pub unsuppress: opcua::nodes::MethodEventField,
59 pub unsuppress_2: opcua::nodes::MethodEventField,
60}
61#[derive(Debug, opcua::EventField, Default)]
62pub struct AlarmGroupType {
63 pub node_id: opcua::types::NodeId,
64 #[opcua(placeholder)]
65 pub alarm_condition_instances: opcua::types::PlaceholderEventField<AlarmConditionType>,
66}
67#[derive(Debug, opcua::EventField, Default)]
68pub struct AudioVariableType {
69 pub node_id: opcua::types::NodeId,
70 pub value: opcua::types::AudioDataType,
71 pub agency_id: opcua::types::UAString,
72 pub list_id: opcua::types::UAString,
73 pub version_id: opcua::types::UAString,
74}
75#[derive(Debug, opcua::Event)]
76#[opcua(identifier = "i=2075")]
77pub struct AuditActivateSessionEventType {
78 pub base: AuditSessionEventType,
79 pub client_software_certificates: opcua::types::SignedSoftwareCertificate,
80 pub current_role_ids: opcua::types::NodeId,
81 pub secure_channel_id: opcua::types::UAString,
82 pub user_identity_token: opcua::types::ExtensionObject,
83}
84#[derive(Debug, opcua::Event)]
85#[opcua(identifier = "i=2091")]
86pub struct AuditAddNodesEventType {
87 pub base: AuditNodeManagementEventType,
88 pub nodes_to_add: opcua::types::AddNodesItem,
89}
90#[derive(Debug, opcua::Event)]
91#[opcua(identifier = "i=2095")]
92pub struct AuditAddReferencesEventType {
93 pub base: AuditNodeManagementEventType,
94 pub references_to_add: opcua::types::AddReferencesItem,
95}
96#[derive(Debug, opcua::Event)]
97#[opcua(identifier = "i=2078")]
98pub struct AuditCancelEventType {
99 pub base: AuditSessionEventType,
100 pub request_handle: u32,
101}
102#[derive(Debug, opcua::Event)]
103#[opcua(identifier = "i=2082")]
104pub struct AuditCertificateDataMismatchEventType {
105 pub base: AuditCertificateEventType,
106 pub invalid_hostname: opcua::types::UAString,
107 pub invalid_uri: opcua::types::UAString,
108}
109#[derive(Debug, opcua::Event)]
110#[opcua(identifier = "i=2080")]
111pub struct AuditCertificateEventType {
112 pub base: AuditSecurityEventType,
113 pub certificate: opcua::types::ByteString,
114}
115#[derive(Debug, opcua::Event)]
116#[opcua(identifier = "i=2085")]
117pub struct AuditCertificateExpiredEventType {
118 pub base: AuditCertificateEventType,
119}
120#[derive(Debug, opcua::Event)]
121#[opcua(identifier = "i=2086")]
122pub struct AuditCertificateInvalidEventType {
123 pub base: AuditCertificateEventType,
124}
125#[derive(Debug, opcua::Event)]
126#[opcua(identifier = "i=2089")]
127pub struct AuditCertificateMismatchEventType {
128 pub base: AuditCertificateEventType,
129}
130#[derive(Debug, opcua::Event)]
131#[opcua(identifier = "i=2088")]
132pub struct AuditCertificateRevokedEventType {
133 pub base: AuditCertificateEventType,
134}
135#[derive(Debug, opcua::Event)]
136#[opcua(identifier = "i=2087")]
137pub struct AuditCertificateUntrustedEventType {
138 pub base: AuditCertificateEventType,
139}
140#[derive(Debug, opcua::Event)]
141#[opcua(identifier = "i=2059")]
142pub struct AuditChannelEventType {
143 pub base: AuditSecurityEventType,
144 pub secure_channel_id: opcua::types::UAString,
145}
146#[derive(Debug, opcua::Event)]
147#[opcua(identifier = "i=23606")]
148pub struct AuditClientEventType {
149 pub base: AuditEventType,
150 pub server_uri: opcua::types::UriString,
151}
152#[derive(Debug, opcua::Event)]
153#[opcua(identifier = "i=23926")]
154pub struct AuditClientUpdateMethodResultEventType {
155 pub base: AuditClientEventType,
156 pub input_arguments: opcua::types::ExtensionObject,
157 pub method_id: opcua::types::ExpandedNodeId,
158 pub object_id: opcua::types::ExpandedNodeId,
159 pub output_arguments: opcua::types::ExtensionObject,
160 pub status_code_id: opcua::types::StatusCode,
161}
162#[derive(Debug, opcua::Event)]
163#[opcua(identifier = "i=8944")]
164pub struct AuditConditionAcknowledgeEventType {
165 pub base: AuditConditionEventType,
166 pub comment: opcua::types::LocalizedText,
167 pub condition_event_id: opcua::types::ByteString,
168}
169#[derive(Debug, opcua::Event)]
170#[opcua(identifier = "i=2829")]
171pub struct AuditConditionCommentEventType {
172 pub base: AuditConditionEventType,
173 pub comment: opcua::types::LocalizedText,
174 pub condition_event_id: opcua::types::ByteString,
175}
176#[derive(Debug, opcua::Event)]
177#[opcua(identifier = "i=8961")]
178pub struct AuditConditionConfirmEventType {
179 pub base: AuditConditionEventType,
180 pub comment: opcua::types::LocalizedText,
181 pub condition_event_id: opcua::types::ByteString,
182}
183#[derive(Debug, opcua::Event)]
184#[opcua(identifier = "i=2803")]
185pub struct AuditConditionEnableEventType {
186 pub base: AuditConditionEventType,
187}
188#[derive(Debug, opcua::Event)]
189#[opcua(identifier = "i=2790")]
190pub struct AuditConditionEventType {
191 pub base: AuditUpdateMethodEventType,
192}
193#[derive(Debug, opcua::Event)]
194#[opcua(identifier = "i=17259")]
195pub struct AuditConditionOutOfServiceEventType {
196 pub base: AuditConditionEventType,
197}
198#[derive(Debug, opcua::Event)]
199#[opcua(identifier = "i=15013")]
200pub struct AuditConditionResetEventType {
201 pub base: AuditConditionEventType,
202}
203#[derive(Debug, opcua::Event)]
204#[opcua(identifier = "i=8927")]
205pub struct AuditConditionRespondEventType {
206 pub base: AuditConditionEventType,
207 pub selected_response: u32,
208}
209#[derive(Debug, opcua::Event)]
210#[opcua(identifier = "i=11093")]
211pub struct AuditConditionShelvingEventType {
212 pub base: AuditConditionEventType,
213 pub shelving_time: opcua::types::Duration,
214}
215#[derive(Debug, opcua::Event)]
216#[opcua(identifier = "i=17242")]
217pub struct AuditConditionSilenceEventType {
218 pub base: AuditConditionEventType,
219}
220#[derive(Debug, opcua::Event)]
221#[opcua(identifier = "i=17225")]
222pub struct AuditConditionSuppressionEventType {
223 pub base: AuditConditionEventType,
224}
225#[derive(Debug, opcua::Event)]
226#[opcua(identifier = "i=2071")]
227pub struct AuditCreateSessionEventType {
228 pub base: AuditSessionEventType,
229 pub client_certificate: opcua::types::ByteString,
230 pub client_certificate_thumbprint: opcua::types::UAString,
231 pub revised_session_timeout: opcua::types::Duration,
232 pub secure_channel_id: opcua::types::UAString,
233}
234#[derive(Debug, opcua::Event)]
235#[opcua(identifier = "i=2093")]
236pub struct AuditDeleteNodesEventType {
237 pub base: AuditNodeManagementEventType,
238 pub nodes_to_delete: opcua::types::DeleteNodesItem,
239}
240#[derive(Debug, opcua::Event)]
241#[opcua(identifier = "i=2097")]
242pub struct AuditDeleteReferencesEventType {
243 pub base: AuditNodeManagementEventType,
244 pub references_to_delete: opcua::types::DeleteReferencesItem,
245}
246#[derive(Debug, opcua::Event)]
247#[opcua(identifier = "i=2052")]
248pub struct AuditEventType {
249 pub base: opcua::nodes::BaseEventType,
250 pub action_time_stamp: opcua::types::UtcTime,
251 pub client_audit_entry_id: opcua::types::UAString,
252 pub client_user_id: opcua::types::UAString,
253 pub server_id: opcua::types::UAString,
254 pub status: bool,
255}
256#[derive(Debug, opcua::Event)]
257#[opcua(identifier = "i=19095")]
258pub struct AuditHistoryAnnotationUpdateEventType {
259 pub base: AuditHistoryUpdateEventType,
260 pub new_values: opcua::types::Annotation,
261 pub old_values: opcua::types::Annotation,
262 pub perform_insert_replace: opcua::types::PerformUpdateType,
263}
264#[derive(Debug, opcua::Event)]
265#[opcua(identifier = "i=3019")]
266pub struct AuditHistoryAtTimeDeleteEventType {
267 pub base: AuditHistoryDeleteEventType,
268 pub old_values: opcua::types::DataValue,
269 pub req_times: opcua::types::UtcTime,
270}
271#[derive(Debug, opcua::Event)]
272#[opcua(identifier = "i=32803")]
273pub struct AuditHistoryBulkInsertEventType {
274 pub base: AuditEventType,
275 pub end_time: opcua::types::UtcTime,
276 pub start_time: opcua::types::UtcTime,
277 pub updated_node: opcua::types::NodeId,
278}
279#[derive(Debug, opcua::Event)]
280#[opcua(identifier = "i=32758")]
281pub struct AuditHistoryConfigurationChangeEventType {
282 pub base: AuditEventType,
283}
284#[derive(Debug, opcua::Event)]
285#[opcua(identifier = "i=3012")]
286pub struct AuditHistoryDeleteEventType {
287 pub base: AuditHistoryUpdateEventType,
288 pub updated_node: opcua::types::NodeId,
289}
290#[derive(Debug, opcua::Event)]
291#[opcua(identifier = "i=3022")]
292pub struct AuditHistoryEventDeleteEventType {
293 pub base: AuditHistoryDeleteEventType,
294 pub event_ids: opcua::types::ByteString,
295 pub old_values: opcua::types::HistoryEventFieldList,
296}
297#[derive(Debug, opcua::Event)]
298#[opcua(identifier = "i=2999")]
299pub struct AuditHistoryEventUpdateEventType {
300 pub base: AuditHistoryUpdateEventType,
301 pub filter: opcua::types::EventFilter,
302 pub new_values: opcua::types::HistoryEventFieldList,
303 pub old_values: opcua::types::HistoryEventFieldList,
304 pub perform_insert_replace: opcua::types::PerformUpdateType,
305 pub updated_node: opcua::types::NodeId,
306}
307#[derive(Debug, opcua::Event)]
308#[opcua(identifier = "i=3014")]
309pub struct AuditHistoryRawModifyDeleteEventType {
310 pub base: AuditHistoryDeleteEventType,
311 pub end_time: opcua::types::UtcTime,
312 pub is_delete_modified: bool,
313 pub old_values: opcua::types::DataValue,
314 pub start_time: opcua::types::UtcTime,
315}
316#[derive(Debug, opcua::Event)]
317#[opcua(identifier = "i=2104")]
318pub struct AuditHistoryUpdateEventType {
319 pub base: AuditUpdateEventType,
320 pub parameter_data_type_id: opcua::types::NodeId,
321}
322#[derive(Debug, opcua::Event)]
323#[opcua(identifier = "i=3006")]
324pub struct AuditHistoryValueUpdateEventType {
325 pub base: AuditHistoryUpdateEventType,
326 pub new_values: opcua::types::DataValue,
327 pub old_values: opcua::types::DataValue,
328 pub perform_insert_replace: opcua::types::PerformUpdateType,
329 pub updated_node: opcua::types::NodeId,
330}
331#[derive(Debug, opcua::Event)]
332#[opcua(identifier = "i=2090")]
333pub struct AuditNodeManagementEventType {
334 pub base: AuditEventType,
335}
336#[derive(Debug, opcua::Event)]
337#[opcua(identifier = "i=2060")]
338pub struct AuditOpenSecureChannelEventType {
339 pub base: AuditChannelEventType,
340 pub certificate_error_event_id: opcua::types::ByteString,
341 pub client_certificate: opcua::types::ByteString,
342 pub client_certificate_thumbprint: opcua::types::UAString,
343 pub request_type: opcua::types::SecurityTokenRequestType,
344 pub requested_lifetime: opcua::types::Duration,
345 pub security_mode: opcua::types::MessageSecurityMode,
346 pub security_policy_uri: opcua::types::UAString,
347}
348#[derive(Debug, opcua::Event)]
349#[opcua(identifier = "i=11856")]
350pub struct AuditProgramTransitionEventType {
351 pub base: AuditUpdateStateEventType,
352 pub transition_number: u32,
353}
354#[derive(Debug, opcua::Event)]
355#[opcua(identifier = "i=2058")]
356pub struct AuditSecurityEventType {
357 pub base: AuditEventType,
358 pub status_code_id: opcua::types::StatusCode,
359}
360#[derive(Debug, opcua::Event)]
361#[opcua(identifier = "i=2069")]
362pub struct AuditSessionEventType {
363 pub base: AuditSecurityEventType,
364 pub session_id: opcua::types::NodeId,
365}
366#[derive(Debug, opcua::Event)]
367#[opcua(identifier = "i=2099")]
368pub struct AuditUpdateEventType {
369 pub base: AuditEventType,
370}
371#[derive(Debug, opcua::Event)]
372#[opcua(identifier = "i=2127")]
373pub struct AuditUpdateMethodEventType {
374 pub base: AuditEventType,
375 pub input_arguments: opcua::types::ExtensionObject,
376 pub method_id: opcua::types::NodeId,
377 pub output_arguments: opcua::types::ExtensionObject,
378 pub status_code_id: opcua::types::StatusCode,
379}
380#[derive(Debug, opcua::Event)]
381#[opcua(identifier = "i=2315")]
382pub struct AuditUpdateStateEventType {
383 pub base: AuditUpdateMethodEventType,
384 pub new_state_id: opcua::types::ExtensionObject,
385 pub old_state_id: opcua::types::ExtensionObject,
386}
387#[derive(Debug, opcua::Event)]
388#[opcua(identifier = "i=2748")]
389pub struct AuditUrlMismatchEventType {
390 pub base: AuditCreateSessionEventType,
391 pub endpoint_url: opcua::types::UAString,
392}
393#[derive(Debug, opcua::Event)]
394#[opcua(identifier = "i=2100")]
395pub struct AuditWriteUpdateEventType {
396 pub base: AuditUpdateEventType,
397 pub attribute_id: u32,
398 pub index_range: opcua::types::NumericRange,
399 pub new_value: opcua::types::ExtensionObject,
400 pub old_value: opcua::types::ExtensionObject,
401}
402#[derive(Debug, opcua::Event)]
403#[opcua(identifier = "i=2132")]
404pub struct BaseModelChangeEventType {
405 pub base: opcua::nodes::BaseEventType,
406}
407#[derive(Debug, opcua::Event)]
408#[opcua(identifier = "i=13225")]
409pub struct CertificateExpirationAlarmType {
410 pub base: SystemOffNormalAlarmType,
411 pub certificate: opcua::types::ByteString,
412 pub certificate_type: opcua::types::NodeId,
413 pub expiration_date: opcua::types::DateTime,
414 pub expiration_limit: opcua::types::Duration,
415}
416#[derive(Debug, opcua::Event)]
417#[opcua(identifier = "i=12620")]
418pub struct CertificateUpdatedAuditEventType {
419 pub base: AuditUpdateMethodEventType,
420 pub certificate_group: opcua::types::NodeId,
421 pub certificate_type: opcua::types::NodeId,
422}
423#[derive(Debug, opcua::Event)]
424#[opcua(identifier = "i=32306")]
425pub struct CertificateUpdateRequestedAuditEventType {
426 pub base: AuditUpdateMethodEventType,
427}
428#[derive(Debug, opcua::Event)]
429#[opcua(identifier = "i=2782")]
430pub struct ConditionType {
431 pub base: opcua::nodes::BaseEventType,
432 pub add_comment: opcua::nodes::MethodEventField,
433 pub branch_id: opcua::types::NodeId,
434 pub client_user_id: opcua::types::UAString,
435 pub comment: ConditionVariableType,
436 pub condition_class_id: opcua::types::NodeId,
437 pub condition_class_name: opcua::types::LocalizedText,
438 pub condition_name: opcua::types::UAString,
439 pub condition_refresh: opcua::nodes::MethodEventField,
440 pub condition_refresh_2: opcua::nodes::MethodEventField,
441 pub condition_sub_class_id: opcua::types::NodeId,
442 pub condition_sub_class_name: opcua::types::LocalizedText,
443 pub disable: opcua::nodes::MethodEventField,
444 pub enable: opcua::nodes::MethodEventField,
445 pub enabled_state: TwoStateVariableType,
446 pub last_severity: ConditionVariableType,
447 pub quality: ConditionVariableType,
448 pub retain: bool,
449 pub supports_filtered_retain: bool,
450}
451#[derive(Debug, opcua::EventField, Default)]
452pub struct ConditionVariableType {
453 pub node_id: opcua::types::NodeId,
454 pub value: opcua::types::ExtensionObject,
455 pub source_timestamp: opcua::types::UtcTime,
456}
457#[derive(Debug, opcua::Event)]
458#[opcua(identifier = "i=2131")]
459pub struct DeviceFailureEventType {
460 pub base: SystemEventType,
461}
462#[derive(Debug, opcua::Event)]
463#[opcua(identifier = "i=2830")]
464pub struct DialogConditionType {
465 pub base: ConditionType,
466 pub cancel_response: i32,
467 pub default_response: i32,
468 pub dialog_state: TwoStateVariableType,
469 pub enabled_state: TwoStateVariableType,
470 pub last_response: i32,
471 pub ok_response: i32,
472 pub prompt: opcua::types::LocalizedText,
473 pub respond: opcua::nodes::MethodEventField,
474 pub respond_2: opcua::nodes::MethodEventField,
475 pub response_option_set: opcua::types::LocalizedText,
476}
477#[derive(Debug, opcua::Event)]
478#[opcua(identifier = "i=17080")]
479pub struct DiscrepancyAlarmType {
480 pub base: AlarmConditionType,
481 pub expected_time: opcua::types::Duration,
482 pub target_value_node: opcua::types::NodeId,
483 pub tolerance: f64,
484}
485#[derive(Debug, opcua::Event)]
486#[opcua(identifier = "i=10523")]
487pub struct DiscreteAlarmType {
488 pub base: AlarmConditionType,
489}
490#[derive(Debug, opcua::Event)]
491#[opcua(identifier = "i=3035")]
492pub struct EventQueueOverflowEventType {
493 pub base: opcua::nodes::BaseEventType,
494}
495#[derive(Debug, opcua::Event)]
496#[opcua(identifier = "i=9764")]
497pub struct ExclusiveDeviationAlarmType {
498 pub base: ExclusiveLimitAlarmType,
499 pub base_setpoint_node: opcua::types::NodeId,
500 pub setpoint_node: opcua::types::NodeId,
501}
502#[derive(Debug, opcua::Event)]
503#[opcua(identifier = "i=9482")]
504pub struct ExclusiveLevelAlarmType {
505 pub base: ExclusiveLimitAlarmType,
506}
507#[derive(Debug, opcua::Event)]
508#[opcua(identifier = "i=9341")]
509pub struct ExclusiveLimitAlarmType {
510 pub base: LimitAlarmType,
511 pub active_state: TwoStateVariableType,
512 pub limit_state: ExclusiveLimitStateMachineType,
513}
514#[derive(Debug, opcua::EventField, Default)]
515pub struct ExclusiveLimitStateMachineType {
516 pub base: FiniteStateMachineType,
517 pub node_id: opcua::types::NodeId,
518 pub high: StateType,
519 pub high_high: StateType,
520 pub high_high_to_high: TransitionType,
521 pub high_to_high_high: TransitionType,
522 pub low: StateType,
523 pub low_low: StateType,
524 pub low_low_to_low: TransitionType,
525 pub low_to_low_low: TransitionType,
526}
527#[derive(Debug, opcua::Event)]
528#[opcua(identifier = "i=9623")]
529pub struct ExclusiveRateOfChangeAlarmType {
530 pub base: ExclusiveLimitAlarmType,
531 pub engineering_units: opcua::types::EUInformation,
532}
533#[derive(Debug, opcua::EventField, Default)]
534pub struct FiniteStateMachineType {
535 pub base: StateMachineType,
536 pub node_id: opcua::types::NodeId,
537 pub available_states: opcua::types::NodeId,
538 pub available_transitions: opcua::types::NodeId,
539 pub current_state: FiniteStateVariableType,
540 pub last_transition: FiniteTransitionVariableType,
541}
542#[derive(Debug, opcua::EventField, Default)]
543pub struct FiniteStateVariableType {
544 pub base: StateVariableType,
545 pub node_id: opcua::types::NodeId,
546 pub id: opcua::types::NodeId,
547}
548#[derive(Debug, opcua::EventField, Default)]
549pub struct FiniteTransitionVariableType {
550 pub base: TransitionVariableType,
551 pub node_id: opcua::types::NodeId,
552 pub id: opcua::types::NodeId,
553}
554#[derive(Debug, opcua::Event)]
555#[opcua(identifier = "i=2133")]
556pub struct GeneralModelChangeEventType {
557 pub base: BaseModelChangeEventType,
558 pub changes: opcua::types::ModelChangeStructureDataType,
559}
560#[derive(Debug, opcua::Event)]
561#[opcua(identifier = "i=18347")]
562pub struct InstrumentDiagnosticAlarmType {
563 pub base: OffNormalAlarmType,
564}
565#[derive(Debug, opcua::Event)]
566#[opcua(identifier = "i=18011")]
567pub struct KeyCredentialAuditEventType {
568 pub base: AuditUpdateMethodEventType,
569 pub resource_uri: opcua::types::UAString,
570}
571#[derive(Debug, opcua::Event)]
572#[opcua(identifier = "i=18047")]
573pub struct KeyCredentialDeletedAuditEventType {
574 pub base: KeyCredentialAuditEventType,
575 pub resource_uri: opcua::types::UAString,
576}
577#[derive(Debug, opcua::Event)]
578#[opcua(identifier = "i=18029")]
579pub struct KeyCredentialUpdatedAuditEventType {
580 pub base: KeyCredentialAuditEventType,
581}
582#[derive(Debug, opcua::Event)]
583#[opcua(identifier = "i=2955")]
584pub struct LimitAlarmType {
585 pub base: AlarmConditionType,
586 pub base_high_high_limit: f64,
587 pub base_high_limit: f64,
588 pub base_low_limit: f64,
589 pub base_low_low_limit: f64,
590 pub high_deadband: f64,
591 pub high_high_deadband: f64,
592 pub high_high_limit: f64,
593 pub high_limit: f64,
594 pub low_deadband: f64,
595 pub low_limit: f64,
596 pub low_low_deadband: f64,
597 pub low_low_limit: f64,
598 pub severity_high: u16,
599 pub severity_high_high: u16,
600 pub severity_low: u16,
601 pub severity_low_low: u16,
602}
603#[derive(Debug, opcua::Event)]
604#[opcua(identifier = "i=10368")]
605pub struct NonExclusiveDeviationAlarmType {
606 pub base: NonExclusiveLimitAlarmType,
607 pub base_setpoint_node: opcua::types::NodeId,
608 pub setpoint_node: opcua::types::NodeId,
609}
610#[derive(Debug, opcua::Event)]
611#[opcua(identifier = "i=10060")]
612pub struct NonExclusiveLevelAlarmType {
613 pub base: NonExclusiveLimitAlarmType,
614}
615#[derive(Debug, opcua::Event)]
616#[opcua(identifier = "i=9906")]
617pub struct NonExclusiveLimitAlarmType {
618 pub base: LimitAlarmType,
619 pub active_state: TwoStateVariableType,
620 pub high_high_state: TwoStateVariableType,
621 pub high_state: TwoStateVariableType,
622 pub low_low_state: TwoStateVariableType,
623 pub low_state: TwoStateVariableType,
624}
625#[derive(Debug, opcua::Event)]
626#[opcua(identifier = "i=10214")]
627pub struct NonExclusiveRateOfChangeAlarmType {
628 pub base: NonExclusiveLimitAlarmType,
629 pub engineering_units: opcua::types::EUInformation,
630}
631#[derive(Debug, opcua::Event)]
632#[opcua(identifier = "i=10637")]
633pub struct OffNormalAlarmType {
634 pub base: DiscreteAlarmType,
635 pub normal_state: opcua::types::NodeId,
636}
637#[derive(Debug, opcua::Event)]
638#[opcua(identifier = "i=3806")]
639pub struct ProgramTransitionAuditEventType {
640 pub base: AuditUpdateStateEventType,
641 pub transition: FiniteTransitionVariableType,
642}
643#[derive(Debug, opcua::Event)]
644#[opcua(identifier = "i=2378")]
645pub struct ProgramTransitionEventType {
646 pub base: TransitionEventType,
647 pub intermediate_result: opcua::types::ExtensionObject,
648}
649#[derive(Debug, opcua::Event)]
650#[opcua(identifier = "i=11436")]
651pub struct ProgressEventType {
652 pub base: opcua::nodes::BaseEventType,
653 pub context: opcua::types::ExtensionObject,
654 pub progress: u16,
655}
656#[derive(Debug, opcua::Event)]
657#[opcua(identifier = "i=15563")]
658pub struct PubSubCommunicationFailureEventType {
659 pub base: PubSubStatusEventType,
660 pub error: opcua::types::StatusCode,
661}
662#[derive(Debug, opcua::Event)]
663#[opcua(identifier = "i=15535")]
664pub struct PubSubStatusEventType {
665 pub base: SystemEventType,
666 pub connection_id: opcua::types::NodeId,
667 pub group_id: opcua::types::NodeId,
668 pub state: opcua::types::PubSubState,
669}
670#[derive(Debug, opcua::Event)]
671#[opcua(identifier = "i=15548")]
672pub struct PubSubTransportLimitsExceedEventType {
673 pub base: PubSubStatusEventType,
674 pub actual: u32,
675 pub maximum: u32,
676}
677#[derive(Debug, opcua::Event)]
678#[opcua(identifier = "i=2788")]
679pub struct RefreshEndEventType {
680 pub base: SystemEventType,
681}
682#[derive(Debug, opcua::Event)]
683#[opcua(identifier = "i=2789")]
684pub struct RefreshRequiredEventType {
685 pub base: SystemEventType,
686}
687#[derive(Debug, opcua::Event)]
688#[opcua(identifier = "i=2787")]
689pub struct RefreshStartEventType {
690 pub base: SystemEventType,
691}
692#[derive(Debug, opcua::Event)]
693#[opcua(identifier = "i=17641")]
694pub struct RoleMappingRuleChangedAuditEventType {
695 pub base: AuditUpdateMethodEventType,
696}
697#[derive(Debug, opcua::Event)]
698#[opcua(identifier = "i=2738")]
699pub struct SemanticChangeEventType {
700 pub base: opcua::nodes::BaseEventType,
701 pub changes: opcua::types::SemanticChangeStructureDataType,
702}
703#[derive(Debug, opcua::EventField, Default)]
704pub struct ShelvedStateMachineType {
705 pub base: FiniteStateMachineType,
706 pub node_id: opcua::types::NodeId,
707 pub one_shot_shelve: opcua::nodes::MethodEventField,
708 pub one_shot_shelve_2: opcua::nodes::MethodEventField,
709 pub one_shot_shelved: StateType,
710 pub one_shot_shelved_to_timed_shelved: TransitionType,
711 pub one_shot_shelved_to_unshelved: TransitionType,
712 pub timed_shelve: opcua::nodes::MethodEventField,
713 pub timed_shelve_2: opcua::nodes::MethodEventField,
714 pub timed_shelved: StateType,
715 pub timed_shelved_to_one_shot_shelved: TransitionType,
716 pub timed_shelved_to_unshelved: TransitionType,
717 pub unshelve: opcua::nodes::MethodEventField,
718 pub unshelve_2: opcua::nodes::MethodEventField,
719 pub unshelve_time: opcua::types::Duration,
720 pub unshelved: StateType,
721 pub unshelved_to_one_shot_shelved: TransitionType,
722 pub unshelved_to_timed_shelved: TransitionType,
723}
724#[derive(Debug, opcua::EventField, Default)]
725pub struct StateMachineType {
726 pub node_id: opcua::types::NodeId,
727 pub current_state: StateVariableType,
728 pub last_transition: TransitionVariableType,
729}
730#[derive(Debug, opcua::EventField, Default)]
731pub struct StateType {
732 pub node_id: opcua::types::NodeId,
733 pub state_number: u32,
734}
735#[derive(Debug, opcua::EventField, Default)]
736pub struct StateVariableType {
737 pub node_id: opcua::types::NodeId,
738 pub value: opcua::types::LocalizedText,
739 pub effective_display_name: opcua::types::LocalizedText,
740 pub id: opcua::types::ExtensionObject,
741 pub name: opcua::types::QualifiedName,
742 pub number: u32,
743}
744#[derive(Debug, opcua::Event)]
745#[opcua(identifier = "i=18496")]
746pub struct SystemDiagnosticAlarmType {
747 pub base: OffNormalAlarmType,
748}
749#[derive(Debug, opcua::Event)]
750#[opcua(identifier = "i=2130")]
751pub struct SystemEventType {
752 pub base: opcua::nodes::BaseEventType,
753}
754#[derive(Debug, opcua::Event)]
755#[opcua(identifier = "i=11753")]
756pub struct SystemOffNormalAlarmType {
757 pub base: OffNormalAlarmType,
758}
759#[derive(Debug, opcua::Event)]
760#[opcua(identifier = "i=11446")]
761pub struct SystemStatusChangeEventType {
762 pub base: SystemEventType,
763 pub system_state: opcua::types::ServerState,
764}
765#[derive(Debug, opcua::Event)]
766#[opcua(identifier = "i=2311")]
767pub struct TransitionEventType {
768 pub base: opcua::nodes::BaseEventType,
769 pub from_state: StateVariableType,
770 pub to_state: StateVariableType,
771 pub transition: TransitionVariableType,
772}
773#[derive(Debug, opcua::EventField, Default)]
774pub struct TransitionType {
775 pub node_id: opcua::types::NodeId,
776 pub transition_number: u32,
777}
778#[derive(Debug, opcua::EventField, Default)]
779pub struct TransitionVariableType {
780 pub node_id: opcua::types::NodeId,
781 pub value: opcua::types::LocalizedText,
782 pub effective_transition_time: opcua::types::UtcTime,
783 pub id: opcua::types::ExtensionObject,
784 pub name: opcua::types::QualifiedName,
785 pub number: u32,
786 pub transition_time: opcua::types::UtcTime,
787}
788#[derive(Debug, opcua::Event)]
789#[opcua(identifier = "i=10751")]
790pub struct TripAlarmType {
791 pub base: OffNormalAlarmType,
792}
793#[derive(Debug, opcua::Event)]
794#[opcua(identifier = "i=19297")]
795pub struct TrustListOutOfDateAlarmType {
796 pub base: SystemOffNormalAlarmType,
797 pub last_update_time: opcua::types::UtcTime,
798 pub trust_list_id: opcua::types::NodeId,
799 pub update_frequency: opcua::types::Duration,
800}
801#[derive(Debug, opcua::Event)]
802#[opcua(identifier = "i=12561")]
803pub struct TrustListUpdatedAuditEventType {
804 pub base: AuditUpdateMethodEventType,
805 pub trust_list_id: opcua::types::NodeId,
806}
807#[derive(Debug, opcua::Event)]
808#[opcua(identifier = "i=32260")]
809pub struct TrustListUpdateRequestedAuditEventType {
810 pub base: AuditUpdateMethodEventType,
811}
812#[derive(Debug, opcua::EventField, Default)]
813pub struct TwoStateVariableType {
814 pub base: StateVariableType,
815 pub node_id: opcua::types::NodeId,
816 pub effective_transition_time: opcua::types::UtcTime,
817 pub false_state: opcua::types::LocalizedText,
818 pub id: bool,
819 pub transition_time: opcua::types::UtcTime,
820 pub true_state: opcua::types::LocalizedText,
821}