AFDataPipeEventWithChangeTime Constructor
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Construct a new data pipe event given a pipe action and an AFvalue.
Namespace: OSIsoft.AF.Data
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public AFDataPipeEventWithChangeTime( AFDataPipeAction action, AFValue value, AFTime changeTime )
Public Sub New ( action As AFDataPipeAction, value As AFValue, changeTime As AFTime ) Dim action As AFDataPipeAction Dim value As AFValue Dim changeTime As AFTime Dim instance As New AFDataPipeEventWithChangeTime(action, value, changeTime)
public: AFDataPipeEventWithChangeTime( AFDataPipeAction action, AFValue^ value, AFTime changeTime )
new : action : AFDataPipeAction * value : AFValue * changeTime : AFTime -> AFDataPipeEventWithChangeTime
Parameters
- action
- Type: OSIsoft.AF.DataAFDataPipeAction
AFDataPipeAction of the event - value
- Type: OSIsoft.AF.AssetAFValue
AFValue portion of the event. The Attribute/PIPoint property of the AFValue is used to identify the source of the AFDataPipeEvent. - changeTime
- Type: OSIsoft.AF.TimeAFTime
The time the update occurred.
Remarks
AFDataPipeEvent will take ownership of the passed AFValue. If an application wants to assign the
same value to multiple AFDataPipeEvents for different source AFAttributes, it should make
copy of the AFValue and set the Attribute property of the AFValue before calling the constructor