Refactor `ISmartReader` and related classes to support `SmartHeadsUni`. Remove redundant `IperlHeadsUni` references and introduce `SmartMeterFlyingStartMassCollection` functionality. Enhance regex-based head position extraction.
37 lines
1.0 KiB
C#
37 lines
1.0 KiB
C#
using System.IO;
|
|
using Common;
|
|
using TBF.Rig.GenericDevices;
|
|
using TBF.Rig.RegisterReaders.CommonRR;
|
|
|
|
namespace TBF.Rig.Uni.SharedDialogs.SmartMetersCommunication.common
|
|
{
|
|
public interface ISmartReader : IRegReader
|
|
{
|
|
new string Name { get; }
|
|
new DebugMode DebugLevel { get; set; }
|
|
public string SerialNr { get; }
|
|
public string CommInterface { get; }
|
|
public int RfidComPortNr { get; }
|
|
|
|
public bool CommFailed { get; set; }
|
|
|
|
public bool Disabled { get; set; }
|
|
|
|
//Methods ...
|
|
public void ResetNfcInterface(bool? nfc_on = null);
|
|
public string ReadOptoData();
|
|
void SetNfcInterface();
|
|
void SetRfidInterface();
|
|
public void StopDataStreamProcessing();
|
|
public void StartDataStreamProcessing();
|
|
|
|
public void SetCommunicationInterface(string commInterface);
|
|
|
|
|
|
//Binary methods
|
|
public void WriteBinary(BinaryWriter writer);
|
|
public void ReadBinary(BinaryReader reader);
|
|
|
|
|
|
}
|
|
} |