src/daa-logic/utils/DAAMonitorsV2.cpp
// NB: You need to update the following items when adding new monitors: N_MONITORS, monitorColor, getLegend and getLabel
You need to update the following items when adding new monitors: N_MONITORS, monitorColor, getLegend and getLabel
You need to update the following items when adding new monitors : N_MONITORS monitorColor getLegend and getLabel
int DAAMonitorsV2::bandsRegionToInt (BandsRegion::Region b) {
	if (b == BandsRegion::NONE) {
		return 0;
	}
	if (b == BandsRegion::FAR) {
		return 1;
	}
	if (b == BandsRegion::MID) {
		return 2;
	}
	if (b == BandsRegion::NEAR) {
		return 3;
	}
	if (b == BandsRegion::RECOVERY) {
		return 4;
	}
	return -1;
}
int DAAMonitorsV2 :: bandsRegionToInt ( BandsRegion :: Region b ) { if ( b == BandsRegion :: NONE ) { return 0 ; } if ( b == BandsRegion :: FAR ) { return 1 ; } if ( b == BandsRegion :: MID ) { return 2 ; } if ( b == BandsRegion :: NEAR ) { return 3 ; } if ( b == BandsRegion :: RECOVERY ) { return 4 ; } return -1 ; }
NB: You need to update the following items when adding new monitors: N_MONITORS, monitorColor, getLegend and getLabel
NB : You need to update the following items when adding new monitors : N_MONITORS monitorColor getLegend and getLabel