EngineNetFactory Class

Factory Class for creating engine classes.

NOTE: This should be the only component depending on the dataaccess components, especially the NetworkDataAccess classes.

If desired, this can be moved to another project, to remove dependencies from EngineNetwork to DataAccess components.

Definition

Namespace: DHI.Mike1D.Engine
Assembly: DHI.Mike1D.Engine (in DHI.Mike1D.Engine.dll) Version: 24.0.0.0 (11.1.1.1111)
C#
public class EngineNetFactory
Inheritance
Object    EngineNetFactory
Derived

Constructors

EngineNetFactoryInitializes a new instance of the EngineNetFactory class

Properties

AdditionalData 
EngineNet The created EngineNet
ResultDataBuffer Result data buffer

Methods

AssignBoundaries Assign all boundaries from the BoundaryData object
AssignOpenBoundaries Assign all boundaries from the BoundaryData object
AssignRainfallRunoff 
CreateCover Create an engine node cover from the provided ICover
CreateEngineNetwork(Network, HDParameterData, BoundaryData, CrossSectionData, IDiagnostics) Create a new EngineNet stored in EngineNet and initialise it using the Network, HD parameters and CrossSections.
Obsolete
CreateEngineNetwork(String, Network, HDParameterData, BoundaryData, CrossSectionData, IDiagnostics) Create a new EngineNet stored in EngineNet and initialise it using the Network, HD parameters and CrossSections.
CreateNode(ILeapingWeir) Create an EngineNodeLeapingWeir from an ILeapingWeir.
CreateNode(IOutlet) Create an EngineNodeOutlet from an IOutlet.
CreateNode(ISewerJunction) Create an EngineSewerJunctionNode from an ISewerJunction.
CreateNode(IStructureNode) Create an EngineStructureNode from an IStructureNode.

It is assumed that the structure functionality will be added by the user.

CreateNode(INode, HDParameterData) Create an EngineNode from an INode.
CreateNodeBasin Create an EngineNodeOutlet from an IBasin.
CreateNodeManhole Create an EngineNode from an IManhole.
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)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
InitializeEngineTime Create and initialize the engine time and stores it in the engine net.
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Inherited from Object)
UpdateJunctionNodeBottomLevelsFromReaches Method for updating bottom level of junction nodes from surrounding reaches

See Also