public bool Register1_RouteExists(cRoute pRoute, string pAddress) { try { return(cLogic.RouteExists(pRoute, ref mIP, ref mRoutesXML, ref mVehicles_sumo, pAddress)); } catch (TimeoutException lTimeNapaka) { cNonServiceLogic.ThrowNapaka(lTimeNapaka.StackTrace, lTimeNapaka.Message); return(false); } catch (FaultException <FaultNapaka> lFENapaka) { cNonServiceLogic.ThrowNapaka(lFENapaka.StackTrace, lFENapaka.Message); return(false); } catch (CommunicationException lComNapaka) { cNonServiceLogic.ThrowNapaka(lComNapaka.StackTrace, lComNapaka.Message); return(false); } catch (Exception lEx) { cNonServiceLogic.ThrowNapaka(lEx.StackTrace, lEx.Message); return(false); } }
public cRoute Register1_ShortestRoute(cRoute pXmlRoutes, string pStart, string pEnd) { return(cLogic.ShortestRoute(mRoutesXML, pStart, pEnd)); }