OpcData Class

Namespace: Opc.UaFx
Assemblies: Opc.UaFx.Advanced.dll

Defines an abstract base class of data objects used and provided in the ecosystem of a specific OPC UA Server.

C#

[OpcDataType(22U)]
public abstract class OpcData


Inheritance Object › OpcData


Derived


Attributes OpcDataTypeAttribute

Name Description
OpcData(IOpcDataStore) Initializes a new instance of the OpcData class using the dataStore specified.
Name Description
TypeResolve Occurs when the resolution of a data type fails. Use this event to manually provide the Type to use for a specific data type definition identifier.
Name Description
DataStore Gets the IOpcDataStore which contains the data of this OpcData instance.
Name Description
DeepCopy
GetType(OpcNodeId) Retrieves the Type which implementes the data type which is identified by the typeId specified.
GetTypeInfo(OpcEncoding) Retrieves the OpcDataTypeInfo which declares the data type which is identified by the encoding specified.
GetTypeInfo(OpcNodeId) Retrieves the OpcDataTypeInfo which declares the data type which is identified by the typeId specified.
GetTypeInfo(Type) Retrieves the OpcDataTypeInfo which declares the data type implemented by the underlyingType specified.
GetTypeInfo``1 Retrieves the OpcDataTypeInfo which declares the data type implemented by the T specified.
New(OpcDataTypeInfo) Creates a new instance of the OpcDataObject class using the dataType specified.
NewArray(OpcDataTypeInfo, Int32) Creates a one-dimensional array of OpcDataObject objects using the dataType and length with zero-based indexing.
RegisterType(Type) Registers the dataType specified as the data object type to create in case there a data instance is to be created for the type definition identified by the OpcDataTypeAttribute defined on the dataType specified.
RegisterType(Type, OpcNodeId) Registers the dataType specified as the data object type to create in case there a data instance is to be created for the type definition identified by the dataTypeId specified.
RegisterType(Type, OpcNodeId, OpcEncoding) Registers the dataType specified as the data object type to create in case there a data instance is to be created for the type definition identified by the dataTypeId or by one of the dataTypeEncodings specified.
RegisterType``1 Registers the type defined by T as the data object type to create in case there a data instance is to be created for the type definition identified by the OpcDataTypeAttribute defined on the T specified.
RegisterType``1(OpcNodeId) Registers the type defined by T as the data object type to create in case there a data instance is to be created for the type definition identified by the dataTypeId specified.
RegisterType``1(OpcNodeId, OpcEncoding) Registers the type defined by T as the data object type to create in case there a data instance is to be created for the type definition identified by the dataTypeId or by one of the dataTypeEncodings specified.
RegisterTypes(Assembly) Registers all non-abstract types in the assembly specified which defines the OpcDataTypeAttribute.
RegisterTypes(IEnumerable) Registers the dataTypes specified as the data object type to create in case there a data instance is to be created for the type definitions identified by the OpcEventTypeAttribute used on one of the dataTypes specified.
RegisterTypes(Type, Type) Registers the dataType and the further specified dataTypes as the data object type to create in case there a data instance is to be created for the type definition identified by the OpcDataTypeAttribute used on the dataType or on one of the dataTypes specified.
ShallowCopy
UnregisterType``1 Unregisters the previously registered (see RegisterType´´1) type defined by T as the Object type to not longer create for the type definition identified by the OpcDataTypeAttribute defined on the T specified.
UnregisterType``1(OpcNodeId) Unregisters the previously registered (see RegisterType´´1(OpcNodeId)) type defined by T as the Object type to not longer create for the type definition identified by the dataTypeId specified.
UnregisterType``1(OpcNodeId, OpcEncoding) Unregisters the previously registered (see RegisterType´´1(OpcNodeId, OpcEncoding)) type defined by T as the Object type to not longer create for the type definition identified by the dataTypeId or by one of the dataTypeEncodings specified.
UnregisterTypes(Assembly) Unregisters all previously registered types (see RegisterTypes(Assembly)) in the assembly specified.
UnregisterTypes(IEnumerable) Unregisters the previously registered (see RegisterTypes(IEnumerable)) dataTypes specified.
UnregisterTypes(Type, Type) Unregisters the previously registered dataType and the further specified dataTypes (see RegisterTypes(Type, Type)).