37 lines
1.1 KiB
C++
37 lines
1.1 KiB
C++
#ifndef DEVICEDETECTIONCONFIG_H
|
|
#define DEVICEDETECTIONCONFIG_H
|
|
#include <QList>
|
|
#include "LANDevicePresenceConfig.h"
|
|
#include <QDataStream>
|
|
|
|
|
|
class CMQTTClientWrapper;
|
|
class CLANDevicesPresenceMonitor;
|
|
class CInternetMonitor;
|
|
|
|
class CDeviceDetectionConfig
|
|
{
|
|
public:
|
|
CDeviceDetectionConfig();
|
|
|
|
QList<CLANDevicePresenceConfig> *GetLANDevicesConfigList();
|
|
|
|
unsigned int mReportingCANMsgID;
|
|
quint64 mInternetDetectionCANStatusBit;
|
|
quint64 mMQTTDetectionCANStatusBit;
|
|
QList<CLANDevicePresenceConfig> mLANDeviceDetectConfigList;
|
|
|
|
CMQTTClientWrapper *mMQTTPresenceMonitor;
|
|
CLANDevicesPresenceMonitor *mLANDevicesMonitor;
|
|
CInternetMonitor *mInternetMonitor;
|
|
|
|
int SetCANPresenceMonitors(CMQTTClientWrapper* MQTTPresenceMonitor, CLANDevicesPresenceMonitor *LANDevicesMonitor, CInternetMonitor *InternetMonitor);
|
|
|
|
CDeviceDetectionConfig &operator=(const CDeviceDetectionConfig &source);
|
|
};
|
|
|
|
QDataStream &operator<<(QDataStream &out, const CDeviceDetectionConfig &source);
|
|
QDataStream &operator>>(QDataStream &in, CDeviceDetectionConfig &dest);
|
|
|
|
#endif // DEVICEDETECTIONCONFIG_H
|