42 lines
694 B
C++
Executable File
42 lines
694 B
C++
Executable File
/**
|
|
* @RDE_HEADER@
|
|
* Helper
|
|
* $Id$
|
|
* $HeadURL$
|
|
* $Author$
|
|
* Created by Christian Fröbel, NLE, 2019-08-05
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <LtsCoordTrans/lts_coord_trans.h>
|
|
|
|
namespace AudioVideoManagement
|
|
{
|
|
class CnrChannel;
|
|
}
|
|
|
|
namespace InfrastructureManagement
|
|
{
|
|
class MainStructureElement;
|
|
}
|
|
|
|
class QString;
|
|
|
|
namespace CombatNetRadio
|
|
{
|
|
|
|
/**
|
|
* Get the station Id from the properties of the MainStructureElement.
|
|
*/
|
|
int stationId(const InfrastructureManagement::MainStructureElement &radioStation);
|
|
|
|
QString toRcIdString(const AudioVideoManagement::CnrChannel &cnrChannel);
|
|
|
|
inline double toDeg(double rad)
|
|
{
|
|
return LtsCoordTrans::rad2deg() * rad;
|
|
}
|
|
|
|
} // namespace CombatNetRadio
|