Reference
OpcValue Class
Stores a value optionally associated with status and timestamp information.
Reference
OpcValue Class
- Namespace
- Opc.UaFx
- Assembly
- Opc.UaFx.Advanced.dll
- Package
- Opc.UaFx.Advanced v2.59.0
- Members
- OpcValue Members
- Also in
- Opc.UaFx.Client
Stores a value optionally associated with status and timestamp information.
Syntax
csharp
public class OpcValuevbnet
Public Class OpcValueInheritance
Object → OpcValue
Implements
- IComparable
- IComparable<OpcValue>
- IEquatable<OpcValue>
- IFormattable
Derived types
Constructors
| Name | Description |
|---|---|
| OpcValue | Initializes a new instance of the OpcValue class using the value. |
Properties
| Name | Description |
|---|---|
| DataType | Gets the type of value represented. |
| DataTypeId | Gets the node identifier of the DataType of the value represented. |
| Rank | Gets the rank of the value represented. |
| Server | Gets or sets the difference between a high resolution timestamp with a resolution of 10 picoseconds and the ServerTimestamp which only has a 100 ns resolution. |
| ServerTimestamp | Gets or sets the timestamp at which the server recorded the value. |
| Source | Gets or sets the difference between a high resolution timestamp with a resolution of 10 picoseconds and the SourceTimestamp which only has a 100 ns resolution. |
| SourceTimestamp | Gets or sets the timestamp of the source from that the value originates. |
| Status | Gets the status information which defines the servers ability to access/provide the value. |
| Value | Gets or sets the value represented. |
Methods
| Name | Description |
|---|---|
| As | Retrieves the underlying Value as the type specified by T. |
| AsValue | Retrieves a new OpcValue<T. |
| CompareTo | Compares the current OpcValue with the other. |
| Equals | Determines whether the specified other is equal to this OpcValue. |
| GetHashCode | Retrieves a hash code for this OpcValue. |
| ToString | Converts the value of this instance to its equivalent string representation. |
Operators
| Name | Description |
|---|---|
| Equality | Returns a value indicating whether two instance of OpcValue are equal. |
| Explicit | Converts a OpcValue to an DataValue object. |
| GreaterThan | Determines whether the first specified OpcValue object is greater than the second specified OpcValue object. |
| Greater | Determines whether the first specified OpcValue object is greater than or equal to the second specified OpcValue object. |
| Implicit | Converts a bool to an OpcValue object. |
| Inequality | Returns a value indicating whether two instances of OpcValue are not equal. |
| LessThan | Determines whether the first specified OpcValue object is less than the second specified OpcValue object. |
| LessThanOrEqual | Determines whether the first specified OpcValue object is less than or equal to the second OpcValue object. |
Applies to
| Package | Versions |
|---|---|
| Opc. | v2. |

