Class DefaultSimulationRunner<TAutomationConfig, TModelStateBase, TModelStateBasePoco>
Default simulation runner class.
public class DefaultSimulationRunner<TAutomationConfig, TModelStateBase, TModelStateBasePoco> : RoutineRunnerBase<TAutomationConfig, TModelStateBase, SimulatorRoutineRevision> where TAutomationConfig : AutomationConfig, new() where TModelStateBase : ModelStateBase, new() where TModelStateBasePoco : ModelStateBasePoco
Type Parameters
TAutomationConfigThe type of the automation configuration.
TModelStateBaseThe type of the model state base.
TModelStateBasePocoThe type of the model state base POCO.
- Inheritance
-
SimulationRunnerBase<TAutomationConfig, TModelStateBase, SimulatorRoutineRevision>RoutineRunnerBase<TAutomationConfig, TModelStateBase, SimulatorRoutineRevision>DefaultSimulationRunner<TAutomationConfig, TModelStateBase, TModelStateBasePoco>
- Inherited Members
Constructors
DefaultSimulationRunner(DefaultConfig<TAutomationConfig>, CogniteDestination, DefaultModelLibrary<TAutomationConfig, TModelStateBase, TModelStateBasePoco>, DefaultRoutineLibrary<TAutomationConfig>, SimulatorCreate, ISimulatorClient<TModelStateBase, SimulatorRoutineRevision>, ILogger<DefaultSimulationRunner<TAutomationConfig, TModelStateBase, TModelStateBasePoco>>)
Initializes a new instance of the DefaultSimulationRunner<TAutomationConfig, TModelStateBase, TModelStateBasePoco> class.
public DefaultSimulationRunner(DefaultConfig<TAutomationConfig> config, CogniteDestination cdf, DefaultModelLibrary<TAutomationConfig, TModelStateBase, TModelStateBasePoco> modelLibrary, DefaultRoutineLibrary<TAutomationConfig> configLibrary, SimulatorCreate simulatorDefinition, ISimulatorClient<TModelStateBase, SimulatorRoutineRevision> client, ILogger<DefaultSimulationRunner<TAutomationConfig, TModelStateBase, TModelStateBasePoco>> logger)
Parameters
configDefaultConfig<TAutomationConfig>The default configuration.
cdfCogniteDestinationThe Cognite destination.
modelLibraryDefaultModelLibrary<TAutomationConfig, TModelStateBase, TModelStateBasePoco>The default model library.
configLibraryDefaultRoutineLibrary<TAutomationConfig>The default routine library.
simulatorDefinitionSimulatorCreateThe simulator definition.
clientISimulatorClient<TModelStateBase, SimulatorRoutineRevision>The simulator client.
loggerILogger<DefaultSimulationRunner<TAutomationConfig, TModelStateBase, TModelStateBasePoco>>The logger.