8#include "communication.h"
141 void setTemperature(
double temperature);
147 void setMV(
double mv);
153 void setMVUpper(
double mvUpper);
159 void setMVLower(
double mvLower);
165 void setSV(
double sv);
171 void setSave(
bool save);
177 void setIntervalLog(
int interval);
183 void setFilePath(QString path);
187 const QString desktopPath_{QStandardPaths::locate(QStandardPaths::DesktopLocation, QString(), QStandardPaths::LocateDirectory)};
190 const QString dataPath2_{desktopPath_ +
"Temp_Record"};
193 const QString dataPath_{
"Z:/triplet/Temp_Record"};
199 double temperature_{};
223 QTimer *logTimer_{
nullptr};
226 int intervalLog_{10 * 1000};
The Communication class provides an interface for communicating with he E5CC temperature controller v...
Definition: communication.h:19
Class representing summary information of data.
Definition: datasummary.h:17
void temperatureChanged(double temperature)
Signal emitted when the temperature changes.
QString getFilePath() const
Gets the file path for saving data.
Definition: datasummary.cpp:38
double getTemperature() const
Gets the current temperature.
Definition: datasummary.cpp:32
double getMVUpper() const
Gets the current MV upper value.
Definition: datasummary.cpp:34
void SetIntervalLog(int interval)
Sets the interval for logging data.
Definition: datasummary.h:103
QString getFileName() const
Gets the file name for saving data.
Definition: datasummary.cpp:37
void writeData()
Writes data to file.
Definition: datasummary.cpp:110
bool isTimerLogRunning() const
Check if the timer for logging data is currently running.
Definition: datasummary.cpp:48
bool generateSaveFile()
Generates and saves the data to file.
Definition: datasummary.cpp:78
void logingStop()
Stops logging.
Definition: datasummary.cpp:139
double getMV() const
Gets the current MV value.
Definition: datasummary.cpp:33
double getMVLower() const
Gets the current MV lower value.
Definition: datasummary.cpp:35
void svChanged(double sv)
Signal emitted when the SV value changes.
QTimer * getLogTimer() const
Gets the Qtimer for saving data.
Definition: datasummary.cpp:39
double getSV() const
Gets the current SV value.
Definition: datasummary.cpp:36
void logMsgWithColor(QString msg, QColor color)
Signal emitted for send log to mainwindow.
void mvChanged(double mv)
Signal emitted when the MV value changes.
void logingStart()
Starts logging.
Definition: datasummary.cpp:134