AFDataPipeAction Enumeration
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Specifies how the data for the PIPoint or AFAttribute associated with an
AFDataPipeEvent was changed.
Namespace: OSIsoft.AF.Data
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public enum AFDataPipeAction
Public Enumeration AFDataPipeAction Dim instance As AFDataPipeAction
public enum class AFDataPipeAction
type AFDataPipeAction
Members
| Member name | Value | Description | |
|---|---|---|---|
| Update | 0 | The event represents an update to the time series. If SpecificUpdatedValue is specified then that value is replaced in the time series by this event. If SpecificUpdatedValue is and there is an existing data value with the same timestamp as this event, then this event represents a replacement of that value. If there is no data value in the time series whose timestamp matches this event, then this event should be treated like an Insert (this can occur when the data source cannot distinguish between data insertion and data replacement). | |
| Add | 1 | The event represents the addition of a new data value at the end of the time series. | |
| Delete | 2 | The event represents the removal of a data value from the time series. | |
| Refresh | 3 | The event indicates a change in the time series such that all previously received events following the timestamp of this data value could have been invalidated and should be discarded. | |
| Insert | 4 | The event represents the insertion of a new data value before the last event in the time series |
Remarks
The AFDataPipeEvent class uses this enumeration to define the
Action that caused the data change event to be generated.