//**************************************************************************** Por JC
        void tmpServicio_Elapsed_HDR_DTL_Carrito(object sender, ElapsedEventArgs e) //carrito de compras
        {
            ConfigurationManager.RefreshSection("appSettings");                     // Primero actualiza seccion
            try
            {
                if (ConfigurationManager.AppSettings["process_HDR_HDL_carrito"] == "1")
                {
                    // verificar si el servicio se esta ejecutando
                    if (wenproceso_HDR_DTL == 0)
                    {
                        wenproceso_HDR_DTL = 1;
                        Pedidos_Carrito ohdr_dtl = new Pedidos_Carrito();
                        bool            exito    = ohdr_dtl.Genera_Interface_Carrito_Maestro(); // maestros de carrito

                        if (exito == false)
                        {
                            ohdr_dtl.Genera_Interface_Carrito_Pedido(); // orden de pedidos de carrito
                        }

                        wenproceso_HDR_DTL = 0;
                    }
                }
            }
            catch (Exception ex)
            {
                //ex.Message.ToString();
                wenproceso_HDR_DTL = 0;
            }
        }
 //**************************************************************************** Por JC
 void tmpServicio_Elapsed_HDR_DTL(object sender, ElapsedEventArgs e)  //carrito de compras
 {
     try
     {
         if (ConfigurationManager.AppSettings["process_HDR_HDL"] == "1")
         {
             // verificar si el servicio se esta ejecutando
             if (wenproceso_HDR_DTL == 0)
             {
                 wenproceso_HDR_DTL = 1;
                 Pedidos_Carrito ohdr_dtl = new Pedidos_Carrito();
                 ohdr_dtl.Genera_Interface_OrdDesp();
                 wenproceso_HDR_DTL = 0;
             }
         }
     }
     catch (Exception)
     {
         wenproceso_HDR_DTL = 0;
     }
 }