Replace old charting curves with new version
This commit is contained in:
@@ -6,7 +6,7 @@ using LeafWeb.Core.Utility;
|
||||
|
||||
namespace LeafWeb.Core.Charter
|
||||
{
|
||||
public class CurveDataConverter
|
||||
public static class CurveDataConverter
|
||||
{
|
||||
public static IEnumerable<CurveData> Convert(IEnumerable<CntrlComparison> cntrlComparison)
|
||||
{
|
||||
@@ -54,7 +54,7 @@ namespace LeafWeb.Core.Charter
|
||||
curveData.EstimatedCndEstimatedCmp = paramSet;
|
||||
}
|
||||
|
||||
// Check all data is present
|
||||
// guarantee all data is present
|
||||
if (curveData.FixedCndFixedCmp == null)
|
||||
throw new ArgumentException(
|
||||
$"{comparisonGroup.CurveID} missing data for {ReflectionExtensions.GetPropertyDisplayName<CurveData>(c=>c.FixedCndFixedCmp)}");
|
||||
|
||||
Reference in New Issue
Block a user