IInfoSendingService.cs 427 B

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