public DevicesController(
            IDeviceCommunicationService deviceCommunicationService,
            DeviceCommunicationExtJsWeb.GpsCommunicationService.IGpsCommunicationContract gpsCommunicationContract,
            
            IDeviceRepository deviceRepository,
            IPacketRepository packetRepository,
            IEventRepository eventRepository,
            ICurrentEventRepository currentEventRepository,
            IRequstAckCommandRepository requstAckCommandRepository,
            ICacheDataRepository cacheDataRepository,
            
            IDeviceStateDocuments deviceStateDocuments,
            
            IDailyMileageRepository dailyMileageRepository,
            IGeoPointRepository geoPointRepository,
            ILogDocuments logDocuments)
        {
            DeviceCommunicationService = deviceCommunicationService;

            DeviceRepository = deviceRepository;
            PacketRepository = packetRepository;
            EventRepository = eventRepository;
            CurrentEventRepository = currentEventRepository;
            RequstAckCommandRepository = requstAckCommandRepository;
            CacheDataRepository = cacheDataRepository;

            DeviceStateDocuments = deviceStateDocuments;

            GpsCommunicationContract = gpsCommunicationContract;

            DailyMileageRepository = dailyMileageRepository;
            GeoPointRepository = geoPointRepository;

            LogDocuments = logDocuments;
        }
Ejemplo n.º 2
0
 public AreaService(IMapper mapper)
 {
     _areaRepository     = new AreaRepository();
     _locationRepository = new LocationRepository();
     _geopointRepository = new GeoPointRepository();
     _mapper             = mapper;
 }
Ejemplo n.º 3
0
 public void SetUp()
 {
     _repository = new GeoPointRepository();
 }
Ejemplo n.º 4
0
 public GeoPointService(IGeoPointRepository geoPointRepository, IUnitOfWork unit)
 {
     _geoPointRepository = geoPointRepository;
     _unit = unit;
 }