SimulationLauncher Class

The simulation launcher loads and runs a setup in a simple GUI, with progress bar and start/stop capabilities.

It is using the SimulationWorker to do the actual simulation, so in case the GUI is not required, use instead the SimulationWorker.

Definition

Namespace: DHI.Mike1D.SimLauncher
Assembly: DHI.Mike1D.SimLauncher (in DHI.Mike1D.SimLauncher.dll) Version: 24.0.0.0 (11.1.1.1111)
C#
public class SimulationLauncher : ISimulationLauncher
Inheritance
Object    SimulationLauncher
Implements
ISimulationLauncher

Constructors

SimulationLauncherInitializes a new instance of the SimulationLauncher class

Properties

InputFileName File name of the simulation set up file (.mdb, .gdb or .sim11 file)
QuitWhenDone If true, then the simulation thread will terminate when the simulation ends. If false, then the simulation dialog window will stay open until the user exist the dialog.
Silent When true, run without MIKE 1D GUI.
SimulationParameters Simulation parameters.

Setting to null is the same as setting all default parameters

Methods

AddSimulationDoneEvent Add delegate to SimulationDoneEvent
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)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Run Runs a simulation. If blocking is false, then the simulation runs in a background thread.
ToStringReturns a string that represents the current object.
(Inherited from Object)

Events

SimulationDoneEvent Simulation done event

Fields

GuiStarter Event to start GUI. If null, MIKE 1D runs without GUI

See Also