2025-05-09 09:28:39 +00:00
|
|
|
#ifndef ANALYSISOPERATIONRECORDER_H
|
|
|
|
|
#define ANALYSISOPERATIONRECORDER_H
|
|
|
|
|
|
2025-05-13 09:33:40 +00:00
|
|
|
#include "centralwidget.h"
|
|
|
|
|
|
2025-05-09 09:28:39 +00:00
|
|
|
namespace AnalysisOperationRecorder {
|
2025-05-13 09:33:40 +00:00
|
|
|
const QString NumericalLabelStr("NumericalLabel");
|
|
|
|
|
const QString StartPointStr("StartPoint");
|
|
|
|
|
const QString StopPointStr("StopPoint");
|
|
|
|
|
const QString PeakSynthesisAnalysisStr("PeakSynthesisAnalysis");
|
|
|
|
|
const QString GlassTransitionStr("GlassTransition");
|
|
|
|
|
const QString OnsetTemperaturePointStr("OnsetTemperaturePoint");
|
|
|
|
|
const QString EndsetTemperaturePointStr("EndsetTemperaturePoint");
|
|
|
|
|
|
|
|
|
|
#if 0
|
2025-05-09 09:28:39 +00:00
|
|
|
enum AnalysisMode{
|
|
|
|
|
Null,
|
|
|
|
|
NumericalLabel,
|
|
|
|
|
StartPoint,
|
|
|
|
|
StopPoint,
|
|
|
|
|
PeakSynthesisAnalysis,
|
|
|
|
|
GlassTransition,
|
|
|
|
|
OnsetTemperaturePoint,
|
|
|
|
|
EndsetTemperaturePoint
|
|
|
|
|
};
|
2025-05-13 09:33:40 +00:00
|
|
|
#endif
|
|
|
|
|
|
2025-05-09 09:28:39 +00:00
|
|
|
struct AnalysisOperation{
|
2025-05-13 09:33:40 +00:00
|
|
|
CentralWidget::AnalysisMode mode;
|
2025-05-12 09:29:59 +00:00
|
|
|
double x1,x2;
|
2025-05-09 09:28:39 +00:00
|
|
|
};
|
|
|
|
|
|
2025-05-13 09:33:40 +00:00
|
|
|
// The analysis operationes by user operating.
|
2025-05-12 09:29:59 +00:00
|
|
|
extern QVector<AnalysisOperation> _ananlysisOperationVtr;
|
2025-05-13 09:33:40 +00:00
|
|
|
// The analysis operationes from xlsx file.
|
|
|
|
|
//extern QVector<AnalysisOperation> _fileAnanlysisOperationVtr;
|
|
|
|
|
|
2025-05-09 09:28:39 +00:00
|
|
|
void addAnalysisOperation(const AnalysisOperation);
|
|
|
|
|
void removeTheLastAnalysisOperation();
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
2025-05-13 09:33:40 +00:00
|
|
|
|
|
|
|
|
|
2025-05-09 09:28:39 +00:00
|
|
|
#endif // ANALYSISOPERATIONRECORDER_H
|