Skip to main content

PctGood Method

Returns the percentage of time, over a given time period, that the point’s archived values are good.

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? PctGood(Object startTime, Object endTime)

VB

Public Function PctGood (startTime As Object, endTime As Object) As Double?

Parameters​

  Object
Timestamp for the beginning of the time range.
  Object
Timestamp for the end of the time range.

Return Value​

Nullable(Double)
Returns the percentage of time, over a given time period, that the point’s archived values are good.

Remarks​

If an error occurs in retrieving values from the archive, returns null and raises an error.

See Also​

Reference​

PIACEPoint Class
GHost.GSharp.PI.ACE Namespace