Reference
OpcNodeValue Members
Stores the generic value of the Value attribute associated with a specific node optionally associated with status and timestamp information.
Reference
OpcNodeValue<T> Members
- Type
- OpcNodeValue<T>
- Namespace
- Opc.UaFx
- Assembly
- Opc.UaFx.Advanced.dll
- Package
- Opc.UaFx.Advanced v2.59.0
- Also in
- Opc.UaFx.Client
Inherits members from OpcNodeAttribute<T>, OpcValue<T>, OpcValue.
Constructors
OpcNodeValue
| Overload | Description |
|---|---|
| OpcNodeValue( | Initializes a new instance of the OpcNodeValue<nodeId of the node the Value attribute represented belongs to. |
| OpcNodeValue( | Initializes a new instance of the OpcNodeValue<nodeId of the node the Value attribute and its value specified belongs to. |
| OpcNodeValue( | Initializes a new instance of the OpcNodeValue<nodeId of the node the Value attribute and its value and the sourceTimestamp of the value specified belongs to. |
| OpcNodeValue( | Initializes a new instance of the OpcNodeValue<nodeId of the node the Value attribute and its value, sourceTimestamp and status of the value specified belongs to. |
| OpcNodeValue( | Initializes a new instance of the OpcNodeValue<nodeId of the node the Value attribute and its value, sourceTimestamp and statusCode of the value specified belongs to. |
| OpcNodeValue( | Initializes a new instance of the OpcNodeValue<nodeId of the node the Value attribute and its value, sourceTimestamp and serverTimestamp of the value specified belongs to. |
| OpcNodeValue( | Initializes a new instance of the OpcNodeValue<nodeId of the node the Value attribute and its value, sourceTimestamp, serverTimestamp and status of the value specified belongs to. |
| OpcNodeValue( | Initializes a new instance of the OpcNodeValue<nodeId of the node the Value attribute and its value, sourceTimestamp, serverTimestamp and statusCode of the value specified belongs to. |
Exceptions (all overloads)
| Exception | Condition |
|---|---|
| Argument | The nodeId is a null reference ( |
OpcNodeValue(OpcNodeId)
Initializes a new instance of the OpcNodeValue<T> class with the nodeId of the node the Value attribute represented belongs to.
public OpcNodeValue(OpcNodeId nodeId)Public Sub New(nodeId As OpcNodeId)Parameters
| Name | Type | Description |
|---|---|---|
nodeId | OpcNodeId | The OpcNodeId of the node the value of its Value attribute is to be represented. |
OpcNodeValue(OpcNodeId, T)
Initializes a new instance of the OpcNodeValue<T> class with the nodeId of the node the Value attribute and its value specified belongs to.
public OpcNodeValue(OpcNodeId nodeId, T value)Public Sub New(nodeId As OpcNodeId, value As T)Parameters
| Name | Type | Description |
|---|---|---|
nodeId | OpcNodeId | The OpcNodeId of the node its Value attribute value is to be represented. |
value | T | The value to represent. |
OpcNodeValue(OpcNodeId, T, DateTime)
Initializes a new instance of the OpcNodeValue<T> class with the nodeId of the node the Value attribute and its value and the sourceTimestamp of the value specified belongs to.
public OpcNodeValue(OpcNodeId nodeId, T value, DateTime sourceTimestamp)Public Sub New(nodeId As OpcNodeId, value As T, sourceTimestamp As Date)Parameters
| Name | Type | Description |
|---|---|---|
nodeId | OpcNodeId | The OpcNodeId of the node its Value attribute value is to be represented. |
value | T | The value to represent. |
sourceTimestamp | DateTime | The timestamp at which the source produced the value. |
OpcNodeValue(OpcNodeId, T, DateTime, OpcStatus)
Initializes a new instance of the OpcNodeValue<T> class with the nodeId of the node the Value attribute and its value, sourceTimestamp and status of the value specified belongs to.
public OpcNodeValue(
OpcNodeId nodeId,
T value,
DateTime sourceTimestamp,
OpcStatus status)Public Sub New(
nodeId As OpcNodeId,
value As T,
sourceTimestamp As Date,
status As OpcStatus)Parameters
| Name | Type | Description |
|---|---|---|
nodeId | OpcNodeId | The OpcNodeId of the node its Value attribute value is to be represented. |
value | T | The value to represent. |
sourceTimestamp | DateTime | The timestamp at which the source produced the value. |
status | OpcStatus | The status information associated with the value. |
OpcNodeValue(OpcNodeId, T, DateTime, OpcStatusCode)
Initializes a new instance of the OpcNodeValue<T> class with the nodeId of the node the Value attribute and its value, sourceTimestamp and statusCode of the value specified belongs to.
[CLSCompliant(false)]
public OpcNodeValue(
OpcNodeId nodeId,
T value,
DateTime sourceTimestamp,
OpcStatusCode statusCode)<CLSCompliant(False)>
Public Sub New(
nodeId As OpcNodeId,
value As T,
sourceTimestamp As Date,
statusCode As OpcStatusCode)Parameters
| Name | Type | Description |
|---|---|---|
nodeId | OpcNodeId | The OpcNodeId of the node its Value attribute value is to be represented. |
value | T | The value to represent. |
sourceTimestamp | DateTime | The timestamp at which the source produced the value. |
statusCode | OpcStatusCode | One of the OpcStatusCode members which defines the status information associated with the value. |
OpcNodeValue(OpcNodeId, T, DateTime, DateTime)
Initializes a new instance of the OpcNodeValue<T> class with the nodeId of the node the Value attribute and its value, sourceTimestamp and serverTimestamp of the value specified belongs to.
public OpcNodeValue(
OpcNodeId nodeId,
T value,
DateTime sourceTimestamp,
DateTime serverTimestamp)Public Sub New(
nodeId As OpcNodeId,
value As T,
sourceTimestamp As Date,
serverTimestamp As Date)Parameters
| Name | Type | Description |
|---|---|---|
nodeId | OpcNodeId | The OpcNodeId of the node its Value attribute value is to be represented. |
value | T | The value to represent. |
sourceTimestamp | DateTime | The timestamp at which the source produced the value. |
serverTimestamp | DateTime | The timestamp at which the server recorded the value. |
OpcNodeValue(OpcNodeId, T, DateTime, DateTime, OpcStatus)
Initializes a new instance of the OpcNodeValue<T> class with the nodeId of the node the Value attribute and its value, sourceTimestamp, serverTimestamp and status of the value specified belongs to.
public OpcNodeValue(
OpcNodeId nodeId,
T value,
DateTime sourceTimestamp,
DateTime serverTimestamp,
OpcStatus status)Public Sub New(
nodeId As OpcNodeId,
value As T,
sourceTimestamp As Date,
serverTimestamp As Date,
status As OpcStatus)Parameters
| Name | Type | Description |
|---|---|---|
nodeId | OpcNodeId | The OpcNodeId of the node its Value attribute value is to be represented. |
value | T | The value to represent. |
sourceTimestamp | DateTime | The timestamp at which the source produced the value. |
serverTimestamp | DateTime | The timestamp at which the server recorded the value. |
status | OpcStatus | The status information associated with the value. |
OpcNodeValue(OpcNodeId, T, DateTime, DateTime, OpcStatusCode)
Initializes a new instance of the OpcNodeValue<T> class with the nodeId of the node the Value attribute and its value, sourceTimestamp, serverTimestamp and statusCode of the value specified belongs to.
[CLSCompliant(false)]
public OpcNodeValue(
OpcNodeId nodeId,
T value,
DateTime sourceTimestamp,
DateTime serverTimestamp,
OpcStatusCode statusCode)<CLSCompliant(False)>
Public Sub New(
nodeId As OpcNodeId,
value As T,
sourceTimestamp As Date,
serverTimestamp As Date,
statusCode As OpcStatusCode)Parameters
| Name | Type | Description |
|---|---|---|
nodeId | OpcNodeId | The OpcNodeId of the node its Value attribute value is to be represented. |
value | T | The value to represent. |
sourceTimestamp | DateTime | The timestamp at which the source produced the value. |
serverTimestamp | DateTime | The timestamp at which the server recorded the value. |
statusCode | OpcStatusCode | One of the OpcStatusCode members which defines the status information associated with the value. |
Methods
CompareTo
| Overload | Description |
|---|---|
| CompareTo( | Compares the current OpcNodeValue<other. |
| CompareTo( | Compares the current OpcNodeValue<other. |
| CompareTo( | Compares the current OpcNodeValue<other. |
| CompareTo( | Compares the current OpcNodeValue<other. |
| CompareTo( | Compares the current OpcNodeValue< |
CompareTo(object)
Compares the current OpcNodeValue<T> with the other.
public override int CompareTo(object other)Public Overrides Function CompareTo(other As Object) As IntegerParameters
| Name | Type | Description |
|---|---|---|
other | Object | The OpcNodeValue< |
Returns
A 32-bit signed integer that indicates the relative order of the objects being compared (CompareTo(object)).
Overrides
Implements
CompareTo(OpcValue)
Compares the current OpcNodeValue<T> with the other.
public override int CompareTo(OpcValue other)Public Overrides Function CompareTo(other As OpcValue) As IntegerParameters
| Name | Type | Description |
|---|---|---|
other | OpcValue | The OpcNodeValue< |
Returns
A 32-bit signed integer that indicates the relative order of the objects being compared (CompareTo(object)).
Overrides
CompareTo(OpcValue<T>)
Compares the current OpcNodeValue<T> with the other.
public override int CompareTo(OpcValue<T> other)Public Overrides Function CompareTo(other As OpcValue(Of T)) As IntegerParameters
| Name | Type | Description |
|---|---|---|
other | OpcValue< | The OpcNodeValue< |
Returns
A 32-bit signed integer that indicates the relative order of the objects being compared (CompareTo(object)).
Overrides
CompareTo(OpcNodeAttribute<T>)
Compares the current OpcNodeValue<T> with the other.
public override int CompareTo(OpcNodeAttribute<T> other)Public Overrides Function CompareTo(other As OpcNodeAttribute(Of T)) As IntegerParameters
| Name | Type | Description |
|---|---|---|
other | OpcNodeAttribute< | The OpcNodeValue< |
Returns
A 32-bit signed integer that indicates the relative order of the objects being compared (CompareTo(object)).
Overrides
CompareTo(OpcNodeAttribute<T>)
CompareTo(OpcNodeValue<T>)
Compares the current OpcNodeValue<T> with another OpcNodeValue<T>.
public virtual int CompareTo(OpcNodeValue<T> other)Public Overridable Function CompareTo(other As OpcNodeValue(Of T)) As IntegerParameters
| Name | Type | Description |
|---|---|---|
other | OpcNodeValue< | The OpcNodeValue< |
Returns
A 32-bit signed integer that indicates the relative order of the objects being compared (CompareTo(T)).
Implements
Equals
| Overload | Description |
|---|---|
| Equals( | Determines whether the specified other is equal to this OpcNodeValue< |
| Equals( | Determines whether the specified other is equal to this OpcNodeValue< |
| Equals( | Determines whether the specified other is equal to this OpcNodeValue< |
| Equals( | Determines whether the specified other is equal to this OpcNodeValue< |
| Equals( | Determines whether the specified other is equal to this OpcNodeValue< |
Equals(object)
Determines whether the specified other is equal to this OpcNodeValue<T>.
public override bool Equals(object other)Public Overrides Function Equals(other As Object) As BooleanParameters
| Name | Type | Description |
|---|---|---|
other | Object | The OpcNodeValue< |
Returns
The value true if the specified OpcNodeValue<T> is equal to the current OpcNodeValue<T>; otherwise the value false.
Overrides
Equals(OpcValue)
Determines whether the specified other is equal to this OpcNodeValue<T>.
public override bool Equals(OpcValue other)Public Overrides Function Equals(other As OpcValue) As BooleanParameters
| Name | Type | Description |
|---|---|---|
other | OpcValue | The OpcNodeValue< |
Returns
The value true if the specified OpcNodeValue<T> is equal to the current OpcNodeValue<T>; otherwise the value false.
Overrides
Equals(OpcValue<T>)
Determines whether the specified other is equal to this OpcNodeValue<T>.
public override bool Equals(OpcValue<T> other)Public Overrides Function Equals(other As OpcValue(Of T)) As BooleanParameters
| Name | Type | Description |
|---|---|---|
other | OpcValue< | The OpcNodeValue< |
Returns
The value true if the specified OpcNodeValue<T> is equal to the current OpcNodeValue<T>; otherwise the value false.
Overrides
Equals(OpcNodeAttribute<T>)
Determines whether the specified other is equal to this OpcNodeValue<T>.
public override bool Equals(OpcNodeAttribute<T> other)Public Overrides Function Equals(other As OpcNodeAttribute(Of T)) As BooleanParameters
| Name | Type | Description |
|---|---|---|
other | OpcNodeAttribute< | The OpcNodeValue< |
Returns
The value true if the specified OpcNodeValue<T> is equal to the current OpcNodeValue<T>; otherwise the value false.
Overrides
Equals(OpcNodeValue<T>)
Determines whether the specified other is equal to this OpcNodeValue<T>.
public virtual bool Equals(OpcNodeValue<T> other)Public Overridable Function Equals(other As OpcNodeValue(Of T)) As BooleanParameters
| Name | Type | Description |
|---|---|---|
other | OpcNodeValue< | The OpcNodeValue< |
Returns
The value true if the specified OpcNodeValue<T> is equal to the current OpcNodeValue<T>; otherwise the value false.
Implements
GetHashCode
Retrieves a hash code for this OpcNodeValue<T>.
public override int GetHashCode()Public Overrides Function GetHashCode() As IntegerReturns
An int that contains the hash code for the OpcNodeValue<T>.
Overrides
Operators
Equality
Returns a value indicating whether two instance of OpcNodeValue<T> are equal.
public static bool operator ==(OpcNodeValue<T> left, OpcNodeValue<T> right)Public Shared Operator =(
left As OpcNodeValue(Of T),
right As OpcNodeValue(Of T)) As BooleanParameters
| Name | Type | Description |
|---|---|---|
left | OpcNodeValue< | The first OpcNodeValue< |
right | OpcNodeValue< | The second OpcNodeValue< |
Returns
The value true if left and right are equal; otherwise the value false.
Explicit
Converts a OpcNodeValue<T> to an DataValue object.
[CLSCompliant(false)]
public static explicit operator DataValue(OpcNodeValue<T> value)<CLSCompliant(False)>
Public Shared Narrowing Operator CType(value As OpcNodeValue(Of T)) As DataValueParameters
| Name | Type | Description |
|---|---|---|
value | OpcNodeValue< | A OpcNodeValue< |
Returns
DataValue
An instance of the DataValue class initialized from the value.
GreaterThan
Determines whether the first specified OpcNodeValue<T> object is greater than the second specified OpcNodeValue<T> object.
public static bool operator >(OpcNodeValue<T> left, OpcNodeValue<T> right)Public Shared Operator >(
left As OpcNodeValue(Of T),
right As OpcNodeValue(Of T)) As BooleanParameters
| Name | Type | Description |
|---|---|---|
left | OpcNodeValue< | The first OpcNodeValue< |
right | OpcNodeValue< | The second OpcNodeValue< |
Returns
The value true if left is greater than right; otherwise, false.
GreaterThanOrEqual
Determines whether the first specified OpcNodeValue<T> object is greater than or equal to the second specified OpcNodeValue<T> object.
public static bool operator >=(OpcNodeValue<T> left, OpcNodeValue<T> right)Public Shared Operator >=(
left As OpcNodeValue(Of T),
right As OpcNodeValue(Of T)) As BooleanParameters
| Name | Type | Description |
|---|---|---|
left | OpcNodeValue< | The first OpcNodeValue< |
right | OpcNodeValue< | The second OpcNodeValue< |
Returns
The value true if left is greater than or equal to right; otherwise, false.
Inequality
Returns a value indicating whether two instances of OpcNodeValue<T> are not equal.
public static bool operator !=(OpcNodeValue<T> left, OpcNodeValue<T> right)Public Shared Operator <>(
left As OpcNodeValue(Of T),
right As OpcNodeValue(Of T)) As BooleanParameters
| Name | Type | Description |
|---|---|---|
left | OpcNodeValue< | The first OpcNodeValue< |
right | OpcNodeValue< | The second OpcNodeValue< |
Returns
The value true if left and right are not equal; otherwise the value false.
LessThan
Determines whether the first specified OpcNodeValue<T> object is less than the second specified OpcNodeValue<T> object.
public static bool operator <(OpcNodeValue<T> left, OpcNodeValue<T> right)Public Shared Operator <(
left As OpcNodeValue(Of T),
right As OpcNodeValue(Of T)) As BooleanParameters
| Name | Type | Description |
|---|---|---|
left | OpcNodeValue< | The first OpcNodeValue< |
right | OpcNodeValue< | The second OpcNodeValue< |
Returns
The value true if left is less than right; otherwise the value false.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The left is a null reference ( |
LessThanOrEqual
Determines whether the first specified OpcNodeValue<T> object is less than or equal to the second OpcNodeValue<T> object.
public static bool operator <=(OpcNodeValue<T> left, OpcNodeValue<T> right)Public Shared Operator <=(
left As OpcNodeValue(Of T),
right As OpcNodeValue(Of T)) As BooleanParameters
| Name | Type | Description |
|---|---|---|
left | OpcNodeValue< | The first OpcNodeValue< |
right | OpcNodeValue< | The second OpcNodeValue< |
Returns
The value true if left is less than or equal to right; otherwise the value false.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The left is a null reference ( |

