.NET Based OPC UA Client/Server SDK  3.1.0.500
UnifiedAutomation.UaServer.BaseModelChangeEventModel Class Reference

BaseType for ModelChangeEvents. More...

Inherits UnifiedAutomation.UaServer.BaseEventModel.

Inherited by UnifiedAutomation.UaServer.GeneralModelChangeEventModel.

Public Member Functions

 BaseModelChangeEventModel ()
 Initializes a new instance of the BaseModelChangeEventModel class. More...
 
 BaseModelChangeEventModel (BaseModelChangeEventModel template)
 Initializes a new instance of the BaseModelChangeEventModel class. More...
 
override void UpdateEvent (GenericEvent e)
 Updates the event. More...
 
- Public Member Functions inherited from UnifiedAutomation.UaServer.BaseEventModel
 BaseEventModel ()
 Initializes a new instance of the BaseEventModel class. More...
 
 BaseEventModel (BaseEventModel template)
 Initializes a new instance of the BaseEventModel class. More...
 
void NewId ()
 Assigns a new EventId, Time and ReceiveTime to the event. More...
 
virtual GenericEvent CreateEvent (FilterManager manager)
 Creates the event. More...
 
virtual GenericEvent CreateEvent (FilterManager manager, bool autoGenerateEventIdAndTime)
 Creates the event. More...
 
- Public Member Functions inherited from UnifiedAutomation.UaServer.ModelControllerBase
virtual ModelHandle GetModelHandle (StringTable namespaceUris, object instance)
 Gets the metadata handle. More...
 
virtual DataValue GetValue (IMapperContext context, ModelMapping mapping)
 Gets the value associated with the mapping. More...
 
virtual bool SetValue (IMapperContext context, ModelMapping mapping, DataValue value)
 Sets the value associated with the mapping. More...
 

Additional Inherited Members

- Properties inherited from UnifiedAutomation.UaServer.BaseEventModel
NodeId NodeId [get, set]
 The node identifier for a representation of an event in the Server address space. Used mainly for ConditionIds. More...
 
byte[] EventId [get, set]
 Generated by the server to uniquely identify a particular Event Notification. More...
 
NodeId EventType [get, set]
 Describes the specific type of Event. More...
 
NodeId SourceNode [get, set]
 Identifies the Node that the Event originated from. More...
 
string SourceName [get, set]
 Provides a description of the source of the Event. More...
 
DateTime Time [get, set]
 Provides the time the Event occurred. More...
 
DateTime ReceiveTime [get, set]
 Provides the time the OPC UA Server received the Event from the underlying device of another Server. More...
 
TimeZoneDataType LocalTime [get, set]
 Contains the Offset and the DaylightSavingInOffset flag. More...
 
LocalizedText Message [get, set]
 Provides a human-readable and localizable text description of the Event. More...
 
ushort Severity [get, set]
 An indication of the urgency of the Event. More...
 
INodeAccessInfo NodeAccessInfo [get, set]
 Using a NodeAccessInfo can restrict the access of an event to single scopes. More...
 
- Properties inherited from UnifiedAutomation.UaServer.ModelControllerBase
ModelHandle ModelHandle [get, set]
 Gets or sets the metadata handle. More...
 
object UserData [get, set]
 Gets or sets the user data. More...
 

Detailed Description

BaseType for ModelChangeEvents.

This Event does not contain information about the changes but only indicates that changes occurred. Therefore the Client shall assume that any or all of the Nodes may have changed.

This EventType inherits all Properties of the BaseEventType. There are no additional Properties defined for this EventType. The SourceNode for Events of this type should be the Node of the View that gives the context of the changes. If the whole AddressSpace is the context, the SourceNode is set to the NodeId of the Server object. The SourceName for Events of this type should be the String part of the BrowseName of the View; for the whole AddressSpace it should be “Server”.

Two types of ModelChangeEvents are defined: the BaseModelChangeEvent that does not contain any information about the changes and the GeneralModelChangeEvent that identifies the changed Nodes via an array. The precision used depends on both the capability of the OPC UA Server and the nature of the update. An OPC UA Server may use either ModelChangeEvent type depending on circumstances. It may also define subtypes of these EventTypes adding additional information. To ensure interoperability, one should follow the guidelines for Events listed below.

  • If the array of the GeneralModelChangeEvent is present, then it should identify every Node that has changed since the preceding ModelChangeEvent.
  • The OPC UA Server should emit exactly one ModelChangeEvent for an update or series of updates. It should not issue multiple types of ModelChangeEvent for the same update.
  • Any Client that responds to ModelChangeEvents should respond to any Event of the UnifiedAutomation.UaServer.BaseModelChangeEventModel including its subtypes like the UnifiedAutomation.UaServer.GeneralModelChangeEventModel.

If a Client is not capable of interpreting additional information of the subtypes of the UnifiedAutomation.UaServer.BaseModelChangeEventModel, it should treat Events of these types the same way as Events of the UnifiedAutomation.UaServer.BaseModelChangeEventModel.

Constructor & Destructor Documentation

UnifiedAutomation.UaServer.BaseModelChangeEventModel.BaseModelChangeEventModel ( )
inline

Initializes a new instance of the BaseModelChangeEventModel class.

UnifiedAutomation.UaServer.BaseModelChangeEventModel.BaseModelChangeEventModel ( BaseModelChangeEventModel  template)
inline

Initializes a new instance of the BaseModelChangeEventModel class.

Parameters
templateThe template.

Member Function Documentation

override void UnifiedAutomation.UaServer.BaseModelChangeEventModel.UpdateEvent ( GenericEvent  e)
inlinevirtual

Updates the event.

Parameters
eThe event to update.

Reimplemented from UnifiedAutomation.UaServer.BaseEventModel.

Reimplemented in UnifiedAutomation.UaServer.GeneralModelChangeEventModel.


The documentation for this class was generated from the following file: