This commit is contained in:
parent
4038e65c38
commit
3796e6f60f
@ -16,9 +16,11 @@ internal class GseReader : IMisHandler
|
|||||||
private GseLabel lastLabel;
|
private GseLabel lastLabel;
|
||||||
private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType.Name);
|
private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType.Name);
|
||||||
public GsContextDto Context { get; set; }
|
public GsContextDto Context { get; set; }
|
||||||
|
public uint NumFrame { get; private set; }
|
||||||
|
|
||||||
public void PushFrame(BBHeader bbHeader, ReadOnlySpan<byte> readOnlySpan)
|
public void PushFrame(BBHeader bbHeader, ReadOnlySpan<byte> readOnlySpan)
|
||||||
{
|
{
|
||||||
|
NumFrame++;
|
||||||
MemoryStream ms = new MemoryStream(readOnlySpan.ToArray());
|
MemoryStream ms = new MemoryStream(readOnlySpan.ToArray());
|
||||||
|
|
||||||
while (ms.Position < ms.Length)
|
while (ms.Position < ms.Length)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user