diff options
| author | Roy Ben-Shabat <Roy@Twine-s.com> | 2018-02-07 19:50:40 +0200 |
|---|---|---|
| committer | Roy Ben-Shabat <Roy@Twine-s.com> | 2018-02-07 19:50:40 +0200 |
| commit | 84a74bd9ea68a3f913e733a470ec64d1f8f50424 (patch) | |
| tree | d49e0c3d705f592cb81087f46aa0e4c8dffa2ed7 /Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/ViewModelLocator.cs | |
| parent | b84ea5c89946d6e21ffa72f913cab3bec5f1d5c6 (diff) | |
| download | Tango-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.cs | 9 |
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 |
