コード例 #1
0
 public Processor(Hashtable AgentsListFromServerObj, ListView listViewAgentsListObj, Hashtable AgentsTimerObj)
 {
     _logger = SMLogManager.GetLogger("trg.sm.si.unify.UnifySimulator.processor");
     AgentsListFromServer = AgentsListFromServerObj;
     listViewAgentsList   = listViewAgentsListObj;
     agentsTimer          = AgentsTimerObj;
     InitializeComponents();
 }
コード例 #2
0
 private void Start()
 {
     SMLogManager.Initialize();
     _logger = SMLogManager.GetLogger("trg.sm.si.unify.UnifySimulator.main");
     _logger.Info("StartUp Thread started");
     dataGridCallDetail.RowPostPaint += new DataGridViewRowPostPaintEventHandler(dataGridCallDetail_RowPostPaint);
     loginObjectTable = new Hashtable();
     AgentsTimer      = new Hashtable();
     ConnectToServer();
     _logger.Info("Server Connected successfully Connected");
     AdminLogon();
     _logger.Info("Admin logged in successfully");
     _logger.Info("Exitting StartUp Thread");
     loadBox.Hide();
 }