Changeset 9411 in ntrip for branches/BNC_2.12/src


Ignore:
Timestamp:
Apr 19, 2021, 3:45:14 PM (3 years ago)
Author:
stuerze
Message:

eph checks harmonized

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/BNC_2.12/src/upload/bncephuploadcaster.cpp

    r9407 r9411  
    8181                        int size = 0;
    8282
    83                         if (ephGPS && ephGPS->type() == t_eph::GPS && (system == "ALL" || system == "GPS")) {
     83                        if (ephGPS && ephGPS->type() == t_eph::GPS) {
    8484                                if (dt > 14400.0 || dt < -7200.0) {
    8585                                        size = t_ephEncoder::RTCM3(*ephGPS, Array);
    8686                                }
    87                         } else if (ephGPS && ephGPS->type() == t_eph::QZSS && (system == "ALL" || system == "QZSS")) {
     87                        } else if (ephGPS && ephGPS->type() == t_eph::QZSS) {
    8888                                if (dt > 7200.0 || dt < -3600.0) {
    8989                                        size = t_ephEncoder::RTCM3(*ephGPS, Array);
    9090                                }
    91                         } else if (ephGlo && (system == "ALL" || system == "GLONASS")) {
     91                        } else if (ephGlo) {
    9292                                if (dt > 3900.0 || dt < -2100.0) {
    9393                                        size = t_ephEncoder::RTCM3(*ephGlo, Array);
    9494                                }
    95                         } else if (ephGal && (system == "ALL" || system == "Galileo")) {
     95                        } else if (ephGal) {
    9696                                if (dt > 14400.0 || dt < 0.0) {
    9797                                        size = t_ephEncoder::RTCM3(*ephGal, Array);
    9898                                }
    99                         } else if (ephSBAS && (system == "ALL" || system == "SBAS")) {
     99                        } else if (ephSBAS) {
    100100                                if (dt > 600.0 || dt < -600.0) {
    101101                                        size = t_ephEncoder::RTCM3(*ephSBAS, Array);
    102102                                }
    103                         } else if (ephBDS && (system == "ALL" || system == "BDS")) {
     103                        } else if (ephBDS) {
    104104                                if (dt > 3900.0 || dt < 0.0) {
    105105                                        size = t_ephEncoder::RTCM3(*ephBDS, Array);
Note: See TracChangeset for help on using the changeset viewer.