sensor monitoring compleat, starting on fan control

This commit is contained in:
Carl Philipp Klemm
2023-05-02 10:52:56 +02:00
parent 5dfdfce745
commit 9c17bfe0bf
6 changed files with 130 additions and 70 deletions

View File

@ -1,3 +1,5 @@
#pragma once
#include <string>
class Sensor
@ -10,6 +12,6 @@ public:
public:
Sensor() = default;
Sensor(std::string chipI, std::string nameI, int idI = 0): name(nameI), chip(chipI), name(nameI), id(idI) {}
Sensor(std::string chipI, std::string nameI, int idI = 0): name(nameI), chip(chipI), id(idI) {}
bool operator==(const Sensor& other) {return other.name == name && other.chip == chip;}
};