using System.Collections.Generic;
using System.Linq;

namespace LeafWeb.Core.Entities
{
	/// <summary>
	/// Part of LeafOutput
	/// The file 'leafgascomparison.csv', which is in comma-separated-value format, contains outputs from PISCAL that 
	/// facilitates examination of how well the fitting is. 
	/// </summary>
	public class LeafGasComparison
	{
		public virtual IEnumerable<LeafGasComparisonFittingInfo> FittingInfo { get; set; }
		public virtual IEnumerable<LeafGasComparisonPhotosyntheticInfo> PhotosyntheticInfo { get; set; }

		public string CurveID => FittingInfo.First().CurveID;

		public bool FitRwp => FittingInfo.First().FitRwp;

		public bool FitGammaStar => FittingInfo.First().FitGammaStar;
	}
}