refs #568, specialized lists (timestamp, DB objects, model list)

* remaned to latest/oldestObject
* JSON functions with prefix
* remove by keys
* only add models with model string to QStringList
This commit is contained in:
Klaus Basan
2016-01-08 00:17:16 +01:00
parent 5a17506a97
commit 72256cf86f
7 changed files with 100 additions and 18 deletions

View File

@@ -1017,7 +1017,7 @@ namespace BlackCore
auto history = this->m_situationsByCallsign[callsign];
if (history.empty()) { return; } // we need one full situation
interimSituation.setCurrentUtcTime();
interimSituation.setGroundspeed(history.latestValue().getGroundSpeed());
interimSituation.setGroundspeed(history.latestObject().getGroundSpeed());
}
// store situation history