コード例 #1
0
        private void PLD_Load(object sender, EventArgs e)
        {
            _Monitor.StartMonitor(null);

            // _gServico = Ativador.Get<IServicoMonitorRisco>();

            // _Monitor.StartMonitor(null);

            PreencheComboBox();
        }
コード例 #2
0
        public void IniciarServico()
        {
            try
            {
                //log4net.Config.XmlConfigurator.Configure();

                _Monitor.StartMonitor(true);
                Thread.Sleep(2000);

                logger.Info("Monitor Iniciado com sucesso.");
                _ServiceStatus = ServicoStatus.EmExecucao;
            }
            catch (Exception ex)
            {
                logger.Error(ex.Message, ex);
            }
        }
コード例 #3
0
ファイル: Form1.cs プロジェクト: radtek/Gradual
        private void Form1_Load(object sender, EventArgs e)
        {
            //_MonitorCompliance.IniciarServico();
            //_MonitorCompliance.StartLoadSuitability(null, false);
            //_MonitorCompliance.StartLoadComplianceChurning(null, false);
            //_MonitorCompliance.StartLoadSuitability(null, true);
            //_MonitorCompliance.StartLoadComplianceChurningAvulso(new DateTime(2014, 6, 3));

            //_Monitor.TotalCustodiaMonitorIntradiario(47787, 47787);
            // _gServico = Ativador.Get<IServicoMonitorRisco>();
            //_Monitor._bKeepRunning = true;
            //_Monitor
            _Monitor.StartMonitor(null);
            //_Monitor.ObterCotacaoAbertura();
            //_Monitor.ObterItemsMonitor();
            //_MonitorCompliance.CarregarMonitoresMemoria(new object());

            //  _Monitor.ObterRelacaoPLD(null);
        }