Example #1
0
        /// <summary>
        /// Creates the specific NavigationController of the '_Auto_' Navigation pattern.
        /// </summary>
        /// <param name="parentController">Parent controller.</param>
        /// <returns>Specific NavigationController of the '_Auto_' Navigation pattern.</returns>
        public static NavigationController Navigation__Auto_(IUController parentController)
        {
            // Navigation _Auto_.
            NavigationController lNavigationController = new NavigationController("_Auto_", parentController);

            string[] lAgentsNavigationItem0 = { Agents.Administrador };
            List <KeyValuePair <string, string[]> > lAttrActivationItem0 = new List <KeyValuePair <string, string[]> >();

            lNavigationController.Add(
                0,
                "PasajeroAeronave",
                "Clas_1348178411520734NavOfer_AutoElemNav_1_Alias",
                lAgentsNavigationItem0,
                "PasajeroAeronave",
                typeof(InteractionToolkit.PasajeroAeronave.IUInstances.IIU_PasajeroAeronaveIT).FullName,
                "Aeronave",
                "",
                "PasajeroAeronave",
                "Clas_1348178542592177UIInst_2",
                "Aeronave",
                "Clas_1348178411520734",
                "",
                lAttrActivationItem0,
                "");


            return(lNavigationController);
        }
Example #2
0
        /// <summary>
        /// Initializes an scenario.
        /// </summary>
        /// <param name="scenario">Scenario to initialize.</param>
        /// <param name="exchangeInfo">Scenario information.</param>
        /// <returns></returns>
        private static IUController Initialize(Form scenario, ExchangeInfo exchangeInfo)
        {
            IUController lResult = null;

            // Initialize form with context.
            #region call Initialize an show form.
            if (scenario != null)
            {
                // Find Initialize method for scenario.
                try
                {
                    MethodInfo lInitialize = scenario.GetType().GetMethod("Initialize");
                    if (lInitialize != null)
                    {
                        object[] lArgs = new object[1];
                        lArgs[0] = exchangeInfo;
                        lResult  = lInitialize.Invoke(scenario, lArgs) as IUController;
                    }
                }
                catch (Exception exception)
                {
                    //throw;
                    ScenarioManager.LaunchErrorScenario(exception);
                }
            }
            #endregion call Initialize an show form.

            return(lResult);
        }
Example #3
0
        /// <summary>
        /// Creates the specific NavigationController of the '_Auto_' Navigation pattern.
        /// </summary>
        /// <param name="parentController">Parent controller.</param>
        /// <returns>Specific NavigationController of the '_Auto_' Navigation pattern.</returns>
        public static NavigationController Navigation__Auto_(IUController parentController)
        {
            // Navigation _Auto_.
            NavigationController lNavigationController = new NavigationController("_Auto_", parentController);

            string[] lAgentsNavigationItem0 = { Agents.Administrador };
            List <KeyValuePair <string, string[]> > lAttrActivationItem0 = new List <KeyValuePair <string, string[]> >();

            lNavigationController.Add(
                0,
                "RevisionPasajero",
                "Clas_1348178542592347NavOfer_AutoElemNav_1_Alias",
                lAgentsNavigationItem0,
                "RevisionPasajero",
                typeof(InteractionToolkit.RevisionPasajero.IUInstances._Auto_IT).FullName,
                "Revision",
                "",
                "RevisionPasajero",
                "Clas_1348178673664478UIInst_1",
                "Revision",
                "Clas_1348178542592347",
                "",
                lAttrActivationItem0,
                "");


            return(lNavigationController);
        }
Example #4
0
        /// <summary>
        /// Launchs a navigation in an scenario.
        /// </summary>
        /// <param name="navigationInfo">Navigation information.</param>
        public static void LaunchNavigationScenario(ExchangeInfoNavigation navigationInfo, INavigationItemSuscriber navigationItem)
        {
            // Instance Scenario, initialize and return the controller instance inside the Scenario.
            Form         lScenario   = CreateScenarioInstance(navigationInfo);
            IUController lController = Initialize(lScenario, navigationInfo);

            if (lController != null)
            {
                if (navigationItem != null)
                {
                    IUMasterDetailController lMasterDetailController = lController as IUMasterDetailController;
                    if (lMasterDetailController != null)
                    {
                        navigationItem.SuscribeNavigationEvents(lMasterDetailController.Master as INavigationItemEvents);
                    }
                    else
                    {
                        navigationItem.SuscribeNavigationEvents(lController as INavigationItemEvents);
                    }
                }
            }

            if (lScenario != null)
            {
                lScenario.MdiParent = MainForm;
                LaunchShowState     = ShowState.Showing;
                lScenario.Show();
                LaunchShowState = ShowState.Showed;
            }
        }
