/// <summary> /// ctor /// </summary> public OmcCdrHandler() { m_db = new OmcCdrDb(); // the the path where to move processed files m_filemovePath = ConfigurationManager.AppSettings["OmcCdrHandlerMoveFolder"]; }
public void StartProcessing() { // inits InitializeFromConfig(); m_db = new OmcCdrDb(); // launch the file control processing thread m_procThread = new Thread(new ThreadStart(ProcessFileControlThread)); m_procThread.Start(); }
/// <summary> /// ctor /// </summary> public OmcCiberHandler() { m_db = new OmcCdrDb(); m_ciberDb = new CiberDbMgr(); m_ciberCreator = CiberFileCreator.Instance; m_bworksFormatter = new CdrFormatter(); // the the path where to move processed files m_filemovePath = ConfigurationManager.AppSettings["OmcCiberHandlerMoveFolder"]; m_ciberOutputFileName = ConfigurationManager.AppSettings["CiberOutputFileName"]; // directory where the ciber file will be m_ciberDirectory = ConfigurationManager.AppSettings["CiberFileDirectory"]; }