init
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
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()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user