public MeterController(IMeterService meterService, IServicesUtils servicesUtils, IEventService eventService) { _meterService = meterService; _servicesUtils = servicesUtils; _eventService = eventService; }
public MeterController(ILogger <MeterController> logger, IUnitOfWork unitOfWork, IMapper mapper, IMeterService meterService) { _mapper = mapper; _logger = logger; _unitOfWork = unitOfWork; _meterService = meterService; }
public LookupController( IRepository <Point> pointRepository, IRepository <MeterEvent> meterEventRepository, ISiteService siteService, ISecurityGroupService securityGroupService, IMeterService meterService, IUserService userService, IAttributeService attributeService, ITechnicianService technicianService, ITeamService teamService, IItemService itemService, IAssetService assetService, IWorkOrderService workOrderService, ILocationService locationService, IStoreService storeService, IServiceRequestService serviceRequestService, ICompanyService companyService) { this._pointRepository = pointRepository; this._meterEventRepository = meterEventRepository; this._siteService = siteService; this._securityGroupService = securityGroupService; this._meterService = meterService; this._userService = userService; this._attributeService = attributeService; this._technicianService = technicianService; this._teamService = teamService; this._itemService = itemService; this._assetService = assetService; this._workOrderService = workOrderService; this._locationService = locationService; this._storeService = storeService; this._serviceRequestService = serviceRequestService; this._companyService = companyService; }
public PointController(IRepository <Point> pointRepository, IRepository <PointMeterLineItem> pointMeterLineItemRepository, IRepository <MeterLineItem> meterLineItemRepository, IRepository <Reading> readingRepository, IRepository <MeterEvent> meterEventRepository, IRepository <MeterEventHistory> meterEventHistoryRepository, IMeterService meterService, IDateTimeHelper dateTimeHelper, ILocalizationService localizationService, IPermissionService permissionService, HttpContextBase httpContext, IWorkContext workContext, IDbContext dbContext) { this._pointRepository = pointRepository; this._pointMeterLineItemRepository = pointMeterLineItemRepository; this._meterLineItemRepository = meterLineItemRepository; this._readingRepository = readingRepository; this._meterEventRepository = meterEventRepository; this._meterEventHistoryRepository = meterEventHistoryRepository; this._meterService = meterService; this._localizationService = localizationService; this._dateTimeHelper = dateTimeHelper; this._permissionService = permissionService; this._httpContext = httpContext; this._workContext = workContext; this._dbContext = dbContext; }
public CommandService(IMeterService meterService, IServicesUtils servicesUtils, IMiddlewareProviderService middlewareProviderService, IMapper mapper, IThreadService threadService, ITicketService ticketService, IEventHubService eventHubService) { _meterService = meterService; _servicesUtils = servicesUtils; _middlewareProviderService = middlewareProviderService; _ticketService = ticketService; _mapper = mapper; _threadService = threadService; _eventHubService = eventHubService; }
public DomainService( IDomainState domainState, IMeterService meterService, IRepository <IMachineAdapter> machineRepository, IRepository <IMonitorAdapter> monitorRepository, IValidator <IMachineAdapter> machineValidator, IValidator <IMonitorAdapter> monitorValidator) { _domainState = domainState.Guard(nameof(domainState)); _meterService = meterService.Guard(nameof(meterService)); _machineRepository = machineRepository.Guard(nameof(machineRepository)); _monitorRepository = monitorRepository.Guard(nameof(monitorRepository)); _machineValidator = machineValidator.Guard(nameof(machineValidator)); _monitorValidator = monitorValidator.Guard(nameof(monitorValidator)); }
public ThreadService(IMqttClientMethods mqttClientMethods, IMqttClientConfiguration mqttClientConfiguration, IOptions <Forwarder> forwarderConfig, IServiceProvider serviceProvider, ISmcService smcService, IOptions <CommandRules> commandRules, IEventService eventService, IForwarderSenderService forwarderSenderService, IMeterService meterService) { _mqttClientConfiguration = mqttClientConfiguration; _mqttClientMethods = mqttClientMethods; _brokerSettings = forwarderConfig.Value.Mqtt.BrokerSettings; _baseClientSettings = forwarderConfig.Value.Mqtt.CommandsBaseClientSettings; _subscribeTopic = forwarderConfig.Value.Mqtt.BaseCommandsSubscribeTopic; _smcService = smcService; _commandRules = commandRules.Value; _eventService = eventService; _eventService.AThreadIsShuttingDown += AThreadIsShuttingDown; _forwarderSenderService = forwarderSenderService; _meterService = meterService; }
public MeterController(IRepository <Meter> meterRepository, IMeterService meterService, IRepository <UnitOfMeasure> unitOfMeasureRepository, ILocalizationService localizationService, IPermissionService permissionService, HttpContextBase httpContext, IWorkContext workContext, IDbContext dbContext) { this._meterRepository = meterRepository; this._localizationService = localizationService; this._meterService = meterService; this._unitOfMeasureRepository = unitOfMeasureRepository; this._permissionService = permissionService; this._httpContext = httpContext; this._workContext = workContext; this._dbContext = dbContext; }
public MiddlewaresMessageHandlerService(IThreadService threadService, IMeterEnergyService meterEnergyService, IMeterService meterService, IMapper mapper, IDeviceLogService deviceLogService, ISmcService smcService, ISmcAlarmService smcAlarmService, IMeterAlarmService meterAlarmService, ISmcUnregisteredService smcUnregisteredService, IModemService modemService, IMeterUnregisteredService meterUnregisteredService, IEventHubService eventHubService) { _threadService = threadService; _meterEnergyService = meterEnergyService; _meterService = meterService; _deviceLogService = deviceLogService; _smcService = smcService; _smcAlarmService = smcAlarmService; _meterAlarmService = meterAlarmService; _smcUnregisteredService = smcUnregisteredService; _meterUnregisteredService = meterUnregisteredService; _modemService = modemService; _mapper = mapper; _eventHubService = eventHubService; }
public MeterReadingController(ILogger <MeterReadingController> logger, IRepository repository, IMeterService meterService) { _logger = logger; _repo = repository; _meterService = meterService; }
public MeterEnergyService(IMapper mapper, IMeterEnergyRepository meterEnergyRepository, IMeterService meterService) { _mapper = mapper; _meterEnergyRepository = meterEnergyRepository; _meterService = meterService; }
public SampleDataController(IMeterService meterService) { this.meterService = meterService; }
public MeterController(IMeterService meterService) { this.meterService = meterService; }
public MeterAlarmService(IMeterAlarmRepository meterAlarmRepository, IMapper mapper, IMeterService meterService) { _meterService = meterService; _meterAlarmRepository = meterAlarmRepository; _mapper = mapper; }
public BuildingService() { this.dbContext = new PowerGridEntities(); this.context = new ContextInfoAccessorService(); this.meterService = new MeterService(); }
public MeterService(string ConnectionString, int key, IMeterService <IMeter <IMeterDocument>, IMeterDocument> next) : this(ConnectionString, key) { _next = next; }
public MeterMiddleware(RequestDelegate next, IMeterService <MeterDocument, Document> service) { this._next = next; _service = service; }
/// <summary> /// Initializes a new instance of the <see cref="MeterController"/> class. /// </summary> public MeterController() { this.meterService = new MeterService(); }
public MetersController(IMeterService meterService) { _meterService = meterService ?? throw new ArgumentNullException(nameof(meterService)); }
/// <summary> /// Initializes a new instance of the <see cref="InsightService"/> class. /// </summary> public InsightService() { this.dbContext = new PowerGridEntities(); this.meterService = new MeterService(); }