Skip to content

Reference

OpcEventNode Class

Defines a generic base class for all general characteristics of an OPC UA Event.

Reference

OpcEventNode Class ​

Namespace
Opc.UaFx
Assembly
Opc.UaFx.Advanced.dll
Package
Opc.UaFx.Advanced v2.59.0
Members
OpcEventNode Members

Defines a generic base class for all general characteristics of an OPC UA Event.

Syntax ​

csharp
[OpcEventType(typeof(OpcEvent))]
[OpcNodeType(2041)]
public class OpcEventNode : OpcObjectNode
vbnet
<OpcEventType(GetType(OpcEvent))>
<OpcNodeType(2041)>
Public Class OpcEventNode
    Inherits OpcObjectNode

Inheritance ​

Object → OpcNode → OpcInstanceNode → OpcObjectNode → OpcEventNode

Implements ​

Derived types ​

Constructors ​

NameDescription
OpcEventNode10 overloadsInitializes a new instance of the OpcEventNode class accessible by the name specified.

Properties ​

NameDescription
DefaultTypeDefinitionIdprotected · overrideGets the default identifier which identifies the node that defines the underlying node type from that this OpcInstanceNode has been created.
EventIdGets or sets a value generated by the server to uniquely identify a particular event notification.
EventIdNodeGets the OpcPropertyNode<T> of the EventId property.
EventTypeIdGets or sets the node identifier which describes the specific type of event.
EventTypeIdNodeGets the OpcNodeIdPropertyNode of the EventTypeId property.
MessageGets or sets a value which defines a human-readable and localizable text description of the event.
MessageNodeGets the OpcTextPropertyNode of the Message property.
ReceiveTimeGets or sets the time the OPC UA server received the event from the underlying device of another server.
ReceiveTimeNodeGets the OpcPropertyNode<T> of the ReceiveTime property.
SeverityGets or sets an indication of the urgency of the event.
SeverityNodeGets the OpcPropertyNode<T> of the Severity property.
SourceNameGets or sets a description of the source of the event.
SourceNameNodeGets the OpcPropertyNode<T> of the SourceName property.
SourceNodeIdGets or sets the node identifier which identifies the node that the event originated from.
SourceNodeIdNodeGets the OpcNodeIdPropertyNode of the SourceNodeId property.
TimeGets or sets the time the event occurred.
TimeNodeGets the OpcPropertyNode<T> of the Time property.

Methods ​

NameDescription
CreateEventCreates a new instance of the OpcEvent class which represents a snapshot of this OpcEventNode.
CreateEventCoreprotected · virtualCreates a new instance of the OpcEvent class representing the specified snapshot of this OpcEventNode.
InitializeDefaultsprotected · overrideInitializes the default values used by the OpcEventNode.
PrepareEventSnapshotprotected · virtual · since v2.22Prepares the OpcEventNode for a new OpcEventNodeSnapshot.
ReportEventProduces an event using the data represented by this OpcEventNode.
ReportEventFromProduces an event using the data represented by this OpcEventNode using the source as initiator of the event reported.

Inherits members from OpcObjectNode, OpcInstanceNode, OpcNode.

Applies to ​

PackageVersions
Opc.UaFx.Advancedv2.5–v2.59