29 lines
693 B
C++
29 lines
693 B
C++
#ifndef METEOROLOGICALDATA_H
|
|
#define METEOROLOGICALDATA_H
|
|
|
|
#include "AbstractSpectrumDataMessage.h"
|
|
#include "DataManager_Define.h"
|
|
#include <QTextStream>
|
|
|
|
class MeteorologicalMessage : public AbstractSpectrumDataMessage
|
|
{
|
|
public:
|
|
explicit MeteorologicalMessage();
|
|
~MeteorologicalMessage();
|
|
|
|
const QList<MetData::MetDataItem>& GetMetDatas();
|
|
const MetData::MetDataStationCode& GetStationCode();
|
|
virtual bool IsValid();
|
|
virtual void ClearData();
|
|
|
|
private:
|
|
virtual bool AnalyseMessgeBody(QTextStream& content);
|
|
|
|
private:
|
|
bool bIsValid;
|
|
MetData::MetDataStationCode station_code;
|
|
QList<MetData::MetDataItem> met_datas;
|
|
};
|
|
|
|
#endif // METEOROLOGICALDATA_H
|