Table of Contents

Class ModelLibraryConfig

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

Represents the configuration for a model library. Used to configure ModelLibraryBase<A, T, U, V> and derived classes

public class ModelLibraryConfig
Inheritance
ModelLibraryConfig
Inherited Members

Properties

FilesDirectory

Local directory that contains the downloaded files

public string FilesDirectory { get; set; }

Property Value

string

FilesTable

Table containing the state of the downloaded files (last time updated)

public string FilesTable { get; set; }

Property Value

string

LibraryId

Id of the library object

public string LibraryId { get; set; }

Property Value

string

LibraryTable

Table containing the state of the library itself (extracted range)

public string LibraryTable { get; set; }

Property Value

string

LibraryUpdateInterval

Interval for fetching new data from CDF and updating the library

public int LibraryUpdateInterval { get; set; }

Property Value

int

MaxDownloadAttempts

Maximum number of download attempts before giving up. Default is 3.

public int MaxDownloadAttempts { get; set; }

Property Value

int

ModelParsingTimeout

Timeout for model parsing in seconds. If parsing takes longer than this, the status will be set to "failure". Default is 3600 (1 hour).

public int ModelParsingTimeout { get; set; }

Property Value

int