Skip to content

Reference

OpcModifiedHistoryValue Members

Represents a value of the modified history of a node together with the information about its modification.

Reference

OpcModifiedHistoryValue Members ​

Type
OpcModifiedHistoryValue
Namespace
Opc.UaFx
Assembly
Opc.UaFx.Advanced.dll
Package
Opc.UaFx.Advanced v2.59.0
Also in
Opc.UaFx.Client

Inherits members from OpcHistoryValue, OpcValue.

Constructors ​

OpcModifiedHistoryValue ​

3 overloads

OverloadDescription
OpcModifiedHistoryValue(object, DateTime, OpcHistoryModificationInfo)Initializes a new instance of the OpcModifiedHistoryValue class using the value, timestamp and modificationInfo specified.
OpcModifiedHistoryValue(object, DateTime, OpcStatus, OpcHistoryModificationInfo)Initializes a new instance of the OpcModifiedHistoryValue class using the value, timestamp, status and modificationInfo specified.
OpcModifiedHistoryValue(object, DateTime, OpcStatusCode, OpcHistoryModificationInfo)Initializes a new instance of the OpcModifiedHistoryValue class using the value, timestamp, statusCode and modificationInfo specified.

Exceptions (all overloads)

ExceptionCondition
ArgumentNullExceptionThe modificationInfo is a null reference (Nothing in Visual Basic).

OpcModifiedHistoryValue(object, DateTime, OpcHistoryModificationInfo) ​

Initializes a new instance of the OpcModifiedHistoryValue class using the value, timestamp and modificationInfo specified.

csharp
public OpcModifiedHistoryValue(
    object value,
    DateTime timestamp,
    OpcHistoryModificationInfo modificationInfo)
vbnet
Public Sub New(
    value As Object,
    timestamp As Date,
    modificationInfo As OpcHistoryModificationInfo)

Parameters

NameTypeDescription
valueObjectThe value.
timestampDateTimeThe time of the value, which is used as the source and the server timestamp.
modificationInfoOpcHistoryModificationInfoThe information about the modification.

OpcModifiedHistoryValue(object, DateTime, OpcStatus, OpcHistoryModificationInfo) ​

Initializes a new instance of the OpcModifiedHistoryValue class using the value, timestamp, status and modificationInfo specified.

csharp
public OpcModifiedHistoryValue(
    object value,
    DateTime timestamp,
    OpcStatus status,
    OpcHistoryModificationInfo modificationInfo)
vbnet
Public Sub New(
    value As Object,
    timestamp As Date,
    status As OpcStatus,
    modificationInfo As OpcHistoryModificationInfo)

Parameters

NameTypeDescription
valueObjectThe value.
timestampDateTimeThe time of the value, which is used as the source and the server timestamp.
statusOpcStatusThe status of the value.
modificationInfoOpcHistoryModificationInfoThe information about the modification.

OpcModifiedHistoryValue(object, DateTime, OpcStatusCode, OpcHistoryModificationInfo) ​

Initializes a new instance of the OpcModifiedHistoryValue class using the value, timestamp, statusCode and modificationInfo specified.

csharp
[CLSCompliant(false)]
public OpcModifiedHistoryValue(
    object value,
    DateTime timestamp,
    OpcStatusCode statusCode,
    OpcHistoryModificationInfo modificationInfo)
vbnet
<CLSCompliant(False)>
Public Sub New(
    value As Object,
    timestamp As Date,
    statusCode As OpcStatusCode,
    modificationInfo As OpcHistoryModificationInfo)

Parameters

NameTypeDescription
valueObjectThe value.
timestampDateTimeThe time of the value, which is used as the source timestamp.
statusCodeOpcStatusCodeThe status code of the value.
modificationInfoOpcHistoryModificationInfoThe information about the modification.

Remarks

Unlike the other constructors, this constructor sets the source timestamp only; the server timestamp remains unset.

Properties ​

ModificationInfo ​

Gets the information about the modification of the value.

csharp
public OpcHistoryModificationInfo ModificationInfo { get; }
vbnet
Public ReadOnly Property ModificationInfo As OpcHistoryModificationInfo

Property value

OpcHistoryModificationInfo

The information about the modification.

ModificationTime ​

Gets the time of the modification of the value.

csharp
public DateTime ModificationTime { get; }
vbnet
Public ReadOnly Property ModificationTime As Date

Property value

DateTime

The Time of the ModificationInfo.

ModificationType ​

Gets the kind of the modification of the value.

csharp
public OpcHistoryModificationType ModificationType { get; }
vbnet
Public ReadOnly Property ModificationType As OpcHistoryModificationType

Property value

OpcHistoryModificationType

The Type of the ModificationInfo.

ModificationUserName ​

Gets the name of the user who modified the value.

csharp
public string ModificationUserName { get; }
vbnet
Public ReadOnly Property ModificationUserName As String

Property value

String

The UserName of the ModificationInfo.

Timestamp ​

override

Gets the time of the modification of the value.

csharp
public override DateTime Timestamp { get; }
vbnet
Public Overrides ReadOnly Property Timestamp As Date

Property value

DateTime

The ModificationTime.

Overrides

Timestamp

Remarks

Unlike Timestamp, the property provides the time of the modification, not the time of the value, which the ServerTimestamp and SourceTimestamp provide.

Methods ​

CompareTo ​

Compares the current OpcModifiedHistoryValue with another OpcModifiedHistoryValue.

csharp
public int CompareTo(OpcModifiedHistoryValue other)
vbnet
Public Function CompareTo(other As OpcModifiedHistoryValue) As Integer

