protected override void BuildViews()
        {
            searchPanelView = WorkItem.SmartParts.AddNew <PickZoneMonitorSearchPanelView>();
            searchPanelView.RefreshDataOnShow = false;
            searchPanelView.IsVisible         = false;

            pickZoneMonitorOverviewViewLoader                   = WorkItem.SmartParts.AddNew <DynamicViewLoader>("Imi.SupplyChain.ActivityMonitor.UX.Views.ActivityMonitor.IPickZoneMonitorOverviewView");
            pickZoneMonitorOverviewViewLoader.ViewType          = typeof(PickZoneMonitorOverviewView);
            pickZoneMonitorOverviewViewLoader.RefreshDataOnShow = false;
            if (parameters != null)
            {
                pickZoneMonitorOverviewViewLoader.Update(parameters);
            }

            pickZoneMonitorOverviewViewLoader.IsDetailView = false;
            pickZoneMonitorOverviewViewLoader.Title        = Imi.SupplyChain.ActivityMonitor.UX.Modules.PickZone.ResourceManager.str_b54f04b1_e8ed_476e_8851_37bffa4b866e_Title;
            pickZoneMonitorOverviewViewLoader.ViewLoaded  += (s, e) =>
            {
                pickZoneMonitorOverviewView = e.Data as IPickZoneMonitorOverviewView;

                if (!string.IsNullOrEmpty(_favoriteId))
                {
                    UXSettingsService favoriteSettingsService = WorkItem.Items.AddNew <UXSettingsService>(_favoriteId);
                    favoriteSettingsService.ContainerName = _favoriteId;
                    favoriteSettingsService.AddProvider(pickZoneMonitorOverviewView, new PickZoneMonitorControllerSettingsProvider());
                    favoriteSettingsService.LoadSettings();
                    WorkItem.Items.Remove(favoriteSettingsService);
                }
            };
        }
        public void Activate(MovementMonitorOverviewViewParameters parameters, string favoriteId)
        {
            _favoriteId = favoriteId;

            if (movementMonitorOverviewView != null && !string.IsNullOrEmpty(_favoriteId))
            {
                UXSettingsService favoriteSettingsService = WorkItem.Items.AddNew <UXSettingsService>(_favoriteId);
                favoriteSettingsService.ContainerName = _favoriteId;
                favoriteSettingsService.AddProvider(movementMonitorOverviewView, new MovementMonitorControllerSettingsProvider());
                favoriteSettingsService.LoadSettings();
                WorkItem.Items.Remove(favoriteSettingsService);
            }

            Activate(parameters);
        }
