Show RINEX status time in local timezone
This commit is contained in:
@@ -223,7 +223,7 @@ without logging out.
|
|||||||
previous two UTC days if today's stream file is unavailable. Current and next-minute satellite
|
previous two UTC days if today's stream file is unavailable. Current and next-minute satellite
|
||||||
positions are propagated from the cached ephemeris, then smoothly interpolated at 10 FPS.
|
positions are propagated from the cached ephemeris, then smoothly interpolated at 10 FPS.
|
||||||
- The 3D Earth tab includes a `RINEX Guncelle` button for an immediate manual refresh. Its status
|
- The 3D Earth tab includes a `RINEX Guncelle` button for an immediate manual refresh. Its status
|
||||||
line shows the UTC time of the last successful download or cache load.
|
line shows the system-local time of the last successful download or cache load.
|
||||||
- Complete UART channel snapshots such as `tracked satellites=5 prns=[...]` replace the previous
|
- Complete UART channel snapshots such as `tracked satellites=5 prns=[...]` replace the previous
|
||||||
connected-PRN set, so satellites that were lost no longer remain green.
|
connected-PRN set, so satellites that were lost no longer remain green.
|
||||||
- RINEX text is parsed once per download and retained as compact ephemeris records. The static
|
- RINEX text is parsed once per download and retained as compact ephemeris records. The static
|
||||||
|
|||||||
@@ -158,10 +158,11 @@ void RinexNavigation::handleDownload(const QByteArray &compressed, const QDate &
|
|||||||
m_ephemerides = std::move(ephemerides);
|
m_ephemerides = std::move(ephemerides);
|
||||||
setLoading(false);
|
setLoading(false);
|
||||||
publishCurrentMotion();
|
publishCurrentMotion();
|
||||||
emit statusChanged(QStringLiteral("%1 GPS uydusu · RINEX %2 · %3 UTC")
|
emit statusChanged(QStringLiteral("%1 GPS uydusu · RINEX %2 · %3")
|
||||||
.arg(positions.size())
|
.arg(positions.size())
|
||||||
.arg(date.toString(QStringLiteral("dd.MM.yyyy")))
|
.arg(date.toString(QStringLiteral("dd.MM.yyyy")))
|
||||||
.arg(now.time().toString(QStringLiteral("HH:mm:ss"))), false);
|
.arg(now.toLocalTime().toString(
|
||||||
|
QStringLiteral("HH:mm:ss t"))), false);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool RinexNavigation::loadCache()
|
bool RinexNavigation::loadCache()
|
||||||
@@ -176,9 +177,10 @@ bool RinexNavigation::loadCache()
|
|||||||
if (positions.isEmpty()) return false;
|
if (positions.isEmpty()) return false;
|
||||||
m_ephemerides = std::move(ephemerides);
|
m_ephemerides = std::move(ephemerides);
|
||||||
publishCurrentMotion();
|
publishCurrentMotion();
|
||||||
emit statusChanged(QStringLiteral("%1 GPS uydusu · onbellekteki RINEX · %2 UTC")
|
emit statusChanged(QStringLiteral("%1 GPS uydusu · onbellekteki RINEX · %2")
|
||||||
.arg(positions.size())
|
.arg(positions.size())
|
||||||
.arg(now.time().toString(QStringLiteral("HH:mm:ss"))), true);
|
.arg(now.toLocalTime().toString(
|
||||||
|
QStringLiteral("HH:mm:ss t"))), true);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user