Namespace: Opc.UaFx
Assemblies: Opc.UaFx.Advanced.dll, Opc.UaFx.Advanced.dll
The OpcHistoryValue type exposes the following members.
C#
[CLSCompliant(false)] public OpcHistoryValue(object value, DateTime timestamp, OpcStatusCode statusCode)
Parameters
value
Object
timestamp
DateTime
statusCode
OpcStatusCode
Compares the current OpcHistoryValue with another OpcHistoryValue.
C#
public int CompareTo(OpcHistoryValue other)
Parameters
other
OpcHistoryValue
The OpcHistoryValue to compare with this OpcHistoryValue.
Returns
A 32-bit signed integer that indicates the relative order of the objects being compared (CompareTo(0)).
C#
public static OpcHistoryValue Create(OpcValue value)
Parameters
value
OpcValue
Returns
Exceptions
C#
public static OpcHistoryValue Create<T>(OpcVariableValue<T> value)
Parameters
value
OpcVariableValue<T>
Returns
Exceptions
C#
public OpcModifiedHistoryValue CreateModified(OpcHistoryModificationInfo modificationInfo)
Parameters
modificationInfo
OpcHistoryModificationInfo
Returns
Exceptions
C#
public OpcModifiedHistoryValue CreateModified(OpcHistoryModificationInfo modificationInfo, object value)
Parameters
modificationInfo
OpcHistoryModificationInfo
value
Object
Returns
Exceptions
C#
public OpcModifiedHistoryValue CreateModified(OpcHistoryModificationType modificationType)
Parameters
modificationType
OpcHistoryModificationType
Returns
C#
public OpcModifiedHistoryValue CreateModified(OpcHistoryModificationType modificationType, string userName)
Parameters
modificationType
OpcHistoryModificationType
userName
String
Returns
C#
public OpcModifiedHistoryValue CreateModified(OpcHistoryModificationType modificationType, string userName, DateTime timestamp)
Parameters
modificationType
OpcHistoryModificationType
userName
String
timestamp
DateTime
Returns
C#
public OpcModifiedHistoryValue CreateModified(OpcHistoryModificationType modificationType, string userName, DateTime timestamp, object value)
Parameters
modificationType
OpcHistoryModificationType
userName
String
timestamp
DateTime
value
Object
Returns
Determines whether the specified other
is equal to this OpcHistoryValue.
C#
public override bool Equals(object other)
Parameters
other
Object
The OpcHistoryValue to compare to the current OpcHistoryValue.
Returns
The value true if the specified OpcHistoryValue is equal to the current OpcHistoryValue; otherwise the value false.
Determines whether the specified other
is equal to this OpcHistoryValue.
C#
public bool Equals(OpcHistoryValue other)
Parameters
other
OpcHistoryValue
The OpcHistoryValue to compare to the current OpcHistoryValue.
Returns
The value true if the specified OpcHistoryValue is equal to the current OpcHistoryValue; otherwise the value false.
Retrieves a hash code for this OpcHistoryValue.
C#
public override int GetHashCode()
Returns
An Int32 that contains the hash code for the OpcHistoryValue.
C#
public override string ToString(string format, IFormatProvider formatProvider)
Parameters
format
String
formatProvider
IFormatProvider
Returns
Exceptions
Returns a value indicating whether two instance of OpcHistoryValue are equal.
C#
public static bool operator ==(OpcHistoryValue left, OpcHistoryValue right)
Determines whether the first specified OpcHistoryValue object is greater than the second specified OpcHistoryValue object.
C#
public static bool operator>(OpcHistoryValue left, OpcHistoryValue right)
Determines whether the first specified OpcHistoryValue object is greater than or equal to the second specified OpcHistoryValue object.
C#
public static bool operator >=(OpcHistoryValue left, OpcHistoryValue right)
Returns a value indicating whether two instances of OpcHistoryValue are not equal.
C#
public static bool operator !=(OpcHistoryValue left, OpcHistoryValue right)
Determines whether the first specified OpcHistoryValue object is less than the second specified OpcHistoryValue object.
C#
public static bool operator <(OpcHistoryValue left, OpcHistoryValue right)
Exceptions
The left
is a null reference (Nothing in Visual Basic).
Determines whether the first specified OpcHistoryValue object is less than or equal to the second OpcHistoryValue object.
C#
public static bool operator <=(OpcHistoryValue left, OpcHistoryValue right)
Exceptions
The left
is a null reference (Nothing in Visual Basic).