48 lines
1.2 KiB
C++
48 lines
1.2 KiB
C++
#ifndef ITC_PRESSURE_OPTIMIZER_H
|
|
#define ITC_PRESSURE_OPTIMIZER_H
|
|
|
|
#include "DemandHandler.h"
|
|
#include "EventBus.h"
|
|
// #include "FeedbackHandler.h"
|
|
// #include "InputHandler.h"
|
|
// #include "OutputHandler.h"
|
|
// #include "PressureCalculator.h"
|
|
// #include "SettingsHandler.h"
|
|
|
|
#include "tmfe.h"
|
|
#include <string>
|
|
|
|
class itcPressureOptimizer : public TMFeEquipment {
|
|
|
|
public:
|
|
struct EquipmentInitEvent {};
|
|
|
|
struct EquipmentPollEvent {};
|
|
/**
|
|
* @brief Constructor
|
|
* @param equipmentName for debug purpose, cpp file of the equipment
|
|
*/
|
|
itcPressureOptimizer(std::string equipmentName,
|
|
const char *equipmentFilename);
|
|
|
|
/**
|
|
* @brief Method overridden called periodically by Midas
|
|
*/
|
|
void HandlePeriodic();
|
|
|
|
/**
|
|
* @brief Method overridden called by Midas at initialization
|
|
*/
|
|
TMFeResult HandleInit(const std::vector<std::string> &args);
|
|
|
|
private:
|
|
EventBus eventBus;
|
|
DemandHandler demandHandler;
|
|
// FeedbackHandler feedbackHandler;
|
|
// InputHandler inputHandler;
|
|
// OutputHandler outputHandler;
|
|
// PressureCalculator pressureCalculator;
|
|
// SettingsHandler settingsHandler;
|
|
};
|
|
|
|
#endif |