mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-03 15:45:46 +08:00
Ref T422, functions to set XPDR mode
This commit is contained in:
@@ -108,6 +108,14 @@ namespace BlackMisc
|
||||
return StateStandby;
|
||||
}
|
||||
|
||||
bool CTransponder::setTransponderMode(CTransponder::TransponderMode mode)
|
||||
{
|
||||
const int m = static_cast<int>(mode);
|
||||
if (m == m_transponderMode) { return false; }
|
||||
m_transponderMode = m;
|
||||
return true;
|
||||
}
|
||||
|
||||
QString CTransponder::getTransponderCodeFormatted() const
|
||||
{
|
||||
QString f("0000");
|
||||
|
||||
Reference in New Issue
Block a user