Example #5
0
        public static void LaunchOutbountArgumentsScenario(ExchangeInfo exchangeInfo)
        {
            // Instance Scenario, initialize and return the controller instance inside the Scenario.
            Form         lScenario   = CreateScenarioInstance(exchangeInfo);
            IUController lController = Initialize(lScenario, exchangeInfo);

            if (lController != null)
            {
                lScenario.MdiParent = MainForm;
                LaunchShowState     = ShowState.Showing;
                lScenario.Show();
                LaunchShowState = ShowState.Showed;
            }
        }
 public frmAlgemeen()
 {
     InitializeComponent();
     bc = new BeheerController();
     ic = new IUController();
     sc = new SchoonmaakController();
     rc = new ReparatieController();
     cbReparatieType.DataSource                 = Enum.GetValues(typeof(ReparatieType));
     cbSchoonmaakType.DataSource                = Enum.GetValues(typeof(SchoonmaakType));
     cbTypeTramToevoegen.DataSource             = Enum.GetValues(typeof(TramType));
     cbTramstatusTramstatusAanpassen.DataSource = Enum.GetValues(typeof(TramStatus));
     cbInUitRijTramstatus.DataSource            = Enum.GetValues(typeof(TramStatus));
     FillAllLists();
     FillGUIsporen();
     FillDgvReservering();
 }
Example #7
0
        /// <summary>
        /// Launchs a selection in an scenario.
        /// </summary>
        /// <param name="selectionForwardInfo">Origin scenario information.</param>
        /// <param name="argument">Selected oid information.</param>
        public static void LaunchSelectionScenario(
            ExchangeInfoSelectionForward selectionForwardInfo,
            ISelectionBackward argument)
        {
            // Instance Scenario, initialize and return the controller instance inside the Scenario.
            Form         lScenario   = CreateScenarioInstance(selectionForwardInfo);
            IUController lController = Initialize(lScenario, selectionForwardInfo);

            if (lController != null)
            {
                if (argument != null)
                {
                    argument.SuscribeSelectionBackward(lController as IInstancesSelector);
                }
            }
            if (lScenario != null)
            {
                lScenario.MdiParent = MainForm;
                LaunchShowState     = ShowState.Showing;
                lScenario.Show();
                LaunchShowState = ShowState.Showed;
            }
        }
Example #8
0
        /// <summary>
        /// Launchs an action in an scenario.
        /// </summary>
        /// <param name="actionInfo">Action information.</param>
        /// <param name="actionItem">Item involved in the action.</param>
        public static void LaunchActionScenario(ExchangeInfoAction actionInfo, IActionItemSuscriber actionItem)
        {
            // Print Scenario
            if (actionInfo.IUName == typeof(PrintForm).FullName)
            {
                LaunchPrintScenario(actionInfo.SelectedOids);
                return;
            }

            // Instance Scenario, initialize and return the controller instance inside the Scenario.
            Form         lScenario   = CreateScenarioInstance(actionInfo);
            IUController lController = Initialize(lScenario, actionInfo);

            if (lController != null)
            {
                if (actionItem != null)
                {
                    actionItem.SuscribeActionEvents(lController as IActionItemEvents);
                }
            }
            if (lScenario != null)
            {
                IUServiceController lIUServiceController = lController as IUServiceController;
                if (lIUServiceController != null && !lIUServiceController.ShowScenario)
                {
                    lIUServiceController.Execute();
                }
                else
                {
                    lScenario.MdiParent = MainForm;
                    LaunchShowState     = ShowState.Showing;
                    lScenario.Show();
                    LaunchShowState = ShowState.Showed;
                }
            }
        }
