kopia lustrzana https://github.com/glidernet/ogn-python
Updated to python-ogn-client v0.8.0
rodzic
a76bcc1750
commit
bad47bdff6
|
@ -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
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
|
2
setup.py
2
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={
|
||||
|
|
Ładowanie…
Reference in New Issue