Class SimDsConfig
Simulated data source configuration.
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: DelsysAPI.Configurations.DataSource
Assembly: DelsysAPI.dll
Syntax
public class SimDsConfig : DataSourceConfig
Constructors
SimDsConfig()
Default constructor. Just supplies the ConfigType Simulated.
Declaration
public SimDsConfig()
Properties
EventTimes
A SimulatedTimeEvent will be fired at each supplied time value (in seconds, so 0.01 = 10ms).
Declaration
public List<SimulatedTimeEvent> EventTimes { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.List<SimulatedTimeEvent> |
Interval
How frequently data points are generated (ms).
Declaration
public int Interval { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
NumberOfSensors
Number of sensors intended for streaming.
Declaration
public int NumberOfSensors { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
SimulationTime
If unset or set to 0, the Interval will be awaited in real time. Otherwise, frames will be generated as quickly as possible using this time as the stop time instead of the mRuntime property (that value will be used as a backup cancellation timer.)
Declaration
public int SimulationTime { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |