UA Bundle SDK .NET
2.4.2.373
|
BaseType for ModelChangeEvents. More...
Inherits UnifiedAutomation.UaServer.BaseEventModel.
Inherited by UnifiedAutomation.UaServer.GeneralModelChangeEventModel, and UnifiedAutomation.UaServer.SemanticChangeEventModel.
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... | |
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... | |
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... | |
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 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.
|
inline |
Initializes a new instance of the BaseModelChangeEventModel class.
|
inline |
Initializes a new instance of the BaseModelChangeEventModel class.
template | The template. |
|
inlinevirtual |
Updates the event.
e | The event to update. |
Reimplemented from UnifiedAutomation.UaServer.BaseEventModel.
Reimplemented in UnifiedAutomation.UaServer.SemanticChangeEventModel, and UnifiedAutomation.UaServer.GeneralModelChangeEventModel.