Skip to content

Reference

OpcModel Members

Describes a specific model along with any dependencies these model have.

Reference

OpcModel Members ​

Type
OpcModel
Namespace
Opc.UaFx
Assembly
Opc.UaFx.Advanced.dll
Package
Opc.UaFx.Advanced v2.59.0
Also in
Opc.UaFx.Client

Properties ​

Name ​

Gets the name of the model which is constructed from the LocalPath of the Uri associated with the model represented.

csharp
public string Name { get; }
vbnet
Public ReadOnly Property Name As String

Property value

String

The name of the model derived from the Uri.

PublicationDate ​

Gets the date and time when the model was published.

csharp
public DateTime? PublicationDate { get; }
vbnet
Public ReadOnly Property PublicationDate As Date?

Property value

Nullable<DateTime>

The DateTime the model was published or a null reference (Nothing in Visual Basic) in case there the model does not define a publication date.

Remarks

This value is used for comparison if the model is defined in multiple node sets.

RequiredModels ​

Gets a read-only collection of OpcModel instances used to refer to subsequent models which are required by the model.

csharp
public OpcReadOnlyModelCollection RequiredModels { get; }
vbnet
Public ReadOnly Property RequiredModels As OpcReadOnlyModelCollection

Property value

OpcReadOnlyModelCollection

An instance of the OpcReadOnlyModelCollection class with the OpcModel instances which describe the models required by the current OpcModel.

Uri ​

Gets the uniform resource identifier of the model.

csharp
public Uri Uri { get; }
vbnet
Public ReadOnly Property Uri As Uri

Property value

Uri

The Uri identifying the model.

Remarks

The Uri should be used as one of the namespaces in the address spaces the model is imported.

UriValue ​

Gets string representation of the Uri.

csharp
public string UriValue { get; }
vbnet
Public ReadOnly Property UriValue As String

Property value

String

A string representing the Uri of the model.

Version ​

Gets the programmatic comparable information derived from VersionValue.

csharp
public Version Version { get; }
vbnet
Public ReadOnly Property Version As Version

Property value

Version

An instance of the Version class which offers the version information derived from VersionValue or "0.0" if no version information could be determined.

Remarks

In case there a minimum version of a model is required by a different one, the models PublicationDate is used to resolve these dependencies. The resolution of a required model shall accept any model after the date of publication.

VersionValue ​

Gets the human readable version of the model defined in the node set.

csharp
public string VersionValue { get; }
vbnet
Public ReadOnly Property VersionValue As String

Property value

String

The human readable version-string of the model defined.

Remarks

This is a human readable string which is not intended for programmatic comparisons.