eive-obsw/dummies/TemperatureSensorInserter.h
Irini Kosmidou 6fd10e7180
Some checks failed
EIVE/eive-obsw/pipeline/pr-develop There was a failure building this commit
bug fixed
2023-01-22 20:37:51 +01:00

29 lines
763 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();
};