IInfoSendingService.cs 415 B

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