示例#1
0
 public SafetyCheckService(Repositories.IRepositories repositories, IGatewayQueuedService gatewayQueuedService, IGpsService gpsService, IInfoService infoService)
 {
     _repositories         = repositories;
     _gatewayQueuedService = gatewayQueuedService;
     _gpsService           = gpsService;
     _infoService          = infoService;
 }
示例#2
0
        public GatewayPollingService(
            IDeviceInfo deviceInfo,
            IHttpService httpService,
            IReachability reachability,
            IRepositories repositories,
            IMvxMessenger messenger,
            IGatewayService gatewayService,
            IGatewayQueuedService gatewayQueuedService,
            IInfoService infoService,
            IDataChunkService dataChunkService,
            ICustomPresenter customPresenter,
            ILoggingService loggingService
            )
        {
            _deviceInfo           = deviceInfo;
            _httpService          = httpService;
            _reachability         = reachability;
            _repositories         = repositories;
            _messenger            = messenger;
            _gatewayService       = gatewayService;
            _gatewayQueuedService = gatewayQueuedService;
            _infoService          = infoService;
            _dataChunkService     = dataChunkService;
            _customPresenter      = customPresenter;

            _deviceRepository = repositories.DeviceRepository;
            _loggingService   = loggingService;
        }
示例#3
0
 public DataChunkService(
     Repositories.IRepositories repositories,
     IGatewayQueuedService gatewayQueuedService,
     IGpsService gpsService,
     ILoggingService loggingService)
 {
     _repositories         = repositories;
     _gatewayQueuedService = gatewayQueuedService;
     _gpsService           = gpsService;
     _loggingService       = loggingService;
 }
示例#4
0
        public ManifestViewModel(IRepositories repositories, INavigationService navigationService, IReachability reachability, IToast toast,
                                 IGatewayPollingService gatewayPollingService, IGatewayQueuedService gatewayQueuedService, IInfoService infoService)
        {
            _mobileDataRepository         = repositories.MobileDataRepository;
            _applicationProfileRepository = repositories.ApplicationRepository;

            _navigationService     = navigationService;
            _reachability          = reachability;
            _toast                 = toast;
            _gatewayPollingService = gatewayPollingService;
            _gatewayQueuedService  = gatewayQueuedService;
            _infoService           = infoService;

            _initialised = true;

            Mvx.Resolve <ICheckForSoftwareUpdates>().Check();

            CreateSections();
        }
示例#5
0
        public PasscodeViewModel(
            IAuthenticationService authenticationService,
            IInfoService infoService,
            ICloseApplication closeApplication,
            IRepositories repositories,
            INavigationService navigationService,
            ILoggingService loggingService,
            IGatewayQueuedService gatewayQueuedService)
        {
            _authenticationService = authenticationService;
            _infoService           = infoService;
            _navigationService     = navigationService;
            _loggingService        = loggingService;

            _repositories            = repositories;
            _currentDriverRepository = repositories.CurrentDriverRepository;
            _closeApplication        = closeApplication;
            _gatewayQueuedService    = gatewayQueuedService;

            Task.Run(() => setCheckInButtonVisibility()).Wait();
        }