public void IniciarServico()
        {
            _me = this;

            logger.Info("Iniciando ServicoAutomacaoOrdensTeste");

            _bKeepRunning = true;

            logger.Info("Carregando configuracao e parametros de teste");

            _config = Gradual.OMS.Library.GerenciadorConfig.ReceberConfig <ParametrosTesteConfig>();

            thMonitorRoteador = new Thread(new ThreadStart(MonitorRoteador));
            thMonitorRoteador.Start();

            thProcCallback = new Thread(new ThreadStart(ProcessadorCallback));
            thProcCallback.Start();

            logger.Info("Iniciando scheduler");

            _cron = new CronStyleScheduler();
            _cron.Start();

            _status = ServicoStatus.EmExecucao;
        }
        public static ServicoAutomacaoOrdensTeste GetInstance()
        {
            if (_me == null)
            {
                _me = new ServicoAutomacaoOrdensTeste();
            }

            return(_me);
        }