Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AF SDK Reference

AFCase.IsActiveTransfer Method

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFCase.IsActiveTransfer Method
Determines if the specified AFTransfer is active within the case.

Namespace:  OSIsoft.AF.Analysis
Assembly:  OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182

Syntax

public AFCaseAFActiveTransferStatus IsActiveTransfer(
	AFTransfer transfer
)
Public Function IsActiveTransfer ( 
	transfer As AFTransfer
) As AFCaseAFActiveTransferStatus

Dim instance As AFCase
Dim transfer As AFTransfer
Dim returnValue As AFCaseAFActiveTransferStatus

returnValue = instance.IsActiveTransfer(transfer)
public:
AFCaseAFActiveTransferStatus IsActiveTransfer(
	AFTransfer^ transfer
)
member IsActiveTransfer : 
        transfer : AFTransfer -> AFCaseAFActiveTransferStatus 

Parameters

transfer
Type: OSIsoft.AF.EventFrameAFTransfer
The AFTransfer to check if it is active within the case.

Return Value

Type: AFCaseAFActiveTransferStatus
Returns if the specified transfer is active within the case.

Remarks

This method is to be used with an AFAnalysis with an AFModel as its Target. The AFAnalysisRule.CollectTransfers method uses this method to determine which transfers are active for the case and should be included in the Elements collection.

This method determines that an AFTransfer is active if the case's Elements collection of active elements contains the transfer's Source element and/or Destination element. The transfer's StartTime and EndTime must overlap the case's StartTime and EndTime.

Version Information

AFSDK


See Also

In This Topic
Related Links
TitleResults for “How to create a CRG?”Also Available in