2022-11-24 16:40:59 +01:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <fsfw/controller/ExtendedControllerBase.h>
|
|
|
|
#include <mission/devices/devicedefinitions/Max31865Definitions.h>
|
|
|
|
|
2023-01-21 16:51:32 +01:00
|
|
|
#include "Max31865Dummy.h"
|
|
|
|
#include "Tmp1075Dummy.h"
|
|
|
|
|
2022-11-24 16:40:59 +01:00
|
|
|
class TemperatureSensorInserter : public ExecutableObjectIF, public SystemObject {
|
|
|
|
public:
|
2023-01-22 20:07:10 +01:00
|
|
|
explicit TemperatureSensorInserter(
|
2023-01-22 20:37:51 +01:00
|
|
|
object_id_t objectId, const std::map<object_id_t, Max31865Dummy*>& tempSensorDummies_,
|
|
|
|
const std::map<object_id_t, Tmp1075Dummy*>& tempTmpSensorDummies_);
|
2022-11-24 16:40:59 +01:00
|
|
|
|
|
|
|
ReturnValue_t initialize() override;
|
|
|
|
|
|
|
|
protected:
|
|
|
|
ReturnValue_t performOperation(uint8_t opCode) override;
|
|
|
|
|
|
|
|
private:
|
2023-01-21 16:51:32 +01:00
|
|
|
enum TestCase { OVERCOOL_SYRLINKS = 0 };
|
2022-11-24 16:40:59 +01:00
|
|
|
int iteration = 0;
|
2023-01-17 16:16:59 +01:00
|
|
|
bool performTest = false;
|
2022-11-24 16:40:59 +01:00
|
|
|
float value = 0;
|
2023-01-17 16:16:59 +01:00
|
|
|
TestCase testCase;
|
2023-01-21 16:51:32 +01:00
|
|
|
|
2022-11-25 10:47:23 +01:00
|
|
|
// void noise();
|
2022-11-24 16:40:59 +01:00
|
|
|
};
|