From 76fd65594e3c7434be615036ea569a1f8907a648 Mon Sep 17 00:00:00 2001 From: Roy Ben-Shabat Date: Mon, 26 Feb 2018 15:29:37 +0200 Subject: Added DB Tables. TECH_HEATERS DANCER_TYPES MOTOR_TYPES HARDWARE_VERSIONS_MOTOR_TYPES HARDWARE_VERSIONS_DANCER_TYPES Implemented Dancers & motors on DB Module. --- .../Tango.MachineStudio.DB/ViewModelLocator.cs | 37 ++++++++++++++++++++++ 1 file changed, 37 insertions(+) (limited to 'Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.DB/ViewModelLocator.cs') diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.DB/ViewModelLocator.cs b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.DB/ViewModelLocator.cs index 46223d9f4..13fd85122 100644 --- a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.DB/ViewModelLocator.cs +++ b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.DB/ViewModelLocator.cs @@ -62,6 +62,11 @@ namespace Tango.MachineStudio.DB SimpleIoc.Default.Register(); SimpleIoc.Default.Register(); + + SimpleIoc.Default.Register(); + SimpleIoc.Default.Register(); + SimpleIoc.Default.Register(); + SimpleIoc.Default.Register(); } public static MainViewVM MainViewVM @@ -367,5 +372,37 @@ namespace Tango.MachineStudio.DB return ServiceLocator.Current.GetInstance(); } } + + public static MotorTypesViewVM MotorTypesViewVM + { + get + { + return ServiceLocator.Current.GetInstance(); + } + } + + public static DancerTypesViewVM DancerTypesViewVM + { + get + { + return ServiceLocator.Current.GetInstance(); + } + } + + public static HardwareVersionsDancerTypeViewVM HardwareVersionsDancerTypeViewVM + { + get + { + return ServiceLocator.Current.GetInstance(); + } + } + + public static HardwareVersionsMotorTypesViewVM HardwareVersionsMotorTypesViewVM + { + get + { + return ServiceLocator.Current.GetInstance(); + } + } } } \ No newline at end of file -- cgit v1.3.1