AgGateway.ADAPT.ISOv4Plugin.ExportMappers.PolygonMapper.ConvertPolygonType C# (CSharp) Метод

ConvertPolygonType() публичный Метод

public ConvertPolygonType ( BoundaryType polygonType ) : PLNA
polygonType BoundaryType
Результат PLNA
        public PLNA ConvertPolygonType(BoundaryType polygonType)
        {
            if (polygonType == BoundaryType.Field)
                return PLNA.Item1;
            if (polygonType == BoundaryType.CropZone)
                return PLNA.Item2;
            return PLNA.Item8; //other
        }