mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 14:40:05 +00:00 
			
		
		
		
	Fixed formatting issue
This commit is contained in:
		
							parent
							
								
									754e036093
								
							
						
					
					
						commit
						852ade891c
					
				
					 1 changed files with 5 additions and 5 deletions
				
			
		|  | @ -151,7 +151,7 @@ void AlertManager::Impl::HandleAlert(const types::TextEventKey& key, | ||||||
|    std::string        alertCounty = audioSettings.alert_county().GetValue(); |    std::string        alertCounty = audioSettings.alert_county().GetValue(); | ||||||
|    auto               alertRadius = units::length::kilometers<double>( |    auto               alertRadius = units::length::kilometers<double>( | ||||||
|       audioSettings.alert_radius().GetValue()); |       audioSettings.alert_radius().GetValue()); | ||||||
|    std::string        alertWFO    = audioSettings.alert_wfo().GetValue(); |    std::string alertWFO = audioSettings.alert_wfo().GetValue(); | ||||||
| 
 | 
 | ||||||
|    auto message = textEventManager_->message_list(key).at(messageIndex); |    auto message = textEventManager_->message_list(key).at(messageIndex); | ||||||
| 
 | 
 | ||||||
|  | @ -186,9 +186,7 @@ void AlertManager::Impl::HandleAlert(const types::TextEventKey& key, | ||||||
|          auto alertCoordinates = segment->codedLocation_->coordinates(); |          auto alertCoordinates = segment->codedLocation_->coordinates(); | ||||||
| 
 | 
 | ||||||
|          activeAtLocation = util::GeographicLib::AreaInRangeOfPoint( |          activeAtLocation = util::GeographicLib::AreaInRangeOfPoint( | ||||||
|                alertCoordinates, |             alertCoordinates, currentCoordinate, alertRadius); | ||||||
|                currentCoordinate, |  | ||||||
|                alertRadius); |  | ||||||
|       } |       } | ||||||
|       else if (locationMethod == types::LocationMethod::County) |       else if (locationMethod == types::LocationMethod::County) | ||||||
|       { |       { | ||||||
|  | @ -196,7 +194,9 @@ void AlertManager::Impl::HandleAlert(const types::TextEventKey& key, | ||||||
|          auto fipsIds = segment->header_->ugc_.fips_ids(); |          auto fipsIds = segment->header_->ugc_.fips_ids(); | ||||||
|          auto it = std::find(fipsIds.cbegin(), fipsIds.cend(), alertCounty); |          auto it = std::find(fipsIds.cbegin(), fipsIds.cend(), alertCounty); | ||||||
|          activeAtLocation = it != fipsIds.cend(); |          activeAtLocation = it != fipsIds.cend(); | ||||||
|       } else if (locationMethod == types::LocationMethod::WFO) { |       } | ||||||
|  |       else if (locationMethod == types::LocationMethod::WFO) | ||||||
|  |       { | ||||||
|          std::string wfoId = vtec.pVtec_.office_id(); |          std::string wfoId = vtec.pVtec_.office_id(); | ||||||
| 
 | 
 | ||||||
|          activeAtLocation = wfoId == alertWFO; |          activeAtLocation = wfoId == alertWFO; | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 AdenKoperczak
						AdenKoperczak