Skip to main content

FindLT Method

Finds the first time, within a specified time range, when an archive value for the point is less than a given value.

Definition​

Namespace: GHost.GSharp.PI.ACE
Assembly: GHost.GSharp.PI.ACE (in GHost.GSharp.PI.ACE.dll) Version: 1.2.44.3 (1.2.44.3)

C#

public AFTime? FindLT(
Object startTime,
Object endTime,
Object value
)

VB

Public Function FindLT ( 
startTime As Object,
endTime As Object,
value As Object
) As AFTime?

Parameters​

  Object
Timestamp for the beginning of the time range to search.
  Object
Timestamp for the end of the time range to search. This time may be earlier than Starttime; if so, the range is searched backwards.
  Object
The value to search for. Must be an integer or real number, or character string corresponding to a digital state.

Return Value​

Nullable(AFTime)
AFTime object corresponding to the first timestamp, within a specified time range, when an archive value for the point is less than a specified target value.

Remarks​

If the point does not contain any value that meets the criteria, returns null and raises an error.

See Also​

Reference​

PIACEPoint Class
GHost.GSharp.PI.ACE Namespace