コード例 #1
0
 private void EditSensorAction()
 {
     var vm = new EditSensorViewModel(CurrentSensor, CurrentProbe);
     vm.Show();
 }
コード例 #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;
     }
 }