Replace CntrlComparison with LeafGasComparison
This commit is contained in:
@@ -13,6 +13,7 @@ namespace LeafWeb.Web.ViewModels.ResultStatus
|
||||
public string LeafInputIdentifier { get; set; }
|
||||
public string LeafInputSiteId { get; set; }
|
||||
public string LeafInputPhotosynthesisType { get; set; }
|
||||
public bool HasLeafChart { get; set; }
|
||||
public string CurrentStatus { get; set; }
|
||||
public string[] ErrorMessages { get; set; }
|
||||
//public string[] LeafOutputFilenames { get; set; }
|
||||
@@ -25,6 +26,7 @@ namespace LeafWeb.Web.ViewModels.ResultStatus
|
||||
{
|
||||
cfg.CreateMap<Core.Entities.LeafInput, ResultStatusViewModel>()
|
||||
.ForMember(dest => dest.LeafInputId, opt => opt.MapFrom(src => src.Id))
|
||||
.ForMember(dest => dest.HasLeafChart, opt => opt.ResolveUsing(src => src.OutputFiles.Any(o => o.IsLeafChartFile)))
|
||||
//.ForMember(dest => dest.LeafOutputFilenames,
|
||||
// opt => opt.ResolveUsing(
|
||||
// src =>
|
||||
|
||||
Reference in New Issue
Block a user