Namespace: Opc.UaFx
Assemblies: Opc.UaFx.Advanced.dll, Opc.UaFx.Advanced.dll
The OpcNodeValue<T> type exposes the following members.
Initializes a new instance of the OpcNodeValue´1 class with the nodeId
of the node the Value attribute represented belongs to.
C#
public OpcNodeValue(OpcNodeId nodeId)
Parameters
nodeId
OpcNodeId
The OpcNodeId of the node the value of its Value attribute is to be represented.
Exceptions
The nodeId
is a null reference (Nothing in Visual Basic).
Initializes a new instance of the OpcNodeValue´1 class with the nodeId
of the node the Value attribute and its value
specified belongs to.
C#
public OpcNodeValue(OpcNodeId nodeId, T value)
Parameters
nodeId
OpcNodeId
The OpcNodeId of the node its Value attribute value is to be represented.
value
T
The value to represent.
Exceptions
The nodeId
is a null reference (Nothing in Visual Basic).
Initializes a new instance of the OpcNodeValue´1 class with the nodeId
of the node the Value attribute and its value
and the sourceTimestamp
of the value
specified belongs to.
C#
public OpcNodeValue(OpcNodeId nodeId, T value, DateTime sourceTimestamp)
Parameters
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
.
Exceptions
The nodeId
is a null reference (Nothing in Visual Basic).
Initializes a new instance of the OpcNodeValue´1 class with the nodeId
of the node the Value attribute and its value
, sourceTimestamp
and serverTimestamp
of the value
specified belongs to.
C#
public OpcNodeValue(OpcNodeId nodeId, T value, DateTime sourceTimestamp, DateTime serverTimestamp)
Parameters
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
.
Exceptions
The nodeId
is a null reference (Nothing in Visual Basic).
Initializes a new instance of the OpcNodeValue´1 class with the nodeId
of the node the Value attribute and its value
, sourceTimestamp
, serverTimestamp
and status
of the value
specified belongs to.
C#
public OpcNodeValue(OpcNodeId nodeId, T value, DateTime sourceTimestamp, DateTime serverTimestamp, OpcStatus status)
Parameters
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
.
Exceptions
The nodeId
is a null reference (Nothing in Visual Basic).
Initializes a new instance of the OpcNodeValue´1 class with the nodeId
of the node the Value attribute and its value
, sourceTimestamp
, serverTimestamp
and statusCode
of the value
specified belongs to.
C#
[CLSCompliant(false)] public OpcNodeValue(OpcNodeId nodeId, T value, DateTime sourceTimestamp, DateTime serverTimestamp, OpcStatusCode statusCode)
Parameters
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
.
Exceptions
The nodeId
is a null reference (Nothing in Visual Basic).
Initializes a new instance of the OpcNodeValue´1 class with the nodeId
of the node the Value attribute and its value
, sourceTimestamp
and status
of the value
specified belongs to.
C#
public OpcNodeValue(OpcNodeId nodeId, T value, DateTime sourceTimestamp, OpcStatus status)
Parameters
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
.
Exceptions
The nodeId
is a null reference (Nothing in Visual Basic).
Initializes a new instance of the OpcNodeValue´1 class with the nodeId
of the node the Value attribute and its value
, sourceTimestamp
and statusCode
of the value
specified belongs to.
C#
[CLSCompliant(false)] public OpcNodeValue(OpcNodeId nodeId, T value, DateTime sourceTimestamp, OpcStatusCode statusCode)
Parameters
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
.
Exceptions
The nodeId
is a null reference (Nothing in Visual Basic).
Compares the current OpcNodeValue´1 with the other
.
C#
public override int CompareTo(object other)
Parameters
other
Object
The OpcNodeValue´1 to compare with this OpcNodeValue´1.
Returns
A 32-bit signed integer that indicates the relative order of the objects being compared (CompareTo(Object)).
Compares the current OpcNodeValue´1 with the other
.
C#
public override int CompareTo(OpcNodeAttribute<T> other)
Parameters
other
OpcNodeAttribute<T>
The OpcNodeValue´1 to compare with this OpcNodeValue´1.
Returns
A 32-bit signed integer that indicates the relative order of the objects being compared (CompareTo(Object)).
Compares the current OpcNodeValue´1 with another OpcNodeValue´1.
C#
public virtual int CompareTo(OpcNodeValue<T> other)
Parameters
other
OpcNodeValue`1
The OpcNodeValue´1 to compare with this OpcNodeValue´1.
Returns
A 32-bit signed integer that indicates the relative order of the objects being compared (CompareTo(0)).
Compares the current OpcNodeValue´1 with the other
.
C#
public override int CompareTo(OpcValue other)
Parameters
other
OpcValue
The OpcNodeValue´1 to compare with this OpcNodeValue´1.
Returns
A 32-bit signed integer that indicates the relative order of the objects being compared (CompareTo(Object)).
Compares the current OpcNodeValue´1 with the other
.
C#
public override int CompareTo(OpcValue<T> other)
Parameters
The OpcNodeValue´1 to compare with this OpcNodeValue´1.
Returns
A 32-bit signed integer that indicates the relative order of the objects being compared (CompareTo(Object)).
Determines whether the specified other
is equal to this OpcNodeValue´1.
C#
public override bool Equals(object other)
Parameters
other
Object
The OpcNodeValue´1 to compare to the current OpcNodeValue´1.
Returns
The value true if the specified OpcNodeValue´1 is equal to the current OpcNodeValue´1; otherwise the value false.
Determines whether the specified other
is equal to this OpcNodeValue´1.
C#
public override bool Equals(OpcNodeAttribute<T> other)
Parameters
other
OpcNodeAttribute<T>
The OpcNodeValue´1 to compare to the current OpcNodeValue´1.
Returns
The value true if the specified OpcNodeValue´1 is equal to the current OpcNodeValue´1; otherwise the value false.
Determines whether the specified other
is equal to this OpcNodeValue´1.
C#
public virtual bool Equals(OpcNodeValue<T> other)
Parameters
other
OpcNodeValue`1
The OpcNodeValue´1 to compare to the current OpcNodeValue´1.
Returns
The value true if the specified OpcNodeValue´1 is equal to the current OpcNodeValue´1; otherwise the value false.
Determines whether the specified other
is equal to this OpcNodeValue´1.
C#
public override bool Equals(OpcValue other)
Parameters
other
OpcValue
The OpcNodeValue´1 to compare to the current OpcNodeValue´1.
Returns
The value true if the specified OpcNodeValue´1 is equal to the current OpcNodeValue´1; otherwise the value false.
Determines whether the specified other
is equal to this OpcNodeValue´1.
C#
public override bool Equals(OpcValue<T> other)
Parameters
The OpcNodeValue´1 to compare to the current OpcNodeValue´1.
Returns
The value true if the specified OpcNodeValue´1 is equal to the current OpcNodeValue´1; otherwise the value false.
Retrieves a hash code for this OpcNodeValue´1.
C#
public override int GetHashCode()
Returns
An Int32 that contains the hash code for the OpcNodeValue´1.
Returns a value indicating whether two instance of OpcNodeValue´1 are equal.
C#
public static bool operator ==(OpcNodeValue<T> left, OpcNodeValue<T> right)
Converts a OpcNodeValue´1 to an DataValue object.
C#
[CLSCompliant(false)] public static explicit operator DataValue(OpcNodeValue<T> value)
Determines whether the first specified OpcNodeValue´1 object is greater than the second specified OpcNodeValue´1 object.
C#
public static bool operator>(OpcNodeValue<T> left, OpcNodeValue<T> right)
Determines whether the first specified OpcNodeValue´1 object is greater than or equal to the second specified OpcNodeValue´1 object.
C#
public static bool operator >=(OpcNodeValue<T> left, OpcNodeValue<T> right)
Returns a value indicating whether two instances of OpcNodeValue´1 are not equal.
C#
public static bool operator !=(OpcNodeValue<T> left, OpcNodeValue<T> right)
Determines whether the first specified OpcNodeValue´1 object is less than the second specified OpcNodeValue´1 object.
C#
public static bool operator <(OpcNodeValue<T> left, OpcNodeValue<T> right)
Exceptions
The left
is a null reference (Nothing in Visual Basic).
Determines whether the first specified OpcNodeValue´1 object is less than or equal to the second OpcNodeValue´1 object.
C#
public static bool operator <=(OpcNodeValue<T> left, OpcNodeValue<T> right)
Exceptions
The left
is a null reference (Nothing in Visual Basic).