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

AF SDK Reference

AFInputCountData Constructor

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFInputCountData Constructor
Constructs AFInputCountData with counts and the time context.

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

Syntax

public AFInputCountData(
	int countBefore,
	int countAfter,
	string timeContext = null
)
Public Sub New ( 
	countBefore As Integer,
	countAfter As Integer,
	Optional timeContext As String = Nothing
)

Dim countBefore As Integer
Dim countAfter As Integer
Dim timeContext As String

Dim instance As New AFInputCountData(countBefore, 
	countAfter, timeContext)
public:
AFInputCountData(
	int countBefore, 
	int countAfter, 
	String^ timeContext = nullptr
)
new : 
        countBefore : int * 
        countAfter : int * 
        ?timeContext : string 
(* Defaults:
        let _timeContext = defaultArg timeContext null
*)
-> AFInputCountData

Parameters

countBefore
Type: SystemInt32
Count before TimeContext.
countAfter
Type: SystemInt32
Count after TimeContext.
timeContext (Optional)
Type: SystemString
The time context for the count. If null or empty, the trigger time is assumed and will be replaced with "*".

Version Information

AFSDK

Supported in: 3.1.1, 3.1.0, 3.0.2, 3.0.1, 3.0.0, 2.10.11, 2.10.5, 2.10.0, 2.10, 2.9.5, 2.9

See Also

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