.NET Based OPC UA Client/Server SDK
3.2.1.522
|
Defines application specific behavior for the Server object. More...
Inherits UnifiedAutomation.UaServer.BaseObjectModel.
Public Member Functions | |
NamespaceMetadataModel (ServerManager server) | |
Initializes a new instance of the ServerModel class. More... | |
override ModelHandle | GetModelHandle (StringTable namespaceUris, object instance) |
Gets the metadata handle. More... | |
NamespaceMetadataModel () | |
Initializes a new instance of the NamespaceMetadataModel class. More... | |
NamespaceMetadataModel (NamespaceMetadataModel template) | |
Initializes a new instance of the NamespaceMetadataModel class. More... | |
Public Member Functions inherited from UnifiedAutomation.UaServer.BaseObjectModel | |
BaseObjectModel () | |
Initializes a new instance of the BaseObjectModel class. More... | |
BaseObjectModel (BaseObjectModel template) | |
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... | |
Properties | |
uint | ConfigurationVersion [get, set] |
Gets or sets the ConfigurationVersion More... | |
AccessRestrictionType | DefaultAccessRestrictions [get, set] |
Gets or sets the DefaultAccessRestrictions More... | |
RolePermissionType[] | DefaultRolePermissions [get, set] |
Gets or sets the DefaultRolePermissions More... | |
RolePermissionType[] | DefaultUserRolePermissions [get, set] |
Gets or sets the DefaultUserRolePermissions More... | |
bool | IsNamespaceSubset [get, set] |
Defines whether all nodes of the namespace are accessible in the Server or only a subset. More... | |
AddressSpaceFileModel | NamespaceFile [get, set] |
Contains all nodes and references of the namespace in an XML file where the information model XML schema is defined in Part 6 of OPC UA Specification. More... | |
DateTime | NamespacePublicationDate [get, set] |
Provides the publication date of the namespace version. More... | |
string | NamespaceUri [get, set] |
Contains the namespace represented by an instance of the MetaDataType. More... | |
string | NamespaceVersion [get, set] |
Provides version information for the namespace. More... | |
IdType[] | StaticNodeIdTypes [get, set] |
Provides a list of IdTypes used for static nodes. More... | |
string[] | StaticNumericNodeIdRange [get, set] |
Provides a list of NumericRanges used for numeric NodeIds of static nodes. More... | |
string | StaticStringNodeIdPattern [get, set] |
Provides a regular expression as defined for the Like operator defined in Part 4 of the OPC UA Specification to filter for string NodeIds of static nodes. 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... | |
Defines application specific behavior for the Server object.
This object type defines the metadata for a namespace provided by the Server.
Instances of this object allow Servers to provide more information like version information in addition to the namespace URI. Important information for aggregating Servers is provided by the StaticNodeIdTypes, StaticNumericNodeIdRange and StaticStringNodeIdPattern properties.
The browse name of instances of this type shall be derived from the represented namespace. This can, for example, be done by using the index of the namespace in the namespace array as namespaceIndex of the UnifiedAutomation.UaBase.QualifiedName and the namespace URI as name of the UnifiedAutomation.UaBase.QualifiedName.
UnifiedAutomation.UaServer.NamespaceMetadataModel.NamespaceMetadataModel | ( | ServerManager | server | ) |
Initializes a new instance of the ServerModel class.
server | The server. |
UnifiedAutomation.UaServer.NamespaceMetadataModel.NamespaceMetadataModel | ( | ) |
Initializes a new instance of the NamespaceMetadataModel class.
UnifiedAutomation.UaServer.NamespaceMetadataModel.NamespaceMetadataModel | ( | NamespaceMetadataModel | template | ) |
Initializes a new instance of the NamespaceMetadataModel class.
template | The template. |
|
virtual |
Gets the metadata handle.
namespaceUris | The namespace uris. |
instance | The instance. |
Reimplemented from UnifiedAutomation.UaServer.ModelControllerBase.
|
getset |
Gets or sets the ConfigurationVersion
|
getset |
Gets or sets the DefaultAccessRestrictions
|
getset |
Gets or sets the DefaultRolePermissions
|
getset |
Gets or sets the DefaultUserRolePermissions
|
getset |
Defines whether all nodes of the namespace are accessible in the Server or only a subset.
It is set to FALSE if the full namespace is provided and TRUE if not.
Static nodes are identical for all attributes in all Servers, including the Value attribute. For type definition nodes, also the instance declarations shall be identical. That means that for static nodes the semantic is always the same. Namespaces with static nodes are for example namespaces defined by standard bodies like the OPC Foundation. This is important information for aggregating Servers. If the namespace is dynamic and used in several Servers the aggregating Server needs to distinguish the namespace for each aggregated Server. The static nodes of a namespace only need to be handled once, even if it they are used by several aggregated Servers.
|
getset |
Contains all nodes and references of the namespace in an XML file where the information model XML schema is defined in Part 6 of OPC UA Specification.
The XML file is provided through an AddressSpaceFileType object.
|
getset |
Provides the publication date of the namespace version.
This property value can be used by Clients to determine the latest version if different versions are provided by different Servers.
|
getset |
Contains the namespace represented by an instance of the MetaDataType.
|
getset |
Provides version information for the namespace.
It is intended for display purposes and shall not be used to programmatically identify the latest version.
|
getset |
Provides a list of IdTypes used for static nodes.
All nodes in the address space of the namespace using one of the IdTypes in the array shall be static nodes.
|
getset |
Provides a list of NumericRanges used for numeric NodeIds of static nodes.
If the StaticNodeIdTypes property contains an entry for numeric NodeIds then this property is ignored.
|
getset |
Provides a regular expression as defined for the Like operator defined in Part 4 of the OPC UA Specification to filter for string NodeIds of static nodes.
If the StaticNodeIdTypes property contains an entry for string NodeIds, this property is ignored.