Table of Contents

Class DefaultRoutineLibrary<TAutomationConfig>

Namespace
Cognite.Simulator.Utils
Assembly
Cognite.Simulator.Utils.dll

A default instance of the routine library.

public class DefaultRoutineLibrary<TAutomationConfig> : RoutineLibraryBase<SimulatorRoutineRevision>, IRoutineProvider<SimulatorRoutineRevision> where TAutomationConfig : AutomationConfig, new()

Type Parameters

TAutomationConfig
Inheritance
RoutineLibraryBase<SimulatorRoutineRevision>
DefaultRoutineLibrary<TAutomationConfig>
Implements
IRoutineProvider<SimulatorRoutineRevision>
Inherited Members

Constructors

DefaultRoutineLibrary(DefaultConfig<TAutomationConfig>, SimulatorCreate, CogniteDestination, ILogger<DefaultRoutineLibrary<TAutomationConfig>>)

Initializes a new instance of the DefaultRoutineLibrary<TAutomationConfig> class.

public DefaultRoutineLibrary(DefaultConfig<TAutomationConfig> config, SimulatorCreate simulatorDefinition, CogniteDestination cdf, ILogger<DefaultRoutineLibrary<TAutomationConfig>> logger)

Parameters

config DefaultConfig<TAutomationConfig>

The default configuration.

simulatorDefinition SimulatorCreate

The simulator definition.

cdf CogniteDestination

The CDF destination object.

logger ILogger<DefaultRoutineLibrary<TAutomationConfig>>

The logger.