Beispiel #1
0
 private void EditSensorAction()
 {
     var vm = new EditSensorViewModel(CurrentSensor, CurrentProbe);
     vm.Show();
 }
Beispiel #2
0
 private void AddSensorAction()
 {
     var s = new SensorDBItem();
     var vm = new EditSensorViewModel(s, CurrentProbe);
     vm.Show();
     if (vm.Result == EditNodeResult.Ok)
     {
         CurrentProbe.Sensors.Add(s);
         CurrentSensor = s;
     }
 }