init
This commit is contained in:
35
Common/DTS.Common.Calculations/ChannelData.cs
Normal file
35
Common/DTS.Common.Calculations/ChannelData.cs
Normal file
@@ -0,0 +1,35 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace DTS.Common.Calculations
|
||||
{
|
||||
/// <summary>
|
||||
/// Filtered Channel Data
|
||||
/// simple class for holding generic data for calculations
|
||||
/// in the future I'd like to be able to accept channels with different units and convert them
|
||||
/// to a common unit, so I add support for that now
|
||||
/// </summary>
|
||||
public class ChannelData
|
||||
{
|
||||
/// <summary>
|
||||
/// Engineering units of Data
|
||||
/// </summary>
|
||||
public string Units { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Pre-Filtered EU data
|
||||
/// </summary>
|
||||
public double[] FilteredEU { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Constructs a ChannelData object
|
||||
/// </summary>
|
||||
/// <param name="units">Engineering units of data</param>
|
||||
public ChannelData(string units)
|
||||
{
|
||||
Units = units;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user