Changeset 8904 in ntrip for trunk/BNC/src/upload/bncephuploadcaster.cpp
- Timestamp:
- Mar 18, 2020, 11:11:28 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/upload/bncephuploadcaster.cpp
r8352 r8904 91 91 int size = 0; 92 92 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")) { 95 94 if (timeDiff <= 4*3600) { 96 95 size = t_ephEncoder::RTCM3(*ephGPS, Array); 97 96 } 98 97 } 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")) { 101 99 if (timeDiff <= 4*3600) { 102 100 size = t_ephEncoder::RTCM3(*ephGPS, Array); … … 109 107 } 110 108 else if (ephGal && (system == "ALL" || system == "Galileo")) { 111 if (timeDiff <= 4*3600) {109 if (timeDiff <= 2*3600) { 112 110 size = t_ephEncoder::RTCM3(*ephGal, Array); 113 111 } 114 112 } 115 113 else if (ephSBAS && (system == "ALL" || system == "SBAS")) { 116 if (timeDiff <= 600) {114 if (timeDiff <= 1*3600) { 117 115 size = t_ephEncoder::RTCM3(*ephSBAS, Array); 118 116 } … … 121 119 if (timeDiff <= 6*3600) { 122 120 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); 123 126 } 124 127 }
Note:
See TracChangeset
for help on using the changeset viewer.