aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Native/Tango.ProtoTest/PMR/StubMotorStopRequest.pb.h
diff options
context:
space:
mode:
Diffstat (limited to 'Software/Visual_Studio/Native/Tango.ProtoTest/PMR/StubMotorStopRequest.pb.h')
0 files changed, 0 insertions, 0 deletions
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tango.Core.DI;
using Tango.FSE.PPCConsole.ViewModels;

namespace Tango.FSE.PPCConsole
{
    public static class ViewModelLocator
    {
        static ViewModelLocator()
        {
            TangoIOC.Default.Register<MainViewVM>();
            TangoIOC.Default.Register<ConsoleViewVM>();
            TangoIOC.Default.Register<RemoteDesktopViewVM>();
            TangoIOC.Default.Register<MonitoringViewVM>();
            TangoIOC.Default.Register<FileSystemViewVM>();
            TangoIOC.Default.Register<UpdatesViewVM>();
            TangoIOC.Default.Register<LogsViewVM>();
        }

        public static MainViewVM MainViewVM
        {
            get
            {
                return TangoIOC.Default.GetInstance<MainViewVM>();
            }
        }

        public static ConsoleViewVM ConsoleViewVM
        {
            get
            {
                return TangoIOC.Default.GetInstance<ConsoleViewVM>();
            }
        }

        public static RemoteDesktopViewVM RemoteDesktopViewVM
        {
            get
            {
                return TangoIOC.Default.GetInstance<RemoteDesktopViewVM>();
            }
        }

        public static MonitoringViewVM MonitoringViewVM
        {
            get
            {
                return TangoIOC.Default.GetInstance<MonitoringViewVM>();
            }
        }

        public static FileSystemViewVM FileSystemViewVM
        {
            get
            {
                return TangoIOC.Default.GetInstance<FileSystemViewVM>();
            }
        }

        public static UpdatesViewVM UpdatesViewVM
        {
            get
            {
                return TangoIOC.Default.GetInstance<UpdatesViewVM>();
            }
        }

        public static LogsViewVM LogsViewVM
        {
            get
            {
                return TangoIOC.Default.GetInstance<LogsViewVM>();
            }
        }
    }
}