Exemple #3
0
        protected override void BuildViews()
        {
            searchPanelView = WorkItem.SmartParts.AddNew <DepartureMonitorSearchPanelView>();
            searchPanelView.RefreshDataOnShow = false;
            searchPanelView.IsVisible         = false;

            departureMonitorOverviewViewLoader                   = WorkItem.SmartParts.AddNew <DynamicViewLoader>("Imi.SupplyChain.ActivityMonitor.UX.Views.ActivityMonitor.IDepartureMonitorOverviewView");
            departureMonitorOverviewViewLoader.ViewType          = typeof(DepartureMonitorOverviewView);
            departureMonitorOverviewViewLoader.RefreshDataOnShow = false;
            if (parameters != null)
            {
                departureMonitorOverviewViewLoader.Update(parameters);
            }

            departureMonitorOverviewViewLoader.IsDetailView = false;
            departureMonitorOverviewViewLoader.Title        = Imi.SupplyChain.ActivityMonitor.UX.Modules.Departure.ResourceManager.str_ae5218a2_136b_4eee_a2a5_07a866505018_Title;
            departureMonitorOverviewViewLoader.ViewLoaded  += (s, e) =>
            {
                departureMonitorOverviewView = e.Data as IDepartureMonitorOverviewView;
                actionProviderService.RegisterDrillDownAction(departureMonitorOverviewView, WorkItem.Items.FindByType <DepartureMonitorActions>().First().DepartureMonitorOverviewShowWarehouseDeparture, Imi.SupplyChain.ActivityMonitor.UX.Modules.Departure.ResourceManager.str_bd626d5e_63ca_4f60_b211_23bf73610d22_Caption, DepartureMonitorActions.DepartureMonitorOverviewShowWarehouseDepartureOperation);
                departureMonitorOverviewView.EnableDrillDown(new DrillDownArgs()
                {
                    FieldName = "DepartureId", Caption = Imi.SupplyChain.ActivityMonitor.UX.Modules.Departure.ResourceManager.str_bd626d5e_63ca_4f60_b211_23bf73610d22_Caption, ActionId = WorkItem.Items.FindByType <DepartureMonitorActions>().First().DepartureMonitorOverviewShowWarehouseDeparture, Type = DrillDownType.JumpTo
                });

                if (!string.IsNullOrEmpty(_favoriteId))
                {
                    UXSettingsService favoriteSettingsService = WorkItem.Items.AddNew <UXSettingsService>(_favoriteId);
                    favoriteSettingsService.ContainerName = _favoriteId;
                    favoriteSettingsService.AddProvider(departureMonitorOverviewView, new DepartureMonitorControllerSettingsProvider());
                    favoriteSettingsService.LoadSettings();
                    WorkItem.Items.Remove(favoriteSettingsService);
                }
            };

            departureMonitorDetailViewLoader             = WorkItem.SmartParts.AddNew <DynamicViewLoader>("Imi.SupplyChain.ActivityMonitor.UX.Views.ActivityMonitor.IDepartureMonitorDetailView");
            departureMonitorDetailViewLoader.ViewType    = typeof(DepartureMonitorDetailView);
            departureMonitorDetailViewLoader.Title       = Imi.SupplyChain.ActivityMonitor.UX.Views.ActivityMonitor.ResourceManager.str_27c919e6_a54a_4b8f_87f9_d302a0f9da56_Title;
            departureMonitorDetailViewLoader.ViewLoaded += (s, e) =>
            {
                departureMonitorDetailView = e.Data as IDepartureMonitorDetailView;
                actionProviderService.RegisterDrillDownAction(departureMonitorDetailView, WorkItem.Items.FindByType <DepartureMonitorActions>().First().DepartureMonitorDetailShowWarehouseDeparture, Imi.SupplyChain.ActivityMonitor.UX.Modules.Departure.ResourceManager.str_bd626d5e_63ca_4f60_b211_23bf73610d22_Caption, DepartureMonitorActions.DepartureMonitorDetailShowWarehouseDepartureOperation);
                departureMonitorDetailView.EnableDrillDown(new DrillDownArgs()
                {
                    FieldName = "DepartureId", Caption = Imi.SupplyChain.ActivityMonitor.UX.Modules.Departure.ResourceManager.str_bd626d5e_63ca_4f60_b211_23bf73610d22_Caption, ActionId = WorkItem.Items.FindByType <DepartureMonitorActions>().First().DepartureMonitorDetailShowWarehouseDeparture, Type = DrillDownType.JumpTo
                });
            };
        }
        public override void ReceiveMonitorSearchPanelViewAddToFavoritesEventHandler(object sender, DataEventArgs <ReceiveMonitorSearchPanelViewResult> eventArgs)
        {
            Imi.SupplyChain.UX.Infrastructure.ShellMenuItem menuItem = HyperlinkHelper.CreateFavoritesItem(
                Imi.SupplyChain.ActivityMonitor.UX.Modules.Receive.ResourceManager.str_0759801e_9ba2_4f20_8383_5549a777f9ab_Title,
                "0759801e-9ba2-4f20-8383-5549a777f9ab",
                Imi.SupplyChain.ActivityMonitor.UX.Modules.Receive.Constants.EventTopicNames.ShowReceiveMonitorDialog,
                Assembly.GetExecutingAssembly().ManifestModule.Name,
                eventArgs.Data);

            ShellInteractionService.AddToFavorites(menuItem);

            if (receiveMonitorOverviewView != null)
            {
                UXSettingsService favoriteSettingsService = WorkItem.Items.AddNew <UXSettingsService>(menuItem.Id);
                favoriteSettingsService.ContainerName = menuItem.Id;
                favoriteSettingsService.AddProvider(receiveMonitorOverviewView, new ReceiveMonitorControllerSettingsProvider());
                favoriteSettingsService.SaveSettings();
                WorkItem.Items.Remove(favoriteSettingsService);
            }
        }
        public override void PackMonitorSearchPanelViewAddToFavoritesEventHandler(object sender, DataEventArgs <PackMonitorSearchPanelViewResult> eventArgs)
        {
            Imi.SupplyChain.UX.Infrastructure.ShellMenuItem menuItem = HyperlinkHelper.CreateFavoritesItem(
                Imi.SupplyChain.ActivityMonitor.UX.Modules.Pack.ResourceManager.str_37b749b8_18c9_498b_abc8_3d0ee722bd93_Title,
                "37b749b8-18c9-498b-abc8-3d0ee722bd93",
                Imi.SupplyChain.ActivityMonitor.UX.Modules.Pack.Constants.EventTopicNames.ShowPackMonitorDialog,
                Assembly.GetExecutingAssembly().ManifestModule.Name,
                eventArgs.Data);

            ShellInteractionService.AddToFavorites(menuItem);

            if (packMonitorOverviewView != null)
            {
                UXSettingsService favoriteSettingsService = WorkItem.Items.AddNew <UXSettingsService>(menuItem.Id);
                favoriteSettingsService.ContainerName = menuItem.Id;
                favoriteSettingsService.AddProvider(packMonitorOverviewView, new PackMonitorControllerSettingsProvider());
                favoriteSettingsService.SaveSettings();
                WorkItem.Items.Remove(favoriteSettingsService);
            }
        }
        public override void PickZoneMonitorSearchPanelViewAddToFavoritesEventHandler(object sender, DataEventArgs <PickZoneMonitorSearchPanelViewResult> eventArgs)
        {
            Imi.SupplyChain.UX.Infrastructure.ShellMenuItem menuItem = HyperlinkHelper.CreateFavoritesItem(
                Imi.SupplyChain.ActivityMonitor.UX.Modules.PickZone.ResourceManager.str_b54f04b1_e8ed_476e_8851_37bffa4b866e_Title,
                "b54f04b1-e8ed-476e-8851-37bffa4b866e",
                Imi.SupplyChain.ActivityMonitor.UX.Modules.PickZone.Constants.EventTopicNames.ShowPickZoneMonitorDialog,
                Assembly.GetExecutingAssembly().ManifestModule.Name,
                eventArgs.Data);

            ShellInteractionService.AddToFavorites(menuItem);

            //Get overview view
            if (pickZoneMonitorOverviewView != null)
            {
                UXSettingsService favoriteSettingsService = WorkItem.Items.AddNew <UXSettingsService>(menuItem.Id);
                favoriteSettingsService.ContainerName = menuItem.Id;
                favoriteSettingsService.AddProvider(pickZoneMonitorOverviewView, new PickZoneMonitorControllerSettingsProvider());
                favoriteSettingsService.SaveSettings();
                WorkItem.Items.Remove(favoriteSettingsService);
            }
        }
        public override void LoadingMonitorSearchPanelViewAddToFavoritesEventHandler(object sender, DataEventArgs <LoadingMonitorSearchPanelViewResult> eventArgs)
        {
            Imi.SupplyChain.UX.Infrastructure.ShellMenuItem menuItem = HyperlinkHelper.CreateFavoritesItem(
                Imi.SupplyChain.ActivityMonitor.UX.Modules.Loading.ResourceManager.str_2b50c1d8_19fe_41dc_ba6b_05e86c87a9d8_Title,
                "2b50c1d8-19fe-41dc-ba6b-05e86c87a9d8",
                Imi.SupplyChain.ActivityMonitor.UX.Modules.Loading.Constants.EventTopicNames.ShowLoadingMonitorDialog,
                Assembly.GetExecutingAssembly().ManifestModule.Name,
                eventArgs.Data);

            ShellInteractionService.AddToFavorites(menuItem);

            //Get overview view
            if (loadingMonitorOverviewView != null)
            {
                UXSettingsService favoriteSettingsService = WorkItem.Items.AddNew <UXSettingsService>(menuItem.Id);
                favoriteSettingsService.ContainerName = menuItem.Id;
                favoriteSettingsService.AddProvider(loadingMonitorOverviewView, new LoadingMonitorControllerSettingsProvider());
                favoriteSettingsService.SaveSettings();
                WorkItem.Items.Remove(favoriteSettingsService);
            }
        }