Parameters

NameTypeDescription
otherOpcModifiedHistoryValueThe OpcModifiedHistoryValue to compare with this OpcModifiedHistoryValue.

Returns

Int32

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

Equals ​

2 overloads

OverloadDescription
Equals(object)overrideDetermines whether the specified other is equal to this OpcModifiedHistoryValue.
Equals(OpcModifiedHistoryValue)Determines whether the specified other is equal to this OpcModifiedHistoryValue.

Equals(object) ​

override

Determines whether the specified other is equal to this OpcModifiedHistoryValue.

csharp
public override bool Equals(object other)
vbnet
Public Overrides Function Equals(other As Object) As Boolean

Parameters

NameTypeDescription
otherObjectThe OpcModifiedHistoryValue to compare to the current OpcModifiedHistoryValue.

Returns

Boolean

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

Overrides

Equals

Equals(OpcModifiedHistoryValue) ​

Determines whether the specified other is equal to this OpcModifiedHistoryValue.

csharp
public bool Equals(OpcModifiedHistoryValue other)
vbnet
Public Function Equals(other As OpcModifiedHistoryValue) As Boolean

Parameters

NameTypeDescription
otherOpcModifiedHistoryValueThe OpcModifiedHistoryValue to compare to the current OpcModifiedHistoryValue.

Returns

Boolean

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

GetHashCode ​

override

Retrieves a hash code for this OpcModifiedHistoryValue.

csharp
public override int GetHashCode()
vbnet
Public Overrides Function GetHashCode() As Integer

Returns

Int32

An int that contains the hash code for the OpcModifiedHistoryValue.

Overrides

GetHashCode

Operators ​

Equality ​

static

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

csharp
public static bool operator ==(
    OpcModifiedHistoryValue left,
    OpcModifiedHistoryValue right)
vbnet
Public Shared Operator =(
    left As OpcModifiedHistoryValue,
    right As OpcModifiedHistoryValue) As Boolean

Parameters

NameTypeDescription
leftOpcModifiedHistoryValueThe first OpcModifiedHistoryValue to compare.
rightOpcModifiedHistoryValueThe second OpcModifiedHistoryValue to compare.

Returns

Boolean

The value true if left and right are equal; otherwise the value false.

GreaterThan ​

static

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

csharp
public static bool operator >(
    OpcModifiedHistoryValue left,
    OpcModifiedHistoryValue right)
vbnet
Public Shared Operator >(
    left As OpcModifiedHistoryValue,
    right As OpcModifiedHistoryValue) As Boolean

Parameters

NameTypeDescription
leftOpcModifiedHistoryValueThe first OpcModifiedHistoryValue object.
rightOpcModifiedHistoryValueThe second OpcModifiedHistoryValue object.

Returns

Boolean

The value true if left is greater than right; otherwise, false.

GreaterThanOrEqual ​

static

Determines whether the first specified OpcModifiedHistoryValue object is greater than or equal to the second specified OpcModifiedHistoryValue object.

csharp
public static bool operator >=(
    OpcModifiedHistoryValue left,
    OpcModifiedHistoryValue right)
vbnet
Public Shared Operator >=(
    left As OpcModifiedHistoryValue,
    right As OpcModifiedHistoryValue) As Boolean

Parameters

NameTypeDescription
leftOpcModifiedHistoryValueThe first OpcModifiedHistoryValue object.
rightOpcModifiedHistoryValueThe second OpcModifiedHistoryValue object.

Returns

Boolean

The value true if left is greater than or equal to right; otherwise, false.

Inequality ​

static

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

csharp
public static bool operator !=(
    OpcModifiedHistoryValue left,
    OpcModifiedHistoryValue right)
vbnet
Public Shared Operator <>(
    left As OpcModifiedHistoryValue,
    right As OpcModifiedHistoryValue) As Boolean

Parameters

NameTypeDescription
leftOpcModifiedHistoryValueThe first OpcModifiedHistoryValue to compare.
rightOpcModifiedHistoryValueThe second OpcModifiedHistoryValue to compare.

Returns

Boolean

The value true if left and right are not equal; otherwise the value false.

LessThan ​

static

Determines whether the first specified OpcModifiedHistoryValue object is less than the second specified OpcModifiedHistoryValue object.

csharp
public static bool operator <(
    OpcModifiedHistoryValue left,
    OpcModifiedHistoryValue right)
vbnet
Public Shared Operator <(
    left As OpcModifiedHistoryValue,
    right As OpcModifiedHistoryValue) As Boolean

Parameters

NameTypeDescription
leftOpcModifiedHistoryValueThe first OpcModifiedHistoryValue object.
rightOpcModifiedHistoryValueThe second OpcModifiedHistoryValue object.

Returns

Boolean

The value true if left is less than right; otherwise the value false.

Exceptions

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

LessThanOrEqual ​

static

Determines whether the first specified OpcModifiedHistoryValue object is less than or equal to the second OpcModifiedHistoryValue object.

csharp
public static bool operator <=(
    OpcModifiedHistoryValue left,
    OpcModifiedHistoryValue right)
vbnet
Public Shared Operator <=(
    left As OpcModifiedHistoryValue,
    right As OpcModifiedHistoryValue) As Boolean

Parameters

NameTypeDescription
leftOpcModifiedHistoryValueThe first OpcModifiedHistoryValue object.
rightOpcModifiedHistoryValueThe second OpcModifiedHistoryValue object.

Returns

Boolean

The value true if left is less than or equal to right; otherwise the value false.

Exceptions

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