Exemple #1
0
 public ViewLackAmountPageViewModel(INavigationService navigationService,
                                    IBarcodeReaderService barcodeReaderService,
                                    IStatusBarService statusBarService)
     : base(navigationService, barcodeReaderService, statusBarService)
 {
     Model = new ViewLackAmountModel();
 }
Exemple #2
0
        public PackingListLandingInputPageViewModel(INavigationService navigationService,
                                                    IBarcodeReaderService barcodeReaderService,
                                                    IStatusBarService statusBarService,
                                                    INotificationService notificationService,
                                                    IPopupNavigation popupNavigation,
                                                    IUserService userService,
                                                    ICommonService commonService,
                                                    ILandingService landingService,
                                                    IWifiService wifiService,
                                                    ILabelValidationService labelValidationService)
            : base(navigationService, barcodeReaderService, statusBarService)
        {
            _notificationService    = notificationService;
            _popupNavigation        = popupNavigation;
            _userService            = userService;
            _commonService          = commonService;
            _landingService         = landingService;
            _wifiService            = wifiService;
            _labelValidationService = labelValidationService;

            Model = new PackingListLandingInputModel();
            MenuAdtionalButtons = new Dictionary <string, DelegateCommand>();

            CancelPackLanding         += ExecuteCancelPackLanding;
            CancelBillOfLadingLanding += ExecuteCancelBillOfLadingLanding;
            PauseLanding  += ExecutePauseLanding;
            EndingProcess += ExecuteEndingProcess;
        }
        public PackingListAccessoriesInputPageViewModel(INavigationService navigationService,
                                                        IBarcodeReaderService barcodeReaderService,
                                                        IStatusBarService statusBarService,
                                                        IUserService userService,
                                                        INotificationService notificationService,
                                                        IPopupNavigation popupNavigation,
                                                        ICommonService commonService,
                                                        IBoardingAccessoryService boardingAccessoryService,
                                                        IWifiService wifiService,
                                                        IBoardingService boardingService)
            : base(navigationService, barcodeReaderService, statusBarService)
        {
            _userService              = userService;
            _notificationService      = notificationService;
            _popupNavigation          = popupNavigation;
            _commonService            = commonService;
            _boardingAccessoryService = boardingAccessoryService;
            _wifiService              = wifiService;
            _boardingService          = boardingService;

            Model = new PackingListAccessoriesInputModel();

            ClosePackingListAccessory  += ExecuteClosePackingListAccessory;
            CancelPackBoarding         += ExecuteCancelPackBoarding;
            CancelBillOfLadingBoarding += ExecuteCancelBillOfLadingBoarding;
        }
Exemple #4
0
 public ViewLackDetailPageViewModel(INavigationService navigationService,
                                    IBarcodeReaderService barcodeReaderService,
                                    IStatusBarService statusBarService)
     : base(navigationService, barcodeReaderService, statusBarService)
 {
     PackingListDetailViewInfo = new List <PackingListDetailViewInfoModel>();
 }
 public PackingListBoardingWeightViewPageViewModel(INavigationService navigationService,
                                                   IBarcodeReaderService barcodeReaderService,
                                                   IStatusBarService statusBarService)
     : base(navigationService, barcodeReaderService, statusBarService)
 {
     Model = new PackingListBoardingWeightViewModel();
 }
Exemple #6
0
        public BarcodeEntryViewModel(IBarcodeReaderService barcodeReaderService,
                                     ILabelValidationService labelValidationService)
        {
            _barcodeReaderService  = barcodeReaderService;
            LabelValidationService = labelValidationService;

            DisableBarcodeReader();
        }
Exemple #7
0
 public ConfirmationRandomPopupPageViewModel(INavigationService navigationService,
                                             IBarcodeReaderService barcodeReaderService,
                                             IStatusBarService statusBarService)
     : base(navigationService, barcodeReaderService, statusBarService)
 {
     CallBackData            = new Dictionary <string, object>();
     Text                    = "INFORME A SEQUÊNCIA ABAIXO PARA CONFIRMAR.";
     ConfirmationRandomValue = new Random().Next(1000, 9999).ToString();
 }
Exemple #8
0
        public RequestTrafficScheduleDateInputPopupPageViewModel(INavigationService navigationService,
                                                                 IBarcodeReaderService barcodeReaderService,
                                                                 IStatusBarService statusBarService,
                                                                 INotificationService notificationService)
            : base(navigationService, barcodeReaderService, statusBarService)
        {
            _notificationService = notificationService;

            Text = "Escala";
        }
 public RequestPalletsViewPopupPageViewModel(INavigationService navigationService,
                                             IBarcodeReaderService barcodeReaderService,
                                             IStatusBarService statusBarService,
                                             IUserService userService,
                                             IBoardingAccessoryService boardingAccessoryService)
     : base(navigationService, barcodeReaderService, statusBarService)
 {
     _userService = userService;
     _boardingAccessoryService = boardingAccessoryService;
 }
