Add project files.

This commit is contained in:
Martijn Dijkstra
2025-05-08 09:10:15 +02:00
parent 7be30a6f28
commit 6a44bd4fd2
211 changed files with 729572 additions and 0 deletions

View File

@@ -0,0 +1,48 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Maser.Feanor.Model
{
public class Calibration
{
public Calibration(Int32 PK, Int32 SensorPK, DateTime Release, DateTime Expiry, DateTime Creation, Double[] Coefficients, Double Uncertainty, Double[] Xvalues)
{
_PK = PK;
_SensorPK = SensorPK;
_Release = Release;
_Expiry = Expiry;
_Creation = DateTime.Now;
_Coefficients = Coefficients;
_Uncertainty = Uncertainty;
_Xvalues = Xvalues;
}
public Int32 PK { get { return _PK; } set { _PK = value; } }
private Int32 _PK;
public DateTime Release { get { return _Release; } }
private DateTime _Release;
public DateTime Expiry { get { return _Expiry; } }
private DateTime _Expiry;
public DateTime Creation { get { return _Creation; } }
private DateTime _Creation;
public Int32 SensorPK { get { return _SensorPK; } }
private Int32 _SensorPK;
public double[] Coefficients { get { return _Coefficients; } set { _Coefficients = value; } }
private double[] _Coefficients = new double[4] { 0, 1, 0, 0 };
public double Uncertainty { get { return _Uncertainty; } }
private double _Uncertainty = 0;
public double[] Xvalues { get { return _Xvalues; } set { _Xvalues = value; } }
private double[] _Xvalues = new double[4] { 0, 0, 1, 1 };
}
}