Class SimulationRun
Has properties of an individual simulation run
Inherited Members
Namespace: Quantellia.WMServer.Simulation
Assembly: WMServer.dll
Syntax
[HasDTO(typeof(SimulationRunDTO))]
public class SimulationRun : DecisionModelBase, IDbEntity, IWMEntity, IDocumentedEntity, IWMPrincipalOwned, INamedEntity
Constructors
SimulationRun()
Parameterless constructor for SimulationRun
Declaration
public SimulationRun()
SimulationRun(string)
Constructor for SimulationRun specifying ID
Declaration
public SimulationRun(string ID)
Parameters
Type | Name | Description |
---|---|---|
string | ID |
Properties
Owner
Owner of this simulation run.
Declaration
public WMPrincipal? Owner { get; set; }
Property Value
Type | Description |
---|---|
WMPrincipal |
Results
The results of this run as a list of EvaluationDTOs
Declaration
public SimulationResult Results { get; set; }
Property Value
Type | Description |
---|---|
SimulationResult |
Simulation
The simulation this run belongs to.
Declaration
public Simulation Simulation { get; set; }
Property Value
Type | Description |
---|---|
Simulation |
Methods
Get(WMPrincipal, string, WMAppDbContext, string)
Get the specified instance of the SimulationRun with all of its results data
Declaration
public static Task<SimulationRun> Get(WMPrincipal principal, string id, WMAppDbContext context = null, string format = "JSON")
Parameters
Type | Name | Description |
---|---|---|
WMPrincipal | principal | |
string | id | |
WMAppDbContext | context | |
string | format |
Returns
Type | Description |
---|---|
Task<SimulationRun> |