production
cognite.powerops.resync.config.WatercourseConfig
Bases: Watercourse
Represents the configuration for a Watercourse
Attributes:
Name | Type | Description |
---|---|---|
version |
str
|
The version of the watercourse configuration. |
Source code in cognite/powerops/resync/config/production/watercourse.py
cognite.powerops.resync.config.Watercourse
cognite.powerops.resync.config.Plant
Bases: BaseModel
Source code in cognite/powerops/resync/config/production/plant.py
from_cdf_resources(asset, relationships, **kwargs)
classmethod
Initialise a Plant from CDF Asset and Relationships
Parameters:
Name | Type | Description | Default |
---|---|---|---|
asset
|
Asset
|
The plant Asset relationships |
required |
relationships
|
list[Relationship]
|
Relationships to related resources (will be mapped to attributes based on labels) |
required |
kwargs
|
Any other attributes that are not part of the Asset |
{}
|
Source code in cognite/powerops/resync/config/production/plant.py
cognite.powerops.resync.config.Generator
Bases: BaseModel
Source code in cognite/powerops/resync/config/production/generator.py
cognite.powerops.resync.config.TimeSeriesMapping
Bases: BaseModel
Source code in cognite/powerops/resync/config/_shared.py
cognite.powerops.resync.config.PlantTimeSeriesMapping
Bases: BaseModel
Source code in cognite/powerops/resync/config/production/plant.py
cognite.powerops.resync.config.GeneratorTimeSeriesMapping
Bases: BaseModel