public VisibilityData(HorizontalVisibilityData horizontalVisibility, VisibilityWithDirectionData horizontalVisibilityWithDirection, RunwayVisibilityData runwayVisibility) { if (horizontalVisibility != null) { IsHorizontalVisibility = true; _metarHorizontalVisibility = horizontalVisibility; } if (horizontalVisibilityWithDirection != null) { IsHorizontalVisibilityWithDirection = true; _metarHorizontalVisibilityWithDirection = horizontalVisibilityWithDirection; } if (runwayVisibility != null) { IsRunwayVisibility = true; _metarRunwayVisibility = runwayVisibility; } }