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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user