using GalaSoft.MvvmLight;
using GalaSoft.MvvmLight.Ioc;
using Microsoft.Practices.ServiceLocation;
using Tango.MachineStudio.DB.ViewModels;
namespace Tango.MachineStudio.DB
{
///
/// This class contains static references to all the view models in the
/// application and provides an entry point for the bindings.
///
public static class ViewModelLocator
{
///
/// Initializes a new instance of the ViewModelLocator class.
///
static ViewModelLocator()
{
ServiceLocator.SetLocatorProvider(() => SimpleIoc.Default);
SimpleIoc.Default.Register();
SimpleIoc.Default.Register();
SimpleIoc.Default.Register();
SimpleIoc.Default.Register();
SimpleIoc.Default.Register();
SimpleIoc.Default.Register();
SimpleIoc.Default.Register();
SimpleIoc.Default.Register();
SimpleIoc.Default.Register();
SimpleIoc.Default.Register();
SimpleIoc.Default.Register();
SimpleIoc.Default.Register();
SimpleIoc.Default.Register();
SimpleIoc.Default.Register();
SimpleIoc.Default.Register();
SimpleIoc.Default.Register();
SimpleIoc.Default.Register();
SimpleIoc.Default.Register();
SimpleIoc.Default.Register();
SimpleIoc.Default.Register();
SimpleIoc.Default.Register();
SimpleIoc.Default.Register();
SimpleIoc.Default.Register();
SimpleIoc.Default.Register();
SimpleIoc.Default.Register();
SimpleIoc.Default.Register();
SimpleIoc.Default.Register();
SimpleIoc.Default.Register();
SimpleIoc.Default.Register();
SimpleIoc.Default.Register();
SimpleIoc.Default.Register();
SimpleIoc.Default.Register();
SimpleIoc.Default.Register();
SimpleIoc.Default.Register();
SimpleIoc.Default.Register();
SimpleIoc.Default.Register();
SimpleIoc.Default.Register();
SimpleIoc.Default.Register();
SimpleIoc.Default.Register();
SimpleIoc.Default.Register();
SimpleIoc.Default.Register();
}
public static MainViewVM MainViewVM
{
get
{
return ServiceLocator.Current.GetInstance();
}
}
public static MachinesViewVM MachinesViewVM
{
get
{
return ServiceLocator.Current.GetInstance();
}
}
public static OrganizationsViewVM OrganizationsViewVM
{
get
{
return ServiceLocator.Current.GetInstance();
}
}
public static AddressesViewVM AddressesViewVM
{
get
{
return ServiceLocator.Current.GetInstance();
}
}
public static UsersViewVM UsersViewVM
{
get
{
return ServiceLocator.Current.GetInstance();
}
}
public static RolesViewVM RolesViewVM
{
get
{
return ServiceLocator.Current.GetInstance();
}
}
public static PermissionsViewVM PermissionsViewVM
{
get
{
return ServiceLocator.Current.GetInstance();
}
}
public static MachineVersionsViewVM MachineVersionsViewVM
{
get
{
return ServiceLocator.Current.GetInstance();
}
}
public static ConfigurationsViewVM ConfigurationsViewVM
{
get
{
return ServiceLocator.Current.GetInstance();
}
}
public static ApplicationDisplayPanelVersionsViewVM ApplicationDisplayPanelVersionsViewVM
{
get
{
return ServiceLocator.Current.GetInstance();
}
}
public static ApplicationFirmwareVersionsViewVM ApplicationFirmwareVersionsViewVM
{
get
{
return ServiceLocator.Current.GetInstance();
}
}
public static ApplicationOsVersionsViewVM ApplicationOsVersionsViewVM
{
get
{
return ServiceLocator.Current.GetInstance();
}
}
public static ApplicationVersionsViewVM ApplicationVersionsViewVM
{
get
{
return ServiceLocator.Current.GetInstance();
}
}
public static EmbeddedFirmwareVersionsViewVM EmbeddedFirmwareVersionsViewVM
{
get
{
return ServiceLocator.Current.GetInstance();
}
}
public static EmbeddedSoftwareVersionsViewVM EmbeddedSoftwareVersionsViewVM
{
get
{
return ServiceLocator.Current.GetInstance();
}
}
public static HardwareVersionsViewVM HardwareVersionsViewVM
{
get
{
return ServiceLocator.Current.GetInstance();
}
}
public static IdsPacksViewVM IdsPacksViewVM
{
get
{
return ServiceLocator.Current.GetInstance();
}
}
public static DispenserTypesViewVM DispenserTypesViewVM
{
get
{
return ServiceLocator.Current.GetInstance();
}
}
public static LiquidTypesViewVM LiquidTypesViewVM
{
get
{
return ServiceLocator.Current.GetInstance();
}
}
public static CartridgeTypesViewVM CartridgeTypesViewVM
{
get
{
return ServiceLocator.Current.GetInstance();
}
}
public static EventTypesViewVM EventTypesViewVM
{
get
{
return ServiceLocator.Current.GetInstance();
}
}
public static ActionTypesViewVM ActionTypesViewVM
{
get
{
return ServiceLocator.Current.GetInstance();
}
}
public static ContactsViewVM ContactsViewVM
{
get
{
return ServiceLocator.Current.GetInstance();
}
}
public static MediaMaterialsViewVM MediaMaterialsViewVM
{
get
{
return ServiceLocator.Current.GetInstance();
}
}
public static MediaColorsViewVM MediaColorsViewVM
{
get
{
return ServiceLocator.Current.GetInstance();
}
}
public static MediaPurposesViewVM MediaPurposesViewVM
{
get
{
return ServiceLocator.Current.GetInstance();
}
}
public static MediaConditionsViewVM MediaConditionsViewVM
{
get
{
return ServiceLocator.Current.GetInstance();
}
}
public static LinearMassDensityUnitsViewVM LinearMassDensityUnitsViewVM
{
get
{
return ServiceLocator.Current.GetInstance();
}
}
public static FiberShapesViewVM FiberShapesViewVM
{
get
{
return ServiceLocator.Current.GetInstance();
}
}
public static FiberSynthsViewVM FiberSynthsViewVM
{
get
{
return ServiceLocator.Current.GetInstance();
}
}
public static RmlsViewVM RmlsViewVM
{
get
{
return ServiceLocator.Current.GetInstance();
}
}
public static CctsViewVM CctsViewVM
{
get
{
return ServiceLocator.Current.GetInstance();
}
}
public static CatsViewVM CatsViewVM
{
get
{
return ServiceLocator.Current.GetInstance();
}
}
public static MidTankTypesViewVM MidTankTypesViewVM
{
get
{
return ServiceLocator.Current.GetInstance();
}
}
public static LiquidTypesRmlsViewVM LiquidTypesRmlViewVM
{
get
{
return ServiceLocator.Current.GetInstance();
}
}
public static ProcessParametersTablesViewVM ProcessParametersTablesViewVM
{
get
{
return ServiceLocator.Current.GetInstance();
}
}
public static ProcessParametersTablesGroupsViewVM ProcessParametersTablesGroupsViewVM
{
get
{
return ServiceLocator.Current.GetInstance();
}
}
public static IdsPackFormulasViewVM IdsPackFormulasViewVM
{
get
{
return ServiceLocator.Current.GetInstance();
}
}
public static HardwareMotorTypesViewVM HardwareMotorTypesViewVM
{
get
{
return ServiceLocator.Current.GetInstance();
}
}
public static HardwareDancerTypesViewVM HardwareDancerTypesViewVM
{
get
{
return ServiceLocator.Current.GetInstance();
}
}
public static HardwarePidControlTypesViewVM HardwarePidControlTypesViewVM
{
get
{
return ServiceLocator.Current.GetInstance();
}
}
}
}