Exemple #8
0
        public override void DepartureMonitorSearchPanelViewAddToFavoritesEventHandler(object sender, DataEventArgs <DepartureMonitorSearchPanelViewResult> eventArgs)
        {
            Imi.SupplyChain.UX.Infrastructure.ShellMenuItem menuItem = HyperlinkHelper.CreateFavoritesItem(
                Imi.SupplyChain.ActivityMonitor.UX.Modules.Departure.ResourceManager.str_ae5218a2_136b_4eee_a2a5_07a866505018_Title,
                "ae5218a2-136b-4eee-a2a5-07a866505018",
                Imi.SupplyChain.ActivityMonitor.UX.Modules.Departure.Constants.EventTopicNames.ShowDepartureMonitorDialog,
                Assembly.GetExecutingAssembly().ManifestModule.Name,
                eventArgs.Data);

            ShellInteractionService.AddToFavorites(menuItem);

            //Get overview view
            if (departureMonitorOverviewView != null)
            {
                UXSettingsService favoriteSettingsService = WorkItem.Items.AddNew <UXSettingsService>(menuItem.Id);
                favoriteSettingsService.ContainerName = menuItem.Id;
                favoriteSettingsService.AddProvider(departureMonitorOverviewView, new DepartureMonitorControllerSettingsProvider());
                favoriteSettingsService.SaveSettings();
                WorkItem.Items.Remove(favoriteSettingsService);
            }
        }
Exemple #9
0
        public override void CasePickMonitorSearchPanelViewAddToFavoritesEventHandler(object sender, DataEventArgs <CasePickMonitorSearchPanelViewResult> eventArgs)
        {
            Imi.SupplyChain.UX.Infrastructure.ShellMenuItem menuItem = HyperlinkHelper.CreateFavoritesItem(
                Imi.SupplyChain.ActivityMonitor.UX.Modules.CasePick.ResourceManager.str_24cd9629_716f_4e53_9969_22f7a444c534_Title,
                "24cd9629-716f-4e53-9969-22f7a444c534",
                Imi.SupplyChain.ActivityMonitor.UX.Modules.CasePick.Constants.EventTopicNames.ShowCasePickMonitorDialog,
                Assembly.GetExecutingAssembly().ManifestModule.Name,
                eventArgs.Data);

            ShellInteractionService.AddToFavorites(menuItem);

            //Get overview view
            if (casePickMonitorOverviewView != null)
            {
                UXSettingsService favoriteSettingsService = WorkItem.Items.AddNew <UXSettingsService>(menuItem.Id);
                favoriteSettingsService.ContainerName = menuItem.Id;
                favoriteSettingsService.AddProvider(casePickMonitorOverviewView, new CasePickMonitorControllerSettingsProvider());
                favoriteSettingsService.SaveSettings();
                WorkItem.Items.Remove(favoriteSettingsService);
            }
        }
