private void PLD_Load(object sender, EventArgs e) { _Monitor.StartMonitor(null); // _gServico = Ativador.Get<IServicoMonitorRisco>(); // _Monitor.StartMonitor(null); PreencheComboBox(); }
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); } }
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); }