public MainViewModel(INavigationService navigationService /*, ISyncManager syncManager*/, IDeviceCheckInMngr deviceCheckInMngr, IInitializeMetaData initializeMetaData, IDashboardService dashboardService, IGetIconByPlatform getIconByPlatform, IUuidManager uuidManager) : base(navigationService) { //_navigationService = navigationService ?? throw new ArgumentNullException("navigationService"); _deviceCheckInMngr = deviceCheckInMngr; _initializeMetaData = initializeMetaData; _dashboardService = dashboardService; _getIconByPlatform = getIconByPlatform; _uuidManager = uuidManager; MoveCommand = new DelegateCommand(MoveCommandRecieverAsync); MoreCommand = new DelegateCommand(MoreCommandRecieverAsync); MaintainCommand = new DelegateCommand(MaintainCommandRecieverAsync); PalletizeCommand = new DelegateCommand(PalletizeCommandRecieverAsync); PalletsCommand = new DelegateCommand(PalletsCommandRecieverAsync); FillCommand = new DelegateCommand(FillCommandRecieverAsync); ManifestCommand = new DelegateCommand(ManifestCommandRecieverAsync); StockCommand = new DelegateCommand(StockCommandRecieverAsync); EmptyCommand = new DelegateCommand(EmptyCommandRecieverAsync); PartnerCommand = new DelegateCommand(PartnerCommandRecieverAsync); KegsCommand = new DelegateCommand(KegsCommandRecieverAsync); InUsePartnerCommand = new DelegateCommand(InUsePartnerCommandRecieverAsync); DeviceCheckIn(); LoadMetadData(); HandleUnsubscribeMessages(); HandleReceivedMessages(); RefreshDashboardRecieverAsync(); StartPrinterSearch(); Connectivity.ConnectivityChanged -= Connectivity_ConnectivityChanged; Connectivity.ConnectivityChanged += Connectivity_ConnectivityChanged; }
public MaintainDetailViewModel(INavigationService navigationService, IUuidManager uuidManager) : base(navigationService) { //_navigationService = navigationService ?? throw new ArgumentNullException("navigationService"); _uuidManager = uuidManager; HomeCommand = new DelegateCommand(HomeCommandCommandRecieverAsync); GridTappedCommand = new DelegateCommand(GridTappedCommandRecieverAsync); }
public AddBatchViewModel(INavigationService navigationService, IUuidManager uuidManager) : base(navigationService) { //_navigationService = navigationService ?? throw new ArgumentNullException("navigationService"); _uuidManager = uuidManager; AddTagsCommand = new DelegateCommand(AddTagsCommandRecieverAsync); CancelCommand = new DelegateCommand(CancelCommandRecieverAsync); DoneCommand = new DelegateCommand(DoneCommandRecieverAsync); BrandCommand = new DelegateCommand(BrandCommandRecieverAsync); VolumeCharCommand = new DelegateCommand(VolumeCharCommandRecieverAsync); }
public FillScanReviewViewModel(INavigationService navigationService, IUuidManager uuidManager, IPageDialogService dialogService, IMoveService moveService, IManifestManager manifestManager, IGeolocationService geolocationService) : base(navigationService) { //_navigationService = navigationService ?? throw new ArgumentNullException("navigationService"); _uuidManager = uuidManager; _dialogService = dialogService; _moveService = moveService; _manifestManager = manifestManager; _geolocationService = geolocationService; ScanCommand = new DelegateCommand(ScanCommandRecieverAsync); SubmitCommand = new DelegateCommand(SubmitCommandRecieverAsync); }
public FillViewModel(INavigationService navigationService, IPageDialogService dialogService, IUuidManager uuidManager, IManifestManager manifestManager, IGeolocationService geolocationService) : base(navigationService) { //_navigationService = navigationService ?? throw new ArgumentNullException("navigationService"); _dialogService = dialogService; _uuidManager = uuidManager; _manifestManager = manifestManager; _geolocationService = geolocationService; BatchCommand = new DelegateCommand(BatchCommandRecieverAsync); SizeCommand = new DelegateCommand(SizeCommandRecieverAsync); DestinationCommand = new DelegateCommand(DestinationCommandRecieverAsync); NextCommand = new DelegateCommand(NextCommandRecieverAsync); CancelCommand = new DelegateCommand(CancelCommandRecieverAsync); }
public AddPartnerViewModel(IMoveService moveService, INavigationService navigationService, IPageDialogService dialogService, IUuidManager uuidManager) : base(navigationService) { //_navigationService = navigationService ?? throw new ArgumentNullException("navigationService"); _dialogService = dialogService; _moveService = moveService; _uuidManager = uuidManager; CalcelCommand = new DelegateCommand(CalcelCommandRecieverAsync); SubmitCommand = new DelegateCommand(SubmitCommandRecieverAsync); ShippingAddressCommand = new DelegateCommand(ShippingAddressCommandRecieverAsync); BillingAddressCommand = new DelegateCommand(BillingAddressCommandRecieverAsync); LoadPartnerAsync(null); }
public KegStatusViewModel(IDashboardService dashboardService, INavigationService navigationService, IPageDialogService dialogService, IUuidManager uuidManager) : base(navigationService) { //_navigationService = navigationService ?? throw new ArgumentNullException("navigationService"); _dialogService = dialogService; _dashboardService = dashboardService; _uuidManager = uuidManager; KegsCommand = new DelegateCommand(KegsCommandRecieverAsync); EditCommand = new DelegateCommand(EditCommandRecieverAsync); InvalidToolsCommand = new DelegateCommand(InvalidToolsCommandRecieverAsync); CurrentLocationCommand = new DelegateCommand(CurrentLocationCommandRecieverAsync); MoveKegCommand = new DelegateCommand(MoveKegCommandRecieverAsync); AddAlertCommand = new DelegateCommand(AddAlertCommandRecieverAsync); RemoveAlertCommand = new DelegateCommand(RemoveAlertCommandRecieverAsync); }
public AddPalletsViewModel(IPalletizeService palletizeService, IMoveService moveService, INavigationService navigationService, IPageDialogService dialogService, IManifestManager manifestManager, IUuidManager uuidManager, IGeolocationService geolocationService) : base(navigationService) { //_navigationService = navigationService ?? throw new ArgumentNullException("navigationService"); _dialogService = dialogService; _palletizeService = palletizeService; _moveService = moveService; _manifestManager = manifestManager; _uuidManager = uuidManager; _geolocationService = geolocationService; SubmitCommand = new DelegateCommand(SubmitCommandRecieverAsync); FillScanCommand = new DelegateCommand(FillScanCommandRecieverAsync); FillKegsCommand = new DelegateCommand(FillKegsCommandRecieverAsync); ItemTappedCommand = new DelegateCommand <PalletModel>(async(model) => await ItemTappedCommandRecieverAsync(model)); DeleteItemCommand = new DelegateCommand <PalletModel>((model) => DeleteItemCommandReciever(model)); }
public MoveViewModel(IMoveService moveService, INavigationService navigationService, IPageDialogService dialogService, IManifestManager manifestManager, IUuidManager uuidManager, IGeolocationService geolocationService) : base(navigationService) { //_navigationService = navigationService ?? throw new ArgumentNullException("navigationService"); _dialogService = dialogService; _moveService = moveService; _manifestManager = manifestManager; _uuidManager = uuidManager; _geolocationService = geolocationService; SelectLocationCommand = new DelegateCommand(SelectLocationCommandRecieverAsync); MoreInfoCommand = new DelegateCommand(MoreInfoCommandRecieverAsync); ScanKegsCommad = new DelegateCommand(ScanKegsCommadRecieverAsync); SaveDraftCommand = new DelegateCommand(SaveDraftCommandRecieverAsync); CancelCommand = new DelegateCommand(CancelCommandRecieverAsync); SubmitCommand = new DelegateCommand(SubmitCommandRecieverAsync); }
public MainViewModel(INavigationService navigationService, IInitializeMetaData initializeMetaData, IUuidManager uuidManager) : base(navigationService) { _initializeMetaData = initializeMetaData; _uuidManager = uuidManager; MoveCommand = new DelegateCommand(MoveCommandRecieverAsync); MoreCommand = new DelegateCommand(MoreCommandRecieverAsync); MaintainCommand = new DelegateCommand(MaintainCommandRecieverAsync); PalletizeCommand = new DelegateCommand(PalletizeCommandRecieverAsync); PalletsCommand = new DelegateCommand(PalletsCommandRecieverAsync); FillCommand = new DelegateCommand(FillCommandRecieverAsync); ManifestCommand = new DelegateCommand(ManifestCommandRecieverAsync); StockCommand = new DelegateCommand(StockCommandRecieverAsync); EmptyCommand = new DelegateCommand(EmptyCommandRecieverAsync); PartnerCommand = new DelegateCommand(PartnerCommandRecieverAsync); KegsCommand = new DelegateCommand(KegsCommandRecieverAsync); InUsePartnerCommand = new DelegateCommand(InUsePartnerCommandRecieverAsync); }
public MaintainScanViewModel(IMoveService moveService, IMaintainService maintainService, INavigationService navigationService, IGetIconByPlatform getIconByPlatform, IUuidManager uuidManager, IManifestManager manifestManager, IGeolocationService geolocationService) : base(navigationService) { //_navigationService = navigationService ?? throw new ArgumentNullException("navigationService"); _moveService = moveService; _maintainService = maintainService; _getIconByPlatform = getIconByPlatform; _uuidManager = uuidManager; _manifestManager = manifestManager; _geolocationService = geolocationService; SubmitCommand = new DelegateCommand(SubmitCommandRecieverAsync); BackCommand = new DelegateCommand(BackCommandRecieverAsync); BarcodeScanCommand = new DelegateCommand(BarcodeScanCommandRecieverAsync); BarcodeManualCommand = new DelegateCommand(BarcodeManualCommandRecieverAsync); LabelItemTappedCommand = new DelegateCommand <BarcodeModel>((model) => LabelItemTappedCommandRecieverAsync(model)); IconItemTappedCommand = new DelegateCommand <BarcodeModel>((model) => IconItemTappedCommandRecieverAsync(model)); DeleteItemCommand = new DelegateCommand <BarcodeModel>((model) => DeleteItemCommandReciever(model)); LoadMaintenanceType(); HandleReceivedMessages(); }
public BulkUpdateScanViewModel(IMoveService moveService, IDashboardService dashboardService, INavigationService navigationService, IGetIconByPlatform getIconByPlatform, IUuidManager uuidManager, IPageDialogService dialogService) : base(navigationService) { //_navigationService = navigationService ?? throw new ArgumentNullException("navigationService"); _moveService = moveService; _dashboardService = dashboardService; _getIconByPlatform = getIconByPlatform; _uuidManager = uuidManager; _dialogService = dialogService; AddTagsCommand = new DelegateCommand(AddTagsCommandRecieverAsync); BarcodeManualCommand = new DelegateCommand(BarcodeManualCommandRecieverAsync); BarcodeScanCommand = new DelegateCommand(BarcodeScanCommandRecieverAsync); SaveCommand = new DelegateCommand(SaveCommandRecieverAsync); CancelCommand = new DelegateCommand(CancelCommandRecieverAsync); LabelItemTappedCommand = new DelegateCommand <BarcodeModel>((model) => LabelItemTappedCommandRecieverAsync(model)); IconItemTappedCommand = new DelegateCommand <BarcodeModel>((model) => IconItemTappedCommandRecieverAsync(model)); LoadAssetSizeAsync(); LoadAssetTypeAsync(); HandleUnsubscribeMessages(); HandleReceivedMessages(); }
public PalletizeViewModel(IPalletizeService palletizeService, IMoveService moveService, INavigationService navigationService, IZebraPrinterManager zebraPrinterManager, IUuidManager uuidManager, ICalcCheckDigitMngr calcCheckDigitMngr, IPageDialogService dialogService) : base(navigationService) { //_navigationService = navigationService ?? throw new ArgumentNullException("navigationService"); _moveService = moveService; _dialogService = dialogService; _palletizeService = palletizeService; _zebraPrinterManager = zebraPrinterManager; _uuidManager = uuidManager; _calcCheckDigitMngr = calcCheckDigitMngr; CancelCommand = new DelegateCommand(CancelCommandRecieverAsync); PartnerCommand = new DelegateCommand(PartnerCommandRecieverAsync); AddTagsCommand = new DelegateCommand(AddTagsCommandRecieverAsync); TargetLocationPartnerCommand = new DelegateCommand(TargetLocationPartnerCommandRecieverAsync); AddKegsCommand = new DelegateCommand(AddKegsCommandRecieverAsync); IsPalletVisibleCommand = new DelegateCommand(IsPalletVisibleCommandReciever); BarcodeScanCommand = new DelegateCommand(BarcodeScanCommandReciever); SubmitCommand = new DelegateCommand(SubmitCommandRecieverAsync); StockLocation.FullName = "Barcode Brewing"; TargetLocation.FullName = "None"; HandleUnsubscribeMessages(); HandleReceivedMessages(); }