예제 #1
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;
        }
예제 #2
0
        public BarcodeEntryViewModel(IBarcodeReaderService barcodeReaderService,
                                     ILabelValidationService labelValidationService)
        {
            _barcodeReaderService  = barcodeReaderService;
            LabelValidationService = labelValidationService;

            DisableBarcodeReader();
        }