Пример #1
0
 public ReportProblemService(IControlRoomUnitOfWork unitOfWork, IDocumentRunningNoService runningNoService)
 {
     this.unitOfWork = unitOfWork;
     this.reportProblemRepository = unitOfWork.ReportProblemRepository;
     this.pumpRepository          = unitOfWork.PumpRepository;
     this.runningNoService        = runningNoService;
     this.userRepository          = unitOfWork.UserRepository;
 }
 public RoleService(IControlRoomUnitOfWork unitOfWork)
 {
     this.unitOfWork             = unitOfWork;
     roleRepository              = unitOfWork.RoleRepository;
     operationCategoryRepository = unitOfWork.OperationCategoryRepository;
     operationRepository         = unitOfWork.OperationRepository;
     menuRepository              = unitOfWork.MenuRepository;
 }
 public ControlPumpService(IControlRoomUnitOfWork unitOfWork, IAuthorizationService authorizationService)
 {
     this.unitOfWork           = unitOfWork;
     this.pumpRepository       = unitOfWork.PumpRepository;
     this.userGroupRepository  = unitOfWork.UserGroupRepository;
     this.userRepository       = unitOfWork.UserRepository;
     this.authorizationService = authorizationService;
 }
Пример #4
0
 public PumpService(IControlRoomUnitOfWork unitOfWork)
 {
     this.unitOfWork        = unitOfWork;
     pumpModelRepository    = unitOfWork.PumpModelRepository;
     connectionRepository   = unitOfWork.ConnectionRepository;
     locationRepository     = unitOfWork.LocationRepository;
     pumpSpecItemRepository = unitOfWork.PumpSpecItemRepository;
     pumpRepository         = unitOfWork.PumpRepository;
 }
Пример #5
0
 public AuthorizationService(IControlRoomUnitOfWork unitOfWork)
 {
     this.unitOfWork             = unitOfWork;
     operationCategoryRepository = unitOfWork.OperationCategoryRepository;
     operationRepository         = unitOfWork.OperationRepository;
     roleRepository = unitOfWork.RoleRepository;
     userRepository = unitOfWork.UserRepository;
     pageRepository = unitOfWork.PageRepository;
     menuRepository = unitOfWork.MenuRepository;
 }
 public MenuService(IControlRoomUnitOfWork unitOfWork)
 {
     this.unitOfWork = unitOfWork;
     menuRepository  = unitOfWork.MenuRepository;
     userRepository  = unitOfWork.UserRepository;
 }
Пример #7
0
 public ConnectionService(IControlRoomUnitOfWork unitOfWork)
 {
     this.unitOfWork      = unitOfWork;
     connectionRepository = unitOfWork.ConnectionRepository;
 }
 public FileService(IControlRoomUnitOfWork unitOfWork)
 {
     this.unitOfWork          = unitOfWork;
     fileAttachmentRepository = unitOfWork.FileAttachmentRepository;
 }
 public DocumentRunningNoService(IControlRoomUnitOfWork unitOfWork)
 {
     this.unitOfWork = unitOfWork;
     this.documentRunningNoRepository = unitOfWork.DocumentRunningNoRepository;
 }
Пример #10
0
 public SyncDataService(ILogger logger, IControlRoomUnitOfWork unitOfWork)
 {
     this.logger     = logger;
     this.unitOfWork = unitOfWork;
     pumpRepository  = unitOfWork.PumpRepository;
 }
Пример #11
0
 public UserService(IControlRoomUnitOfWork unitOfWork)
 {
     this.unitOfWork = unitOfWork;
 }
Пример #12
0
 public SiteServiceService(IControlRoomUnitOfWork unitOfWork)
 {
     this.unitOfWork       = unitOfWork;
     siteServiceRepository = unitOfWork.SiteServiceRepository;
 }
 public NotifyStateService(ILogger logger, IControlRoomUnitOfWork unitOfWork)
 {
     this.logger     = logger;
     this.unitOfWork = unitOfWork;
     pumpRepository  = unitOfWork.PumpRepository;
 }
Пример #14
0
 public LocationService(IControlRoomUnitOfWork unitOfWork)
 {
     this.unitOfWork    = unitOfWork;
     locationRepository = unitOfWork.LocationRepository;
     provinceRepository = unitOfWork.ProvinceRepository;
 }
Пример #15
0
 public UserGroupService(IControlRoomUnitOfWork unitOfWork)
 {
     this.unitOfWork     = unitOfWork;
     userGroupRepository = unitOfWork.UserGroupRepository;
     userRepository      = unitOfWork.UserRepository;
 }
 public AuthenticationController(IControlRoomUnitOfWork unitOfWork)
 {
     this.unitOfWork = unitOfWork;
 }