279551e9be
modified: Core.Tests/Charter/CurveDataConverterTests.cs modified: Core.Tests/Parsers/CntrlComparisonParserTests.cs modified: Core.Tests/Parsers/LeafInputCsvParserTests.cs modified: Core.Tests/Remote/PiscalSshClientTests.cs modified: Core/Charter/CurveDataConverter.cs modified: Core/Core.csproj modified: Core/DAL/DataService.cs modified: Core/DAL/LeafWebContext.cs modified: Core/DAL/LeafWebInitializer.cs renamed: Core/Models/CntrlComparison.cs -> Core/Entities/CntrlComparison.cs renamed: Core/Models/CntrlComparisonFittingInfo.cs -> Core/Entities/CntrlComparisonFittingInfo.cs renamed: Core/Models/CntrlComparisonPhotosyntheticInfo.cs -> Core/Entities/CntrlComparisonPhotosyntheticInfo.cs renamed: Core/Models/FluxnetSite.cs -> Core/Entities/FluxnetSite.cs renamed: Core/Models/LeafInput.cs -> Core/Entities/LeafInput.cs renamed: Core/Models/LeafInputData.cs -> Core/Entities/LeafInputData.cs renamed: Core/Models/LeafInputFile.cs -> Core/Entities/LeafInputFile.cs renamed: Core/Models/LeafInputInfo.cs -> Core/Entities/LeafInputInfo.cs renamed: Core/Models/LeafInputPhotosynthetic.cs -> Core/Entities/LeafInputPhotosynthetic.cs renamed: Core/Models/LeafInputSite.cs -> Core/Entities/LeafInputSite.cs renamed: Core/Models/LeafInputStatus.cs -> Core/Entities/LeafInputStatus.cs renamed: Core/Models/PhotosynthesisType.cs -> Core/Entities/PhotosynthesisType.cs modified: Core/Parsers/CntrlComparisonParser.cs modified: Core/Parsers/FluxnetSiteCsvParser.cs modified: Core/Parsers/LeafInputCsvParser.cs modified: Web/Controllers/LeafCharterController.cs modified: Web/Controllers/LeafInputController.cs modified: Web/ViewModels/LeafInput/CreateViewModel.cs
50 lines
1.8 KiB
C#
50 lines
1.8 KiB
C#
using System.Collections.Generic;
|
|
using LeafWeb.Core.Utility;
|
|
|
|
namespace LeafWeb.Core.Entities
|
|
{
|
|
/// <summary>
|
|
/// Descriptive information about the investigator,
|
|
/// contact information, the site,the sample leaf and its general environmental condition
|
|
/// </summary>
|
|
public class LeafInputInfo
|
|
{
|
|
public int Id { get; set; }
|
|
|
|
public virtual LeafInputSite Site { get; set; }
|
|
public virtual LeafInputPhotosynthetic Photosynthetic { get; set; }
|
|
public virtual ICollection<LeafInputData> Data { get; set; }
|
|
|
|
[ParseInfo(1, exampleValue: "First and last name")]
|
|
public string InvestigatorName { get; set; }
|
|
|
|
[ParseInfo(2, exampleValue: "Your email / mail addresses")]
|
|
public string ContactInformation { get; set; }
|
|
|
|
[ParseInfo(3, alternateTitle: "Site name in full", exampleValue: "Your site's identifier / name")]
|
|
public string SiteName { get; set; }
|
|
|
|
[ParseInfo(4, exampleValue: "Mixed forest / grasslands / croplands/ etc")]
|
|
public string VegetationType { get; set; }
|
|
|
|
[ParseInfo(5, exampleValue: "Soil type at your site")]
|
|
public string SoilType { get; set; }
|
|
|
|
[ParseInfo(6, exampleValue: "List of major species at the site")]
|
|
public string MajorSpecies { get; set; }
|
|
|
|
[ParseInfo(7,
|
|
alternateTitle: "Sample leaf light environment",
|
|
exampleValue: "The general light environment in which the leaf is in (e.g. heavily shaded from above)")]
|
|
public string SampleLeafLightEnv { get; set; }
|
|
|
|
[ParseInfo(8, exampleValue: "Indicate whether there is water stress at the time of sampling")]
|
|
public string WaterStressAssessment { get; set; }
|
|
|
|
[ParseInfo(9, exampleValue: "For example - Licor-6400")]
|
|
public string InstrumentUsed { get; set; }
|
|
|
|
[ParseInfo(10, exampleValue: "Any extra information you feel would be helpful to put the sampled leaf in context")]
|
|
public string ExtraInfo { get; set; }
|
|
}
|
|
} |