Exemple #10
0
        public override void PickPaceMonitorSearchPanelViewAddToFavoritesEventHandler(object sender, DataEventArgs <PickPaceMonitorSearchPanelViewResult> eventArgs)
        {
            Imi.SupplyChain.UX.Infrastructure.ShellMenuItem menuItem = HyperlinkHelper.CreateFavoritesItem(
                Imi.SupplyChain.ActivityMonitor.UX.Modules.PickPace.ResourceManager.str_121ad164_ddc9_495b_a470_c8b6a9e55001_Title,
                "121ad164-ddc9-495b-a470-c8b6a9e55001",
                Imi.SupplyChain.ActivityMonitor.UX.Modules.PickPace.Constants.EventTopicNames.ShowPickPaceMonitorDialog,
                Assembly.GetExecutingAssembly().ManifestModule.Name,
                eventArgs.Data);

            ShellInteractionService.AddToFavorites(menuItem);

            //Get overview view
            if (pickPaceMonitorOverviewView != null)
            {
                UXSettingsService favoriteSettingsService = WorkItem.Items.AddNew <UXSettingsService>(menuItem.Id);
                favoriteSettingsService.ContainerName = menuItem.Id;
                favoriteSettingsService.AddProvider(pickPaceMonitorOverviewView, new PickPaceMonitorControllerSettingsProvider());
                favoriteSettingsService.SaveSettings();
                WorkItem.Items.Remove(favoriteSettingsService);
            }
        }
        public virtual void MovementMonitorSearchPanelViewAddToFavoritesEventHandler(object sender, DataEventArgs <MovementMonitorSearchPanelViewResult> eventArgs)
        {
            Imi.SupplyChain.UX.Infrastructure.ShellMenuItem menuItem = HyperlinkHelper.CreateFavoritesItem(
                Imi.SupplyChain.ActivityMonitor.UX.Modules.Movement.ResourceManager.str_c177bbdc_91be_40a0_8eb2_4b7c4537108e_Title,
                "c177bbdc-91be-40a0-8eb2-4b7c4537108e",
                Imi.SupplyChain.ActivityMonitor.UX.Modules.Movement.Constants.EventTopicNames.ShowMovementMonitorDialog,
                Assembly.GetExecutingAssembly().ManifestModule.Name,
                eventArgs.Data);

            ShellInteractionService.AddToFavorites(menuItem);

            //Get overview view
            if (movementMonitorOverviewView != null)
            {
                UXSettingsService favoriteSettingsService = WorkItem.Items.AddNew <UXSettingsService>(menuItem.Id);
                favoriteSettingsService.ContainerName = menuItem.Id;
                favoriteSettingsService.AddProvider(movementMonitorOverviewView, new MovementMonitorControllerSettingsProvider());
                favoriteSettingsService.SaveSettings();
                WorkItem.Items.Remove(favoriteSettingsService);
            }
        }
