24 lines
669 B
C#
24 lines
669 B
C#
|
|
///
|
|||
|
|
/// Copyright (c) 2020 Sensus Slovensko a.s.
|
|||
|
|
///
|
|||
|
|
using System;
|
|||
|
|
|
|||
|
|
namespace DataStreamInterface
|
|||
|
|
{
|
|||
|
|
public class DataFrame
|
|||
|
|
{
|
|||
|
|
public readonly UInt64 ID; /// Frame ID
|
|||
|
|
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
|
|||
|
|
|
|||
|
|
public DataFrame(UInt64 id, double time, double volume, double[] quantity)
|
|||
|
|
{
|
|||
|
|
ID = id;
|
|||
|
|
Time = time;
|
|||
|
|
Volume = volume;
|
|||
|
|
Quantity = quantity;
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|