Beispiel #1
0
 public bool AddEntrance(EntranceInfo info)
 {
     try
     {
         if (_Channel != null)
         {
             return(_Channel.AddEntrance(info));
         }
     }
     catch (CommunicationException)
     {
         if (ParkAdapterConnectFail != null)
         {
             ParkAdapterConnectFail(this, EventArgs.Empty);
         }
     }
     catch (Exception ex)
     {
         Ralid.GeneralLibrary.ExceptionHandling.ExceptionPolicy.HandleException(ex);
     }
     return(false);
 }