Dfs1Bridge Class

The Dfs1 bridge is a result data read bridge that is capable of reading the results of a dfs1 file into one reach of the ResultDataobject.

Definition

Namespace: DHI.Mike1D.ResultDataAccess
Assembly: DHI.Mike1D.ResultDataAccess (in DHI.Mike1D.ResultDataAccess.dll) Version: 24.0.0.0 (11.1.1.1111)
C#
public class Dfs1Bridge : IResultRandomReadBridge, IResultReadBridge, 
	IResultBridge
Inheritance
Object    Dfs1Bridge
Implements
IResultBridge, IResultRandomReadBridge, IResultReadBridge

Remarks

The Dfs1 bridge was added to support comparing and viewing dfs1 files using the ResultDiff tool and GUI.

Constructors

Dfs1Bridge Constructor

Properties

Connection 
Filter 
NumberOfTimeSteps Return the number of time steps in the storage

Methods

Connect Connects to storage
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Finish Used to disconnect from/close persistant storage and free resources if needed.
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Read 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.
ReadData 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.

ReadHeader(IDiagnostics) Reads in the header data from persistent storage and populates the associated resultdata object.
ReadHeader(IDiagnostics, Boolean) Reads in the header data from persistent storage and populates the associated resultdata object.
ReadTimeForTimeStep Return the time for the given time step
ReadTimeStep Read and populate result data with data for the given time step
ToStringReturns a string that represents the current object.
(Inherited from Object)

Events

TimeStepReadEvent Event triggered everytime a time step has been read

See Also