Class SimulationConfiguration
Specifies the behavior of a simulation.
Inherited Members
Namespace: ABB.Robotics.RobotStudio.Stations
Assembly: ABB.Robotics.RobotStudio.Stations.dll
Syntax
sistent("SimulationConfiguration")]
public sealed class SimulationConfiguration : ProjectObject
Constructors
SimulationConfiguration()
Creates a new SimulationConfiguration.
Declaration
public SimulationConfiguration()
Properties
ControllerConfigurations
Gets a collection of ControllerSimulationConfiguration that specify simulation configurations for individual RsIrc5Controller objects.
Declaration
public ControllerSimulationConfigurationCollection ControllerConfigurations { get; }
Property Value
Type | Description |
---|---|
ControllerSimulationConfigurationCollection |
DataRecordingEnabled
Gets or sets a value that indicates if the SimulationDataRecorder should be started when the simulation starts.
Declaration
public bool DataRecordingEnabled { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
EventTable
Gets the EventTable used by the simulation.
Declaration
public EventTable EventTable { get; }
Property Value
Type | Description |
---|---|
EventTable |
InitialState
Gets or sets the name of the SavedState that will be loaded before the simulation is started.
Declaration
public string InitialState { get; set; }
Property Value
Type | Description |
---|---|
String |
Remarks
The name should match an item in the SavedStates collection for the active station.
Parent
The Parent property returns a reference to the parent Station object.
Declaration
public override ProjectObject Parent { get; }
Property Value
Type | Description |
---|---|
ProjectObject |
Overrides
Remarks
You can use the Parent property to navigate up from the current object to the object one level higher.
SimulatedObjects
Gets the collection of ProjectObjects that will be simulated.
Declaration
public ProjectObjectCollection SimulatedObjects { get; }
Property Value
Type | Description |
---|---|
ProjectObjectCollection |
Remarks
Objects that can be simulated include RsIrc5Controller, SmartComponent and Conveyor.
Stopwatches
Gets a collection of SimulationStopwatch objects for the simulation.
Declaration
public SimulationStopwatchCollection Stopwatches { get; }
Property Value
Type | Description |
---|---|
SimulationStopwatchCollection |
VirtualTimeMode
Gets or sets the VirtualTimeMode that should be used for RsIrc5Controllers in th the simulation.
Declaration
public VirtualTimeMode VirtualTimeMode { get; set; }
Property Value
Type | Description |
---|---|
VirtualTimeMode |
Methods
AfterLoad(PimDocument)
Declaration
protected override void AfterLoad(PimDocument doc)
Parameters
Type | Name | Description |
---|---|---|
RobotStudio.API.Persistence.PimDocument | doc |
Overrides
OnCreatingObject()
Declaration
protected override void OnCreatingObject()