Exemple #12
0
        public override void OutboundStagingMonitorSearchPanelViewAddToFavoritesEventHandler(object sender, DataEventArgs <OutboundStagingMonitorSearchPanelViewResult> eventArgs)
        {
            Imi.SupplyChain.UX.Infrastructure.ShellMenuItem menuItem = HyperlinkHelper.CreateFavoritesItem(
                Imi.SupplyChain.ActivityMonitor.UX.Modules.OutboundStaging.ResourceManager.str_d1f71448_4043_40d7_b223_c7660c6a8e20_Title,
                "d1f71448-4043-40d7-b223-c7660c6a8e20",
                Imi.SupplyChain.ActivityMonitor.UX.Modules.OutboundStaging.Constants.EventTopicNames.ShowOutboundStagingMonitorDialog,
                Assembly.GetExecutingAssembly().ManifestModule.Name,
                eventArgs.Data);

            ShellInteractionService.AddToFavorites(menuItem);

            //Get overview view
            if (outboundStagingMonitorOverviewView != null)
            {
                UXSettingsService favoriteSettingsService = WorkItem.Items.AddNew <UXSettingsService>(menuItem.Id);
                favoriteSettingsService.ContainerName = menuItem.Id;
                favoriteSettingsService.AddProvider(outboundStagingMonitorOverviewView, new OutboundStagingMonitorControllerSettingsProvider());
                favoriteSettingsService.SaveSettings();
                WorkItem.Items.Remove(favoriteSettingsService);
            }
        }
        public override void AssemblyMonitorSearchPanelViewAddToFavoritesEventHandler(object sender, DataEventArgs <AssemblyMonitorSearchPanelViewResult> eventArgs)
        {
            Imi.SupplyChain.UX.Infrastructure.ShellMenuItem menuItem = HyperlinkHelper.CreateFavoritesItem(
                Imi.SupplyChain.ActivityMonitor.UX.Modules.LightAssembly.ResourceManager.str_607b9c40_8433_47ff_87f0_6b7dfac9739a_Title,
                "607b9c40-8433-47ff-87f0-6b7dfac9739a",
                Imi.SupplyChain.ActivityMonitor.UX.Modules.LightAssembly.Constants.EventTopicNames.ShowAssemblyMonitorDialog,
                Assembly.GetExecutingAssembly().ManifestModule.Name,
                eventArgs.Data);

            ShellInteractionService.AddToFavorites(menuItem);

            //Get overview view
            if (assemblyMonitorOverviewView != null)
            {
                UXSettingsService favoriteSettingsService = WorkItem.Items.AddNew <UXSettingsService>(menuItem.Id);
                favoriteSettingsService.ContainerName = menuItem.Id;
                favoriteSettingsService.AddProvider(assemblyMonitorOverviewView, new AssemblyMonitorControllerSettingsProvider());
                favoriteSettingsService.SaveSettings();
                WorkItem.Items.Remove(favoriteSettingsService);
            }
        }
        public void OnChooseDefaultOutputManagerDialog(object sender, EventArgs args)
        {
            try
            {
                IChooseDefaultOutputManagerView chooseOutputManager = WorkItem.SmartParts.AddNew <ChooseDefaultOutputManagerView>();

                UXSettingsService settingsServiceLoad = WorkItem.Items.AddNew <UXSettingsService>("IChooseDefaultOutputManagerView");
                settingsServiceLoad.ContainerName = "IChooseDefaultOutputManagerView";
                settingsServiceLoad.AddProvider(chooseOutputManager, new ChooseDefaultOutputManagerSettingsProvider());
                settingsServiceLoad.LoadSettings();
                WorkItem.Items.Remove(settingsServiceLoad);

                if (chooseOutputManager.ShowDialog() == true)
                {
                    _OutputManagerUserSessionService.OutputManagerId = chooseOutputManager.SelectedOutputManagerId;

                    UXSettingsService settingsService = WorkItem.Items.AddNew <UXSettingsService>("IChooseDefaultOutputManagerView");
                    settingsService.ContainerName = "IChooseDefaultOutputManagerView";
                    settingsService.AddProvider(chooseOutputManager, new ChooseDefaultOutputManagerSettingsProvider());
                    settingsService.SaveSettings();
                    WorkItem.Items.Remove(settingsService);


                    EventTopic userSettingsTopic = WorkItem.EventTopics.Get(Imi.SupplyChain.UX.UXEventTopicNames.UserSettingsChangedTopic);

                    if (userSettingsTopic != null)
                    {
                        UserSettingsChangedEventArgs userSettingsChangedEventArgs = new UserSettingsChangedEventArgs(true);
                        userSettingsTopic.Fire(this, userSettingsChangedEventArgs, WorkItem, PublicationScope.Descendants);
                    }
                }
            }
            finally
            {
                if (_OutputManagerUserSessionService.OutputManagerId == null)
                {
                    ShellInteractionService.ShowMessageBox(LocalResources.ChangeUserSettings_Caption, LocalResources.ChangeUserSettings_Message, null, Imi.SupplyChain.UX.Infrastructure.MessageBoxButton.Ok, Imi.SupplyChain.UX.Infrastructure.MessageBoxImage.Warning);
                }
            }
        }
        protected override void BuildViews()
        {
            searchPanelView = WorkItem.SmartParts.AddNew <MovementMonitorSearchPanelView>();
            searchPanelView.RefreshDataOnShow = false;
            searchPanelView.IsVisible         = false;

            movementMonitorOverviewViewLoader                   = WorkItem.SmartParts.AddNew <DynamicViewLoader>("Imi.SupplyChain.ActivityMonitor.UX.Views.ActivityMonitor.IMovementMonitorOverviewView");
            movementMonitorOverviewViewLoader.ViewType          = typeof(MovementMonitorOverviewView);
            movementMonitorOverviewViewLoader.RefreshDataOnShow = false;
            if (parameters != null)
            {
                movementMonitorOverviewViewLoader.Update(parameters);
            }

            movementMonitorOverviewViewLoader.IsDetailView = false;
            movementMonitorOverviewViewLoader.Title        = Imi.SupplyChain.ActivityMonitor.UX.Modules.Movement.ResourceManager.str_c177bbdc_91be_40a0_8eb2_4b7c4537108e_Title;
            movementMonitorOverviewViewLoader.ViewLoaded  += (s, e) =>
            {
                movementMonitorOverviewView = e.Data as IMovementMonitorOverviewView;

                if (!string.IsNullOrEmpty(_favoriteId))
                {
                    UXSettingsService favoriteSettingsService = WorkItem.Items.AddNew <UXSettingsService>(_favoriteId);
                    favoriteSettingsService.ContainerName = _favoriteId;
                    favoriteSettingsService.AddProvider(movementMonitorOverviewView, new MovementMonitorControllerSettingsProvider());
                    favoriteSettingsService.LoadSettings();
                    WorkItem.Items.Remove(favoriteSettingsService);
                }
            };

            movementMonitorDataDetailViewLoader             = WorkItem.SmartParts.AddNew <DynamicViewLoader>("Imi.SupplyChain.ActivityMonitor.UX.Views.ActivityMonitor.IMovementMonitorDataDetailView");
            movementMonitorDataDetailViewLoader.ViewType    = typeof(MovementMonitorDataDetailView);
            movementMonitorDataDetailViewLoader.Title       = Imi.SupplyChain.ActivityMonitor.UX.Views.ActivityMonitor.ResourceManager.str_bff16481_1567_4d13_aece_77caa709314e_Title;
            movementMonitorDataDetailViewLoader.ViewLoaded += (s, e) =>
            {
                movementMonitorDataDetailView = e.Data as IMovementMonitorDataDetailView;
            };
        }
        protected override void BuildViews()
        {
            searchPanelView = WorkItem.SmartParts.AddNew <PackMonitorSearchPanelView>();
            searchPanelView.RefreshDataOnShow = false;
            searchPanelView.IsVisible         = false;

            packMonitorOverviewViewLoader                   = WorkItem.SmartParts.AddNew <DynamicViewLoader>("Imi.SupplyChain.ActivityMonitor.UX.Views.ActivityMonitor.IPackMonitorOverviewView");
            packMonitorOverviewViewLoader.ViewType          = typeof(PackMonitorOverviewView);
            packMonitorOverviewViewLoader.RefreshDataOnShow = false;
            if (parameters != null)
            {
                packMonitorOverviewViewLoader.Update(parameters);
            }

            packMonitorOverviewViewLoader.IsDetailView = false;
            packMonitorOverviewViewLoader.Title        = Imi.SupplyChain.ActivityMonitor.UX.Modules.Pack.ResourceManager.str_37b749b8_18c9_498b_abc8_3d0ee722bd93_Title;
            packMonitorOverviewViewLoader.ViewLoaded  += (s, e) =>
            {
                packMonitorOverviewView = e.Data as IPackMonitorOverviewView;

                if (!string.IsNullOrEmpty(_favoriteId))
                {
                    UXSettingsService favoriteSettingsService = WorkItem.Items.AddNew <UXSettingsService>(_favoriteId);
                    favoriteSettingsService.ContainerName = _favoriteId;
                    favoriteSettingsService.AddProvider(packMonitorOverviewView, new PackMonitorControllerSettingsProvider());
                    favoriteSettingsService.LoadSettings();
                    WorkItem.Items.Remove(favoriteSettingsService);
                }
            };

            packMonitorDataDetailViewLoader             = WorkItem.SmartParts.AddNew <DynamicViewLoader>("Imi.SupplyChain.ActivityMonitor.UX.Views.ActivityMonitor.IPackMonitorDataDetailView");
            packMonitorDataDetailViewLoader.ViewType    = typeof(PackMonitorDataDetailView);
            packMonitorDataDetailViewLoader.Title       = Imi.SupplyChain.ActivityMonitor.UX.Views.ActivityMonitor.ResourceManager.str_08aaca54_f7a9_4897_8134_67427bea5459_Title;
            packMonitorDataDetailViewLoader.ViewLoaded += (s, e) =>
            {
                packMonitorDataDetailView = e.Data as IPackMonitorDataDetailView;
            };
        }
        protected override void BuildViews()
        {
            searchPanelView = WorkItem.SmartParts.AddNew <ReceiveMonitorSearchPanelView>();
            searchPanelView.RefreshDataOnShow = false;
            searchPanelView.IsVisible         = false;

            receiveMonitorOverviewViewLoader                   = WorkItem.SmartParts.AddNew <DynamicViewLoader>("Imi.SupplyChain.ActivityMonitor.UX.Views.ActivityMonitor.IReceiveMonitorOverviewView");
            receiveMonitorOverviewViewLoader.ViewType          = typeof(ReceiveMonitorOverviewView);
            receiveMonitorOverviewViewLoader.RefreshDataOnShow = false;
            if (parameters != null)
            {
                receiveMonitorOverviewViewLoader.Update(parameters);
            }

            receiveMonitorOverviewViewLoader.IsDetailView = false;
            receiveMonitorOverviewViewLoader.Title        = Imi.SupplyChain.ActivityMonitor.UX.Modules.Receive.ResourceManager.str_0759801e_9ba2_4f20_8383_5549a777f9ab_Title;
            receiveMonitorOverviewViewLoader.ViewLoaded  += (s, e) =>
            {
                receiveMonitorOverviewView = e.Data as IReceiveMonitorOverviewView;

                if (!string.IsNullOrEmpty(_favoriteId))
                {
                    UXSettingsService favoriteSettingsService = WorkItem.Items.AddNew <UXSettingsService>(_favoriteId);
                    favoriteSettingsService.ContainerName = _favoriteId;
                    favoriteSettingsService.AddProvider(receiveMonitorOverviewView, new ReceiveMonitorControllerSettingsProvider());
                    favoriteSettingsService.LoadSettings();
                    WorkItem.Items.Remove(favoriteSettingsService);
                }
            };

            receiveMonitorDataDetailViewLoader             = WorkItem.SmartParts.AddNew <DynamicViewLoader>("Imi.SupplyChain.ActivityMonitor.UX.Views.ActivityMonitor.IReceiveMonitorDataDetailView");
            receiveMonitorDataDetailViewLoader.ViewType    = typeof(ReceiveMonitorDataDetailView);
            receiveMonitorDataDetailViewLoader.Title       = Imi.SupplyChain.ActivityMonitor.UX.Views.ActivityMonitor.ResourceManager.str_cb503856_28ed_43a1_a1f3_e5cc4a00bfc8_Title;
            receiveMonitorDataDetailViewLoader.ViewLoaded += (s, e) =>
            {
                receiveMonitorDataDetailView = e.Data as IReceiveMonitorDataDetailView;
            };
        }
        protected override void BuildViews()
        {
            searchPanelView = WorkItem.SmartParts.AddNew <LoadingMonitorSearchPanelView>();
            searchPanelView.RefreshDataOnShow = false;
            searchPanelView.IsVisible         = false;

            loadingMonitorOverviewViewLoader                   = WorkItem.SmartParts.AddNew <DynamicViewLoader>("Imi.SupplyChain.ActivityMonitor.UX.Views.ActivityMonitor.ILoadingMonitorOverviewView");
            loadingMonitorOverviewViewLoader.ViewType          = typeof(LoadingMonitorOverviewView);
            loadingMonitorOverviewViewLoader.RefreshDataOnShow = false;
            if (parameters != null)
            {
                loadingMonitorOverviewViewLoader.Update(parameters);
            }

            loadingMonitorOverviewViewLoader.IsDetailView = false;
            loadingMonitorOverviewViewLoader.Title        = Imi.SupplyChain.ActivityMonitor.UX.Modules.Loading.ResourceManager.str_2b50c1d8_19fe_41dc_ba6b_05e86c87a9d8_Title;
            loadingMonitorOverviewViewLoader.ViewLoaded  += (s, e) =>
            {
                loadingMonitorOverviewView = e.Data as ILoadingMonitorOverviewView;

                if (!string.IsNullOrEmpty(_favoriteId))
                {
                    UXSettingsService favoriteSettingsService = WorkItem.Items.AddNew <UXSettingsService>(_favoriteId);
                    favoriteSettingsService.ContainerName = _favoriteId;
                    favoriteSettingsService.AddProvider(loadingMonitorOverviewView, new LoadingMonitorControllerSettingsProvider());
                    favoriteSettingsService.LoadSettings();
                    WorkItem.Items.Remove(favoriteSettingsService);
                }
            };

            loadingMonitorDataDetailViewLoader             = WorkItem.SmartParts.AddNew <DynamicViewLoader>("Imi.SupplyChain.ActivityMonitor.UX.Views.ActivityMonitor.ILoadingMonitorDataDetailView");
            loadingMonitorDataDetailViewLoader.ViewType    = typeof(LoadingMonitorDataDetailView);
            loadingMonitorDataDetailViewLoader.Title       = Imi.SupplyChain.ActivityMonitor.UX.Views.ActivityMonitor.ResourceManager.str_5bb4b3f1_c5f6_4ea0_8690_1be5827c7e4b_Title;
            loadingMonitorDataDetailViewLoader.ViewLoaded += (s, e) =>
            {
                loadingMonitorDataDetailView = e.Data as ILoadingMonitorDataDetailView;
            };
        }