Example #9
0
        /// <summary>
        /// Creates the specific IUServiceController of the 'edit_instance' IU pattern.
        /// </summary>
        /// <param name="exchangeInfo">IUServiceController reference.</param>
        /// <returns>Specific IUServiceController of the 'edit_instance' IU pattern.</returns>
        public static IUServiceController Service_edit_instanceInbound(ExchangeInfo exchangeInfo, IUController parentController)
        {
            string[]            lAgentsService = { Agents.Administrador };
            IUServiceContext    lContext       = new IUServiceContext(exchangeInfo, "PasajeroAeronave", "edit_instance", "SIU_edit_instance");
            IUServiceController lController    = new IUServiceController("edit_instance", "Edit", "Clas_1348178542592177Ser_3_Alias", lAgentsService, "PasajeroAeronave", "edit_instance", lContext, null, false);

            // This controller is an InboundArgument controller.
            lController.IsOutboundArgumentController = false;


            #region Inbound arguments
            IArguments           InboundArguments = lController.InputFields;
            ArgumentOVController lArgument        = null;
            // Argument p_thisPasajeroAeronave.
            lArgument = new ArgumentOVController("p_thisPasajeroAeronave", "PasajeroAeronave", "Clas_1348178542592177Ser_3UIServ_1ElemAgrup_1_Alias", "PasajeroAeronave", false, true, false, typeof(InteractionToolkit.PasajeroAeronave.IUPopulations.PIU_PasajeroAeronaveIT).FullName, null, "", lController);
            lController.ArgumentThis = lArgument;
            InboundArguments.Add(lArgument);
            #endregion Inbound arguments

            #region Outbound arguments
            // If the service has outbound arguments, the outbound arguments scenario is set here; otherwise, null.
            lController.OutboundArgumentsScenario = null;
            #endregion Outbound arguments


            return(lController);
        }
Example #10
0
        /// <summary>
        /// Creates the specific IUServiceController of the 'create_instance' IU pattern.
        /// </summary>
        /// <param name="exchangeInfo">IUServiceController reference.</param>
        /// <returns>Specific IUServiceController of the 'create_instance' IU pattern.</returns>
        public static IUServiceController Service_create_instanceInbound(ExchangeInfo exchangeInfo, IUController parentController)
        {
            string[]            lAgentsService = { Agents.Administrador };
            IUServiceContext    lContext       = new IUServiceContext(exchangeInfo, "PasajeroAeronave", "create_instance", "SIU_create_instance");
            IUServiceController lController    = new IUServiceController("create_instance", "New", "Clas_1348178542592177Ser_1_Alias", lAgentsService, "PasajeroAeronave", "create_instance", lContext, null);

            // This controller is an InboundArgument controller.
            lController.IsOutboundArgumentController = false;


            #region Inbound arguments
            IArguments InboundArguments = lController.InputFields;
            // Argument p_atrid_PasajeroAeronave.
            InboundArguments.Add(new ArgumentDVController("p_atrid_PasajeroAeronave", "id_PasajeroAeronave", "Clas_1348178542592177Ser_1UIServ_1ElemAgrup_1_Alias", ModelType.Autonumeric, 0, false, null, lController));
            // Argument p_agrAeronave.
            InboundArguments.Add(new ArgumentOVController("p_agrAeronave", "Aeronave", "Clas_1348178542592177Ser_1UIServ_1ElemAgrup_5_Alias", "Aeronave", true, false, false, typeof(InteractionToolkit.Aeronave.IUPopulations.PIU_AeronaveIT).FullName, null, "", lController));
            // Argument p_agrPasajero.
            InboundArguments.Add(new ArgumentOVController("p_agrPasajero", "Pasajero", "Clas_1348178542592177Ser_1UIServ_1ElemAgrup_6_Alias", "Pasajero", true, false, false, typeof(InteractionToolkit.Pasajero.IUPopulations.PIU_PasajeroIT).FullName, null, "", lController));
            // Argument p_atrNombreAeronave.
            InboundArguments.Add(new ArgumentDVController("p_atrNombreAeronave", "NombreAeronave", "Clas_1348178542592177Ser_1UIServ_1ElemAgrup_8_Alias", ModelType.String, 100, false, null, lController));
            // Argument p_atrNombrePasajero.
            InboundArguments.Add(new ArgumentDVController("p_atrNombrePasajero", "NombrePasajero", "Clas_1348178542592177Ser_1UIServ_1ElemAgrup_9_Alias", ModelType.String, 100, false, null, lController));
            #endregion Inbound arguments

            #region Outbound arguments
            // If the service has outbound arguments, the outbound arguments scenario is set here; otherwise, null.
            lController.OutboundArgumentsScenario = null;
            #endregion Outbound arguments


            return(lController);
        }
