Skip to content

Reference

OpcReadNodeHistoryModifiedDetails Members

Defines the time domain, number of values and additional criteria to use to select modified values from historical database for one or more variables.

Reference

OpcReadNodeHistoryModifiedDetails Members ​

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

Inherits members from OpcReadNodeHistoryDetails.

Constructors ​

OpcReadNodeHistoryModifiedDetails ​

4 overloads

OverloadDescription
OpcReadNodeHistoryModifiedDetails(int)Initializes a new instance of the OpcReadNodeHistoryModifiedDetails class using the specified numberOfValues to select the modified historical values.
OpcReadNodeHistoryModifiedDetails(DateTime?, int)Initializes a new instance of the OpcReadNodeHistoryModifiedDetails class using the specified startTime and numberOfValues to use to select the modified historical values.
OpcReadNodeHistoryModifiedDetails(DateTime?, DateTime?, int)Initializes a new instance of the OpcReadNodeHistoryModifiedDetails class using the specified startTime, endTime and numberOfValues to use to select the modified historical values.
OpcReadNodeHistoryModifiedDetails(DateTime?, DateTime?)Initializes a new instance of the OpcReadNodeHistoryModifiedDetails class using the specified startTime and endTime to use to select the modified historical values.

OpcReadNodeHistoryModifiedDetails(int) ​

Initializes a new instance of the OpcReadNodeHistoryModifiedDetails class using the specified numberOfValues to select the modified historical values.

csharp
public OpcReadNodeHistoryModifiedDetails(int numberOfValues)
vbnet
Public Sub New(numberOfValues As Integer)

Parameters

NameTypeDescription
numberOfValuesInt32The maximum number of values returned for any node over the time range.

Exceptions

ExceptionCondition
ArgumentOutOfRangeExceptionThe numberOfValues is lower or equals zero.

OpcReadNodeHistoryModifiedDetails(DateTime?, int) ​

Initializes a new instance of the OpcReadNodeHistoryModifiedDetails class using the specified startTime and numberOfValues to use to select the modified historical values.

csharp
public OpcReadNodeHistoryModifiedDetails(
    DateTime? startTime,
    int numberOfValues)
vbnet
Public Sub New(startTime As Date?, numberOfValues As Integer)

Parameters

NameTypeDescription
startTimeNullable<DateTime>The beginning of the period to read.
numberOfValuesInt32The maximum number of values returned for any node over the time range. If only one time is specified, the time range shall extend to return this number of values.

Exceptions

ExceptionCondition
ArgumentExceptionThe startTime is a null reference (Nothing in Visual Basic) or equals MinValue.
ArgumentOutOfRangeExceptionThe numberOfValues is lower or equals zero.

OpcReadNodeHistoryModifiedDetails(DateTime?, DateTime?, int) ​

Initializes a new instance of the OpcReadNodeHistoryModifiedDetails class using the specified startTime, endTime and numberOfValues to use to select the modified historical values.

csharp
public OpcReadNodeHistoryModifiedDetails(
    DateTime? startTime,
    DateTime? endTime,
    int numberOfValues)
vbnet
Public Sub New(startTime As Date?, endTime As Date?, numberOfValues As Integer)

Parameters

NameTypeDescription
startTimeNullable<DateTime>The beginning of the period to read or a null reference (Nothing in Visual Basic) if no specific start time is specified. If startTime is not specified and the numberOfValues is equals zero the endTime needs to be specified.
endTimeNullable<DateTime>The end of the period to read or a null reference (Nothing in Visual Basic) if no specific end time is specified. If endTime is not specified and the numberOfValues is equals zero the startTime needs to be specified.
numberOfValuesInt32The maximum number of values returned for any node over the time range. If only one time is specified, the time range shall extend to return this number of values.

Exceptions

ExceptionCondition
ArgumentExceptionThe startTime and endTime are a null reference (Nothing in Visual Basic) or are equals MinValue and numberOfValues is lower or equals zero.

OpcReadNodeHistoryModifiedDetails(DateTime?, DateTime?) ​

Initializes a new instance of the OpcReadNodeHistoryModifiedDetails class using the specified startTime and endTime to use to select the modified historical values.

csharp
public OpcReadNodeHistoryModifiedDetails(DateTime? startTime, DateTime? endTime)
vbnet
Public Sub New(startTime As Date?, endTime As Date?)

Parameters

NameTypeDescription
startTimeNullable<DateTime>The beginning of the period to read or a null reference (Nothing in Visual Basic) if no specific start time is specified. If startTime is not specified the endTime needs to be specified.
endTimeNullable<DateTime>The end of the period to read or a null reference (Nothing in Visual Basic) if no specific end time is specified. If endTime is not specified the startTime needs to be specified.

Exceptions

ExceptionCondition
ArgumentExceptionThe startTime and endTime are a null reference (Nothing in Visual Basic) or are equals MinValue.