public void Send(byte[] content)
 {
     try
     {
         _client.Send(content);
         SendSuccessed?.Invoke(new DownloadSenderSendEventArgs
         {
             SendContent = content
         });
     }
     catch (Exception ex)
     {
         SendFailed?.Invoke(new DownloadSenderSendEventArgs
         {
             SendContent = content,
             Exception   = ex
         });
     }
 }
 public void Send(byte[] content)
 {
     try
     {
         Thread.Sleep(5);
         _portHelper.SendBytes(content);
         SendSuccessed?.Invoke(new DownloadSenderSendEventArgs
         {
             SendContent = content
         });
     }
     catch (Exception ex)
     {
         SendFailed?.Invoke(new DownloadSenderSendEventArgs
         {
             SendContent = content,
             Exception   = ex
         });
     }
 }