MuSwmmBridge Class

Class for reading SWMM out result files into ResultData object.

Definition

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

Constructors

MuSwmmBridge Constructor. Storing values in provided resultdata object.

Properties

Connection 
Filter Specifies what data to load
FlowUnitOption 0: CFS, 1: GPM, 2: MGD, 3: IMGD, 4: AFD, 5: LPS, 6: LPM, 7: MLD, 8: CMH, 9: CMD
NumberOfTimeSteps Return the number of time steps in the storage
ResultData Result data that values are read into

Methods

Connect Connects to storage
CreateIPolygon 
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 Reads in the header data from persistent storage and populates the associated resultdata object.
ToStringReturns a string that represents the current object.
(Inherited from Object)

Events

TimeStepReadEvent Event triggered everytime a time step has been read

See Also