src/daa-logic/utils/DAAMonitorsV2.cpp
/**
 * Monitor 2: consistent resolutions
 * - If region is not RECOVERY and any resolution is NaN and other resolutions are not NaN (yellow monitor).
 */
Monitor 2: consistent resolutions
- If region is not RECOVERY and any resolution is NaN and other resolutions are not NaN (yellow monitor).
Monitor 2 : consistent resolutions - If region is not RECOVERY and any resolution is NaN and other resolutions are not NaN ( yellow monitor ) .
int DAAMonitorsV2::checkM2_preferred (double resolution, BandsRegion::Region region) const {
	if (region != BandsRegion::RECOVERY) {
		bool exists_resolution_not_NaN = !std::isnan(resolutionTrk) || !std::isnan(resolutionGs) || !std::isnan(resolutionVs);
		if (std::isnan(resolution) && exists_resolution_not_NaN) {
			return YELLOW;
		}
	}
	return GREEN;
}
int DAAMonitorsV2 :: checkM2_preferred ( double resolution , BandsRegion :: Region region ) const { if ( region != BandsRegion :: RECOVERY ) { bool exists_resolution_not_NaN = ! std :: isnan ( resolutionTrk ) || ! std :: isnan ( resolutionGs ) || ! std :: isnan ( resolutionVs ) ; if ( std :: isnan ( resolution ) && exists_resolution_not_NaN ) { return YELLOW ; } } return GREEN ; }
Monitor 2: consistent resolutions
 - If region is not RECOVERY and any resolution is NaN and other resolutions are not NaN (yellow monitor).
Monitor 2 : consistent resolutions - If region is not RECOVERY and any resolution is NaN and other resolutions are not NaN ( yellow monitor ) .
// || !std::isnan(resolutionAlt); M2 does not apply to altitude