Click or drag to resize

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.

Inheritance Hierarchy
SystemObject
  DHI.Mike1D.SimLauncherSimulationLauncher

Namespace:  DHI.Mike1D.SimLauncher
Assembly:  DHI.Mike1D.SimLauncher (in DHI.Mike1D.SimLauncher.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax
public class SimulationLauncher : ISimulationLauncher

The SimulationLauncher type exposes the following members.

Constructors
  NameDescription
Public methodSimulationLauncher
Initializes a new instance of the SimulationLauncher class
Top
Properties
  NameDescription
Public propertyInputFileName
File name of the simulation set up file (.mdb, .gdb or .sim11 file)
Public propertyQuitWhenDone
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.
Public propertySilent
When true, run without MIKE 1D GUI.
Public propertySimulationParameters
Simulation parameters.

Setting to null is the same as setting all default parameters

Top
Methods
  NameDescription
Public methodAddSimulationDoneEvent
Add delegate to SimulationDoneEvent
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 methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRun
Runs a simulation. If blocking is false, then the simulation runs in a background thread.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Events
  NameDescription
Public eventSimulationDoneEvent
Simulation done event
Top
Fields
  NameDescription
Public fieldGuiStarter
Top
See Also