OpcReadNodeHistoryDetails Members

Namespace: Opc.UaFx
Assemblies: Opc.UaFx.Advanced.dll, Opc.UaFx.Advanced.dll
The OpcReadNodeHistoryDetails type exposes the following members.

OpcReadNodeHistoryDetails(DateTime?, DateTime?)

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

C#

protected OpcReadNodeHistoryDetails(DateTime? startTime, DateTime? endTime)


Parameters

startTime Nullable<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.

endTime Nullable<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

ArgumentException

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

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.

C#

protected OpcReadNodeHistoryDetails(DateTime? startTime, DateTime? endTime, int numberOfValues)


Parameters

startTime Nullable<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.

endTime Nullable<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.

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

ArgumentException

The startTime and endTime are a null reference (Nothing in Visual Basic) or are equals MinValue and 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.

C#

protected OpcReadNodeHistoryDetails(DateTime? startTime, int numberOfValues)


Parameters

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

ArgumentException

The startTime is a null reference (Nothing in Visual Basic) or equals MinValue.

ArgumentOutOfRangeException

The numberOfValues is lower or equals zero.

OpcReadNodeHistoryDetails(int)

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

C#

protected OpcReadNodeHistoryDetails(int numberOfValues)


Parameters

numberOfValues Int32

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


Exceptions

ArgumentOutOfRangeException

The numberOfValues is lower or equals zero.

OpcReadNodeHistoryDetails(ReadRawModifiedDetails)

Initializes a new instance of the OpcReadNodeHistoryDetails class using the content specified.

C#

[CLSCompliant(false)]
protected OpcReadNodeHistoryDetails(ReadRawModifiedDetails content)


Parameters

content ReadRawModifiedDetails

The ReadRawModifiedDetails to wrap, maintain and represented.


Exceptions

ArgumentNullException

The content is a null reference (Nothing in Visual Basic).

EndTime

Gets or sets the end of the period to read.

C#

public DateTime? EndTime { get; set; }


Property Value

Nullable<DateTime>

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.

C#

public int NumberOfValues { get; set; }


Property Value

Int32

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.

C#

public bool ReturnBounds { get; set; }


Property Value

Boolean

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.

C#

public DateTime? StartTime { get; set; }


Property Value

Nullable<DateTime>

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.