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

AF SDK Reference

AFAnalysisRuleInputDefinition Class

  • Last UpdatedNov 18, 2025
  • 4 minute read
AFAnalysisRuleInputDefinition Class
Defines an input to an AFAnalysisRule.

Inheritance Hierarchy

SystemObject
  OSIsoft.AF.AnalysisAFAnalysisRuleInputDefinition

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

Syntax

public class AFAnalysisRuleInputDefinition
Public Class AFAnalysisRuleInputDefinition

Dim instance As AFAnalysisRuleInputDefinition
public ref class AFAnalysisRuleInputDefinition
type AFAnalysisRuleInputDefinition =  class end

The AFAnalysisRuleInputDefinition type exposes the following members.

Constructors

  NameDescription
Public method
AFAnalysisRuleInputDefinition
Define an input to an AFAnalysisRule.

Properties

  NameDescription
Public property
Description
A description for the user of how the variable will be used.
Public property
DisplayName
The name of the variable that will be shown to users.
Public property
InputRange
Returns input data range AFAnalysisInputRange information for this input.
Public property
InputType
The type of input defined by the AFAnalysisRule.
Public property
IsMappingConfigurable
True if the mapping configuration can be modified for this variable
Public property
IsOptional
If true, it is not a configuration error if this input cannot be resolved
Public property
Name
The name of the variable.

Methods

  NameDescription
Public methodStatic member
CreateInput
Create an input definition to a specific item.
Public methodStatic member
CreateInputWithMapping
Create an input definition with a mapping configuration supplied.
Public methodStatic member
CreateSingleInputWithMappingAndRanges
Create an input definition with a mapping configuration and input time ranges information explicitly set. AFAnalysisInputType.
Public method
Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public method
GetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public method
GetType
Gets the Type of the current instance.
(Inherited from Object.)
Public method
Resolve
Attempts to tie the input to a particular item in the hierarchy based on a target and AFVariableMap configuration.
Public method
ToString
Returns a string that represents the current object.
(Inherited from Object.)

Remarks

AFAnalysisRuleInputDefinition instances are created by the AFAnalysisRule implementer in AFAnalysisRule.DefineVariables(AFAnalysisRuleVariableDefinitions) and added to the Inputs collection. The caller can use the AFAnalysisInputDefinition to determine what needs to be configured.

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, 2.8.5, 2.8, 2.7.5, 2.7, 2.6

See Also

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