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