CrfBridge Class

Bridge for reading MOUSE CRF files.

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 CrfBridge : M11FfBridgeBase
Inheritance
Object    M11FfBridgeBase    CrfBridge

Constructors

CrfBridge Create CRF bridge for reading CRF eils
CrfBridge(ResultData) Create CRF bridge for reading CRF eils

Properties

Connection
(Inherited from M11FfBridgeBase)
Filter Specifies what data to load
(Inherited from M11FfBridgeBase)
NumberOfTimeSteps Return the number of time steps in the storage
(Inherited from M11FfBridgeBase)
ResultData Result data that values are read into
(Inherited from M11FfBridgeBase)

Methods

Connect Connects to storage
(Inherited from M11FfBridgeBase)
CreateItemTypeData Create an M11FfBridgeBaseItemTypeData from descriptor
(Inherited from M11FfBridgeBase)
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.
(Inherited from M11FfBridgeBase)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
HandleGlobalUnknownChannel Handle a global unknown type of channel in a generic way
(Inherited from M11FfBridgeBase)
InitializeUnitConversion
(Inherited from M11FfBridgeBase)
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.
(Inherited from M11FfBridgeBase)
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.


(Inherited from M11FfBridgeBase)
ReadHeader Reads in the header data from persistent storage and populates the associated resultdata object.
(Overrides M11FfBridgeBaseReadHeader(IDiagnostics))
ResultTypeToGeometry ResultTypeToGeometry
(Overrides M11FfBridgeBaseResultTypeToGeometry(Int32, IQuantity))
SkipBlock Skip reading the current block
(Inherited from M11FfBridgeBase)
ToStringReturns a string that represents the current object.
(Inherited from Object)

Events

CatchmentCreated Event triggered when a new catchment is read from the CRF file
CatchmentDataItemCreated Event triggered when a new catchment data item is read from the CRF file
TimeStepReadEvent Event triggered everytime a time step has been read
(Inherited from M11FfBridgeBase)

Fields

_blockReader Block reader
(Inherited from M11FfBridgeBase)
_channelDataItemIndices List as long as the number of channels in the prf file. For each channel it specifies which data item and index that the channel values should be stored in. Null if channel is to be disregarded.
(Inherited from M11FfBridgeBase)
_channelUnitConversion List as long as the number of channels in the prf file. Unit conversion factors for each of them
(Inherited from M11FfBridgeBase)
_connection File name and path
(Inherited from M11FfBridgeBase)
_numTimeSteps Number of time steps in file
(Inherited from M11FfBridgeBase)
_resultData Result data
(Inherited from M11FfBridgeBase)
_simTimeSpan Span of simulation
(Inherited from M11FfBridgeBase)
_timeChannelIndex Index of time channel
(Inherited from M11FfBridgeBase)
_timeDescriptor Time channel descriptor
(Inherited from M11FfBridgeBase)
_timeStep Size of time step
(Inherited from M11FfBridgeBase)
_timeUnitSeconds Seconds in one unit of time. Default is 3600 (hour time unit)
(Inherited from M11FfBridgeBase)
_unitFactorChainage
(Inherited from M11FfBridgeBase)
_unitFactorDischarge
(Inherited from M11FfBridgeBase)
_unitFactorLength
(Inherited from M11FfBridgeBase)
_unitFactorXy
(Inherited from M11FfBridgeBase)
_unitFactorZ
(Inherited from M11FfBridgeBase)
_unitProvider Unit provider, null if not enabled
(Inherited from M11FfBridgeBase)
_userUnitDischarge
(Inherited from M11FfBridgeBase)
CatchmentConnections Catchment connections as read from .crf file

See Also