Understand the components
- Last UpdatedAug 18, 2026
- 1 minute read
- PI System
- Adapter Framework 2.1.0
- Adapters
Using the following list, review the generated component before making changes. This will help implement custom adapter functionality in the correct locations.
-
AdapterMain.cs - This serves as the starting point. Begin and end data collection and respond to any configuration updates here.
-
Configuration/DataSourceConfiguration.cs - Contains properties needed to connect to your data source, such as IP address, port, or credentials.
-
Configuration/DataSelectionItem.cs - Contains the properties needed to describe what data to collect. For example, one entry per data point/tag/item.
-
AdapterConstants.cs - Contains adapter-wide constants, such as the default stream ID pattern.
-
appsettings.json - Serves as the default port and application data directory.
-
Tests/ - Includes the unit test projects.