2020-05-01 08:44:28 +00:00
|
|
|
|
///
|
|
|
|
|
|
/// Copyright (c) 2020 Sensus Slovensko a.s.
|
|
|
|
|
|
///
|
|
|
|
|
|
using System;
|
|
|
|
|
|
|
|
|
|
|
|
namespace DataStreamInterface
|
|
|
|
|
|
{
|
|
|
|
|
|
public class DataFrame
|
|
|
|
|
|
{
|
2021-07-02 13:26:22 +00:00
|
|
|
|
public readonly Int64 ID; /// Frame ID
|
2020-05-01 08:44:28 +00:00
|
|
|
|
public readonly double Time; /// Time stamp in units of time
|
|
|
|
|
|
public readonly double Volume; /// Volume in units of volume
|
|
|
|
|
|
public readonly double[] Quantity; /// An array of optional quantities in their respective units
|
|
|
|
|
|
|
2021-07-02 13:26:22 +00:00
|
|
|
|
public DataFrame(Int64 id, double time, double volume, double[] quantity)
|
2020-05-01 08:44:28 +00:00
|
|
|
|
{
|
|
|
|
|
|
ID = id;
|
|
|
|
|
|
Time = time;
|
|
|
|
|
|
Volume = volume;
|
|
|
|
|
|
Quantity = quantity;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|