Esempio n. 1
0
        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;
            }
        }
Esempio n. 2
0
        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;
            }
        }