namespace IStation.Test
|
{
|
|
|
public class DataCellViewModel
|
{
|
public string Name { get; set; }
|
public double[] ValueList { get; set; }
|
|
}
|
|
public class PointViewModel
|
{
|
public PointViewModel() { }
|
public PointViewModel(DateTime dt, double x, double y, double diff, int index)
|
{
|
this.Time = dt;
|
this.X = x;
|
this.Y = y;
|
this.Diff = diff;
|
this.Index = index;
|
}
|
|
public PointViewModel(PointViewModel rhs)
|
{
|
this.Time = rhs.Time;
|
this.X = rhs.X;
|
this.Y = rhs.Y;
|
this.Index = rhs.Index;
|
this.Diff = rhs.Diff;
|
}
|
|
public DateTime Time { get; set; }
|
public int Index { get; set; }
|
public double X { get; set; }
|
public double Y { get; set; }
|
public double Diff { get; set; }
|
|
}
|
|
public class RecordViewModel
|
{
|
public RecordViewModel() { }
|
|
public DateTime Time { get; set; }
|
|
public double Flow1 { get; set; }
|
public double Pressure1 { get; set; }
|
|
public double Flow2 { get; set; }
|
public double Pressure2 { get; set; }
|
|
public double FlowDiff2 { get; set; }
|
}
|
|
|
|
}
|