Example #11
0
        /// <summary>
        /// Creates the specific ActionController of the '_Auto_' Action pattern.
        /// </summary>
        /// <param name="parentController">Parent controller.</param>
        /// <returns>Specific ActionController of the '_Auto_' Action pattern.</returns>
        public static ActionController Action__Auto_(IUController parentController)
        {
            // Action _Auto_.
            ActionController lActionController = new ActionController("_Auto_", parentController, Properties.Settings.Default.ConjunctionPolicy);

            string[] lAgentsActionItem0 = { Agents.Administrador };
            List <KeyValuePair <string, string[]> > lAttrActivationItem0 = new List <KeyValuePair <string, string[]> >();

            lActionController.Add(
                0,
                "New",
                "Clas_1348178542592177AccOfer_AutoElemAcc_1_Alias",
                lAgentsActionItem0,
                "PasajeroAeronave",
                typeof(InteractionToolkit.PasajeroAeronave.IUServices.SIU_create_instanceInboundIT).FullName, "",
                ActionItemType.Creation,
                false,
                true,
                lAttrActivationItem0);

            string[] lAgentsActionItem1 = { Agents.Administrador };
            List <KeyValuePair <string, string[]> > lAttrActivationItem1 = new List <KeyValuePair <string, string[]> >();

            lActionController.Add(
                1,
                "Destroy",
                "Clas_1348178542592177AccOfer_AutoElemAcc_2_Alias",
                lAgentsActionItem1,
                "PasajeroAeronave",
                typeof(InteractionToolkit.PasajeroAeronave.IUServices.SIU_delete_instanceInboundIT).FullName,
                "",
                ActionItemType.Destruction,
                false,
                true,
                lAttrActivationItem1);

            string[] lAgentsActionItem2 = { Agents.Administrador };
            List <KeyValuePair <string, string[]> > lAttrActivationItem2 = new List <KeyValuePair <string, string[]> >();

            lActionController.Add(
                2,
                "Edit",
                "Clas_1348178542592177AccOfer_AutoElemAcc_3_Alias",
                lAgentsActionItem2,
                "PasajeroAeronave",
                typeof(InteractionToolkit.PasajeroAeronave.IUServices.SIU_edit_instanceInboundIT).FullName,
                "",
                ActionItemType.Normal,
                false,
                true,
                lAttrActivationItem2);

            string[] lAgentsActionItem3 = { Agents.Administrador };
            List <KeyValuePair <string, string[]> > lAttrActivationItem3 = new List <KeyValuePair <string, string[]> >();

            lActionController.Add(
                3,
                "PasajeroAeronave",
                "Clas_1348178542592177AccOfer_AutoElemAcc_4_Alias",
                lAgentsActionItem3,
                "PasajeroAeronave",
                typeof(InteractionToolkit.PasajeroAeronave.IUInstances.IIU_PasajeroAeronaveIT).FullName,
                "",
                ActionItemType.Other,
                false,
                false,
                lAttrActivationItem3);

            string[] lAgentsActionItem4 = { Agents.Administrador };
            List <KeyValuePair <string, string[]> > lAttrActivationItem4 = new List <KeyValuePair <string, string[]> >();

            lActionController.Add(
                4,
                "PasajeroAeronave",
                "Clas_1348178542592177AccOfer_AutoElemAcc_5_Alias",
                lAgentsActionItem4,
                "PasajeroAeronave",
                typeof(InteractionToolkit.PasajeroAeronave.IUMasterDetails.MDIU_PasajeroAeronaveIT).FullName,
                "",
                ActionItemType.Other,
                false,
                false,
                lAttrActivationItem4);

            string[] lAgentsActionItem5 = Logic.InstanceReportsList.GetAgentsForClass("PasajeroAeronave");
            List <KeyValuePair <string, string[]> > lAttrActivationItem5 = new List <KeyValuePair <string, string[]> >();

            lActionController.Add(
                5,
                LanguageConstantValues.L_PRINT,
                LanguageConstantKeys.L_PRINT,
                lAgentsActionItem5,
                "PasajeroAeronave",
                typeof(InteractionToolkit.PrintForm).FullName,
                "",
                ActionItemType.Print,
                true,
                true,
                lAttrActivationItem5);

            return(lActionController);
        }
