This commit is contained in:
Klaus Basan
2019-10-18 12:10:46 +02:00
parent b88bdee405
commit aaa5fc259a
6 changed files with 22 additions and 1 deletions

View File

@@ -182,8 +182,10 @@ namespace BlackCore
//! Heartbeat DTO
struct HeartbeatDto
{
//! Name @{
static QByteArray getDtoName() { return "HeartbeatDto"; }
static QByteArray getShortDtoName() { return "H"; }
//! @}
std::string callsign; //!< callsign
MSGPACK_DEFINE(callsign)
@@ -192,8 +194,11 @@ namespace BlackCore
//! Heartbeat DTO
struct HeartbeatAckDto
{
//! Name @{
static QByteArray getDtoName() { return "HeartbeatAckDto"; }
static QByteArray getShortDtoName() { return "HA"; }
//! @}
MSGPACK_DEFINE()
};
@@ -206,6 +211,7 @@ namespace BlackCore
float distanceRatio;
// std::string RelayCallsign;
//! @}
MSGPACK_DEFINE(id, frequency, distanceRatio/*, RelayCallsign*/)
};

View File

@@ -25,7 +25,10 @@ namespace BlackCore
class BLACKCORE_EXPORT CAfvMapReader : public QObject
{
Q_OBJECT
//! Map reader properties @{
Q_PROPERTY(CSampleAtcStationModel *atcStationModel READ getAtcStationModel CONSTANT)
//! @}
public:
//! Ctor