Exemple #19
0
        protected override void BuildViews()
        {
            searchPanelView = WorkItem.SmartParts.AddNew <OutboundStagingMonitorSearchPanelView>();
            searchPanelView.RefreshDataOnShow = false;
            searchPanelView.IsVisible         = false;

            outboundStagingMonitorOverviewViewLoader                   = WorkItem.SmartParts.AddNew <DynamicViewLoader>("Imi.SupplyChain.ActivityMonitor.UX.Views.ActivityMonitor.IOutboundStagingMonitorOverviewView");
            outboundStagingMonitorOverviewViewLoader.ViewType          = typeof(OutboundStagingMonitorOverviewView);
            outboundStagingMonitorOverviewViewLoader.RefreshDataOnShow = false;
            if (parameters != null)
            {
                outboundStagingMonitorOverviewViewLoader.Update(parameters);
            }

            outboundStagingMonitorOverviewViewLoader.IsDetailView = false;
            outboundStagingMonitorOverviewViewLoader.Title        = Imi.SupplyChain.ActivityMonitor.UX.Modules.OutboundStaging.ResourceManager.str_d1f71448_4043_40d7_b223_c7660c6a8e20_Title;
            outboundStagingMonitorOverviewViewLoader.ViewLoaded  += (s, e) =>
            {
                outboundStagingMonitorOverviewView = e.Data as IOutboundStagingMonitorOverviewView;

                if (!string.IsNullOrEmpty(_favoriteId))
                {
                    UXSettingsService favoriteSettingsService = WorkItem.Items.AddNew <UXSettingsService>(_favoriteId);
                    favoriteSettingsService.ContainerName = _favoriteId;
                    favoriteSettingsService.AddProvider(outboundStagingMonitorOverviewView, new OutboundStagingMonitorControllerSettingsProvider());
                    favoriteSettingsService.LoadSettings();
                    WorkItem.Items.Remove(favoriteSettingsService);
                }
            };

            outboundStagingMonitorDataDetailViewLoader             = WorkItem.SmartParts.AddNew <DynamicViewLoader>("Imi.SupplyChain.ActivityMonitor.UX.Views.ActivityMonitor.IOutboundStagingMonitorDataDetailView");
            outboundStagingMonitorDataDetailViewLoader.ViewType    = typeof(OutboundStagingMonitorDataDetailView);
            outboundStagingMonitorDataDetailViewLoader.Title       = Imi.SupplyChain.ActivityMonitor.UX.Views.ActivityMonitor.ResourceManager.str_897cffcd_7660_4f85_975f_d9317cabeef1_Title;
            outboundStagingMonitorDataDetailViewLoader.ViewLoaded += (s, e) =>
            {
                outboundStagingMonitorDataDetailView = e.Data as IOutboundStagingMonitorDataDetailView;
            };
        }
        protected override void BuildViews()
        {
            searchPanelView = WorkItem.SmartParts.AddNew <AssemblyMonitorSearchPanelView>();
            searchPanelView.RefreshDataOnShow = false;
            searchPanelView.IsVisible         = false;

            assemblyMonitorOverviewViewLoader                   = WorkItem.SmartParts.AddNew <DynamicViewLoader>("Imi.SupplyChain.ActivityMonitor.UX.Views.ActivityMonitor.IAssemblyMonitorOverviewView");
            assemblyMonitorOverviewViewLoader.ViewType          = typeof(AssemblyMonitorOverviewView);
            assemblyMonitorOverviewViewLoader.RefreshDataOnShow = false;
            if (parameters != null)
            {
                assemblyMonitorOverviewViewLoader.Update(parameters);
            }

            assemblyMonitorOverviewViewLoader.IsDetailView = false;
            assemblyMonitorOverviewViewLoader.Title        = Imi.SupplyChain.ActivityMonitor.UX.Modules.LightAssembly.ResourceManager.str_607b9c40_8433_47ff_87f0_6b7dfac9739a_Title;
            assemblyMonitorOverviewViewLoader.ViewLoaded  += (s, e) =>
            {
                assemblyMonitorOverviewView = e.Data as IAssemblyMonitorOverviewView;

                if (!string.IsNullOrEmpty(_favoriteId))
                {
                    UXSettingsService favoriteSettingsService = WorkItem.Items.AddNew <UXSettingsService>(_favoriteId);
                    favoriteSettingsService.ContainerName = _favoriteId;
                    favoriteSettingsService.AddProvider(assemblyMonitorOverviewView, new AssemblyMonitorControllerSettingsProvider());
                    favoriteSettingsService.LoadSettings();
                    WorkItem.Items.Remove(favoriteSettingsService);
                }
            };

            assemblyMonitorDataDetailViewLoader             = WorkItem.SmartParts.AddNew <DynamicViewLoader>("Imi.SupplyChain.ActivityMonitor.UX.Views.ActivityMonitor.IAssemblyMonitorDataDetailView");
            assemblyMonitorDataDetailViewLoader.ViewType    = typeof(AssemblyMonitorDataDetailView);
            assemblyMonitorDataDetailViewLoader.Title       = Imi.SupplyChain.ActivityMonitor.UX.Views.ActivityMonitor.ResourceManager.str_9d57f38f_d712_4e56_a4bf_6b6bc5be301d_Title;
            assemblyMonitorDataDetailViewLoader.ViewLoaded += (s, e) =>
            {
                assemblyMonitorDataDetailView = e.Data as IAssemblyMonitorDataDetailView;
            };
        }
