src/daa-logic/utils/DAAMonitorsV2.cpp
/**
 * Monitor 4: NONE and RECOVERY
 * NONE and RECOVERY appear in the same list of bands (yellow monitor)
 */
Monitor 4: NONE and RECOVERY
NONE and RECOVERY appear in the same list of bands (yellow monitor)
Monitor 4 : NONE and RECOVERY NONE and RECOVERY appear in the same list of bands ( yellow monitor )
int DAAMonitorsV2::checkM4Trk (Daidalus& daa) const {
	bool none = false;
	bool recovery = false;
	for (int i = 0; i < daa.horizontalDirectionBandsLength(); i++) {
		BandsRegion::Region b = daa.horizontalDirectionRegionAt(i);
		if (b == BandsRegion::NONE) {
			none = true;
		} else if (b == BandsRegion::RECOVERY) {
			recovery = true;
		}
	}
	return (none && recovery) ? YELLOW : GREEN;
}
int DAAMonitorsV2 :: checkM4Trk ( Daidalus & daa ) const { bool none = false ; bool recovery = false ; for ( int i = 0 ; i < daa . horizontalDirectionBandsLength ( ) ; i ++ ) { BandsRegion :: Region b = daa . horizontalDirectionRegionAt ( i ) ; if ( b == BandsRegion :: NONE ) { none = true ; } else if ( b == BandsRegion :: RECOVERY ) { recovery = true ; } } return ( none && recovery ) ? YELLOW : GREEN ; }
Monitor 4: NONE and RECOVERY
 NONE and RECOVERY appear in the same list of bands (yellow monitor)
Monitor 4 : NONE and RECOVERY NONE and RECOVERY appear in the same list of bands ( yellow monitor )