TimeNE Method
Finds the total time in seconds, within a specified time range, when archive values for the point are not equal to 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 TimeNE(
Object startTime,
Object endTime,
Object value
)
VB
Public Function TimeNE (
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 not equal to the specified target value.
Remarks
If the point does not contain any value that meets the criteria, returns 0.0.