//@Brief Establece la actualización periódica //@Param[in] infoUpdatePeriodicTime Información de la actualización periódica public void SetUpdatePeriodicTime(dc_InfoUpdatePeriodicTime infoUpdatePeriodicTime) { try { m_mutexHostControllerEndpoints.WaitOne(); foreach (EndpointAddress ep in m_hostControllerEndpoints) { BasicHttpBinding binding = new BasicHttpBinding(BasicHttpSecurityMode.None); JBCHostControllerServiceClient serviceclient = new JBCHostControllerServiceClient(binding, ep); serviceclient.Open(); bool bok = serviceclient.SetUpdatePeriodicTime(infoUpdatePeriodicTime); serviceclient.Close(); } } catch (Exception ex) { LoggerModule.logger.Error(System.Reflection.MethodInfo.GetCurrentMethod().Name + ". Error: " + ex.Message); } finally { m_mutexHostControllerEndpoints.ReleaseMutex(); } }