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
| Overload | Description |
|---|---|
| Opc | Initializes a new instance of the Opcvalue, timestamp and modificationInfo specified. |
| Opc | Initializes a new instance of the Opcvalue, timestamp, status and modificationInfo specified. |
| Opc | Initializes a new instance of the Opcvalue, timestamp, statusCode and modificationInfo specified. |
Exceptions (all overloads)
| Exception | Condition |
|---|---|
| Argument | The modificationInfo is a null reference ( |
OpcModifiedHistoryValue(object, DateTime, OpcHistoryModificationInfo)
Initializes a new instance of the OpcModifiedHistoryValue class using the value, timestamp and modificationInfo specified.
public OpcModifiedHistoryValue(
object value,
DateTime timestamp,
OpcHistoryModificationInfo modificationInfo)Public Sub New(
value As Object,
timestamp As Date,
modificationInfo As OpcHistoryModificationInfo)Parameters
| Name | Type | Description |
|---|---|---|
value | Object | The value. |
timestamp | DateTime | The time of the value, which is used as the source and the server timestamp. |
modificationInfo | Opc | The 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.
public OpcModifiedHistoryValue(
object value,
DateTime timestamp,
OpcStatus status,
OpcHistoryModificationInfo modificationInfo)Public Sub New(
value As Object,
timestamp As Date,
status As OpcStatus,
modificationInfo As OpcHistoryModificationInfo)Parameters
| Name | Type | Description |
|---|---|---|
value | Object | The value. |
timestamp | DateTime | The time of the value, which is used as the source and the server timestamp. |
status | OpcStatus | The status of the value. |
modificationInfo | Opc | The 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.
[CLSCompliant(false)]
public OpcModifiedHistoryValue(
object value,
DateTime timestamp,
OpcStatusCode statusCode,
OpcHistoryModificationInfo modificationInfo)<CLSCompliant(False)>
Public Sub New(
value As Object,
timestamp As Date,
statusCode As OpcStatusCode,
modificationInfo As OpcHistoryModificationInfo)Parameters
| Name | Type | Description |
|---|---|---|
value | Object | The value. |
timestamp | DateTime | The time of the value, which is used as the source timestamp. |
statusCode | OpcStatusCode | The status code of the value. |
modificationInfo | Opc | The 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.
public OpcHistoryModificationInfo ModificationInfo { get; }Public ReadOnly Property ModificationInfo As OpcHistoryModificationInfoProperty value
The information about the modification.
ModificationTime
Gets the time of the modification of the value.
public DateTime ModificationTime { get; }Public ReadOnly Property ModificationTime As DateProperty value
The Time of the ModificationInfo.
ModificationType
Gets the kind of the modification of the value.
public OpcHistoryModificationType ModificationType { get; }Public ReadOnly Property ModificationType As OpcHistoryModificationTypeProperty value
The Type of the ModificationInfo.
ModificationUserName
Gets the name of the user who modified the value.
public string ModificationUserName { get; }Public ReadOnly Property ModificationUserName As StringProperty value
The UserName of the ModificationInfo.
Timestamp
Gets the time of the modification of the value.
public override DateTime Timestamp { get; }Public Overrides ReadOnly Property Timestamp As DateProperty value
The ModificationTime.
Overrides
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.
public int CompareTo(OpcModifiedHistoryValue other)Public Function CompareTo(other As OpcModifiedHistoryValue) As IntegerParameters
| Name | Type | Description |
|---|---|---|
other | Opc | The Opc |
Returns
A 32-bit signed integer that indicates the relative order of the objects being compared (CompareTo(T)).
Equals
| Overload | Description |
|---|---|
| Equals( | Determines whether the specified other is equal to this Opc |
| Equals( | Determines whether the specified other is equal to this Opc |
Equals(object)
Determines whether the specified other is equal to this OpcModifiedHistoryValue.
public override bool Equals(object other)Public Overrides Function Equals(other As Object) As BooleanParameters
| Name | Type | Description |
|---|---|---|
other | Object | The Opc |
Returns
The value true if the specified OpcModifiedHistoryValue is equal to the current OpcModifiedHistoryValue; otherwise the value false.
Overrides
Equals(OpcModifiedHistoryValue)
Determines whether the specified other is equal to this OpcModifiedHistoryValue.
public bool Equals(OpcModifiedHistoryValue other)Public Function Equals(other As OpcModifiedHistoryValue) As BooleanParameters
| Name | Type | Description |
|---|---|---|
other | Opc | The Opc |
Returns
The value true if the specified OpcModifiedHistoryValue is equal to the current OpcModifiedHistoryValue; otherwise the value false.
GetHashCode
Retrieves a hash code for this OpcModifiedHistoryValue.
public override int GetHashCode()Public Overrides Function GetHashCode() As IntegerReturns
An int that contains the hash code for the OpcModifiedHistoryValue.
Overrides
Operators
Equality
Returns a value indicating whether two instance of OpcModifiedHistoryValue are equal.
public static bool operator ==(
OpcModifiedHistoryValue left,
OpcModifiedHistoryValue right)Public Shared Operator =(
left As OpcModifiedHistoryValue,
right As OpcModifiedHistoryValue) As BooleanParameters
| Name | Type | Description |
|---|---|---|
left | Opc | The first Opc |
right | Opc | The second Opc |
Returns
The value true if left and right are equal; otherwise the value false.
GreaterThan
Determines whether the first specified OpcModifiedHistoryValue object is greater than the second specified OpcModifiedHistoryValue object.
public static bool operator >(
OpcModifiedHistoryValue left,
OpcModifiedHistoryValue right)Public Shared Operator >(
left As OpcModifiedHistoryValue,
right As OpcModifiedHistoryValue) As BooleanParameters
| Name | Type | Description |
|---|---|---|
left | Opc | The first Opc |
right | Opc | The second Opc |
Returns
The value true if left is greater than right; otherwise, false.
GreaterThanOrEqual
Determines whether the first specified OpcModifiedHistoryValue object is greater than or equal to the second specified OpcModifiedHistoryValue object.
public static bool operator >=(
OpcModifiedHistoryValue left,
OpcModifiedHistoryValue right)Public Shared Operator >=(
left As OpcModifiedHistoryValue,
right As OpcModifiedHistoryValue) As BooleanParameters
| Name | Type | Description |
|---|---|---|
left | Opc | The first Opc |
right | Opc | The second Opc |
Returns
The value true if left is greater than or equal to right; otherwise, false.
Inequality
Returns a value indicating whether two instances of OpcModifiedHistoryValue are not equal.
public static bool operator !=(
OpcModifiedHistoryValue left,
OpcModifiedHistoryValue right)Public Shared Operator <>(
left As OpcModifiedHistoryValue,
right As OpcModifiedHistoryValue) As BooleanParameters
| Name | Type | Description |
|---|---|---|
left | Opc | The first Opc |
right | Opc | The second Opc |
Returns
The value true if left and right are not equal; otherwise the value false.
LessThan
Determines whether the first specified OpcModifiedHistoryValue object is less than the second specified OpcModifiedHistoryValue object.
public static bool operator <(
OpcModifiedHistoryValue left,
OpcModifiedHistoryValue right)Public Shared Operator <(
left As OpcModifiedHistoryValue,
right As OpcModifiedHistoryValue) As BooleanParameters
| Name | Type | Description |
|---|---|---|
left | Opc | The first Opc |
right | Opc | The second Opc |
Returns
The value true if left is less than right; otherwise the value false.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The left is a null reference ( |
LessThanOrEqual
Determines whether the first specified OpcModifiedHistoryValue object is less than or equal to the second OpcModifiedHistoryValue object.
public static bool operator <=(
OpcModifiedHistoryValue left,
OpcModifiedHistoryValue right)Public Shared Operator <=(
left As OpcModifiedHistoryValue,
right As OpcModifiedHistoryValue) As BooleanParameters
| Name | Type | Description |
|---|---|---|
left | Opc | The first Opc |
right | Opc | The second Opc |
Returns
The value true if left is less than or equal to right; otherwise the value false.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The left is a null reference ( |

