Namespace: Opc.UaFx
Assemblies: Opc.UaFx.Advanced.dll
Stores a value optionally associated with status and timestamp information.
C#
public class OpcValue : IFormattable, IComparable, IComparable<OpcValue>, IEquatable<OpcValue>
Inheritance Object › OpcValue
Derived
Implements IFormattable, IComparable, IComparable<OpcValue>, IEquatable<OpcValue>
Name | Description |
---|---|
OpcValue(Object) | Initializes a new instance of the OpcValue class using the value . |
OpcValue(Object, DateTime) | Initializes a new instance of the OpcValue class using the value and the sourceTimestamp of the value . |
OpcValue(Object, DateTime, DateTime) | Initializes a new instance of the OpcValue class using the value , sourceTimestamp and serverTimestamp of the value . |
OpcValue(Object, DateTime, DateTime, OpcStatus) | Initializes a new instance of the OpcValue class using the value , sourceTimestamp , serverTimestamp and status of the value . |
OpcValue(Object, DateTime, DateTime, OpcStatusCode) | Initializes a new instance of the OpcValue class using the value , sourceTimestamp , serverTimestamp and statusCode of the value . |
OpcValue(Object, DateTime, OpcStatus) | Initializes a new instance of the OpcValue class using the value , sourceTimestamp and status of the value . |
OpcValue(Object, DateTime, OpcStatusCode) | Initializes a new instance of the OpcValue class using the value , sourceTimestamp and statusCode of the value . |
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. |
ServerPicoseconds | 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. |
SourcePicoseconds | 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. |
Name | Description |
---|---|
As``1(0) | Retrieves the underlying Value as the type specified by T . |
AsValue``1 | Retrieves a new OpcValue´1 instance its Value is of the type specified by T . |
CompareTo(Object) | Compares the current OpcValue with the other . |
CompareTo(OpcValue) | Compares the current OpcValue with another OpcValue. |
Equals(Object) | Determines whether the specified other is equal to this OpcValue. |
Equals(OpcValue) | 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. |
ToString(String, IFormatProvider) | Converts the value of this instance to its equivalent string representation using the specified format and culture-specific format information. |
Name | Description |
---|---|
op_Equality(OpcValue, OpcValue) | Returns a value indicating whether two instance of OpcValue are equal. |
op_Explicit(Ua.DataValue) | Converts a OpcValue to an DataValue object. |
op_GreaterThan(OpcValue, OpcValue) | Determines whether the first specified OpcValue object is greater than the second specified OpcValue object. |
op_GreaterThanOrEqual(OpcValue, OpcValue) | Determines whether the first specified OpcValue object is greater than or equal to the second specified OpcValue object. |
op_Implicit(UaFx.OpcValue) | Converts a Boolean to an OpcValue object. |
op_Implicit(UaFx.OpcValue) | Converts a Byte to an OpcValue object. |
op_Implicit(UaFx.OpcValue) | Converts a Char to an OpcValue object. |
op_Implicit(DataValue)~Opc.UaFx.OpcValue) | Converts a DataValue to an OpcValue object. |
op_Implicit(UaFx.OpcValue) | Converts a Decimal to an OpcValue object. |
op_Implicit(UaFx.OpcValue) | Converts a Double to an OpcValue object. |
op_Implicit(UaFx.OpcValue) | Converts a UInt16 to an OpcValue object. |
op_Implicit(UaFx.OpcValue) | Converts a Int32 to an OpcValue object. |
op_Implicit(UaFx.OpcValue) | Converts a UInt64 to an OpcValue object. |
op_Implicit(Nullable) | Converts a null-able Boolean to an OpcValue object. |
op_Implicit(Nullable) | Converts a null-able Byte to an OpcValue object. |
op_Implicit(Nullable) | Converts a null-able Char to an OpcValue object. |
op_Implicit(Nullable) | Converts a null-able Decimal to an OpcValue object. |
op_Implicit(Nullable) | Converts a null-able Double to an OpcValue object. |
op_Implicit(Nullable) | Converts a null-able UInt16 to an OpcValue object. |
op_Implicit(Nullable) | Converts a null-able Int32 to an OpcValue object. |
op_Implicit(Nullable) | Converts a null-able UInt64 to an OpcValue object. |
op_Implicit(Nullable) | Converts a null-able SByte to an OpcValue object. |
op_Implicit(Nullable) | Converts a null-able Single to an OpcValue object. |
op_Implicit(Nullable) | Converts a null-able UInt16 to an OpcValue object. |
op_Implicit(Nullable) | Converts a null-able UInt32 to an OpcValue object. |
op_Implicit(Nullable) | Converts a null-able UInt64 to an OpcValue object. |
op_Implicit(UaFx.OpcValue) | Converts a SByte to an OpcValue object. |
op_Implicit(UaFx.OpcValue) | Converts a Single to an OpcValue object. |
op_Implicit(UaFx.OpcValue) | Converts a String to an OpcValue object. |
op_Implicit(UaFx.OpcValue) | Converts a UInt16 to an OpcValue object. |
op_Implicit(UaFx.OpcValue) | Converts a UInt32 to an OpcValue object. |
op_Implicit(UaFx.OpcValue) | Converts a UInt64 to an OpcValue object. |
op_Implicit(Variant)~Opc.UaFx.OpcValue) | Converts a Variant to an OpcValue object. |
op_Inequality(OpcValue, OpcValue) | Returns a value indicating whether two instances of OpcValue are not equal. |
op_LessThan(OpcValue, OpcValue) | Determines whether the first specified OpcValue object is less than the second specified OpcValue object. |
op_LessThanOrEqual(OpcValue, OpcValue) | Determines whether the first specified OpcValue object is less than or equal to the second OpcValue object. |