public EventGenerator(ITrafficSegmentConfigurator segmentConfiguration, IConfigurationReader configurationReader, ICameraTransmitterConfigurator transmitterConfigurator, ITimeSimulationSettings simulationSettings = null) { _configurator = segmentConfiguration; _configurationReader = configurationReader; _transmitterConfigurator = transmitterConfigurator; _simulationSettings = simulationSettings ?? new TimeSimulationSettings(); }
public TrafficSegmentSituation(ITrafficSegmentConfigurator configurator, TrafficSegmentConfiguration segmentConfiguration) { _configurator = configurator; _configuration = segmentConfiguration; UpdateSituation(segmentConfiguration); if (configurator != null) { configurator.ConfigurationUpdated += Configurator_ConfigurationUpdated; } }