Changeset 9414 in ntrip


Ignore:
Timestamp:
Apr 19, 2021, 10:34:32 PM (3 years ago)
Author:
stuerze
Message:

minor changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/upload/bncephuploadcaster.cpp

    r9410 r9414  
    9292
    9393        if      (ephGPS && ephGPS->type() == t_eph::GPS  &&  (system == "ALL" || system == "GPS")) {
    94           if (dt > 14400.0 || dt < -7200.0) {
     94          if (dt < 14400.0 || dt > -7200.0) {
    9595            size = t_ephEncoder::RTCM3(*ephGPS, Array);
    9696          }
    9797        }
    9898        else if (ephGPS && ephGPS->type() == t_eph::QZSS && (system == "ALL" || system == "QZSS")) {
    99           if (dt >  7200.0 || dt < -3600.0) {
     99          if (dt <  7200.0 || dt > -3600.0) {
    100100            size = t_ephEncoder::RTCM3(*ephGPS, Array);
    101101          }
    102102        }
    103103        else if (ephGlo && (system == "ALL" || system == "GLONASS")) {
    104           if (dt >  3900.0 || dt < -2100.0) {
     104          if (dt <  3900.0 || dt > -2100.0) {
    105105            size = t_ephEncoder::RTCM3(*ephGlo, Array);
    106106          }
    107107        }
    108108        else if (ephGal && (system == "ALL" || system == "Galileo")) {
    109           if (dt > 14400.0 || dt <     0.0) {
     109          if (dt < 14400.0 || dt >     0.0) {
    110110            size = t_ephEncoder::RTCM3(*ephGal, Array);
    111111          }
    112112        }
    113113        else if (ephSBAS && (system == "ALL" || system == "SBAS")) {
    114           if (dt >   600.0 || dt <  -600.0) {
     114          if (dt <   600.0 || dt >  -600.0) {
    115115            size = t_ephEncoder::RTCM3(*ephSBAS, Array);
    116116          }
    117117        }
    118118        else if (ephBDS && (system == "ALL" || system == "BDS")) {
    119           if (dt >  3900.0 || dt <     0.0) {
     119          if (dt <  3900.0 || dt >     0.0) {
    120120            size = t_ephEncoder::RTCM3(*ephBDS, Array);
    121121          }
    122122        }
    123123        else if (ephGPS && ephGPS->type() == t_eph::IRNSS && (system == "ALL" || system == "IRNSS")) {
    124           if (fabs(dt > 86400.0)) {
     124          if (fabs(dt < 86400.0)) {
    125125            size = t_ephEncoder::RTCM3(*ephGPS, Array);
    126126          }
Note: See TracChangeset for help on using the changeset viewer.