private void ExpWithAlg_Click(object sender, RoutedEventArgs e) { Hide(); ExperimentWindow experimentWindow = new ExperimentWindow(this, true); experimentWindow.Show(); }
public StreetList(ExperimentWindow experimentWindow) { _experimentWindow = experimentWindow; streets = new List <Rectangle>(); streets.Add(_experimentWindow.Pomorska); streets.Add(_experimentWindow.Piastowska); streets.Add(_experimentWindow.Kolobrzeska); streets.Add(_experimentWindow.AlejaZolnierzy1); streets.Add(_experimentWindow.Grunwaldzka); streets.Add(_experimentWindow.Opacka); streets.Add(_experimentWindow.OpataJackaRybinskiego); streets.Add(_experimentWindow.Derdkowskiego); streets.Add(_experimentWindow.WitaStwosza1); streets.Add(_experimentWindow.WitaStwosza2); streets.Add(_experimentWindow.WitaStwosza3); streets.Add(_experimentWindow.WitaStwosza4); streets.Add(_experimentWindow.Bazynskiego); streets.Add(_experimentWindow.AlejaZolnierzy2); streets.Add(_experimentWindow.Polanki); carsOnTheStreet = new List <int>(); carsOnTheStreet.Add(0); //odcinek Grunwaldzkiej przed pomorska w strone Gdańska carsOnTheStreet.Add(0); //odcinek Grunwaldzkiej pomiedzy pomorską i rybinskiego w stronę gdańska carsOnTheStreet.Add(0); //odcinek Grunwaldzkiej pomiedzy rybinskiego i bazynskiego w stronę gdańska carsOnTheStreet.Add(0); //odcinek Grunwaldzkiej pomiedzy bazynskiego i zolnierzy w stronę gdańska carsOnTheStreet.Add(0); //odcinek Grunwaldzkiej przed zolnierzy w stronę sopotu carsOnTheStreet.Add(0); //odcinek Grunwaldzkiej pomiedzy zolnierzy i kolobrzeska w stronę sopotu carsOnTheStreet.Add(0); //odcinek Grunwaldzkiej pomiedzy kolobrzeska i pomorska w stronę sopotu carsOnTheStreet.Add(0); //ilosc samochodow na pomorskiej carsOnTheStreet.Add(0); //ilosc samochodow na opackiej carsOnTheStreet.Add(0); //ilosc samochodow na kolobrzeskiej carsOnTheStreet.Add(0); //ilosc samochodow na zolnierzy wykletych w dol carsOnTheStreet.Add(0); //ilosc samochodow na zolnierzy wykletych w gore }
public RouteList(ExperimentWindow expWithoutAlgWindow) { _expWithoutAlgWindow = expWithoutAlgWindow; routes = new List <Route>(); trafficLightsList = new TrafficLightsList(_expWithoutAlgWindow); routes.Add(new Route() { Id = 0, StartPoint = new Point(50, 10), EndPoint = new Point(50, 771), OccupancyRate = 2, TrafficLightsOnRoute = new List <TrafficLights>() { trafficLightsList.AllTraficLights[0] }, StartingDirection = Direction.South }); //Trasa Pomorska - Opacka routes.Add(new Route() { Id = 1, StartPoint = new Point(50, 10), EndPoint = new Point(10, 330), OccupancyRate = 2, TrafficLightsOnRoute = new List <TrafficLights>() { trafficLightsList.AllTraficLights[0] }, StartingDirection = Direction.South }); //Pomorska - Grunwaldzka w stronę Sopotu routes.Add(new Route() { Id = 2, StartPoint = new Point(10, 370), EndPoint = new Point(1174, 370), OccupancyRate = 2, TrafficLightsOnRoute = new List <TrafficLights>() { trafficLightsList.AllTraficLights[31], trafficLightsList.AllTraficLights[29], trafficLightsList.AllTraficLights[36], trafficLightsList.AllTraficLights[37], trafficLightsList.AllTraficLights[21], trafficLightsList.AllTraficLights[14], trafficLightsList.AllTraficLights[12] }, StartingDirection = Direction.East }); //Trasa Grunwaldzka w stronę Gdanska routes.Add(new Route() { Id = 3, StartPoint = new Point(1174, 330), EndPoint = new Point(10, 330), OccupancyRate = 2, TrafficLightsOnRoute = new List <TrafficLights>() { trafficLightsList.AllTraficLights[7], trafficLightsList.AllTraficLights[5], trafficLightsList.AllTraficLights[38], trafficLightsList.AllTraficLights[3], trafficLightsList.AllTraficLights[1] }, StartingDirection = Direction.West }); //Trasa Grunwaldzka w stronę Sopotu routes.Add(new Route() { Id = 4, StartPoint = new Point(65, 771), EndPoint = new Point(65, 10), OccupancyRate = 2, TrafficLightsOnRoute = new List <TrafficLights>() { trafficLightsList.AllTraficLights[30] }, StartingDirection = Direction.North }); //Trasa Opacka - Pomorska //routes.Add(new Route() { Id = 5, StartPoint = new Point(50, 10), EndPoint = new Point(177, 771), OccupancyRate = 2, TrafficLightsOnRoute = new List<TrafficLights>() { trafficLightsList.AllTraficLights[0], trafficLightsList.AllTraficLights[29] }, StartingDirection = Direction.South }); //Trasa Pomorska - Opata Jacka Rybińskiego //routes.Add(new Route() { Id = 6, StartPoint = new Point(50, 10), EndPoint = new Point(940, 771), OccupancyRate = 4, TrafficLightsOnRoute = new List<TrafficLights>() { trafficLightsList.AllTraficLights[0], trafficLightsList.AllTraficLights[29], trafficLightsList.AllTraficLights[36], trafficLightsList.AllTraficLights[35], trafficLightsList.AllTraficLights[16], trafficLightsList.AllTraficLights[10] }, StartingDirection = Direction.South }); //Trasa Pomorska - Aleja Żołnierzy wyklętych przez Opata Jacka Rybińskiego oraz Polanki routes.Add(new Route() { Id = 7, StartPoint = new Point(50, 10), EndPoint = new Point(549, 10), OccupancyRate = 5, TrafficLightsOnRoute = new List <TrafficLights>() { trafficLightsList.AllTraficLights[0], trafficLightsList.AllTraficLights[29], trafficLightsList.AllTraficLights[36], trafficLightsList.AllTraficLights[37], trafficLightsList.AllTraficLights[21] }, StartingDirection = Direction.South }); //Trasa Pomorska - Kołobrzeska przez Grunwaldzką //routes.Add(new Route() { Id = 8, StartPoint = new Point(50, 10), EndPoint = new Point(970, 10), OccupancyRate = 5, TrafficLightsOnRoute = new List<TrafficLights>() { trafficLightsList.AllTraficLights[0], trafficLightsList.AllTraficLights[29], trafficLightsList.AllTraficLights[36], trafficLightsList.AllTraficLights[37], trafficLightsList.AllTraficLights[21], trafficLightsList.AllTraficLights[14], trafficLightsList.AllTraficLights[12] }, StartingDirection = Direction.South }); //Trasa Pomorska - Aleja Żołnierzy wyklętych w stronę Zaspy przez Grunwaldzką routes.Add(new Route() { Id = 9, StartPoint = new Point(50, 10), EndPoint = new Point(1174, 355), OccupancyRate = 7, TrafficLightsOnRoute = new List <TrafficLights>() { trafficLightsList.AllTraficLights[0], trafficLightsList.AllTraficLights[29], trafficLightsList.AllTraficLights[36], trafficLightsList.AllTraficLights[37], trafficLightsList.AllTraficLights[21], trafficLightsList.AllTraficLights[14], trafficLightsList.AllTraficLights[12] }, StartingDirection = Direction.South }); //Trasa Pomorska - Grunwaldzka w stronę Gdańska /* routes.Add(new Route() { Id = 10, StartPoint = new Point(50, 10), EndPoint = new Point(970, 771), OccupancyRate = 6, TrafficLightsOnRoute = new List<TrafficLights>() { trafficLightsList.AllTraficLights[0], trafficLightsList.AllTraficLights[29], trafficLightsList.AllTraficLights[36], trafficLightsList.AllTraficLights[37], trafficLightsList.AllTraficLights[21], trafficLightsList.AllTraficLights[14], trafficLightsList.AllTraficLights[12], trafficLightsList.AllTraficLights[11] }, StartingDirection = Direction.South });*/ //Trasa Pomorska - Aleja Żołnierzy wyklętych w stronę Niedźwiednika przez Grunwaldzką //routes.Add(new Route() { Id = 11, StartPoint = new Point(10, 385), EndPoint = new Point(1174, 385), OccupancyRate = 2, TrafficLightsOnRoute = new List<TrafficLights>() { trafficLightsList.AllTraficLights[31], trafficLightsList.AllTraficLights[29], trafficLightsList.AllTraficLights[36], trafficLightsList.AllTraficLights[37], trafficLightsList.AllTraficLights[21], trafficLightsList.AllTraficLights[14], trafficLightsList.AllTraficLights[12] } }); //Trasa Grunwaldzka w stronę Gdanska drugi pas routes.Add(new Route() { Id = 12, StartPoint = new Point(510, 10), EndPoint = new Point(1174, 355), OccupancyRate = 6, TrafficLightsOnRoute = new List <TrafficLights>() { trafficLightsList.AllTraficLights[4], trafficLightsList.AllTraficLights[14], trafficLightsList.AllTraficLights[12] }, StartingDirection = Direction.South }); //Trasa Kołobrzeska - Grunwaldzka w stronę Gdańska routes.Add(new Route() { Id = 13, StartPoint = new Point(510, 10), EndPoint = new Point(10, 330), OccupancyRate = 6, TrafficLightsOnRoute = new List <TrafficLights>() { trafficLightsList.AllTraficLights[4], trafficLightsList.AllTraficLights[38], trafficLightsList.AllTraficLights[40], trafficLightsList.AllTraficLights[3], trafficLightsList.AllTraficLights[1] }, StartingDirection = Direction.South }); //Trasa Kołobrzeska - Grunwaldzka w stronę Sopotu routes.Add(new Route() { Id = 14, StartPoint = new Point(1174, 330), EndPoint = new Point(549, 10), OccupancyRate = 5, TrafficLightsOnRoute = new List <TrafficLights>() { trafficLightsList.AllTraficLights[7], trafficLightsList.AllTraficLights[39], trafficLightsList.AllTraficLights[5] }, StartingDirection = Direction.West }); //Trasa Grunwaldzka - Kołobrzeska z Gdańska routes.Add(new Route() { Id = 15, StartPoint = new Point(10, 370), EndPoint = new Point(549, 10), OccupancyRate = 5, TrafficLightsOnRoute = new List <TrafficLights>() { trafficLightsList.AllTraficLights[31], trafficLightsList.AllTraficLights[29], trafficLightsList.AllTraficLights[36], trafficLightsList.AllTraficLights[37], trafficLightsList.AllTraficLights[21] }, StartingDirection = Direction.East }); //Trasa Grunwaldzka - Kołobrzeska z Gdańska routes.Add(new Route() { Id = 16, StartPoint = new Point(990, 771), EndPoint = new Point(990, 10), OccupancyRate = 6, TrafficLightsOnRoute = new List <TrafficLights>() { trafficLightsList.AllTraficLights[9], trafficLightsList.AllTraficLights[8] }, StartingDirection = Direction.North }); //Trasa Aleja Żołnierzy Wyklętych w strone Zaspy routes.Add(new Route() { Id = 17, StartPoint = new Point(945, 10), EndPoint = new Point(945, 771), OccupancyRate = 6, TrafficLightsOnRoute = new List <TrafficLights>() { trafficLightsList.AllTraficLights[6], trafficLightsList.AllTraficLights[11] }, StartingDirection = Direction.South }); //Trasa Aleja Żołnierzy Wyklętych w strone Niedźwiednika routes.Add(new Route() { Id = 18, StartPoint = new Point(945, 10), EndPoint = new Point(10, 330), OccupancyRate = 6, TrafficLightsOnRoute = new List <TrafficLights>() { trafficLightsList.AllTraficLights[6], trafficLightsList.AllTraficLights[5], trafficLightsList.AllTraficLights[38], trafficLightsList.AllTraficLights[3], trafficLightsList.AllTraficLights[1] }, StartingDirection = Direction.South }); //Trasa Aleja Żołnierzy Wyklętych Od Zaspy Do Grunwaldzkiej w stronę Sopotu routes.Add(new Route() { Id = 19, StartPoint = new Point(945, 10), EndPoint = new Point(1174, 370), OccupancyRate = 6, TrafficLightsOnRoute = new List <TrafficLights>() { trafficLightsList.AllTraficLights[6] }, StartingDirection = Direction.South }); //Trasa Aleja Żołnierzy Wyklętych Od Zaspy Do Grunwaldzkiej w stronę Gdańska routes.Add(new Route() { Id = 20, StartPoint = new Point(990, 771), EndPoint = new Point(10, 330), OccupancyRate = 6, TrafficLightsOnRoute = new List <TrafficLights>() { trafficLightsList.AllTraficLights[9], trafficLightsList.AllTraficLights[8], trafficLightsList.AllTraficLights[5], trafficLightsList.AllTraficLights[38], trafficLightsList.AllTraficLights[3], trafficLightsList.AllTraficLights[1] }, StartingDirection = Direction.North }); //Trasa Aleja Żołnierzy Wyklętych od Niedźwiednika do Grunwaldzkiej w stronę Sopotu routes.Add(new Route() { Id = 21, StartPoint = new Point(990, 771), EndPoint = new Point(1174, 370), OccupancyRate = 6, TrafficLightsOnRoute = new List <TrafficLights>() { trafficLightsList.AllTraficLights[9], trafficLightsList.AllTraficLights[8] }, StartingDirection = Direction.North }); //Trasa Aleja Żołnierzy Wyklętych od Niedźwiednika do Grunwaldzkiej w stronę Gdańska routes.Add(new Route() { Id = 22, StartPoint = new Point(10, 370), EndPoint = new Point(945, 771), OccupancyRate = 7, TrafficLightsOnRoute = new List <TrafficLights>() { trafficLightsList.AllTraficLights[31], trafficLightsList.AllTraficLights[29], trafficLightsList.AllTraficLights[36], trafficLightsList.AllTraficLights[37], trafficLightsList.AllTraficLights[21], trafficLightsList.AllTraficLights[14], trafficLightsList.AllTraficLights[12], trafficLightsList.AllTraficLights[11] }, StartingDirection = Direction.East }); //Trasa Grunwaldzka w stronę Gdanska do Zolnierzy Wykletych w strone Niedzwiednika routes.Add(new Route() { Id = 23, StartPoint = new Point(10, 370), EndPoint = new Point(990, 10), OccupancyRate = 7, TrafficLightsOnRoute = new List <TrafficLights>() { trafficLightsList.AllTraficLights[31], trafficLightsList.AllTraficLights[29], trafficLightsList.AllTraficLights[36], trafficLightsList.AllTraficLights[37], trafficLightsList.AllTraficLights[21], trafficLightsList.AllTraficLights[14], trafficLightsList.AllTraficLights[12] }, StartingDirection = Direction.East }); //Trasa Grunwaldzka w stronę Gdanska do Zolnierzy Wykletych w strone Zaspy }
public TrafficLightsList(ExperimentWindow expWithoutAlgWindow) { _expWithoutAlgWindow = expWithoutAlgWindow; AllTraficLights = new List <TrafficLights>(); AllTraficLights.Add(new TrafficLights() { GreenLight = _expWithoutAlgWindow.Green, RedLight = _expWithoutAlgWindow.Red, YellowLight = _expWithoutAlgWindow.Yellow, TimeOfGreenLight = 30, TimeOfRedLight = 60, TimeOfYellowLight = 2, IsGreenLight = false, IsRedLight = true }); //światła na skrzyżowaniu Pomorskiej z Grunwaldzka AllTraficLights.Add(new TrafficLights() { GreenLight = _expWithoutAlgWindow.Green1, RedLight = _expWithoutAlgWindow.Red1, YellowLight = _expWithoutAlgWindow.Yellow1, TimeOfGreenLight = 60, TimeOfRedLight = 30, TimeOfYellowLight = 2, IsRedLight = false, IsGreenLight = true }); //światła na skrzyżowaniu Grunwaldzkiej z Pomorska w stronę Sopotu AllTraficLights.Add(new TrafficLights() { GreenLight = _expWithoutAlgWindow.Green2, RedLight = _expWithoutAlgWindow.Red2, YellowLight = _expWithoutAlgWindow.Yellow2, TimeOfGreenLight = 30, TimeOfRedLight = 60, TimeOfYellowLight = 2, IsGreenLight = false, IsRedLight = true }); //światła na skrzyżowaniu Piastowskiej z Grunwaldzka AllTraficLights.Add(new TrafficLights() { GreenLight = _expWithoutAlgWindow.Green3, RedLight = _expWithoutAlgWindow.Red3, YellowLight = _expWithoutAlgWindow.Yellow3, TimeOfGreenLight = 60, TimeOfRedLight = 30, TimeOfYellowLight = 2, IsRedLight = false, IsGreenLight = true }); //światła na skrzyżowaniu Grunwaldzkiej z Piastowską w stronę Sopotu AllTraficLights.Add(new TrafficLights() { GreenLight = _expWithoutAlgWindow.Green4, RedLight = _expWithoutAlgWindow.Red4, YellowLight = _expWithoutAlgWindow.Yellow4, TimeOfGreenLight = 45, TimeOfRedLight = 45, TimeOfYellowLight = 2, IsGreenLight = false, IsRedLight = true }); //światła na skrzyżowaniu Kołobrzeskiej z Grunwaldzką AllTraficLights.Add(new TrafficLights() { GreenLight = _expWithoutAlgWindow.Green5, RedLight = _expWithoutAlgWindow.Red5, YellowLight = _expWithoutAlgWindow.Yellow5, TimeOfGreenLight = 45, TimeOfRedLight = 45, TimeOfYellowLight = 2, IsRedLight = false, IsGreenLight = true }); //światła na skrzyżowaniu Grunwaldzkiej z Kołobrzeską w stronę Sopotu AllTraficLights.Add(new TrafficLights() { GreenLight = _expWithoutAlgWindow.Green6, RedLight = _expWithoutAlgWindow.Red6, YellowLight = _expWithoutAlgWindow.Yellow6, TimeOfGreenLight = 60, TimeOfRedLight = 60, TimeOfYellowLight = 2, IsGreenLight = false, IsRedLight = true }); //światła na skrzyżowaniu Aleji Żołnierzy Wyklętych z Grunwaldzką w stronę Niedźwiednika AllTraficLights.Add(new TrafficLights() { GreenLight = _expWithoutAlgWindow.Green7, RedLight = _expWithoutAlgWindow.Red7, YellowLight = _expWithoutAlgWindow.Yellow7, TimeOfGreenLight = 60, TimeOfRedLight = 60, TimeOfYellowLight = 2, IsGreenLight = true, IsRedLight = false }); //światła na skrzyżowaniu Grunwaldzkiej z Aleją Żołnierzy Wyklętych w stronę Sopotu AllTraficLights.Add(new TrafficLights() { GreenLight = _expWithoutAlgWindow.Green8, RedLight = _expWithoutAlgWindow.Red8, YellowLight = _expWithoutAlgWindow.Yellow8, TimeOfGreenLight = 60, TimeOfRedLight = 60, TimeOfYellowLight = 2, IsRedLight = true, IsGreenLight = false }); //światła na skrzyżowaniu Aleji Żołnierzy Wyklętych z Grunwaldzką w stronę Zaspy AllTraficLights.Add(new TrafficLights() { GreenLight = _expWithoutAlgWindow.Green9, RedLight = _expWithoutAlgWindow.Red9, YellowLight = _expWithoutAlgWindow.Yellow9, TimeOfGreenLight = 60, TimeOfRedLight = 30, TimeOfYellowLight = 2, IsRedLight = false, IsGreenLight = true }); //światła na skrzyżowaniu Aleji Żołnierzy Wyklętych z Polanki w stronę Zaspy AllTraficLights.Add(new TrafficLights() { GreenLight = _expWithoutAlgWindow.Green10, RedLight = _expWithoutAlgWindow.Red10, YellowLight = _expWithoutAlgWindow.Yellow10, TimeOfGreenLight = 30, TimeOfRedLight = 60, TimeOfYellowLight = 2, IsGreenLight = true, IsRedLight = false }); //światła na skrzyżowaniu Polanki z Aleją Żołnierzy Wyklętych AllTraficLights.Add(new TrafficLights() { GreenLight = _expWithoutAlgWindow.Green11, RedLight = _expWithoutAlgWindow.Red11, YellowLight = _expWithoutAlgWindow.Yellow11, TimeOfGreenLight = 60, TimeOfRedLight = 30, TimeOfYellowLight = 2, IsRedLight = false, IsGreenLight = true }); //światła na skrzyżowaniu Aleji Żołnierzy Wyklętych z Polanki w stronę Niedźwiednika AllTraficLights.Add(new TrafficLights() { GreenLight = _expWithoutAlgWindow.Green12, RedLight = _expWithoutAlgWindow.Red12, YellowLight = _expWithoutAlgWindow.Yellow12, TimeOfGreenLight = 60, TimeOfRedLight = 60, TimeOfYellowLight = 2, IsGreenLight = true, IsRedLight = false }); //światła na skrzyżowaniu Grunwaldzkiej z Aleją Żołnierzy Wyklętych w stronę Gdańska AllTraficLights.Add(new TrafficLights() { GreenLight = _expWithoutAlgWindow.Green13, RedLight = _expWithoutAlgWindow.Red13, YellowLight = _expWithoutAlgWindow.Yellow13, TimeOfGreenLight = 30, TimeOfRedLight = 60, TimeOfYellowLight = 2, IsRedLight = true, IsGreenLight = false }); //światła na skrzyżowaniu Wita Stwosza z Grunwaldzką AllTraficLights.Add(new TrafficLights() { GreenLight = _expWithoutAlgWindow.Green14, RedLight = _expWithoutAlgWindow.Red14, YellowLight = _expWithoutAlgWindow.Yellow14, TimeOfGreenLight = 60, TimeOfRedLight = 30, TimeOfYellowLight = 2, IsGreenLight = true, IsRedLight = false }); //światła na skrzyżowaniu Grunwaldzkiej z Wita Stwosza AllTraficLights.Add(new TrafficLights() { GreenLight = _expWithoutAlgWindow.Green15, RedLight = _expWithoutAlgWindow.Red15, YellowLight = _expWithoutAlgWindow.Yellow15, TimeOfGreenLight = 30, TimeOfRedLight = 30, TimeOfYellowLight = 2, IsRedLight = false, IsGreenLight = true }); //światła na skrzyżowaniu Polanki z Bażyńskiego w stronę Sopotu AllTraficLights.Add(new TrafficLights() { GreenLight = _expWithoutAlgWindow.Green16, RedLight = _expWithoutAlgWindow.Red16, YellowLight = _expWithoutAlgWindow.Yellow16, TimeOfGreenLight = 30, TimeOfRedLight = 30, TimeOfYellowLight = 2, IsGreenLight = true, IsRedLight = false }); //światła na skrzyżowaniu Polanki z Bażyńskiego w stronę Gdańska AllTraficLights.Add(new TrafficLights() { GreenLight = _expWithoutAlgWindow.Green17, RedLight = _expWithoutAlgWindow.Red17, YellowLight = _expWithoutAlgWindow.Yellow17, TimeOfGreenLight = 30, TimeOfRedLight = 30, TimeOfYellowLight = 2, IsRedLight = true, IsGreenLight = false }); //światła na skrzyżowaniu Bażyńskiego z Polanki AllTraficLights.Add(new TrafficLights() { GreenLight = _expWithoutAlgWindow.Green18, RedLight = _expWithoutAlgWindow.Red18, YellowLight = _expWithoutAlgWindow.Yellow18, TimeOfGreenLight = 30, TimeOfRedLight = 30, TimeOfYellowLight = 2, IsGreenLight = true, IsRedLight = false }); //światła na skrzyżowaniu Wita Stwosza z Bażyńskiego w stronę Gdańska AllTraficLights.Add(new TrafficLights() { GreenLight = _expWithoutAlgWindow.Green19, RedLight = _expWithoutAlgWindow.Red19, YellowLight = _expWithoutAlgWindow.Yellow19, TimeOfGreenLight = 30, TimeOfRedLight = 30, TimeOfYellowLight = 2, IsRedLight = false, IsGreenLight = true }); //światła na skrzyżowaniu Wita Stwosza z Bażyńskiego w stronę Sopotu AllTraficLights.Add(new TrafficLights() { GreenLight = _expWithoutAlgWindow.Green20, RedLight = _expWithoutAlgWindow.Red20, YellowLight = _expWithoutAlgWindow.Yellow20, TimeOfGreenLight = 30, TimeOfRedLight = 60, TimeOfYellowLight = 2, IsGreenLight = false, IsRedLight = true }); //światła na skrzyżowaniu Bażyńskiego z Grunwaldzką AllTraficLights.Add(new TrafficLights() { GreenLight = _expWithoutAlgWindow.Green21, RedLight = _expWithoutAlgWindow.Red21, YellowLight = _expWithoutAlgWindow.Yellow21, TimeOfGreenLight = 60, TimeOfRedLight = 30, TimeOfYellowLight = 2, IsRedLight = false, IsGreenLight = true }); //światła na skrzyżowaniu Grunwaldzkiej z Bażyńskiego AllTraficLights.Add(new TrafficLights() { GreenLight = _expWithoutAlgWindow.Green22, RedLight = _expWithoutAlgWindow.Red22, YellowLight = _expWithoutAlgWindow.Yellow22, TimeOfGreenLight = 30, TimeOfRedLight = 30, TimeOfYellowLight = 2, IsGreenLight = false, IsRedLight = true }); //światła na skrzyżowaniu Bażyńskiego z Wita Stwosza w stronę Niedźwiednika AllTraficLights.Add(new TrafficLights() { GreenLight = _expWithoutAlgWindow.Green23, RedLight = _expWithoutAlgWindow.Red23, YellowLight = _expWithoutAlgWindow.Yellow23, TimeOfGreenLight = 30, TimeOfRedLight = 30, TimeOfYellowLight = 2, IsGreenLight = true, IsRedLight = false }); //światła na skrzyżowaniu Wita Stwosza z Derdowskiego w Stronę Sopotu AllTraficLights.Add(new TrafficLights() { GreenLight = _expWithoutAlgWindow.Green24, RedLight = _expWithoutAlgWindow.Red24, YellowLight = _expWithoutAlgWindow.Yellow24, TimeOfGreenLight = 30, TimeOfRedLight = 60, TimeOfYellowLight = 2, IsRedLight = true, IsGreenLight = false }); //światła na skrzyżowaniu Derdowskiego z Grunwaldzką AllTraficLights.Add(new TrafficLights() { GreenLight = _expWithoutAlgWindow.Green25, RedLight = _expWithoutAlgWindow.Red25, YellowLight = _expWithoutAlgWindow.Yellow25, TimeOfGreenLight = 30, TimeOfRedLight = 30, TimeOfYellowLight = 2, IsGreenLight = true, IsRedLight = false }); //światła na skrzyżowaniu Wita Stwosza z Derdowskiego w stronę Gdańska AllTraficLights.Add(new TrafficLights() { GreenLight = _expWithoutAlgWindow.Green26, RedLight = _expWithoutAlgWindow.Red26, YellowLight = _expWithoutAlgWindow.Yellow26, TimeOfGreenLight = 30, TimeOfRedLight = 30, TimeOfYellowLight = 2, IsRedLight = false, IsGreenLight = true }); //światła na skrzyżowaniu Polanki z Opata Jacka Rybińskiego AllTraficLights.Add(new TrafficLights() { GreenLight = _expWithoutAlgWindow.Green27, RedLight = _expWithoutAlgWindow.Red27, YellowLight = _expWithoutAlgWindow.Yellow27, TimeOfGreenLight = 30, TimeOfRedLight = 30, TimeOfYellowLight = 2, IsGreenLight = false, IsRedLight = true }); //światła na skrzyżowaniu Opata Jacka Rybinskiego z Polanki w stronę Przymorza AllTraficLights.Add(new TrafficLights() { GreenLight = _expWithoutAlgWindow.Green28, RedLight = _expWithoutAlgWindow.Red28, YellowLight = _expWithoutAlgWindow.Yellow28, TimeOfGreenLight = 30, TimeOfRedLight = 60, TimeOfYellowLight = 2, IsRedLight = true, IsGreenLight = false }); //światła na skrzyżowaniu Opata Jacka Rybinskiego z Grunwaldzką AllTraficLights.Add(new TrafficLights() { GreenLight = _expWithoutAlgWindow.Green29, RedLight = _expWithoutAlgWindow.Red29, YellowLight = _expWithoutAlgWindow.Yellow29, TimeOfGreenLight = 60, TimeOfRedLight = 30, TimeOfYellowLight = 2, IsGreenLight = true, IsRedLight = false }); //światła na skrzyżowaniu Grunwaldzkiej z Piastowską w stronę Gdańska AllTraficLights.Add(new TrafficLights() { GreenLight = _expWithoutAlgWindow.Green30, RedLight = _expWithoutAlgWindow.Red30, YellowLight = _expWithoutAlgWindow.Yellow30, TimeOfGreenLight = 30, TimeOfRedLight = 60, TimeOfYellowLight = 2, IsRedLight = true, IsGreenLight = false }); //światła na skrzyżowaniu Opackiej z Grunwaldzką AllTraficLights.Add(new TrafficLights() { GreenLight = _expWithoutAlgWindow.Green31, RedLight = _expWithoutAlgWindow.Red31, YellowLight = _expWithoutAlgWindow.Yellow31, TimeOfGreenLight = 30, TimeOfRedLight = 60, TimeOfYellowLight = 2, IsGreenLight = true, IsRedLight = false }); //światła na skrzyżowaniu Grunwaldzkiej z Opacką AllTraficLights.Add(new TrafficLights() { GreenLight = _expWithoutAlgWindow.Green32, RedLight = _expWithoutAlgWindow.Red32, YellowLight = _expWithoutAlgWindow.Yellow32, TimeOfGreenLight = 30, TimeOfRedLight = 30, TimeOfYellowLight = 2, IsRedLight = true, IsGreenLight = false }); //światła na skrzyżowaniu Bażyńskiego z Wita Stwosza w stronę Zaspy AllTraficLights.Add(new TrafficLights() { GreenLight = _expWithoutAlgWindow.Green33, RedLight = _expWithoutAlgWindow.Red33, YellowLight = _expWithoutAlgWindow.Yellow33, TimeOfGreenLight = 30, TimeOfRedLight = 30, TimeOfYellowLight = 2, IsGreenLight = false, IsRedLight = true }); //światła na skrzyżowaniu Derdowskiego z Wita Stwosza w stronę Zaspy AllTraficLights.Add(new TrafficLights() { GreenLight = _expWithoutAlgWindow.Green34, RedLight = _expWithoutAlgWindow.Red34, YellowLight = _expWithoutAlgWindow.Yellow34, TimeOfGreenLight = 30, TimeOfRedLight = 30, TimeOfYellowLight = 2, IsRedLight = true, IsGreenLight = false }); //światła na skrzyżowaniu Derdowskiego z Wita Stwosza w stronę Niedźwiednika AllTraficLights.Add(new TrafficLights() { GreenLight = _expWithoutAlgWindow.Green35, RedLight = _expWithoutAlgWindow.Red35, YellowLight = _expWithoutAlgWindow.Yellow35, TimeOfGreenLight = 30, TimeOfRedLight = 30, TimeOfYellowLight = 2, IsGreenLight = false, IsRedLight = true }); //światła na skrzyżowaniu Opata Jacka Rybińskiego z Polanki w stronę Osowy AllTraficLights.Add(new TrafficLights() { GreenLight = _expWithoutAlgWindow.Green36, RedLight = _expWithoutAlgWindow.Red36, YellowLight = _expWithoutAlgWindow.Yellow36, TimeOfGreenLight = 30, TimeOfRedLight = 30, TimeOfYellowLight = 2, IsRedLight = false, IsGreenLight = true }); //światła na skrzyżowaniu Grunwaldzkiej z Opata Jacka Rybińskiego AllTraficLights.Add(new TrafficLights() { GreenLight = _expWithoutAlgWindow.Green37, RedLight = _expWithoutAlgWindow.Red37, YellowLight = _expWithoutAlgWindow.Yellow37, TimeOfGreenLight = 60, TimeOfRedLight = 30, TimeOfYellowLight = 2, IsGreenLight = true, IsRedLight = false }); //światła na skrzyżowaniu Grunwaldzkiej z Derdowskiego w stronę Gdańska AllTraficLights.Add(new TrafficLights() { GreenLight = _expWithoutAlgWindow.Green38, RedLight = _expWithoutAlgWindow.Red38, YellowLight = _expWithoutAlgWindow.Yellow38, TimeOfGreenLight = 60, TimeOfRedLight = 30, TimeOfYellowLight = 2, IsRedLight = false, IsGreenLight = true }); //światła na skrzyżowaniu Grunwaldzkiej z Derdowskiego w stronę Sopotu AllTraficLights.Add(new TrafficLights() { GreenLight = _expWithoutAlgWindow.Green39, RedLight = _expWithoutAlgWindow.Red39, YellowLight = _expWithoutAlgWindow.Yellow39, TimeOfGreenLight = 60, TimeOfRedLight = 30, TimeOfYellowLight = 2, IsRedLight = false, IsGreenLight = true }); //światła na skrzyżowaniu Grunwaldzkiej z Wita Stwosza w strone Sopotu AllTraficLights.Add(new TrafficLights() { GreenLight = _expWithoutAlgWindow.Green40, RedLight = _expWithoutAlgWindow.Red40, YellowLight = _expWithoutAlgWindow.Yellow40, TimeOfGreenLight = 60, TimeOfRedLight = 30, TimeOfYellowLight = 2, IsRedLight = false, IsGreenLight = true }); //światła na skrzyżowaniu Grunwaldzkiej z Opata Jacka Rybinskiego w strone Sopotu }