Click or drag to resize

CrfBridge Class

Bridge for reading MOUSE CRF files.
Inheritance Hierarchy

Namespace:  DHI.Mike1D.ResultDataAccess
Assembly:  DHI.Mike1D.ResultDataAccess (in DHI.Mike1D.ResultDataAccess.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax
public class CrfBridge : M11FfBridgeBase

The CrfBridge type exposes the following members.

Constructors
  NameDescription
Public methodCrfBridge
Create CRF bridge for reading CRF eils
Public methodCrfBridge(IResultData)
Create CRF bridge for reading CRF eils
Top
Properties
  NameDescription
Public propertyConnection (Inherited from M11FfBridgeBase.)
Public propertyFilter
Specifies what data to load
(Inherited from M11FfBridgeBase.)
Public propertyNumberOfTimeSteps
Return the number of time steps in the storage
(Inherited from M11FfBridgeBase.)
Public propertyResultData
Result data that values are read into
(Inherited from M11FfBridgeBase.)
Top
Methods
  NameDescription
Public methodConnect
Connects to storage
(Inherited from M11FfBridgeBase.)
Protected methodCreateItemTypeData (Inherited from M11FfBridgeBase.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodFinish
Used to disconnect from/close persistant storage and free resources if needed.
(Inherited from M11FfBridgeBase.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodHandleGlobalUnknownChannel
Handle a global unknown type of channel in a generic way
(Inherited from M11FfBridgeBase.)
Protected methodInitializeUnitConversion (Inherited from M11FfBridgeBase.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
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.
(Inherited from M11FfBridgeBase.)
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.

(Inherited from M11FfBridgeBase.)
Public methodReadHeader
Reads in the header data from persistant storage and populates the associated resultdata object.
(Overrides M11FfBridgeBaseReadHeader(IDiagnostics).)
Protected methodResultTypeToGeometry
ResultTypeToGeometry
(Overrides M11FfBridgeBaseResultTypeToGeometry(Int32, IQuantity).)
Protected methodSkipBlock
Skip reading the current block
(Inherited from M11FfBridgeBase.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Events
  NameDescription
Public eventCatchmentCreated
Event triggered when a new catchment is read from the CRF file
Public eventCatchmentDataItemCreated
Event triggered when a new catchment data item is read from the CRF file
Public eventTimeStepReadEvent
Event triggered everytime a time step has been read
(Inherited from M11FfBridgeBase.)
Top
Fields
  NameDescription
Protected field_blockReader
Block reader
(Inherited from M11FfBridgeBase.)
Protected field_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.)
Protected field_channelUnitConversion
List as long as the number of channels in the prf file. Unit conversion factors for each of them
(Inherited from M11FfBridgeBase.)
Protected field_connection
File name and path
(Inherited from M11FfBridgeBase.)
Protected field_numTimeSteps
Number of time steps in file
(Inherited from M11FfBridgeBase.)
Protected field_resultData
Result data
(Inherited from M11FfBridgeBase.)
Protected field_simTimeSpan
Span of simulation
(Inherited from M11FfBridgeBase.)
Protected field_timeChannelIndex
Index of time channel
(Inherited from M11FfBridgeBase.)
Protected field_timeDescriptor
Time channel descriptor
(Inherited from M11FfBridgeBase.)
Protected field_timeStep
Size of time step
(Inherited from M11FfBridgeBase.)
Protected field_timeUnitSeconds
Seconds in one unit of time. Default is 3600 (hour time unit)
(Inherited from M11FfBridgeBase.)
Protected field_unitFactorChainage (Inherited from M11FfBridgeBase.)
Protected field_unitFactorDischarge (Inherited from M11FfBridgeBase.)
Protected field_unitFactorLength (Inherited from M11FfBridgeBase.)
Protected field_unitFactorXy (Inherited from M11FfBridgeBase.)
Protected field_unitFactorZ (Inherited from M11FfBridgeBase.)
Protected field_unitProvider
Unit provider, null if not enabled
(Inherited from M11FfBridgeBase.)
Protected field_userUnitDischarge (Inherited from M11FfBridgeBase.)
Public fieldCatchmentConnections
Catchment connections as read from .crf file
Top
See Also