Files

32 lines
904 B
C#
Raw Permalink Normal View History

2026-04-17 14:55:32 -04:00
using System;
namespace DTS.DASLib.Command.SLICE.RealtimeCommands
{
/// <summary>
/// ported from FWTU, appears almost verbatim to there
/// </summary>
public class UDPStreamPacket
{
/// <summary>
/// first array channels, second array sample index
/// </summary>
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()
{
}
}
}