/// <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="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);
        }
Exemplo n.º 3
0
 /// <summary>
 /// 实现控制反转
 /// </summary>
 /// <param name="reRepos"></param>
 public Admin_RightsController(ecoBio.Wms.Backstage.Repositories.IRoleRepository roleRepos,
                               ecoBio.Wms.Backstage.Repositories.IDynamicToken tokenRepos,
                               ecoBio.Wms.Backstage.Repositories.IUserRepository userRepos,
                               ecoBio.Wms.Backstage.Repositories.IModuleFunctionRepository moduleFunctionRepos, ecoBio.Wms.Backstage.Repositories.IEmployeeRepository employeeRepos,
                               ecoBio.Wms.Backstage.Repositories.ICustomerRepository customerRepos,
                               ecoBio.Wms.Backstage.Repositories.IDepartmentListRepository departmentListRepos
                               )
 {
     _tokenRepos          = new Service.Management.DynamicTokenService(tokenRepos);
     _roleRepos           = new Service.Management.RoleService(roleRepos);
     _userRepos           = new Service.Management.UserService(userRepos);
     _moduleFunctionRepos = new Service.Management.ModuleFunctionService(moduleFunctionRepos);
     _customerRepos       = new Service.Management.CustomerService(customerRepos);
     _employeeservice     = new Service.Management.EmployeeService(employeeRepos);
     _departmentListRepos = new Service.Management.DepartmentListService(departmentListRepos);
 }
Exemplo n.º 4
0
 /// <summary>
 /// 实现控制反转
 /// </summary>
 /// <param name="reRepos"></param>
 public Admin_RightsController(ecoBio.Wms.Backstage.Repositories.IRoleRepository roleRepos,
     ecoBio.Wms.Backstage.Repositories.IDynamicToken tokenRepos,
     ecoBio.Wms.Backstage.Repositories.IUserRepository userRepos,           
     ecoBio.Wms.Backstage.Repositories.IModuleFunctionRepository moduleFunctionRepos, ecoBio.Wms.Backstage.Repositories.IEmployeeRepository employeeRepos,
     ecoBio.Wms.Backstage.Repositories.ICustomerRepository customerRepos,
       ecoBio.Wms.Backstage.Repositories.IDepartmentListRepository departmentListRepos
     )
 {
     _tokenRepos = new Service.Management.DynamicTokenService(tokenRepos);
     _roleRepos = new Service.Management.RoleService(roleRepos);
     _userRepos = new Service.Management.UserService(userRepos);
     _moduleFunctionRepos = new Service.Management.ModuleFunctionService(moduleFunctionRepos);
     _customerRepos = new Service.Management.CustomerService(customerRepos);
     _employeeservice = new Service.Management.EmployeeService(employeeRepos);
     _departmentListRepos = new Service.Management.DepartmentListService(departmentListRepos);
 }
 /// <summary>
 /// 实现控制反转
 /// </summary>
 /// <param name="moduleFunctionRepos"></param>
 public AdminWmsManagementController(ecoBio.Wms.Backstage.Repositories.IModuleFunctionRepository moduleFunctionRepos)
 {
     _ModuleFunctionRepos = new Service.Management.ModuleFunctionService(moduleFunctionRepos);
 }
 /// <summary>
 /// 实现控制反转
 /// </summary>
 /// <param name="moduleFunctionRepos"></param>
 public Admin_SysConfigurationController(ecoBio.Wms.Backstage.Repositories.IModuleFunctionRepository moduleFunctionRepos,
     ecoBio.Wms.Backstage.Repositories.IDataDictionary dataDictionaryRepos)
 {
     _ModuleFunctionRepos = new Service.Management.ModuleFunctionService(moduleFunctionRepos);
     _dataDictionaryRepos = new Service.Management.DataDictionaryService(dataDictionaryRepos);
 }
 /// <summary>
 /// 实现控制反转
 /// </summary>
 /// <param name="moduleFunctionRepos"></param>
 public Admin_SysConfigurationController(ecoBio.Wms.Backstage.Repositories.IModuleFunctionRepository moduleFunctionRepos,
                                         ecoBio.Wms.Backstage.Repositories.IDataDictionary dataDictionaryRepos)
 {
     _ModuleFunctionRepos = new Service.Management.ModuleFunctionService(moduleFunctionRepos);
     _dataDictionaryRepos = new Service.Management.DataDictionaryService(dataDictionaryRepos);
 }
Exemplo n.º 8
0
 /// <summary>
 /// 实现控制反转
 /// </summary>
 /// <param name="moduleFunctionRepos"></param>
 public AdminWmsManagementController(ecoBio.Wms.Backstage.Repositories.IModuleFunctionRepository moduleFunctionRepos)
 {
     _ModuleFunctionRepos = new Service.Management.ModuleFunctionService(moduleFunctionRepos);
 }