/// <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 IUInstanceController of the '_Auto_' IU pattern. /// </summary> /// <param name="exchangeInfo">IUInstanceContext reference.</param> /// <returns>Specific IUInstanceController of the '_Auto_' IU pattern.</returns> public static IUInstanceController Instance__Auto_(ExchangeInfo exchangeInfo) { IUInstanceContext lContext = new IUInstanceContext(exchangeInfo, "Aeronave", "_Auto_"); IUInstanceController lController = new IUInstanceController("_Auto_", "Aeronave", "Clas_1348178411520734UIInst_1_Alias", lContext, null); // Action _Auto_. lController.Action = Aeronave.Action__Auto_(lController); // Navigation _Auto_. lController.Navigation = Aeronave.Navigation__Auto_(lController); // DisplaySet '_Auto_'. DisplaySetController lDisplaySetController = Aeronave.DisplaySet__Auto_(lController); lController.DisplaySet = lDisplaySetController; // Oid selector. lController.OidSelector = new ArgumentOVController("oidSelector", "Aeronave", "Clas_1348178411520734_Alias", "Aeronave", false, false, false, typeof(InteractionToolkit.Aeronave.IUPopulations.PIU_AeronaveIT).FullName, null, "", null); // Get User preferences. lController.SetPreferences(Logic.UserPreferences.GetScenarioPrefs("Aeronave:_Auto_") as InstancePrefs); return(lController); }