/// /// Copyright (c) 2018 Sensus Slovensko a.s. /// using System.Collections.Generic; using TBF.BenchControl.Generic; namespace TBF.BenchControl.GenericDevices { public interface IHart : IComponent { /// /// Send an arbitrary modbus message. /// When the message length is N, however only bytes 1..N-2 have to be set. /// The last two message bytes (CRC) may be uninitialized or zero. /// They are calculated inside this function as required by Modbus specification. /// /// Message incl CRC fields, CRC bytes dont have to be set void SendMessage(int preambLen, byte[] message); Queue[] ReceivedTelegrams { get; } } }