Reference
OpcData Class
Defines an abstract base class of data objects used and provided in the ecosystem of a specific OPC UA Server.
Reference
OpcData Class
- Namespace
- Opc.UaFx
- Assembly
- Opc.UaFx.Advanced.dll
- Package
- Opc.UaFx.Advanced v2.59.0
- Members
- OpcData Members
- Also in
- Opc.UaFx.Client
Defines an abstract base class of data objects used and provided in the ecosystem of a specific OPC UA Server.
Syntax
csharp
[OpcDataType(22)]
public abstract class OpcDatavbnet
<OpcDataType(22)>
Public MustInherit Class OpcDataInheritance
Object → OpcData
Derived types
Constructors
| Name | Description |
|---|---|
| OpcData | Initializes a new instance of the OpcData class. |
Properties
| Name | Description |
|---|---|
| DataStore | Gets the IOpcDataStore which contains the data of this OpcData instance. |
Methods
| Name | Description |
|---|---|
| Decode | Converts the buffer specified to the T defined. |
| DeepCopy | Creates a copy of the current OpcData, which the SDK uses whenever it copies an encodable value of it. |
| Encode | Encodes the value specified using its Binary encoding. |
| GetDataStore | Retrieves the IOpcDataStore which contains the data of this OpcData instance. |
| GetType | Retrieves the Type which implementes the data type which is identified by the typeId specified. |
| GetTypeInfo | Retrieves the OpcDataTypeInfo which declares the data type implemented by the T specified. |
| New | Creates a new instance of the OpcDataObject class using the dataType specified. |
| NewArray | Creates a one-dimensional array of OpcDataObject objects using the dataType and length with zero-based indexing. |
| RegisterType | 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 OpcT specified. |
| Register | Registers the T implementing the IOpc |
| RegisterTypes | Registers all non-abstract types in the assembly specified which defines the Opc |
| ShallowCopy | Creates a shallow copy of the current OpcData. |
| ToExtension | Wraps the instance into an ExtensionObject, so that it can be encoded as the instance of its data type. |
| TryGetTypeMapper | Determines the IOpcTSource. |
| UnregisterType | Unregisters the previously registered (T as the object type to not longer create for the type definition identified by the OpcT specified. |
| Unregister | Unregisters the T implementing the IOpc |
| UnregisterTypes | Unregisters all previously registered types (assembly specified. |
Events
| Name | Description |
|---|---|
| TypeResolve | Occurs when the resolution of a data type fails. |
Applies to
| Package | Versions |
|---|---|
| Opc. | v2. |

