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

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

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

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

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