From d27a0bac82a94b9f7cc380b03cc4c73012aaacd7 Mon Sep 17 00:00:00 2001 From: Roy Ben-Shabat Date: Wed, 7 Feb 2018 16:18:30 +0200 Subject: Changes Sensors Table to IOS. Added IO TYPE field for IOS Table. --- .../Modules/Tango.MachineStudio.Developer/Views/MainView.xaml | 2 +- .../Modules/Tango.MachineStudio.Developer/Views/MainView.xaml.cs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/Views') diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/Views/MainView.xaml b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/Views/MainView.xaml index 820c5bb18..f92f96160 100644 --- a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/Views/MainView.xaml +++ b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/Views/MainView.xaml @@ -1796,7 +1796,7 @@ - + diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/Views/MainView.xaml.cs b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/Views/MainView.xaml.cs index 1df4728d3..9a0a4dc0e 100644 --- a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/Views/MainView.xaml.cs +++ b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/Views/MainView.xaml.cs @@ -106,9 +106,9 @@ namespace Tango.MachineStudio.Developer.Views private void OnDropAvailableSensor(object sender, DropEventArgs e) { - if (e.Draggable.DataContext is Sensor) + if (e.Draggable.DataContext is Io) { - _vm.OnDropAvailableSensor(e.Draggable.DataContext as Sensor); + _vm.OnDropAvailableSensor(e.Draggable.DataContext as Io); } } -- cgit v1.3.1