Click or drag to resize

TsBufferRegisterTS Method (IFilePath, Int32, Boolean, IDiagnostics)

Register a timeseries file based on the filepath name. If file already exist in buffer, the existing will be returned, otherwise it will be added to the buffer and returned. The item is also registered for usage

Namespace:  DHI.Mike1D.Generic.TimeSeries
Assembly:  DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 16.0.0.0 (11.1.1.1111)
Syntax
C#
public TsCollection RegisterTS(
	IFilePath filePath,
	int itemIndex,
	bool convertToSI,
	IDiagnostics diagnostics
)

Parameters

filePath
Type: DHI.Mike1D.GenericIFilePath
Path name to time series file
itemIndex
Type: SystemInt32
Index of item to register
convertToSI
Type: SystemBoolean
Flag indicating whether to convert TS data to SI units
diagnostics
Type: DHI.Mike1D.GenericIDiagnostics

Return Value

Type: TsCollection
A time series object holder
See Also