OpcHistoryValue Members

Namespace: Opc.UaFx
Assemblies: Opc.UaFx.Advanced.dll, Opc.UaFx.Advanced.dll
The OpcHistoryValue type exposes the following members.

OpcHistoryValue(Object, DateTime)

C#

public OpcHistoryValue(object value, DateTime timestamp)


Parameters

value Object


timestamp DateTime


OpcHistoryValue(Object, DateTime, OpcStatus)

C#

public OpcHistoryValue(object value, DateTime timestamp, OpcStatus status)


Parameters

value Object


timestamp DateTime


status OpcStatus


OpcHistoryValue(Object, DateTime, OpcStatusCode)

C#

[CLSCompliant(false)]
public OpcHistoryValue(object value, DateTime timestamp, OpcStatusCode statusCode)


Parameters

value Object


timestamp DateTime


statusCode OpcStatusCode


Timestamp

C#

public virtual DateTime Timestamp { get; }


Property Value

DateTime

CompareTo(OpcHistoryValue)

Compares the current OpcHistoryValue with another OpcHistoryValue.

C#

public int CompareTo(OpcHistoryValue other)


Parameters

other OpcHistoryValue

The OpcHistoryValue to compare with this OpcHistoryValue.


Returns

Int32

A 32-bit signed integer that indicates the relative order of the objects being compared (CompareTo(0)).

Create(OpcValue)

C#

public static OpcHistoryValue Create(OpcValue value)


Parameters

value OpcValue



Returns

OpcHistoryValue



Exceptions

ArgumentNullException


Create<T>(OpcVariableValue<T>)

C#

public static OpcHistoryValue Create<T>(OpcVariableValue<T> value)


Parameters

value OpcVariableValue<T>



Returns

OpcHistoryValue



Exceptions

ArgumentNullException


CreateModified(OpcHistoryModificationInfo)

C#

public OpcModifiedHistoryValue CreateModified(OpcHistoryModificationInfo modificationInfo)


Parameters

modificationInfo OpcHistoryModificationInfo



Returns

OpcModifiedHistoryValue



Exceptions

ArgumentNullException


CreateModified(OpcHistoryModificationInfo, Object)

C#

public OpcModifiedHistoryValue CreateModified(OpcHistoryModificationInfo modificationInfo, object value)


Parameters

modificationInfo OpcHistoryModificationInfo


value Object



Returns

OpcModifiedHistoryValue



Exceptions

ArgumentNullException


CreateModified(OpcHistoryModificationType)

C#

public OpcModifiedHistoryValue CreateModified(OpcHistoryModificationType modificationType)


Parameters

modificationType OpcHistoryModificationType



Returns

OpcModifiedHistoryValue

CreateModified(OpcHistoryModificationType, String)

C#

public OpcModifiedHistoryValue CreateModified(OpcHistoryModificationType modificationType, string userName)


Parameters

modificationType OpcHistoryModificationType


userName String



Returns

OpcModifiedHistoryValue

CreateModified(OpcHistoryModificationType, String, DateTime)

C#

public OpcModifiedHistoryValue CreateModified(OpcHistoryModificationType modificationType, string userName, DateTime timestamp)


Parameters

modificationType OpcHistoryModificationType


userName String


timestamp DateTime



Returns

OpcModifiedHistoryValue

CreateModified(OpcHistoryModificationType, String, DateTime, Object)

C#

public OpcModifiedHistoryValue CreateModified(OpcHistoryModificationType modificationType, string userName, DateTime timestamp, object value)


Parameters

modificationType OpcHistoryModificationType


userName String


timestamp DateTime


value Object



Returns

OpcModifiedHistoryValue

Equals(Object)

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

Boolean

The value true if the specified OpcHistoryValue is equal to the current OpcHistoryValue; otherwise the value false.

Equals(OpcHistoryValue)

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

Boolean

The value true if the specified OpcHistoryValue is equal to the current OpcHistoryValue; otherwise the value false.

GetHashCode()

Retrieves a hash code for this OpcHistoryValue.

C#

public override int GetHashCode()


Returns

Int32

An Int32 that contains the hash code for the OpcHistoryValue.

ToString()

C#

public override string ToString()


Returns

String

ToString(String, IFormatProvider)

C#

public override string ToString(string format, IFormatProvider formatProvider)


Parameters

format String


formatProvider IFormatProvider



Returns

String



Exceptions

FormatException


Equality(OpcHistoryValue, OpcHistoryValue)

Returns a value indicating whether two instance of OpcHistoryValue are equal.

C#

public static bool operator ==(OpcHistoryValue left, OpcHistoryValue right)

GreaterThan(OpcHistoryValue, OpcHistoryValue)

Determines whether the first specified OpcHistoryValue object is greater than the second specified OpcHistoryValue object.

C#

public static bool operator>(OpcHistoryValue left, OpcHistoryValue right)

GreaterThanOrEqual(OpcHistoryValue, OpcHistoryValue)

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)

Inequality(OpcHistoryValue, OpcHistoryValue)

Returns a value indicating whether two instances of OpcHistoryValue are not equal.

C#

public static bool operator !=(OpcHistoryValue left, OpcHistoryValue right)

LessThan(OpcHistoryValue, OpcHistoryValue)

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

ArgumentNullException

The left is a null reference (Nothing in Visual Basic).

LessThanOrEqual(OpcHistoryValue, OpcHistoryValue)

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

ArgumentNullException

The left is a null reference (Nothing in Visual Basic).