logplus/logPlus/DrawFac.h
2026-01-06 16:03:55 +08:00

50 lines
797 B
C++

#ifndef DrawFac_H
#define DrawFac_H
#include <QObject>
#include "qmycustomplot.h"
typedef struct
{
int iCode; //代码
QString Fac; //相
QString Phase; //亚相
QString mFac; //微相
}FAC_DEF;
typedef struct
{
int no;
float sdep;
float edep;
char Fac[32];
char Phase[32];
char mFac[32];
char Dest[32];
}FAC_TABLE;
//沉积相
class CDrawFac:public QObject
{
Q_OBJECT
public:
CDrawFac(QMyCustomPlot *myCustomPlot, QString strSlfName, QString csCurve);
virtual ~CDrawFac(void);
public:
QList <FAC_DEF> m_FracDef;
QList <FAC_TABLE> m_ObjList;
QMyCustomPlot *m_myCustomPlot;
public:
void ReadFracDef();
void ReadData(QString strSlfName, QString csCurve);
void DrawFac(int iType);
public slots:
};
#endif