 | SimulationServiceSetCarDefect Method |
[This is preliminary documentation and is subject to change.]
Method to create obstacles (in this case a defect car)
Namespace:
TrafficSimulation.Simulation.WebService
Assembly:
TrafficSimulation.Simulation.WebService (in TrafficSimulation.Simulation.WebService.exe) Version: 1.0.0.2 (1.0.0.2)
Syntaxpublic void SetCarDefect(
int id,
bool isDefect
)
Public Sub SetCarDefect (
id As Integer,
isDefect As Boolean
)
public:
virtual void SetCarDefect(
int id,
bool isDefect
) sealed
abstract SetCarDefect :
id : int *
isDefect : bool -> unit
override 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.
Implements
ISimulationServiceSetCarDefect(Int32, Boolean)
See Also