Exemple #10
0
        public ViewModelBase(INavigationService navigationService,
                             IBarcodeReaderService barcodeReaderService,
                             IStatusBarService statusBarService)
        {
            NavigationService    = navigationService;
            BarcodeReaderService = barcodeReaderService;
            StatusBarService     = statusBarService;

            StatusBarService.HideStatusBar();

            DisableBarcodeReader();
        }
        public RequestWarehousePasswordInputPopupPageViewModel(INavigationService navigationService,
                                                               IBarcodeReaderService barcodeReaderService,
                                                               IStatusBarService statusBarService,
                                                               INotificationService notificationService,
                                                               ICommonService commonService)
            : base(navigationService, barcodeReaderService, statusBarService)
        {
            _notificationService = notificationService;
            _commonService       = commonService;

            CallBackData = new Dictionary <string, object>();
        }
        public ProcessTypeMenuPageViewModel(INavigationService navigationService,
                                            IBarcodeReaderService barcodeReaderService,
                                            IStatusBarService statusBarService,
                                            IUserService userService)
            : base(navigationService, barcodeReaderService, statusBarService)
        {
            _userService = userService;

            Title = "PROCESSOS";

            SetMenu();
        }
        public BillOfLadingInformationsPageViewModel(INavigationService navigationService,
                                                     IBarcodeReaderService barcodeReaderService,
                                                     IStatusBarService statusBarService,
                                                     INotificationService notificationService,
                                                     IPopupNavigation popupNavigation,
                                                     IBillOfLadingService billOfLadingService)
            : base(navigationService, barcodeReaderService, statusBarService)
        {
            _notificationService = notificationService;
            _popupNavigation     = popupNavigation;
            _billOfLadingService = billOfLadingService;

            Model = new BillOfLadingInformationsModel();
        }
        public ViewLackPageViewModel(INavigationService navigationService,
                                     IBarcodeReaderService barcodeReaderService,
                                     IStatusBarService statusBarService,
                                     INotificationService notificationService,
                                     IBoardingService boardingService,
                                     ILandingService landingService)
            : base(navigationService, barcodeReaderService, statusBarService)
        {
            _notificationService = notificationService;
            _boardingService     = boardingService;
            _landingService      = landingService;

            Model = new ViewLackModel();
        }
Exemple #15
0
        public PacksDetailViewPageViewModel(INavigationService navigationService,
                                            IBarcodeReaderService barcodeReaderService,
                                            IStatusBarService statusBarService,
                                            INotificationService notificationService,
                                            IPopupNavigation popupNavigation,
                                            IBillOfLadingService billOfLadingService,
                                            IWifiService wifiService)
            : base(navigationService, barcodeReaderService, statusBarService)
        {
            _notificationService = notificationService;
            _popupNavigation     = popupNavigation;
            _billOfLadingService = billOfLadingService;
            _wifiService         = wifiService;

            Model = new PacksDetailViewModel();
        }
        public MaintenanceSealsInputPageViewModel(INavigationService navigationService,
                                                  IBarcodeReaderService barcodeReaderService,
                                                  IStatusBarService statusBarService,
                                                  INotificationService notificationService,
                                                  IPopupNavigation popupNavigation,
                                                  IBoardingAccessoryService boardingAccessoryService,
                                                  IWifiService wifiService)
            : base(navigationService, barcodeReaderService, statusBarService)
        {
            _notificationService      = notificationService;
            _popupNavigation          = popupNavigation;
            _boardingAccessoryService = boardingAccessoryService;
            _wifiService = wifiService;

            Model = new MaintenanceSealsInputModel();
        }
        public ViewLackByProcessPageViewModel(INavigationService navigationService,
                                              IBarcodeReaderService barcodeReaderService,
                                              IStatusBarService statusBarService,
                                              IPopupNavigation popupNavigation,
                                              IUserService userService,
                                              IBoardingService boardingService,
                                              ILandingService landingService
                                              )
            : base(navigationService, barcodeReaderService, statusBarService)
        {
            _popupNavigation = popupNavigation;
            _userService     = userService;
            _boardingService = boardingService;
            _landingService  = landingService;

            Model = new ViewLackByProcessModel();
        }
