- Timestamp:
- Jun 25, 2015, 12:12:00 PM (9 years ago)
- Branches:
- master
- Children:
- 4252851
- Parents:
- 1d976e9
- Location:
- apps/simulacion
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
apps/simulacion/__init__.py
r35355cd rb2a57af 1 # coding=utf-8 2 """ 3 Simulador Integral de Cadenas Productivas (SICP) 4 5 Copyleft (@) 2015 CENDITEL nodo Mérida - https://miv.cenditel.gob.ve/simulacion/ 6 """ 7 ## @namespace apps.simulacion.sigesic.templatetags.__init__ 8 # 9 # Inicializa el módulo simulacion 10 # @author Ing. Roldan Vargas (rvargas at cenditel.gob.ve) 11 # @author <a href='http://www.cenditel.gob.ve'>Centro Nacional de Desarrollo e Investigación en Tecnologías Libres 12 # (CENDITEL) nodo Mérida - Venezuela</a> 13 # @copyright <a href='http://www.gnu.org/licenses/gpl-2.0.html'>GNU Public License versión 2 (GPLv2)</a> 14 # @date 04-05-2015 15 # @version 3.0.0 16 17 ## Muestra el autor del script cuando es invocado 18 __author__ = "Ing. Roldan Vargas (rvargas at cenditel.gob.ve)" 19 ## Muestra documentación breve sobre el script 20 __doc__ = "Inicializa el módulo simulacion" -
apps/simulacion/ajax.py
r4359346 rb2a57af 5 5 Copyleft (@) 2015 CENDITEL nodo Mérida - https://miv.cenditel.gob.ve/simulacion/ 6 6 """ 7 # # @packagesimulacion.ajax7 ## @package apps.simulacion.ajax 8 8 # 9 9 # Funciones AJAX para el módulo de simulación 10 10 # @author Ing. Roldan Vargas (rvargas at cenditel.gob.ve) 11 # @author Centro Nacional de Desarrollo e Investigación en Tecnologías Libres (CENDITEL) nodo Mérida - Venezuela 12 # @copyright GNU/GPLv2 11 # @author <a href='http://www.cenditel.gob.ve'>Centro Nacional de Desarrollo e Investigación en Tecnologías Libres 12 # (CENDITEL) nodo Mérida - Venezuela</a> 13 # @copyright <a href='http://www.gnu.org/licenses/gpl-2.0.html'>GNU Public License versión 2 (GPLv2)</a> 13 14 # @date 19-06-2015 14 15 # @version 3.0.0 … … 38 39 39 40 @author Ing. Roldan Vargas (rvargas at cenditel.gob.ve) 40 @author Centro Nacional de Desarrollo e Investigación en Tecnologías Libres (CENDITEL) Nodo Mérida - Venezuela41 41 @copyright <a href='http://www.gnu.org/licenses/gpl-2.0.html'>GNU Public License versión 2 (GPLv2)</a> 42 42 @date 11-06-2015 -
apps/simulacion/models.py
r6c18e85 rb2a57af 5 5 Copyleft (@) 2015 CENDITEL nodo Mérida - https://miv.cenditel.gob.ve/simulacion/ 6 6 """ 7 # # @packagesimulacion.models7 ## @package apps.simulacion.models 8 8 # 9 9 # Clases y funciones a implementar en los modelos para la simulación de escenarios 10 10 # @author Ing. Roldan Vargas (rvargas at cenditel.gob.ve) 11 # @author Centro Nacional de Desarrollo e Investigación en Tecnologías Libres (CENDITEL) nodo Mérida - Venezuela 12 # @copyright GNU/GPLv2 11 # @author <a href='http://www.cenditel.gob.ve'>Centro Nacional de Desarrollo e Investigación en Tecnologías Libres 12 # (CENDITEL) nodo Mérida - Venezuela</a> 13 # @copyright <a href='http://www.gnu.org/licenses/gpl-2.0.html'>GNU Public License versión 2 (GPLv2)</a> 13 14 # @date 17-06-2015 14 15 # @version 3.0.0 … … 28 29 29 30 @author Ing. Roldan Vargas (rvargas at cenditel.gob.ve) 30 @author Centro Nacional de Desarrollo e Investigación en Tecnologías Libres (CENDITEL) Nodo Mérida - Venezuela31 31 @copyright <a href='http://www.gnu.org/licenses/gpl-2.0.html'>GNU Public License versión 2 (GPLv2)</a> 32 32 @date 17-06-2015 … … 51 51 52 52 @author Ing. Roldan Vargas (rvargas at cenditel.gob.ve) 53 @author Centro Nacional de Desarrollo e Investigación en Tecnologías Libres (CENDITEL) Nodo Mérida - Venezuela54 53 @copyright <a href='http://www.gnu.org/licenses/gpl-2.0.html'>GNU Public License versión 2 (GPLv2)</a> 55 54 @date 25-06-2015 … … 63 62 64 63 @author Ing. Roldan Vargas (rvargas at cenditel.gob.ve) 65 @author Centro Nacional de Desarrollo e Investigación en Tecnologías Libres (CENDITEL) Nodo Mérida - Venezuela66 64 @copyright <a href='http://www.gnu.org/licenses/gpl-2.0.html'>GNU Public License versión 2 (GPLv2)</a> 67 65 @date 17-06-2015 -
apps/simulacion/templatetags/dictionary_extras.py
r6ce4316 rb2a57af 5 5 Copyleft (@) 2015 CENDITEL nodo Mérida - https://miv.cenditel.gob.ve/simulacion/ 6 6 """ 7 # # @package simulacion.sigesic.templatetags.sigesic_customtags7 ## @package apps.simulacion.sigesic.templatetags.dictionary_extras 8 8 # 9 9 # Funciones de templates personalizados para ser implementadas en las plantillas de simulación 10 10 # @author Ing. Roldan Vargas (rvargas at cenditel.gob.ve) 11 # @author Centro Nacional de Desarrollo e Investigación en Tecnologías Libres (CENDITEL) nodo Mérida - Venezuela 12 # @copyright GNU/GPLv2 11 # @author <a href='http://www.cenditel.gob.ve'>Centro Nacional de Desarrollo e Investigación en Tecnologías Libres 12 # (CENDITEL) nodo Mérida - Venezuela</a> 13 # @copyright <a href='http://www.gnu.org/licenses/gpl-2.0.html'>GNU Public License versión 2 (GPLv2)</a> 13 14 # @date 12-06-2015 14 15 # @version 3.0.0 -
apps/simulacion/urls.py
r4359346 rb2a57af 5 5 Copyleft (@) 2015 CENDITEL nodo Mérida - https://miv.cenditel.gob.ve/simulacion/ 6 6 """ 7 # # @packagesimulacion.urls7 ## @package apps.simulacion.urls 8 8 # 9 9 # Registro de las URL's del módulo de simulación 10 10 # Industria y el Comercio (SIGESIC) 11 11 # @author Ing. Roldan Vargas (rvargas at cenditel.gob.ve) 12 # @author Centro Nacional de Desarrollo e Investigación en Tecnologías Libres (CENDITEL) nodo Mérida - Venezuela 13 # @copyright GNU/GPLv2 12 # @author <a href='http://www.cenditel.gob.ve'>Centro Nacional de Desarrollo e Investigación en Tecnologías Libres 13 # (CENDITEL) nodo Mérida - Venezuela</a> 14 # @copyright <a href='http://www.gnu.org/licenses/gpl-2.0.html'>GNU Public License versión 2 (GPLv2)</a> 14 15 # @date 01-06-2015 15 16 # @version 3.0.0 -
apps/simulacion/views.py
r4359346 rb2a57af 5 5 Copyleft (@) 2015 CENDITEL nodo Mérida - https://miv.cenditel.gob.ve/simulacion/ 6 6 """ 7 # # @packagesimulacion.views7 ## @package apps.simulacion.views 8 8 # 9 9 # Clases y funciones a implementar en la simulación de cadenas productivas y otros escenarios 10 10 # @author Ing. Roldan Vargas (rvargas at cenditel.gob.ve) 11 # @author Centro Nacional de Desarrollo e Investigación en Tecnologías Libres (CENDITEL) nodo Mérida - Venezuela 12 # @copyright GNU/GPLv2 11 # @author <a href='http://www.cenditel.gob.ve'>Centro Nacional de Desarrollo e Investigación en Tecnologías Libres 12 # (CENDITEL) nodo Mérida - Venezuela</a> 13 # @copyright <a href='http://www.gnu.org/licenses/gpl-2.0.html'>GNU Public License versión 2 (GPLv2)</a> 13 14 # @date 05-06-2015 14 15 # @version 3.0.0 … … 42 43 43 44 @author Ing. Roldan Vargas (rvargas at cenditel.gob.ve) 44 @author Centro Nacional de Desarrollo e Investigación en Tecnologías Libres (CENDITEL) Nodo Mérida - Venezuela45 45 @copyright <a href='http://www.gnu.org/licenses/gpl-2.0.html'>GNU Public License versión 2 (GPLv2)</a> 46 46 @date 05-06-2015 47 @param [in] requestObjeto que contiene la petición47 @param request <b>{object}</b> Objeto que contiene la petición 48 48 @return Devuelve el correspondiente response con los datos de la consulta 49 49 """ … … 59 59 @login_required() 60 60 def simular(request): 61 """! 62 Función que permite generar el archivo xml con los datos sobre el proceso de simulación 63 64 @author Ing. Roldan Vargas (rvargas at cenditel.gob.ve) 65 @copyright <a href='http://www.gnu.org/licenses/gpl-2.0.html'>GNU Public License versión 2 (GPLv2)</a> 66 @date 05-06-2015 67 @param request <b>{object}</b> Objeto que contiene la petición 68 @return Devuelve el correspondiente response con los datos de la consulta 69 """ 61 70 62 71 datos = { … … 91 100 @login_required() 92 101 def resultados_simulacion(request): 102 """! 103 Función que permite mostrar los resultados del proceso de simulación consultado 104 105 @author Ing. Roldan Vargas (rvargas at cenditel.gob.ve) 106 @copyright <a href='http://www.gnu.org/licenses/gpl-2.0.html'>GNU Public License versión 2 (GPLv2)</a> 107 @date 05-06-2015 108 @param request <b>{object}</b> Objeto que contiene la petición 109 @return Devuelve el correspondiente response con los datos de la consulta 110 """ 111 93 112 usr = str(request.user) + "sim" 94 113 cadena = render_cadena(
Note: See TracChangeset
for help on using the changeset viewer.