Click or drag to resize

IResultReadBridge Interface

Interface that is to be implemted for a bridge that can read data from persistant storage into the ResultData access.

Namespace:  DHI.Mike1D.ResultDataAccess
Assembly:  DHI.Mike1D.ResultDataAccess (in DHI.Mike1D.ResultDataAccess.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax
public interface IResultReadBridge : IResultBridge

The IResultReadBridge type exposes the following members.

Properties
  NameDescription
Public propertyConnection
Connection specifying the file to read from
Public propertyFilter
Specifies what data to load. Must be set before any call to the open and read methods.
Public propertyNumberOfTimeSteps
Return the number of time steps in the storage
Top
Methods
  NameDescription
Public methodConnect
Connects to storage
Public methodFinish
Used to disconnect from/close persistant storage and free resources if needed.
(Inherited from IResultBridge.)
Public methodRead
Reads the header and data from persistant storage and populates the associated resultData object. This is the same as calling ReadHeader(IDiagnostics) and ReadData(IDiagnostics) in that order.
Public methodReadData
Reads in the data from persistant storage and populates the associated resultdata object.

You can not load the data without having loaded the header, hence it can be assumed that ReadHeader(IDiagnostics) has already been called.

Public methodReadHeader
Reads in the header data from persistant storage and populates the associated resultdata object.
Top
Events
  NameDescription
Public eventTimeStepReadEvent
Event triggered everytime a time step has been read
Top
See Also