/** * @RDE_HEADER@ * Helper * $Id$ * $HeadURL$ * $Author$ * Created by Christian Fröbel, NLE, 2019-08-05 */ #pragma once #include 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