PIACEPoint Class
Every AFElement Attribute is declared as a PIACEPoint object within an ACE Module.
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#
[SerializableAttribute]
public class PIACEPoint : AFDataPoint
VB
<SerializableAttribute>
Public Class PIACEPoint
Inherits AFDataPoint
| Inheritance | Object → DataPointBase(AFDataValue, Int32) → AFDataPoint → PIACEPoint |
Properties
| AdjustClockOffset | Sets and gets the flag on whether to adjust all time arguments for the clock drift between the gSharp server and the PI Server. The default value is True. |
| ArcMode | Sets and gets the archive mode. The default value is dmErrorDuplicates. |
| CachedSnapshot | Returns the snapshot event in the cache. |
| ExecutionTime | (Overrides DataPointBase.ExecutionTime) |
| ExeTime | Sets and returns the current execution time in UTC seconds. |
| IsAlias | Determines if the tag corresponds to an AFAttribute configured with a PI Point Data Reference. |
| IsQuestionable | Sets or returns whether the current output value is questionable. The default is False (i.e., not questionable). This flag is only applicable to output tags and its setting applies only to the current value. The flag is reset to its default value (i.e., False) when the timestamp is reset. |
| IsRecalculating | Returns if the current calculation is auto or manual recalculation. |
| SendDataToPI | Sets and returns if the current value for the point should be sent to PI. |
| Server | Returns the server name where the point is defined. |
| Tag | Returns the tag name for the point. |
| TagID | Returns the tag ID for the point. |
| TagUsedAsType | Returns the tag used as type (i.e., as Input, Output, or Both). |
| Value | (Overrides AFDataPoint.Value) |
| Value(Object) | Gets or sets the value of the point for a specific timestamp. |
Methods
| AlmAckStatus() | Returns the acknowledgement status code for an alarm tag at the current execution time. |
| AlmAckStatus(Object) | Returns the acknowledgement status code for an alarm tag at a specified time. |
| AlmCondition() | Returns the condition code for an alarm state at the current execution time. |
| AlmCondition(Object) | Returns the condition code for an alarm state at a specified time. |
| AlmCondText() | Returns the string for the condition of an alarm state at the current execution time. |
| AlmCondText(Object) | Returns the string for the condition of an alarm state at a specified time. |
| AlmPriority() | Returns the priority of an alarm state at the current execution time. |
| AlmPriority(Object) | Returns the priority of an alarm state at a specified time. |
| Avg | Determines the time-weighted average of archived values for the point over a given time interval. |
| Code() | Returns the digital state code associated with the value of a tag at current execution time. |
| Code(Object) | Returns the digital state code associated with the value of a tag at a specified time. |
| Desc | Returns the descriptor for a point. |
| DigState | Returns the digital state (AFEnumerationValue) object for a specified string. |
| EU | Returns the string for the tag’s engineering unit. |
| ExDesc | Returns the point’s extended descriptor. |
| FindEQ | Finds the first time, within a specified time range, when an archive value for the point is equal to a given value. |
| FindGE | Finds the first time, within a specified time range, when an archive value for the point is greater than or equal to a given value. |
| FindGT | Finds the first time, within a specified time range, when an archive value for the point is greater than a given value. |
| FindLE | Finds the first time, within a specified time range, when an archive value for the point is less than or equal to a given value. |
| FindLT | Finds the first time, within a specified time range, when an archive value for the point is less than a given value. |
| FindNE | Finds the first time, within a specified time range, when an archive value for the point is not equal to a given value. |
| GetAttribute | Returns the specified attribute for the point. |
| GetValue | |
| IsGood() | Determines if the value for the tag at the current exetime equals one of the system digital states. |
| IsGood(Object) | Determines if the value for the tag at the current exetime equals one of the system digital states. |
| IsSet(String) | Determines if value for the tag at current execution time is annotated, substituted, or questionable. |
| IsSet(String, Object) | Determines if value for the tag at current execution time is annotated, substituted, or questionable. |
| IsTrigger | Determines if the tag triggered the current calculation. |
| Max | Maximum archive value of the point over a given time interval. |
| Mean | Average value of all archive events in the interval. |
| Min | Minimum archive value of the point over a given time interval. |
| NextEvent | Returns timestamp of the point’s next archive event after a specified time. |
| NextVal | Returns value of the point’s next archive event after a specified time. |
| PctGood | Returns the percentage of time, over a given time period, that the point’s archived values are good. |
| PIPointType | Returns the point’s type. |
| PrevEvent() | Returns timestamp of the point’s previous archive event before the current execution time. |
| PrevEvent(Object) | Returns timestamp of the point’s previous archive event before a specified time. |
| PrevVal() | Returns value of the point’s previous archive event before the current execution time. |
| PrevVal(Object) | Returns value of the point’s previous archive event before a specified time. |
| PutValue | Sends the value for an output tag to the PI Snapshot Subsystem. |
| Range | Returns the difference between the point’s maximum and minimum archive values during a specified time interval. |
| RefreshAttribute | Refreshes tag attributes immediately. |
| ResetCurrentValue | Resets the currently cached value for the point. |
| ResultTimestamp | Returns the timestamp associated with the current value. |
| SetTag(String, String) | Sets the context and tag alias for a PIACEPoint object, to be used as an input tag. |
| SetTag(String, String, TagAliasUsedType) | Sets the context and tag alias for a PIACEPoint object. |
| Source | Returns the AF SDK string point source. |
| Span | Returns the point’s span. |
| StateNo | Returns the digital state code for a specified string. |
| StDev | Returns the time-weighted standard deviation of archive values for the point over a given time interval. |
| TimeEQ | Finds the total time in seconds, within a specified time range, when archive values for the point are equal to a given value. |
| TimeGE | Finds the total time in seconds, within a specified time range, when archive values for the point are greater than or equal to a given value. |
| TimeGT | Finds the total time in seconds, within a specified time range, when archive values for the point are greater than a given value. |
| TimeLE | Finds the total time in seconds, within a specified time range, when archive values for the point are less than or equal to a given value. |
| TimeLT | Finds the total time in seconds, within a specified time range, when archive values for the point are less than a given value. |
| TimeNE | Finds the total time in seconds, within a specified time range, when archive values for the point are not equal to a given value. |
| Total | Returns the totalized value (time integral) in unit per day of archive values for the point over a given time interval. |
| TypVal | Returns the point's typical value. |
| Values(Object, Object) | Returns all events for a specified time range from the archive as a PIACEValues collection. |
| Values(Object, Object, BoundaryTypeConstants) | Returns all events for a specified time range from the archive as a PIACEValues collection. |
| Zero | Returns the point's zero. |
Extension Methods
| Avg | Determines the time-weighted average of archived values for the point over a given time interval. (Defined by AFDataPointExtensions) |
| FindEQ | Finds the first time, within a specified time range, when an archive value for the point is equal to a given value. (Defined by AFDataPointExtensions) |
| FindGE | Finds the first time, within a specified time range, when an archive value for the point is greater than or equal to a given value. (Defined by AFDataPointExtensions) |
| FindGT | Finds the first time, within a specified time range, when an archive value for the point is greater than a given value. (Defined by AFDataPointExtensions) |
| FindLE | Finds the first time, within a specified time range, when an archive value for the point is less than or equal to a given value. (Defined by AFDataPointExtensions) |
| FindLT | Finds the first time, within a specified time range, when an archive value for the point is less than a given value. (Defined by AFDataPointExtensions) |
| FindNE | Finds the first time, within a specified time range, when an archive value for the point is not equal to a given value. (Defined by AFDataPointExtensions) |
| Max | Maximum archive value of the point over a given time interval. (Defined by AFDataPointExtensions) |
| Mean | Average value of all archive events in the interval. (Defined by AFDataPointExtensions) |
| Min | Minimum archive value of the point over a given time interval. (Defined by AFDataPointExtensions) |
| NextEvent | Returns timestamp of the point’s next archive event after a specified time. (Defined by AFDataPointExtensions) |
| NextVal | Returns value of the point’s next archive event after a specified time. (Defined by AFDataPointExtensions) |
| PctGood | Returns the percentage of time, over a given time period, that the point’s archived values are good. (Defined by AFDataPointExtensions) |
| PrevEvent | Returns timestamp of the point’s previous archive event before the current time. (Defined by AFDataPointExtensions) |
| PrevEvent | Returns timestamp of the point’s previous archive event before a specified time. (Defined by AFDataPointExtensions) |
| PrevVal | Returns value of the point’s previous archive event before the current time. (Defined by AFDataPointExtensions) |
| PrevVal | Returns value of the point’s previous archive event before a specified time. (Defined by AFDataPointExtensions) |
| Range | Returns the difference between the point’s maximum and minimum archive values during a specified time interval. (Defined by AFDataPointExtensions) |
| RecordedValue | Returns a single value from the archive for the specified timestamp. (Defined by AFDataPointExtensions) |
| RecordedValue | Returns a single value from the archive for the specified timestamp. (Defined by AFDataPointExtensions) |
| RecordedValue | Returns a single value from the archive for the specified timestamp. (Defined by AFDataPointExtensions) |
| RecordedValues | Returns all compressed (archived) values during a specified time interval. (Defined by AFDataPointExtensions) |
| RecordedValues | Returns all compressed (archived) values during a specified time interval. (Defined by AFDataPointExtensions) |
| RecordedValues | Returns all compressed (archived) values during a specified time interval. (Defined by AFDataPointExtensions) |
| SampledValues | Returns a collection of interpolated values during a specified time interval. (Defined by AFDataPointExtensions) |
| SampledValues | Returns a collection of interpolated values during a specified time interval. (Defined by AFDataPointExtensions) |
| SampledValues | Returns a collection of interpolated values during a specified time interval. (Defined by AFDataPointExtensions) |
| StDev | Returns the time-weighted standard deviation of archive values for the point over a given time interval. (Defined by AFDataPointExtensions) |
| TimeEQ | Finds the total time in seconds, within a specified time range, when archive values for the point are equal to a given value. (Defined by AFDataPointExtensions) |
| TimeGE | Finds the total time in seconds, within a specified time range, when archive values for the point are greater than or equal to a given value. (Defined by AFDataPointExtensions) |
| TimeGT | Finds the total time in seconds, within a specified time range, when archive values for the point are greater than a given value. (Defined by AFDataPointExtensions) |
| TimeLE | Finds the total time in seconds, within a specified time range, when archive values for the point are less than or equal to a given value. (Defined by AFDataPointExtensions) |
| TimeLT | Finds the total time in seconds, within a specified time range, when archive values for the point are less than a given value. (Defined by AFDataPointExtensions) |
| TimeNE | Finds the total time in seconds, within a specified time range, when archive values for the point are not equal to a given value. (Defined by AFDataPointExtensions) |
| Total | Returns the totalized value (time integral) in unit per day of archive values for the point over a given time interval. (Defined by AFDataPointExtensions) |