extend the configuration to define the maximum delay to execute may-assignments

This commit is contained in:
Sven Czarnian committed 2021-11-17 10:01:35 +01:00
1 parent 09fdf42255
commit 7fe1af1def
1 file changed
+2 -3
+2 -3
View File
@@ -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)