##// END OF EJS Templates
Add Change IP function for DDS Device...
Add Change IP function for DDS Device git-svn-id: http://jro-dev.igp.gob.pe/svn/jro_hard/radarsys/trunk/webapp@242 aa17d016-51d5-4e8b-934c-7b2bbb1bbe71

File last commit:

r196:6772a60ce64d
r219:5b7b585249bb
Show More
tasks.py
21 lines | 336 B | text/x-python | PythonLexer
from __future__ import absolute_import
from celery import task
from .models import Experiment
@task
def task_start(id_exp):
exp = Experiment.objects.get(pk=id_exp)
return exp.start()
@task
def task_stop(id_exp):
exp = Experiment.objects.get(pk=id_exp)
return exp.stop()