Exemple #21
0
        protected override void BuildViews()
        {
            searchPanelView = WorkItem.SmartParts.AddNew <CasePickMonitorSearchPanelView>();
            searchPanelView.RefreshDataOnShow = false;
            searchPanelView.IsVisible         = false;

            casePickMonitorOverviewViewLoader                   = WorkItem.SmartParts.AddNew <DynamicViewLoader>("Imi.SupplyChain.ActivityMonitor.UX.Views.ActivityMonitor.ICasePickMonitorOverviewView");
            casePickMonitorOverviewViewLoader.ViewType          = typeof(CasePickMonitorOverviewView);
            casePickMonitorOverviewViewLoader.RefreshDataOnShow = false;
            if (parameters != null)
            {
                casePickMonitorOverviewViewLoader.Update(parameters);
            }

            casePickMonitorOverviewViewLoader.IsDetailView = false;
            casePickMonitorOverviewViewLoader.Title        = Imi.SupplyChain.ActivityMonitor.UX.Modules.CasePick.ResourceManager.str_24cd9629_716f_4e53_9969_22f7a444c534_Title;
            casePickMonitorOverviewViewLoader.ViewLoaded  += (s, e) =>
            {
                casePickMonitorOverviewView = e.Data as ICasePickMonitorOverviewView;

                if (!string.IsNullOrEmpty(_favoriteId))
                {
                    UXSettingsService favoriteSettingsService = WorkItem.Items.AddNew <UXSettingsService>(_favoriteId);
                    favoriteSettingsService.ContainerName = _favoriteId;
                    favoriteSettingsService.AddProvider(casePickMonitorOverviewView, new CasePickMonitorControllerSettingsProvider());
                    favoriteSettingsService.LoadSettings();
                    WorkItem.Items.Remove(favoriteSettingsService);
                }
            };

            casePickMonitorDataDetailViewLoader             = WorkItem.SmartParts.AddNew <DynamicViewLoader>("Imi.SupplyChain.ActivityMonitor.UX.Views.ActivityMonitor.ICasePickMonitorDataDetailView");
            casePickMonitorDataDetailViewLoader.ViewType    = typeof(CasePickMonitorDataDetailView);
            casePickMonitorDataDetailViewLoader.Title       = Imi.SupplyChain.ActivityMonitor.UX.Views.ActivityMonitor.ResourceManager.str_1e68c425_2a36_4e9d_a074_8927a5b6c881_Title;
            casePickMonitorDataDetailViewLoader.ViewLoaded += (s, e) =>
            {
                casePickMonitorDataDetailView = e.Data as ICasePickMonitorDataDetailView;
            };
        }
