/// <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); }
/// <summary> /// Creates the specific IUPopulationController of the 'PIU_Aeronave' IU pattern. /// </summary> /// <param name="exchangeInfo">IUPopulationContext reference.</param> /// <returns>Specific IUPopulationController of the 'PIU_Aeronave' IU pattern.</returns> public static IUPopulationController Population_PIU_Aeronave(ExchangeInfo exchangeInfo) { IUPopulationContext lContext = new IUPopulationContext(exchangeInfo, "Aeronave", "PIU_Aeronave"); // Block size. lContext.BlockSize = 40; IUPopulationController lController = new IUPopulationController("PIU_Aeronave", "Aeronave", "Clas_1348178411520734UIPobCl_1_Alias", lContext, null); // Action _Auto_. lController.Action = Aeronave.Action__Auto_(lController); // Navigation _Auto_. lController.Navigation = Aeronave.Navigation__Auto_(lController); // DisplaySet '_Auto_'. DisplaySetByBlocksController lDisplaySetByBlocksController = new DisplaySetByBlocksController(Aeronave.DisplaySet__Auto_(lController)); lController.DisplaySet = lDisplaySetByBlocksController; // Get user preferences for this scenario. lController.SetPreferences(Logic.UserPreferences.GetScenarioPrefs("Aeronave:PIU_Aeronave") as PopulationPrefs); return(lController); }
/// <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); }