You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
610 B
24 lines
610 B
#ifndef LIMITUPSTOCKDECODER_H
|
|
#define LIMITUPSTOCKDECODER_H
|
|
#include "exceldecoder.h"
|
|
#include "db/structs.h"
|
|
|
|
class LimitUpStockDecoder : public ExcelDecoder
|
|
{
|
|
public:
|
|
QList<_limitUpStocksInfo> data;
|
|
public:
|
|
LimitUpStockDecoder();
|
|
virtual DecoderType decoderType(){ return DecoderType::limit_up;}
|
|
virtual ~LimitUpStockDecoder(){}
|
|
virtual void decode(QList<QList<QVariant> > edatas,QString date = "");
|
|
|
|
private:
|
|
QString parseStockHead(QList<QVariant> headDatas);//解析头 返回交易日
|
|
|
|
private:
|
|
QMap<int,QString> m_wholeStocksKeyIndexs;
|
|
};
|
|
|
|
#endif // LIMITUPSTOCKDECODER_H
|