Class ResultService
Inheritance
System.Object
ResultService
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: SpiceSharpParser.ModelReaders.Netlist.Spice.Context
Assembly: SpiceSharpParser.dll
Syntax
public class ResultService : IResultService
Constructors
| Improve this Doc View SourceResultService(SpiceModel<Circuit, Simulation>)
Initializes a new instance of the ResultService class.
Declaration
public ResultService(SpiceModel<Circuit, Simulation> result)
Parameters
Type | Name | Description |
---|---|---|
SpiceModel<SpiceSharp.Circuit, SpiceSharp.Simulations.Simulation> | result | A SPICE model reader result. |
Properties
| Improve this Doc View SourceCircuit
Gets the circuit.
Declaration
public Circuit Circuit { get; }
Property Value
Type | Description |
---|---|
SpiceSharp.Circuit |
Exports
Gets all exports.
Declaration
public IEnumerable<Export> Exports { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<Export> |
MonteCarlo
Gets the Monte Carlo result.
Declaration
public MonteCarloResult MonteCarlo { get; }
Property Value
Type | Description |
---|---|
MonteCarloResult |
Seed
Gets or sets used random seed.
Declaration
public int? Seed { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
SimulationConfiguration
Gets simulation configuration.
Declaration
public SimulationConfiguration SimulationConfiguration { get; }
Property Value
Type | Description |
---|---|
SimulationConfiguration |
Simulations
Gets all simulations.
Declaration
public IEnumerable<Simulation> Simulations { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<SpiceSharp.Simulations.Simulation> |
Validation
Declaration
public SpiceNetlistValidationResult Validation { get; }
Property Value
Type | Description |
---|---|
SpiceNetlistValidationResult |
Methods
| Improve this Doc View SourceAddComment(CommentLine)
Adds comment.
Declaration
public void AddComment(CommentLine statement)
Parameters
Type | Name | Description |
---|---|---|
CommentLine | statement | Comment to add. |
AddEntity(IEntity)
Adds entity to netlist.
Declaration
public void AddEntity(IEntity entity)
Parameters
Type | Name | Description |
---|---|---|
SpiceSharp.Entities.IEntity | entity | Entity to add. |
AddExport(Export)
Adds export to netlist.
Declaration
public void AddExport(Export export)
Parameters
Type | Name | Description |
---|---|---|
Export | export | Export to add. |
AddPlot(XyPlot)
Adds plot to netlist.
Declaration
public void AddPlot(XyPlot plot)
Parameters
Type | Name | Description |
---|---|---|
XyPlot | plot | Plot to add. |
AddPrint(Print)
Adds print to netlist.
Declaration
public void AddPrint(Print print)
Parameters
Type | Name | Description |
---|---|---|
Print to add. |
AddSimulation(Simulation)
Adds simulation to netlist.
Declaration
public void AddSimulation(Simulation simulation)
Parameters
Type | Name | Description |
---|---|---|
SpiceSharp.Simulations.Simulation | simulation | Simulation to add. |
FindObject(String, out IEntity)
Finds the object in the result.
Declaration
public bool FindObject(string objectId, out IEntity entity)
Parameters
Type | Name | Description |
---|---|---|
System.String | objectId | The object id. |
SpiceSharp.Entities.IEntity | entity | The found entity. |
Returns
Type | Description |
---|---|
System.Boolean | True if found. |