Changeset 9376 in ntrip for trunk/BNC/src/bncutils.cpp
- Timestamp:
- Mar 12, 2021, 11:18:59 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/bncutils.cpp
r9368 r9376 271 271 double dt = currentTime - toc; 272 272 273 // update interval: 2h, data sets are valid for 4 hours + 5 min274 if (eph->type() == t_eph::GPS && dt > 14 700.0) {273 // update interval: 2h, data sets are valid for 4 hours 274 if (eph->type() == t_eph::GPS && dt > 14400.0) { 275 275 return true; 276 276 } 277 // update interval: 3h, data sets are valid for 4 hours + 5 min278 else if (eph->type() == t_eph::Galileo && dt > 14 700.0) {277 // update interval: 3h, data sets are valid for 4 hours 278 else if (eph->type() == t_eph::Galileo && dt > 14400.0) { 279 279 return true; 280 280 } 281 281 // updated every 30 minutes + 5 min 282 else if (eph->type() == t_eph::GLONASS && dt > 3900.0) {282 else if (eph->type() == t_eph::GLONASS && dt > 3900.0) { 283 283 return true; 284 284 } 285 // orbit parameters are valid for 7200 seconds (minimum) + 5 min286 else if (eph->type() == t_eph::QZSS && dt > 7500.0) {285 // orbit parameters are valid for 7200 seconds (minimum) 286 else if (eph->type() == t_eph::QZSS && dt > 7200.0) { 287 287 return true; 288 288 } 289 // maximum update interval: 300 sec + 5 min290 else if (eph->type() == t_eph::SBAS && dt > 600.0) {289 // maximum update interval: 300 sec 290 else if (eph->type() == t_eph::SBAS && dt > 600.0) { 291 291 return true; 292 292 } 293 293 // updates 1h + 5 min 294 else if (eph->type() == t_eph::BDS && dt > 3900.0) {294 else if (eph->type() == t_eph::BDS && dt > 3900.0) { 295 295 return true; 296 296 } 297 // update interval: up to 24 hours + 5 min298 else if (eph->type() == t_eph::IRNSS && dt > 86 700.0) {297 // update interval: up to 24 hours 298 else if (eph->type() == t_eph::IRNSS && dt > 86400.0) { 299 299 return true; 300 300 }
Note:
See TracChangeset
for help on using the changeset viewer.