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