Beispiel #1
0
 public QueryAsync(
     ILoggerFactory loggerFactory,
     Domain.Repository.S7.IConnection s7ConnectionRepository,
     Domain.Repository.S7.ITag s7TagRepository
     )
 {
     _logger = loggerFactory.CreateLogger <QueryAsync>();
     _s7ConnectionRepository = s7ConnectionRepository;
     _s7TagRepository        = s7TagRepository;
 }
Beispiel #2
0
 public QueryAsync(
     ILoggerFactory loggerFactory,
     IMapper mapper,
     Domain.Repository.S7.IConnection s7ConnectionRepository,
     Domain.Repository.S7.ITag s7TagRepository,
     Contract.Query.Common.ListKeyValue.IQueryAsync queryListKeyValue,
     Contract.Query.S7.ListKeyValue.IQueryAsync queryS7ListKeyValue
     )
 {
     _logger = loggerFactory.CreateLogger <QueryAsync>();
     _mapper = mapper;
     _s7ConnectionRepository = s7ConnectionRepository;
     _s7TagRepository        = s7TagRepository;
     _queryListKeyValue      = queryListKeyValue;
     _queryS7ListKeyValue    = queryS7ListKeyValue;
 }