Esempio n. 1
0
 public SysDepartmentController(ISysDepartmentService sysDepartmentService, IUnitOfWork unitOfWork,
                                IUserInfo userInfo)
 {
     _sysDepartmentService = sysDepartmentService;
     _unitOfWork           = unitOfWork;
     _userInfo             = userInfo;
 }
Esempio n. 2
0
 public SysDepartmentController(ISysDepartmentService sysDepartmentService, IUnitOfWork unitOfWork,
     IUserInfo userInfo)
 {
     _sysDepartmentService = sysDepartmentService;
     _unitOfWork = unitOfWork;
     _userInfo = userInfo;
 }
Esempio n. 3
0
 public ChatController(IUserInfo iUserInfo, ISysSignalRService iSysSignalRService,
     ISysDepartmentService iSysDepartmentService)
 {
     _iUserInfo = iUserInfo;
     _iSysSignalRService = iSysSignalRService;
     _iSysDepartmentService = iSysDepartmentService;
 }
 public ChatController(IUserInfo iUserInfo, ISysSignalRService iSysSignalRService,
                       ISysDepartmentService iSysDepartmentService)
 {
     _iUserInfo             = iUserInfo;
     _iSysSignalRService    = iSysSignalRService;
     _iSysDepartmentService = iSysDepartmentService;
 }
 public PlanReportController(ISysDepartmentService iSysDepartmentService, IPlanService iPlanService,
                             ISysUserService iSysUserService, IUserInfo iUserInfo)
 {
     _iSysDepartmentService = iSysDepartmentService;
     _iPlanService          = iPlanService;
     _ISysUserService       = iSysUserService;
     _IUserInfo             = iUserInfo;
 }
 public ProjectTaskReportController(ISysDepartmentService iSysDepartmentService,
     IProjectTaskService iProjectTaskService, ISysUserService iSysUserService, IUserInfo iUserInfo)
 {
     _iSysDepartmentService = iSysDepartmentService;
     _iProjectTaskService = iProjectTaskService;
     _iSysUserService = iSysUserService;
     _iUserInfo = iUserInfo;
 }
Esempio n. 7
0
 public ProjectTaskReportController(ISysDepartmentService iSysDepartmentService,
                                    IProjectTaskService iProjectTaskService, ISysUserService iSysUserService, IUserInfo iUserInfo)
 {
     _iSysDepartmentService = iSysDepartmentService;
     _iProjectTaskService   = iProjectTaskService;
     _iSysUserService       = iSysUserService;
     _iUserInfo             = iUserInfo;
 }
Esempio n. 8
0
 public PlanReportController(ISysDepartmentService iSysDepartmentService, IPlanService iPlanService,
     ISysUserService iSysUserService, IUserInfo iUserInfo)
 {
     _iSysDepartmentService = iSysDepartmentService;
     _iPlanService = iPlanService;
     _ISysUserService = iSysUserService;
     _IUserInfo = iUserInfo;
 }
 public AccountController(ApplicationUserManager userManager, ISysDepartmentService iDepartmentService, ISysDepartmentSysUserService iSysDepartmentSysUserService, ApplicationSignInManager signInManager
                          , ICityService iCityService)
 {
     UserManager                   = userManager;
     SignInManager                 = signInManager;
     _iCityService                 = iCityService;
     _iDepartmentService           = iDepartmentService;
     _iSysDepartmentSysUserService = iSysDepartmentSysUserService;
 }
Esempio n. 10
0
 /// <summary>
 /// </summary>
 public AccountController()
 {
     _sysUserService       = AhnqIotContainer.Container.Resolve <ISysUserService>();
     _sysDepartmentService = AhnqIotContainer.Container.Resolve <ISysDepartmentService>();
     _sysRoleService       = AhnqIotContainer.Container.Resolve <ISysRoleService>();
     ViewBag.SysRole       = _sysRoleService.GetAll();
     ViewBag.SysDepart     = _sysDepartmentService.GetAll();
     //no code
 }
 public TrainingPeopleController(ISysDepartmentService iDepartmentService, IUnitOfWork unitOfWork, IUserInfo iUserInfo, ITrainingTypeService trainingTypeService, ITrainingRelationService trainingRelationService, ISysDepartmentSysUserService iSysDepartmentSysUserService)
 {
     _unitOfWork                   = unitOfWork;
     _iUserInfo                    = iUserInfo;
     _trainingTypeService          = trainingTypeService;
     _trainingRelationService      = trainingRelationService;
     _iSysDepartmentSysUserService = iSysDepartmentSysUserService;
     _iDepartmentService           = iDepartmentService;
 }
 public WorkReportController(ISysDepartmentService iSysDepartmentService, IPlanService iPlanService,
                             ISysUserService iSysUserService, IUserInfo iUserInfo, IProjectTaskService iProjectTaskService)
 {
     _iSysDepartmentService = iSysDepartmentService;
     _iPlanService          = iPlanService;
     _ISysUserService       = iSysUserService;
     _IUserInfo             = iUserInfo;
     _iProjectTaskService   = iProjectTaskService;
 }
