Skip to main content

TimeLT Method

Finds the total time in seconds, within a specified time range, when archive values for the point are 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 double TimeLT(
Object startTime,
Object endTime,
Object value
)

VB

Public Function TimeLT ( 
startTime As Object,
endTime As Object,
value As Object
) As Double

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​

Double
Total time in seconds, within a specified time range, when archive values for the point are less than the specified target value.

Remarks​

If the point does not contain any value that meets the criteria, returns 0.0.

See Also​

Reference​

PIACEPoint Class
GHost.GSharp.PI.ACE Namespace