Class SimulationRunItem
Wrapper class for CogniteSdk.Alpha.SimulationRun entity. Contains the simulation run configuration as a dictionary of key-value pairs
public class SimulationRunItem
- Inheritance
-
SimulationRunItem
- Inherited Members
Constructors
SimulationRunItem(SimulationRun)
Creates a new simulation run item based on simulation run CDF resource
public SimulationRunItem(SimulationRun r)
Parameters
r
SimulationRun
Properties
Run
CDF SimulationRun resource representing a simulation run
public SimulationRun Run { get; set; }
Property Value
- SimulationRun
RunConfiguration
Run configuration as a dictionary of key-value pairs
public Dictionary<string, long> RunConfiguration { get; }
Property Value
Methods
ValidateReadinessForExecution(int)
Validates the simulation run for readiness for execution. Throws an exception if the simulation run is too old or in an invalid state
public void ValidateReadinessForExecution(int maxAgeSeconds = 3600)
Parameters
maxAgeSeconds
intMaximum age of the simulation run in seconds