Esempio n. 13
0
 public MyProjectTaskController(IUserInfo iUserInfo, IProjectTaskService iProjectTaskService,
     IProjectInfoService iProjectInfoService, IUnitOfWork unitOfWork,
     ISysDepartmentService iSysDepartmentService, IMessenger iMessenger)
 {
     _iUserInfo = iUserInfo;
     _iProjectTaskService = iProjectTaskService;
     _iProjectInfoService = iProjectInfoService;
     _unitOfWork = unitOfWork;
     _iSysDepartmentService = iSysDepartmentService;
     _iMessenger = iMessenger;
 }
 public MyProjectTaskController(IUserInfo iUserInfo, IProjectTaskService iProjectTaskService,
                                IProjectInfoService iProjectInfoService, IUnitOfWork unitOfWork,
                                ISysDepartmentService iSysDepartmentService, IMessenger iMessenger)
 {
     _iUserInfo             = iUserInfo;
     _iProjectTaskService   = iProjectTaskService;
     _iProjectInfoService   = iProjectInfoService;
     _unitOfWork            = unitOfWork;
     _iSysDepartmentService = iSysDepartmentService;
     _iMessenger            = iMessenger;
 }
Esempio n. 15
0
 public AccountController(ISysRoleService isysRoleService, ITrainService iTrainService, ISysUserService iSysUserService, IUnitOfWork iUnitOfWork, IUserInfo iUserInfo, ISysDepartmentService iDepartmentService, ISysDepartmentSysUserService iSysDepartmentSysUserService)
 {
     _iSysUserService = iSysUserService;
     _iUnitOfWork     = iUnitOfWork;
     _iUserInfo       = iUserInfo;
     _emailService    = new EmailService();
     _iSysDepartmentSysUserService = iSysDepartmentSysUserService;
     _iDepartmentService           = iDepartmentService;
     _iTrainService   = iTrainService;
     _isysRoleService = isysRoleService;
 }
Esempio n. 16
0
 public MyCreateWorkController(IProjectInfoService iProjectInfoService, IUserInfo iUserInfo, IUnitOfWork unitOfWork, IProjectTaskService iProjectTaskService, ISysUserService iSysUserService, IProjectUserService iProjectUserService, ISysDepartmentService iSysDepartmentService, IProjectInfoStateService iProjectInfoStateService, ICustomerService iCustomerService)
 {
     _iProjectInfoService      = iProjectInfoService;
     _iUserInfo                = iUserInfo;
     _unitOfWork               = unitOfWork;
     _iProjectTaskService      = iProjectTaskService;
     _iSysUserService          = iSysUserService;
     _iProjectUserService      = iProjectUserService;
     _iSysDepartmentService    = iSysDepartmentService;
     _iProjectInfoStateService = iProjectInfoStateService;
     _iCustomerService         = iCustomerService;
 }
Esempio n. 17
0
 public MyCreateWorkController(IProjectInfoService iProjectInfoService, IUserInfo iUserInfo, IUnitOfWork unitOfWork, IProjectTaskService iProjectTaskService, ISysUserService iSysUserService, IProjectUserService iProjectUserService, ISysDepartmentService iSysDepartmentService, IProjectInfoStateService iProjectInfoStateService, ICustomerService iCustomerService)
 {
     _iProjectInfoService = iProjectInfoService;
     _iUserInfo = iUserInfo;
     _unitOfWork = unitOfWork;
     _iProjectTaskService = iProjectTaskService;
     _iSysUserService = iSysUserService;
     _iProjectUserService = iProjectUserService;
     _iSysDepartmentService = iSysDepartmentService;
     _iProjectInfoStateService = iProjectInfoStateService;
     _iCustomerService = iCustomerService;
 }
Esempio n. 18
0
 public SysUserTest(ISysAreaService sysAreaService, ISysDepartmentService sysDepartmentService, ISysRoleService sysRoleService, ISysUserService sysUserService, IAreaStationService areaStationService,
                    IFacilityService facilityService,
                    IDeviceTypeService deviceTypeService)
 {
     _sysAreaService       = sysAreaService;
     _sysDepartmentService = sysDepartmentService;
     _sysRoleService       = sysRoleService;
     _sysUserService       = sysUserService;
     _areaStationService   = areaStationService;
     _facilityService      = facilityService;
     _deviceTypeService    = deviceTypeService;
 }
 public SysUserController(IUnitOfWork unitOfWork, ISysDepartmentService sysDepartmentService,
                          ISysDepartmentSysUserService sysDepartmentSysUserService,
                          ISysUserService sysUserService, ISysRoleService sysRoleService,
                          ISysRoleSysUserService sysRoleSysUserService)
 {
     _unitOfWork                  = unitOfWork;
     _sysDepartmentService        = sysDepartmentService;
     _sysDepartmentSysUserService = sysDepartmentSysUserService;
     _sysUserService              = sysUserService;
     _sysRoleService              = sysRoleService;
     _sysRoleSysUserService       = sysRoleSysUserService;
 }
