/// <summary> /// 实现控制反转 /// </summary> /// <param name="reRepos"></param> public Admin_CustomerInfoController(ecoBio.Wms.Backstage.Repositories.ICustomerRepository customerRepos, ecoBio.Wms.Backstage.Repositories.ICustomerCategoryRepository customerCategoryRepos, ecoBio.Wms.Backstage.Repositories.ICustomerEquipmentSpecRepository CustomerEquipmentSpecRepos, ecoBio.Wms.Backstage.Repositories.IEquipmentSpecRepository EquipmentSpecRepos, ecoBio.Wms.Backstage.Repositories.IStandardTipRepository StandardTipRepos, ecoBio.Wms.Backstage.Repositories.IStandardUnitRepository StandardUnitRepos, ecoBio.Wms.Backstage.Repositories.ICustomerConstructionRepository CustomerConstructionRepos, ecoBio.Wms.Backstage.Repositories.IInventoryRepository InventoryRepos, ecoBio.Wms.Backstage.Repositories.IMSpecificationRepository MSpecificationRepos, ecoBio.Wms.Backstage.Repositories.ICustomerBasicDataApplicationRepository BasicDataApplicationRepos, ecoBio.Wms.Backstage.Repositories.IEquipmentKeyParameterLibRepository EquipmentKeyParameterLibRepos, ecoBio.Wms.Backstage.Repositories.IModuleFunctionRepository moduleFunctionRepos, ecoBio.Wms.Backstage.Repositories.ICustomerSOPRepository sopRepos, ecoBio.Wms.Backstage.Repositories.IEquipmentKeyParameterRepository EquipmentKeyParameterRepos) { _customerRepos = new Service.Management.CustomerService(customerRepos); _customerCategoryRepos = new Service.Management.CustomerCategoryService(customerCategoryRepos); _CustomerEquipmentSpecRepos = new Service.Management.CustomerEquipmentSpecService(CustomerEquipmentSpecRepos); _EquipmentSpecRepos = new Service.Management.EquipmentSpecService(EquipmentSpecRepos); _StandardUnitRepos = new Service.Management.StandardUnitService(StandardUnitRepos); _StandardTipRepos = new Service.Management.StandardTipService(StandardTipRepos); _CustomerConstructionRepos = new Service.Management.CustomerConstructionService(CustomerConstructionRepos); _InventoryRepos = new Service.Management.InventoryService(InventoryRepos); _MSpecificationRepos = new Service.Management.MSpecificationService(MSpecificationRepos); _BasicDataApplicationRepos = new Service.Management.CustomerBasicDataApplicationService(BasicDataApplicationRepos); _moduleFunctionRepos = new Service.Management.ModuleFunctionService(moduleFunctionRepos); _CustomerSOPRepos = new Service.Management.CustomerSOPService(sopRepos); _EquipmentKeyParameterLibRepos = new Service.Management.EquipmentKeyParameterLibService(EquipmentKeyParameterLibRepos); _EquipmentKeyParameterRepos = new Service.Management.EquipmentKeyParameterService(EquipmentKeyParameterRepos); }
/// <summary> /// 实现控制反转 /// </summary> /// <param name="moduleFunctionRepos"></param> public Admin_TeachController( ecoBio.Wms.Backstage.Repositories.IStandardUnitRepository StandardUnitRepos, ecoBio.Wms.Backstage.Repositories.IMSpecificationRepository MSpecificationRepos, ecoBio.Wms.Backstage.Repositories.IStandardTipRepository StandardTipRepos, ecoBio.Wms.Backstage.Repositories.IStandardChartRepository StandardChartRepos, ecoBio.Wms.Backstage.Repositories.IStandardReportRepository StandardReportRepos, ecoBio.Wms.Backstage.Repositories.ISupplierRepository SupplierRepos, ecoBio.Wms.Backstage.Repositories.IProcessConstRepository ProcessConstRepos, ecoBio.Wms.Backstage.Repositories.ICollectionPointRepository CollectionPointRepos, ecoBio.Wms.Backstage.Repositories.IEquipmentSpecRepository EquipmentSpecRepos, ecoBio.Wms.Backstage.Repositories.IEquipmentKeyParameterLibRepository EquipmentKeyParameterLibRepos, ecoBio.Wms.Backstage.Repositories.ICustomerConstructionKeyParameterRepository CustomerConstructionKeyParameterRepos, ecoBio.Wms.Backstage.Repositories.ICustomerConstructionRepository CustomerConstructionRepos, ecoBio.Wms.Backstage.Repositories.IEquipmentKeyParameterRepository EquipmentKeyParameterRepos) { _StandardUnitRepos = new Service.Management.StandardUnitService(StandardUnitRepos); _MSpecificationRepos = new Service.Management.MSpecificationService(MSpecificationRepos); _StandardTipRepos = new Service.Management.StandardTipService(StandardTipRepos); _StandardChartRepos = new Service.Management.StandardChartService(StandardChartRepos); _StandardReportRepos = new Service.Management.StandardReportService(StandardReportRepos); _SupplierRepos = new Service.Management.SupplierService(SupplierRepos); _ProcessConstRepos = new Service.Management.ProcessConstService(ProcessConstRepos); _CollectionPointRepos = new Service.Management.CollectionPointService(CollectionPointRepos); _EquipmentSpecRepos = new Service.Management.EquipmentSpecService(EquipmentSpecRepos); _EquipmentKeyParameterLibRepos = new Service.Management.EquipmentKeyParameterLibService(EquipmentKeyParameterLibRepos); _CustomerConstructionKeyParameterRepos = new Service.Management.CustomerConstructionKeyParameterService(CustomerConstructionKeyParameterRepos); _CustomerConstructionRepos = new Service.Management.CustomerConstructionService(CustomerConstructionRepos); _EquipmentKeyParameterRepos = new Service.Management.EquipmentKeyParameterService(EquipmentKeyParameterRepos); }