/*
         * public  void ChangeTimeFrame(int newTFMinutes)
         * {
         *  _timeIntvlMnts = newTFMinutes;
         *  RebuildCurrentClusters();
         * }
         */

        /// <summary>
        /// Called on start.
        /// Load "flat" data from disk and rebuild clusters.
        ///
        /// </summary>
        private void TaskLoadData()
        {
            _lstAllDeals = _clusterIO.LoadData();

            RebuildClustersM1();
            RebuildCurrentClusters();

            _isDataLoaded = true;
        }
示例#2
0
 private void TaskLoadData()
 {
     try
     {
         _lstLevels = _levelsIO.LoadData();
     }
     catch (Exception e)
     {
         CKernelTerminal.ErrorStatic("UserLevels TaskLoadData", e);
     }
     finally
     {
         _evDataLoaded.Set();
     }
 }