Skip to content

Reference

OpcReadNodeHistoryRawDetails Members

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

Reference

OpcReadNodeHistoryRawDetails Members ​

Type
OpcReadNodeHistoryRawDetails
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 ​

OpcReadNodeHistoryRawDetails ​

4 overloads

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

OpcReadNodeHistoryRawDetails(int) ​

Initializes a new instance of the OpcReadNodeHistoryRawDetails class using the specified numberOfValues to select the raw historical values.

csharp
public OpcReadNodeHistoryRawDetails(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.

OpcReadNodeHistoryRawDetails(DateTime?, int) ​

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

csharp
public OpcReadNodeHistoryRawDetails(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.

OpcReadNodeHistoryRawDetails(DateTime?, DateTime?, int) ​

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

csharp
public OpcReadNodeHistoryRawDetails(
    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.

OpcReadNodeHistoryRawDetails(DateTime?, DateTime?) ​

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

csharp
public OpcReadNodeHistoryRawDetails(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.