read temperature via S.M.A.R.T and display

This commit is contained in:
2022-08-24 16:00:18 +02:00
parent 7dfa805044
commit 2df5ceb0c8
6 changed files with 54 additions and 7 deletions

View File

@ -27,6 +27,7 @@ private:
static void parseErrorCount(string sLine);
static void parsePowerOnHours(string sLine);
static void parsePowerCycle(string sLine);
static void parseTemperature(string sLine);
static string modelFamily;
static string modelName;
@ -35,6 +36,7 @@ private:
static uint32_t errorCount;
static uint32_t powerOnHours;
static uint32_t powerCycle;
static uint32_t temperature;
};
#endif // SMART_H_