aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/ViewModelLocator.cs
diff options
context:
space:
mode:
authorRoy Ben-Shabat <Roy@Twine-s.com>2018-02-07 19:50:40 +0200
committerRoy Ben-Shabat <Roy@Twine-s.com>2018-02-07 19:50:40 +0200
commit84a74bd9ea68a3f913e733a470ec64d1f8f50424 (patch)
treed49e0c3d705f592cb81087f46aa0e4c8dffa2ed7 /Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/ViewModelLocator.cs
parentb84ea5c89946d6e21ffa72f913cab3bec5f1d5c6 (diff)
downloadTango-84a74bd9ea68a3f913e733a470ec64d1f8f50424.tar.gz
Tango-84a74bd9ea68a3f913e733a470ec64d1f8f50424.zip
Started working on monitoring view..
Diffstat (limited to 'Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/ViewModelLocator.cs')
-rw-r--r--Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/ViewModelLocator.cs9
1 files changed, 9 insertions, 0 deletions
diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/ViewModelLocator.cs b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/ViewModelLocator.cs
index 46c7ecf00..200c89e19 100644
--- a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/ViewModelLocator.cs
+++ b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/ViewModelLocator.cs
@@ -21,6 +21,7 @@ namespace Tango.MachineStudio.Developer
SimpleIoc.Default.Register<IMainView>(() => MainView.Self);
SimpleIoc.Default.Register<MainViewVM>();
+ SimpleIoc.Default.Register<MonitoringViewVM>();
}
public static MainViewVM MainViewVM
@@ -30,5 +31,13 @@ namespace Tango.MachineStudio.Developer
return ServiceLocator.Current.GetInstance<MainViewVM>();
}
}
+
+ public static MonitoringViewVM MonitoringViewVM
+ {
+ get
+ {
+ return ServiceLocator.Current.GetInstance<MonitoringViewVM>();
+ }
+ }
}
} \ No newline at end of file