36 lines
981 B
C#
36 lines
981 B
C#
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;
|
|
}
|
|
}
|
|
}
|