 | ISimulationServiceSetCarDefect Method |
[This is preliminary documentation and is subject to change.]
Method to create obstacles (in this case a defect car)
Namespace:
TrafficSimulation.Simulation.Contracts
Assembly:
TrafficSimulation.Simulation.Contracts (in TrafficSimulation.Simulation.Contracts.dll) Version: 1.0.0.2 (1.0.0.2)
Syntaxvoid SetCarDefect(
int id,
bool isDefect
)
Sub SetCarDefect (
id As Integer,
isDefect As Boolean
)
void SetCarDefect(
int id,
bool isDefect
)
abstract SetCarDefect :
id : int *
isDefect : bool -> unit
Parameters
- id
- Type: SystemInt32
the id of the car - isDefect
- Type: SystemBoolean
true if the car is defect, false either.
See Also