Changeset 10603 in ntrip for trunk/BNC/src/ephemeris.cpp
- Timestamp:
- Feb 4, 2025, 4:46:08 PM (19 hours ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/ephemeris.cpp
r10599 r10603 106 106 return success; 107 107 } 108 109 // 110 ////////////////////////////////////////////////////////////////////////////// 111 void t_eph::setType(QString typeStr) { 112 113 if (typeStr == "LNAV") { 114 _type = t_eph::LNAV; 115 } else if (typeStr == "FDMA") { 116 _type = t_eph::FDMA; 117 } else if (typeStr == "FNAV") { 118 _type = t_eph::FNAV; 119 } else if (typeStr == "INAV") { 120 _type = t_eph::INAV; 121 } else if (typeStr == "D1") { 122 _type = t_eph::D1; 123 } else if (typeStr == "D2") { 124 _type = t_eph::D2; 125 } else if (typeStr == "SBAS") { 126 _type = t_eph::SBASL1; 127 } else if (typeStr == "CNAV") { 128 _type = t_eph::CNAV; 129 } else if (typeStr == "CNV1") { 130 _type = t_eph::CNV1; 131 } else if (typeStr == "CNV2") { 132 _type = t_eph::CNV2; 133 } else if (typeStr == "CNV3") { 134 _type = t_eph::CNV3; 135 } else if (typeStr == "L1NV") { 136 _type = t_eph::L1NV; 137 } else if (typeStr == "L1OC") { 138 _type = t_eph::L1OC; 139 } else if (typeStr == "L3OC") { 140 _type = t_eph::L3OC; 141 } else { 142 _type = t_eph::undefined; 143 } 144 145 } 146 108 147 109 148 // … … 226 265 // Constructor 227 266 ////////////////////////////////////////////////////////////////////////////// 228 t_ephGPS::t_ephGPS(double rnxVersion, const QStringList &lines) { 229 267 t_ephGPS::t_ephGPS(double rnxVersion, const QStringList &lines, QString typeStr) { 268 269 setType(typeStr); 270 230 271 int nLines = 8; // LNAV 231 232 272 // Source RINEX version < 4 233 273 if (type() == t_eph::undefined) { … … 1009 1049 // Constructor 1010 1050 ////////////////////////////////////////////////////////////////////////////// 1011 t_ephGlo::t_ephGlo(double rnxVersion, const QStringList &lines) { 1051 t_ephGlo::t_ephGlo(double rnxVersion, const QStringList &lines, const QString typeStr) { 1052 1053 setType(typeStr); 1012 1054 1013 1055 int nLines = 4; … … 1651 1693 // Constructor 1652 1694 ////////////////////////////////////////////////////////////////////////////// 1653 t_ephGal::t_ephGal(double rnxVersion, const QStringList &lines) { 1695 t_ephGal::t_ephGal(double rnxVersion, const QStringList &lines, const QString typeStr) { 1696 1697 setType(typeStr); 1654 1698 1655 1699 const int nLines = 8; … … 2105 2149 // Constructor 2106 2150 ////////////////////////////////////////////////////////////////////////////// 2107 t_ephSBAS::t_ephSBAS(double rnxVersion, const QStringList &lines) { 2151 t_ephSBAS::t_ephSBAS(double rnxVersion, const QStringList &lines, const QString typeStr) { 2152 2153 setType(typeStr); 2108 2154 2109 2155 const int nLines = 4; … … 2347 2393 // Constructor 2348 2394 ////////////////////////////////////////////////////////////////////////////// 2349 t_ephBDS::t_ephBDS(double rnxVersion, const QStringList &lines) { 2395 t_ephBDS::t_ephBDS(double rnxVersion, const QStringList &lines, const QString typeStr) { 2396 2397 setType(typeStr); 2350 2398 2351 2399 int nLines = 8;
Note:
See TracChangeset
for help on using the changeset viewer.