public override string[] Process(IGeographicPoint leftUpper, IGeographicPoint rigthLower, string dataFolder, string resultFolder) { var pathToEdgedDynamic = $@"{dataFolder}{FilenamesConstants.PathToEdgedDynamicFile}"; var pathToAreOfDamageResult = $@"{resultFolder}{FilenamesConstants.PathToDamagedAreaResult}"; var amountOfDynamicPoints = DrawLib.GetAmountOfDynamicPoints(pathToEdgedDynamic); double areaOfDamage = amountOfDynamicPoints * LandsatPixelSize; var resultPath = JsonHelper.Serialize(pathToAreOfDamageResult, new AreaOfDamageResult { AreaOfDamage = areaOfDamage, DamagedPointsCount = amountOfDynamicPoints }); return(new[] { resultPath }); }