Example #1
0
        private void InitSiteConfig()
        {
            /**** site config is read from file no need to add */
            _configSource.LoadConfig(DataSourceType.xml);
            //sconnDataShare.removeSites();

            _sconnTask          = new System.Timers.Timer(1000);
            _sconnTask.Elapsed += new ElapsedEventHandler(ProcessSiteUpdates);
            _sconnTask.Interval = 1000;
            // sconnTask.Start();  -disable for network debug
        }
Example #2
0
 public void loadConfig()
 {
     ConfigSource.LoadConfig(DataSourceType.xml);
 }