AFCase Methods
- Last UpdatedNov 18, 2025
- 12 minute read
- PI System
- AF SDK 2024 R2
- Developer
The AFCase type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| Acknowledge(String, NullableAFTime) |
Acknowledges a single AFEventFrame.
(Inherited from AFEventFrame.) | |
| AddInput(AFAttribute) |
Adds an attribute and its value at the time of the case to the result set.
| |
| AddInput(AFAttribute, AFValue) |
Adds an attribute and a specified AFValue to the result set.
| |
| AddInput(AFAttribute, AFValue, UOM) | Obsolete.
Adds an attribute and a specified value to the result set.
| |
| AddInput(AFAttribute, Object, UOM) |
Adds an attribute and a specified value to the result set.
| |
| ApplyChanges |
This method applies the changes to the object and makes
those changes available to other objects for the current user.
| |
| CaptureValues |
Capture and cache the AFAttribute values with a AFDataReference
using the default non-cached data provider.
(Inherited from AFEventFrame.) | |
| CaptureValues(IAFDataProvider) |
Capture and cache the AFAttribute values with a AFDataReference
using the specified IAFDataProvider.
(Inherited from AFEventFrame.) | |
| ChangeReferenceType |
Change the existing AFReferenceType between a child event frame.
(Inherited from AFEventFrame.) | |
| CheckIn |
This method checks in (commits) all the changes to the object by saving
the information to persistent storage.
| |
| CheckOut |
This method locks the object so that its configuration can be modified.
| |
| CheckOutCases |
Check out the objects with the specified unique identifiers at the specified query date.
| |
| CollectElements |
This method collects the elements that are active for this case.
| |
| CollectInputs |
This method uses the AFAnalysisRule to obtain the input
values necessary to start an analysis.
| |
| CollectInputs(AFCaseLog) | Obsolete.
This method uses the AFAnalysisRule to obtain the input
values necessary to start an analysis.
| |
| CollectTransfers |
This method collects the transfers that are active for this case.
| |
| CompareTo(Object) |
Compares this instance with a specified Object.
(Inherited from AFEventFrame.) | |
| CompareTo(AFEventFrame) |
Compares this instance with a specified AFEventFrame.
(Inherited from AFEventFrame.) | |
| CompareTo(AFObject) |
Compares this instance with a specified AFObject.
(Inherited from AFObject.) | |
| CreateElementTemplate |
Create an AFElementTemplate based upon the element.
(Inherited from AFBaseElement.) | |
| CreateTemporary |
This method creates a temporary case from the current case.
| |
| Delete |
Deletes this event frame from the AFDatabase.
(Inherited from AFEventFrame.) | |
| DeleteCases |
Delete the objects with the specified unique identifiers.
| |
| Equals(Object) |
Determines whether the specified Object is equal to the current object.
(Inherited from AFEventFrame.) | |
| Equals(AFEventFrame) |
Indicates whether the current object is equal to another object of the same type.
(Inherited from AFEventFrame.) | |
| Equals(AFObject) |
Indicates whether the current object is equal to another object of the same type.
(Inherited from AFObject.) | |
| FindCase(PISystem, Guid) |
Retrieves the AFCase object with the specified unique identifier
at the AFTime.MaxValue query date.
| |
| FindCase(PISystem, Guid, Object) |
Retrieves the AFCase object with the specified unique identifier at
the specified query date.
| |
| FindCases(PISystem, Guid, Object) | ||
| FindCases(AFAnalysis, String, AFSearchField, AFSortField, AFSortOrder, Int32) |
Performs a text search within the AFDatabase to retrieve a collection
of AFCase objects that match the specified query string.
| |
| FindCases(AFAnalysis, Object, Int32, AFEventFrameSearchMode, String, AFCategory, AFElementTemplate) |
Retrieves a list of AFCase objects limited to the specified
count beginning at the requested time in the specified direction.
| |
| FindCases(AFAnalysis, Object, Int32, Boolean, String, AFCategory, AFElementTemplate) | Obsolete.
Retrieves a list of AFCase objects limited to the specified
count beginning at the requested start time in the specified direction.
| |
| FindCases(AFAnalysis, AFSearchMode, Object, Object, String, AFCategory, AFElementTemplate, AFSortField, AFSortOrder, Int32) | Obsolete.
Retrieves a list of AFCase objects that match the
specified filtering conditions.
| |
| GetAdjustments | ||
| GetAnnotations |
Retrieves a collection of existing AFAnnotation objects belonging to this
AFBaseElement.
(Inherited from AFBaseElement.) | |
| GetAttributeByTrait |
Retrieves the child AFAttribute with the specified AFAttributeTrait.
(Inherited from AFBaseElement.) | |
| GetAttributesByTrait |
Retrieves a list of child AFAttribute objects identified by the specified list of attribute traits.
(Inherited from AFBaseElement.) | |
| GetConnectedElements(AFBaseElement) |
This method returns a collection of AFBaseElement objects which are
connected to the specified element (or child element) within the case.
| |
| GetConnectedElements(AFBaseElement, AFPortType) |
This method returns a collection of AFBaseElement objects which are
connected to the specified element (or child element) through a port of the specified
type within the case.
| |
| GetConnectedElements(AFBaseElement, String) |
This method returns a collection of AFBaseElement objects which are
connected to the specified element and port within the case.
| |
| GetConnections(AFBaseElement) |
This method returns a collection of AFConnection objects representing
a connection between the specified element (or child element) and another element
within the case.
| |
| GetConnections(AFBaseElement, AFPortType) |
This method returns a collection of AFConnection objects with the
specified port type representing a connection between the specified element (or
child element) and another element within the case.
| |
| GetConnections(AFBaseElement, String) |
This method returns a collection of AFConnection objects with the
specified port name representing a connection between the specified element and
another element within the case.
| |
| GetHashCode |
Gets the hash code for this instance of the object which is suitable for use in hashing
algorithms and data structures like a hash table.
(Inherited from AFEventFrame.) | |
| GetLayers |
This method returns a collection of AFLayer objects for the
specified element representing all the active layers of the case which contain
the element.
| |
| GetParents(AFCategory) |
Retrieves a collection of AFEventFrame objects that reference this event frame
using the specified AFCategory.
(Inherited from AFEventFrame.) | |
| GetParents(AFReferenceType) |
Retrieves a collection of AFEventFrame objects that reference this event frame
using the specified AFReferenceType.
(Inherited from AFEventFrame.) | |
| GetPath |
Returns the full path to the object, using just the names.
(Inherited from AFObject.) | |
| GetPath(AFObject) |
Returns the path to the object relative from another object.
(Inherited from AFObject.) | |
| GetPath(AFEncodeType, AFObject) |
Returns the path to the object relative from another object,
using the name and/or id as specified
by encodeType.
(Inherited from AFObject.) | |
| GetPaths |
Get all the relative paths to this AFEventFrame.
(Inherited from AFEventFrame.) | |
| GetReferenceTypes |
Retrieves a collection of all AFReferenceType objects that represent types
of references from this event frame to its child event frames.
(Inherited from AFEventFrame.) | |
| GetReferenceTypes(AFEventFrame) |
Retrieves a collection of AFReferenceType objects that represent types
of references between this event frame and the specified related event frame.
(Inherited from AFEventFrame.) | |
| GetResult |
This method gets the result for the specified attribute.
| |
| GetSecurity |
Gets the AFSecurity information of the specified security item
associated with the object.
| |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| IsActiveElement |
Determines if the specified AFElement is active
within the case.
| |
| IsActiveTransfer |
Determines if the specified AFTransfer is active
within the case.
| |
| IsTraced |
Indicates if a specified level is being traced.
| |
| IsTypeOf |
Checks if the current AFBaseElement is derived from the
specified AFElementTemplate.
(Inherited from AFBaseElement.) | |
| LoadCases(IListAFCase) |
Loads the specified list AFCase objects.
| |
| LoadCases(PISystem, Guid, Object) |
Loads the AFCase objects with the specified unique identifiers.
at the specified query date.
| |
| Lock |
Locks this event frame so that no further changes can be made.
(Inherited from AFEventFrame.) | |
| Persist |
This method returns the persistence string for the object.
(Inherited from AFObject.) | |
| Publish |
The output AFAttribute values of the analysis case run are published
to the locations specified by the attribute's data reference configuration.
| |
| PublishValue(AFAttribute, AFValue) |
Write the specified value of the AFAttribute directly to the data reference source
using the specified AFValue object.
| |
| PublishValue(AFAttribute, Object, UOM) |
Write the specified value of the AFAttribute directly to the data reference source
with the specified unit-of-measure at the case's EndTime.
| |
| Refresh |
Refreshes the client with any changes that have been made to the object since loaded.
| |
| Reset(AFAttribute) |
This method resets an attribute in an analysis case.
| |
| Reset(AFResult) |
This method resets an attribute for the specified AFResult in an analysis case.
| |
| Reset(Boolean, Boolean) |
This method resets the input and/or output results generated in an analysis case.
| |
| Reset(Boolean, Boolean, AFAttribute) | Obsolete.
This method resets the results generated in an analysis case.
| |
| Run |
This method uses the AFAnalysisRule to execute the analysis
and generate analysis results.
| |
| Run(AFCaseLog) | Obsolete.
This method uses the AFAnalysisRule to execute the analysis
and generate analysis results.
| |
| SetEndTime |
Set the time that represents the time that the period ended.
(Inherited from AFEventFrame.) | |
| SetStartTime |
Set the time that represents the time that the period started.
(Overrides AFEventFrameSetStartTime(Object).) | |
| ToString |
Returns a String that represents the current object.
(Overrides AFObjectToString.) | |
| TraceData |
Output a data trace event.
| |
| TraceDetail |
Output a detail trace event.
| |
| TraceError |
Output an error trace event.
| |
| TraceEvent(AFTraceSwitchLevel, String) |
Output a trace event with a message.
| |
| TraceEvent(AFTraceSwitchLevel, String, Int32) |
Output a trace event with a message and a duration.
| |
| TraceEvent(AFTraceSwitchLevel, String, Object) |
Output a trace event as a formatted message with a variable number of arguments.
| |
| TraceInformation |
Output an information trace event.
| |
| TraceSummary |
Output a summary trace event.
| |
| TraceWarning |
Output a warning trace event.
| |
| UndoCheckOut |
This method discards all the changes to the object and all sub-objects since the
last call to CheckOut. Any changes since the check out will be lost.
| |
| Unlock |
Unlocks a locked event frame so that further changes can be made.
(Inherited from AFEventFrame.) |
See Also
In This Topic
Related Links
- AddInput Method
- ApplyChanges Method
- CheckIn Method
- CheckOut Method
- CheckOutCases Method
- CollectElements Method
- CollectInputs Method
- CollectTransfers Method
- CreateTemporary Method
- DeleteCases Method
- FindCase Method
- FindCases Method
- GetAdjustments Method
- GetConnectedElements Method
- GetConnections Method
- GetLayers Method
- GetResult Method
- GetSecurity Method
- IsActiveElement Method
- IsActiveTransfer Method
- IsTraced Method
- LoadCases Method
- Publish Method
- PublishValue Method
- Refresh Method
- Reset Method
- Run Method
- SetStartTime Method
- ToString Method
- TraceData Method
- TraceDetail Method
- TraceError Method
- TraceEvent Method
- TraceInformation Method
- TraceSummary Method
- TraceWarning Method
- UndoCheckOut Method