Exemplo n.º 1
0
 public QueryAsync(
     ILoggerFactory loggerFactory,
     Contract.Query.S7.IQueryAsync query,
     Contract.Query.S7.ListKeyValue.IQueryAsync queryS7KeyValue,
     Contract.Query.Common.ListKeyValue.IQueryAsync queryKeyValue
     )
 {
     _logger          = loggerFactory.CreateLogger <QueryAsync>();
     _query           = query;
     _queryS7KeyValue = queryS7KeyValue;
     _queryKeyValue   = queryKeyValue;
 }
Exemplo n.º 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;
 }