namespace Xylem.Common.CommonCore.Consts
{
///
/// data marker for incoming record being used at serialComPort receive event
/// to stamp a start/intermediate/end record for an accurate actual time,
/// additionally being used to decide if decoding will be executed at !SkipDecoding
/// to speed up processing time.
///
public enum SyncMarkRecord
{
///
/// not synchronized stream, avoid decoding of protocol, this is not needed
///
SkipDecoding,
///
/// find start package and decode protocol
///
SyncStart,
///
/// find end package and decode protocol
///
SyncEnd,
///
/// decode intermediate package for internal update of measurement
///
DecodeIntermediate,
///
/// decode intermediate package for internal checkmesurement quality
///
DecodeIntermediateQuality,
///
/// decode every package for logging, zero-flow etc.
///
DecodeEveryPackage,
///
/// just flush buffer, will not mark any package
///
FlushBuffer
}
}