Skip to main content

PrevEvent(Object) Method

Returns timestamp of the point’s previous archive event before a specified time.

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 PrevEvent(Object time)

VB

Public Function PrevEvent (time As Object) As AFTime

Parameters​

  Object
Timestamp.

Return Value​

AFTime
AFTime object corresponding to the timestamp of the point’s previous archive event before a specified time.

Remarks​

If the point has no archive data before the specified time, this function returns null. Change to interface - returns AFTime struct instead of PISDK.PITime object.

See Also​

Reference​

PIACEPoint Class
PrevEvent Overload
GHost.GSharp.PI.ACE Namespace