Beispiel #1
0
        public DataProcessingHelper(FdrManager mngr)
        {
            m_Type           = "";
            RecordersManager = mngr;

            Graphs = new List <Graph>();
            m_Metrical2ImperialConverter = new MetricalToImperialConverter();
            m_Imperial2MetricalConverter = new ImperialToMetricalConverter();

            RecordersManager.OnDataCollected       += onDataCollected;
            RecordersManager.OnStartDataCollecting += onStartDataCollecting;
            RecordersManager.OnRecorderFailure     += onRecorderFailure;
            RecordersManager.OnTotalFailure        += onTotalFailure;
        }
        public CompareHelper()
        {
            m_Metrica    = Metrica.Metric;
            m_Graphs     = new List <KeyValuePair <string, List <Graph> > >();
            m_Dimensions = new Dictionary <string, int>();
            m_Sources    = new ObservableCollection <CompareSource>();
            m_Sources.CollectionChanged += OnSourcesChanged;

            m_AvailableOrdinates = new ObservableCollection <CheckedListItem <string> >();
            m_AvailableSources   = new ObservableCollection <CheckedListItem <string> >();

            m_Imperical2MetricalConverter = new ImperialToMetricalConverter();
            m_Metrical2ImperialConverter  = new MetricalToImperialConverter();
        }