Ignore:
Timestamp:
03/30/12 15:26:43 (12 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
hg-Phase:
(<MercurialRepository 1 'hg:/home/ivaradi/mlx/hg' '/'>, 'public')
Message:

Fleet retrieval and gate selection works, started new connection handling and the fsuipc simulator

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mlx/const.py

    r36 r51  
    115115#-------------------------------------------------------------------------------
    116116
     117# Plane status: unknown
     118PLANE_UNKNOWN = 0
     119
     120# Plane status: at home, i.e. LHBP
     121PLANE_HOME = 1
     122
     123# Plane status: away
     124PLANE_AWAY = 2
     125
     126# Plane status: parking
     127PLANE_PARKING = 3
     128
     129#-------------------------------------------------------------------------------
     130
     131# The available gates at LHBP
     132lhbpGateNumbers = []
     133
     134for i in range(1, 7):
     135    lhbpGateNumbers.append(str(i))
     136
     137for i in range(10, 19):
     138    lhbpGateNumbers.append(str(i))
     139
     140for i in range(24, 28):
     141    lhbpGateNumbers.append(str(i))
     142
     143for i in range(31, 39):
     144    lhbpGateNumbers.append(str(i))
     145
     146for i in range(42, 47):
     147    lhbpGateNumbers.append(str(i))
     148
     149for i in range(60, 84):
     150    if i!=70 and i!=80:
     151        lhbpGateNumbers.append(str(i))
     152
     153#-------------------------------------------------------------------------------
     154
    117155_stageStrings = { STAGE_BOARDING : "boarding",
    118156                  STAGE_PUSHANDTAXI : "pushback and taxi",
Note: See TracChangeset for help on using the changeset viewer.