Exemple #1
0
 public ConnectionsController(IUserRepository userRep, INetworkRepository networkRep,
                              IGatewayRepository gatewayRep, ISensorRepository sensorRep,
                              IGatewayConnectionRepository connectionRep,
                              ICredentialService credentials, IMapper mapper, IMessageService messages)
 {
     _userRep       = userRep;
     _networkRep    = networkRep;
     _gatewayRep    = gatewayRep;
     _sensorRep     = sensorRep;
     _connectionRep = connectionRep;
     _credentials   = credentials;
     _mapper        = mapper;
     _messages      = messages;
 }
Exemple #2
0
 public SensorsController(IUserRepository userRep, INetworkRepository networkRep,
                          ISensorTypesRepository typeRep, ISensorRepository sensorRep, IGatewayConnectionRepository connetionRep,
                          ICredentialService credentials, IDateTimeService dateTime, IMapper mapper, IMessageService messages)
 {
     _userRep      = userRep;
     _networkRep   = networkRep;
     _typeRep      = typeRep;
     _sensorRep    = sensorRep;
     _connetionRep = connetionRep;
     _credentials  = credentials;
     _dateTime     = dateTime;
     _mapper       = mapper;
     _messages     = messages;
 }
 public ReadingsController(IUserRepository userRep, INetworkRepository networkRep,
                           ISensorRepository sensorRep, IGatewayRepository gatewayRep,
                           IGatewayConnectionRepository connectionRep, ISensorReadingRepository readingRep,
                           ICredentialService credentials, IThrottlerService throttler,
                           IGatewayConnectionService connectionService, IVibrationFilter vibrationFilter,
                           IDateTimeService dateTime, IMapper mapper, IMessageService messages)
 {
     _userRep           = userRep;
     _networkRep        = networkRep;
     _sensorRep         = sensorRep;
     _gatewayRep        = gatewayRep;
     _connectionRep     = connectionRep;
     _readingRep        = readingRep;
     _credentials       = credentials;
     _throttler         = throttler;
     _connectionService = connectionService;
     _vibrationFilter   = vibrationFilter;
     _dateTime          = dateTime;
     _mapper            = mapper;
     _messages          = messages;
 }