public DeviceMeasurementsUserControl()
 {
     InitializeComponent();
     this.Loaded += new RoutedEventHandler(DeviceMeasurementsUserControl_Loaded);
     this.Unloaded += new RoutedEventHandler(DeviceMeasurementsUserControl_Unloaded);
     m_dataForBinding = new DeviceMeasurementDataForBinding();
     m_deviceMeasurementDataList = new ObservableCollection<DeviceMeasurementData>();
 }
Example #2
0
 public DeviceMeasurementsUserControl()
 {
     InitializeComponent();
     this.Loaded                += new RoutedEventHandler(DeviceMeasurementsUserControl_Loaded);
     this.Unloaded              += new RoutedEventHandler(DeviceMeasurementsUserControl_Unloaded);
     m_dataForBinding            = new DeviceMeasurementDataForBinding();
     m_deviceMeasurementDataList = new ObservableCollection <DeviceMeasurementData>();
 }
        ConcurrentDictionary<string, ConcurrentQueue<double>> m_yAxisDataCollection; //contains source data for the binding collection. Format is <signalID, collection of values from subscription API>.

        #endregion Fields

        #region Constructors

        public InputStatusUserControl()
        {
            InitializeComponent();
            this.Loaded += new RoutedEventHandler(InputStatusUserControl_Loaded);
            this.Unloaded += new RoutedEventHandler(InputStatusUserControl_Unloaded);
            m_yAxisDataCollection = new ConcurrentDictionary<string, ConcurrentQueue<double>>();
            m_yAxisBindingCollection = new ConcurrentDictionary<string, EnumerableDataSource<double>>();
            m_dataForBinding = new DeviceMeasurementDataForBinding();
            m_deviceMeasurementDataList = new ObservableCollection<DeviceMeasurementData>();
            m_selectedMeasurements = new ConcurrentDictionary<string, MeasurementInfo>();
            m_lineGraphCollection = new ConcurrentDictionary<string, LineGraph>();
            m_currentValuesList = new Dictionary<string, InputMonitorData>();
            m_timeStampList = new ConcurrentQueue<string>();
            m_minMaxPointIDs = new KeyValuePair<int, int>();
            m_deviceIDsWithStatusPointIDs = new Dictionary<int, int>();
        }