AnalysisSystemForRadionucli.../AlertMessage.h

27 lines
529 B
C
Raw Normal View History

2024-06-04 15:27:02 +08:00
#ifndef ALERTMESSAGE_H
#define ALERTMESSAGE_H
#include "AbstractSpectrumDataMessage.h"
#include "DataManager_Define.h"
#include <QTextStream>
class AlertMessage : public AbstractSpectrumDataMessage
{
public:
explicit AlertMessage();
~AlertMessage();
virtual bool IsValid();
const AlertData::AlertsInfo& GetAlertsInfo();
virtual void ClearData();
private:
bool AnalyseMessgeBody(QTextStream& content);
private:
bool bIsValid;
AlertData::AlertsInfo alerts_info;
};
#endif // ALERTMESSAGE_H