mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 04:10:06 +00:00 
			
		
		
		
	Look up product code when unavailable
This commit is contained in:
		
							parent
							
								
									822e523400
								
							
						
					
					
						commit
						0ca1ec2269
					
				
					 3 changed files with 31 additions and 0 deletions
				
			
		|  | @ -54,6 +54,11 @@ std::shared_ptr<RadarProductView> RadarProductViewFactory::Create( | |||
|    } | ||||
|    else if (productGroup == common::RadarProductGroup::Level3) | ||||
|    { | ||||
|       if (productCode == 0) | ||||
|       { | ||||
|          productCode = common::GetLevel3ProductCodeByAwipsId(productName); | ||||
|       } | ||||
| 
 | ||||
|       if (level3RadialProducts_.contains(productCode)) | ||||
|       { | ||||
|          view = Level3RadialView::Create(productName, radarProductManager); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat