Ignore:
Timestamp:
Mar 18, 2020, 11:11:28 AM (4 years ago)
Author:
stuerze
Message:

minor changes

File:
1 edited

Legend:

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

    r8352 r8904  
    9191        int size = 0;
    9292
    93         if (ephGPS && ephGPS->type() == t_eph::GPS &&
    94             (system == "ALL" || system == "GPS")) {
     93        if      (ephGPS && ephGPS->type() == t_eph::GPS  &&  (system == "ALL" || system == "GPS")) {
    9594          if (timeDiff <= 4*3600) {
    9695            size = t_ephEncoder::RTCM3(*ephGPS, Array);
    9796          }
    9897        }
    99         else if (ephGPS && ephGPS->type() == t_eph::QZSS &&
    100             (system == "ALL" || system == "QZSS")) {
     98        else if (ephGPS && ephGPS->type() == t_eph::QZSS && (system == "ALL" || system == "QZSS")) {
    10199          if (timeDiff <= 4*3600) {
    102100            size = t_ephEncoder::RTCM3(*ephGPS, Array);
     
    109107        }
    110108        else if (ephGal && (system == "ALL" || system == "Galileo")) {
    111           if (timeDiff <= 4*3600) {
     109          if (timeDiff <= 2*3600) {
    112110            size = t_ephEncoder::RTCM3(*ephGal, Array);
    113111          }
    114112        }
    115113        else if (ephSBAS && (system == "ALL" || system == "SBAS")) {
    116           if (timeDiff <= 600) {
     114          if (timeDiff <= 1*3600) {
    117115            size = t_ephEncoder::RTCM3(*ephSBAS, Array);
    118116          }
     
    121119          if (timeDiff <= 6*3600) {
    122120            size = t_ephEncoder::RTCM3(*ephBDS, Array);
     121          }
     122        }
     123        else if (ephGPS && ephGPS->type() == t_eph::IRNSS && (system == "ALL" || system == "IRNSS")) {
     124          if (timeDiff <= 24*3600) {
     125            size = t_ephEncoder::RTCM3(*ephGPS, Array);
    123126          }
    124127        }
Note: See TracChangeset for help on using the changeset viewer.