extend the configuration to define the maximum delay to execute may-assignments
This commit is contained in:
		| @@ -1,8 +1,6 @@ | |||||||
| #!/usr/bin/env python | #!/usr/bin/env python | ||||||
|  |  | ||||||
| from datetime import datetime | from datetime import timedelta | ||||||
|  |  | ||||||
| from aman.config.AirportSequencing import AirportSequencing |  | ||||||
|  |  | ||||||
| class Configuration: | class Configuration: | ||||||
|     def __init__(self, **kwargs): |     def __init__(self, **kwargs): | ||||||
| @@ -12,6 +10,7 @@ class Configuration: | |||||||
|         self.EarliestArrivalTime = kwargs.get('earliest', None) |         self.EarliestArrivalTime = kwargs.get('earliest', None) | ||||||
|         self.WeatherModel = kwargs.get('weather', None) |         self.WeatherModel = kwargs.get('weather', None) | ||||||
|         self.NavData = kwargs.get('nav', None) |         self.NavData = kwargs.get('nav', None) | ||||||
|  |         self.MaxDelayMay = kwargs.get('maxDelayMay', timedelta(minutes=10)) | ||||||
|  |  | ||||||
|         # the ACO specific information |         # the ACO specific information | ||||||
|         self.AntCount = kwargs.get('ants', 20) |         self.AntCount = kwargs.get('ants', 20) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user