- Timestamp:
- Aug 28, 2015, 4:45:59 PM (9 years ago)
- Location:
- trunk/BNC/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/pppMain.cpp
r6964 r7261 176 176 opt->_corrWaitTime = settings.value("PPP/corrWaitTime").toDouble(); 177 177 178 if (settings.value("PPP/lcGPS").toString() == "P1") { 179 opt->_LCsGPS.push_back(t_lc::c1); 180 } 181 else if (settings.value("PPP/lcGPS").toString() == "L1") { 182 opt->_LCsGPS.push_back(t_lc::l1); 183 } 184 else if (settings.value("PPP/lcGPS").toString() == "P1&L1") { 185 opt->_LCsGPS.push_back(t_lc::c1); 186 opt->_LCsGPS.push_back(t_lc::l1); 187 } 188 if (settings.value("PPP/lcGPS").toString() == "P2") { 189 opt->_LCsGPS.push_back(t_lc::c2); 190 } 191 else if (settings.value("PPP/lcGPS").toString() == "L2") { 192 opt->_LCsGPS.push_back(t_lc::l2); 193 } 194 else if (settings.value("PPP/lcGPS").toString() == "P2&L2") { 195 opt->_LCsGPS.push_back(t_lc::c2); 196 opt->_LCsGPS.push_back(t_lc::l2); 197 } 198 if (settings.value("PPP/lcGPS").toString() == "Pi") { 199 opt->_LCsGPS.push_back(t_lc::c1); 200 opt->_LCsGPS.push_back(t_lc::c2); 201 } 202 else if (settings.value("PPP/lcGPS").toString() == "Li") { 203 opt->_LCsGPS.push_back(t_lc::l1); 204 opt->_LCsGPS.push_back(t_lc::l2); 205 } 206 else if (settings.value("PPP/lcGPS").toString() == "Pi&Li") { 207 opt->_LCsGPS.push_back(t_lc::c1); 208 opt->_LCsGPS.push_back(t_lc::c2); 209 opt->_LCsGPS.push_back(t_lc::l1); 210 opt->_LCsGPS.push_back(t_lc::l2); 211 } 178 212 if (settings.value("PPP/lcGPS").toString() == "P3") { 179 213 opt->_LCsGPS.push_back(t_lc::cIF); … … 187 221 } 188 222 223 if (settings.value("PPP/lcGLONASS").toString() == "P1") { 224 opt->_LCsGLONASS.push_back(t_lc::c1); 225 } 226 else if (settings.value("PPP/lcGLONASS").toString() == "L1") { 227 opt->_LCsGLONASS.push_back(t_lc::l1); 228 } 229 else if (settings.value("PPP/lcGLONASS").toString() == "P1&L1") { 230 opt->_LCsGLONASS.push_back(t_lc::c1); 231 opt->_LCsGLONASS.push_back(t_lc::l1); 232 } 233 if (settings.value("PPP/lcGLONASS").toString() == "P2") { 234 opt->_LCsGLONASS.push_back(t_lc::c2); 235 } 236 else if (settings.value("PPP/lcGLONASS").toString() == "L2") { 237 opt->_LCsGLONASS.push_back(t_lc::l2); 238 } 239 else if (settings.value("PPP/lcGLONASS").toString() == "P2&L2") { 240 opt->_LCsGLONASS.push_back(t_lc::c2); 241 opt->_LCsGLONASS.push_back(t_lc::l2); 242 } 243 if (settings.value("PPP/lcGLONASS").toString() == "Pi") { 244 opt->_LCsGLONASS.push_back(t_lc::c1); 245 opt->_LCsGLONASS.push_back(t_lc::c2); 246 } 247 else if (settings.value("PPP/lcGLONASS").toString() == "Li") { 248 opt->_LCsGLONASS.push_back(t_lc::l1); 249 opt->_LCsGLONASS.push_back(t_lc::l2); 250 } 251 else if (settings.value("PPP/lcGLONASS").toString() == "Pi&Li") { 252 opt->_LCsGLONASS.push_back(t_lc::c1); 253 opt->_LCsGLONASS.push_back(t_lc::c2); 254 opt->_LCsGLONASS.push_back(t_lc::l1); 255 opt->_LCsGLONASS.push_back(t_lc::l2); 256 } 189 257 if (settings.value("PPP/lcGLONASS").toString() == "P3") { 190 258 opt->_LCsGLONASS.push_back(t_lc::cIF); … … 198 266 } 199 267 268 if (settings.value("PPP/lcGalileo").toString() == "P1") { 269 opt->_LCsGalileo.push_back(t_lc::c1); 270 } 271 else if (settings.value("PPP/lcGalileo").toString() == "L1") { 272 opt->_LCsGalileo.push_back(t_lc::l1); 273 } 274 else if (settings.value("PPP/lcGalileo").toString() == "P1&L1") { 275 opt->_LCsGalileo.push_back(t_lc::c1); 276 opt->_LCsGalileo.push_back(t_lc::l1); 277 } 278 if (settings.value("PPP/lcGalileo").toString() == "P5") { 279 opt->_LCsGalileo.push_back(t_lc::c2); 280 } 281 else if (settings.value("PPP/lcGalileo").toString() == "L5") { 282 opt->_LCsGalileo.push_back(t_lc::l2); 283 } 284 else if (settings.value("PPP/lcGalileo").toString() == "P5&L5") { 285 opt->_LCsGalileo.push_back(t_lc::c2); 286 opt->_LCsGalileo.push_back(t_lc::l2); 287 } 288 if (settings.value("PPP/lcGalileo").toString() == "Pi") { 289 opt->_LCsGalileo.push_back(t_lc::c1); 290 opt->_LCsGalileo.push_back(t_lc::c2); 291 } 292 else if (settings.value("PPP/lcGalileo").toString() == "Li") { 293 opt->_LCsGalileo.push_back(t_lc::l1); 294 opt->_LCsGalileo.push_back(t_lc::l2); 295 } 296 else if (settings.value("PPP/lcGalileo").toString() == "Pi&Li") { 297 opt->_LCsGalileo.push_back(t_lc::c1); 298 opt->_LCsGalileo.push_back(t_lc::c2); 299 opt->_LCsGalileo.push_back(t_lc::l1); 300 opt->_LCsGalileo.push_back(t_lc::l2); 301 } 200 302 if (settings.value("PPP/lcGalileo").toString() == "P3") { 201 303 opt->_LCsGalileo.push_back(t_lc::cIF); … … 209 311 } 210 312 313 if (settings.value("PPP/lcBDS").toString() == "P2") { 314 opt->_LCsBDS.push_back(t_lc::c1); 315 } 316 else if (settings.value("PPP/lcBDS").toString() == "L2") { 317 opt->_LCsBDS.push_back(t_lc::l1); 318 } 319 else if (settings.value("PPP/lcBDS").toString() == "P2&L2") { 320 opt->_LCsBDS.push_back(t_lc::c1); 321 opt->_LCsBDS.push_back(t_lc::l1); 322 } 323 if (settings.value("PPP/lcBDS").toString() == "P7") { 324 opt->_LCsBDS.push_back(t_lc::c2); 325 } 326 else if (settings.value("PPP/lcBDS").toString() == "L7") { 327 opt->_LCsBDS.push_back(t_lc::l2); 328 } 329 else if (settings.value("PPP/lcBDS").toString() == "P7&L7") { 330 opt->_LCsBDS.push_back(t_lc::c2); 331 opt->_LCsBDS.push_back(t_lc::l2); 332 } 333 if (settings.value("PPP/lcBDS").toString() == "Pi") { 334 opt->_LCsBDS.push_back(t_lc::c1); 335 opt->_LCsBDS.push_back(t_lc::c2); 336 } 337 else if (settings.value("PPP/lcBDS").toString() == "Li") { 338 opt->_LCsBDS.push_back(t_lc::l1); 339 opt->_LCsBDS.push_back(t_lc::l2); 340 } 341 else if (settings.value("PPP/lcBDS").toString() == "Pi&Li") { 342 opt->_LCsBDS.push_back(t_lc::c1); 343 opt->_LCsBDS.push_back(t_lc::c2); 344 opt->_LCsBDS.push_back(t_lc::l1); 345 opt->_LCsBDS.push_back(t_lc::l2); 346 } 211 347 if (settings.value("PPP/lcBDS").toString() == "P3") { 212 348 opt->_LCsBDS.push_back(t_lc::cIF); -
trunk/BNC/src/pppWidgets.cpp
r7239 r7261 107 107 _lcGPS->addItems(QString("P3,P3&L3").split(",")); 108 108 #else 109 _lcGPS->addItems(QString("no,P 3,L3,P3&L3").split(","));109 _lcGPS->addItems(QString("no,P1,L1,P1&L1,P2,L2,P2&L2,Pi,Li,Pi&Li,P3,L3,P3&L3").split(",")); 110 110 #endif 111 111 112 112 _lcGLONASS->setEditable(false); 113 _lcGLONASS->addItems(QString("no,P3,L3,P3&L3").split(",")); 113 #ifdef USE_PPP_SSR_I 114 _lcGLONASS->addItems(QString("no,P3,L3,P3&L3").split(",")); 115 #else 116 _lcGLONASS->addItems(QString("no,P1,L1,P1&L1,P2,L2,P2&L2,Pi,Li,Pi&Li,P3,L3,P3&L3").split(",")); 117 #endif 114 118 115 119 _lcGalileo->setEditable(false); 120 #ifdef USE_PPP_SSR_I 116 121 _lcGalileo->addItems(QString("no,P3,L3,P3&L3").split(",")); 122 #else 123 _lcGalileo->addItems(QString("no,P1,L1,P1&L1,P5,L5,P5&L5,Pi,Li,Pi&Li,P3,L3,P3&L3").split(",")); 124 #endif 117 125 118 126 _lcBDS->setEditable(false); 127 #ifdef USE_PPP_SSR_I 119 128 _lcBDS->addItems(QString("no,P3,L3,P3&L3").split(",")); 129 #else 130 _lcBDS->addItems(QString("no,P2,L2,P2&L2,P7,L7,P7&L7,Pi,Li,Pi&Li,P3,L3,P3&L3").split(",")); 131 #endif 120 132 121 133 _snxtroSampl->setMinimum(0);
Note:
See TracChangeset
for help on using the changeset viewer.