diff --git a/ogn/model/aircraft_beacon.py b/ogn/model/aircraft_beacon.py index bd15564..a389f38 100644 --- a/ogn/model/aircraft_beacon.py +++ b/ogn/model/aircraft_beacon.py @@ -24,6 +24,18 @@ class AircraftBeacon(Beacon): real_address = Column(String(6)) signal_power = Column(Float) + proximity = None + gps_satellites = None + gps_quality = None + gps_altitude = None + pressure = None + temperature = None + humidity = None + voltage = None + transmitter_power = None + noise_level = None + relays = None + status = Column(SmallInteger, index=True) # Relations diff --git a/ogn/model/beacon.py b/ogn/model/beacon.py index 30b1cc6..d36dbe5 100644 --- a/ogn/model/beacon.py +++ b/ogn/model/beacon.py @@ -24,6 +24,10 @@ class Beacon(AbstractConcreteBase, Base): ground_speed = Column(Float) comment = None + relay = None + beacon_type = None + aprs_type = None + @property def location(self): if self.location_wkt is None: diff --git a/ogn/model/receiver_beacon.py b/ogn/model/receiver_beacon.py index 8fd1f89..a1522c0 100644 --- a/ogn/model/receiver_beacon.py +++ b/ogn/model/receiver_beacon.py @@ -29,6 +29,8 @@ class ReceiverBeacon(Beacon): good_senders = Column(Integer) good_and_bad_senders = Column(Integer) + user_comment = None + status = Column(SmallInteger, index=True) # Relations diff --git a/setup.py b/setup.py index 456f5ed..167a3cd 100644 --- a/setup.py +++ b/setup.py @@ -40,7 +40,7 @@ setup( 'aerofiles==0.3', 'geoalchemy2==0.4.0', 'shapely==1.5.17.post1', - 'ogn-client==0.7.0', + 'ogn-client==0.8.0', 'psycopg2==2.7.1' ], extras_require={