Beispiel #1
0
 public bool Deinit()
 {
     if (comport != null)
     {
         return(comport.ClosePort());
     }
     return(false);
 }
 public bool Deinit()
 {
     try
     {
         comport.ClosePort();
         return(true);
     }
     catch (Exception ex)
     {
         throw;
     }
 }