Esempio n. 20
0
 public SysUserController(IUnitOfWork unitOfWork, ISysDepartmentService sysDepartmentService,
     ISysDepartmentSysUserService sysDepartmentSysUserService,
     ISysUserService sysUserService, ISysRoleService sysRoleService,
     ISysRoleSysUserService sysRoleSysUserService)
 {
     _unitOfWork = unitOfWork;
     _sysDepartmentService = sysDepartmentService;
     _sysDepartmentSysUserService = sysDepartmentSysUserService;
     _sysUserService = sysUserService;
     _sysRoleService = sysRoleService;
     _sysRoleSysUserService = sysRoleSysUserService;
 }
Esempio n. 21
0
 public CameraDeviceJob()
 {
     LoadLib();
     DisplayName                           = "实景定时拍照工作组件";
     JobInterval                           = _period * 60;
     _cameraStationsService                = AhnqIotContainer.Container.Resolve <ICameraStationsService>();
     _sysDepartmentService                 = AhnqIotContainer.Container.Resolve <ISysDepartmentService>();
     _cameraStationPresetPointService      = AhnqIotContainer.Container.Resolve <ICameraStationPresetPointService>();
     _pictureRepService                    = AhnqIotContainer.Container.Resolve <IPictureRepService>();
     _cameraStationPicsService             = AhnqIotContainer.Container.Resolve <ICameraStationPicsService>();
     _cameraStationRunLogService           = AhnqIotContainer.Container.Resolve <ICameraStationRunLogService>();
     _cameraStationOnlineStatisticsService = AhnqIotContainer.Container.Resolve <ICameraStationOnlineStatisticsService>();
 }
Esempio n. 22
0
 /// <summary>
 /// </summary>
 /// <param name="unitOfWork"></param>
 /// <param name="sysUserService"></param>
 /// <param name="sysRoleService"></param>
 /// <param name="iDepartmentService"></param>
 /// <param name="iUserInfo"></param>
 /// <param name="iSysEnterpriseSysUserService"></param>
 /// <param name="iSysEnterpriseService"></param>
 /// <param name="iSysDepartmentSysUserService"></param>
 public SysUserController(IUnitOfWork unitOfWork, ISysUserService sysUserService, ISysRoleService sysRoleService,
                          ISysDepartmentService iDepartmentService, ISysEnterpriseService iSysEnterpriseService, IUserInfo iUserInfo,
                          ISysEnterpriseSysUserService iSysEnterpriseSysUserService,
                          ISysDepartmentSysUserService iSysDepartmentSysUserService)
 {
     _unitOfWork                   = unitOfWork;
     _sysUserService               = sysUserService;
     _sysRoleService               = sysRoleService;
     _iDepartmentService           = iDepartmentService;
     _iSysEnterpriseService        = iSysEnterpriseService;
     _iUserInfo                    = iUserInfo;
     _iSysEnterpriseSysUserService = iSysEnterpriseSysUserService;
     _iSysDepartmentSysUserService = iSysDepartmentSysUserService;
 }
