Exemplo n.º 1
0
 private void EditHistoryItemAction()
 {
     var vm = new EditHistoryViewModel(CurrentHistory.SensorHistory);
     vm.Show();
     CurrentHistory.UpdateItemFull();
 }
Exemplo n.º 2
0
 private void AddHistoryItemAction()
 {
     var h = new SensorDBHistory();
     var vm = new EditHistoryViewModel(h);
     vm.Show();
     if (vm.Result == EditNodeResult.Ok)
     {
         CurrentSensor.History.Add(h);                
     }
 }