Пример #1
0
 public MainViewModel()
 {
     _DataBaseManager = new DBManager();
     _comService = new CommunicationService();
     History = new ObservableCollection<SensorDBHistoryViewModel>();
     Graph = new GraphViewModel();
     InitializeCommands();
     //FillTestDB();
 }
Пример #2
0
 public MainViewModel()
 {
     _RequestDate = DateTime.Today;
     _DataBaseManager = new DBManager();
     _comService = new CommunicationService();
     SelectedHistoryItems = new ArrayList();
     History = new ObservableCollection<SensorDBHistoryViewModel>();
     Graph = new GraphViewModel();
     TermoGraph = new TermoGraphViewModel();
     FillHourSource();
     InitializeCommands();
     //FillTestDB();
 }