Example #1
0
 public static DtRecordPoint UpdateCollegeCoverageList(IInfrastructureRepository repository,
     ICellRepository cellRepository, ICdmaCellRepository cdmaCellRepository, string name, double range)
 {
     FileRecords2GList = repository.GetCollege2GRecords(cdmaCellRepository, name, range);
     FileRecords3GList = repository.GetCollege3GRecords(cdmaCellRepository, name, range);
     FileRecords4GList = repository.GetCollege4GRecords(cellRepository, name, range);
     return new DtRecordPoint
     {
         Lon = FileRecords4GList.Average(x => x.BaiduLongtitute),
         Lat = FileRecords4GList.Average(x => x.BaiduLattitute)
     };
 }