Exemple #22
0
        protected override void BuildViews()
        {
            searchPanelView = WorkItem.SmartParts.AddNew <PickPaceMonitorSearchPanelView>();
            searchPanelView.RefreshDataOnShow = false;
            searchPanelView.IsVisible         = false;

            pickPaceMonitorOverviewViewLoader                   = WorkItem.SmartParts.AddNew <DynamicViewLoader>("Imi.SupplyChain.ActivityMonitor.UX.Views.ActivityMonitor.IPickPaceMonitorOverviewView");
            pickPaceMonitorOverviewViewLoader.ViewType          = typeof(PickPaceMonitorOverviewView);
            pickPaceMonitorOverviewViewLoader.RefreshDataOnShow = false;
            if (parameters != null)
            {
                pickPaceMonitorOverviewViewLoader.Update(parameters);
            }

            pickPaceMonitorOverviewViewLoader.IsDetailView = false;
            pickPaceMonitorOverviewViewLoader.Title        = Imi.SupplyChain.ActivityMonitor.UX.Modules.PickPace.ResourceManager.str_121ad164_ddc9_495b_a470_c8b6a9e55001_Title;
            pickPaceMonitorOverviewViewLoader.ViewLoaded  += (s, e) =>
            {
                pickPaceMonitorOverviewView = e.Data as IPickPaceMonitorOverviewView;

                if (!string.IsNullOrEmpty(_favoriteId))
                {
                    UXSettingsService favoriteSettingsService = WorkItem.Items.AddNew <UXSettingsService>(_favoriteId);
                    favoriteSettingsService.ContainerName = _favoriteId;
                    favoriteSettingsService.AddProvider(pickPaceMonitorOverviewView, new PickPaceMonitorControllerSettingsProvider());
                    favoriteSettingsService.LoadSettings();
                    WorkItem.Items.Remove(favoriteSettingsService);
                }
            };

            pickPaceMonitorDetailViewLoader             = WorkItem.SmartParts.AddNew <DynamicViewLoader>("Imi.SupplyChain.ActivityMonitor.UX.Views.ActivityMonitor.IPickPaceMonitorDetailView");
            pickPaceMonitorDetailViewLoader.ViewType    = typeof(PickPaceMonitorDetailView);
            pickPaceMonitorDetailViewLoader.Title       = Imi.SupplyChain.ActivityMonitor.UX.Views.ActivityMonitor.ResourceManager.str_486bcfcc_6cd6_4e65_a5c6_5a6b7a7ae67a_Title;
            pickPaceMonitorDetailViewLoader.ViewLoaded += (s, e) =>
            {
                pickPaceMonitorDetailView = e.Data as IPickPaceMonitorDetailView;
            };
        }