Compare commits
No commits in common. "49ffbad759f7b25120af92ea9a56f56b292324e6" and "3396d73077d87ca7b8553089e4669e722e55fc2e" have entirely different histories.
49ffbad759
...
3396d73077
|
|
@ -301,15 +301,10 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
|||
public decimal? LipidAngle { get; set; }
|
||||
|
||||
|
||||
public decimal? Avg
|
||||
{
|
||||
get
|
||||
{
|
||||
var values = new[] { FirstData, SecondData, ThirdData };
|
||||
var avg = values.Where(x => x.HasValue).Select(x => x.Value).DefaultIfEmpty(0).Average();
|
||||
return avg;
|
||||
}
|
||||
}
|
||||
public decimal? Avg { get {
|
||||
|
||||
return ( FirstData + SecondData + ThirdData) / 3;
|
||||
} }
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue