AnalysisSystemForRadionucli.../AlertMessage.h
2024-06-04 15:27:02 +08:00

27 lines
529 B
C++

#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