コード例 #1
0
        public PackingListDeliveryBoardingInputPageViewModel(INavigationService navigationService,
                                                             IBarcodeReaderService barcodeReaderService,
                                                             IStatusBarService statusBarService,
                                                             INotificationService notificationService,
                                                             IPopupNavigation popupNavigation,
                                                             IUserService userService,
                                                             ICommonService commonService,
                                                             IBoardingDeliveryPackService boardingDeliveryPackService,
                                                             IWifiService wifiService,
                                                             IBoardingService boardingService)
            : base(navigationService, barcodeReaderService, statusBarService)
        {
            _notificationService         = notificationService;
            _popupNavigation             = popupNavigation;
            _userService                 = userService;
            _commonService               = commonService;
            _boardingDeliveryPackService = boardingDeliveryPackService;
            _wifiService                 = wifiService;
            _boardingService             = boardingService;

            Model = new PackingListDeliveryBoardingInputModel();

            CancelPackBoarding         += ExecuteCancelPackBoarding;
            CancelBillOfLadingBoarding += ExecuteCancelBillOfLadingBoarding;
            EndingProcess += ExecuteEndingProcess;

            MenuAdtionalButtons = new Dictionary <string, DelegateCommand>();
        }
        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();
        }