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

minor changes

File:
1 edited

Legend:

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

    r9413 r9415  
    8282
    8383                        if (ephGPS && ephGPS->type() == t_eph::GPS) {
    84                                 if (dt > 14400.0 || dt < -7200.0) {
     84                                if (dt < 14400.0 || dt > -7200.0) {
    8585                                        size = t_ephEncoder::RTCM3(*ephGPS, Array);
    8686                                }
    8787                        } else if (ephGPS && ephGPS->type() == t_eph::QZSS) {
    88                                 if (dt > 7200.0 || dt < -3600.0) {
     88                                if (dt < 7200.0 || dt > -3600.0) {
    8989                                        size = t_ephEncoder::RTCM3(*ephGPS, Array);
    9090                                }
    9191                        } else if (ephGlo) {
    92                                 if (dt > 3900.0 || dt < -2100.0) {
     92                                if (dt > 3900.0 || dt > -2100.0) {
    9393                                        size = t_ephEncoder::RTCM3(*ephGlo, Array);
    9494                                }
    9595                        } else if (ephGal) {
    96                                 if (dt > 14400.0 || dt < 0.0) {
     96                                if (dt < 14400.0 || dt > 0.0) {
    9797                                        size = t_ephEncoder::RTCM3(*ephGal, Array);
    9898                                }
    9999                        } else if (ephSBAS) {
    100                                 if (dt > 600.0 || dt < -600.0) {
     100                                if (dt < 600.0 || dt > -600.0) {
    101101                                        size = t_ephEncoder::RTCM3(*ephSBAS, Array);
    102102                                }
    103103                        } else if (ephBDS) {
    104                                 if (dt > 3900.0 || dt < 0.0) {
     104                                if (dt < 3900.0 || dt > 0.0) {
    105105                                        size = t_ephEncoder::RTCM3(*ephBDS, Array);
    106106                                }
    107107                        } else if (ephGPS && ephGPS->type() == t_eph::IRNSS) {
    108                                 if (fabs(dt > 86400.0)) {
     108                                if (fabs(dt < 86400.0)) {
    109109                                        size = t_ephEncoder::RTCM3(*ephGPS, Array);
    110110                                }
Note: See TracChangeset for help on using the changeset viewer.