eive-obsw/dummies/TemperatureSensorInserter.h
Irini Kosmidou 2b3fe93906
Some checks failed
EIVE/eive-obsw/pipeline/pr-develop There was a failure building this commit
constructor TemperatureSensorInserter + temSensorDummies-map
2023-01-22 20:07:10 +01:00

29 lines
761 B
C++

#pragma once
#include <fsfw/controller/ExtendedControllerBase.h>
#include <mission/devices/devicedefinitions/Max31865Definitions.h>
#include "Max31865Dummy.h"
#include "Tmp1075Dummy.h"
class TemperatureSensorInserter : public ExecutableObjectIF, public SystemObject {
public:
explicit TemperatureSensorInserter(
object_id_t objectId, const std::map<object_id_t, Max31865Dummy>& tempSensorDummies_,
const std::map<object_id_t, Tmp1075Dummy>& tempTmpSensorDummies_);
ReturnValue_t initialize() override;
protected:
ReturnValue_t performOperation(uint8_t opCode) override;
private:
enum TestCase { OVERCOOL_SYRLINKS = 0 };
int iteration = 0;
bool performTest = false;
float value = 0;
TestCase testCase;
// void noise();
};