Changeset 10317 in ntrip
- Timestamp:
- Jan 25, 2024, 11:30:33 AM (7 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/ephemeris.cpp
r10315 r10317 110 110 ////////////////////////////////////////////////////////////////////////////// 111 111 t_irc t_eph::setNavType(QString navTypeStr) { 112 if (navTypeStr == "LNAV") {_navType = t_eph::LNAV;} 113 else if (navTypeStr == "FDMA") {_navType = t_eph::FDMA;} 114 else if (navTypeStr == "FNAV") {_navType = t_eph::FNAV;} 115 else if (navTypeStr == "INAF") {_navType = t_eph::INAF;} 116 else if (navTypeStr == "D1") {_navType = t_eph::D1;} 117 else if (navTypeStr == "D2") {_navType = t_eph::D2;} 118 else if (navTypeStr == "SBAS") {_navType = t_eph::SBASL1;} 119 else if (navTypeStr == "CNAV") {_navType = t_eph::CNAV;} 120 else if (navTypeStr == "CNV1") {_navType = t_eph::CNV1;} 121 else if (navTypeStr == "CNV2") {_navType = t_eph::CNV2;} 122 else if (navTypeStr == "CNV3") {_navType = t_eph::CNV3;} 123 else {_navType = t_eph::undefined; return failure;} 112 if (navTypeStr == "LNAV") { 113 _navType = t_eph::LNAV; 114 } 115 else if (navTypeStr == "FDMA") { 116 _navType = t_eph::FDMA; 117 } 118 else if (navTypeStr == "FNAV") { 119 _navType = t_eph::FNAV; 120 } 121 else if (navTypeStr == "INAV") { 122 _navType = t_eph::INAF; 123 } 124 else if (navTypeStr == "D1") { 125 _navType = t_eph::D1; 126 } 127 else if (navTypeStr == "D2") { 128 _navType = t_eph::D2; 129 } 130 else if (navTypeStr == "SBAS") { 131 _navType = t_eph::SBASL1; 132 } 133 else if (navTypeStr == "CNAV") { 134 _navType = t_eph::CNAV; 135 } 136 else if (navTypeStr == "CNV1") { 137 _navType = t_eph::CNV1; 138 } 139 else if (navTypeStr == "CNV2") { 140 _navType = t_eph::CNV2; 141 } 142 else if (navTypeStr == "CNV3") { 143 _navType = t_eph::CNV3; 144 } 145 else { 146 _navType = t_eph::undefined; 147 return failure; 148 } 124 149 125 150 return success;
Note:
See TracChangeset
for help on using the changeset viewer.