Esempio n. 23
0
 /// <summary>
 /// </summary>
 /// <param name="unitOfWork">
 /// </param>
 /// <param name="sysRoleService">
 /// </param>
 /// <param name="iDepartmentService">
 /// </param>
 /// <param name="iUserInfo">
 /// </param>
 /// <param name="iSysDepartmentSysUserService">
 /// </param>
 /// <param name="userManager">
 /// </param>
 /// <param name="iEmailSender">
 /// </param>
 /// <param name="iSysUserRoleService">
 /// </param>
 /// <param name="sysUserService">
 /// </param>
 /// <param name="logger">
 /// </param>
 public SysUserController(IUnitOfWork unitOfWork, RoleManager <IdentityRole> sysRoleService,
                          ISysDepartmentService iDepartmentService, IUserInfo iUserInfo, UserManager <IdentityUser> userManager, IEmailSender iEmailSender, ISysUserRoleService iSysUserRoleService, ISysUserService sysUserService, ILogger <SysUserController> logger, ISysDepartmentSysUserService iSysDepartmentSysUserService)
 {
     _unitOfWork          = unitOfWork;
     _sysRoleService      = sysRoleService;
     _iDepartmentService  = iDepartmentService;
     _iUserInfo           = iUserInfo;
     _userManager         = userManager;
     _iEmailSender        = iEmailSender;
     _iSysUserRoleService = iSysUserRoleService;
     SysUserService       = sysUserService;
     _logger = logger;
     _iSysDepartmentSysUserService = iSysDepartmentSysUserService;
 }
 public CustomerController(ICustomerService iCustomerService, IUserInfo iUserInfo, IUnitOfWork unitOfWork,
                           ICustomerLevelService iCustomerLevelService, ICustomerTypeService iCustomerTypeService,
                           ITagService iTagService, IBusinessStateService iBusinessStateService,
                           ISysDepartmentService iSysDepartmentService, IBusinessChanceService iBusinessChanceService,
                           ICustomerBusinessChanceService iCustomerBusinessChanceService)
 {
     _iCustomerService               = iCustomerService;
     _iUserInfo                      = iUserInfo;
     _unitOfWork                     = unitOfWork;
     _iCustomerLevelService          = iCustomerLevelService;
     _iCustomerTypeService           = iCustomerTypeService;
     _iTagService                    = iTagService;
     _iBusinessStateService          = iBusinessStateService;
     _iSysDepartmentService          = iSysDepartmentService;
     _iBusinessChanceService         = iBusinessChanceService;
     _iCustomerBusinessChanceService = iCustomerBusinessChanceService;
 }
Esempio n. 25
0
 public CustomerController(ICustomerService iCustomerService, IUserInfo iUserInfo, IUnitOfWork unitOfWork,
     ICustomerLevelService iCustomerLevelService, ICustomerTypeService iCustomerTypeService,
     ITagService iTagService, IBusinessStateService iBusinessStateService,
     ISysDepartmentService iSysDepartmentService, IBusinessChanceService iBusinessChanceService,
     ICustomerBusinessChanceService iCustomerBusinessChanceService)
 {
     _iCustomerService = iCustomerService;
     _iUserInfo = iUserInfo;
     _unitOfWork = unitOfWork;
     _iCustomerLevelService = iCustomerLevelService;
     _iCustomerTypeService = iCustomerTypeService;
     _iTagService = iTagService;
     _iBusinessStateService = iBusinessStateService;
     _iSysDepartmentService = iSysDepartmentService;
     _iBusinessChanceService = iBusinessChanceService;
     _iCustomerBusinessChanceService = iCustomerBusinessChanceService;
 }
        /// <summary>
        ///     实例化一个redis客户端
        /// </summary>
        //private RedisClient RedisClient;
        /// <summary>
        ///     分析图片定时器
        /// </summary>
        //private TimerX _processPicsTimerX;

        public CompanyCameraDeviceJob()
        {
            // LoadLib();
            DisplayName                            = "企业定时拍照工作组件";
            JobInterval                            = _period * 60;
            _farmService                           = AhnqIotContainer.Container.Resolve <IFarmService>();
            _companyService                        = AhnqIotContainer.Container.Resolve <ICompanyService>();
            _sysDepartmentService                  = AhnqIotContainer.Container.Resolve <ISysDepartmentService>();
            _facilityService                       = AhnqIotContainer.Container.Resolve <IFacilityService>();
            _facilityCameraService                 = AhnqIotContainer.Container.Resolve <IFacilityCameraService>();
            _facilityCameraPresetPoinService       = AhnqIotContainer.Container.Resolve <IFacilityCameraPresetPointService>();
            _pictureRepService                     = AhnqIotContainer.Container.Resolve <IPictureRepService>();
            _facilityPicsRepService                = AhnqIotContainer.Container.Resolve <IFacilityPicsService>();
            _facilityCameraRunLogRepService        = AhnqIotContainer.Container.Resolve <IFacilityCameraRunLogService>();
            _facilityCameraRunStatisticsRepService = AhnqIotContainer.Container.Resolve <IFacilityCameraRunStatisticsService>();
            //初始化RedisClient
            //RedisClient = RedisClient.DefaultDB;
            _deviceService = AhnqIotContainer.Container.Resolve <IDeviceService>();
        }
Esempio n. 27
0
 public SysDepartmentController(ISysDepartmentService iDepartmentService, IUnitOfWork unitOfWork)
 {
     _iDepartmentService = iDepartmentService;
     _unitOfWork         = unitOfWork;
 }
 public DepartmentController(ISysDepartmentService sysDepartmentService)
 {
     this.sysDepartmentService = sysDepartmentService;
 }
 public SysDepartmentController(ILogger <SysAccountController> logger, ISysDepartmentService service, IRedisMangerService redisManger)
 {
     _logger      = logger;
     _service     = service;
     _redisManger = redisManger;
 }
 public SysDepartmentController(ISysDepartmentService departmentService)
 {
     _departmentService = departmentService;
 }