43 lines
676 B
C#
43 lines
676 B
C#
///
|
|
/// Copyright (c) 2018 Sensus Slovensko a.s.
|
|
///
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
namespace TBF.BenchControl.RegisterReaders.SerialStream
|
|
{
|
|
public enum StreamType
|
|
{
|
|
None = 0,
|
|
Iperl = 1,
|
|
Flexible = 2,
|
|
Count /// Number of stream types
|
|
}
|
|
|
|
public enum FieldFormat
|
|
{
|
|
None = 0,
|
|
HexadecimalWindow = 1,
|
|
Hexadecimal = 2,
|
|
Decimal = 3,
|
|
Count
|
|
}
|
|
|
|
public enum FrameFlags : byte
|
|
{
|
|
OK = 0,
|
|
OK_TestStart,
|
|
OK_TestEnd,
|
|
InvalidFrame, /// Wrong frame format of checksum error
|
|
SyncError,
|
|
}
|
|
|
|
public enum DatastreamState
|
|
{
|
|
Read,
|
|
Flush,
|
|
}
|
|
}
|