Example #12
0
        /// <summary>
        /// Creates the specific IUServiceController of the 'create_instance' IU pattern.
        /// </summary>
        /// <param name="exchangeInfo">IUServiceController reference.</param>
        /// <returns>Specific IUServiceController of the 'create_instance' IU pattern.</returns>
        public static IUServiceController Service_create_instanceInbound(ExchangeInfo exchangeInfo, IUController parentController)
        {
            string[]            lAgentsService = { Agents.Administrador };
            IUServiceContext    lContext       = new IUServiceContext(exchangeInfo, "Revision", "create_instance", "SIU_create_instance");
            IUServiceController lController    = new IUServiceController("create_instance", "New", "Clas_1348178542592347Ser_1_Alias", lAgentsService, "Revision", "create_instance", lContext, null);

            // This controller is an InboundArgument controller.
            lController.IsOutboundArgumentController = false;


            #region Inbound arguments
            IArguments InboundArguments = lController.InputFields;
            // Argument p_atrid_RevisarAeronave.
            InboundArguments.Add(new ArgumentDVController("p_atrid_RevisarAeronave", "id_RevisarAeronave", "Clas_1348178542592347Ser_1UIServ_1ElemAgrup_1_Alias", ModelType.Autonumeric, 0, false, null, lController));
            // Argument p_atrFechaRevision.
            InboundArguments.Add(new ArgumentDVController("p_atrFechaRevision", "FechaRevision", "Clas_1348178542592347Ser_1UIServ_1ElemAgrup_3_Alias", ModelType.Date, 0, false, null, lController));
            // Argument p_atrNombreRevisor.
            InboundArguments.Add(new ArgumentDVController("p_atrNombreRevisor", "NombreRevisor", "Clas_1348178542592347Ser_1UIServ_1ElemAgrup_4_Alias", ModelType.String, 100, false, null, lController));
            // Argument p_atrId_Aeronave.
            InboundArguments.Add(new ArgumentDVController("p_atrId_Aeronave", "Id_Aeronave", "Clas_1348178542592347Ser_1UIServ_1ElemAgrup_5_Alias", ModelType.String, 100, false, null, lController));
            #endregion Inbound arguments

            #region Outbound arguments
            // If the service has outbound arguments, the outbound arguments scenario is set here; otherwise, null.
            lController.OutboundArgumentsScenario = null;
            #endregion Outbound arguments


            return(lController);
        }
Example #13
0
        /// <summary>
        /// Creates the specific IUServiceController of the 'delete_instance' IU pattern.
        /// </summary>
        /// <param name="exchangeInfo">IUServiceController reference.</param>
        /// <returns>Specific IUServiceController of the 'delete_instance' IU pattern.</returns>
        public static IUServiceController Service_delete_instanceInbound(ExchangeInfo exchangeInfo, IUController parentController)
        {
            string[]            lAgentsService = { Agents.Administrador };
            IUServiceContext    lContext       = new IUServiceContext(exchangeInfo, "NaveNodriza", "delete_instance", "SIU_delete_instance");
            IUServiceController lController    = new IUServiceController("delete_instance", "Destroy", "Clas_1347649273856884Ser_2_Alias", lAgentsService, "NaveNodriza", "delete_instance", lContext, null, false);

            // This controller is an InboundArgument controller.
            lController.IsOutboundArgumentController = false;


            #region Inbound arguments
            IArguments           InboundArguments = lController.InputFields;
            ArgumentOVController lArgument        = null;
            // Argument p_thisNaveNodriza.
            lArgument = new ArgumentOVController("p_thisNaveNodriza", "NaveNodriza", "Clas_1347649273856884Ser_2UIServ_1ElemAgrup_1_Alias", "NaveNodriza", false, true, false, typeof(InteractionToolkit.NaveNodriza.IUPopulations.PIU_NaveNodrizaIT).FullName, null, "", lController);
            lController.ArgumentThis = lArgument;
            InboundArguments.Add(lArgument);
            #endregion Inbound arguments

            #region Outbound arguments
            // If the service has outbound arguments, the outbound arguments scenario is set here; otherwise, null.
            lController.OutboundArgumentsScenario = null;
            #endregion Outbound arguments


            return(lController);
        }
