Changeset 1158:7fea55a5d04c


Ignore:
Timestamp:
04/25/24 17:47:10 (11 days ago)
Author:
István Váradi <ivaradi@…>
Branch:
python3
hg-Phase:
(<MercurialRepository 1 'hg:/home/ivaradi/mlx/hg' '/'>, 'public')
Message:

Updated the taxi-through properties of the gates based on the airport data (re #386).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mlx/gates.py

    r1156 r1158  
    170170lhbpGates = Gates()
    171171
    172 lhbpGates.add(Gate("R101", "1", "S"))
     172lhbpGates.add(Gate("R101", "1", "S", taxiThrough = True))
    173173lhbpGates.add(Gate("R102", "1", "S"))
    174174lhbpGates.add(Gate("R103", "1", "S"))
     
    197197lhbpGates.add(Gate("R115", "1", "S"))
    198198lhbpGates.add(Gate("R116", "1", "S",
    199                    availableFn = getAvailableIf(othersAvailable = ["R117"])))
     199                   availableFn = getAvailableIf(othersAvailable = ["R117"]),
     200                   taxiThrough = True))
    200201lhbpGates.add(Gate("R117", "1", "S",
    201202                   availableFn = getAvailableIf(othersAvailable = ["R116", "R117A"])))
     
    212213
    213214lhbpGates.addSpace()
    214 lhbpGates.add(Gate("G170", "1", "S"))
    215 lhbpGates.add(Gate("G171", "1", "S"))
    216 lhbpGates.add(Gate("G172", "1", "S"))
     215lhbpGates.add(Gate("G170", "1", "S", taxiThrough = True))
     216lhbpGates.add(Gate("G171", "1", "S", taxiThrough = True))
     217lhbpGates.add(Gate("G172", "1", "S", taxiThrough = True))
    217218lhbpGates.addNewColumn()
    218219
     
    294295                   taxiThrough = True))
    295296lhbpGates.add(Gate("R278A", "2A", "S",
    296                    availableFn = getAvailableIf(othersAvailable = ["R278", "R279"]),
    297                    taxiThrough = True))
     297                   availableFn = getAvailableIf(othersAvailable = ["R278", "R279"])))
    298298lhbpGates.add(Gate("R279", "2A", "S",
    299299                   availableFn = getAvailableIf(othersAvailable = ["R278A"]),
Note: See TracChangeset for help on using the changeset viewer.