/// <summary> /// Method called that defines the property schema for the step. /// </summary> public void DefineSchema(IPropertyDefinitions schema) { IPropertyDefinition x; IPropertyDefinition y; IPropertyDefinition z; IPropertyDefinition maxDistance; IPropertyDefinition flockQueue; x = schema.AddStateProperty("XState"); y = schema.AddStateProperty("YState"); z = schema.AddStateProperty("ZState"); x.DisplayName = "X State Variable Name"; y.DisplayName = "Y State Variable Name"; z.DisplayName = "Z State Variable Name"; x.Description = "Name of the state variable that will store the x steering vector."; y.Description = "Name of the state variable that will store the y steering vector."; z.Description = "Name of the state variable that will store the z steering vector."; x.Required = false; y.Required = false; z.Required = false; maxDistance = schema.AddExpressionProperty("MaxDistance", "0.0"); maxDistance.DisplayName = "Desired Separation Distance"; maxDistance.Description = "The desired separation distance to maintain from other entities"; maxDistance.Required = true; flockQueue = schema.AddElementProperty("FlockQueue", flockQueue = schema.AddStateProperty }
/// <summary> /// Method called that defines the property schema for the step. /// </summary> public void DefineSchema(IPropertyDefinitions schema) { IPropertyDefinition pd; pd = schema.AddStateProperty("Timenow"); pd.Description = "Recibe el tiempo en horas"; pd = schema.AddStateProperty("Salida"); pd.Description = "Siguiente pala"; pd = schema.AddStateProperty("Aux"); pd.Description = "Camino i para despues"; }
/// <summary> /// Method called that defines the property schema for the step. /// </summary> public void DefineSchema(IPropertyDefinitions schema) { // Example of how to add a property definition to the step. IPropertyDefinition pd; pd = schema.AddStateProperty("Timenow"); pd.Description = "Recibe el tiempo en horas"; pd = schema.AddStateProperty("Salida"); pd.Description = "Siguiente pala"; pd = schema.AddStateProperty("Aux"); pd.Description = "Camino i para despues"; pd = schema.AddStateProperty("Aux2"); pd.Description = "Numero id camion"; pd = schema.AddStateProperty("NumCam"); pd.Description = "Numero de camiones"; pd = schema.AddStateProperty("Needtime"); pd.Description = "Need time"; pd = schema.AddStateProperty("Losttones"); pd.Description = "Numero de camiones"; pd = schema.AddStateProperty("Needch"); pd.Description = "Need time chancador"; }
/// <summary> /// Method called that defines the property schema for the step. /// </summary> public void DefineSchema(IPropertyDefinitions schema) { IPropertyDefinition pd; pd = schema.AddStateProperty("Timenow"); pd.Description = "Recibe el tiempo en horas"; }
/// <summary> /// Method called that defines the property, state, and event schema for the element. /// </summary> public void DefineSchema(IElementSchema schema) { IPropertyDefinitions _propDefs = schema.PropertyDefinitions; IPropertyDefinition pd; pd = _propDefs.AddStateProperty(MyStrings.TableIndexName); pd.Description = "References the State Property used to select the SimioTable row"; pd.Required = false; pd = _propDefs.AddExpressionProperty(MyStrings.TableRowCountName, "0"); pd.Description = "An Expression containing # of rows in the SimioTable"; pd.Required = false; // A repeat group of states to read into IRepeatGroupPropertyDefinition columns = _propDefs.AddRepeatGroupProperty(MyStrings.TableColumnMappingsName); columns.Description = "The RepeatGroup mapping expressions to the Table columns"; pd = columns.PropertyDefinitions.AddStringProperty(MyStrings.ColumnMapNameName, ""); pd.Description = "Column Name Map"; pd = columns.PropertyDefinitions.AddStateProperty(MyStrings.ColumnMapStateName); pd.Description = "Set if the column is a State"; pd = columns.PropertyDefinitions.AddExpressionProperty(MyStrings.ColumnMapExpressionName, ""); pd.Description = "Set if the column is an Expression"; pd = columns.PropertyDefinitions.AddExpressionProperty(MyStrings.ColumnMapPropertyName, ""); pd.Description = "Set if the column is a Property"; }
/// <summary> /// Method called that defines the property schema for the step. /// </summary> public void DefineSchema(IPropertyDefinitions schema) { // Example of how to add a property definition to the step. IPropertyDefinition pd; pd = schema.AddStateProperty("Timenow"); pd.Description = "Recibe el tiempo en horas"; }
/// <summary> /// Method called that defines the property schema for the step. /// </summary> public void DefineSchema(IPropertyDefinitions schema) { IPropertyDefinition pd; // Hoja pd = schema.AddStateProperty("TipoVector"); pd.Description = "(1)PL,(2)Dinamico1,(3)Dinamico2,(4)TiempoCVij"; // Fila pd = schema.AddStateProperty("Fila"); pd.Description = "Fila en que escribe"; // Columna pd = schema.AddStateProperty("Columna"); pd.Description = "Columna en que escribe"; // Palas pd = schema.AddStateProperty("Numerofilas"); pd.Description = "Numero de filas de la matriz"; // Camiones pd = schema.AddStateProperty("Numerocolumnas"); pd.Description = "Numero de columnas de la matriz"; // NuevoValor pd = schema.AddStateProperty("NuevoValor"); pd.Description = "Nuevo valor para la celda"; // LeeoEscribe pd = schema.AddStateProperty("LeeoEscribe"); pd.Description = "1 para entrar a Simio, 0 para Entregar a C#"; }
/// <summary> /// Method called that defines the property schema for the step. /// </summary> public void DefineSchema(IPropertyDefinitions schema) { var pd = schema.AddElementProperty("AgentConnection", AgentConnectionDefinition.MY_ID); pd.DisplayName = "Agent Connection"; pd.Description = "An agent connection object."; pd.Required = true; pd = schema.AddStateProperty("EpisodeNumber"); pd.DisplayName = "Episode Number"; pd.Description = "The number of the episode the agent is currently in"; pd.Required = true; pd = schema.AddStateProperty("Status"); pd.DisplayName = "Agent Status"; pd.Description = "0: Ongoing, 1: Failure, 2: Success"; pd.Required = true; pd = schema.AddStateProperty("Reward"); pd.DisplayName = "Reward"; pd.Description = "The reward given to the agent as a consequence of the last action taken"; pd.Required = true; pd = schema.AddStateProperty("Action"); pd.DisplayName = "Action"; pd.Description = "The actions received from the agent"; pd.Required = true; IRepeatGroupPropertyDefinition parts = schema.AddRepeatGroupProperty("States"); parts.DisplayName = "States"; parts.Description = "The states that will be given to the agent"; parts.Required = true; pd = parts.PropertyDefinitions.AddStateProperty("State"); pd.Description = "State"; }
/// <summary> /// Method called that defines the property schema for the step. /// </summary> public void DefineSchema(IPropertyDefinitions schema) { // Example of how to add a property definition to the step. IPropertyDefinition pd; pd = schema.AddStateProperty("Pala0"); pd.Description = "0 para tiempos, 1 para filas, 3 para pasadas"; pd = schema.AddStateProperty("Pala1"); pd.Description = "Recibe el tiempo en horas"; pd = schema.AddStateProperty("Pala2"); pd.Description = "Siguiente pala"; pd = schema.AddStateProperty("Pala3"); pd.Description = "Camino i para despues"; pd = schema.AddStateProperty("Pala4"); pd.Description = "Numero id camion"; pd = schema.AddStateProperty("Pala5"); pd.Description = "Numero de camiones"; pd = schema.AddStateProperty("Pala6"); pd.Description = "Need time"; pd = schema.AddStateProperty("Pala7"); pd.Description = "Numero de camiones"; pd = schema.AddStateProperty("Pala8"); pd.Description = "Need time chancador"; pd = schema.AddStateProperty("Pala9"); pd.Description = "Recibe el tiempo en horas"; pd = schema.AddStateProperty("Pala10"); pd.Description = "Siguiente pala"; pd = schema.AddStateProperty("Pala11"); pd.Description = "Camino i para despues"; pd = schema.AddStateProperty("Pala12"); pd.Description = "Numero id camion"; pd = schema.AddStateProperty("Pala13"); pd.Description = "Numero de camiones"; pd = schema.AddStateProperty("Pala14"); pd.Description = "Need time"; pd = schema.AddStateProperty("Pala15"); pd.Description = "Numero de camiones"; pd = schema.AddStateProperty("Pala16"); pd.Description = "Need time chancador"; pd = schema.AddStateProperty("Pala17"); pd.Description = "Need time chancador"; pd = schema.AddStateProperty("Pala18"); pd.Description = "Need time chancador"; pd = schema.AddStateProperty("Pala19"); pd.Description = "Need time chancador"; pd = schema.AddStateProperty("Pala20"); pd.Description = "Need time chancador"; }
/// <summary> /// Method called that defines the property schema for the step. /// </summary> public void DefineSchema(IPropertyDefinitions schema) { // Example of how to add a property definition to the step. IPropertyDefinition pd; pd = schema.AddStateProperty("Pala0"); pd.Description = "0 para tiempos, 1 para filas, 3 para pasadas"; pd = schema.AddStateProperty("Pala1"); pd.Description = "Recibe el tiempo en horas"; pd = schema.AddStateProperty("Pala2"); pd.Description = "Siguiente pala"; pd = schema.AddStateProperty("Pala3"); pd.Description = "Camino i para despues"; pd = schema.AddStateProperty("Pala4"); pd.Description = "Numero id camion"; pd = schema.AddStateProperty("Pala5"); pd.Description = "Numero de camiones"; pd = schema.AddStateProperty("Pala6"); pd.Description = "Need time"; pd = schema.AddStateProperty("Pala7"); pd.Description = "Numero de camiones"; pd = schema.AddStateProperty("Pala8"); pd.Description = "Need time chancador"; pd = schema.AddStateProperty("Pala9"); pd.Description = "Recibe el tiempo en horas"; pd = schema.AddStateProperty("Pala10"); pd.Description = "Siguiente pala"; pd = schema.AddStateProperty("Pala11"); pd.Description = "Camino i para despues"; pd = schema.AddStateProperty("Pala12"); pd.Description = "Numero id camion"; pd = schema.AddStateProperty("Pala13"); pd.Description = "Numero de camiones"; pd = schema.AddStateProperty("Pala14"); pd.Description = "Need time"; pd = schema.AddStateProperty("Pala15"); pd.Description = "Numero de camiones"; pd = schema.AddStateProperty("Pala16"); pd.Description = "Need time chancador"; pd = schema.AddStateProperty("Pala17"); pd.Description = "Need time chancador"; pd = schema.AddStateProperty("Pala18"); pd.Description = "Need time chancador"; pd = schema.AddStateProperty("Pala19"); pd.Description = "Need time chancador"; pd = schema.AddStateProperty("Pala20"); pd.Description = "Need time chancador"; pd = schema.AddStateProperty("Pala21"); pd.Description = "Need time chancador"; pd = schema.AddStateProperty("Pala22"); pd.Description = "Need time chancador"; pd = schema.AddStateProperty("Pala23"); pd.Description = "Need time chancador"; pd = schema.AddStateProperty("Pala24"); pd.Description = "Need time chancador"; pd = schema.AddStateProperty("Pala25"); pd.Description = "Need time chancador"; pd = schema.AddStateProperty("Pala26"); pd.Description = "Need time chancador"; pd = schema.AddStateProperty("Pala27"); pd.Description = "Need time chancador"; pd = schema.AddStateProperty("Pala28"); pd.Description = "Need time chancador"; pd = schema.AddStateProperty("Pala29"); pd.Description = "Need time chancador"; pd = schema.AddStateProperty("Pala30"); pd.Description = "Need time chancador"; pd = schema.AddStateProperty("Pala31"); pd.Description = "Recibe el tiempo en horas"; pd = schema.AddStateProperty("Pala32"); pd.Description = "Siguiente Pala3"; pd = schema.AddStateProperty("Pala33"); pd.Description = "Camino i para despues"; pd = schema.AddStateProperty("Pala34"); pd.Description = "Numero id camion"; pd = schema.AddStateProperty("Pala35"); pd.Description = "Numero de camiones"; pd = schema.AddStateProperty("Pala36"); pd.Description = "Need time"; pd = schema.AddStateProperty("Pala37"); pd.Description = "Numero de camiones"; pd = schema.AddStateProperty("Pala38"); pd.Description = "Need time chancador"; pd = schema.AddStateProperty("Pala39"); pd.Description = "Recibe el tiempo en horas"; pd = schema.AddStateProperty("Pala40"); pd.Description = "Siguiente Pala3"; pd = schema.AddStateProperty("Pala41"); pd.Description = "Camino i para despues"; pd = schema.AddStateProperty("Pala42"); pd.Description = "Numero id camion"; pd = schema.AddStateProperty("Pala43"); pd.Description = "Numero de camiones"; pd = schema.AddStateProperty("Pala44"); pd.Description = "Need time"; pd = schema.AddStateProperty("Pala45"); pd.Description = "Numero de camiones"; pd = schema.AddStateProperty("Pala46"); pd.Description = "Need time chancador"; pd = schema.AddStateProperty("Pala47"); pd.Description = "Need time chancador"; pd = schema.AddStateProperty("Pala48"); pd.Description = "Need time chancador"; pd = schema.AddStateProperty("Pala49"); pd.Description = "Need time chancador"; pd = schema.AddStateProperty("Pala50"); pd.Description = "Need time chancador"; pd = schema.AddStateProperty("Pala51"); pd.Description = "Need time chancador"; pd = schema.AddStateProperty("Pala52"); pd.Description = "Need time chancador"; pd = schema.AddStateProperty("Pala53"); pd.Description = "Need time chancador"; pd = schema.AddStateProperty("Pala54"); pd.Description = "Need time chancador"; pd = schema.AddStateProperty("Pala55"); pd.Description = "Need time chancador"; pd = schema.AddStateProperty("Pala56"); pd.Description = "Need time chancador"; pd = schema.AddStateProperty("Pala57"); pd.Description = "Need time chancador"; pd = schema.AddStateProperty("Pala58"); pd.Description = "Need time chancador"; pd = schema.AddStateProperty("Pala59"); pd.Description = "Need time chancador"; pd = schema.AddStateProperty("Pala60"); pd.Description = "Need time chancador"; }