Changeset 9436 in ntrip for trunk/BNC/src
- Timestamp:
- May 20, 2021, 2:44:18 PM (4 years ago)
- Location:
- trunk/BNC/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/bncwindow.cpp
r9424 r9436 2957 2957 QComboBox* system = new QComboBox(); 2958 2958 system->setEditable(false); 2959 system->addItems(QString(" ALL,GPS,GLONASS,Galileo,BDS,QZSS,SBAS,IRNSS").split(","));2959 system->addItems(QString("G,R,E,C,J,I,S,G+R,G+E,G+R+E,G+R+E+C,G+R+E+C+J,G+R+E+C+J+Q,G+R+E+C+J+Q+I,ALL").split(",")); 2960 2960 system->setFrame(false); 2961 2961 _uploadEphTable->setCellWidget(iRow, iCol, system); … … 3043 3043 QComboBox* system = new QComboBox(); 3044 3044 system->setEditable(false); 3045 system->addItems(QString(" ALL,GPS,GLONASS,Galileo,BDS,QZSS,SBAS,IRNSS").split(","));3045 system->addItems(QString("G,R,E,C,J,I,S,G+R,G+E,G+R+E,G+R+E+C,G+R+E+C+J,G+R+E+C+J+Q,G+R+E+C+J+Q+I,ALL").split(",")); 3046 3046 system->setFrame(false); 3047 3047 system->setCurrentIndex(system->findText(hlp[iCol])); -
trunk/BNC/src/upload/bncephuploadcaster.cpp
r9414 r9436 91 91 int size = 0; 92 92 93 if (ephGPS && ephGPS->type() == t_eph::GPS && (system == "ALL" || system == "GPS")) {93 if (ephGPS && ephGPS->type() == t_eph::GPS && (system == "ALL" || system.contains('G'))) { 94 94 if (dt < 14400.0 || dt > -7200.0) { 95 95 size = t_ephEncoder::RTCM3(*ephGPS, Array); 96 96 } 97 97 } 98 else if (ephGPS && ephGPS->type() == t_eph::QZSS && (system == "ALL" || system == "QZSS")) {98 else if (ephGPS && ephGPS->type() == t_eph::QZSS && (system == "ALL" || system.contains('J'))) { 99 99 if (dt < 7200.0 || dt > -3600.0) { 100 100 size = t_ephEncoder::RTCM3(*ephGPS, Array); 101 101 } 102 102 } 103 else if (ephGlo && (system == "ALL" || system == "GLONASS")) {103 else if (ephGlo && (system == "ALL" || system.contains('R'))) { 104 104 if (dt < 3900.0 || dt > -2100.0) { 105 105 size = t_ephEncoder::RTCM3(*ephGlo, Array); 106 106 } 107 107 } 108 else if (ephGal && (system == "ALL" || system == "Galileo")) {108 else if (ephGal && (system == "ALL" || system.contains('E'))) { 109 109 if (dt < 14400.0 || dt > 0.0) { 110 110 size = t_ephEncoder::RTCM3(*ephGal, Array); 111 111 } 112 112 } 113 else if (ephSBAS && (system == "ALL" || system == "SBAS")) {113 else if (ephSBAS && (system == "ALL" || system.contains('S'))) { 114 114 if (dt < 600.0 || dt > -600.0) { 115 115 size = t_ephEncoder::RTCM3(*ephSBAS, Array); 116 116 } 117 117 } 118 else if (ephBDS && (system == "ALL" || system == "BDS")) {118 else if (ephBDS && (system == "ALL" || system.contains('C'))) { 119 119 if (dt < 3900.0 || dt > 0.0) { 120 120 size = t_ephEncoder::RTCM3(*ephBDS, Array); 121 121 } 122 122 } 123 else if (ephGPS && ephGPS->type() == t_eph::IRNSS && (system == "ALL" || system == "IRNSS")) {123 else if (ephGPS && ephGPS->type() == t_eph::IRNSS && (system == "ALL" || system.contains('I'))) { 124 124 if (fabs(dt < 86400.0)) { 125 125 size = t_ephEncoder::RTCM3(*ephGPS, Array);
Note:
See TracChangeset
for help on using the changeset viewer.