using System;
namespace DTS.DASLib.Command.SLICE.RealtimeCommands
{
///
/// ported from FWTU, appears almost verbatim to there
///
public class UDPStreamPacket
{
///
/// first array channels, second array sample index
///
public short[][] ChannelData { get; set; }
public long TimeStamp { get; set; }
public ulong SampleNumber { get; set; }
public ulong SequenceNumber { get; set; }
public uint PTPTimesec { get; set; }
public uint PTPTimeNsec { get; set; }
public bool PTPSyncStatusError { get; set; }
public bool ADCOverflowStatus { get; set; }
public string PTPTimeString => string.Concat(PTPTimesec, ":", PTPTimeNsec.ToString("000000000"));
public UDPStreamPacket()
{
}
}
}