/// <summary> /// Initializes a new instance of the 'OrderCriteriaController' class. /// </summary> /// <param name="name">Name of the OrderCriteria.</param> /// <param name="alias">Alias of the OrderCriteria.</param> /// <param name="idXML">IdXML of the OrderCriteria.</param> /// <param name="agents">List of agents of the OrderCriteria.</param> /// <param name="parent">Parent controller.</param> public OrderCriteriaController(string name, string alias, string idXML, string[] agents, Controller parent) : base(parent) { mName = name; mAlias = alias; mIdXML = idXML; mAgents = new List<string>(agents); }
/// <summary> /// Creates the specific DisplaySetController of the 'DS_PasajeroAeronave' DisplaySet pattern. /// </summary> /// <param name="parentController">Parent controller.</param> /// <returns>Specific DisplaySetController of the 'DS_PasajeroAeronave' DisplaySet pattern.</returns> public static DisplaySetController DisplaySet_DS_PasajeroAeronave(SIGEM.Client.Controllers.Controller parentController) { DisplaySetController lDisplaySetController = new DisplaySetController(parentController); DisplaySetInformation lDisplaySetInfo = new DisplaySetInformation("DS_PasajeroAeronave"); string[] lAgentsDSItem0 = { Agents.Administrador }; lDisplaySetInfo.Add("Aeronave.id_Aeronave", "id_Aeronave", "Clas_1348178542592177CjtoVis_1ICtjoVis_1_Alias", ModelType.Autonumeric, lAgentsDSItem0, DefaultFormats.ColWidthAutonumeric); lDisplaySetController.CurrentDisplaySet = lDisplaySetInfo; return(lDisplaySetController); }
/// <summary> /// Creates the specific DisplaySetController of the '_Auto_' DisplaySet pattern. /// </summary> /// <param name="parentController">Parent controller.</param> /// <returns>Specific DisplaySetController of the '_Auto_' DisplaySet pattern.</returns> public static DisplaySetController DisplaySet__Auto_(SIGEM.Client.Controllers.Controller parentController) { DisplaySetController lDisplaySetController = new DisplaySetController(parentController); DisplaySetInformation lDisplaySetInfo = new DisplaySetInformation("_Auto_"); string[] lAgentsDSItem0 = { Agents.Administrador }; lDisplaySetInfo.Add("id_RevisionPasajero", "id_RevisionPasajero", "Clas_1348178673664478CjtoVis_AutoICtjoVis_1_Alias", ModelType.Autonumeric, lAgentsDSItem0, DefaultFormats.ColWidthAutonumeric); lDisplaySetController.CurrentDisplaySet = lDisplaySetInfo; return(lDisplaySetController); }
/// <summary> /// Creates the specific DisplaySetController of the '_Auto_' DisplaySet pattern. /// </summary> /// <param name="parentController">Parent controller.</param> /// <returns>Specific DisplaySetController of the '_Auto_' DisplaySet pattern.</returns> public static DisplaySetController DisplaySet__Auto_(SIGEM.Client.Controllers.Controller parentController) { DisplaySetController lDisplaySetController = new DisplaySetController(parentController); DisplaySetInformation lDisplaySetInfo = new DisplaySetInformation("_Auto_"); string[] lAgentsDSItem0 = { Agents.Administrador }; lDisplaySetInfo.Add("id_NaveNodriza", "id_NaveNodriza", "Clas_1347649273856884CjtoVis_AutoICtjoVis_1_Alias", ModelType.Autonumeric, lAgentsDSItem0, DefaultFormats.ColWidthAutonumeric); string[] lAgentsDSItem1 = { Agents.Administrador }; lDisplaySetInfo.Add("Nombre_NaveNodriza", "Nombre_NaveNodriza", "Clas_1347649273856884CjtoVis_AutoICtjoVis_2_Alias", ModelType.String, lAgentsDSItem1, DefaultFormats.ColWidthString20); lDisplaySetController.CurrentDisplaySet = lDisplaySetInfo; return(lDisplaySetController); }
/// <summary> /// Creates the specific DisplaySetController of the '_Auto_' DisplaySet pattern. /// </summary> /// <param name="parentController">Parent controller.</param> /// <returns>Specific DisplaySetController of the '_Auto_' DisplaySet pattern.</returns> public static DisplaySetController DisplaySet__Auto_(SIGEM.Client.Controllers.Controller parentController) { DisplaySetController lDisplaySetController = new DisplaySetController(parentController); DisplaySetInformation lDisplaySetInfo = new DisplaySetInformation("_Auto_"); string[] lAgentsDSItem0 = { Agents.Administrador }; lDisplaySetInfo.Add("id_PasajeroAeronave", "id_PasajeroAeronave", "Clas_1348178542592177CjtoVis_AutoICtjoVis_1_Alias", ModelType.Autonumeric, lAgentsDSItem0, DefaultFormats.ColWidthAutonumeric); string[] lAgentsDSItem1 = { Agents.Administrador }; lDisplaySetInfo.Add("NombreAeronave", "NombreAeronave", "Clas_1348178542592177CjtoVis_AutoICtjoVis_2_Alias", ModelType.String, lAgentsDSItem1, DefaultFormats.ColWidthString20); string[] lAgentsDSItem2 = { Agents.Administrador }; lDisplaySetInfo.Add("NombrePasajero", "NombrePasajero", "Clas_1348178542592177CjtoVis_AutoICtjoVis_3_Alias", ModelType.String, lAgentsDSItem2, DefaultFormats.ColWidthString20); lDisplaySetController.CurrentDisplaySet = lDisplaySetInfo; return(lDisplaySetController); }
/// <summary> /// Creates the specific DisplaySetController of the 'DS_RevisionPasajero' DisplaySet pattern. /// </summary> /// <param name="parentController">Parent controller.</param> /// <returns>Specific DisplaySetController of the 'DS_RevisionPasajero' DisplaySet pattern.</returns> public static DisplaySetController DisplaySet_DS_RevisionPasajero(SIGEM.Client.Controllers.Controller parentController) { DisplaySetController lDisplaySetController = new DisplaySetController(parentController); DisplaySetInformation lDisplaySetInfo = new DisplaySetInformation("DS_RevisionPasajero"); string[] lAgentsDSItem0 = { Agents.Administrador }; lDisplaySetInfo.Add("PasajeroAeronave.Aeronave.id_Aeronave", "id_Aeronave", "Clas_1348178673664478CjtoVis_1ICtjoVis_1_Alias", ModelType.Autonumeric, lAgentsDSItem0, DefaultFormats.ColWidthAutonumeric); string[] lAgentsDSItem1 = { Agents.Administrador }; lDisplaySetInfo.Add("PasajeroAeronave.Pasajero.id_Pasajero", "id_Pasajero", "Clas_1348178673664478CjtoVis_1ICtjoVis_2_Alias", ModelType.Autonumeric, lAgentsDSItem1, DefaultFormats.ColWidthAutonumeric); string[] lAgentsDSItem2 = { Agents.Administrador }; lDisplaySetInfo.Add("PasajeroAeronave.Pasajero.Nombre", "Nombre", "Clas_1348178673664478CjtoVis_1ICtjoVis_3_Alias", ModelType.Text, lAgentsDSItem2, DefaultFormats.ColWidthText); lDisplaySetController.CurrentDisplaySet = lDisplaySetInfo; return(lDisplaySetController); }
/// <summary> /// Creates the specific DisplaySetController of the '_Auto_' DisplaySet pattern. /// </summary> /// <param name="parentController">Parent controller.</param> /// <returns>Specific DisplaySetController of the '_Auto_' DisplaySet pattern.</returns> public static DisplaySetController DisplaySet__Auto_(SIGEM.Client.Controllers.Controller parentController) { DisplaySetController lDisplaySetController = new DisplaySetController(parentController); DisplaySetInformation lDisplaySetInfo = new DisplaySetInformation("_Auto_"); string[] lAgentsDSItem0 = { Agents.Administrador }; lDisplaySetInfo.Add("id_Aeronave", "id_Aeronave", "Clas_1348178411520734CjtoVis_AutoICtjoVis_1_Alias", ModelType.Autonumeric, lAgentsDSItem0, DefaultFormats.ColWidthAutonumeric); string[] lAgentsDSItem1 = { Agents.Administrador }; lDisplaySetInfo.Add("Nombre", "Nombre", "Clas_1348178411520734CjtoVis_AutoICtjoVis_2_Alias", ModelType.Text, lAgentsDSItem1, DefaultFormats.ColWidthText); string[] lAgentsDSItem2 = { Agents.Administrador }; lDisplaySetInfo.Add("MaximoPasajeros", "MaximoPasajeros", "Clas_1348178411520734CjtoVis_AutoICtjoVis_3_Alias", ModelType.Int, lAgentsDSItem2, DefaultFormats.ColWidthInt); string[] lAgentsDSItem3 = { Agents.Administrador }; lDisplaySetInfo.Add("Origen", "Origen", "Clas_1348178411520734CjtoVis_AutoICtjoVis_4_Alias", ModelType.Text, lAgentsDSItem3, DefaultFormats.ColWidthText); string[] lAgentsDSItem4 = { Agents.Administrador }; lDisplaySetInfo.Add("Destino", "Destino", "Clas_1348178411520734CjtoVis_AutoICtjoVis_5_Alias", ModelType.Text, lAgentsDSItem4, DefaultFormats.ColWidthText); lDisplaySetController.CurrentDisplaySet = lDisplaySetInfo; return(lDisplaySetController); }
/// <summary> /// Initializes a new instance of Controller. /// </summary> /// <param name="parent">The parent of this instance.</param> public Controller(Controller parent) { mParent = parent; }
/// <summary> /// Initializes a new instance of the 'DisplaySetController' class. /// </summary> /// <param name="parent">Parent controller.</param> public DisplaySetController(Controller parent) : base(parent) { }
/// <summary> /// Initializes a new instance of the 'DisplaySetByBlocksController' class. /// </summary> /// <param name="name">Name of the DisplaySet.</param> /// <param name="agents">List of agents of the DisplaySet.</param> /// <param name="parent">Parent controller.</param> public DisplaySetByBlocksController(Controller parent) : base(parent) { }