Reference
OpcReadNodeHistoryDetails Members
Provides an abstract base class which defines the time domain, number of values and additional criteria to use to select values from historical database for one or more variables.
Reference
OpcReadNodeHistoryDetails Members
- Type
- OpcReadNodeHistoryDetails
- Namespace
- Opc.UaFx
- Assembly
- Opc.UaFx.Advanced.dll
- Package
- Opc.UaFx.Advanced v2.59.0
- Also in
- Opc.UaFx.Client
Constructors
OpcReadNodeHistoryDetails
| Overload | Description |
|---|---|
| Opc | Initializes a new instance of the OpcnumberOfValues to select the historical values. |
| Opc | Initializes a new instance of the OpcstartTime and numberOfValues to use to select the historical values. |
| Opc | Initializes a new instance of the OpcstartTime, endTime and numberOfValues to use to select the historical values. |
| Opc | Initializes a new instance of the OpcstartTime and endTime to use to select the historical values. |
| Opc | Initializes a new instance of the Opccontent specified. |
OpcReadNodeHistoryDetails(int)
Initializes a new instance of the OpcReadNodeHistoryDetails class using the specified numberOfValues to select the historical values.
protected OpcReadNodeHistoryDetails(int numberOfValues)Protected Sub New(numberOfValues As Integer)Parameters
| Name | Type | Description |
|---|---|---|
numberOfValues | Int32 | The maximum number of values returned for any node over the time range. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The numberOfValues is lower or equals zero. |
OpcReadNodeHistoryDetails(DateTime?, int)
Initializes a new instance of the OpcReadNodeHistoryDetails class using the specified startTime and numberOfValues to use to select the historical values.
protected OpcReadNodeHistoryDetails(DateTime? startTime, int numberOfValues)Protected Sub New(startTime As Date?, numberOfValues As Integer)Parameters
| Name | Type | Description |
|---|---|---|
startTime | Nullable<DateTime> | The beginning of the period to read. |
numberOfValues | Int32 | The 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
| Exception | Condition |
|---|---|
| Argument | The startTime is a null reference ( |
| Argument | The numberOfValues is lower or equals zero. |
OpcReadNodeHistoryDetails(DateTime?, DateTime?, int)
Initializes a new instance of the OpcReadNodeHistoryDetails class using the specified startTime, endTime and numberOfValues to use to select the historical values.
protected OpcReadNodeHistoryDetails(
DateTime? startTime,
DateTime? endTime,
int numberOfValues)Protected Sub New(
startTime As Date?,
endTime As Date?,
numberOfValues As Integer)Parameters
| Name | Type | Description |
|---|---|---|
startTime | Nullable<DateTime> | The beginning of the period to read or a null reference (startTime is not specified and the numberOfValues is equals zero the endTime needs to be specified. |
endTime | Nullable<DateTime> | The end of the period to read or a null reference (endTime is not specified and the numberOfValues is equals zero the startTime needs to be specified. |
numberOfValues | Int32 | The 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
| Exception | Condition |
|---|---|
| Argument | The startTime and endTime are a null reference (numberOfValues is lower or equals zero. |
OpcReadNodeHistoryDetails(DateTime?, DateTime?)
Initializes a new instance of the OpcReadNodeHistoryDetails class using the specified startTime and endTime to use to select the historical values.
protected OpcReadNodeHistoryDetails(DateTime? startTime, DateTime? endTime)Protected Sub New(startTime As Date?, endTime As Date?)Parameters
| Name | Type | Description |
|---|---|---|
startTime | Nullable<DateTime> | The beginning of the period to read or a null reference (startTime is not specified the endTime needs to be specified. |
endTime | Nullable<DateTime> | The end of the period to read or a null reference (endTime is not specified the startTime needs to be specified. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The startTime and endTime are a null reference ( |
OpcReadNodeHistoryDetails(ReadRawModifiedDetails)
Initializes a new instance of the OpcReadNodeHistoryDetails class using the content specified.
[CLSCompliant(false)]
protected OpcReadNodeHistoryDetails(ReadRawModifiedDetails content)<CLSCompliant(False)>
Protected Sub New(content As ReadRawModifiedDetails)Parameters
| Name | Type | Description |
|---|---|---|
content | Read | The Read |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The content is a null reference ( |
Properties
EndTime
Gets or sets the end of the period to read.
public DateTime? EndTime { get; set; }Public Property EndTime As Date?Property value
The DateTime of the end of the period to read or a null reference (Nothing in Visual Basic) if no specific end time is specified.
Remarks
If EndTime is not specified and NumberOfValues is equals zero the StartTime needs to be specified.
NumberOfValues
Gets or sets the maximum number of values returned for any node over the time range.
public int NumberOfValues { get; set; }Public Property NumberOfValues As IntegerProperty value
The maximum number of values returned over the time range. The default value is zero and indicates that there is no maximum.
Remarks
If only time (either StartTime or EndTime) is specified, the time range shall extend to return this number of values.
ReturnBounds
Gets or sets a value indicating whether the bounding values should be returned.
public bool ReturnBounds { get; set; }Public Property ReturnBounds As BooleanProperty value
The value true to return the bounding values; otherwise the value false. The default value is false.
StartTime
Gets or sets the beginning of the period to read.
public DateTime? StartTime { get; set; }Public Property StartTime As Date?Property value
The DateTime of the beginning of the period read or a null reference (Nothing in Visual Basic) if no specific start time is specified.
Remarks
If StartTime is not specified the EndTime needs to be specified.

