private static Path <MeasurementPathCommand> CreatePath(ToolCoverage toolCoverage) { var pathCommands = toolCoverage.MeasurementPoints .Select(i => new MeasurementPathCommand(i.Location)).ToImmutableList(); return(new Path <MeasurementPathCommand>(pathCommands)); }
private MeasurementSetNode CalculateMeasurementSetNode(NodeInput nodeInput, ToolCoverage toolCoverage) { var path = CreatePath(toolCoverage); return(new MeasurementSetNode(nodeInput.MeasurementSetId, toolCoverage.Tool, path)); }