OpcModel Members

Namespace: Opc.UaFx
Assemblies: Opc.UaFx.Advanced.dll, Opc.UaFx.Advanced.dll
The OpcModel type exposes the following members.

Name

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

C#

public string Name { get; }


Property Value

String

The name of the model derived from the Uri.

PublicationDate

Gets the date and time when the model was published.

C#

public DateTime? PublicationDate { get; }


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.

C#

public OpcReadOnlyModelCollection RequiredModels { get; }


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.

C#

public Uri Uri { get; }


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.

C#

public string UriValue { get; }


Property Value

String

A String representing the Uri of the model.

Version

Gets the programmatic comparable information derived from VersionValue.

C#

public Version Version { get; }


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.

C#

public string VersionValue { get; }


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.