mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-10 22:15:34 +08:00
PQ parsing using "best guess" strategy as default plus renamings
This commit is contained in:
committed by
Mat Sutcliffe
parent
4e1835b80d
commit
d89b217e9b
@@ -328,7 +328,7 @@ namespace BlackCore
|
||||
}
|
||||
else
|
||||
{
|
||||
const CFrequency radioFrequency = CComSystem::parseComFrequency(receiver, CPqString::SeparatorsBestGuess);
|
||||
const CFrequency radioFrequency = CComSystem::parseComFrequency(receiver, CPqString::SeparatorBestGuess);
|
||||
if (!radioFrequency.isNull())
|
||||
{
|
||||
if (CComSystem::isValidCivilAviationFrequency(radioFrequency))
|
||||
@@ -383,7 +383,7 @@ namespace BlackCore
|
||||
CLength os(CLength::null());
|
||||
if (parser.hasPart(2))
|
||||
{
|
||||
os.parseFromString(parser.part(2));
|
||||
os.parseFromString(parser.part(2), CPqString::SeparatorBestGuess);
|
||||
}
|
||||
|
||||
const bool added = this->testAddAltitudeOffset(cs, os);
|
||||
|
||||
@@ -1445,7 +1445,7 @@ namespace BlackCore
|
||||
}
|
||||
}
|
||||
CAltitude cruiseAlt;
|
||||
cruiseAlt.parseFromString(cruiseAltString, CPqString::SeparatorsBestGuess);
|
||||
cruiseAlt.parseFromString(cruiseAltString, CPqString::SeparatorBestGuess);
|
||||
|
||||
const QString depTimePlanned = QString("0000").append(QString::number(fp->departTime)).right(4);
|
||||
const QString depTimeActual = QString("0000").append(QString::number(fp->departTimeActual)).right(4);
|
||||
|
||||
Reference in New Issue
Block a user