Пример #1
0
 public EntranceStatus GetParkStatus()
 {
     try
     {
         if (_Channel != null)
         {
             return(_Channel.GetParkStatus());
         }
     }
     catch (CommunicationException)
     {
         if (ParkAdapterConnectFail != null)
         {
             ParkAdapterConnectFail(this, EventArgs.Empty);
         }
     }
     catch (Exception ex)
     {
         Ralid.GeneralLibrary.ExceptionHandling.ExceptionPolicy.HandleException(ex);
     }
     return(EntranceStatus.UnKnown);
 }