using AutoMapper; using LeafWeb.Core.Entities; namespace LeafWeb.WebCms.Models { public class LeafInputDataCurveViewModel { /// Sample CO2 concentration public double? CO2S { get; set; } /// PAR measured by the in-chamber quantum sensor public double? PARi { get; set; } /// temperature of leaf thermocouple public double? Tleaf { get; set; } /// DeltaF/Fm, the fraction of absorbed PSII photons that are used in photochemistry public double? PhiPS2 { get; set; } public LeafInputDataCurveViewModel() {} public LeafInputDataCurveViewModel(LeafInputDataCurve leafInputDataCurve) { Mapper.Map(leafInputDataCurve, this); } } }