Example #14
0
        /// <summary>
        /// Creates the specific ActionController of the '_Auto_' Action pattern.
        /// </summary>
        /// <param name="parentController">Parent controller.</param>
        /// <returns>Specific ActionController of the '_Auto_' Action pattern.</returns>
        public static ActionController Action__Auto_(IUController parentController)
        {
            // Action _Auto_.
            ActionController lActionController = new ActionController("_Auto_", parentController, Properties.Settings.Default.ConjunctionPolicy);

            string[] lAgentsActionItem0 = { Agents.Administrador };
            List <KeyValuePair <string, string[]> > lAttrActivationItem0 = new List <KeyValuePair <string, string[]> >();

            lActionController.Add(
                0,
                "Crear nave nodriza",
                "Clas_1347649273856884AccOfer_AutoElemAcc_1_Alias",
                lAgentsActionItem0,
                "NaveNodriza",
                typeof(InteractionToolkit.NaveNodriza.IUServices.Crear_NaveNodrizaInboundIT).FullName, "",
                ActionItemType.Creation,
                false,
                true,
                lAttrActivationItem0);

            string[] lAgentsActionItem1 = { Agents.Administrador };
            List <KeyValuePair <string, string[]> > lAttrActivationItem1 = new List <KeyValuePair <string, string[]> >();

            lActionController.Add(
                1,
                "Destroy",
                "Clas_1347649273856884AccOfer_AutoElemAcc_2_Alias",
                lAgentsActionItem1,
                "NaveNodriza",
                typeof(InteractionToolkit.NaveNodriza.IUServices.SIU_delete_instanceInboundIT).FullName,
                "",
                ActionItemType.Destruction,
                false,
                true,
                lAttrActivationItem1);

            string[] lAgentsActionItem2 = { Agents.Administrador };
            List <KeyValuePair <string, string[]> > lAttrActivationItem2 = new List <KeyValuePair <string, string[]> >();

            lActionController.Add(
                2,
                "Edit",
                "Clas_1347649273856884AccOfer_AutoElemAcc_3_Alias",
                lAgentsActionItem2,
                "NaveNodriza",
                typeof(InteractionToolkit.NaveNodriza.IUServices.SIU_edit_instanceInboundIT).FullName,
                "",
                ActionItemType.Normal,
                false,
                true,
                lAttrActivationItem2);

            string[] lAgentsActionItem3 = { Agents.Administrador };
            List <KeyValuePair <string, string[]> > lAttrActivationItem3 = new List <KeyValuePair <string, string[]> >();

            lActionController.Add(
                3,
                "NaveNodriza",
                "Clas_1347649273856884AccOfer_AutoElemAcc_4_Alias",
                lAgentsActionItem3,
                "NaveNodriza",
                typeof(InteractionToolkit.NaveNodriza.IUInstances._Auto_IT).FullName,
                "",
                ActionItemType.Other,
                false,
                false,
                lAttrActivationItem3);

            string[] lAgentsActionItem4 = Logic.InstanceReportsList.GetAgentsForClass("NaveNodriza");
            List <KeyValuePair <string, string[]> > lAttrActivationItem4 = new List <KeyValuePair <string, string[]> >();

            lActionController.Add(
                4,
                LanguageConstantValues.L_PRINT,
                LanguageConstantKeys.L_PRINT,
                lAgentsActionItem4,
                "NaveNodriza",
                typeof(InteractionToolkit.PrintForm).FullName,
                "",
                ActionItemType.Print,
                true,
                true,
                lAttrActivationItem4);

            return(lActionController);
        }
Example #15
0
        /// <summary>
        /// Creates the specific IUServiceController of the 'create_instance' IU pattern.
        /// </summary>
        /// <param name="exchangeInfo">IUServiceController reference.</param>
        /// <returns>Specific IUServiceController of the 'create_instance' IU pattern.</returns>
        public static IUServiceController Service_create_instanceInbound(ExchangeInfo exchangeInfo, IUController parentController)
        {
            string[]            lAgentsService = { Agents.Administrador };
            IUServiceContext    lContext       = new IUServiceContext(exchangeInfo, "NaveNodriza", "create_instance", "Crear_NaveNodriza");
            IUServiceController lController    = new IUServiceController("create_instance", "New", "Clas_1347649273856884Ser_1_Alias", lAgentsService, "NaveNodriza", "create_instance", lContext, null);

            // This controller is an InboundArgument controller.
            lController.IsOutboundArgumentController = false;


            #region Inbound arguments
            IArguments InboundArguments = lController.InputFields;
            // Argument p_atrid_NaveNodriza.
            InboundArguments.Add(new ArgumentDVController("p_atrid_NaveNodriza", "id_NaveNodriza", "Clas_1347649273856884Ser_1UIServ_1ElemAgrup_1_Alias", ModelType.Autonumeric, 0, false, null, lController));
            // Argument p_atrNombre_NaveNodriza.
            InboundArguments.Add(new ArgumentDVController("p_atrNombre_NaveNodriza", "Nombre_NaveNodriza", "Clas_1347649273856884Ser_1UIServ_1ElemAgrup_2_Alias", ModelType.String, 100, false, null, lController));
            #endregion Inbound arguments

            #region Outbound arguments
            // If the service has outbound arguments, the outbound arguments scenario is set here; otherwise, null.
            lController.OutboundArgumentsScenario = null;
            #endregion Outbound arguments


            return(lController);
        }