示例#1
0
文件: classes.py 项目: rslayer/bhulan
 def __init__(self, item, db):
     DBItem.__init__(self, item, db)
     self.time = item[TIME_KEY]
     self.lat = item[LAT_KEY]
     self.lon = item[LON_KEY]
     self.mLat = getMeters(self.lat)
     self.mLon = getMeters(self.lon)
     self.fileNum = item[FILE_NUM_KEY]
示例#2
0
文件: classes.py 项目: rslayer/bhulan
 def __init__(self, lat, lon):
     self.lat = lat
     self.lon = lon
     self.mLat = getMeters(lat)
     self.mLon = getMeters(lon)