public EntityService(IEntityRepository entityRepository, ILogger logger, IDeviceRepository deviceRepository) { _logger = logger; _entityRepository = entityRepository; _deviceRepository = deviceRepository; _iotConnectClient = new IotConnectClient(SolutionConfiguration.BearerToken, SolutionConfiguration.Configuration.EnvironmentCode, SolutionConfiguration.Configuration.SolutionKey); }
public RoleService(IRoleRepository userRoleRepository, ILogger logger, IUserRepository userRepository) { _logger = logger; _roleRepository = userRoleRepository; _userRepository = userRepository; _iotConnectClient = new IotConnectClient(SolutionConfiguration.BearerToken, SolutionConfiguration.Configuration.EnvironmentCode, SolutionConfiguration.Configuration.SolutionKey); }
public NotificationsService(INotificationsRepository notificationsRepository, IKitTypeService kitTypeService, LogHandler.Logger logger) { _logger = logger; _inotificationsrepository = notificationsRepository; _kitTypeService = kitTypeService; _iotConnectClient = new IotConnectClient(SolutionConfiguration.BearerToken, SolutionConfiguration.Configuration.EnvironmentCode, SolutionConfiguration.Configuration.SolutionKey); }
public ElevatorMaintenanceService(IElevatorMaintenanceRepository entityMaintenanceRepository, IEntityRepository entityRepository, ILogger logger) { _logger = logger; _elevatorMaintenanceRepository = entityMaintenanceRepository; _entityRepository = entityRepository; _iotConnectClient = new IotConnectClient(SolutionConfiguration.BearerToken, SolutionConfiguration.Configuration.EnvironmentCode, SolutionConfiguration.Configuration.SolutionKey); }
public LocationService(ILocationRepository locationRepository, LogHandler.Logger logger, IGeneratorRepository generatorRepository, IGeneratorService generatorService) { _logger = logger; _locationRepository = locationRepository; _generatorRepository = generatorRepository; _iotConnectClient = new IotConnectClient(component.helper.SolutionConfiguration.BearerToken, component.helper.SolutionConfiguration.Configuration.EnvironmentCode, component.helper.SolutionConfiguration.Configuration.SolutionKey); _generatorService = generatorService; }
public DeviceService(IDeviceRepository deviceRepository, ILookupService lookupService, IHardwareKitRepository hardwareKitRepository, LogHandler.Logger logger) { _logger = logger; _deviceRepository = deviceRepository; _lookupService = lookupService; _hardwareKitRepository = hardwareKitRepository; _iotConnectClient = new IotConnectClient(SolutionConfiguration.BearerToken, SolutionConfiguration.Configuration.EnvironmentCode, SolutionConfiguration.Configuration.SolutionKey); }
public GreenHouseService(IGreenHouseRepository greenHouseRepository, ICropRepository cropRepository, LogHandler.Logger logger, IDeviceRepository deviceRepository) { _logger = logger; _greenHouseRepository = greenHouseRepository; _cropRepository = cropRepository; _deviceRepository = deviceRepository; _iotConnectClient = new IotConnectClient(SolutionConfiguration.BearerToken, SolutionConfiguration.Configuration.EnvironmentCode, SolutionConfiguration.Configuration.SolutionKey); }
public SubscriberService(LogHandler.Logger logger, IHardwareKitRepository hardwareKitRepository, IUserRepository userRepository, ICompanyRepository companyRepository) { _logger = logger; _hardwareKitRepository = hardwareKitRepository; _companyRepository = companyRepository; _userRepository = userRepository; _subscriberHelper = new SubscriberHelper(logger); _iotConnectClient = new IotConnectClient(SolutionConfiguration.BearerToken, SolutionConfiguration.Configuration.EnvironmentCode, SolutionConfiguration.Configuration.SolutionKey); }
public LookupService(LogHandler.Logger logManager, IDeviceRepository deviceRepository, IkitTypeCommandRepository kitTypeCommandRepository , IEntityRepository entityRepository, IHardwareKitRepository hardwareKitRepository , ICompanyRepository companyRepository , IKitTypeRepository kitTypeRepository, IKitTypeAttributeRepository kitTypeAttributeRepository) { _logger = logManager; _deviceRepository = deviceRepository; _kitTypeCommandRepository = kitTypeCommandRepository; _entityRepository = entityRepository; _hardwareKitRepository = hardwareKitRepository; _companyRepository = companyRepository; _kitTypeAttributeRepository = kitTypeAttributeRepository; _kitTypeRepository = kitTypeRepository; _iotConnectClient = new IotConnectClient(SolutionConfiguration.BearerToken, SolutionConfiguration.Configuration.EnvironmentCode, SolutionConfiguration.Configuration.SolutionKey); }
public LookupService(LogHandler.Logger logManager, IGeneratorRepository deviceRepository, IkitTypeCommandRepository kitTypeCommandRepository , ILocationRepository locationRepository, IHardwareKitRepository hardwareKitRepository , ICompanyRepository companyRepository , IKitTypeRepository kitTypeRepository, IKitTypeAttributeRepository kitTypeAttributeRepository) { _logger = logManager; _deviceRepository = deviceRepository; _kitTypeCommandRepository = kitTypeCommandRepository; _locationRepository = locationRepository; _hardwareKitRepository = hardwareKitRepository; _companyRepository = companyRepository; _kitTypeAttributeRepository = kitTypeAttributeRepository; _kitTypeRepository = kitTypeRepository; _iotConnectClient = new IotConnectClient(component.helper.SolutionConfiguration.BearerToken, component.helper.SolutionConfiguration.Configuration.EnvironmentCode, component.helper.SolutionConfiguration.Configuration.SolutionKey); }
public UserService(IUserRepository userRepository, LogHandler.Logger logManager) { _logger = logManager; _userRepository = userRepository; _iotConnectClient = new IotConnectClient(component.helper.SolutionConfiguration.BearerToken, component.helper.SolutionConfiguration.Configuration.EnvironmentCode, component.helper.SolutionConfiguration.Configuration.SolutionKey); }
public RuleService(INotificationsRepository notificationsRepository, LogHandler.Logger logger) { _notificationsRepository = notificationsRepository; _logger = logger; _iotConnectClient = new IotConnectClient(SolutionConfiguration.BearerToken, SolutionConfiguration.Configuration.EnvironmentCode, SolutionConfiguration.Configuration.SolutionKey); }