.NET Based OPC UA Client/Server SDK
3.3.0.530
|
Defines application specific behavior for the Server object. More...
Inherits UnifiedAutomation.UaServer.BaseObjectModel.
Public Member Functions | |||
ServerDiagnosticsModel (ServerManager server) | |||
Initializes a new instance of the ServerDiagnosticsModel class. More... | |||
override ModelHandle | GetModelHandle (StringTable namespaceUris, object instance) | ||
Gets the metadata handle. More... | |||
ServerDiagnosticsModel () | |||
Initializes a new instance of the ServerDiagnosticsModel class. More... | |||
ServerDiagnosticsModel (ServerDiagnosticsModel template, DummyArgument dummy=null) | |||
Initializes a new instance of the ServerDiagnosticsModel class. More... | |||
Public Member Functions inherited from UnifiedAutomation.UaServer.BaseObjectModel | |||
BaseObjectModel () | |||
Initializes a new instance of the BaseObjectModel class. More... | |||
BaseObjectModel (BaseObjectModel template, DummyArgument dummy=null) | |||
Initializes a new instance of the BaseObjectModel class. More... | |||
Public Member Functions inherited from UnifiedAutomation.UaServer.ModelControllerBase | |||
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... | |||
StatusCode | GetStatusCode (string propertyName) | ||
Retrieve the status code for the given property. If no status code was explicitly set, StatusCodes.Good will be returned.
| |||
void | SetStatusCode (string propertyName, StatusCode statusCode) | ||
Sets the status code of the given property. More... | |||
Static Public Member Functions | |
static ServerDiagnosticsSummaryDataType | GetServerDiagnosticsSummary (ServerDiagnosticsSummaryModel diagnostics) |
Gets the server diagnostics. More... | |
Properties | |
bool | EnabledFlag [get, set] |
Identifies whether or not diagnostic information is collected by the Server. More... | |
SamplingIntervalDiagnosticsDataType[] | SamplingIntervalDiagnosticsArray [get, set] |
An array of diagnostic information per sampling rate (see UnifiedAutomation.UaBase.SamplingIntervalDiagnosticsDataType). More... | |
ServerDiagnosticsSummaryModel | ServerDiagnosticsSummary [get, set] |
Contains diagnostic summary information for the Server. More... | |
SessionsDiagnosticsSummaryModel | SessionsDiagnosticsSummary [get, set] |
Contains diagnostic information per session (see UnifiedAutomation.UaServer.SessionsDiagnosticsSummaryModel). More... | |
SubscriptionDiagnosticsDataType[] | SubscriptionDiagnosticsArray [get, set] |
An array of subscription diagnostic information per subscription (see UnifiedAutomation.UaBase.SubscriptionDiagnosticsDataType). 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... | |
Properties inherited from UnifiedAutomation.UaServer.INotifyStatusCodeInfo | |
bool | HasStatusCodes [get] |
true if no property has an explicit set status code. Hence when all status codes are implicit StatusCodes.Good. More... | |
Additional Inherited Members | |
Public Attributes inherited from UnifiedAutomation.UaServer.ModelControllerBase | |
bool | HasStatusCodes => m_statusCodes != null && m_statusCodes.Count > 0 |
Protected Member Functions inherited from UnifiedAutomation.UaServer.ModelControllerBase | |
void | RaisePropertyChangedEvent ([CallerMemberName] string propertyName=null) |
Raises an property change event. More... | |
void | RaisePropertyChangeRequestedEvent< T > (T value, [CallerMemberName] string propertyName=null) |
Called when the value of a property is supposed to be changed. More... | |
bool | SetField< T > (ref T field, T value, [CallerMemberName] string propertyName=null) |
Sets the backing field to the new value, and triggers a property change event, if the value has changed. More... | |
Events inherited from UnifiedAutomation.UaServer.ModelControllerBase | |
PropertyChangedEventHandler | PropertyChanged |
Occurs when a property value changes. More... | |
EventHandler < PropertyChangeRequestedEventArgs > | PropertyChangeRequested |
The event is emitted just before the value will be changed, and gives the observer the opportunity to reject or adjust (e.g. clamp) the property change by setting the PropertyChangeRequestedEventArgs.StatusCode and PropertyChangeRequestedEventArgs.Value properties. More... | |
EventHandler < StatusCodeChangedEventArgs > | StatusCodeChanged |
Events inherited from UnifiedAutomation.UaServer.INotifyPropertyChangeRequested | |
EventHandler < PropertyChangeRequestedEventArgs > | PropertyChangeRequested |
The property change request event. More... | |
Events inherited from UnifiedAutomation.UaServer.INotifyStatusCodeInfo | |
EventHandler < StatusCodeChangedEventArgs > | StatusCodeChanged |
Occurs if the status code of a property was changed. More... | |
Defines application specific behavior for the Server object.
This ObjectType defines diagnostic information about the OPC UA Server.
UnifiedAutomation.UaServer.ServerDiagnosticsModel.ServerDiagnosticsModel | ( | ServerManager | server | ) |
Initializes a new instance of the ServerDiagnosticsModel class.
server | The server. |
UnifiedAutomation.UaServer.ServerDiagnosticsModel.ServerDiagnosticsModel | ( | ) |
Initializes a new instance of the ServerDiagnosticsModel class.
UnifiedAutomation.UaServer.ServerDiagnosticsModel.ServerDiagnosticsModel | ( | ServerDiagnosticsModel | template, |
DummyArgument | dummy = null |
||
) |
Initializes a new instance of the ServerDiagnosticsModel class.
template | The template. |
dummy | Dummy argument to enable writing own constructors that are called by the generated code. |
|
virtual |
Gets the metadata handle.
namespaceUris | The namespace uris. |
instance | The instance. |
Reimplemented from UnifiedAutomation.UaServer.ModelControllerBase.
|
static |
Gets the server diagnostics.
diagnostics | The diagnostics. |
|
getset |
Identifies whether or not diagnostic information is collected by the Server.
It can also be used by a client to enable or disable the collection of diagnostic information of the Server. The following settings of the boolean value apply: TRUE indicates that the Server collects diagnostic information, and setting the value to TRUE leads to re setting and enabling the collection. FALSE indicates that no statistic information is collected, and setting the value to FALSE disables the collection without resetting the statistic values.
Static diagnostic Nodes that always appear in the address space will return Bad_NotReadable when the Value attribute of such a Node is read or subscribed to and diagnostics are turned off. Dynamic diagnostic nodes (such as the Session nodes) will not appear in the address space when diagnostics are turned off.
|
getset |
An array of diagnostic information per sampling rate (see UnifiedAutomation.UaBase.SamplingIntervalDiagnosticsDataType).
There is one entry for each sampling rate currently used by the Server. Its type definition node is the variable type UnifiedAutomation.UaServer.SamplingIntervalDiagnosticsArrayModel, providing a Variable for each entry in the array (see UnifiedAutomation.UaServer.SamplingIntervalDiagnosticsArrayModel ).
The sampling interval diagnostics are only collected by Servers which use a fixed set of sampling intervals. In these cases, length of the array and the set of contained variables will be determined by the Server configuration and the NodeId assigned to a given sampling interval diagnostics variable shall not change as long as the Server configuration does not change. A Server may not expose the SamplingIntervalDiagnosticsArray if it does not use fixed sampling rates.
|
getset |
Contains diagnostic summary information for the Server.
See UnifiedAutomation.UaBase.ServerDiagnosticsSummaryDataType.
|
getset |
Contains diagnostic information per session (see UnifiedAutomation.UaServer.SessionsDiagnosticsSummaryModel).
|
getset |
An array of subscription diagnostic information per subscription (see UnifiedAutomation.UaBase.SubscriptionDiagnosticsDataType).
There is one entry for each notification channel actually established in the Server. Its type definition node is the variable type UnifiedAutomation.UaServer.SubscriptionDiagnosticsArrayModel, providing a variable for each entry in the array (see UnifiedAutomation.UaServer.SubscriptionDiagnosticsArrayModel). Those variables are also used as variables referenced by other variables.