MuResxBridge Class

Bridge for reading resx result files.

Definition

Namespace: DHI.Mike1D.ResultDataAccess.Epanet
Assembly: DHI.Mike1D.ResultDataAccess (in DHI.Mike1D.ResultDataAccess.dll) Version: 25.0.0.0 (11.1.1.1111)
C#
public class MuResxBridge : MuEpanetBridgeBase, 
	IResultReadBridge, IResultBridge, IEpanetResultReadBridge
Inheritance
Object    MuEpanetBridgeBase    MuResxBridge
Implements
IEpanetResultReadBridge, IResultBridge, IResultReadBridge

Constructors

MuResxBridge Constructor. Storing values in provided resultdata object.

Properties

Connection 
Filter Specifies what data to load. Must be set before any call to the open and read methods.
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
PressureUnitOption 0 = psi 1 = kPa 2 = meters
ResultData Result data that values are read into
SourceTracingNode The ID of WQ source tracing node
VolumeUnitsOption Unit options for volume

Methods

Connect Connects to storage
CoordinateUnit Gets the coordinate unit with optional conversion, coordinate can't be customized by user. It should always follow the unit system
(Inherited from MuEpanetBridgeBase)
CostPerEnergyUnit Gets the cost per energy unit with optional conversion
(Inherited from MuEpanetBridgeBase)
DiameterUnit Gets the diameter unit with optional conversion
(Inherited from MuEpanetBridgeBase)
EfaPressureUnit Gets the EFA pressure unit (based on flow unit) with optional conversion
(Inherited from MuEpanetBridgeBase)
EnergyUnit Gets the energy unit with optional conversion
(Inherited from MuEpanetBridgeBase)
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.
FlowUnit Gets the flow unit with optional conversion
(Inherited from MuEpanetBridgeBase)
FlowVelocityUnit Gets the velocity unit with optional conversion
(Inherited from MuEpanetBridgeBase)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
GetUnit Gets a unit with conversion based on item type, applying user overrides if available
(Inherited from MuEpanetBridgeBase)
HeadUnit Gets the head unit with optional conversion
(Inherited from MuEpanetBridgeBase)
LengthUnit Gets the length unit with optional conversion
(Inherited from MuEpanetBridgeBase)
MachineEfficiencyUnit Gets the machine efficiency unit with optional conversion
(Inherited from MuEpanetBridgeBase)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
PercentageUnit Gets the percentage unit with optional conversion
(Inherited from MuEpanetBridgeBase)
PressureUnit Gets the pressure unit with optional conversion
(Inherited from MuEpanetBridgeBase)
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.
RotationalSpeedUnit Gets the rotational speed unit with optional conversion
(Inherited from MuEpanetBridgeBase)
ToStringReturns a string that represents the current object.
(Inherited from Object)
VolumeUnit Gets the volume unit with optional conversion
(Inherited from MuEpanetBridgeBase)
VVelocityUnit Gets the velocity unit with optional conversion
(Inherited from MuEpanetBridgeBase)
WaterDepthUnit Gets the water depth unit with optional conversion
(Inherited from MuEpanetBridgeBase)

Events

TimeStepReadEvent Event triggered everytime a time step has been read

Fields

See Also