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;
}