2030 const float *
temp = d.
Ptr<
float>();
2034 out << fixed << setprecision(1);
2037 out <<
GetTempColor(temp[1]) <<
'\t' << temp[1] <<
'\n';
2038 out <<
GetTempColor(temp[0]) <<
'\t' << temp[0] <<
'\n';
2039 out <<
GetTempColor(temp[2]) <<
'\t' << temp[2] <<
'\n';
2041 ofstream(
fPath+
"/temperature.data") << out.str();
string GetTempColor(float t)
int GetCurrentState() const
return the current state of the machine
bool CheckDataSize(const EventImp &d, const char *name, size_t size, bool min=false)
void WriteHist(const EventImp &d, const string &fname, const T &t, double scale, double offset=0)
uint64_t GetJavaDate() const
deque< float > fTemperatureControlHist
const T * Ptr(size_t offset=0) const