aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.DB/ViewModelLocator.cs
diff options
context:
space:
mode:
authorRoy Ben-Shabat <Roy@Twine-s.com>2018-02-26 15:29:37 +0200
committerRoy Ben-Shabat <Roy@Twine-s.com>2018-02-26 15:29:37 +0200
commit76fd65594e3c7434be615036ea569a1f8907a648 (patch)
treedce0fd8c3214af20e15ea34586b39d1a9280c8b1 /Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.DB/ViewModelLocator.cs
parent6549d8672a93893599e921d9f1938af7dcabb8bf (diff)
downloadTango-76fd65594e3c7434be615036ea569a1f8907a648.tar.gz
Tango-76fd65594e3c7434be615036ea569a1f8907a648.zip
Added DB Tables.
TECH_HEATERS DANCER_TYPES MOTOR_TYPES HARDWARE_VERSIONS_MOTOR_TYPES HARDWARE_VERSIONS_DANCER_TYPES Implemented Dancers & motors on DB Module.
Diffstat (limited to 'Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.DB/ViewModelLocator.cs')
-rw-r--r--Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.DB/ViewModelLocator.cs37
1 files changed, 37 insertions, 0 deletions
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<ProcessParametersTablesViewVM>();
SimpleIoc.Default.Register<ProcessParametersTablesGroupsViewVM>();
+
+ SimpleIoc.Default.Register<MotorTypesViewVM>();
+ SimpleIoc.Default.Register<DancerTypesViewVM>();
+ SimpleIoc.Default.Register<HardwareVersionsDancerTypeViewVM>();
+ SimpleIoc.Default.Register<HardwareVersionsMotorTypesViewVM>();
}
public static MainViewVM MainViewVM
@@ -367,5 +372,37 @@ namespace Tango.MachineStudio.DB
return ServiceLocator.Current.GetInstance<IdsPackFormulasViewVM>();
}
}
+
+ public static MotorTypesViewVM MotorTypesViewVM
+ {
+ get
+ {
+ return ServiceLocator.Current.GetInstance<MotorTypesViewVM>();
+ }
+ }
+
+ public static DancerTypesViewVM DancerTypesViewVM
+ {
+ get
+ {
+ return ServiceLocator.Current.GetInstance<DancerTypesViewVM>();
+ }
+ }
+
+ public static HardwareVersionsDancerTypeViewVM HardwareVersionsDancerTypeViewVM
+ {
+ get
+ {
+ return ServiceLocator.Current.GetInstance<HardwareVersionsDancerTypeViewVM>();
+ }
+ }
+
+ public static HardwareVersionsMotorTypesViewVM HardwareVersionsMotorTypesViewVM
+ {
+ get
+ {
+ return ServiceLocator.Current.GetInstance<HardwareVersionsMotorTypesViewVM>();
+ }
+ }
}
} \ No newline at end of file