Exemple #18
0
        public SendLabelInputPageViewModel(INavigationService navigationService,
                                           IBarcodeReaderService barcodeReaderService,
                                           IStatusBarService statusBarService,
                                           INotificationService notificationService,
                                           IBillOfLadingService billOfLadingService,
                                           IWifiService wifiService,
                                           IPopupNavigation popupNavigation)
            : base(navigationService, barcodeReaderService, statusBarService)
        {
            _notificationService = notificationService;
            _billOfLadingService = billOfLadingService;
            _wifiService         = wifiService;
            _popupNavigation     = popupNavigation;

            Model = new SendLabelInputModel();
            MenuAdtionalButtons = new Dictionary <string, DelegateCommand>();
        }
Exemple #19
0
        public UniversalLandingPageViewModel(INavigationService navigationService,
                                             IBarcodeReaderService barcodeReaderService,
                                             IStatusBarService statusBarService,
                                             INotificationService notificationService,
                                             IPopupNavigation popupNavigation,
                                             IUserService userService,
                                             ISorterService sorterService,
                                             IWifiService wifiService)
            : base(navigationService, barcodeReaderService, statusBarService)
        {
            _notificationService = notificationService;
            _popupNavigation     = popupNavigation;
            _userService         = userService;
            _sorterService       = sorterService;
            _wifiService         = wifiService;

            Model = new UniversalLandingModel();

            DefaultMenuAdtionalBunttons();
        }
        public PackingListDeliveryReturnInputPageViewModel(INavigationService navigationService,
                                                           IBarcodeReaderService barcodeReaderService,
                                                           IStatusBarService statusBarService,
                                                           IUserService userService,
                                                           INotificationService notificationService,
                                                           IPopupNavigation popupNavigation,
                                                           ICommonService commonService,
                                                           IBoardingDeliveryPackService boardingDeliveryPackService,
                                                           ILandingDeliveryPackService landingDeliveryPackService,
                                                           IWifiService wifiService)
            : base(navigationService, barcodeReaderService, statusBarService)
        {
            _userService                 = userService;
            _notificationService         = notificationService;
            _popupNavigation             = popupNavigation;
            _commonService               = commonService;
            _boardingDeliveryPackService = boardingDeliveryPackService;
            _landingDeliveryPackService  = landingDeliveryPackService;
            _wifiService                 = wifiService;

            Model = new PackingListDeliveryReturnInputModel();
        }
Exemple #21
0
        public LoginPageViewModel(INavigationService navigationService,
                                  IBarcodeReaderService barcodeReaderService,
                                  IStatusBarService statusBarService,
                                  IEnvironmentConfigurationService environmentConfigurationService,
                                  IUserService userService,
                                  INotificationService notificationService,
                                  IServiceBase tmsApiServiceBase,
                                  ICommonService tmsApiCommonService,
                                  IPopupNavigation popupNavigation,
                                  IWifiService wifiService)
            : base(navigationService, barcodeReaderService, statusBarService)
        {
            _environmentConfigurationService = environmentConfigurationService;
            _userService         = userService;
            _notificationService = notificationService;
            _tmsApiServiceBase   = tmsApiServiceBase;
            _tmsApiCommonService = tmsApiCommonService;
            _popupNavigation     = popupNavigation;
            _wifiService         = wifiService;

            Model = new LoginModel();

            EnableWifi();
        }
Exemple #22
0
        private async void ShowToast(object parameter)
        {
            BarcodeFormat format = new BarcodeFormat();

            format = BarcodeFormat.QRCode | BarcodeFormat.Code93 | BarcodeFormat.Pdf417;

            MobileBarcodeScanningOptions options = new MobileBarcodeScanningOptions();

            options.PossibleFormats.Clear();
            options.PossibleFormats.Add(format);
            options.DelayBetweenAnalyzingFrames = 200;

            IBarcodeReaderService service = ServiceProvider.GetService <IBarcodeReaderService>();

            service.SetOwner(this);

            Task <string> result = service.Scan();

            // Task<string> result = service.Scan(options);
            // Task<string> result = service.Scan(format);
            // Task<string> result = service.Scan("Header Text","Footer Text",format);

            this.GreetingText = await result;
        }
Exemple #23
0
 public RequestPackingListAccessoryViewPopupPageViewModel(INavigationService navigationService,
                                                          IBarcodeReaderService barcodeReaderService,
                                                          IStatusBarService statusBarService)
     : base(navigationService, barcodeReaderService, statusBarService)
 {
 }