Click or drag to resize

Vehicle Constructor

[This is preliminary documentation and is subject to change.]

Constructor

Namespace:  TrafficSimulation.Simulation.Contracts.DTO
Assembly:  TrafficSimulation.Simulation.Contracts (in TrafficSimulation.Simulation.Contracts.dll) Version: 1.0.0.2 (1.0.0.2)
Syntax
public Vehicle(
	int id,
	VehicleType type,
	int currentNodeConnectionId,
	double positionOnConnection,
	bool isForeignVehicle,
	string debugInfo = null
)

Parameters

id
Type: SystemInt32

[Missing <param name="id"/> documentation for "M:TrafficSimulation.Simulation.Contracts.DTO.Vehicle.#ctor(System.Int32,TrafficSimulation.Simulation.Contracts.VehicleType,System.Int32,System.Double,System.Boolean,System.String)"]

type
Type: TrafficSimulation.Simulation.ContractsVehicleType

[Missing <param name="type"/> documentation for "M:TrafficSimulation.Simulation.Contracts.DTO.Vehicle.#ctor(System.Int32,TrafficSimulation.Simulation.Contracts.VehicleType,System.Int32,System.Double,System.Boolean,System.String)"]

currentNodeConnectionId
Type: SystemInt32

[Missing <param name="currentNodeConnectionId"/> documentation for "M:TrafficSimulation.Simulation.Contracts.DTO.Vehicle.#ctor(System.Int32,TrafficSimulation.Simulation.Contracts.VehicleType,System.Int32,System.Double,System.Boolean,System.String)"]

positionOnConnection
Type: SystemDouble

[Missing <param name="positionOnConnection"/> documentation for "M:TrafficSimulation.Simulation.Contracts.DTO.Vehicle.#ctor(System.Int32,TrafficSimulation.Simulation.Contracts.VehicleType,System.Int32,System.Double,System.Boolean,System.String)"]

isForeignVehicle
Type: SystemBoolean

[Missing <param name="isForeignVehicle"/> documentation for "M:TrafficSimulation.Simulation.Contracts.DTO.Vehicle.#ctor(System.Int32,TrafficSimulation.Simulation.Contracts.VehicleType,System.Int32,System.Double,System.Boolean,System.String)"]

debugInfo (Optional)
Type: SystemString

[Missing <param name="debugInfo"/> documentation for "M:TrafficSimulation.Simulation.Contracts.DTO.Vehicle.#ctor(System.Int32,TrafficSimulation.Simulation.Contracts.VehicleType,System.Int32,System.Double,System.Boolean,System.String)"]

See Also