QuickOPC User's Guide and Reference
OpcLabs.EasyOpc.DataAccess.Generic Namespace
Inheritance Hierarchy
OpcLabs.EasyOpcClassicCore Assembly : OpcLabs.EasyOpc.DataAccess.Generic Namespace
This namespace contains classes for OPC Data Access that use generics.
Classes
 ClassDescription
ClassHolds an OPC server and item descriptor, and a typed data value, as arguments to some operation.
ClassHolds an OPC server and item descriptor, and a typed value/timestamp/quality (OpcLabs.EasyOpc.DataAccess.DAVtq), as arguments to some operation.
ClassHolds typed data value, timestamp and quality, abbreviated sometimes as VTQ. This is a common combination in OPC, e.g. returned when an OPC item is read.
ClassHolds result of an operation in form of a typed DAVtq<TValue> (value, timestamp, and quality).
ClassProvides typed data for an event raised for every significant change in a subscribed OPC item.
ClassHolds an OPC server and item descriptor, and OPC group parameters, and possibly a typed callback method, as arguments to subscription operation.
Delegates
 DelegateDescription
DelegateRepresents the method that will handle an event raised for every significant change in a subscribed OPC item.
Remarks

 

Following generic types are available for use with OPC Data Access and OPC XML-DA:

These types are used with generic access extensions for OPC items (see Generic Access) and with generic access extensions for OPC properties (see Generic Access). They are also use with the Live Mapping Model.

For example, you can call the EasyDAClient.ReadItem<T> extension method with a given type T, and receive back a DAVtq<T> object with a TypedValue already properly typed as T.

Noted that if the untyped property on the base (non-generic) type has a name like XXXX, the corresponding typed property on the generic type has a name like TypedXXXX. For example, for an untyped property DAVtqResult.Vtq, there is a corresponding typed property DAVtqResult<T>.TypedVtq.

 

See Also

Reference

OpcLabs.EasyOpcClassicCore Assembly