IInfoSendingService.cs 343 B

123456789101112131415
  1. using RTCommunicatorBase;
  2. using TLVProtocal;
  3. using UniversalNetFrame451.IO;
  4. namespace AlarmInfoServerSim.Services;
  5. public interface IInfoSendingService
  6. {
  7. void Open();
  8. void Send(byte tag, ST_ALARM alarm);
  9. event EventHandler<(bool, TcpConnection)>? ConnectionChanged;
  10. event EventHandler<(ushort, TlvData)>? DataReceived;
  11. }