CntrlComparison parsing
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
using System.IO;
|
||||
|
||||
namespace LeafWeb.Core.Charter
|
||||
{
|
||||
public class CurveData
|
||||
{
|
||||
private readonly string _curveId;
|
||||
|
||||
public string CurveId => _curveId;
|
||||
|
||||
// 1
|
||||
public CurveParamSet FixedCndFixedCmp { get; }
|
||||
|
||||
// 2
|
||||
public CurveParamSet FixedCndEstimatedCmp { get; }
|
||||
|
||||
// 3
|
||||
public CurveParamSet EstimatedCndFixedCmp { get; }
|
||||
|
||||
// 4
|
||||
public CurveParamSet EstimatedCndEstimatedCmp { get; }
|
||||
|
||||
|
||||
public CurveData(TextReader sr, ref int lineNbr)
|
||||
{
|
||||
// For each curve in the output file there are four sets of data.
|
||||
|
||||
FixedCndFixedCmp = new CurveParamSet(sr, ref lineNbr, ref _curveId);
|
||||
|
||||
FixedCndEstimatedCmp = new CurveParamSet(sr, ref lineNbr, ref _curveId);
|
||||
|
||||
EstimatedCndFixedCmp = new CurveParamSet(sr, ref lineNbr, ref _curveId);
|
||||
|
||||
EstimatedCndEstimatedCmp = new CurveParamSet(sr, ref lineNbr, ref _curveId);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user