Changeset 9217 in ntrip for trunk/BNC/src


Ignore:
Timestamp:
Nov 4, 2020, 4:30:30 PM (4 years ago)
Author:
stuerze
Message:

minor changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/bnccore.cpp

    r9213 r9217  
    202202  t_irc ircPut = _ephUser.putNewEph(eph, true);
    203203  if      (eph->checkState() == t_eph::bad) {
    204     messagePrivate(QString("WRONG EPHEMERIS %1 received from %2 (%4)")
    205                    .arg(eph->prn().toString().c_str()).arg(eph->receptStaID())
     204    messagePrivate(QString("%1 WRONG EPHEMERIS: %2")
     205                   .arg(eph->receptStaID())
    206206                   .arg(eph->rinexDateStr(eph->TOC(), eph->prn(), 3.0)).toLatin1());
    207207    return failure;
    208208  }
    209209  else if (eph->checkState() == t_eph::outdated) {
    210     messagePrivate(QString("OUTDATED EPHEMERIS %1 received from %2 (%4)")
    211                    .arg(eph->prn().toString().c_str()).arg(eph->receptStaID())
     210    messagePrivate(QString("%1 OUTDATED EPHEMERIS: %2")
     211                   .arg(eph->receptStaID())
    212212                   .arg(eph->rinexDateStr(eph->TOC(), eph->prn(), 3.0)).toLatin1());
    213213    return failure;
    214214  }
    215215  else if (eph->checkState() == t_eph::unhealthy) {
    216     messagePrivate(QString("UNHEALTHY EPHEMERIS %1 received from %2 (%4)")
    217                    .arg(eph->prn().toString().c_str()).arg(eph->receptStaID())
     216    messagePrivate(QString("%1: UNHEALTHY EPHEMERIS: %2")
     217                   .arg(eph->receptStaID())
    218218                   .arg(eph->rinexDateStr(eph->TOC(), eph->prn(), 3.0)).toLatin1());
    219219  }
     220
    220221  printEphHeader();
    221222  printEph(*eph, (ircPut == success));
Note: See TracChangeset for help on using the changeset viewer.