39 lines
851 B
C++
Executable File
39 lines
851 B
C++
Executable File
/**
|
|
* Convert from Equipment Number to Participant ID
|
|
* $Id$
|
|
* $HeadURL$
|
|
* $Author$
|
|
* Created by Christian Ehrlicher, SLSE, 2016-04-14
|
|
*/
|
|
|
|
#pragma once
|
|
#include <ParticipantManagement/ppm_dtc.h>
|
|
#include <QHash>
|
|
#include "logger.h"
|
|
#include <bld_fts.h>
|
|
|
|
namespace Buildings
|
|
{
|
|
class MainHandler;
|
|
|
|
class RelayInfoHandler : public QObject
|
|
, protected Interface::Fts::SetRelayInfoRequestHandler
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
explicit RelayInfoHandler(MainHandler *mainHandler);
|
|
~RelayInfoHandler();
|
|
|
|
bool init();
|
|
|
|
private Q_SLOTS:
|
|
private:
|
|
void onSetRelayInfoRequest(const rti::core::SampleIdentity &cookie,
|
|
const SetRelayInfoRequest &request) override;
|
|
Core::FunctionReplyObject onSetRelayInfoRequestInternal(const SetRelayInfoRequest &data);
|
|
MainHandler *m_mainHandler;
|
|
|
|
LOGGER_T m_logger;
|
|
};
|
|
}
|