renaming in settings

This commit is contained in:
2026-07-28 09:23:23 +02:00
parent 7671005c1f
commit cbd11e758f
2 changed files with 7 additions and 21 deletions
-14
View File
@@ -97,38 +97,24 @@ bool DemandHandler::setHotlink() {
to_watch.watch([&](midas::odb &arg) {
switch (arg.get_last_index()) {
case static_cast<int>(ParameterIndex::MINIMAL_PRESSURE):
printf("Out of scope : DEMAND HANDLER MINIMAL_PRESSURE\n");
pullMinimalPressure();
break;
case static_cast<int>(ParameterIndex::MAXIMAL_PRESSURE):
printf("Out of scope : DEMAND HANDLER MAXIMAL_PRESSURE\n");
pullMaximalPressure();
break;
case static_cast<int>(ParameterIndex::CONSTANTE_1):
printf("Out of scope : DEMAND HANDLER CONSTANTE_1\n");
pullConstante1();
break;
case static_cast<int>(ParameterIndex::CONSTANTE_2):
printf("Out of scope : DEMAND HANDLER CONSTANTE_2\n");
pullConstante2();
break;
case static_cast<int>(ParameterIndex::PRESSURE_CONTROL_MODE):
printf("Out of scope : DEMAND HANDLER PRESSURE_CONTROL_MODE\n");
pullPressureControlMode();
break;
case static_cast<int>(ParameterIndex::SET_PRESSURE):
printf("Out of scope : DEMAND HANDLER SET_PRESSURE\n");
pullSetPressure();
break;
default:
printf("Out of scope : DEMAND HANDLER\n");
// Update out of scope, discarded
break;
}
+7 -7
View File
@@ -6,14 +6,14 @@
namespace SettingsHandlerConfig {
const std::string PATH_PREFIX = "/Equipment/";
const std::string PATH_SUFFIX = "/Settings/Devices/MITCPRESSC/DD/";
const std::string PATH_SUFFIX = "/Settings/Devices/ItcPressureOptimizer/DD/";
const std::string EQUIPMENT_NAME = "MITC_Equipment";
const std::string OUTPUT_PRESSURE_SP_INDEX = "MITC_OutputPressSPIndex";
const std::string INPUT_SP_INDEX = "MITC_InputVarioxSPIndex";
const std::string INPUT_TEMPERATURE_INDEX = "MITC_InputVarioxTempIndex";
const std::string INPUT_POWER_INDEX = "MITC_InputVarioxPowIndex";
const std::string TIME_WINDOW = "Average_Power_Time_Window";
const std::string EQUIPMENT_NAME = "Equipment name";
const std::string OUTPUT_PRESSURE_SP_INDEX = "Output Pressure SetPoint Index";
const std::string INPUT_SP_INDEX = "Input SetPoint Index ";
const std::string INPUT_TEMPERATURE_INDEX = "Input Temperature Index";
const std::string INPUT_POWER_INDEX = "Input Power Index";
const std::string TIME_WINDOW = "Average Power Time Window";
const std::string DEFAULT_EQUIPMENT_NAME = "";
const int DEFAULT_INDEX_VALUE = -1;