Exemplo n.º 1
0
        /// <summary>
        /// Creates the specific IUPopulationController of the 'PIU_Pasajero' IU pattern.
        /// </summary>
        /// <param name="exchangeInfo">IUPopulationContext reference.</param>
        /// <returns>Specific IUPopulationController of the 'PIU_Pasajero' IU pattern.</returns>
        public static IUPopulationController Population_PIU_Pasajero(ExchangeInfo exchangeInfo)
        {
            IUPopulationContext lContext = new IUPopulationContext(exchangeInfo,"Pasajero", "PIU_Pasajero");
            // Block size.
            lContext.BlockSize = 40;
            IUPopulationController lController = new IUPopulationController("PIU_Pasajero", "Pasajero", "Clas_1348178542592658UIPobCl_1_Alias", lContext, null);

            // Action _Auto_.
            lController.Action = Pasajero.Action__Auto_(lController);
            // Navigation _Auto_.
            lController.Navigation = Pasajero.Navigation__Auto_(lController);
            // DisplaySet '_Auto_'.
            DisplaySetByBlocksController lDisplaySetByBlocksController = new DisplaySetByBlocksController(Pasajero.DisplaySet__Auto_(lController));
            lController.DisplaySet = lDisplaySetByBlocksController;
            // Get user preferences for this scenario.
            lController.SetPreferences(Logic.UserPreferences.GetScenarioPrefs("Pasajero:PIU_Pasajero") as PopulationPrefs);

            return lController;
        }
Exemplo n.º 2
0
        /// <summary>
        /// Creates the specific IUPopulationController of the 'PIU_NaveNodriza' IU pattern.
        /// </summary>
        /// <param name="exchangeInfo">IUPopulationContext reference.</param>
        /// <returns>Specific IUPopulationController of the 'PIU_NaveNodriza' IU pattern.</returns>
        public static IUPopulationController Population_PIU_NaveNodriza(ExchangeInfo exchangeInfo)
        {
            IUPopulationContext lContext = new IUPopulationContext(exchangeInfo,"NaveNodriza", "PIU_NaveNodriza");
            // Block size.
            lContext.BlockSize = 40;
            IUPopulationController lController = new IUPopulationController("PIU_NaveNodriza", "PIU_NaveNodriza", "Clas_1347649273856884UIPobCl_1_Alias", lContext, null);

            // Action _Auto_.
            lController.Action = NaveNodriza.Action__Auto_(lController);
            // DisplaySet '_Auto_'.
            DisplaySetByBlocksController lDisplaySetByBlocksController = new DisplaySetByBlocksController(NaveNodriza.DisplaySet__Auto_(lController));
            lController.DisplaySet = lDisplaySetByBlocksController;
            // Get user preferences for this scenario.
            lController.SetPreferences(Logic.UserPreferences.GetScenarioPrefs("NaveNodriza:PIU_NaveNodriza") as PopulationPrefs);

            return lController;
        }
Exemplo n.º 3
0
        /// <summary>
        /// Creates the specific IUPopulationController of the '_Auto_' IU pattern.
        /// </summary>
        /// <param name="exchangeInfo">IUPopulationContext reference.</param>
        /// <returns>Specific IUPopulationController of the '_Auto_' IU pattern.</returns>
        public static IUPopulationController Population__Auto_(ExchangeInfo exchangeInfo)
        {
            IUPopulationContext lContext = new IUPopulationContext(exchangeInfo,"Revision", "_Auto_");
            // Block size.
            lContext.BlockSize = 40;
            IUPopulationController lController = new IUPopulationController("_Auto_", "Revision", "Clas_1348178542592347UIPobCl_Auto_Alias", lContext, null);

            // Action _Auto_.
            lController.Action = Revision.Action__Auto_(lController);
            // Navigation _Auto_.
            lController.Navigation = Revision.Navigation__Auto_(lController);
            // DisplaySet '_Auto_'.
            DisplaySetByBlocksController lDisplaySetByBlocksController = new DisplaySetByBlocksController(Revision.DisplaySet__Auto_(lController));
            lDisplaySetByBlocksController.DisplaySetList.Add(Revision.DisplaySet__Auto_(lController).CurrentDisplaySet);
            lController.DisplaySet = lDisplaySetByBlocksController;
            // Get user preferences for this scenario.
            lController.SetPreferences(Logic.UserPreferences.GetScenarioPrefs("Revision:_Auto_") as PopulationPrefs);

            return lController;
        }