renaming in settings
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user