 | TrafficLight Constructor |
[This is preliminary documentation and is subject to change.]
c'tor
Namespace:
TrafficSimulation.Simulation.Contracts.DTO
Assembly:
TrafficSimulation.Simulation.Contracts (in TrafficSimulation.Simulation.Contracts.dll) Version: 1.0.0.2 (1.0.0.2)
Syntaxpublic TrafficLight(
int id,
TrafficLightState state,
int connectionId,
double positionOnConnection
)
Public Sub New (
id As Integer,
state As TrafficLightState,
connectionId As Integer,
positionOnConnection As Double
)
public:
TrafficLight(
int id,
TrafficLightState state,
int connectionId,
double positionOnConnection
)
new :
id : int *
state : TrafficLightState *
connectionId : int *
positionOnConnection : float -> TrafficLightParameters
- id
- Type: SystemInt32
the id - state
- Type: TrafficSimulation.Simulation.Contracts.DTOTrafficLightState
the traffic light state - connectionId
- Type: SystemInt32
the connection where the traffic light is placed - positionOnConnection
- Type: SystemDouble
the position on the connection
See Also